Skip to content

Commit 7f3e0a7

Browse files
author
Marius Burkard
committed
Merge branch 'patch-misc' into 'develop'
Patch misc Closes #4431 See merge request ispconfig/ispconfig3!1252
2 parents 333d13a + 39fb8b0 commit 7f3e0a7

File tree

7 files changed

+19
-21
lines changed

7 files changed

+19
-21
lines changed

interface/lib/classes/tform_base.inc.php

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,13 @@ function getHTML($record, $tab, $action = 'NEW') {
560560
if(trim($tvl) == trim($k)) $checked = ' CHECKED';
561561
}
562562
// $out .= "<label for=\"".$key."[]\" class=\"inlineLabel\"><input name=\"".$key."[]\" id=\"".$key."[]\" value=\"$k\" type=\"checkbox\" $checked /> $v</label>\r\n";
563-
$out .= "<label for=\"".$key.$elementNo."\" class=\"inlineLabel\"><input name=\"".$key."[]\" id=\"".$key.$elementNo."\" value=\"$k\" type=\"checkbox\" $checked /> $v</label><br/>\r\n";
563+
$out .= "<label for=\"".$key.$elementNo."\" class=\"inlineLabel\"><input name=\"".$key."[]\" id=\"".$key.$elementNo."\" value=\"$k\" type=\"checkbox\" $checked /> $v</label>";
564+
if (isset($field['render_inline']) && $field['render_inline'] == 'n') {
565+
$out .= "<br/>\r\n";
566+
}
567+
else {
568+
$out .= "&nbsp;\r\n";
569+
}
564570
$elementNo++;
565571
}
566572
}
@@ -697,7 +703,13 @@ function getHTML($record, $tab, $action = 'NEW') {
697703
if(trim($tvl) == trim($k)) $checked = ' CHECKED';
698704
}
699705
// $out .= "<label for=\"".$key."[]\" class=\"inlineLabel\"><input name=\"".$key."[]\" id=\"".$key."[]\" value=\"$k\" type=\"checkbox\" $checked /> $v</label>\r\n";
700-
$out .= "<label for=\"".$key.$elementNo."\" class=\"inlineLabel\"><input name=\"".$key."[]\" id=\"".$key.$elementNo."\" value=\"$k\" type=\"checkbox\" $checked /> $v</label> &nbsp;\r\n";
706+
$out .= "<label for=\"".$key.$elementNo."\" class=\"inlineLabel\"><input name=\"".$key."[]\" id=\"".$key.$elementNo."\" value=\"$k\" type=\"checkbox\" $checked /> $v</label>";
707+
if (isset($field['render_inline']) && $field['render_inline'] == 'n') {
708+
$out .= "<br/>\r\n";
709+
}
710+
else {
711+
$out .= "&nbsp;\r\n";
712+
}
701713
$elementNo++;
702714
}
703715
}

interface/web/admin/form/remote_user.tform.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@
146146
'separator' => ';',
147147
'width' => '',
148148
'maxlength' => '',
149+
'render_inline' => 'n',
149150
'rows' => '5',
150151
'cols' => '30'
151152
)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ $wb['gender_m_txt'] = 'Mr.';
154154
$wb['gender_f_txt'] = 'Ms.';
155155
$wb['added_by_txt'] = 'Added by';
156156
$wb['added_date_txt'] = 'Added date';
157-
$wb['parent_client_id_txt'] = 'Client of reseller';
157+
$wb['parent_client_id_txt'] = 'Client van reseller';
158158
$wb['none_txt'] = 'none';
159159
$wb['email_error_empty'] = 'Email is empty';
160160
$wb['xmpp_limits_txt'] = 'XMPP Limits';

interface/web/dns/templates/dns_a_list.htm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
<td><input class="form-control" type="text" name="search_aux" value="{tmpl_var name='search_aux'}" /></td>
7474
<td><input class="form-control" type="text" name="search_ttl" value="{tmpl_var name='search_ttl'}" /></td>
7575
<td class="text-right">
76-
<button type="button" class="btn btn-default formbutton-default formbutton-narrow" name="Filter" id="Filter" value="{tmpl_var name="filter_txt"}" onclick="return ISPConfig.changeTab('dns_records','dns/dns_soa_edit.php');"><span class="icon icon-filter"></span></button>
76+
<button type="button" class="btn btn-default formbutton-default formbutton-narrow" name="Filter" id="Filter" value="{tmpl_var name="filter_txt"}" onclick="return ISPConfig.changeTab('dns_records','dns/dns_soa_edit.php');" data-form-action="dns/dns_a_list.php"><span class="icon icon-filter"></span></button>
7777
</td>
7878
</tr>
7979
</thead>

interface/web/themes/default/templates/main.tpl.htm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ <h4 class="modal-title">{tmpl_var name="datalog_changes_txt"}</h4>
102102
<div class='clear'>
103103
<!-- content -->
104104
<div id='content' class='right'>
105+
<noscript>This page needs JavaScript to be enabled.</noscript>
105106
<form method="post" action="" id="pageForm" name="pageForm" enctype="multipart/form-data" class='form-horizontal' role='form'>
106107
<div id="pageContent" data-startpage="{tmpl_var name="startpage"}"><!-- AJAX CONTENT --></div>
107108
</form>

interface/web/tools/templates/index.htm

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,3 @@ <h1><tmpl_var name="page_head_txt"></h1>
33
</div>
44
<p><tmpl_var name="page_desc_txt"></p>
55

6-
<div class="panel panel_tools_interface">
7-
8-
<div class="pnl_formsarea">
9-
10-
<h2 class="frmTextHead"></h2><p>&nbsp;</p>
11-
12-
13-
14-
<input type="hidden" name="id" value="{tmpl_var name='id'}">
15-
16-
<div class="clear"><div class="right">
17-
&nbsp;
18-
</div></div>
19-
</div>
20-
21-
</div>

server/lib/classes/monitor_tools.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ public function monitorServices() {
460460
/* Monitor MySQL Server */
461461
$data['mysqlserver'] = -1; // unknown - not needed
462462
if ($services['db_server'] == 1) {
463-
if ($this->_checkTcp('localhost', 3306)) {
463+
if ($this->_checkTcp($conf['db_host'], $conf['db_port'])) {
464464
$data['mysqlserver'] = 1;
465465
} else {
466466
$data['mysqlserver'] = 0;

0 commit comments

Comments
 (0)