Skip to content

Commit edca9d6

Browse files
author
cfoe
committed
fixed display of addon templates FS#1464
1 parent dc2dca2 commit edca9d6

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

interface/web/client/client_edit.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ function onShowEnd() {
117117
$text = '';
118118
foreach($tplAdd as $item){
119119
if (trim($item) != ''){
120-
if ($text != '') $text .= '<br />';
121-
$text .= $tpl[$item];
120+
if ($text != '') $text .= '';
121+
$text .= '<li>' . $tpl[$item]. '</li>';
122122
}
123123
}
124124

interface/web/client/lib/lang/de_client.lng

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ $wb['username_error_regex'] = 'Der Benutzername enthält ungültige Zeichen.';
8383
$wb['password_strength_txt'] = 'Passwortkomplexität';
8484
$wb['template_master_txt'] = 'Mastervorlage';
8585
$wb['template_additional_txt'] = 'Add-Ons';
86+
$wb["active_template_additional_txt"] = 'Aktive Add-Ons';
8687
$wb['add_additional_template_txt'] = 'Zusätzliches Template hinzufügen';
8788
$wb['delete_additional_template_txt'] = 'Zusätzliches Template löschen';
8889
$wb['ssh_chroot_txt'] = 'SSH-Chroot Optionen';

interface/web/client/lib/lang/en_client.lng

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ $wb["limit_cron_error_frequency"] = 'The cron frequency limit must be a number.'
9494
$wb["username_error_regex"] = 'The Username contains invalid chracaters.';
9595
$wb["template_master_txt"] = 'Master template';
9696
$wb["template_additional_txt"] = 'Addon template';
97+
$wb["active_template_additional_txt"] = 'Active Addons';
9798
$wb["add_additional_template_txt"] = 'Add additional template';
9899
$wb["delete_additional_template_txt"] = 'Delete additional template';
99100
$wb["ssh_chroot_txt"] = 'SSH-Chroot Options';

interface/web/client/templates/client_edit_limits.htm

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,14 @@ <h2><tmpl_var name="list_head_txt"></h2>
2828
<select name="tpl_add_select" id="tpl_add_select" class="selectInput">
2929
{tmpl_var name='tpl_add_select'}
3030
</select>
31-
<div id="template_additional_list"><br /><br />{tmpl_var name='template_additional_list'}</div>
31+
</div>
32+
<div class="ctrlHolder">
33+
<p class="label">{tmpl_var name='active_template_additional_txt'}</p>
34+
<div id="template_additional_list" class="multiField">
35+
<ul>
36+
{tmpl_var name='template_additional_list'}
37+
</ul>
38+
</div>
3239
<input type="hidden" id="template_additional" name="template_additional" value="{tmpl_var name='template_additional'}">
3340
</div>
3441
<div class="ctrlHolder">

0 commit comments

Comments
 (0)