[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/es/parameters systempreferences.tmpl,1.2,1.3

Ambrose Li acli at users.sourceforge.net
Wed Jul 16 08:06:27 CEST 2003


Update of /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/es/parameters
In directory sc8-pr-cvs1:/tmp/cvs-serv26342

Modified Files:
	systempreferences.tmpl 
Log Message:
Partial sync to current en template; editing was not working before the sync


Index: systempreferences.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/es/parameters/systempreferences.tmpl,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** systempreferences.tmpl	3 Jun 2003 21:41:18 -0000	1.2
--- systempreferences.tmpl	16 Jul 2003 06:06:24 -0000	1.3
***************
*** 39,52 ****
  		var alertString2;
  		if (f.variable.value.length==0) {
! 			_alertString += "- variable missing\\n";
  		}
  		if (f.value.value.length==0) {
! 			_alertString += "- value missing\\n";
  		}
  		if (_alertString.length==0) {
  			document.Aform.submit();
  		} else {
! 			alertString2 = "Form not submitted because of the following problem(s)\\n";
! 			alertString2 += "------------------------------------------------------------------------------------\\n\\n";
  			alertString2 += _alertString;
  			alert(alertString2);
--- 39,52 ----
  		var alertString2;
  		if (f.variable.value.length==0) {
! 			_alertString += "- variable missing\n";
  		}
  		if (f.value.value.length==0) {
! 			_alertString += "- value missing\n";
  		}
  		if (_alertString.length==0) {
  			document.Aform.submit();
  		} else {
! 			alertString2 = "Form not submitted because of the following problem(s)\n";
! 			alertString2 += "------------------------------------------------------------------------------------\n\n";
  			alertString2 += _alertString;
  			alert(alertString2);
***************
*** 57,67 ****
  <TMPL_IF name="add_form">
  <!-------------------------------------------------------------------------------------------------->
! 	<H1><TMPL_VAR name="action"></H1>
  	<form action='<TMPL_VAR name="script_name">' name=Aform method=post>
  	<input type=hidden name=op value='add_validate'>
- 	<input type=hidden name=explanation value='<TMPL_VAR name="explanation">'>
  	<table>
! 	<tr><td>Variable</td><td><TMPL_VAR name="searchfield"></td></tr>
! 	<tr><td>Value</td><td><input type=text name=value value='<TMPL_VAR name="value">'></td></tr>
  	<tr><td>&nbsp;</td><td><INPUT type=button value='OK' onClick='Check(this.form)'></td></tr>
  	</table>
--- 57,75 ----
  <TMPL_IF name="add_form">
  <!-------------------------------------------------------------------------------------------------->
! 	<TMPL_IF NAME=modify>
! 		<h1>Modify a system preference</h1>
! 	<TMPL_ELSE>
! 		<H1>Add a system preference</H1>
! 	</TMPL_IF>
  	<form action='<TMPL_VAR name="script_name">' name=Aform method=post>
  	<input type=hidden name=op value='add_validate'>
  	<table>
! 	<TMPL_IF NAME=searchfield>
! 		<tr><td>Variable</td><td><TMPL_VAR name="searchfield"><input type=hidden name=variable value='<TMPL_VAR NAME=searchfield>'></td></tr>
! 	<TMPL_ELSE>
! 		<tr><td>Variable</td><td><input type=text name=variable></td></tr>
! 	</TMPL_IF>
! 	<tr><td>Value</td><td><input type=text name=value value='<TMPL_VAR name="value" escape=HTML>'></td></tr>
! 	<tr><td>Explanation</td><td><input type=text name=explanation size=80 value='<TMPL_VAR name="explanation" escape=HTML>'></td></tr>
  	<tr><td>&nbsp;</td><td><INPUT type=button value='OK' onClick='Check(this.form)'></td></tr>
  	</table>
***************
*** 71,75 ****
  <TMPL_IF name="add_validate">
  <!-------------------------------------------------------------------------------------------------->
! 	data recorded
  	<form action='<TMPL_VAR name="script_name">' method=post>
  	<input type=submit value=OK>
--- 79,83 ----
  <TMPL_IF name="add_validate">
  <!-------------------------------------------------------------------------------------------------->
! 	Data recorded
  	<form action='<TMPL_VAR name="script_name">' method=post>
  	<input type=submit value=OK>
***************
*** 88,96 ****
  	<tr><td colspan=2 align=center>CONFIRM DELETION</td></tr>
  	<tr><td><INPUT type=submit value='YES'></form></td><td><form action='$script_name' method=post><input type=submit value=NO></form></td></tr>
  </TMPL_IF>
  
  <TMPL_IF name="delete_confirmed">
  <!-------------------------------------------------------------------------------------------------->
! 	data deleted
  	<form action='<TMPL_VAR name="script_name">' method=post>
  	<input type=submit value=OK>
--- 96,106 ----
  	<tr><td colspan=2 align=center>CONFIRM DELETION</td></tr>
  	<tr><td><INPUT type=submit value='YES'></form></td><td><form action='$script_name' method=post><input type=submit value=NO></form></td></tr>
+ </table>
+ 
  </TMPL_IF>
  
  <TMPL_IF name="delete_confirmed">
  <!-------------------------------------------------------------------------------------------------->
! 	Data deleted
  	<form action='<TMPL_VAR name="script_name">' method=post>
  	<input type=submit value=OK>
***************
*** 100,104 ****
  <!-------------------------------------------------------------------------------------------------->
  <TMPL_IF name="else">
! <font SIZE=6><em>System preferences admin</em></font>
  <form action=/cgi-bin/koha/admin/systempreferences.pl method=post>
  	<input type=text name=searchfield value="">
--- 110,114 ----
  <!-------------------------------------------------------------------------------------------------->
  <TMPL_IF name="else">
! <h1>System preferences admin</h1>
  <form action=/cgi-bin/koha/admin/systempreferences.pl method=post>
  	<input type=text name=searchfield value="">
***************
*** 125,130 ****
  <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>
--- 135,138 ----
***************
*** 135,139 ****
--- 143,149 ----
  <br><input type=image src="<TMPL_VAR NAME='interface'>/<TMPL_VAR name="theme">/images/filenew.png" title="Add system parameter" ALT="Add" BORDER=0 ><br>
  </form>
+ 
  </TMPL_IF>
+ 
  
  <TMPL_INCLUDE NAME="parameters-bottom.inc">





More information about the Koha-cvs mailing list