phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] sync/templates/default/listdevices.tpl, 1.10


From: nomail
Subject: [Phpgroupware-cvs] sync/templates/default/listdevices.tpl, 1.10
Date: Sun, 16 May 2004 16:42:58 +0200

Update of /sync/templates/default
Modified Files:
        Branch: 
          listdevices.tpl

date: 2004/05/16 14:42:58;  author: mleonhardt;  state: Exp;  lines: +10 -8

Log Message:
- extending sync-ui: User can now change Device-Auth
- bugfix: save conflicthandling
=====================================================================
Index: sync/templates/default/listdevices.tpl
diff -u sync/templates/default/listdevices.tpl:1.9 
sync/templates/default/listdevices.tpl:1.10
--- sync/templates/default/listdevices.tpl:1.9  Wed May 12 16:07:14 2004
+++ sync/templates/default/listdevices.tpl      Sun May 16 14:42:58 2004
@@ -22,9 +22,7 @@
 <!-- BEGIN device_list -->
     <script type="text/javascript"><!--
     function RUSure(btn, s) { // aRe yoU Sure?
-        if (confirm({askfordelete})) {
-            btn.form.validated.value=1;
-        }
+      return confirm({askfordelete});
     }
     //-->
     </script>
@@ -39,12 +37,16 @@
       <input type="submit" name="name" value="{save}"/>
       </form>
         </font></td>
-      <td align="left"><font face="Arial, Helvetica, sans-serif" 
size="2">{device_username}</font></td>
+      <td align="left"><font face="Arial, Helvetica, sans-serif" 
size="2">{device_username}<br>
+      <form name="devicesettingform{deviceid}" method="post" 
action="{devicesettingformaction}">
+      <input type="hidden" name="deviceid" value="{deviceid}"/>
+      <input type="submit" name="name" value="{device_edit}"/>
+      </form>
+      </font></td>
 <!--not yet used            <td align="left"><font face="Arial, Helvetica, 
sans-serif" size="2">{device_edit}</font></td> -->
       <td align="left"><font face="Arial, Helvetica, sans-serif" size="2">
-      <form name="deletedeviceform{deviceid}" method="post" 
action="{DeviceDeleteLink}">
-      <input type="hidden" name="validated" value="0"/>
-      <input type="submit" name="name" value="{device_delete}" 
onclick="RUSure(this,'{device_description}')"/>
+      <form name="deletedeviceform{deviceid}" method="post" 
action="{DeviceDeleteLink}"  onsubmit="return 
RUSure(this,'{device_description}')">
+      <input type="submit" name="name" value="{device_delete}"/>
       </form>
       </td>
     </tr>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]