summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 64bd7c8)
raw | patch | inline | side by side (parent: 64bd7c8)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 8 Jul 2010 15:03:31 +0000 (15:03 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 8 Jul 2010 15:03:31 +0000 (15:03 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18968 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/fai/admin/fai/faiGroupHandle.tpl | patch | blob | history |
diff --git a/gosa-plugins/fai/admin/fai/faiGroupHandle.tpl b/gosa-plugins/fai/admin/fai/faiGroupHandle.tpl
index 41ca64036a1baab76f351d40643ed5b339517c29..2617e2217e27211b96b5d84efd7c489982f5e799 100644 (file)
-
{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}"}
- </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}"}
- </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}"}
- </td>
- <td style='width:150px;'>
- {$types.$key.NAME}
- </td>
- <td><i>(
- {$item.description.0})</i>
- </td>
- </tr>{/foreach}
- </table>
-
+ <b>{t}Please select the objects you want to remove:{/t}</b>
+{elseif $mode == "edit"}
+ <b>{t}Select the object you want to edit:{/t}</b>
+{elseif $mode == "copy"}
+ <b>{t}Select the object you want to copy:{/t}</b>
{/if}
+
+<hr>
+
+<table summary="{t}FAI group selection{/t}">
+ {foreach from=$FAI_group item=item key=key}
+ <tr>
+ <td>
+ {if $item.freezed}
+ {image path="images/lists/locked.png"}
+ {else}
+
+ {if $mode == "remove" || $mode == "copy"}
+ <input id='{$mode}_selected_{$key}' type='checkbox' name='{$mode}_{$key}' {if $item.selected} checked {/if}>
+ {elseif $mode == "edit"}
+ <input id='{$mode}_selected_{$key}' type='radio' name='{$mode}_selected'
+ value='{$key}' {if $item.selected} checked {/if}>
+ {/if}
+
+ {/if}
+ </td>
+ <td>
+ {image path="{$types.$key.IMG}" title="{$types.$key.NAME}"}
+ </td>
+ <td style='width:150px;'>
+ <LABEL for='{$mode}_selected_{$key}'>
+ {$types.$key.NAME}
+ </LABEL>
+ </td>
+ <td style='width:80px;'>
+ {if $item.freezed}
+ <LABEL for='{$mode}_selected_{$key}'>
+ <i>({t}Freezed{/t})</i>
+ </LABEL>
+ {/if}
+ </td>
+ <td>
+ <LABEL for='{$mode}_selected_{$key}'>
+ <i>({$item.description.0})</i>
+ </LABEL>
+ </td>
+ </tr>
+ {/foreach}
+</table>
+
+
<br>
<input type='hidden' value='faiGroupHandle' name='faiGroupHandle'>
<hr>