Commit a35d61ea authored by tbrehm's avatar tbrehm

Fixed a php notice in DNS SOA Edit and added missing english translations to...

Fixed a php notice in DNS SOA Edit and added missing english translations to the support message list form.
parent da82550f
......@@ -388,7 +388,7 @@ class tform {
$out .= "<option value='$k'$selected>$v</option>\r\n";
}
}
$new_record[$key] = $out;
if(isset($out)) $new_record[$key] = $out;
break;
case 'MULTIPLE':
if(is_array($field['value'])) {
......
......@@ -87,7 +87,7 @@ class page_action extends tform_actions {
if($_SESSION["s"]["user"]["typ"] == 'admin') $client_select .= "<option value='0'></option>";
if(is_array($clients)) {
foreach( $clients as $client) {
$selected = ($client["groupid"] == $this->dataRecord["sys_groupid"])?'SELECTED':'';
$selected = ($client["groupid"] == @$this->dataRecord["sys_groupid"])?'SELECTED':'';
$client_select .= "<option value='$client[groupid]' $selected>$client[name]</option>\r\n";
}
}
......
<?php
$wb['list_head_txt'] = 'support_message';
$wb['sender_id_txt'] = 'sender_id';
$wb['subject_txt'] = 'subject';
$wb['page_txt'] = 'Page';
$wb['page_of_txt'] = 'of';
$wb['page_next_txt'] = 'Next';
$wb['page_back_txt'] = 'Back';
$wb['delete_txt'] = 'Delete';
$wb['filter_txt'] = 'Filter';
<?php
$wb['list_head_txt'] = 'Support Messages';
$wb['sender_id_txt'] = 'Sender';
$wb['subject_txt'] = 'Subject';
$wb['page_txt'] = 'Page';
$wb['page_of_txt'] = 'of';
$wb['page_next_txt'] = 'Next';
$wb['page_back_txt'] = 'Back';
$wb['delete_txt'] = 'Delete';
$wb['filter_txt'] = 'Filter';
$wb["add_new_record_txt"] = 'Create new support message';
?>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment