Skip to content
Snippets Groups Projects
Commit edca9d62 authored by cfoe's avatar cfoe
Browse files

fixed display of addon templates FS#1464

parent dc2dca2d
No related branches found
No related tags found
No related merge requests found
......@@ -117,8 +117,8 @@ class page_action extends tform_actions {
$text = '';
foreach($tplAdd as $item){
if (trim($item) != ''){
if ($text != '') $text .= '<br />';
$text .= $tpl[$item];
if ($text != '') $text .= '';
$text .= '<li>' . $tpl[$item]. '</li>';
}
}
......
......@@ -83,6 +83,7 @@ $wb['username_error_regex'] = 'Der Benutzername enthält ungültige Zeichen.';
$wb['password_strength_txt'] = 'Passwortkomplexität';
$wb['template_master_txt'] = 'Mastervorlage';
$wb['template_additional_txt'] = 'Add-Ons';
$wb["active_template_additional_txt"] = 'Aktive Add-Ons';
$wb['add_additional_template_txt'] = 'Zusätzliches Template hinzufügen';
$wb['delete_additional_template_txt'] = 'Zusätzliches Template löschen';
$wb['ssh_chroot_txt'] = 'SSH-Chroot Optionen';
......
......@@ -94,6 +94,7 @@ $wb["limit_cron_error_frequency"] = 'The cron frequency limit must be a number.'
$wb["username_error_regex"] = 'The Username contains invalid chracaters.';
$wb["template_master_txt"] = 'Master template';
$wb["template_additional_txt"] = 'Addon template';
$wb["active_template_additional_txt"] = 'Active Addons';
$wb["add_additional_template_txt"] = 'Add additional template';
$wb["delete_additional_template_txt"] = 'Delete additional template';
$wb["ssh_chroot_txt"] = 'SSH-Chroot Options';
......
......@@ -28,7 +28,14 @@
<select name="tpl_add_select" id="tpl_add_select" class="selectInput">
{tmpl_var name='tpl_add_select'}
</select>
<div id="template_additional_list"><br /><br />{tmpl_var name='template_additional_list'}</div>
</div>
<div class="ctrlHolder">
<p class="label">{tmpl_var name='active_template_additional_txt'}</p>
<div id="template_additional_list" class="multiField">
<ul>
{tmpl_var name='template_additional_list'}
</ul>
</div>
<input type="hidden" id="template_additional" name="template_additional" value="{tmpl_var name='template_additional'}">
</div>
<div class="ctrlHolder">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment