Stud.IP  2.4 Revision 48548
 All Data Structures Namespaces Files Functions Variables Groups Pages
sms_send.php File Reference

Namespaces

namespace  message

Variables

 $sms_data = & $_SESSION['sms_data']
 $sms_show = & $_SESSION['sms_show']
 if ($GLOBALS["ENABLE_EMAIL_ATTACHMENTS"])
 $msging = new messaging
 $my_messaging_settings = UserConfig::get($user->id)->MESSAGING_SETTINGS
 $my_messaging_hash = md5(serialize($my_messaging_settings))
 $my_messaging_observer
if(Request::option('cmd')== 'new') $messagesubject = Request::get('messagesubject')
 $message = Request::get('message')
 $quote = Request::option('quote')
 $signature = Request::get('signature')
 $forward = Request::option('forward')
if(Request::submitted('cmd_insert'))
if(Request::submitted('cancel'))
if($redirect_to) if(Request::option('answer_to')&&Request::isGet()) 
$rec_uname = Request::username('rec_uname')
if(isset($rec_uname)) if(Request::option('msgid'))
if(Request::option('sp_id')&&$perm->
have_perm('root')) if(Request::option('sd_id')&&$perm->
have_perm('root')) if(Request::option('prof_id')&&Request::option('deg_id')&&$perm->
have_perm('root')) if(Request::option('group_id')) 
$rec_unames = Request::usernameArray('rec_uname') ?: array_filter(array(Request::username('rec_uname')))
 if ($GLOBALS["ENABLE_EMAIL_ATTACHMENTS"]==true)
 $txt = array()
 $txt ['001'] = _("aktuelle EmpfängerInnen")
 $txt ['002'] = _("mögliche EmpfängerInnen")
 $txt ['attachment'] = _("Dateianhang")
 $txt ['003'] = _("Signatur")
 $txt ['004'] = _("Vorschau")
 $txt ['005'] = _("Nachricht")
 $txt ['006'] = _("Nachricht speichern")
 $txt ['007'] = _("als Email senden")
 $txt ['008'] = _("Lesebestätigung")
if($quote) else if(!Request::get('messagesubject')&&Request::option('answer_to'))
if($GLOBALS["MESSAGING_FORWARD_AS_EMAIL"])
if($GLOBALS["ENABLE_EMAIL_ATTACHMENTS"]==true) 
$emailforwardinfo = $txt['001']show_precform()$txt['002']show_addrform() _('Optionen') show_msgsaveoptionsform()show_msgreadconfirmoptionsform()$txt['005']show_msgform()$txt['003']show_sigform()$txt['004']show_previewform() ''
if($GLOBALS["MESSAGING_FORWARD_AS_EMAIL"]==TRUE) $smsinfos = ""
 $help_url_smil = format_help_url("Basis.VerschiedenesSmileys")
 $help_url_format = format_help_url("Basis.VerschiedenesFormat")
 $infobox

Variable Documentation

if ($quote) else if (!Request::get('messagesubject')&&Request::option('answer_to')) if ($GLOBALS["MESSAGING_FORWARD_AS_EMAIL"]) if ($GLOBALS["ENABLE_EMAIL_ATTACHMENTS"]==true) $emailforwardinfo = $txt['001']show_precform()$txt['002']show_addrform() _('Optionen') show_msgsaveoptionsform()show_msgreadconfirmoptionsform()$txt['005']show_msgform()$txt['003']show_sigform()$txt['004']show_previewform() ''
$forward = Request::option('forward')
$help_url_format = format_help_url("Basis.VerschiedenesFormat")
$help_url_smil = format_help_url("Basis.VerschiedenesSmileys")
Initial value:
array(
array(
"kategorie" => _("Smilies & Textformatierung:"),
"eintrag" => array(
array(
"icon" => "icons/16/black/smiley.png",
"text" => sprintf(_("%s Liste mit allen Smilies %s Hilfe zu Smilies %s Hilfe zur Textformatierung %s"), "<a href=\"" . URLHelper::getURL('dispatch.php/smileys') . "\" target=\"_blank\">", "</a><br><a href=\"".$help_url_smil."\" target=\"_blank\">", "</a><br><a href=\"".$help_url_format."\" target=\"_blank\">", "</a>")
)
)
)
)
if (Request::option('cmd')== 'new') $messagesubject = Request::get('messagesubject')
$msging = new messaging
$my_messaging_hash = md5(serialize($my_messaging_settings))
$my_messaging_observer
Initial value:
if ($my_messaging_hash != md5(serialize($my_messaging_settings))) {
UserConfig::get($user->id)->store('MESSAGING_SETTINGS', $my_messaging_settings);
}
}
$my_messaging_settings = UserConfig::get($user->id)->MESSAGING_SETTINGS
$quote = Request::option('quote')
if (Request::submitted('cmd_insert')) if (Request::submitted('cancel')) if ($redirect_to) if (Request::option('answer_to')&&Request::isGet()) $rec_uname = Request::username('rec_uname')
if (isset($rec_uname)) if (Request::option('msgid')) if (Request::option('sp_id')&&$perm->have_perm('root')) if (Request::option('sd_id')&&$perm->have_perm('root')) if (Request::option('prof_id')&&Request::option('deg_id')&&$perm->have_perm('root')) if (Request::option('group_id')) $rec_unames = Request::usernameArray('rec_uname') ?: array_filter(array(Request::username('rec_uname')))
$signature = Request::get('signature')
$sms_data = & $_SESSION['sms_data']
$sms_show = & $_SESSION['sms_show']
$smsinfos = ""
$txt = array()
$txt['001'] = _("aktuelle Empf&auml;ngerInnen")
$txt['002'] = _("m&ouml;gliche Empf&auml;ngerInnen")
$txt['attachment'] = _("Dateianhang")
$txt['003'] = _("Signatur")
$txt['004'] = _("Vorschau")
$txt['005'] = _("Nachricht")
$txt['006'] = _("Nachricht speichern")
$txt['007'] = _("als Email senden")
$txt['008'] = _("Lesebestätigung")
if (Request::option('answer_to')) if(Request::get('sms_source_page'))
if($GLOBALS["ENABLE_EMAIL_ATTACHMENTS"]==true)