Skip to content
Snippets Groups Projects
Commit 795bb10b authored by Till Brehm's avatar Till Brehm
Browse files

Merge branch 'stable-3.1' of git.ispconfig.org:ispconfig/ispconfig3 into stable-3.1

parents eab0cf6a 6028e469
No related branches found
No related tags found
No related merge requests found
...@@ -43,7 +43,8 @@ $liste['item'][] = array( 'field' => 'sender_id', ...@@ -43,7 +43,8 @@ $liste['item'][] = array( 'field' => 'sender_id',
'suffix' => '', 'suffix' => '',
'width' => '', 'width' => '',
'datasource'=> array ( 'type' => 'SQL', 'datasource'=> array ( 'type' => 'SQL',
'querystring' => 'SELECT userid,username FROM sys_user WHERE {AUTHSQL} ORDER BY username', // 'querystring' => 'SELECT userid,username FROM sys_user WHERE {AUTHSQL} ORDER BY username',
'querystring' => 'SELECT userid,username FROM sys_user ORDER BY username',
'keyfield' => 'userid', 'keyfield' => 'userid',
'valuefield' => 'username' 'valuefield' => 'username'
), ),
......
...@@ -73,7 +73,7 @@ class page_action extends tform_actions { ...@@ -73,7 +73,7 @@ class page_action extends tform_actions {
} }
$confirmation_message .= "\n\n".$app->tform->lng('message_txt').": \"".$this->dataRecord['message']."\""; $confirmation_message .= "\n\n".$app->tform->lng('message_txt').": \"".$this->dataRecord['message']."\"";
$confirmation_message .= "\n\nISPConfig: ".($_SERVER['HTTPS'] == 'on' ? 'https://' : 'http://').$_SERVER['HTTP_HOST']; $confirmation_message .= "\n\nISPConfig: ".($_SERVER['HTTPS'] == 'on' ? 'https://' : 'http://').$_SERVER['HTTP_HOST'];
$app->functions->mail($sender_email, $subject, $confirmation_message, $recipient_email); if ($this->dataRecord['subject'] != '' && $this->dataRecord['message'] != '') $app->functions->mail($sender_email, $subject, $confirmation_message, $recipient_email);
} else { } else {
$app->tform->errorMessage .= $app->tform->lng("recipient_or_sender_email_address_not_valid_txt")."<br />"; $app->tform->errorMessage .= $app->tform->lng("recipient_or_sender_email_address_not_valid_txt")."<br />";
} }
......
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