[lms-commits] CVS update of lms/templates (nodeaddbox.html)

LMS CVS cvs w lms.org.pl
Czw, 16 Wrz 2010, 14:05:28 CEST


Date: Thursday, September 16, 2010 @ 14:05:28
Author: alec
Path: /cvsroot/lms/templates

Modified: nodeaddbox.html

- add NULL option in customer select


Diff URLs:
http://cvs.lms.org.pl/viewvc/Development/lms/templates/nodeaddbox.html.diff?&r1=1.82&r2=1.83


Index: lms/templates/nodeaddbox.html
diff -u lms/templates/nodeaddbox.html:1.82 lms/templates/nodeaddbox.html:1.83
--- lms/templates/nodeaddbox.html:1.82	Mon Jul  5 10:35:11 2010
+++ lms/templates/nodeaddbox.html	Thu Sep 16 14:05:28 2010
@@ -1,4 +1,4 @@
-<!--// $Id: nodeaddbox.html,v 1.82 2010/07/05 08:35:11 alec Exp $ //-->
+<!--// $Id: nodeaddbox.html,v 1.83 2010/09/16 12:05:28 alec Exp $ //-->
 <FORM NAME="nodeadd" METHOD="POST" ACTION="?m=nodeadd{if $customerinfo.id}&ownerid={$customerinfo.id}{/if}">
 <INPUT type="submit" class="hiddenbtn">
 <TABLE WIDTH="100%" CELLPADDING="3">
@@ -116,6 +116,7 @@
 		<TD WIDTH="99%" NOWRAP>
 		{if $customers}
 			<SELECT SIZE="1" NAME="nodedata[customerid]" {tip text="Assign node to customer" trigger="ownerid"} style="max-width:160px;" onChange="document.nodeadd.elements['nodedata[ownerid]'].value=this.value">
+				<OPTION VALUE="0">{t}... select customer ...{/t}</OPTION>
 				{foreach from=$customers item=c}
 				<OPTION VALUE="{$c.id}"{if $nodedata.ownerid == $c.id} SELECTED{/if}>{$c.customername|truncate:40:"...":true} ({$c.id|string_format:"%04d"})</OPTION>
 				{/foreach}


Więcej informacji o liście lms-commits