Code

Some changes
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 2 Dec 2005 14:10:23 +0000 (14:10 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 2 Dec 2005 14:10:23 +0000 (14:10 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2212 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/applications/class_applicationGeneric.inc
plugins/admin/applications/generic.tpl
plugins/admin/departments/generic.tpl

index d61cdae734c6781b99bb3090f98cb3be83590308..44ea1694666fa6246db21efa3074844e1d61ff07 100644 (file)
@@ -161,7 +161,7 @@ class application extends plugin
        $smarty->assign("rand", rand(0, 10000));
 
        /* Variables */
-       foreach(array("description", "gosaApplicationExecute", "gosaApplicationName") as $val){
+       foreach(array("description", "gosaApplicationExecute", "gosaApplicationName","cn") as $val){
                $smarty->assign($val, $this->$val);
                $smarty->assign($val."ACL", chkacl($this->acl, $val));
        }
index 6ac3b6cb37971e5b02afc12e20421ae562137c8f..bff141fac639a9b76d3693da396da06d26fb25c8 100644 (file)
@@ -5,7 +5,7 @@
    <table summary="">
      <tr>
       <td><LABEL for="cn">{t}Application name{/t}{$must}</LABEL></td>
-      <td><input id="cn" name="cn" size=25 maxlength=60 value="{$cn}" title="{t}Application name{/t}"></td>
+      <td><input id="cn" name="cn" size=25 maxlength=60 value="{$cn}" title="{t}Application name{/t}" {$cnACL}></td>
     </tr>
     <tr>
      <td><LABEL for="gosaApplicationName">{t}Display name{/t}</LABEL></td>
index fc54d4ceafce8110ab556601997c1bdccef84c04..55e42fe57379995d4e6751ccf9e884f1e39eed43 100644 (file)
@@ -6,7 +6,7 @@
      <table summary="">
       <tr>
        <td><LABEL for="ou">{t}Name of department{/t}</LABEL>{$must}</td>
-       <td><input id="ou" name="ou" size=25 maxlength=60 value="{$ou}" title="{t}Name of subtree to create{/t}"></td>
+       <td><input id="ou" name="ou" size=25 maxlength=60 value="{$ou}" title="{t}Name of subtree to create{/t}" {$ouACL}></td>
       </tr>
       <tr>
        <td><LABEL for="description">{t}Description{/t}</LABEL>{$must}</td>