Code

Updated template to support multiple edit
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 25 Feb 2010 08:15:49 +0000 (08:15 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 25 Feb 2010 08:15:49 +0000 (08:15 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@15704 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/personal/generic/generic.tpl

index 41aeef2f1e4d14b64f7689d2bc0e4a0b3c669e04..517218efbd0434698a472201c50bcb64e8d353b6 100644 (file)
         {/if}
      </td>
     </tr>
+    {else}
+    <tr>
+     <td><label for="manager">{t}Manager{/t}</label></td>
+     <td>
+      <input type='checkbox' value="1" name="use_manager" id="use_manager" {if $use_manager} checked {/if}
+        onClick="document.mainform.submit();">
+        <input type='text' name='manager_name' id='manager_name' value='{$manager_name}' disabled
+          title='{$manager}'>
+        {if $use_manager}
+        <input type='image' src='images/lists/edit.png' name='editManager' class='center'>
+        {if $manager!=""}
+        <img src='images/info_small.png' title='{$manager}' class='center'>
+        <input type='image' src='images/lists/trash.png' name='removeManager' class='center'>
+        {/if}
+        {/if}
+     </td>
+    </tr>
+  
     {/if}
    </table>
   </td>