mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
20 lines
421 B
PHP
20 lines
421 B
PHP
<?php
|
|
|
|
require_once dirname(__DIR__, 2).DIRECTORY_SEPARATOR.'resources/views/themes/smarty.php';
|
|
|
|
use App\Models\UserRole;
|
|
use Blacklight\http\BasePage;
|
|
|
|
$page = new BasePage();
|
|
$page->setAdminPrefs();
|
|
|
|
$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->adminrender();
|