From 01a482ddf2684612a989772a732c13e9bc9cc04c Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 8 Jan 2011 19:00:05 +0000 Subject: finished the admin title modifications git-svn-id: http://code.elgg.org/elgg/trunk@7866 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/admin.php | 1 + mod/diagnostics/languages/en.php | 1 + mod/logbrowser/languages/en.php | 1 + mod/logbrowser/views/default/admin/utilities/logbrowser.php | 2 -- 4 files changed, 3 insertions(+), 2 deletions(-) diff --git a/engine/lib/admin.php b/engine/lib/admin.php index baecc6592..1e8d51cdf 100644 --- a/engine/lib/admin.php +++ b/engine/lib/admin.php @@ -204,6 +204,7 @@ function admin_settings_page_handler($page) { } else { $view = 'admin/' . implode('/', $page); $title = elgg_echo("admin:{$page[0]}"); + $title .= ' : ' . elgg_echo('admin:' . implode(':', $page)); } // allow a place to store helper views outside of the web-accessible views diff --git a/mod/diagnostics/languages/en.php b/mod/diagnostics/languages/en.php index 476c4fb5c..a02a3f66c 100644 --- a/mod/diagnostics/languages/en.php +++ b/mod/diagnostics/languages/en.php @@ -7,6 +7,7 @@ $english = array( + 'admin:utilities:diagnostics' => 'System diagnostics', 'diagnostics' => 'System diagnostics', 'diagnostics:report' => 'Diagnostics Report', 'diagnostics:unittester' => 'Unit Tests', diff --git a/mod/logbrowser/languages/en.php b/mod/logbrowser/languages/en.php index 3a6555431..90689a1b0 100644 --- a/mod/logbrowser/languages/en.php +++ b/mod/logbrowser/languages/en.php @@ -6,6 +6,7 @@ */ $english = array( + 'admin:utilities:logbrowser' => 'Log browser', 'logbrowser' => 'Log browser', 'logbrowser:browse' => 'Browse system log', 'logbrowser:search' => 'Refine results', diff --git a/mod/logbrowser/views/default/admin/utilities/logbrowser.php b/mod/logbrowser/views/default/admin/utilities/logbrowser.php index 373e48a49..67fdaa553 100644 --- a/mod/logbrowser/views/default/admin/utilities/logbrowser.php +++ b/mod/logbrowser/views/default/admin/utilities/logbrowser.php @@ -34,8 +34,6 @@ if ($timeupper) { $timeupper = strtotime($timeupper); } -$title = elgg_view_title(elgg_echo('logbrowser')); - $form = elgg_view('logbrowser/form', array( 'user_guid' => $user, 'timeupper' => $timeupper, -- cgit v1.2.3