[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/parameters systempreferences.tmpl,1.26,1.27

Paul POULAIN tipaul at users.sourceforge.net
Fri May 28 15:43:29 CEST 2004


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

Modified Files:
	systempreferences.tmpl 
Log Message:
improving systempreferences to show lists, radio button where applicable (was partially done by ?, buttemplate was not done)

Index: systempreferences.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/parameters/systempreferences.tmpl,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -r1.26 -r1.27
*** systempreferences.tmpl	14 Apr 2004 19:47:17 -0000	1.26
--- systempreferences.tmpl	28 May 2004 13:43:26 -0000	1.27
***************
*** 64,77 ****
  		<!-- /TMPL_IF -->
  		<form action="<!-- TMPL_VAR name="script_name" -->" name="Aform" method="post">
! 		<input type="hidden" name="op" value="add_validate">
! 		<!-- TMPL_IF NAME="searchfield" -->
! 			<label>Variable</label><!-- TMPL_VAR name="searchfield" -->
! 				<input type="hidden" name="variable" value="<!-- TMPL_VAR NAME="searchfield" -->">
! 		<!-- TMPL_ELSE -->
! 			<label>Variable</label><input type="text" name="variable" size="60">
! 		<!-- /TMPL_IF -->
! 		<p><label>Value</label><input type="text" name="value" value="<!-- TMPL_VAR name="value" escape="HTML" -->" size="100"></p>
! 		<p><label>Explanation</label><input type="text" name="explanation" size="60" value="<!-- TMPL_VAR name="explanation" escape="HTML" -->"></p>
! 		<p><label>&nbsp;</label><INPUT type="button" value="OK" class="button" onclick="Check(this.form)"></p>
  		</form>
  	<!-- /TMPL_IF -->
--- 64,106 ----
  		<!-- /TMPL_IF -->
  		<form action="<!-- TMPL_VAR name="script_name" -->" name="Aform" method="post">
! 		<div id="bloc25">
! 			<h2 class="parameters"><input type="text" name="explanation" size="60" value="<!-- TMPL_VAR name="explanation" escape="HTML" -->"></h2>
! 			<input type="hidden" name="op" value="add_validate">
! 			<p>
! 			<!-- TMPL_IF NAME="searchfield" -->
! 				<label>Variable</label><!-- TMPL_VAR name="searchfield" --><input type="hidden" name="variable" value="<!-- TMPL_VAR NAME="searchfield" -->">
! 			<!-- TMPL_ELSE -->
! 				<label>Variable</label><input type="text" name="variable" size="60">
! 			<!-- /TMPL_IF -->
! 			</p>
! 			<p><label>Value</label>
! 				<!-- TMPL_IF name="type-free" -->
! 					<input type="text" name="value" value="<!-- TMPL_VAR name="value" escape="HTML" -->" size="<!-- TMPL_VAR name="fieldlength" -->">
! 				<!-- /TMPL_IF -->
! 				<!-- TMPL_IF name="type-textarea" -->
! 					<textarea name="value" rows="<!--TMPL_VAR name="rows" -->" cols="<!-- TMPL_VAR name="cols" -->">
! 						<!-- TMPL_VAR name="value" escape="HTML" -->
! 					</textarea>
! 				<!-- /TMPL_IF -->
! 				<!-- TMPL_IF name="type-choice" -->
! 					<select name="value">
! 						<!-- TMPL_LOOP name="options" -->
! 							<option value="<!-- TMPL_VAR name="option" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR name="option" --></option>
! 						<!-- /TMPL_LOOP -->
! 					</select>
! 				<!-- /TMPL_IF -->
! 				<!-- TMPL_IF name="type-yesno" -->
! 					<input type="radio" name="value" value="1" <!-- TMPL_IF name="value-yes" -->checked<!-- /TMPL_IF -->>Yes
! 					<input type="radio" name="value" value="0" <!-- TMPL_IF name="value-no" -->checked<!-- /TMPL_IF -->>No
! 				<!-- /TMPL_IF -->
! 	
! 			</p>
! 			<p><label>&nbsp;</label><input type="submit" value="OK" class="button"></p>
! 		</div>
! 		<div id="bloc25">
! 			<h2 class="parameters">Koha internal (you should have no reasons to modify the following default values)</h2>
! 			<p>Variable type: <input type="text" name="preftype" value="<!--TMPL_VAR name="preftype" -->" size=40 maxlength=40> (Choice, YesNo,Integer,Textarea,Float,Themes,Languages)</p>
! 			Variable options :<input type="text" name="prefoptions" value="<!-- TMPL_VAR name="prefoptions" -->" size=80 maxlength=80> (choice list for Choice (separated by |) and cols|rows for Texarea)
! 		</div>
  		</form>
  	<!-- /TMPL_IF -->





More information about the Koha-cvs mailing list