Stud.IP  2.5 Revision
sms_send.php File Reference

Namespaces

 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::isPost()) else
 
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 = ''
 
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

◆ $emailforwardinfo

if ( $quote) else if (!Request::get( 'messagesubject') &&Request::option( 'answer_to')) if ( $GLOBALS["MESSAGING_FORWARD_AS_EMAIL"]) if ( $GLOBALS["ENABLE_EMAIL_ATTACHMENTS"]==true) $emailforwardinfo = ''

◆ $forward

$forward = Request::option('forward')

◆ $help_url_format

$help_url_format = format_help_url("Basis.VerschiedenesFormat")

◆ $help_url_smil

$help_url_smil = format_help_url("Basis.VerschiedenesSmileys")

◆ $infobox

Initial value:
"kategorie" => _("Smilies & Textformatierung:"),
"eintrag" => 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>")
)
)
)
)
static getURL($url='', $params=NULL, $ignore_registered_params=false)
Definition: URLHelper.php:168
$help_url_smil
Definition: sms_send.php:854
if($quote) else if(!Request::get('messagesubject') &&Request::option('answer_to')) if($GLOBALS["MESSAGING_FORWARD_AS_EMAIL"]) if($GLOBALS["ENABLE_EMAIL_ATTACHMENTS"]==true) $emailforwardinfo
Definition: sms_send.php:801
if($GLOBALS["MESSAGING_FORWARD_AS_EMAIL"]==TRUE) $smsinfos
Definition: sms_send.php:812

◆ $message

◆ $messagesubject

if (Request::option( 'cmd')=='new') $messagesubject = Request::get('messagesubject')

◆ $msging

$msging =new messaging

◆ $my_messaging_hash

$my_messaging_hash = md5(serialize($my_messaging_settings))

◆ $my_messaging_observer

$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
Definition: sms_send.php:45
$my_messaging_hash
Definition: sms_send.php:46
$user
Definition: studip_cli_env.inc.php:76
static get()
Definition: Config.class.php:38

◆ $my_messaging_settings

$my_messaging_settings = UserConfig::get($user->id)->MESSAGING_SETTINGS

◆ $quote

$quote = Request::option('quote')

◆ $rec_uname

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')

◆ $rec_unames

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

$signature = Request::get('signature')

◆ $sms_data

$sms_data =& $_SESSION['sms_data']

◆ $sms_show

$sms_show =& $_SESSION['sms_show']

◆ $smsinfos

$smsinfos = ""

◆ $txt [1/10]

$txt = array()

◆ $txt [2/10]

$txt[ '001'] = _("aktuelle Empf&auml;ngerInnen")

◆ $txt [3/10]

$txt[ '002'] = _("m&ouml;gliche Empf&auml;ngerInnen")

◆ $txt [4/10]

$txt[ 'attachment'] = _("Dateianhang")

◆ $txt [5/10]

$txt[ '003'] = _("Signatur")

◆ $txt [6/10]

$txt[ '004'] = _("Vorschau")

◆ $txt [7/10]

$txt[ '005'] = _("Nachricht")

◆ $txt [8/10]

$txt[ '006'] = _("Nachricht speichern")

◆ $txt [9/10]

$txt[ '007'] = _("als Email senden")

◆ $txt [10/10]

$txt[ '008'] = _("Lesebestätigung")

◆ else

if ( $sms_data["sig"]==1) else
Initial value:
{
$receiver = is_array($sms_data["p_rec"]) ? $sms_data["p_rec"] : array()
$sms_data
Definition: sms_send.php:27

◆ if [1/2]

if (Request::option( 'answer_to')) if(Request::get('sms_source_page'))

◆ if [2/2]

if($GLOBALS["ENABLE_EMAIL_ATTACHMENTS"]==true)