Code

Added storage RDN properties.
[gosa.git] / gosa-plugins / goto / admin / applications / generic.tpl
index c4c044cdae02db2cbe6936b5844c718284b36f19..3c84c9289c844c8ea0c5edb7177f901ed7cca386 100644 (file)
@@ -1,13 +1,13 @@
-<table summary="" style="width:100%;">
+<table summary="{t}Application{/t}" style="width:100%;">
  <tr>
   <td style="width:50%;">
 
-   <table summary="">
+   <table summary="{t}Generic settings{/t}">
      <tr>
       <td><LABEL for="cn">{t}Application name{/t}{$must}</LABEL></td>
       <td>
 {render acl=$cnACL}
-       <input id="cn" name="cn" size=25 maxlength=60 value="{$cn}" title="{t}Application name{/t}">
+       <input type='text' id="cn" name="cn" size=25 maxlength=60 value="{$cn}" title="{t}Application name{/t}">
 {/render}
       </td>
     </tr>
      <td><LABEL for="description">{t}Description{/t}</LABEL></td>
      <td>
 {render acl=$descriptionACL}
-      <input id="description" name="description" size=35 maxlength=80 value="{$description}">
+      <input type='text' id="description" name="description" size=35 maxlength=80 value="{$description}">
 {/render}
      </td>
     </tr>
-    <tr><td colspan=2><div style="height:15px;"></div></td></tr>
-    <tr>
-      <td><LABEL for="base">{t}Base{/t}{$must}</LABEL></td>
-      <td>
-{render acl=$baseACL}
-       <select size="1" id="base" name="base" title="{t}Choose subtree to place application in{/t}" 
-        {if $isReleaseApplikation} disabled {/if}>
-        {html_options options=$bases selected=$base_select}
-       </select>
-{/render}
 {if !$isReleaseApplikation}
-{render acl=$baseACL disable_picture='images/lists/folder_grey.png'}
-      <input type="image" name="chooseBase" src="images/lists/folder.png" class="center" title="{t}Select a base{/t}">
+   <tr>
+    <td><br><LABEL for="base">{t}Base{/t}</LABEL>{$must}</td>
+    <td>
+     <br>
+{render acl=$baseACL}
+           {$base}
 {/render}
+     </td>
+    </tr>
 {/if}
-      </td>
-     </tr>
    </table>
   </td>
-  <td style="border-left:1px solid #A0A0A0">
+  <td class='left-border'>
+
    &nbsp;
   </td>
-  <td style="vertical-align:top;">
-   <table summary="">
+  <td>
+
+   <table summary="{t}Picture settings{/t}">
     <tr>
     <td>
     <LABEL for="picture_file">{t}Icon{/t}</LABEL>
     <br>
+{if $IconReadable}
     <img alt="" src="getbin.php?rand={$rand}" border=1 style="width:48px; height:48; background-color:white; vertical-align:bottom;">
+{else}
+       {image path="images/empty.png"}
+
+{/if}
     </td>
-    <td style="vertical-align:top">
+    <td>
+
     &nbsp;<br>
 
     <input type="hidden" name="MAX_FILE_SIZE" value="100000">
     <input name="picture_file" type="file" size="20" maxlength="255" accept="image/*.png" id="picture_file">
 {/render}
 {render acl=$gosaApplicationIconACL}
-<input type="submit" name="update" value="{t}Update{/t}" title="{t}Reload picture from LDAP{/t}">
+<button type='submit' name='update' title="{t}Reload picture from LDAP{/t}">{t}Update{/t}</button>
+
 {/render}
 {render acl=$gosaApplicationIconACL}
-<input type="submit" name="remove_picture" value="{t}Remove picture{/t}" title="{t}Remove picture from LDAP{/t}">
+<button type='submit' name='remove_picture' title="{t}Remove picture from LDAP{/t}">{t}Remove picture{/t}</button>
+
 {/render}
     </td>
     </tr>
  </tr>
 </table>
 
-<p class="plugbottom" style="height:4px; margin-bottom:0px;">&nbsp;</p>
+<hr>
 
-<h2><img src="images/lists/on.png" alt="{t}Options{/t}" align="middle">&nbsp;{t}Options{/t}</h2>
-<table summary="" style="width:100%;">
+<h3>{t}Options{/t}</h3>
+<table summary="{t}Application options{/t}" style="width:100%;">
   <tr>
-    <td style="width:50%;border-right:1px solid #B0B0B0; vertical-align:top">
-{render acl=$gosaApplicationFlagsACL}
-      <input type=checkbox name="exec_for_groupmembers" value="1" {$exec_for_groupmembers}>
+    <td style='width:50%;' class='right-border'>
+
+{render acl=$execForGroupmembersACL}
+      <input type=checkbox name="execForGroupmembers" value="1" {$execForGroupmembers}>
 {/render}
        {t}Only executable for members{/t}
       <br>
-{render acl=$gosaApplicationFlagsACL}
-      <input type=checkbox name="overwrite_config" value="1" {$overwrite_config}>
+{render acl=$overwriteConfigACL}
+      <input type=checkbox name="overwriteConfig" value="1" {$overwriteConfig}>
 {/render}
        {t}Replace user configuration on startup{/t}
     </td>
     <td>
-{render acl=$gosaApplicationFlagsACL}
-      <input type=checkbox name="place_on_desktop" value="1" {$place_on_desktop}>
+{render acl=$placeOnDesktopACL}
+      <input type=checkbox name="placeOnDesktop" value="1" {$placeOnDesktop}>
 {/render}
       {t}Place icon on members desktop{/t}
       <br>
-{render acl=$gosaApplicationFlagsACL}
-      <input type=checkbox name="place_in_startmenu" value="1" {$place_in_startmenu}>
+{render acl=$placeInStartmenuACL}
+      <input type=checkbox name="placeInStartmenu" value="1" {$placeInStartmenu}>
 {/render}
       {t}Place entry in members startmenu{/t}
       <br>
-{render acl=$gosaApplicationFlagsACL}
-      <input type=checkbox name="place_on_kicker" value="1" {$place_on_kicker}>
+{render acl=$placeOnKickerACL}
+      <input type=checkbox name="placeOnKicker" value="1" {$placeOnKicker}>
 {/render}
       {t}Place entry in members launch bar{/t}
     </td>
   </tr>
 </table>
 
-<p class="plugbottom" style="height:4px; margin-bottom:0px;">&nbsp;</p>
+<hr>
 
-<table width="99%" summary="">
+<table width="99%" summary="{t}Logon script{/t}">
        <tr>
                <td>
-                       <h2><img src="images/fai_script.png" alt="{t}Script{/t}" align="middle">&nbsp;{t}Script{/t}</h2>
+                       <h3>{t}Script{/t}</h3>
 {render acl=$gotoLogonScriptACL}
                        <textarea name="gotoLogonScript" style='width:99%;height:220px;'>{$gotoLogonScript}</textarea>
 {/render}
                        <input type="file" name="ScriptFile" value="{t}Import{/t}">
 {/render}
 {render acl=$gotoLogonScriptACL}
-                       <input type="submit" name="upLoad" value="{t}Upload{/t}">
+                       <button type='submit' name='upLoad'>{t}Upload{/t}</button>
+
 {/render}
-                       <input type='image' name='downloadScript'  src='images/save.png' title='{t}Download{/t}' class='center'>
+                       {image path="images/save.png" action="downloadScript" title="{t}Download{/t}"}
+
                </td>
        </tr>
 </table>