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

Variables

<?foreach(get_config('TITLE_FRONT_TEMPLATE')
as $title):?>< optionvalue="
<?=$title?><?=($title==$user['title_front'])?'selected':''?>
<?=htmlReady($title)?></option>
<?endforeach?></select>
<inputclass="user_form"type="text"name="title_front"value="
<?=htmlReady($user['title_front'])?>
<?endif?></td ></tr >< trclass="
<?=TextHelper::cycle('table_row_even','table_row_odd')?>
<td><?=_("Titelnachgestellt:")?>
</td><tdcolspan="2"><?if(StudipAuthAbstract::CheckField("user_info.title_rear",$user['auth_plugin'])||LockRules::check($user['user_id'],'title')):?>
<?=htmlReady($user['title_rear'])?>
<?else:?><selectname="title_rear_chooser"onchange="jQuery('input[name=title_rear]').val(jQuery(this).val());">
<?foreach(get_config('TITLE_REAR_TEMPLATE')as$rtitle):?>
<optionvalue="<?=$rtitle?>
<?=($rtitle==$user['title_rear'])?'selected':''?>
<?=htmlReady($rtitle)?>
</option ><?endforeach?>
</select >< inputclass="user_form"type="text"name="title_rear"value="
<?=htmlReady($user['title_rear'])?>
</td><?endif?></tr></tbody>
<tbody><trclass="table_headerheader-row">
<tdcolspan="3"class="toggle-indicator">
<aclass="toggler"><b><?=_('Registrierungsdaten')?>
</b></a></td></tr><?if(!$user['locked']):?>
<trclass="<?=TextHelper::cycle('table_row_even','table_row_odd')?>
< tdwidth="25%"><?=_("Benutzersperren:")?>
</td >< tdcolspan="2">
< inputtype="checkbox"name="locked"value="1">
<?=_('Kommentar:')?>
< inputclass="user_form"name="locked_comment"type="text">
</td ></tr ><?endif?><?if($perm->
have_perm('root')&&get_config('ALLOW_ADMIN_USERACCESS')&&!StudipAuthAbstract("auth_user_md5.password",
$user['auth_plugin'])&&!$prelim)('table_row_even',
'table_row_odd')?>"> <td>
<? endif if (!$prelim) font 
size = _("Neues Passwort:") TextHelper::cycle('table_row_even', 'table_row_odd') _("Passwortwiederholung:") Assets::img('icons/16/green/accept.png') TextHelper::cycle('table_row_even', 'table_row_odd') _("E-Mail:")
endifforeach($available_auth_plugins
as $key=> $val)($key)?>"
<? 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') )

Variable Documentation

endifforeach ($available_auth_plugins as $key => $val) ($key) ?>" <? 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') )
<?foreach(get_config('TITLE_FRONT_TEMPLATE')as$title):?><optionvalue="<?=$title?><?=($title==$user['title_front'])?'selected':''?><?=htmlReady($title)?></option><?endforeach?></select><inputclass="user_form"type="text"name="title_front"value="<?=htmlReady($user['title_front'])?><?endif?></td></tr><trclass="<?=TextHelper::cycle('table_row_even','table_row_odd')?><td><?=_("Titelnachgestellt:")?></td><tdcolspan="2"><?if(StudipAuthAbstract::CheckField("user_info.title_rear",$user['auth_plugin'])||LockRules::check($user['user_id'],'title')):?><?=htmlReady($user['title_rear'])?><?else:?><selectname="title_rear_chooser"onchange="jQuery('input[name=title_rear]').val(jQuery(this).val());"><?foreach(get_config('TITLE_REAR_TEMPLATE')as$rtitle):?><optionvalue="<?=$rtitle?><?=($rtitle==$user['title_rear'])?'selected':''?><?=htmlReady($rtitle)?></option><?endforeach?></select><inputclass="user_form"type="text"name="title_rear"value="<?=htmlReady($user['title_rear'])?></td><?endif?></tr></tbody><tbody><trclass="table_headerheader-row"><tdcolspan="3"class="toggle-indicator"><aclass="toggler"><b><?=_('Registrierungsdaten')?></b></a></td></tr><?if(!$user['locked']):?><trclass="<?=TextHelper::cycle('table_row_even','table_row_odd')?><tdwidth="25%"><?=_("Benutzersperren:")?></td><tdcolspan="2"><inputtype="checkbox"name="locked"value="1"><?=_('Kommentar:')?><inputclass="user_form"name="locked_comment"type="text"></td></tr><?endif?><?if($perm->have_perm('root') && get_config('ALLOW_ADMIN_USERACCESS') && !StudipAuthAbstract ("auth_user_md5.password", $user['auth_plugin']) && !$prelim) ('table_row_even', 'table_row_odd') ?>"> <td> <? endif if (!$prelim) font size = _("Neues Passwort:") TextHelper::cycle('table_row_even', 'table_row_odd') _("Passwortwiederholung:") Assets::img('icons/16/green/accept.png') TextHelper::cycle('table_row_even', 'table_row_odd') _("E-Mail:")