diff --git a/gosa-core/plugins/admin/users/templatize.tpl b/gosa-core/plugins/admin/users/templatize.tpl
index 3288ebf2bb9763d8eb9cc31c6c82c8520f358209..8e38f9fe9dd21d61e1bdf5808466f457e2ff93bf 100644 (file)
<div style="font-size:18px;">
- {t}Applying a template to users{/t}
+ {t}Applying a template{/t}
</div>
<p>
</p>
<p class="seperator"> </p>
-
<br>
+{if $templates}
<table summary="" style="vertical-align:top; text-align:left;" cellpadding=4 border=0>
<tr>
<td><b><LABEL for="template">{t}Template{/t}</LABEL></b></td>
<td>
<select size="1" name="template" id="template">
- {html_options options=$templates selected=$template}
+ {html_options options=$templates}
</select>
</td>
</tr>
<br>
<p class="plugbottom">
- <input type=submit name="template_continue" value="{msgPool type=applyButton}">
+ <input type=submit name="templatize_continue" value="{msgPool type=applyButton}">
<input type=submit name="edit_cancel" value="{msgPool type=cancelButton}">
</p>
+{else}
+
+{t}No templates available!{/t}
+
+<p class="plugbottom">
+ <input type=submit name="edit_cancel" value="{msgPool type=cancelButton}">
+</p>
+{/if}
<!-- Place cursor -->