mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-19 10:59:16 -04:00
First step towards fixing ticket #1038: Allowing for custom page <title> in admin pages, just like in non-admin pages.
TODO: Set $view->page_title in the many admin controllers we have. I just set it for admin_maintenance.php to show how it's intended to be used. I copied the title from views/admin_maintenance.html.php to the controller.
This commit is contained in:
@@ -38,6 +38,7 @@ class Admin_View_Core extends Gallery_View {
|
||||
$this->set_global("user", identity::active_user());
|
||||
$this->set_global("page_type", "admin");
|
||||
$this->set_global("page_subtype", $name);
|
||||
$this->set_global("page_title", null);
|
||||
}
|
||||
|
||||
public function admin_menu() {
|
||||
|
||||
Reference in New Issue
Block a user