diff --git a/gosa-core/plugins/admin/users/templatize.tpl b/gosa-core/plugins/admin/users/templatize.tpl
index 3288ebf2bb9763d8eb9cc31c6c82c8520f358209..3914e732285d1546df8a4721edfb5170ea79adc9 100644 (file)
<div style="font-size:18px;">
<div style="font-size:18px;">
- {t}Applying a template to users{/t}
+ {t}Applying a template{/t}
</div>
<p>
{t}Applying a template to several users will replace all user attributes defined in the template.{/t}
</p>
</div>
<p>
{t}Applying a template to several users will replace all user attributes defined in the template.{/t}
</p>
-<p class="seperator"> </p>
-
+<hr>
<br>
<br>
-<table summary="" style="vertical-align:top; text-align:left;" cellpadding=4 border=0>
+{if $templates}
+<table summary="{t}Apply user template{/t}" cellpadding=4 border=0>
<tr>
<td><b><LABEL for="template">{t}Template{/t}</LABEL></b></td>
<td>
<select size="1" name="template" id="template">
<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>
</table>
</select>
</td>
</tr>
</table>
-<br>
-<p class="plugbottom">
- <input type=submit name="template_continue" value="{msgPool type=applyButton}">
-
- <input type=submit name="edit_cancel" value="{msgPool type=cancelButton}">
-</p>
+<hr>
+<div class="plugin-actions">
+ <button type='submit' name='templatize_continue'>{msgPool type=applyButton}</button>
+ <button type='submit' name='edit_cancel'>{msgPool type=cancelButton}</button>
+</div>
+
+{else}
+
+ {t}No templates available!{/t}
+
+ <hr>
+ <div class="plugin-actions">
+ <button type='submit' name='edit_cancel'>{msgPool type=cancelButton}</button>
+ </div>
+{/if}
<!-- Place cursor -->
<!-- Place cursor -->