Stud.IP  2.0 Revision 48548
 All Data Structures Namespaces Files Functions Variables Pages
sms_box.php File Reference

Namespaces

namespace  messaging

Variables

 $msging = new messaging
 $query_showfolder = $query_time_sort = $query_movetofolder = $query_time = ''
if(Request::option('sms_inout'))
else if($sms_data["view"]=="") 
$db = new DB_Seminar
 $db6 = new DB_Seminar
 $db7 = new DB_Seminar
if($readingconfirmation) if($sms_data['tmp']['move_to_folder']&&!$move_folder)
if($delete_selected_button_x||$cmd=="delete_selected")
if($mclose) else if($mopen) if($cmd=="mark_allsmsreaded") 
$count_newsms = count_messages_from_user($sms_data['view'], "AND deleted='0' AND readed='0'")
if($sms_data["time"]=="all")
else if($sms_data["time"]=="new")
else if($sms_data["time"]=="24h") else if($sms_data["time"]=="7d") else if($sms_data["time"]=="30d") else if($sms_data["time"]=="older") 
$query_time = $query_time_sort
 $count_timefilter = count_x_messages_from_user($sms_data['view'], "all", $query_time_sort." AND folder=''")
 $open = folder_openclose($sms_show['folder'][$sms_data['view']], "all")
 $symbol = "\"></a>"
 $zusatz = show_nachrichtencount($count, $count_timefilter)
 $time_by_links = ""
 $view_by_links = ""
if($SessSemName[0]&&$SessSemName["class"]=="inst")
else if($SessSemName[0]) 
$neum = count_messages_from_user('in', " AND message_user.readed = 0 ")
 $altm = count_messages_from_user('in', " AND message_user.readed = 1 ")
 $show_message_count = sprintf(_("Sie haben %s empfangene und %s gesendete Nachrichten."), ($altm+$neum), count_messages_from_user("snd"))
if($neum=="1") else if($neum >"1") $infobox
 if ($my_messaging_settings["last_box_visit"]< time())

Variable Documentation

$altm = count_messages_from_user('in', " AND message_user.readed = 1 ")
if ($readingconfirmation) if ($sms_data['tmp']['move_to_folder']&&!$move_folder) if ($delete_selected_button_x||$cmd=="delete_selected") if ($mclose) else if ($mopen) if ($cmd=="mark_allsmsreaded") $count_newsms = count_messages_from_user($sms_data['view'], "AND deleted='0' AND readed='0'")
$count_timefilter = count_x_messages_from_user($sms_data['view'], "all", $query_time_sort." AND folder=''")
if (Request::option('sms_inout')) else if ($sms_data["view"]=="") $db = new DB_Seminar
$db6 = new DB_Seminar
$db7 = new DB_Seminar
if ($neum=="1") else if ($neum >"1") $infobox
Initial value:
array($tmp_array_1,
array("kategorie" => _("Information:"),"eintrag" => array(
array('icon' => 'icons/16/black/info.png', "text" => $show_message_count))),
array("kategorie" => _("nach Zeit filtern:"),"eintrag" => array(
array('icon' => 'icons/16/black/new/mail.png', "text" => $time_by_links))),
array("kategorie" => _("weitere Ansichten:"),"eintrag" => array(
array('icon' => 'icons/16/black/new/mail.png', "text" => $view_by_links))),
array("kategorie" => _("Optionen:"),"eintrag" => array(
array("icon" => 'icons/16/black/admin.png', "text" => sprintf("<a href=\"%s?cmd_show=openall\">"._("Alle Nachrichten aufklappen")."</a><br><a href=\"%s?cmd=mark_allsmsreaded\">"._("Alle als gelesen speichern")."</a>", $PHP_SELF, $PHP_SELF, $PHP_SELF)),
array("icon" => 'icons/16/black/add/folder-empty.png', "text" => sprintf("<a href=\"%s?cmd=admin_folder&cmd_2=new\">"._("Neuen Ordner erstellen")."</a>", $PHP_SELF))
))
)
$msging = new messaging
if ($SessSemName[0]&&$SessSemName["class"]=="inst") else if ($SessSemName[0]) $neum = count_messages_from_user('in', " AND message_user.readed = 0 ")
$open = folder_openclose($sms_show['folder'][$sms_data['view']], "all")
$query_showfolder = $query_time_sort = $query_movetofolder = $query_time = ''
if ($sms_data["time"]=="all") else if ($sms_data["time"]=="new") else if ($sms_data["time"]=="24h") else if ($sms_data["time"]=="7d") else if ($sms_data["time"]=="30d") else if ($sms_data["time"]=="older") $query_time = $query_time_sort
$show_message_count = sprintf(_("Sie haben %s empfangene und %s gesendete Nachrichten."), ($altm+$neum), count_messages_from_user("snd"))
$symbol = "\"></a>"
$time_by_links = ""
$view_by_links = ""
$zusatz = show_nachrichtencount($count, $count_timefilter)
if($my_messaging_settings["last_box_visit"]< time())