Stud.IP  2.5 Revision
edit.php File Reference

Variables

if($inactive< 3600 *24 else )
 
else __pad7__
 
endifforeach( $GLOBALS[ 'STUDIP_AUTH_PLUGIN'] as $val)( $val) ?>" <? endforeachif ($user['validation_key']) ('table_row_even', 'table_row_odd') ?>">< td ><? endifif(in_array( $user[ 'perms'], array( 'autor', 'tutor', 'dozent')))( 'Studiendaten') ?></b ></a ></td ></tr ><? if(!StudipAuthAbstract("studiengang_id", $auth_plugin))( 'Neuer Studiengang')?></td >< td colspan $about select_abschluss() ?>< select name endfor endifif(count( $studycourses) > 0)( $studycourses as $i=> $studiengang)( 'hover_odd', 'hover_even') ?>"> <td> <? endforeach endifforeach($available_institutes as $i) (!isset($institutes[$i['Institut_id']])) (my_substr($i['Name'], 0, 70)) ?></option> <? endif ?> <? endforeach ?> </select> </td> </tr> <? if (count($student_institutes) > 0) (array_values($student_institutes) as $i => $institute) ('hover_odd', 'hover_even') ?>">< td ><?if( $GLOBALS[ 'perm']->have_studip_perm("admin", $institute[ 'Institut_id']))( 'admin/user/delete_institute/' . $user[ 'user_id'] . '/' . $institute[ 'Institut_id']) ?>"> <? endif endforeach endif endifif ($user['perms'] != 'root') ('Einrichtungsdaten') ?></b></a> </td> </tr> <tr classforeach($available_institutes as $i) (!isset($institutes[$i['Institut_id']]) && (!($i['is_fak'] && $user['perms'] == 'admin') || $GLOBALS['perm']->have_perm('root'))) (my_substr( $i[ 'Name'], 0, 70)) ?></option ><? else<?= $i['is_fak'] ? 'font-weight:bold;' : 'padding-left:10px;' ?> value endif endforeachif(count($institutes) > 0) (array_values($institutes) as $i => $institute) ('hover_odd', 'hover_even') ?>">< td ><?if( $GLOBALS[ 'perm']->have_studip_perm("admin", $institute[ 'Institut_id']))( 'admin/user/edit_institute/' . $user[ 'user_id'] . '/' . $institute[ 'Institut_id']) ?>"> <? endif endforeach endif endifif ($user['perms'] != 'root') ('Nutzerdomänen') ?></b></a> </td> </tr> <tr class $aboutselect_userdomain() ?> </td> </tr> <? if (count($userdomains) > 0) ($userdomains as $i => $domain) ('hover_odd', 'hover_even') ?>">< td ><? endforeach endif endifif( $GLOBALS[ 'perm']->have_perm( 'root') &&count(LockRule::findAllByType( 'user')) > 0)( 'Sperrebene') ?></b ></a ></td ></tr >< tr classforeach(LockRule::findAllByType( 'user') as $rule)()?>" <? endforeach endifif(count($userfields) > 0) ('Datenfelder') ?></b></a> </td> </tr> <? foreach ($userfields as $entry) ($entry->isVisible()) ('table_row_even', 'table_row_odd') ?>">< td widthif( $entry->isEditable() &&!LockRules::Check( $user[ 'user_id'], $entry->getId())) ("datafields") ?><? else () ?><? endif ?></td ></tr ><? endif ?><? endforeach ?></tbody ><? endif ?>< tr >< td colspan = LinkButton::createCancel(_('Abbrechen'), $controller->url_for('admin/user/?reset'), array('name' => 'abort') )
 
 $paktionen []
 
if($GLOBALS['perm']->have_perm('root')) if($user['locked']) if($GLOBALS['perm']->have_perm('root')|| $GLOBALS['perm']->is_fak_admin()||!in_array($user['perms'], words('root admin'))) $infobox
 

Variable Documentation

◆ $infobox

if ( $GLOBALS[ 'perm']->have_perm( 'root')) if ( $user[ 'locked']) if ( $GLOBALS[ 'perm']->have_perm( 'root')||$GLOBALS[ 'perm']->is_fak_admin()||!in_array( $user[ 'perms'], words( 'root admin'))) $infobox
Initial value:
'picture' => 'infobox/board1.jpg',
'content' => array(
'kategorie' => _("Aktionen"),
'eintrag' => $aktionen
),
'kategorie' => _("Benutzerspezifische Aktionen"),
'eintrag' => $paktionen
)
)
)
$paktionen[]
Definition: edit.php:483
$aktionen[]
Definition: edit.php:8

