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

Variables

 $buttons = '<span>' . Button::createAccept(_('OK'), 'save_close', array('title' => _('Speichern und zurück zur Übersicht'))) . '</span>'
 
if($request->isNew()) else
 
 $info_txt = '<div>' . sprintf(_('Erstellt am: %s'), strftime('%x %H:%M', $request->mkdate)) . '</div>'
 
 $infobox_content
 
if(getGlobalPerms($GLOBALS['user']->id)=='admin'||($GLOBALS['perm']->have_perm('admin') &&count(getMyRoomRequests(null, null, true, $request->getId())))) $infobox = array('picture' => 'sidebar/resources-sidebar.png', 'content' => $infobox_content)
 

Variable Documentation

◆ $buttons

$buttons = '<span>' . Button::createAccept(_('OK'), 'save_close', array('title' => _('Speichern und zurück zur Übersicht'))) . '</span>'

◆ $info_txt

$info_txt = '<div>' . sprintf(_('Erstellt am: %s'), strftime('%x %H:%M', $request->mkdate)) . '</div>'

◆ $infobox

if (getGlobalPerms( $GLOBALS[ 'user']->id)=='admin'||( $GLOBALS[ 'perm']->have_perm( 'admin') &&count(getMyRoomRequests(null, null, true, $request->getId())))) $infobox = array('picture' => 'sidebar/resources-sidebar.png', 'content' => $infobox_content)

◆ $infobox_content

$infobox_content
Initial value:
= array(
array(
'kategorie' => _('Raumanfragen und gewünschte Raumeigenschaften'),
'eintrag' => array(
array(
'icon' => 'icons/16/black/info.png',
'text' => _("Hier können Sie Angaben zu gewünschten Raumeigenschaften machen.")
),
array(
'icon' => 'icons/16/black/info.png',
'text' => $info_txt
),
array(
'icon' => 'icons/16/black/remove.png',
'text' => '<a href="'.$controller->link_for('index/'.$course_id).'">'._('Bearbeiten abbrechen').'</a>'
))
),
)
$info_txt
Definition: edit.php:16

◆ else

if ( $request->isNew()) else
Initial value:
{
$info_txt = '<div>' . sprintf(_('Erstellt von: %s'), get_fullname($request->user_id)) . '</div>'
get_fullname($user_id="", $format="full", $htmlready=false)
Definition: functions.php:588
$request
Definition: sms_send.php:10