Stud.IP  2.0 Revision 48548
 All Data Structures Namespaces Files Functions Variables Pages
show_role.php File Reference

Variables

foreach($roles as $getrole)()?>"
<?if ($getrole->getSystemtype())
('Systemrolle') ?>]<? endif ?>
</option> <? endforeach ?>
</select> <?if (!empty($role))
(_('Liste der Benutzer mit der
Rolle"%s"'), htmlReady($role->
getRolename()))?></h3 ><?if(count($users) > 0)
</th><thstyle="width:40%;">
<?=_('Name')?></th><th><?=_('Status')?>
</th></tr><?foreach($usersas$user):?>
<trclass="<?=TextHelper::cycle('steel1','steelgraulight')?>
< tdstyle="text-align:right;">
<?=++$index?></td >< td >
< ahref="<?=$controller->
url_for ('role_admin/assign_role',
$user['user_id']) ?>">
<?endforeach 
else = $this->render_partial('role_admin/status_message') _('Rollenzuweisungen anzeigen') $controller->url_for('role_admin/show_role') $getrole->getRoleid() == $roleid ? 'selected' : '' htmlReady($getrole->getRolename()) makeButton('auswaehlen', 'input', _('Rolle auswählen'), 'selectrole') htmlReady(sprintf('%s %s (%s)', $user['Vorname'], $user['Nachname'], $user['username'])) $user['perms']
foreach($roles as $getrole)()?>"
<?if ($getrole->getSystemtype())
('Systemrolle') ?>]<? endif ?>
</option> <? endforeach ?>
</select> <?if (!empty($role))
(_('Liste der Benutzer mit der
Rolle"%s"'), htmlReady($role->
getRolename()))?></h3 ><?if(count($users) > 0)
</th><thstyle="width:40%;">
<?=_('Name')?></th><th><?=_('Status')?>
</th></tr><?foreach($usersas$user):?>
<trclass="<?=TextHelper::cycle('steel1','steelgraulight')?>
< tdstyle="text-align:right;">
<?=++$index?></td >< td >
< ahref="<?=$controller->
url_for ('role_admin/assign_role',
$user['user_id']) ?>">
<?endforeach htmlReady($role->
getRolename()))?></h3 ><?if(count($plugins) > 0)
</th >< thstyle="width:40%;">
<?=_('Name')?></th >< th ><?=_('Typ')?>
</th ></tr ><?foreach($pluginsas
$plugin):?>< trclass="
<?=TextHelper::cycle('steel1','steelgraulight')?>
<tdstyle="text-align:right;">
<?=++$index?></td><td><ahref="
<?=$controller-> url_for('role_admin/assign_plugin_role',
$plugin['id'])?>">
<? endforeach 
$infobox

Variable Documentation

foreach ($roles as $getrole) () ?>" <?if ($getrole->getSystemtype()) ('Systemrolle') ?>]<? endif ?> </option> <? endforeach ?> </select> <?if (!empty($role)) (_('Liste der Benutzer mit der Rolle"%s"'), htmlReady($role->getRolename()))?></h3 ><?if(count($users) > 0)</th><thstyle="width:40%;"><?=_('Name')?></th><th><?=_('Status')?></th></tr><?foreach($usersas$user):?><trclass="<?=TextHelper::cycle('steel1','steelgraulight')?><tdstyle="text-align:right;"><?=++$index?></td><td><ahref="<?=$controller-> url_for ('role_admin/assign_role', $user['user_id']) ?>"> <? endforeach htmlReady ($role->getRolename()))?></h3 ><?if(count($plugins) > 0)</th><thstyle="width:40%;"><?=_('Name')?></th><th><?=_('Typ')?></th></tr><?foreach($pluginsas$plugin):?><trclass="<?=TextHelper::cycle('steel1','steelgraulight')?><tdstyle="text-align:right;"><?=++$index?></td><td><ahref="<?=$controller-> url_for ('role_admin/assign_plugin_role', $plugin['id']) ?>"> <? endforeach $infobox
Initial value:
> array(
array(
'icon' => 'icons/16/black/roles.png',
'text' => '<a href="'.$controller->url_for('role_admin').'">'._('Rollen verwalten').'</a>'
), array(
'icon' => 'icons/16/black/person.png',
'text' => '<a href="'.$controller->url_for('role_admin/assign_role').'">'._('Benutzerzuweisungen bearbeiten').'</a>'
), array(
'icon' => 'icons/16/black/plugin.png',
'text' => '<a href="'.$controller->url_for('role_admin/assign_plugin_role').'">'._('Pluginzuweisungen bearbeiten').'</a>'
), array(
'icon' => 'icons/16/black/log.png',
'text' => '<a href="'.$controller->url_for('role_admin/show_role').'">'._('Rollenzuweisungen anzeigen').'</a>'
)
)
), array(
'kategorie' => _('Hinweise:'),
'eintrag' => array(
array(
"icon" => "icons/16/black/info.png",
'text' => _('Hier werden alle Benutzer und Plugins angezeigt, die der ausgewählten Rolle zugewiesen sind.')
), array(
"icon" => "icons/16/black/info.png",
'text' => _('Klicken Sie auf den Namen eines Nutzers oder Plugins, um die Rollenzuweisungen dieses Nutzers oder Plugins zu ändern.')
)
)
)
) array('picture' => 'infobox/modules.jpg', 'content' => $infobox_content)
foreach ($roles as $getrole) () ?>" <?if ($getrole->getSystemtype()) ('Systemrolle') ?>]<? endif ?> </option> <? endforeach ?> </select> <?if (!empty($role)) (_('Liste der Benutzer mit der Rolle"%s"'), htmlReady($role->getRolename()))?></h3 ><?if(count($users) > 0)</th><thstyle="width:40%;"><?=_('Name')?></th><th><?=_('Status')?></th></tr><?foreach($usersas$user):?><trclass="<?=TextHelper::cycle('steel1','steelgraulight')?><tdstyle="text-align:right;"><?=++$index?></td><td><ahref="<?=$controller-> url_for ('role_admin/assign_role', $user['user_id']) ?>"> <? endforeach htmlReady ($role->getRolename()))?></h3 ><?if(count($plugins) > 0)</th><thstyle="width:40%;"><?=_('Name')?></th><th><?=_('Typ')?></th></tr><?foreach($pluginsas$plugin):?><trclass="<?=TextHelper::cycle('steel1','steelgraulight')?><tdstyle="text-align:right;"><?=++$index?></td><td><ahref="<?=$controller-> url_for ('role_admin/assign_plugin_role', $plugin['id']) ?>"> <? endforeach else = $this->render_partial('role_admin/status_message') _('Rollenzuweisungen anzeigen') $controller->url_for('role_admin/show_role') $getrole->getRoleid() == $roleid ? 'selected' : '' htmlReady($getrole->getRolename()) makeButton('auswaehlen', 'input', _('Rolle auswählen'), 'selectrole') htmlReady(sprintf('%s %s (%s)', $user['Vorname'], $user['Nachname'], $user['username'])) $user['perms']