Code

Updated regexes
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 20 Dec 2006 08:25:32 +0000 (08:25 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 20 Dec 2006 08:25:32 +0000 (08:25 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5446 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/samba/sambaLogonHours.tpl

index ec16bcf5e6c2aa1650dc7118a122b2b1e9fc6f92..abf83bf5b1bd9341c814bd16f368ff28e288f549 100644 (file)
       {else}
         <td style="text-align:center; height: 22px; background-color: rgb(245, 245, 245); border-right: solid 1px #B0B0B0; text-align: right;">
       {/if}
-      <input type='button' onClick="toggle_chk('_{$hours}$');" value='+/-' style='width:100%;'>
+      <input type='button' onClick="toggle_chk('^day_[0-9]*_{$hours}$');" value='+/-' style='width:100%;'>
     </td>
     {/foreach}
-    <td><input type='button' onClick="toggle_chk('day_*_*');" value='+/-' style='width:100%;'></td>
+    <td><input type='button' onClick="toggle_chk('^day_[0-9]*_[0-9]*$');" value='+/-' style='width:100%;'></td>
   </tr>
 
   <!-- Add Entries -->
@@ -78,7 +78,7 @@
 
     <!-- Add toggle button for days -->
     <td>  
-      <input type='button' onClick="toggle_chk('^day_{$key_day}')" value='+/-'  style='padding:0px;margin:0px;'>
+      <input type='button' onClick="toggle_chk('^day_{$key_day}_[0-9]*$')" value='+/-'  style='padding:0px;margin:0px;'>
     </td>
   </tr>
 {/foreach}