| Lines 17-32
          
      
      
        Link Here | 
        
          | 17 |             YAHOO.widget.Overlay.windowResizeEvent.subscribe(positionfurthersearchesMenu); | 17 |             YAHOO.widget.Overlay.windowResizeEvent.subscribe(positionfurthersearchesMenu); | 
        
          | 18 |      }); | 18 |      }); | 
        
          | 19 | <!-- TMPL_IF NAME="OPACXSLTDetailsDisplay" --> | 19 | <!-- TMPL_IF NAME="OPACXSLTDetailsDisplay" --> | 
          
            
              | 20 |     var GB_ROOT_DIR = "/opac-tmpl/prog/en/lib/greybox/"; | 20 | $(document).ready(function(){ | 
            
              |  |  | 21 |     $.ajaxSetup({ | 
            
              | 22 |         error:function(x,e){ | 
            
              | 23 |             switch (x.status) { | 
            
              | 24 |                 case 200: break; | 
            
              | 25 |                 default: | 
            
              | 26 |                 $('#switchview').parent().html("<div class=\"dialog alert\">"+_("Sorry, plain view is temporarily unavailable")+".</div>"); | 
            
              | 27 |                 $("#plainmarc").hide(); | 
            
              | 28 |                 $("#labeledmarc").show(); | 
            
              | 29 |                 break; | 
            
              | 30 |             } | 
            
              | 31 |         } | 
            
              | 32 |     }); | 
            
              | 33 |  | 
            
              | 34 |     var loaded = 0; | 
            
              | 35 |     $("#switchview").toggle( | 
            
              | 36 |       function () { | 
            
              | 37 |         $(this).text(_("view labeled")); | 
            
              | 38 |         $("#labeledmarc").hide(); | 
            
              | 39 |         if(!loaded){ | 
            
              | 40 |             $("#plainmarc").show().html("<div style=\"margin:1em;padding:1em;border:1px solid #EEE;font-size:150%;\"><img src=\"/opac-tmpl/prog/images/loading.gif\" /> "+_("Loading")+"...</div>").load("/cgi-bin/koha/opac-showmarc.pl","id=<!-- TMPL_VAR name="biblionumber" -->&viewas=html"); | 
            
              | 41 |             loaded = 1; | 
            
              | 42 |         } else { | 
            
              | 43 |             $("#plainmarc").show(); | 
            
              | 44 |         } | 
            
              | 45 |       }, | 
            
              | 46 |       function () { | 
            
              | 47 |         $(this).text(_("view plain")); | 
            
              | 48 |         $("#labeledmarc").show(); | 
            
              | 49 |         $("#plainmarc").hide(); | 
            
              | 50 |       } | 
            
              | 51 |     ); | 
            
              | 52 | }); | 
        
          | 21 | <!-- /TMPL_IF --> | 53 | <!-- /TMPL_IF --> | 
        
          | 22 | //]]> | 54 | //]]> | 
        
          | 23 | </script> | 55 | </script> | 
            
              | 24 | <!-- TMPL_IF NAME="OPACXSLTDetailsDisplay" --> |  |  | 
            
              | 25 | <script type="text/javascript" src="/opac-tmpl/prog/en/lib/greybox/AJS.js"></script> | 
            
              | 26 | <script type="text/javascript" src="/opac-tmpl/prog/en/lib/greybox/AJS_fx.js"></script> | 
            
              | 27 | <script type="text/javascript" src="/opac-tmpl/prog/en/lib/greybox/gb_scripts.js"></script> | 
            
              | 28 | <link href="/opac-tmpl/prog/en/lib/greybox/gb_styles.css" rel="stylesheet" type="text/css" /> | 
            
              | 29 | <!-- /TMPL_IF --> | 
        
          | 30 | </head> | 56 | </head> | 
        
          | 31 | <body id="opac-marcdetail"> | 57 | <body id="opac-marcdetail"> | 
        
          | 32 |  | 58 |  | 
  
    | Lines 34-61
          
      
      
        Link Here | 
        
          | 34 |    <div id="bd"> | 60 |    <div id="bd"> | 
        
          | 35 | <!--TMPL_INCLUDE NAME="masthead.inc" --> | 61 | <!--TMPL_INCLUDE NAME="masthead.inc" --> | 
        
          | 36 |  | 62 |  | 
            
              | 37 |  |  |  | 
        
          | 38 |     <div id="yui-main"> | 63 |     <div id="yui-main"> | 
        
          | 39 |     <div class="yui-b"><div id="opac-detail" class="yui-ge"> | 64 |     <div class="yui-b"><div id="opac-detail" class="yui-ge"> | 
        
          | 40 |     <div class="yui-u first"> | 65 |     <div class="yui-u first"> | 
        
          | 41 |     <div class="container"> | 66 |     <div class="container"> | 
        
          | 42 |     <div id="catalogue_detail_biblio"> | 67 |     <div id="catalogue_detail_biblio"> | 
        
          | 43 |  | 68 |  | 
          
            
              | 44 | 	<h1 style="float:left;margin: 0 1em 1em 0;">MARC View</h1> | 69 |     <h2 style="float:left;margin: 0 1em 1em 0;">MARC View</h2> | 
            
              | 45 | 	<div id="views"> | 70 |     <div id="views"> | 
            
              | 46 | 	<span class="view"><a id="Normalview" href="/cgi-bin/koha/opac-detail.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->">Normal View</a></span>  | 71 |     <span class="view"><a id="Normalview" href="/cgi-bin/koha/opac-detail.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->">Normal View</a></span> | 
            
              | 47 |  |  |  | 
            
              | 48 | <!-- TMPL_IF NAME="OPACXSLTDetailsDisplay" --> | 
            
              | 49 | <span class="view"><a id="MARCviewPop" href="/cgi-bin/koha/opac-showmarc.pl?id=<!-- TMPL_VAR NAME="biblionumber" -->" title="MARC" rel="gb_page_center[600,500]">MARC View</a></span> | 
            
              | 50 |         <span class="view"><span id="MARCview">Expanded MARC View</span></span> | 
            
              | 51 | <!-- TMPL_ELSE --> | 
            
              | 52 | <span class="view"><span id="MARCview">MARC View</span> | 
            
              | 53 | <!-- /TMPL_IF --> | 
        
          | 54 |  | 72 |  | 
          
            
              | 55 |  <!-- TMPL_IF NAME="ISBD" --><span class="view"><a id="ISBDview"  href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->">ISBD View</a></span><!-- /TMPL_IF --> | 73 | <span class="view"><span id="MARCview">MARC View</span></span> | 
            
              |  |  | 74 | <!-- TMPL_IF NAME="ISBD" --><span class="view"><a id="ISBDview"  href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->">ISBD View</a></span><!-- /TMPL_IF --> | 
        
          | 56 | </div> | 75 | </div> | 
          
            
              | 57 |     <h1 style="clear:both;"><!-- TMPL_VAR NAME="bibliotitle" --> (Record no. <!-- TMPL_VAR NAME="biblionumber" -->)</h1> | 76 |     <h3 style="clear:both;"><!-- TMPL_VAR NAME="bibliotitle" --> (Record no. <!-- TMPL_VAR NAME="biblionumber" -->)</h3> | 
            
              | 58 | 	<table id="marc"> | 77 |     <!-- TMPL_IF NAME="OPACXSLTDetailsDisplay" --> | 
            
              |  |  | 78 |     <div>[ <a id="switchview" href="/cgi-bin/koha/opac-showmarc.pl?id=<!-- TMPL_VAR NAME="biblionumber" -->&viewas=html">view plain</a> ]</div> | 
            
              | 79 |     <div id="plainmarc"></div><!-- /TMPL_IF --> | 
            
              | 80 |     <div id="labeledmarc"> | 
            
              | 81 |     <table id="marc"> | 
        
          | 59 |         <!-- TMPL_LOOP name="0XX" --> | 82 |         <!-- TMPL_LOOP name="0XX" --> | 
        
          | 60 |         <tr><th colspan="2"><!-- TMPL_VAR name="tag" --></th></tr> | 83 |         <tr><th colspan="2"><!-- TMPL_VAR name="tag" --></th></tr> | 
        
          | 61 |         <!-- TMPL_LOOP name="subfield" --> | 84 |         <!-- TMPL_LOOP name="subfield" --> | 
  
    | Lines 155-163
          
      
      
        Link Here | 
        
          | 155 |             <!-- /TMPL_LOOP --> | 178 |             <!-- /TMPL_LOOP --> | 
        
          | 156 |         <!-- /TMPL_LOOP --> | 179 |         <!-- /TMPL_LOOP --> | 
        
          | 157 |     </table> | 180 |     </table> | 
            
              |  |  | 181 |     </div> | 
        
          | 158 | <!-- TMPL_IF NAME="item_header_loop" --> | 182 | <!-- TMPL_IF NAME="item_header_loop" --> | 
        
          | 159 |         <table id="items"> | 183 |         <table id="items"> | 
          
            
              | 160 | 			<caption>Copies</caption> | 184 |             <caption>Copies</caption> | 
        
          | 161 |                 <tr> | 185 |                 <tr> | 
        
          | 162 |                     <!-- TMPL_LOOP name="item_header_loop" --> | 186 |                     <!-- TMPL_LOOP name="item_header_loop" --> | 
        
          | 163 |                         <th> | 187 |                         <th> | 
  
    | Lines 176-198
          
      
      
        Link Here | 
        
          | 176 |     </div> | 200 |     </div> | 
        
          | 177 |     </div> | 201 |     </div> | 
        
          | 178 |     </div> | 202 |     </div> | 
          
            
              | 179 | 	<div class="yui-u"> | 203 |     <div class="yui-u"> | 
            
              | 180 | 	<div class="container"> | 204 |     <div class="container"> | 
        
          | 181 | <ul id="action"> | 205 | <ul id="action"> | 
        
          | 182 |  | 206 |  | 
        
          | 183 | <!-- TMPL_UNLESS NAME="norequests" --> | 207 | <!-- TMPL_UNLESS NAME="norequests" --> | 
        
          | 184 |         <!-- TMPL_IF NAME="opacuserlogin" --> | 208 |         <!-- TMPL_IF NAME="opacuserlogin" --> | 
          
            
              | 185 | 		<!-- TMPL_IF NAME="RequestOnOpac" --> | 209 |         <!-- TMPL_IF NAME="RequestOnOpac" --> | 
            
              | 186 | 			<!-- TMPL_IF NAME="AllowOnShelfHolds" --> | 210 |             <!-- TMPL_IF NAME="AllowOnShelfHolds" --> | 
            
              | 187 | 				<li><a class="reserve" href="/cgi-bin/koha/opac-reserve.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">Place Hold</a></li> | 211 |                 <li><a class="reserve" href="/cgi-bin/koha/opac-reserve.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">Place Hold</a></li> | 
            
              | 188 | 			<!-- TMPL_ELSE --> | 212 |             <!-- TMPL_ELSE --> | 
            
              | 189 | 				<!-- TMPL_IF NAME="ItemsIssued" --> | 213 |                 <!-- TMPL_IF NAME="ItemsIssued" --> | 
            
              | 190 | 					<li><a class="reserve" href="/cgi-bin/koha/opac-reserve.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">Place Hold</a></li> | 214 |                     <li><a class="reserve" href="/cgi-bin/koha/opac-reserve.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">Place Hold</a></li> | 
            
              | 191 | 				<!-- /TMPL_IF --> | 215 |                 <!-- /TMPL_IF --> | 
            
              | 192 | 			<!-- /TMPL_IF --> | 216 |             <!-- /TMPL_IF --> | 
            
              | 193 |  | 217 |  | 
            
              | 194 |         	<!-- /TMPL_IF --> | 218 |             <!-- /TMPL_IF --> | 
            
              | 195 | 	<!-- /TMPL_IF --> | 219 |     <!-- /TMPL_IF --> | 
        
          | 196 | <!-- /TMPL_UNLESS --> | 220 | <!-- /TMPL_UNLESS --> | 
        
          | 197 |         <li><a class="print" href="/cgi-bin/koha/opac-detailprint.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" onclick="Dopop('opac-detailprint.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->'); return false;"> | 221 |         <li><a class="print" href="/cgi-bin/koha/opac-detailprint.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" onclick="Dopop('opac-detailprint.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->'); return false;"> | 
        
          | 198 |             Print | 222 |             Print | 
  
    | Lines 223-233
          
      
      
        Link Here | 
        
          | 223 | </div> | 247 | </div> | 
        
          | 224 | <!-- /TMPL_IF --> | 248 | <!-- /TMPL_IF --> | 
        
          | 225 |  | 249 |  | 
          
            
              | 226 | 		<div id="export"> | 250 |         <div id="export"> | 
            
              | 227 | 		<form method="get" action="/cgi-bin/koha/opac-export.pl"> | 251 |         <form method="get" action="/cgi-bin/koha/opac-export.pl"> | 
            
              | 228 | 		<label for="format">Save Record:</label> | 252 |         <label for="format">Save Record:</label> | 
            
              | 229 | 	    <select name="format" id="format"> | 253 |         <select name="format" id="format"> | 
            
              | 230 | 		<option value="">-- Choose Format --</option> | 254 |         <option value="">-- Choose Format --</option> | 
        
          | 231 |         <option value="mods">MODS (XML)</option> | 255 |         <option value="mods">MODS (XML)</option> | 
        
          | 232 |         <option value="dc">Dublin Core (XML)</option> | 256 |         <option value="dc">Dublin Core (XML)</option> | 
        
          | 233 |         <option value="marcxml">MARCXML</option> | 257 |         <option value="marcxml">MARCXML</option> |