Code

Updated divlists.
[gosa.git] / plugins / admin / fai / faiTemplate.tpl
index e7b4666b027bc9171f1e82f73ef8283d7ec6407d..1ded8915df1d2e811f555210ad8087a93c6da984 100644 (file)
@@ -10,7 +10,9 @@
                                                        </LABEL>
                                                </td>
                                                <td>
+{render acl=$cnACL}
                                                        <input value="{$cn}" size="45" maxlength="80" disabled id="cn">
+{/render}
                                                </td>
                                        </tr>
                                        <tr>
@@ -20,7 +22,9 @@
                                                        </LABEL>
                                                </td>
                                                <td>
-                                                       <input value="{$description}" size="45" maxlength="80" {$description} name="description" id="description" {$descriptionACL}>
+{render acl=$descriptionACL}
+                                                       <input value="{$description}" size="45" maxlength="80" {$description} name="description" id="description">
+{/render}
                                                </td>
                                        </tr>
                                </table>
                                                {t}List of template files{/t}
                                        </LABEL>
                                </h2>
-                               <table summary="" width="100%">
-                               <tr>
-                                       <td>
-                                               <select name="SubObject[]" multiple} 
-                                                       title="{t}Choose a template to delete or edit{/t}" style="width:100%;" size="20" id="SubObject">
-                                                       {html_options options=$SubObjects}
-                                               </select><br>
-                                               <input type="submit" name="AddSubObject"     value="{t}Add{/t}"         title="{t}Add{/t}" {$cnACL}>
-                                               <input type="submit" name="EditSubObject"    value="{t}Edit{/t}"    title="{t}Edit{/t}">
-                                               <input type="submit" name="DelSubObject"     value="{t}Delete{/t}"  title="{t}Delete{/t}" {$cnACL}>
-                                       </td>
-                               </tr>
-                               </table>
+                       {$Entry_divlist}
+{if $sub_object_is_addable}
+                               <input type="submit" name="AddSubObject"     value="{t}Add{/t}"         title="{t}Add{/t}">
+{else}
+                               <input type="submit" name="AddSubObject"     value="{t}Add{/t}"         title="{t}Add{/t}" disabled>
+{/if}
                </td>
        </tr>
 </table>