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

Variables

foreach($roles as $getrole)()?>"
<?if ($getrole->getSystemtype())
('Systemrolle') ?>]<? endif ?>
</option> <? endforeach ?>
</select> <?if(!empty($role))
(count($users) > 0) (_('Liste
der Benutzer mit der Rolle "%s"'),
htmlReady($role->getRolename())) ?>
</caption> <thead> <tr> <th
style foreach ($users as $user)
<?=++$index?></td><td><ahref="
<?=$controller-> url_for('admin/role/assign_role',
$user['user_id'])?>"> <? 
$institutes = "width: 27%;"><?= _('Name') _('Status') _('Einrichtungszuordnung') htmlReady(sprintf('%s %s (%s)', $user['Vorname'], $user['Nachname'], $user['username'])) $user['perms'] join(', ', $user['institutes'])
if(strlen($institutes) >
60)(join("\n", $user['institutes']))?>
<?endif?></td ></tr >
<?endforeach?></tbody ></table >
< br ><?else(_('Es wurden
keine Benutzer gefunden.'))?>
<?endif?><?if(count($plugins) >
0)(_('Liste der Plugins mit
der Rolle"%s"'), htmlReady($role->
getRolename()))?></caption >
< thead >< tr >< th style
foreach($plugins as $plugin)
<?=++$index?></td >< td >
< ahref="<?=$controller->
url_for ('admin/role/assign_plugin_role',
$plugin['id']) ?>">
<?endforeach 
else = "width: 40%;"><?= _('Name') _('Typ') htmlReady($plugin['name']) join(', ', $plugin['type'])
if(strlen($institutes) >
60)(join("\n", $user['institutes']))?>
<?endif?></td ></tr >
<?endforeach?></tbody ></table >
< br ><?else(_('Es wurden
keine Benutzer gefunden.'))?>
<?endif?><?if(count($plugins) >
0)(_('Liste der Plugins mit
der Rolle"%s"'), htmlReady($role->
getRolename()))?></caption >
< thead >< tr >< th style
foreach($plugins as $plugin)
<?=++$index?></td >< td >
< ahref="<?=$controller->
url_for ('admin/role/assign_plugin_role',
$plugin['id']) ?>">
<?endforeach 
$infobox

Variable Documentation

if(strlen($institutes) > 60) (join("\n", $user['institutes']))?> <? endif ?> </td> </tr> <? endforeach ?> </tbody> </table> <br> <? else (_('Es wurden keine Benutzer gefunden.')) ?> <? endif ?> <? if (count($plugins) > 0) (_('Liste der Plugins mit der Rolle "%s"'), htmlReady($role->getRolename())) ?> </caption> <thead> <tr> <th style foreach ($plugins as $plugin)<?=++$index?></td><td><ahref="<?=$controller-> url_for ('admin/role/assign_plugin_role', $plugin['id']) ?>"> <? endforeach $infobox
Initial value:
> array(
array(
'icon' => 'icons/16/black/roles.png',
'text' => '<a href="'.$controller->url_for('admin/role').'">'._('Rollen verwalten').'</a>'
), array(
'icon' => 'icons/16/black/person.png',
'text' => '<a href="'.$controller->url_for('admin/role/assign_role').'">'._('Benutzerzuweisungen bearbeiten').'</a>'
), array(
'icon' => 'icons/16/black/plugin.png',
'text' => '<a href="'.$controller->url_for('admin/role/assign_plugin_role').'">'._('Pluginzuweisungen bearbeiten').'</a>'
), array(
'icon' => 'icons/16/black/log.png',
'text' => '<a href="'.$controller->url_for('admin/role/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)) (count($users) > 0) (_('Liste der Benutzer mit der Rolle "%s"'), htmlReady($role->getRolename())) ?> </caption> <thead> <tr> <th style foreach ($users as $user)<?=++$index?></td><td><ahref="<?=$controller-> url_for ('admin/role/assign_role', $user['user_id']) ?>"> <? $institutes = "width: 27%;"><?= _('Name') _('Status') _('Einrichtungszuordnung') htmlReady(sprintf('%s %s (%s)', $user['Vorname'], $user['Nachname'], $user['username'])) $user['perms'] join(', ', $user['institutes'])
if(strlen($institutes) > 60) (join("\n", $user['institutes']))?> <? endif ?> </td> </tr> <? endforeach ?> </tbody> </table> <br> <? else (_('Es wurden keine Benutzer gefunden.')) ?> <? endif ?> <? if (count($plugins) > 0) (_('Liste der Plugins mit der Rolle "%s"'), htmlReady($role->getRolename())) ?> </caption> <thead> <tr> <th style foreach ($plugins as $plugin)<?=++$index?></td><td><ahref="<?=$controller-> url_for ('admin/role/assign_plugin_role', $plugin['id']) ?>"> <? endforeach else = "width: 40%;"><?= _('Name') _('Typ') htmlReady($plugin['name']) join(', ', $plugin['type'])