Merge remote branch 'kc/master' into new/bug_3013
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / cataloguing / value_builder / unimarc_field_124a.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>UNIMARC Field 124a builder</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 </head>
5 <body style="padding:1em;">
6 <h3>UNIMARC Field 124a builder</h3>
7 <form name="f_pop" action="">
8 <table>
9         <tr>
10                 <td><label for="f1">Character of Image:</label></td>
11                 <td>
12                         <select name="f1" id="f1" size="1">
13                         <!-- TMPL_IF name="f1a" -->
14                                 <option value="a" selected="selected">non-photographic image</option>
15                         <!-- TMPL_ELSE -->
16                                 <option value="a">non-photographic image</option>
17                         <!-- /TMPL_IF -->
18                         <!-- TMPL_IF name="f1b" -->
19                                 <option value="b" selected="selected">photographic image</option>
20                         <!-- TMPL_ELSE -->
21                                 <option value="b">photographic image</option>
22                         <!-- /TMPL_IF -->
23                         <!-- TMPL_IF name="f1c" -->
24                                 <option value="c" selected="selected">remote sensing image</option>
25                         <!-- TMPL_ELSE -->
26                                 <option value="c">remote sensing image</option>
27                         <!-- /TMPL_IF -->
28                         </select>
29                 </td></tr>
30 </table>
31 <fieldset class="action"><input type="button" value="OK" onclick="report();" /> <a href="#" class="cancel close">Cancel</a></fieldset>
32 </form>
33 <script type="text/javascript">
34 //<![CDATA[
35         function report() {
36             var doc   = opener.document; 
37             var field = doc.getElementById("<!-- TMPL_VAR NAME='index'-->");
38         
39             field.value =  document.f_pop.f1.value;
40             self.close();
41             return false;
42         }
43 //]]>
44 </script>
45
46 <!-- TMPL_INCLUDE NAME="popup-bottom.inc" -->