Code

Updated listing table summary
[gosa.git] / gosa-plugins / fai / admin / fai / faiScriptEntry.tpl
index cddb2bbcd36a5432415f9eb4ba4f60e087059414..ced7f3d0fedf41c9b6c590270877dbf04ce4795e 100644 (file)
@@ -2,7 +2,7 @@
 <table width="100%" summary="">
        <tr>
                <td valign="top" width="50%">
-                       <h2><img class="center" alt="" src="images/forward.png" align="middle" title="{t}Generic{/t}">&nbsp;{t}Generic{/t}</h2>
+                       <h3>{t}Generic{/t}</h3>
                                <table summary="">
                                        <tr>
                                                <td>
@@ -10,7 +10,7 @@
                                                </td>
                                                <td>
 {render acl=$cnACL}
-                                                       <input value="{$cn}" size="45" maxlength="80" name="cn">
+                                                       <input type='text' value="{$cn}" size="45" maxlength="80" name="cn">
 {/render}
                                                </td>
                                        </tr>
                                                </td>
                                                <td>
 {render acl=$descriptionACL}
-                                                       <input size="45" maxlength="80" value="{$description}" name="description">
+                                                       <input type='text' size="45" maxlength="80" value="{$description}" name="description">
 {/render}
                                                </td>
                                        </tr>
                                </table>
                </td>
-               <td style="border-left: 1px solid rgb(160, 160, 160);">
+               <td class='left-border'>
+
            &nbsp;
         </td>
                <td valign="top">
-                               <h2><img class="center" alt="" src="images/fai_script.png" align="middle" title="{t}Properties{/t}">&nbsp;{t}Script attributes{/t}</h2>
+                               <h3>{t}Script attributes{/t}</h3>
                                <table summary="" width="100%">
                                        <tr>
                                                <td>
@@ -40,7 +41,7 @@
                                                </td>
                                                <td>
 {render acl=$FAIpriorityACL}
-                                                   <select id="FAIpriority" name="FAIpriority" title="{t}Choose a priority. Low values result in earlyer, high values in later excecution.{/t}">
+                                                   <select id="FAIpriority" name="FAIpriority" title="{t}Choose a priority. Low values result in an earlier, high values in a later execution.{/t}" size=1>
                                                {html_options options=$FAIprioritys selected=$FAIpriority}
                                        </select>
 {/render}
                </td>
        </tr>
 </table>
-<p class="seperator">&nbsp;</p>
-<h2><img class="center" alt="" src="images/fai_script.png" align="middle" title="{t}Script attributes{/t}">&nbsp;
+<hr>
+<h3>
        <LABEL for="FAIscript">
                {t}Script{/t}
        </LABEL>
-       </h2>
+       </h3>
 <table summary="" width="99%">
     <tr>
         <td>
@@ -72,7 +73,8 @@
        <input type="file" name="ImportFile">&nbsp;
 {/render}
 {render acl=$FAIscriptACL}
-       <input type="submit" name="ImportUpload" value="{t}Import script{/t}">
+       <button type='submit' name='ImportUpload'>{t}Import script{/t}</button>
+
 {/render}
 {render acl=$FAIscriptACL}
        {$DownMe}
 </div>
 <br>
 <div style="align:right;" align="right">
-       <input type="submit" value="{t}Apply{/t}"       name="SaveSubObject">&nbsp;
-       <input type="submit" value="{t}Cancel{/t}"      name="CancelSubObject">
+{if !$freeze}
+       <button type='submit' name='SaveSubObject'>{msgPool type=applyButton}</button>&nbsp;
+
+{/if}
+       <button type='submit' name='CancelSubObject'>{msgPool type=cancelButton}</button>
+
 </div>
 <!-- Place cursor -->
 <script language="JavaScript" type="text/javascript">