Code

Added group application edit template:
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 11 Feb 2008 10:31:27 +0000 (10:31 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 11 Feb 2008 10:31:27 +0000 (10:31 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8819 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/admin/groups/apps/edit_entry.tpl [new file with mode: 0644]

diff --git a/gosa-plugins/goto/admin/groups/apps/edit_entry.tpl b/gosa-plugins/goto/admin/groups/apps/edit_entry.tpl
new file mode 100644 (file)
index 0000000..bca9030
--- /dev/null
@@ -0,0 +1,70 @@
+
+{if $type == "FOLDER"}
+<h2>{$entry.NAME}</h2>
+
+<table>
+       <tr>
+               <td>
+                       {t}Folder image{/t}
+               </td>
+               <td>
+                       {if $image_set}
+                               <img src="getbin.php?{$rand}">
+                       {else}
+                               <i>{t}None{/t}</i>
+                       {/if}
+               </td>
+       </tr>
+       <tr>
+               <td colspan=2>
+                       &nbsp;
+               </td>
+       </tr>
+       <tr>
+               <td>{t}Upload image{/t}
+               </td>
+               <td>
+                       <input type="FILE" name="folder_image">
+                       <input type='submit' name='folder_image_upload' value="{t}Upload{/t}">
+               </td>
+       </tr>
+       <tr>
+               <td>{t}Reset image{/t}</td>
+               <td><input type='submit' name='edit_reset_image' value='{t}Reset{/t}'></td>
+       </tr>
+</table>
+<br>
+{/if}
+
+{if $type == "ENTRY"}
+<h2>{t}Application settings{/t}</h2>
+<table>
+       <tr>
+               <td>{t}Name{/t}</td>
+               <td>{$entry.NAME}</td>
+       </tr>
+       <tr>
+               <td colspan="2">
+                       &nbsp;
+               </td>
+       </tr>
+       <tr>
+               <td colspan="2">
+                       <b>{t}Application options{/t}</b>
+               </td>
+       </tr>
+{foreach from=$paras item=item key=key}
+       <tr>
+               <td>{$key}&nbsp;</td>
+               <td><input style='width:200px;' type='text' name="parameter_{$key}" value="{$item}"></td>
+       </tr>
+{/foreach}
+</table>
+{/if}
+<p class="seperator">
+</p>
+<div style="width:100%; text-align:right; padding:3px;">
+       <input type="submit" name="app_entry_save" value="{t}Save{/t}">
+       &nbsp;
+       <input type="submit" name="app_entry_cancel" value="{t}Cancel{/t}">
+</div>