[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/parameters issuingrules.tmpl,1.1,1.2 marc_subfields_structure.tmpl,1.27,1.28 marctagstructure.tmpl,1.23,1.24

Paul POULAIN tipaul at users.sourceforge.net
Tue May 18 17:24:55 CEST 2004


Update of /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/parameters
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20735/koha-tmpl/intranet-tmpl/default/en/parameters

Modified Files:
	issuingrules.tmpl marc_subfields_structure.tmpl 
	marctagstructure.tmpl 
Log Message:
framework management : 1 MARC framework for each itemtype


Index: issuingrules.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/parameters/issuingrules.tmpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** issuingrules.tmpl	6 May 2004 14:52:47 -0000	1.1
--- issuingrules.tmpl	18 May 2004 15:24:52 -0000	1.2
***************
*** 25,28 ****
--- 25,29 ----
  	<div id="bloc100">
  		<form method="post">
+ 		Select a branch :
  			<select name="branch">
  				<option value="">Default</option>

Index: marc_subfields_structure.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/parameters/marc_subfields_structure.tmpl,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -r1.27 -r1.28
*** marc_subfields_structure.tmpl	28 Mar 2004 08:42:20 -0000	1.27
--- marc_subfields_structure.tmpl	18 May 2004 15:24:52 -0000	1.28
***************
*** 1,7 ****
- <html>
  <!-- clarification needed about this page. many questions... what is Lib? a Library? -->
  
  <!-- TMPL_INCLUDE NAME="parameters-top.inc" -->
  
  <!-- TMPL_IF name="add_form" -->
  <!---------------------------------------------------------------------------->
--- 1,7 ----
  <!-- clarification needed about this page. many questions... what is Lib? a Library? -->
  
  <!-- TMPL_INCLUDE NAME="parameters-top.inc" -->
  
+ <div id="mainbloc">
  <!-- TMPL_IF name="add_form" -->
  <!---------------------------------------------------------------------------->
***************
*** 13,40 ****
  	<form action='<!-- TMPL_VAR name="script_name" -->' name=Aform method=post>
  	<input type=hidden name=op value='add_validate'>
  	<table>
  	<tr><th>Field</th>
! 		<th>Lib for librarians / for opac</th>
! 		<th>Repet</th>
! 		<th>Mand</th>
! 		<th>Koha field</th>
! 		<th>Tab</th>
! 		<th>See also (in searches)</th>
! 		<th>Authorised value or<br/>
! 				Thesaurus category</th>
  	</tr>
  	<!-- TMPL_LOOP name="loop" -->
! 		<tr valign=top bgcolor='<!-- TMPL_VAR name="bgcolor" -->'>
! 		<td><!-- TMPL_VAR name="tagfield" --> - <!-- TMPL_VAR name="tagsubfield" --></td>
! 		<td><input type=text name="liblibrarian" value="<!-- TMPL_VAR name="liblibrarian" -->" size=40 maxlength=80><br/>
! 				<input type=text name="libopac" value="<!-- TMPL_VAR name="libopac" -->" size=40 maxlength=80></td>
! 		<td><!-- TMPL_VAR name="repeatable" --></td>
! 		<td><!-- TMPL_VAR name="mandatory" --></td>
! 		<td><!-- TMPL_VAR name="kohafield" --></td>
! 		<td><!-- TMPL_VAR name="tab" --></td>
! 		<td><input type="text" name="seealso" value="<!-- TMPL_VAR name="seealso" -->" size=20 maxlength=80></td>
! 		<td><!-- TMPL_VAR name="authorised_value" --><br/>
! 				or <!-- TMPL_VAR name="thesaurus_category" --><br/>
! 				or <!-- TMPL_VAR name="value_builder" --></td>
  	<!-- /TMPL_LOOP -->
  	</table>
--- 13,38 ----
  	<form action='<!-- TMPL_VAR name="script_name" -->' name=Aform method=post>
  	<input type=hidden name=op value='add_validate'>
+ 	<input type="hidden" name="itemtype" value="<!-- TMPL_VAR name="itemtype" -->">
  	<table>
  	<tr><th>Field</th>
! 		<th colspan=2>Constraints</th>
  	</tr>
  	<!-- TMPL_LOOP name="loop" -->
! 		<tr bgcolor='<!-- TMPL_VAR name="bgcolor" -->'>
! 		<td>
! 			<p><!-- TMPL_VAR name="tagfield" --> - <!-- TMPL_VAR name="tagsubfield" --></p>
! 			<p><input type=text name="liblibrarian" value="<!-- TMPL_VAR name="liblibrarian" -->" size=40 maxlength=80></p>
! 			<p><input type=text name="libopac" value="<!-- TMPL_VAR name="libopac" -->" size=40 maxlength=80></p>
! 		<td>
! 			<p><label>Appears in tab:</label> <!-- TMPL_VAR name="tab" --></p>
! 			<p><label>Repeatable:</label> <!-- TMPL_VAR name="repeatable" --></p>
! 			<p><label>Mandatory:</label><!-- TMPL_VAR name="mandatory" --></p>
! 			<p><label>See also:</label> <input type="text" name="seealso" value="<!-- TMPL_VAR name="seealso" -->" size=20 maxlength=80></p>
! 		</td>
! 		<td>
! 			<p><label>Koha link:</label> <!-- TMPL_VAR name="kohafield" --></p>
! 			<p><label>Auth value:</label> <!-- TMPL_VAR name="authorised_value" --></p>
! 			<p><label>Thesaurus:</label> <!-- TMPL_VAR name="thesaurus_category" --></p>
! 			<p><label>plugin:</label> <!-- TMPL_VAR name="value_builder" --></td>
  	<!-- /TMPL_LOOP -->
  	</table>
***************
*** 74,96 ****
  <!---------------------------------------------------------------------------->
  <!-- TMPL_IF name="else" -->
! <h1>MARC subfield structure admin for <!-- TMPL_VAR name="tagfield" --></h1>
  <p>This screen shows the subfields associated with the selected tag. You can edit subfields or add a new one by clicking on edit. </p>
  <p>The column <b>Koha field</b> shows that the subfield is linked with a Koha field. Koha can manage a MARC interface, or a Koha interface. This link ensures that both DB are synchronized, thus you can change from a MARC to a Koha interface easily.</p>
  
! <table border=0 cellspacing=0 cellpadding=2 width="80%">
! <tr valign=top bgcolor=#99cc33>
! 	<td background="<!-- TMPL_VAR NAME='themelang' -->/images/background-mem.gif" width=5%><b>Subfield</b></td>
! 	<td background="<!-- TMPL_VAR NAME='themelang' -->/images/background-mem.gif" width=30%><b>Lib</b></td>
! 	<td background="<!-- TMPL_VAR NAME='themelang' -->/images/background-mem.gif" width=10%><b>Koha field</b> <span style="font-size:8;color:red" title="the koha-DB field linked to this subfield">?</span></td>
! 	<td background="<!-- TMPL_VAR NAME='themelang' -->/images/background-mem.gif" width="8%"><b>Rep</b> <span style="font-size:8;color:red" title="subfield may be repeated (1=yes, 0=no)">?</span></td>
! 	<td background="<!-- TMPL_VAR NAME='themelang' -->/images/background-mem.gif" width="8%"><b>Mand</b> <span style="font-size:8;color:red" title="subfield is mandatory (1=yes, 0=no)">?</span></td>
! 	<td background="<!-- TMPL_VAR NAME='themelang' -->/images/background-mem.gif" width="8%"><b>Tab</b> <span style="font-size:8;color:red" title="subfield is shown in which tab (0-9 or item)">?</span></td>
! 	<td background="<!-- TMPL_VAR NAME='themelang' -->/images/background-mem.gif" width="8%"><b>See also</b> <span style="font-size:8;color:red" title="if subfields entered here, searches on this field will also be done on seealso subfields (syntax 200a,300e)">?</span></td>
! 	<td background="<!-- TMPL_VAR NAME='themelang' -->/images/background-mem.gif" width="8%"><b>Auth value</b> <span style="font-size:8;color:red" title="values authorised for this subfield">?</span></td>
! 	<td background="<!-- TMPL_VAR NAME='themelang' -->/images/background-mem.gif" width="8%"><b>Thesaurus</b> <span style="font-size:8;color:red" title="Thesaurus linked to this subfield">?</span></td>
! 	<td background="<!-- TMPL_VAR NAME='themelang' -->/images/background-mem.gif" width="8%"><b>Val build</b> <span style="font-size:8;color:red" title="Value builder">?</span></td>
! 	<td background="<!-- TMPL_VAR NAME='themelang' -->/images/background-mem.gif" width="8%">Delete</td>
  <!-- TMPL_LOOP name="loop" -->
! <tr valign=top bgcolor='<!-- TMPL_VAR name="bgcolor" -->'>
  	<td><!-- TMPL_VAR name="tagsubfield" --></td>
  	<td><!-- TMPL_VAR name="liblibrarian" --></td>
--- 72,94 ----
  <!---------------------------------------------------------------------------->
  <!-- TMPL_IF name="else" -->
! <h1>MARC subfield structure admin for <!-- TMPL_VAR name="tagfield" --> (framework <!--TMPL_VAR name="itemtype" -->)</h1>
  <p>This screen shows the subfields associated with the selected tag. You can edit subfields or add a new one by clicking on edit. </p>
  <p>The column <b>Koha field</b> shows that the subfield is linked with a Koha field. Koha can manage a MARC interface, or a Koha interface. This link ensures that both DB are synchronized, thus you can change from a MARC to a Koha interface easily.</p>
  
! <table>
! <tr>
! 	<th>Subfield</th>
! 	<th>Lib</th>
! 	<th>Koha field<span style="font-size:8;color:red" title="the koha-DB field linked to this subfield">?</span></th>
! 	<th>Rep<span style="font-size:8;color:red" title="subfield may be repeated (1=yes, 0=no)">?</span></th>
! 	<th>Mand <span style="font-size:8;color:red" title="subfield is mandatory (1=yes, 0=no)">?</span></th>
! 	<th>Tab <span style="font-size:8;color:red" title="subfield is shown in which tab (0-9 or item)">?</span></th>
! 	<th>See also<span style="font-size:8;color:red" title="if subfields entered here, searches on this field will also be done on seealso subfields (syntax 200a,300e)">?</span></th>
! 	<th>Auth value<span style="font-size:8;color:red" title="values authorised for this subfield">?</span></th>
! 	<th>Thesaurus<span style="font-size:8;color:red" title="Thesaurus linked to this subfield">?</span></th>
! 	<th>Val build<span style="font-size:8;color:red" title="Value builder">?</span></th>
! 	<th>Delete</th>
  <!-- TMPL_LOOP name="loop" -->
! <tr bgcolor='<!-- TMPL_VAR name="bgcolor" -->'>
  	<td><!-- TMPL_VAR name="tagsubfield" --></td>
  	<td><!-- TMPL_VAR name="liblibrarian" --></td>
***************
*** 107,120 ****
  <!-- /TMPL_LOOP -->
  </table>
! <table width=60%>
! 	<tr>
! 		<td width="25%"><!-- TMPL_VAR name="edit" --><img src="<!-- TMPL_VAR NAME='interface' -->/<!-- TMPL_VAR name="theme" -->/images/fileopen.png"  width=32 hspace=0 vspace=0 border=0></a></td>
! 		<td width="25%"><a href="marctagstructure.pl?searchfield=<!-- TMPL_VAR name="tagfield" -->"><img src="<!-- TMPL_VAR NAME='interface' -->/<!-- TMPL_VAR name="theme" -->/images/2uparrow.png" width=32 hspace=0 vspace=0 border=0></a></td>
! 		<td width="25%"><!-- TMPL_IF name="previous" --><input type=image src="<!-- TMPL_VAR NAME='interface' -->/<!-- TMPL_VAR name="theme" -->/images/1leftarrow.png" title="previous" ALT="previous" BORDER=0 ></a><!-- /TMPL_IF --></td>
! 		<td width="25%"><!-- TMPL_IF name="next" --><!-- TMPL_VAR name="next" --><input type=image src="<!-- TMPL_VAR NAME='interface' -->/<!-- TMPL_VAR name="theme" -->/images/1rightarrow.png" title="next" ALT="next" BORDER=0></a><!-- /TMPL_IF --></td>
! 	</tr>
! </table>
  <!-- /TMPL_IF -->
  
  <!-- TMPL_INCLUDE NAME="parameters-bottom.inc" -->
- </html>
--- 105,125 ----
  <!-- /TMPL_LOOP -->
  </table>
! <!-- TMPL_VAR name="edit" -->
! 	<img src="<!-- TMPL_VAR NAME='interface' -->/<!-- TMPL_VAR name="theme" -->/images/fileopen.png"  width=32 hspace=0 vspace=0 border=0>
! </a>
! <a href="marctagstructure.pl?searchfield=<!-- TMPL_VAR name="tagfield" -->">
! 	<img src="<!-- TMPL_VAR NAME='interface' -->/<!-- TMPL_VAR name="theme" -->/images/2uparrow.png" width=32 hspace=0 vspace=0 border=0>
! </a>
! <!-- TMPL_IF name="previous" -->
! 	<input type=image src="<!-- TMPL_VAR NAME='interface' -->/<!-- TMPL_VAR name="theme" -->/images/1leftarrow.png" title="previous" ALT="previous" BORDER=0 >
! 	</a><!-- /TMPL_IF -->
! <!-- TMPL_IF name="next" -->
! 	<!-- TMPL_VAR name="next" -->
! 		<input type=image src="<!-- TMPL_VAR NAME='interface' -->/<!-- TMPL_VAR name="theme" -->/images/1rightarrow.png" title="next" ALT="next" BORDER=0>
! 	</a>
  <!-- /TMPL_IF -->
+ <!-- /TMPL_IF -->
+ 
+ </div>
  
  <!-- TMPL_INCLUDE NAME="parameters-bottom.inc" -->

Index: marctagstructure.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/parameters/marctagstructure.tmpl,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -r1.23 -r1.24
*** marctagstructure.tmpl	11 Mar 2004 05:42:56 -0000	1.23
--- marctagstructure.tmpl	18 May 2004 15:24:52 -0000	1.24
***************
*** 1,4 ****
--- 1,6 ----
  <!-- TMPL_INCLUDE NAME="parameters-top.inc" -->
  
+ <div id="mainbloc">
+ <h1 class="parameters">MARC tag structure admin for <!-- TMPL_IF name="itemtype" --><!-- TMPL_VAR name="itemtype" --><!-- TMPL_ELSE -->default MARC framework<!-- /TMPL_IF --></h1>
  <script>
  	function _(s) { return s } // dummy function for gettext
***************
*** 55,59 ****
  <!-- TMPL_IF name="add_form" -->
  <!---------------------------------------------------------------------------->
! 	<h1>
  	<!-- TMPL_IF NAME="use-heading-flags-p" -->
  	<!-- TMPL_IF NAME="heading-modify-tag-p" -->Modify tag<!-- /TMPL_IF -->
--- 57,61 ----
  <!-- TMPL_IF name="add_form" -->
  <!---------------------------------------------------------------------------->
! 	<h1 class="parameters">
  	<!-- TMPL_IF NAME="use-heading-flags-p" -->
  	<!-- TMPL_IF NAME="heading-modify-tag-p" -->Modify tag<!-- /TMPL_IF -->
***************
*** 62,75 ****
  	</h1>
  	<form action='<!-- TMPL_VAR name="script_name" -->' name="Aform" method="post">
! 	<input type=hidden name=op value='add_validate'>
! 	<table>
! 	<tr><td>Tag</td><td><!-- TMPL_VAR name="searchfield" --></td></tr>
! 	<tr><td>Lib for librarians</td><td><input type="text" name="liblibrarian" value='<!-- TMPL_VAR name="liblibrarian" escape=HTML -->' size=80 maxlength=100></td></tr>
! 	<tr><td>Lib for opac</td><td><input type="text" name="libopac" value='<!-- TMPL_VAR name="libopac" escape=HTML -->' size=80 maxlength=100></td></tr>
! 	<tr><td>Repeatable</td><td><!-- TMPL_VAR name="repeatable" --></td></tr>
! 	<tr><td>Mandatory</td><td><!-- TMPL_VAR name="mandatory" --></td></tr>
! 	<tr><td>Authorised value</td><td><!-- TMPL_VAR name="authorised_value" --> (if you select a value here, the indicators will be limited to the authorised value list)</td></tr>
! 	<tr><td>&nbsp;</td><td><INPUT type="button" value='OK' onClick='Check(this.form)'></td></tr>
! 	</table>
  	</form>
  <!-- /TMPL_IF -->
--- 64,76 ----
  	</h1>
  	<form action='<!-- TMPL_VAR name="script_name" -->' name="Aform" method="post">
! 		<input type=hidden name=op value='add_validate'>
! 		<input type="hidden" name="itemtype" value="<!-- TMPL_VAR name="itemtype" -->">
! 		<p><label>Tag<label><!-- TMPL_VAR name="searchfield" --></p>
! 		<p><label>Lib for librarians</label><input type="text" name="liblibrarian" value='<!-- TMPL_VAR name="liblibrarian" escape=HTML -->' size=80 maxlength=100></p>
! 		<p><label>Lib for opac</label><input type="text" name="libopac" value='<!-- TMPL_VAR name="libopac" escape=HTML -->' size=80 maxlength=100></p>
! 		<p><label>Repeatable</label><!-- TMPL_VAR name="repeatable" --></p>
! 		<p><label>Mandatory</label><!-- TMPL_VAR name="mandatory" --></p>
! 		<p><label>Authorised value</label><!-- TMPL_VAR name="authorised_value" --> (if you select a value here, the indicators will be limited to the authorised value list)</p>
! 		<p><label>&nbsp;</label><input type="button" value='OK' class="button" onClick='Check(this.form)'></p>
  	</form>
  <!-- /TMPL_IF -->
***************
*** 78,85 ****
  <!-- TMPL_IF name="delete_confirm" -->
  <!---------------------------------------------------------------------------->
! <table border=0 cellspacing=0 cellpadding=2>
! 	<tr valign=top bgcolor=#99cc33>
! 		<td background="<!-- TMPL_VAR name="themelang" -->/images/background-mem.gif"><b>tag</b></td>
! 		<td background="<!-- TMPL_VAR name="themelang" -->/images/background-mem.gif"><b><!-- TMPL_VAR name="searchfield" --></b></td>
  	</tr>
  	<tr><td>&nbsp;</td><td><!-- TMPL_VAR name="liblibrarian" --></td></tr>
--- 79,86 ----
  <!-- TMPL_IF name="delete_confirm" -->
  <!---------------------------------------------------------------------------->
! <table>
! 	<tr>
! 		<td>tag</td>
! 		<td><!-- TMPL_VAR name="searchfield" --></td>
  	</tr>
  	<tr><td>&nbsp;</td><td><!-- TMPL_VAR name="liblibrarian" --></td></tr>
***************
*** 96,158 ****
  	</form>
  <!-- /TMPL_IF -->
  
  <!---------------------------------------------------------------------------->
  <!-- TMPL_IF name="else" -->
! <h1>MARC tag structure admin</h1>
! <b>NOTE : if you change the link between a MARC subfield and a non-MARC field, ask your administrator to run misc/rebuildnonmarc.pl script.</b>
  <form action='<!-- TMPL_VAR name="script_name" -->' method=post>
! 	<input type=text name=searchfield value="">
! 	<input type=reset name=reset value="clr">
  </form>
! <!-- TMPL_VAR name="searchfield" -->
! <table border=0 cellspacing=0 cellpadding=2>
! <tr valign=top bgcolor=#99cc33>
! 	<td background="<!-- TMPL_VAR name="themelang" -->/images/background-mem.gif"><b>Tag</b></td>
! 	<td background="<!-- TMPL_VAR name="themelang" -->/images/background-mem.gif"><b>Lib</b></td>
! 	<td background="<!-- TMPL_VAR name="themelang" -->/images/background-mem.gif"><b>Repeatable</b></td>
! 	<td background="<!-- TMPL_VAR name="themelang" -->/images/background-mem.gif"><b>Mandatory</b></td>
! 	<td background="<!-- TMPL_VAR name="themelang" -->/images/background-mem.gif"><b>Authorised<br />value</b></td>
! 	<td background="<!-- TMPL_VAR name="themelang" -->/images/background-mem.gif"><b>Subfields</b></td>
! 	<td background="<!-- TMPL_VAR name="themelang" -->/images/background-mem.gif">Edit</td>
! 	<td background="<!-- TMPL_VAR name="themelang" -->/images/background-mem.gif">Delete</td>
! <!-- TMPL_LOOP name="loop" -->
! <tr valign=top bgcolor='<!-- TMPL_VAR name="bgcolor" -->'>
! 	<td><b><!-- TMPL_VAR name="tagfield" --></b></td>
! 	<td><!-- TMPL_VAR name="liblibrarian" --></td>
! 	<td><!-- TMPL_IF name="repeatable" -->Yes<!-- TMPL_ELSE -->No<!-- /TMPL_IF --></td>
! 	<td><!-- TMPL_IF name="mandatory" -->Yes<!-- TMPL_ELSE -->No<!-- /TMPL_IF --></td>
! 	<td><!-- TMPL_VAR name="authorised_value" --></td>
! 	<td><a href="<!-- TMPL_VAR name="subfield_link" -->">subfields</a></td>
! 	<td><a href="<!-- TMPL_VAR name="edit" -->"><img src="<!-- TMPL_VAR name="interface" -->/<!-- TMPL_VAR name="theme" -->/images/fileopen.png"  width=32 hspace=0 vspace=0 border=0></a></td>
! 	<td><a href="<!-- TMPL_VAR name="delete" -->"><img src="<!-- TMPL_VAR name="interface" -->/<!-- TMPL_VAR name="theme" -->/images/edittrash.png" width=32 hspace=0 vspace=0 border=0></a></td>
! </tr>
! <!-- /TMPL_LOOP -->
! <form action='<!-- TMPL_VAR name="script_name" -->' method=post>
! <input type=hidden name=op value=add_form>
! </table>
! 	<form action='<!-- TMPL_VAR name="script_name" -->' method=post>
! 	<input type=hidden name=op value=add_form>
! <table width=40%>
  	<tr>
! 		<td width="33%">
! 			<input type=submit class="button" value="Add Tag" title="Add Tag" alt="Add Tag" >
! 		</td>
! 		<td width=33%>
! 			<!-- TMPL_IF name="isprevpage" -->
! 				<a href="<!-- TMPL_VAR name="script_name" -->?offset=<!-- TMPL_VAR name="prevpage" -->&searchfield=<!-- TMPL_VAR name="searchfield" -->">
! 				<input type=image src="<!-- TMPL_VAR name="interface" -->/<!-- TMPL_VAR name="theme" -->/images/1leftarrow.png" title="previous" ALT="previous" BORDER=0>
! 				</a>
! 			<!-- /TMPL_IF -->
! 		</td>
! 		<td width=33%>
! 			<!-- TMPL_IF name="nextpage" -->
! 				<a href="<!-- TMPL_VAR name="script_name" -->?offset=<!-- TMPL_VAR name="nextpage" -->&searchfield=<!-- TMPL_VAR name="searchfield" -->">
! 					<input type=image src="<!-- TMPL_VAR name="interface" -->/<!-- TMPL_VAR name="theme" -->/images/1rightarrow.png" title="next" ALT="next" BORDER=0>
! 				</a>
! 			<!-- /TMPL_IF -->
! 		</td>
  	</tr>
! </table>
! </form>
  <!-- /TMPL_IF -->
  <!-- TMPL_INCLUDE NAME="parameters-bottom.inc" -->
--- 97,174 ----
  	</form>
  <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="itemtype_create" -->
+ <!---------------------------------------------------------------------------->
+ 	<form action='<!-- TMPL_VAR name="script_name" -->' method=post>
+ 		<input type="hidden" name="op" value="itemtype_create_confirm">
+ 		<input type="hidden" name="itemtype" value="<!-- TMPL_VAR name="itemtype" -->">
+ 		Create itemtype framework for <!-- TMPL_VAR name="itemtype" --> (<!-- TMPL_VAR name="ITdescription" -->) using
+ 		<select name="existingitemtype">
+ 			<option value="">Default</option>
+ 		<!-- TMPL_LOOP name="existingitemtypeloop" -->
+ 			<option value="<!-- TMPL_VAR name="value" -->"><!-- TMPL_VAR name="description" --></option>
+ 		<!-- /TMPL_LOOP -->
+ 		</select>
+ 		<input type=submit value="OK" class="button">
+ 	</form>
+ <!-- /TMPL_IF -->
  
  <!---------------------------------------------------------------------------->
  <!-- TMPL_IF name="else" -->
! <div id="bloc25">
! <h2 class="parameters">Select an itemtype</h2>
  <form action='<!-- TMPL_VAR name="script_name" -->' method=post>
! 	<select name="itemtype">
! 		<option value="">Default</option>
! 	<!-- TMPL_LOOP name="itemtypeloop" -->
! 		<option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR name="description" --></option>
! 	<!-- /TMPL_LOOP -->
! 	</select>
! 	<input type=text name=searchfield value="<!-- TMPL_VAR name="searchfield" -->">
! 	<input type="submit" value="OK" class="button">
  </form>
! <b>NOTE : if you change the link between a MARC subfield and a non-MARC field, ask your administrator to run misc/rebuildnonmarc.pl script.</b>
! </div>
! <div id="bloc100">
! 	<table>
  	<tr>
! 		<th>Tag</th>
! 		<th>Lib</th>
! 		<th>Repeatable</th>
! 		<th>Mandatory</th>
! 		<th>Authorised<br />value</th>
! 		<th>Subfields</th>
! 		<th>Edit</th>
! 		<th>Delete</th>
! 	<!-- TMPL_LOOP name="loop" -->
! 	<tr valign=top bgcolor='<!-- TMPL_VAR name="bgcolor" -->'>
! 		<td><b><!-- TMPL_VAR name="tagfield" --></b></td>
! 		<td><!-- TMPL_VAR name="liblibrarian" --></td>
! 		<td><!-- TMPL_IF name="repeatable" -->Yes<!-- TMPL_ELSE -->No<!-- /TMPL_IF --></td>
! 		<td><!-- TMPL_IF name="mandatory" -->Yes<!-- TMPL_ELSE -->No<!-- /TMPL_IF --></td>
! 		<td><!-- TMPL_VAR name="authorised_value" --></td>
! 		<td><a href="<!-- TMPL_VAR name="subfield_link" -->" class="button">subfields</a></td>
! 		<td><a href="<!-- TMPL_VAR name="edit" -->"><img src="<!-- TMPL_VAR name="interface" -->/<!-- TMPL_VAR name="theme" -->/images/fileopen.png"  width=32 hspace=0 vspace=0 border=0></a></td>
! 		<td><a href="<!-- TMPL_VAR name="delete" -->"><img src="<!-- TMPL_VAR name="interface" -->/<!-- TMPL_VAR name="theme" -->/images/edittrash.png" width=32 hspace=0 vspace=0 border=0></a></td>
  	</tr>
! 	<!-- /TMPL_LOOP -->
! 	<form action='<!-- TMPL_VAR name="script_name" -->' method=post>
! 	<input type=hidden name=op value=add_form>
! 	</table>
! 	<form action='<!-- TMPL_VAR name="script_name" -->' method=post>
! 		<input type=hidden name=op value=add_form>
! 		<input type=submit class="button" value="Add Tag" title="Add Tag" alt="Add Tag" >
! 		<!-- TMPL_IF name="isprevpage" -->
! 			<a href="<!-- TMPL_VAR name="script_name" -->?offset=<!-- TMPL_VAR name="prevpage" -->&searchfield=<!-- TMPL_VAR name="searchfield" -->">
! 			<input type=image src="<!-- TMPL_VAR name="interface" -->/<!-- TMPL_VAR name="theme" -->/images/1leftarrow.png" title="previous" ALT="previous" BORDER=0>
! 			</a>
! 		<!-- /TMPL_IF -->
! 		<!-- TMPL_IF name="nextpage" -->
! 			<a href="<!-- TMPL_VAR name="script_name" -->?offset=<!-- TMPL_VAR name="nextpage" -->&searchfield=<!-- TMPL_VAR name="searchfield" -->">
! 				<input type=image src="<!-- TMPL_VAR name="interface" -->/<!-- TMPL_VAR name="theme" -->/images/1rightarrow.png" title="next" ALT="next" BORDER=0>
! 			</a>
! 		<!-- /TMPL_IF -->
! 	</form>
! </div>
  <!-- /TMPL_IF -->
+ </div>
  <!-- TMPL_INCLUDE NAME="parameters-bottom.inc" -->





More information about the Koha-cvs mailing list