Code

Completed lvm partition changes
[gosa.git] / gosa-plugins / fai / admin / fai / faiGroupHandle.tpl
index 3ebd9587847e2ab08cde89615eff1a85390e0a44..eb0ad7d71c68bd075999cfa4ea708c7989e3bc8c 100644 (file)
@@ -1,36 +1,99 @@
 
 
-
-
-<table>
-{foreach from=$FAI_group item=item key=key}
-       <tr>
-               <td>
-                       {if $mode == "remove"}
-                               <input type='checkbox' name='{$mode}_{$key}'
-                               {if $item.selected} checked {/if}>
-                       {elseif $mode == "edit"}
-                   <input type='radio' name='{$mode}_selected' value='{$key}'
-                    {if $item.selected} checked {/if}>
-                       {/if}
-               </td>
-               <td>
-                       <img src='{$types.$key.IMG}' alt='{$types.$key.KZL}' title='{$types.$key.NAME}'
-                               class='center'>
-               </td>
-               <td>{$types.$key.NAME}</td>
-               <td>{$item.description}
-               </td>
-       </tr>
-{/foreach}
-</table>
+{if $mode == "remove"}
+ <b>{t}Please select the objects you want to remove:{/t}</b>
+ <br>
+ <br>
+ <table summary="{t}FAI object removal{/t}">{foreach from=$FAI_group item=item key=key}
+  <tr>
+   <td>
+    
+    {if $item.freezed}
+     {image path="images/lists/locked.png"}
+     {else}
+     
+     
+     <input type='checkbox' name='{$mode}_{$key}'                      {if $item.selected} checked {/if}>
+     
+    {/if}
+   </td>
+   <td>
+    {image path="
+    {$types.$key.IMG}" title="
+    {$types.$key.NAME}"}class='center'>
+   </td>
+   <td style='width:150px;'>
+    {$types.$key.NAME}
+   </td>
+   <td style='width:80px;'>
+    
+    {if $item.freezed}<i>({t}Freezed{/t})</i>
+     
+    {/if}
+   </td>
+   <td><i>(
+    {$item.description.0})</i>
+   </td>
+  </tr>{/foreach}
+ </table>
+ {elseif $mode == "edit"}
+ <b>{t}Select the object you want to edit:{/t}</b>
+ <br>
+ <br>
+ <table summary="{t}FAI group edit{/t}">{foreach from=$FAI_group item=item key=key}
+  <tr>
+   <td>
+    
+    
+    <input type='radio' name='{$mode}_selected' value='{$key}'               {if $item.selected} checked {/if}>
+   </td>
+   <td>
+    {image path="
+    {$types.$key.IMG}" title="
+    {$types.$key.NAME}"}class='center'>
+   </td>
+   <td style='width:150px;'>
+    {$types.$key.NAME}
+   </td>
+   <td><i>(
+    {$item.description.0})</i>
+   </td>
+  </tr>{/foreach}
+ </table>
+ {elseif $mode == "copy"}
+ <b>{t}Select the object you want to copy:{/t}</b>
+ <br>
+ <br>
+ <table summary="{t}FAI group copy{/t}">{foreach from=$FAI_group item=item key=key}
+  <tr>
+   <td>
+    
+    
+    <input type='checkbox' name='{$mode}_{$key}'                       {if $item.selected} checked {/if}>
+   </td>
+   <td>
+    {image path="
+    {$types.$key.IMG}" title="
+    {$types.$key.NAME}"}class='center'>
+   </td>
+   <td style='width:150px;'>
+    {$types.$key.NAME}
+   </td>
+   <td><i>(
+    {$item.description.0})</i>
+   </td>
+  </tr>{/foreach}
+ </table>
+{/if}
+<br>
+<br>
 <input type='hidden' value='faiGroupHandle' name='faiGroupHandle'>
-
-<input type='submit'>
-
-<p class='seperator'></div>
-<div style='text-align:right; padding:5px'>
-       <input type='submit' value='{msgPool type=applyButton}' name='faiGroupHandle_apply'>
-       &nbsp;
-       <input type='submit' value='{msgPool type=cancelButton}' name='faiGroupHandle_cancel'>
+<p class='seperator'>
 </div>
+<div style='text-align:right; padding:5px'>
+ <button type='submit' name='faiGroupHandle_apply'>
+ {msgPool type=applyButton}</button>&nbsp;
+ <button type='submit' name='faiGroupHandle_cancel'>
+ {msgPool type=cancelButton}</button>
+</div>
\ No newline at end of file