Stud.IP  3.1 Revision 48552
 All Data Structures Namespaces Files Functions Variables Groups Pages
read.php File Reference

Variables

if(!Request::isXhr())("Betreff")."
($message["subject"]) ?></h1>
<? endif ?> <? if ($message["autor_id"]
! endifif($message['autor_id']
=== '____%system%____')
('Stud.IP') ?> <? else
("dispatch.php/profile", array('username' =>
get_username($message["autor_id"]))) ?>"><? 
endif = "____%system%____") : Avatar::getAvatar($message["autor_id"])->getImageTag(Avatar::MEDIUM) $message->getId() _("Von") htmlReady(get_fullname($message["autor_id"]))
if($message["autor_id"]!==$GLOBALS["user"]->
id)()?><? 
else = _("An") $num_recipients > 1 ? sprintf(_("%s Personen"), $num_recipients) : _("Eine Person")
 $sidebar

Variable Documentation

$sidebar
Initial value:
URLHelper::getLink("dispatch.php/messages/write", array('answer_to' => $message->getId(), 'forward' => "rec")) \Studip\Button::create(_("Weiterleiten")) URLHelper::getLink("dispatch.php/messages/print/".$message->getId()) \Studip\Button::create(_("Drucken")) $controller->url_for('messages/delete/' . $message->id) get_ticket() \Studip\Button::create(_("Löschen"), 'delete', array(
'onClick' => 'return window.confirm("' . _('Nachricht wirklich löschen?') . '");',
)) Sidebar::get()
if ($message["autor_id"] !== $GLOBALS["user"]->id) () ?> <? else = _("An") $num_recipients > 1 ? sprintf(_("%s Personen"), $num_recipients) : _("Eine Person")
if ($message["autor_id"] !== $GLOBALS["user"]->id) () ?> <? array ('username' => $message_user["username"])) ?>"> <? endforeach endifforeach ($message->getTags() as $tag) ("?", array('tag' => $tag)) ?>" class endforeachif (count($message->attachments)) ("icons/20/grey/staple", array("class" => "text-bottom")) ?><?foreach ($message->attachments as $attachment) ($attachment['filename']) ?> <h4><a hrefif (substr($mime_type, 0, 5) === "image") ($attachment->getId(), $attachment['filename'], 7, 'normal') ?>" style endforeach endifif ($message['autor_id'] !== '____%system%____') ("dispatch.php/messages/write", array('answer_to' => $message->getId())) ?>" data-dialog endif = "____%system%____") : Avatar::getAvatar($message["autor_id"])->getImageTag(Avatar::MEDIUM) $message->getId() _("Von") htmlReady(get_fullname($message["autor_id"]))