Code

Made apps compatible to snapshots
[gosa.git] / plugins / admin / applications / generic.tpl
index 92f8cbaa50fcc600d26b9f58134aaa748d4c78d8..7c4128216e8aa8a088279f8d19eaf7928100fed0 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>
@@ -22,7 +22,7 @@
     <tr>
      <td><LABEL for="description">{t}Description{/t}</LABEL></td>
      <td>
-      <input id="description" name="description" size=35 maxlength=60 {$descriptionACL} value="{$description}">
+      <input id="description" name="description" size=35 maxlength=80 {$descriptionACL} value="{$description}">
      </td>
     </tr>
 
     <tr>
       <td><LABEL for="base">{t}Base{/t}{$must}</LABEL></td>
       <td>
-       <select size="1" id="base" name="base" title="{t}Choose subtree to place application in{/t}">
+       <select size="1" id="base" name="base" title="{t}Choose subtree to place application in{/t}" 
+        {if $isReleaseApplikation} disabled {/if} {$baseACL}>
         {html_options options=$bases selected=$base_select}
        </select>
+               {if $baseACL == "" && !$isReleaseApplikation}
+            <input type="image" name="chooseBase" src="images/folder.png" class="center" title="{t}Select a base{/t}">
+        {else}
+            <img src="images/folder_gray.png" class="center" title="{t}Select a base{/t}">
+        {/if}
+
       </td>
      </tr>
    </table>
    &nbsp;
   </td>
   <td style="vertical-align:top;">
-   <table>
-    <tr>
-     <td><LABEL for="gosaApplicationCategory">{t}Category{/t}</LABEL></td>
-     <td>
-      <input id="gosaApplicationCategory" name="gosaApplicationCategory" size=35 maxlength=60 {$gosaApplicationCategoryACL} value="{$gosaApplicationCategory}">
-     </td>
-    </tr>
-    <tr><td colspan=2><div style="height:15px;"></div></td></tr>
+   <table summary="">
     <tr>
     <td>
     <LABEL for="picture_file">{t}Icon{/t}</LABEL>
 
 <p class="plugbottom" style="height:4px; margin-bottom:0px;">&nbsp;</p>
 
-<h2><img src="images/lamp.png" alt="{t}Options{/t}" align="center">&nbsp;{t}Options{/t}</h2>
+<h2><img src="images/lamp.png" alt="{t}Options{/t}" align="middle">&nbsp;{t}Options{/t}</h2>
 <table summary="" style="width:100%;">
   <tr>
-    <td style="width:50%;border-right:1px solid #B0B0B0">
+    <td style="width:50%;border-right:1px solid #B0B0B0; vertical-align:top">
       <input type=checkbox name="exec_for_groupmembers" value="1" {$gosaApplicationFlagsACL} {$exec_for_groupmembers}>{t}Only executable for members{/t}
       <br>
       <input type=checkbox name="overwrite_config" value="1" {$gosaApplicationFlagsACL} {$overwrite_config}>{t}Replace user configuration on startup{/t}
       <br>
       <input type=checkbox name="place_in_startmenu" value="1" {$gosaApplicationFlagsACL} {$place_in_startmenu}>
       {t}Place entry in members startmenu{/t}
+      <br>
+      <input type=checkbox name="place_on_kicker" value="1" {$gosaApplicationFlagsACL} {$place_on_kicker}>
+      {t}Place entry in members launch bar{/t}
     </td>
   </tr>
 </table>
 
 <p class="plugbottom" style="height:4px; margin-bottom:0px;">&nbsp;</p>
 
-<table width="99%">
+<table width="99%" summary="">
        <tr>
                <td>
-                       <h2><img src="images/fai_script.png" alt="{t}Script{/t}" align="center">&nbsp;{t}Script{/t}</h2>
+                       <h2><img src="images/fai_script.png" alt="{t}Script{/t}" align="middle">&nbsp;{t}Script{/t}</h2>
                        <textarea name="gotoLogonScript" style='width:99%;height:220px;'>{$gotoLogonScript}</textarea>
                        <input type="file" name="ScriptFile" value="{t}Import{/t}">
                        <input type="submit" name="upLoad" value="{t}Upload{/t}">