/user/views/user/restricted_admin.php
PHP | 16 lines | 14 code | 2 blank | 0 comment | 0 complexity | 100e78e353ef95e0a6e7d579325d33a2 MD5 | raw file
- <?
- $this->title = Yii::t('UserModule.user', 'Manage users');
- $this->breadcrumbs = array(
- Yii::t("UserModule.user", 'Users') => array('index'),
- Yii::t("UserModule.user", 'Manage'));
- printf('<table><tr><th>%s</th><th>%s</th></tr>', Yum::t('Username'), Yum::t('Actions'));
- foreach($users as $user) {
- printf('<tr><td>%s</td><td>%s %s</td></tr>',
- $user->username,
- CHtml::link(Yum::t('Details'), array('//user/user/view', 'id' => $user->id)),
- CHtml::link(Yum::t('Update'), array('//user/user/update', 'id' => $user->id))
- );
- }
- echo '</table>';