Code

Removed unsed stuff
[gosa.git] / plugins / gofon / macro / generic.tpl
index 98f1a25386a1b5fc497a2a69a4eaf760ce1d9578..1379e73864107676f0e6ab9339c9d935b6351541 100755 (executable)
@@ -1,55 +1,57 @@
-<table style="width:100%;">
-       <tr>
-               <td style="width:50%;">
-
-                       <table>
+<table width="100%" summary="">
+  <tr>
+    <td>
+                       <table summary="">
                        <tr>
-                               <td>{t}Macro name{/t}{$must}</td>
-                               <td><input name="cn" size=25 maxlength=60 value="{$cn}" title="{t}Macro name{/t}"></td>
-                       </tr>
-                       <tr>
-                               <td>{t}Display name{/t}</td>
-                               <td>
-                                       <input name="displayName" size=35 maxlength=60 value="{$displayName}" title="{t}Macro name to be displayed{/t}">
-                               </td>
+                               <td><LABEL for="cn">{t}Macro name{/t}</LABEL>{$must}</td>
+                               <td><input {$disable_cn} name="cn" id="id" size=13 maxlength=13 value="{$cn}" title="{t}Macro name{/t}"></td>
                        </tr>
                        <tr>
-                               <td>{t}Description{/t}</td>
+                               <td><LABEL for="displayName">{t}Display name{/t}</LABEL>{$must}</td>
                                <td>
-                                       <input name="description" size=35 maxlength=60 value="{$description}">
+                                       <input name="displayName" id="displayName" size=35 maxlength=60 value="{$displayName}" title="{t}Macro name to be displayed{/t}">
                                </td>
                        </tr>
                        <tr>
-                               <td>{t}Visible for user{/t}</td>
-                               <td>
-                                       <input type="checkbox" name="goFonMacroVisible" size=35 maxlength=60 value="1" {$goFonMacroVisibleChecked}>
-                               </td>
-                       </tr>
-                       <tr>
-                                       <td colspan=2><div style="height:15px;">
+                                       <td colspan=2>
                                        </td>
                                </tr>
                        <tr>
-                               <td>{t}Base{/t}{$must}</td>
+                               <td><LABEL for="base">{t}Base{/t}</LABEL>{$must}</td>
                                <td>
-                                          <select size="1" name="base" title="{t}Choose subtree to place application in{/t}">
+                                          <select size="1" id="base" name="base" title="{t}Choose subtree to place macro in{/t}">
                                                        {html_options options=$bases selected=$base_select}
+               <option disabled>&nbsp;</option>
                                           </select>
                                </td>
                        </tr>
                        </table>
-
-               </td>
-       </tr>
-</table>
-<table width="100%">
-       <tr>
-               <td>    
-                       <textarea name="goFonMacroContent" style="width:600px;height:400px;">{$goFonMacroContent}</textarea>
                </td>
-       <tr>
+               <td style="border-left:1px solid #A0A0A0">
+                    &nbsp;
+               </td>
+               <td style="vertical-align:top;">
+                       <table summary="">
+                       <tr>
+                               <td><LABEL for="description">{t}Description{/t}</LABEL></td>
+                               <td>
+                                       <input name="description" id="description" size=35 maxlength=60 value="{$description}">
+                               </td>
+                       </tr>
+                       <tr>
+                               <td colspan=2>
+                                       <input type="checkbox" name="goFonMacroVisible" size=35 maxlength=60 value="1" {$goFonMacroVisibleChecked}> {t}Visible for user{/t}
+                               </td>
+                       </tr>
+                       </table>
+               </td>
+       </tr>
 </table>
-<p class="plugbottom" style="height:4px; margin-bottom:0px;">&nbsp</p>
+<p class="seperator">&nbsp;</p>
+<br>
+{t}Macro text{/t}
+<br>
+<textarea name="goFonMacroContent" style="width:99%;height:300px;font-size:14px;font-family:Arial;">{$goFonMacroContent}</textarea>
 
 <!-- Place cursor -->
 <script language="JavaScript" type="text/javascript">