"Fossies" - the Fresh Open Source Software Archive

Member "koha-19.11.15/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_leader.tt" (23 Feb 2021, 10338 Bytes) of package /linux/misc/koha-19.11.15.tar.gz:


The requested HTML page contains a <FORM> tag that is unusable on "Fossies" in "automatic" (rendered) mode so that page is shown as HTML source code (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 [% SET footerjs = 1 %]
    2 [% INCLUDE 'doc-head-open.inc' %]
    3 <title>UNIMARC leader builder</title>
    4 [% INCLUDE 'doc-head-close.inc' %]
    5 </head>
    6 
    7 <body id="cat_unimarc_leader" class="cat" style="padding:1em;">
    8 <h3>UNIMARC leader builder</h3>
    9 <form name="f_pop" action="">
   10 <table>
   11 	<tr>
   12 		<td>1-4 Record length</td>
   13 		<td>(auto-calculated)</td>
   14 	</tr>
   15 	<tr>
   16 		<td><label for="f5">5- Record status</label></td>
   17 		<td>
   18 			<select name="f5" id="f5" size="1">
   19 			[% IF ( f5pipe ) %]
   20             	<option value="|" selected="selected">|- Filling character</option>
   21             [% ELSE %]
   22             	<option value="|">|- Filling character</option>
   23             [% END %]
   24             
   25 			[% IF ( f5c ) %]
   26 				<option value="c" selected="selected">c - Corrected or updated record</option>
   27 			[% ELSE %]
   28 				<option value="c">c - Corrected record</option>
   29 			[% END %]
   30 			[% IF ( f5d ) %]
   31 				<option value="d" selected="selected">d - Deleted record</option>
   32 			[% ELSE %]
   33 				<option value="d">d - Deleted record</option>
   34 			[% END %]
   35 			[% IF ( f5n ) %]
   36 				<option value="n" selected="selected">n - New record</option>
   37 			[% ELSE %]
   38 				<option value="n">n - New record</option>
   39 			[% END %]
   40 			[% IF ( f5o ) %]
   41 				<option value="o" selected="selected">o - Previously issued higher level record</option>
   42 			[% ELSE %]
   43 				<option value="o">o - Previously issued higher level record</option>
   44 			[% END %]
   45 			[% IF ( f5p ) %]
   46 				<option value="p" selected="selected">p - Previously issued as an incomplete, pre-publication record</option>
   47 			[% ELSE %]
   48 				<option value="p">p - Previously issued as an incomplete, pre-publication record</option>
   49 			[% END %]
   50 			</select>
   51 		</td>
   52 	</tr>
   53 	<tr>
   54 		<td><label for="f6">6- Type of record</label></td>
   55 		<td>
   56 			<select name="f6" id="f6" size="1">
   57 			[% IF ( f6pipe ) %]
   58             	<option value="|" selected="selected">|- Filling character</option>
   59             [% ELSE %]
   60             	<option value="|">|- Filling character</option>
   61             [% END %]
   62             
   63 			[% IF ( f6a ) %]
   64 				<option value="a" selected="selected">a - Language materials, printed</option>
   65 			[% ELSE %]
   66 				<option value="a">a - Language materials, printed</option>
   67 			[% END %]
   68 			
   69 			[% IF ( f6b ) %]
   70 				<option value="b" selected="selected">b - Language materials, manuscript</option>
   71 			[% ELSE %]
   72 				<option value="b">b - Language materials, manuscript</option>
   73 			[% END %]
   74 			
   75 			[% IF ( f6c ) %]
   76 				<option value="c" selected="selected">c - Music scores, printed</option>
   77 			[% ELSE %]
   78 				<option value="c">c - Music scores, printed</option>
   79 			[% END %]
   80 			
   81 			[% IF ( f6d ) %]
   82 				<option value="d" selected="selected">d - Music scores, manuscript</option>
   83 			[% ELSE %]
   84 				<option value="d">d - Music scores, manuscript</option>
   85 			[% END %]
   86 			
   87 			[% IF ( f6e ) %]
   88 				<option value="e" selected="selected">e - Cartographic materials, printed</option>
   89 			[% ELSE %]
   90 				<option value="e">e - Cartographic materials, printed</option>
   91 			[% END %]
   92 			
   93 			[% IF ( f6f ) %]
   94 				<option value="f" selected="selected">f - Cartographic materials, manuscript</option>
   95 			[% ELSE %]
   96 				<option value="f">f - Cartographic materials, manuscript</option>
   97 			[% END %]
   98 			
   99 			[% IF ( f6g ) %]
  100 				<option value="g" selected="selected">g - Projected and video material</option>
  101 			[% ELSE %]
  102 				<option value="g">g - Projected and video material</option>
  103 			[% END %]
  104 			
  105 			[% IF ( f6i ) %]
  106 				<option value="i" selected="selected">i - Sound recordings, nonmusical performance</option>
  107 			[% ELSE %]
  108 				<option value="i">i - Sound recordings, nonmusical performance</option>
  109 			[% END %]
  110 			
  111 			[% IF ( f6j ) %]
  112 				<option value="j" selected="selected">j - Sound recordings, musical performance</option>
  113 			[% ELSE %]
  114 				<option value="j">j - Sound recordings, musical performance</option>
  115 			[% END %]
  116 			
  117 			[% IF ( f6k ) %]
  118 				<option value="k" selected="selected">k - Two-dimensional graphics</option>
  119 			[% ELSE %]
  120 				<option value="k">k - Two-dimensional graphics</option>
  121 			[% END %]
  122 			
  123 			[% IF ( f6l ) %]
  124 				<option value="l" selected="selected">l - Electronic resources</option>
  125 			[% ELSE %]
  126 				<option value="l">l - Electronic resources</option>
  127 			[% END %]
  128 			
  129 			[% IF ( f6m ) %]
  130 				<option value="m" selected="selected">m - Multimedia</option>
  131 			[% ELSE %]
  132 				<option value="m">m - Multimedia</option>
  133 			[% END %]
  134 			
  135 			[% IF ( f6r ) %]
  136 				<option value="r" selected="selected">r - Three-dimensional artefacts and realia</option>
  137 			[% ELSE %]
  138 				<option value="r">r - Three-dimensional artefacts and realia</option>
  139 			[% END %]
  140 			
  141 			</select>
  142 		</td>
  143 	</tr>
  144 	<tr>
  145 		<td><label for="f7">7- Bibliographic level</label></td>
  146 		<td>
  147 			<select name="f7" id="f7" size="1">
  148 			[% IF ( f7pipe ) %]
  149             	<option value="|" selected="selected">|- Filling character</option>
  150             [% ELSE %]
  151             	<option value="|">|- Filling character</option>
  152             [% END %]
  153             
  154 				[% IF ( f7a ) %]
  155 					<option value="a" selected="selected">a - Analytic (component part)</option>
  156 				[% ELSE %]
  157 					<option value="a">a - Analytic (component part)</option>
  158 				[% END %]
  159 				[% IF ( f7i ) %]
  160 					<option value="i" selected="selected">i - Integrating resource</option>
  161 				[% ELSE %]
  162 					<option value="i">i - Integrating resource</option>
  163 				[% END %]
  164 				[% IF ( f7c ) %]
  165 					<option value="c" selected="selected">c - Collection - bibliographic item that is a made-up collection</option>
  166 				[% ELSE %]
  167 					<option value="c">c - Collection - bibliographic item that is a made-up collection</option>
  168 				[% END %]
  169 				[% IF ( f7m ) %]
  170 					<option value="m" selected="selected">m - Monographic - Bibliographic item</option>
  171 				[% ELSE %]
  172 					<option value="m">m - Monographic - Bibliographic item</option>
  173 				[% END %]
  174 				[% IF ( f7s ) %]
  175 					<option value="s" selected="selected">s - Serial - Bibliographic item</option>
  176 				[% ELSE %]
  177 					<option value="s">s - Serial - Bibliographic item</option>
  178 				[% END %]
  179 			</select>
  180 		</td>
  181 	</tr>
  182 	
  183 	<tr>
  184 		<td><label for="f8">8- Hierarchical level code</label></td>
  185 		<td>
  186 			<select name="f8" id="f8" size="1">
  187 			[% IF ( f8pipe ) %]
  188             	<option value="|" selected="selected">|- Filling character</option>
  189             [% ELSE %]
  190             	<option value="|">|- Filling character</option>
  191             [% END %]
  192             
  193 				[% IF ( f8space ) %]
  194 					<option value=" " selected="selected"> - Hierarchical relationship undefined</option>
  195 				[% ELSE %]
  196 					<option value=" "> - Hierarchical relationship undefined</option>
  197 				[% END %]
  198 				
  199 				[% IF ( f80 ) %]
  200 					<option value="0" selected="selected">0 - No hierarchical relationship</option>
  201 				[% ELSE %]
  202 					<option value="0">0 - No hierarchical relationship</option>
  203 				[% END %]
  204 				
  205 				[% IF ( f81 ) %]
  206 					<option value="1" selected="selected">1 - Highest level record</option>
  207 				[% ELSE %]
  208 					<option value="1">1 - Highest level record</option>
  209 				[% END %]
  210 				
  211 				[% IF ( f82 ) %]
  212 					<option value="2" selected="selected">2 - Record below highest level (all levels below)</option>
  213 				[% ELSE %]
  214 					<option value="2">2 - Record below highest level (all levels below)</option>
  215 				[% END %]
  216 				
  217 			</select>
  218 		</td>
  219 	</tr>
  220 
  221 	<tr>
  222 		<td>9-16 Indicator/Subfields/Size</td>
  223 		<td>(auto-filled)</td>
  224 	</tr>
  225 	<tr>
  226 		<td><label for="f17">17- Encoding level</label></td>
  227 		<td>
  228 			<select name="f17" id="f17" size="1">
  229 			[% IF ( f17pipe ) %]
  230             	<option value="|" selected="selected">|- Filling character</option>
  231             [% ELSE %]
  232             	<option value="|">|- Filling character</option>
  233             [% END %]
  234             
  235 				[% IF ( f17space ) %]
  236 					<option value=" " selected="selected"> Full level ("item in hand")</option>
  237 				[% ELSE %]
  238 					<option value=" "> Full level ("item in hand")</option>
  239 				[% END %]
  240 				[% IF ( f171 ) %]
  241 					<option value="1" selected="selected">1 - Sublevel 1 (not "item in hand")</option>
  242 				[% ELSE %]
  243 					<option value="1">1 - Sublevel 1 (not "item in hand")</option>
  244 				[% END %]
  245 				[% IF ( f172 ) %]
  246 					<option value="2" selected="selected">2 - Sublevel 2. The record is a prepublication (Cataloguing In Publication) record</option>
  247 				[% ELSE %]
  248 					<option value="2">2 - Sublevel 2. The record is a prepublication (Cataloguing In Publication) record</option>
  249 				[% END %]
  250 				[% IF ( f173 ) %]
  251 					<option value="3" selected="selected">3 - Sublevel 3. Incomplete record</option>
  252 				[% ELSE %]
  253 					<option value="3">3 - Sublevel 3. Incomplete record</option>
  254 				[% END %]
  255 			</select>
  256 		</td>
  257 	</tr>
  258 
  259 	<tr>
  260 		<td><label for="f18">18- Descriptive cataloging form</label></td>
  261 		<td>
  262 			<select name="f18" id="f18" size="1">
  263 			[% IF ( f18pipe ) %]
  264             	<option value="|" selected="selected">|- Filling character</option>
  265             [% ELSE %]
  266             	<option value="|">|- Filling character</option>
  267             [% END %]
  268             
  269 				[% IF ( f18space ) %]
  270 					<option value=" " selected="selected"> - In full ISBD form</option>
  271 				[% ELSE %]
  272 					<option value=" "> - In full ISBD form</option>
  273 				[% END %]
  274 				[% IF ( f18i ) %]
  275 					<option value="i" selected="selected">i - In partial or incomplete ISBD form</option>
  276 				[% ELSE %]
  277 					<option value="i">i - In partial or incomplete ISBD form</option>
  278 				[% END %]
  279 				[% IF ( f18n ) %]
  280 					<option value="n" selected="selected">n - In non-ISBD form</option>
  281 				[% ELSE %]
  282 					<option value="n">n - In non-ISBD form</option>
  283 				[% END %]
  284 			</select>
  285 		</td>
  286 	</tr>
  287 	
  288 	<tr>
  289 		<td>19-24 Entry map &amp; lengths</td>
  290 		<td>(auto-filled)</td>
  291 	</tr>
  292 </table>
  293 <fieldset class="action"><input type="button" value="OK" onclick="report();" /> <a href="#" class="cancel close">Cancel</a></fieldset>
  294 </form>
  295 
  296 [% MACRO jsinclude BLOCK %]
  297     <script>
  298         function report() {
  299             var doc   = opener.document;
  300             var field = doc.getElementById("[% index | html %]");
  301 
  302             field.value =  '     '+document.f_pop.f5.value +
  303             document.f_pop.f6.value+ document.f_pop.f7.value+
  304             document.f_pop.f8.value+ '        '+
  305             document.f_pop.f17.value+ document.f_pop.f18.value+' 4500';
  306             window.close();
  307             return false;
  308         }
  309     </script>
  310 [% END %]
  311 
  312 [% INCLUDE 'intranet-bottom.inc' popup_window=1 %]