mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-10 09:19:18 -04:00
Add page_title to admin views. Closes #1038.
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
class Admin_Users_Controller extends Admin_Controller {
|
||||
public function index() {
|
||||
$view = new Admin_View("admin.html");
|
||||
$view->page_title = t("Users and groups");
|
||||
$view->content = new View("admin_users.html");
|
||||
$view->content->users = ORM::factory("user")->order_by("name", "ASC")->find_all();
|
||||
$view->content->groups = ORM::factory("group")->order_by("name", "ASC")->find_all();
|
||||
|
||||
Reference in New Issue
Block a user