Stud.IP  2.4 Revision 48548
 All Data Structures Namespaces Files Functions Variables Groups Pages
edit.php File Reference

Variables

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 = "u_edit_send_mail"><?=_("Emailbenachrichtigung bei Änderung der Daten verschicken?") Button::createAccept(_('Speichern'),'edit') 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

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:
array(
'picture' => 'infobox/board1.jpg',
'content' => array(
array(
'kategorie' => _("Aktionen"),
'eintrag' => $aktionen
),
array(
'kategorie' => _("Benutzerspezifische Aktionen"),
'eintrag' => $paktionen
)
)
)
$paktionen[]
Initial value:
array(
"text" => '<a href="' .URLHelper::getLink('dispatch.php/profile?username=' . $user['username']) .'">' . _('Zum Benutzerprofil') .'</a>',
"icon" => "icons/16/black/person.png")
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 = "u_edit_send_mail"><?=_("Emailbenachrichtigung bei Änderung der Daten verschicken?") Button::createAccept(_('Speichern'),'edit') LinkButton::createCancel(_('Abbrechen'), $controller->url_for('admin/user/?reset'), array('name' => 'abort') )