◆ $paktionen

$paktionen[]
Initial value:
"text" => '<a href="' .URLHelper::getLink('dispatch.php/profile?username=' . $user['username']) .'">' . _('Zum Benutzerprofil') .'</a>',
"icon" => "icons/16/black/person.png")
static getLink($url='', $params=NULL, $ignore_registered_params=false)
Definition: URLHelper.php:149
$user
Definition: studip_cli_env.inc.php:76

◆ ("datafields") ?>
endifforeach ($GLOBALS['STUDIP_AUTH_PLUGIN'] as $val) ($val) ?>" <? endforeachif ($user['validation_key']) ('table_row_even', 'table_row_odd') ?>"> <td> <? endifif(in_array($user['perms'], array('autor', 'tutor', 'dozent'))) ('Studiendaten') ?></b></a> </td> </tr> <? if (!StudipAuthAbstract ("studiengang_id", $auth_plugin)) ('Neuer Studiengang')?> </td> <td colspan $about select_abschluss () ?> <select name endfor endifif(count($studycourses) > 0) ($studycourses as $i => $studiengang) ('hover_odd', 'hover_even') ?>"> <td> <? endforeach endifforeach($available_institutes as $i) (!isset($institutes[$i['Institut_id']])) (my_substr($i['Name'], 0, 70)) ?></option> <? endif ?> <? endforeach ?> </select> </td> </tr> <? if (count($student_institutes) > 0) (array_values($student_institutes) as $i => $institute) ('hover_odd', 'hover_even') ?>"> <td> <?if ($GLOBALS['perm']->have_studip_perm("admin", $institute['Institut_id'])) ('admin/user/delete_institute/' . $user['user_id'] . '/' . $institute['Institut_id']) ?>"> <? endif endforeach endif endifif ($user['perms'] != 'root') ('Einrichtungsdaten') ?></b></a> </td> </tr> <tr classforeach($available_institutes as $i) (!isset($institutes[$i['Institut_id']]) && (!($i['is_fak'] && $user['perms'] == 'admin') || $GLOBALS['perm']->have_perm('root'))) (my_substr( $i[ 'Name'], 0, 70)) ?></option ><? else<?= $i['is_fak'] ? 'font-weight:bold;' : 'padding-left:10px;' ?> value endif endforeachif(count($institutes) > 0) (array_values($institutes) as $i => $institute) ('hover_odd', 'hover_even') ?>"> <td> <?if ($GLOBALS['perm']->have_studip_perm("admin", $institute['Institut_id'])) ('admin/user/edit_institute/' . $user['user_id'] . '/' . $institute['Institut_id']) ?>"> <? endif endforeach endif endifif ($user['perms'] != 'root') ('Nutzerdomänen') ?></b></a> </td> </tr> <tr class $aboutselect_userdomain() ?> </td> </tr> <? if (count($userdomains) > 0) ($userdomains as $i => $domain) ('hover_odd', 'hover_even') ?>"> <td> <? endforeach endif endifif ($GLOBALS['perm']->have_perm('root') && count(LockRule::findAllByType('user')) > 0) ('Sperrebene') ?></b></a> </td> </tr> <tr classforeach (LockRule::findAllByType('user') as $rule) ()?>" <? endforeach endifif(count($userfields) > 0) ('Datenfelder') ?></b></a> </td> </tr> <? foreach ($userfields as $entry) ($entry->isVisible()) ('table_row_even', 'table_row_odd') ?>"> <td widthif($entry->isEditable() && !LockRules::Check($user['user_id'], $entry->getId())) ("datafields") ?><? else() ?><? endif ?></td ></tr ><? endif ?><? endforeach ?></tbody ><? endif ?>< tr >< td colspan = LinkButton::createCancel(_('Abbrechen'), $controller->url_for('admin/user/?reset'), array('name' => 'abort') )

◆ __pad7__

else __pad7__

◆ else

if ( $inactive< 3600 *24 else)
Initial value:
{
$inactive = floor($inactive / (3600 * 24)).' '._('Tage')