Stud.IP  jlu_3.3 Revision
index.php File Reference

Variables

 $zoom = Request::get('zoom', 0)
 
 $text = _("Der Stundenplan zeigt die regelmäßigen Veranstaltungen dieser Einrichtung.")
 
if($zoom) else
 
 $infobox = array()
 
 $infobox ['picture'] = 'sidebar/schedule-sidebar.png'
 
 $infobox ['content']
 
 $infobox ['content'][1]['eintrag'][]
 
 $infobox ['content'][2]['eintrag']
 
 $semester_chooser = '<form method="post" action="'. $controller->url_for('calendar/instschedule') .'">'
 
foreach(array_reverse( $semesters) as $semester) if($current_semester['semester_id']==$semester['semester_id']) endif
 
 endforeach
 
 $infobox ['content'][1]['eintrag'][]
 

Variable Documentation

◆ $infobox [1/6]

$infobox = array()

◆ $infobox [2/6]

$infobox[ 'content']
Initial value:
= array(
array(
'kategorie' => _("Information:"),
'eintrag' => array(
array("text" => $text, "icon" => "icons/16/black/info.png")
)
),
array(
'kategorie' => _("Aktionen:")
),
array(
'kategorie' => _("Darstellungsgröße:")
)
)
$text
Definition: index.php:5

◆ $infobox [3/6]

$infobox[ 'content'][1][ 'eintrag'][]
Initial value:
= array (
'text' => '<a href="'. $controller->url_for('calendar/instschedule/index/'. implode(',', $days)
. '?printview=true&semester_id=' . $current_semester['semester_id'])
. '" target="_blank">'._("Druckansicht") .'</a>',
'icon' => 'icons/16/black/print.png'
)

◆ $infobox [4/6]

$infobox[ 'content'][1][ 'eintrag'][]
Initial value:
= array (
'text' => $semester_chooser,
'icon' => 'icons/16/black/schedule.png'
)
$semester_chooser
Definition: index.php:56

◆ $infobox [5/6]

$infobox[ 'content'][2][ 'eintrag']
Initial value:
= array (
array (
'icon' => 'icons/16/'. ($zoom == 0 ? 'red' : 'black') . '/schedule.png',
'text' => '<a href="'. URLHelper::getLink('', array('zoom' => 0)) .'">'. _("klein") .'</a>'
),
array (
'icon' => 'icons/16/'. ($zoom == 2 ? 'red' : 'black') . '/schedule.png',
'text' => '<a href="'. URLHelper::getLink('', array('zoom' => 2)) .'">'. _("mittel") .'</a>'
),
array (
'icon' => 'icons/16/'. ($zoom == 4 ? 'red' : 'black') . '/schedule.png',
'text' => '<a href="'. URLHelper::getLink('', array('zoom' => 4)) .'">'. _("groß") .'</a>'
)
)
$zoom
Definition: index.php:3
static getLink($url='', $params=NULL, $ignore_registered_params=false)
Definition: URLHelper.php:149

◆ $infobox [6/6]

$infobox[ 'picture'] = 'sidebar/schedule-sidebar.png'

◆ $semester_chooser

$semester_chooser = '<form method="post" action="'. $controller->url_for('calendar/instschedule') .'">'

◆ $text

$text = _("Der Stundenplan zeigt die regelmäßigen Veranstaltungen dieser Einrichtung.")

◆ $zoom

$zoom = Request::get('zoom', 0)

◆ else

if ( $zoom) else
Initial value:
{
$zoom_text = '<a href="'. URLHelper::getLink('', array('zoom' => 7)) .'">'. _("Großansicht") .'</a>'

◆ endforeach

endforeach

◆ endif

foreach(array_reverse($semesters) as $semester) if ( $current_semester[ 'semester_id']==$semester[ 'semester_id']) endif