Skip to content
Snippets Groups Projects
Commit 6028e469 authored by Marius Burkard's avatar Marius Burkard
Browse files

Merge branch 'master' into 'stable-3.1'

Master



See merge request !347
parents 3b8b9e3e 08397046
No related branches found
No related tags found
1 merge request!347Master
...@@ -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