mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 17:28:55 +00:00
19 lines
394 B
PHP
19 lines
394 B
PHP
<?php
|
|
|
|
require_once dirname(__DIR__, 2).DIRECTORY_SEPARATOR.'resources/views/themes/smarty.php';
|
|
|
|
use App\Models\UserRole;
|
|
use Blacklight\http\AdminPage;
|
|
|
|
$page = new AdminPage();
|
|
|
|
$page->title = 'User Role List';
|
|
|
|
//get the user roles
|
|
$userroles = UserRole::getRoles();
|
|
|
|
$page->smarty->assign('userroles', $userroles);
|
|
|
|
$page->content = $page->smarty->fetch('role-list.tpl');
|
|
$page->render();
|