Code

Updated department templates
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 17 Mar 2010 16:25:55 +0000 (16:25 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 17 Mar 2010 16:25:55 +0000 (16:25 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16830 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/admin/departments/class_departmentManagement.inc
gosa-core/plugins/admin/departments/country.tpl
gosa-core/plugins/admin/departments/dcObject.tpl
gosa-core/plugins/admin/departments/dep_move_confirm.tpl
gosa-core/plugins/admin/departments/domain.tpl
gosa-core/plugins/admin/departments/generic.tpl
gosa-core/plugins/admin/departments/locality.tpl
gosa-core/plugins/admin/departments/organization.tpl

index adf3ee14d37c42c1e5eeb5da3eada458bcf4026b..37c7a956276e07fec9a49c7bfced96a19cdfa057 100644 (file)
@@ -29,7 +29,7 @@ class departmentManagement extends management
   // Tab definition 
   protected $tabClass = "deptabs";
   protected $tabType = "DEPTABS";
-  protected $aclCategory = "departement";
+  protected $aclCategory = "department";
   protected $aclPlugin   = "generic";
   protected $objectName   = "department";
 
index de53f9323a60ca15d2ce7892e522687ad4da64af..10aa1c51cd4b4a6308c542efec3faa5de903cb4d 100644 (file)
           title='{$manager}'>
 {/render}
 {render acl=$managerACL}
-        <input type='image' src='images/lists/edit.png' name='editManager' class='center'>
+        {image path="images/lists/edit.png" action="editManager"}
+
 {/render}
         {if $manager!=""}
 {render acl=$managerACL}
-        <img src='images/info_small.png' title='{$manager}' class='center'>
+        {image path="images/info_small.png" title="{$manager}"}
+
 {/render}
 {render acl=$managerACL}
-        <input type='image' src='images/lists/trash.png' name='removeManager' class='center'>
+        {image path="images/lists/trash.png" action="removeManager"}
+
 {/render}
         {/if}
      </td>
index 9a01761868214d43e20fa7f647c7ed13932859ee..3685a5d1611b5b315dac0b6b90c8e435b69fc4f2 100644 (file)
           title='{$manager}'>
 {/render}
 {render acl=$managerACL}
-        <input type='image' src='images/lists/edit.png' name='editManager' class='center'>
+        {image path="images/lists/edit.png" action="editManager"}
+
 {/render}
         {if $manager!=""}
 {render acl=$managerACL}
-        <img src='images/info_small.png' title='{$manager}' class='center'>
+        {image path="images/info_small.png" title="{$manager}"}
+
 {/render}
 {render acl=$managerACL}
-        <input type='image' src='images/lists/trash.png' name='removeManager' class='center'>
+        {image path="images/lists/trash.png" action="removeManager"}
+
 {/render}
         {/if}
      </td>
index 2c8689cf901e60178d0aae7f05bff702ecf78d9a..979c2062e364ccc7cafe1b2514891b9bc3c0585c 100644 (file)
@@ -1,5 +1,6 @@
 <div style="font-size:18px;">
- <img alt="" src="images/warning.png" align=top>&nbsp;{t}Warning{/t} - {t}You are currently moving/renaming this department.{/t}
+ {image path="images/warning.png" align="top"}&nbsp;{t}Warning{/t} - {t}You are currently moving/renaming this department.{/t}
+
 </div>
 <p>
 {t}Modifying a departments naming attribute 'ou' or base may corrupt acls and snapshot entries for all entire objects.{/t}
index 10d173c26702733e01bb176511c74076d246999f..eb77358d8cc87cdf4a255b6f11c0ffe6324651c1 100644 (file)
           title='{$manager}'>
 {/render}
 {render acl=$managerACL}
-        <input type='image' src='images/lists/edit.png' name='editManager' class='center'>
+        {image path="images/lists/edit.png" action="editManager"}
+
 {/render}
         {if $manager!=""}
 {render acl=$managerACL}
-        <img src='images/info_small.png' title='{$manager}' class='center'>
+        {image path="images/info_small.png" title="{$manager}"}
+
 {/render}
 {render acl=$managerACL}
-        <input type='image' src='images/lists/trash.png' name='removeManager' class='center'>
+        {image path="images/lists/trash.png" action="removeManager"}
+
 {/render}
         {/if}
      </td>
index bd8f9d5a96934c1be37b78cd1c26b77de7f15143..52da6b31bbf838e7a00dee77828384fbd682c933 100644 (file)
           title='{$manager}'>
 {/render}
 {render acl=$managerACL}
-        <input type='image' src='images/lists/edit.png' name='editManager' class='center'>
+        {image path="images/lists/edit.png" action="editManager"}
+
 {/render}
         {if $manager!=""}
 {render acl=$managerACL}
-        <img src='images/info_small.png' title='{$manager}' class='center'>
+        {image path="images/info_small.png" title="{$manager}"}
+
 {/render}
 {render acl=$managerACL}
-        <input type='image' src='images/lists/trash.png' name='removeManager' class='center'>
+        {image path="images/lists/trash.png" action="removeManager"}
+
 {/render}
         {/if}
      </td>
@@ -72,7 +75,8 @@
      </table>
 
    </td>
-   <td style="border-left:1px solid #A0A0A0">
+   <td class='left-border'>
+
     &nbsp;
    </td>
    <td>
index 565958b16a83bf4fe95f9fd309c7c69ad97f2ab7..bb19aa6f3405308c639e3a3ccf966c2e6541c66f 100644 (file)
           title='{$manager}'>
 {/render}
 {render acl=$managerACL}
-        <input type='image' src='images/lists/edit.png' name='editManager' class='center'>
+        {image path="images/lists/edit.png" action="editManager"}
+
 {/render}
         {if $manager!=""}
 {render acl=$managerACL}
-        <img src='images/info_small.png' title='{$manager}' class='center'>
+        {image path="images/info_small.png" title="{$manager}"}
+
 {/render}
 {render acl=$managerACL}
-        <input type='image' src='images/lists/trash.png' name='removeManager' class='center'>
+        {image path="images/lists/trash.png" action="removeManager"}
+
 {/render}
         {/if}
      </td>
index 6894cde52d1b85bf9a10e6735eb463cb8a1183c7..5f5480ba157f1431bcdf9985abb29bb75c7c6917 100644 (file)
           title='{$manager}'>
 {/render}
 {render acl=$managerACL}
-        <input type='image' src='images/lists/edit.png' name='editManager' class='center'>
+        {image path="images/lists/edit.png" action="editManager"}
+
 {/render}
         {if $manager!=""}
 {render acl=$managerACL}
-        <img src='images/info_small.png' title='{$manager}' class='center'>
+        {image path="images/info_small.png" title="{$manager}"}
+
 {/render}
 {render acl=$managerACL}
-        <input type='image' src='images/lists/trash.png' name='removeManager' class='center'>
+        {image path="images/lists/trash.png" action="removeManager"}
+
 {/render}
         {/if}
      </td>
@@ -71,7 +74,8 @@
      </table>
 
    </td>
-   <td style="border-left:1px solid #A0A0A0">
+   <td class='left-border'>
+
     &nbsp;
    </td>
    <td>