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

Functions

 getMsTime ()

Variables

 $txt = $message = $count = $verschoben = ''
 $flatviewstartposting = (int)$flatviewstartposting
isset($view)&&preg_match('/^[a-z]*$/'$view
or 
$view = ''
 checked = true
STUDIP Forum rate_template
 if (!$update)
 $forum ['search'] = ''
 $indexvars ["age"]["name"] = _("Alter")
 $indexvars ["age"]["color"] = "#FF0000"
 $indexvars ["viewcount"]["name"] = _("Views")
 $indexvars ["viewcount"]["color"] = "#008800"
 $indexvars ["rating"]["name"] = _("Bewertung")
 $indexvars ["rating"]["color"] = "#CC7700"
 $indexvars ["score"]["name"] = _("Relevanz")
 $indexvars ["score"]["color"] = "#0000FF"
 $openorig = $open
 $sql_topic_id = false
else $forum ["anchor"] = $open
elseif($user->id=="nobody"||$cmd=="move")
if($forum["view"]=="flat"||$forum["view"]=="neue"||$forum["view"]=="flatfolder"||$forum["view"]=="search")
flatview($open 
$mehr
elseif($user->id=="nobody"||$cmd=="move")
if($forum["view"]=="flat"||$forum["view"]=="neue"||$forum["view"]=="flatfolder"||$forum["view"]=="search")
flatview($open 
$show
elseif($user->id=="nobody"||$cmd=="move")
if($forum["view"]=="flat"||$forum["view"]=="neue"||$forum["view"]=="flatfolder"||$forum["view"]=="search")
flatview($open 
$edit_id
elseif($user->id=="nobody"||$cmd=="move")
if($forum["view"]=="flat"||$forum["view"]=="neue"||$forum["view"]=="flatfolder"||$forum["view"]=="search")
flatview($open 
$name
elseif($user->id=="nobody"||$cmd=="move")
if($forum["view"]=="flat"||$forum["view"]=="neue"||$forum["view"]=="flatfolder"||$forum["view"]=="search")
flatview($open 
$description
elseif($user->id=="nobody"||$cmd=="move")
if($forum["view"]=="flat"||$forum["view"]=="neue"||$forum["view"]=="flatfolder"||$forum["view"]=="search")
flatview($open 
$zitat

Function Documentation

getMsTime ( )

Variable Documentation

elseif ($user->id=="nobody"||$cmd=="move") if ($forum["view"]=="flat"||$forum["view"]=="neue"||$forum["view"]=="flatfolder"||$forum["view"]=="search") flatview($open $description
elseif ($user->id=="nobody"||$cmd=="move") if ($forum["view"]=="flat"||$forum["view"]=="neue"||$forum["view"]=="flatfolder"||$forum["view"]=="search") flatview($open $edit_id
$flatviewstartposting = (int)$flatviewstartposting
$forum['search'] = ''
else $forum["anchor"] = $open
$indexvars["age"]["name"] = _("Alter")
$indexvars["age"]["color"] = "#FF0000"
$indexvars["viewcount"]["name"] = _("Views")
$indexvars["viewcount"]["color"] = "#008800"
$indexvars["rating"]["name"] = _("Bewertung")
$indexvars["rating"]["color"] = "#CC7700"
$indexvars["score"]["name"] = _("Relevanz")
$indexvars["score"]["color"] = "#0000FF"
elseif ($user->id=="nobody"||$cmd=="move") if ($forum["view"]=="flat"||$forum["view"]=="neue"||$forum["view"]=="flatfolder"||$forum["view"]=="search") flatview($open $mehr
elseif ($user->id=="nobody"||$cmd=="move") if ($forum["view"]=="flat"||$forum["view"]=="neue"||$forum["view"]=="flatfolder"||$forum["view"]=="search") flatview($open $name
$openorig = $open
elseif ($user->id=="nobody"||$cmd=="move") if ($forum["view"]=="flat"||$forum["view"]=="neue"||$forum["view"]=="flatfolder"||$forum["view"]=="search") flatview($open $show
$sql_topic_id = false
$txt = $message = $count = $verschoben = ''
if ($view) if (!$forum["view"]) $view = ''
elseif ($user->id=="nobody"||$cmd=="move") if ($forum["view"]=="flat"||$forum["view"]=="neue"||$forum["view"]=="flatfolder"||$forum["view"]=="search") flatview($open $zitat
if (re_nachname.test(document.forumwrite.nobodysname.value)==false) if (document.forumwrite.nobodysname.value=="unbekannt") return checked = true
if(!$update)
STUDIP Forum rate_template
Initial value:
function (id) {
STUDIP.Dialogbox.openBox("Rating_for_<?= $open ?>", "<?= _("Bewertung des Beitrags") ?>",
'<form method="post" action="<?=URLHelper::getLink("?view=$view&open=$open&flatviewstartposting=$flatviewstartposting#anker")?>">\
<div style="text-align:center">\
<?=_("Schulnote")?>\
<br>\
<span style="color:#009900;font-weight:bold;">1</span>\
<?php foreach(range(1,5) as $r) :?>
<input type="radio" name="rate[' + id + ']" value="<?=$r?>">\
<?php endforeach?>
<span style="color:#990000;font-weight:bold;">5</span>\
<br>\
<?=makebutton('bewerten','input',_("Bewertung abgeben"),'sidebar')?>\
</form>\
</div>\
', "center");
}
<?php
PageLayout::addHeadElement('script', array('type' => 'text/javascript'), ob_get_clean())