Add page_title to admin views. Closes #1038.

This commit is contained in:
ckieffer
2010-04-30 00:08:37 -06:00
parent e30849d310
commit f1076590f1
17 changed files with 17 additions and 0 deletions

View File

@@ -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();