diff --git a/admin/batch_manager_global.php b/admin/batch_manager_global.php index 50395a193..6b8c0c065 100644 --- a/admin/batch_manager_global.php +++ b/admin/batch_manager_global.php @@ -476,6 +476,7 @@ $template->assign( 'PWG_TOKEN' => get_pwg_token(), 'U_DISPLAY'=>$base_url.get_query_string_diff(array('display')), 'F_ACTION'=>$base_url.get_query_string_diff(array('cat','start','tag','filter')), + 'ADMIN_PAGE_TITLE' => l10n('Batch Manager'), ) ); diff --git a/admin/batch_manager_unit.php b/admin/batch_manager_unit.php index 74493e959..50d463246 100644 --- a/admin/batch_manager_unit.php +++ b/admin/batch_manager_unit.php @@ -109,6 +109,7 @@ $template->assign( 'U_ELEMENTS_PAGE' => $base_url.get_query_string_diff(array('display','start')), 'F_ACTION' => $base_url.get_query_string_diff(array()), 'level_options' => get_privacy_level_options(), + 'ADMIN_PAGE_TITLE' => l10n('Batch Manager'), ) ); diff --git a/admin/extend_for_templates.php b/admin/extend_for_templates.php index e898d15af..00bffd2d6 100644 --- a/admin/extend_for_templates.php +++ b/admin/extend_for_templates.php @@ -184,6 +184,7 @@ foreach ($tpl_extension as $file => $conditions) // +-----------------------------------------------------------------------+ // | html code display | // +-----------------------------------------------------------------------+ +$template->assign('ADMIN_PAGE_TITLE', l10n('Extend for templates')); $template->assign_var_from_handle('ADMIN_CONTENT', 'extend_for_templates'); ?> \ No newline at end of file diff --git a/admin/history.php b/admin/history.php index ed7951f1d..69a2d6c46 100644 --- a/admin/history.php +++ b/admin/history.php @@ -113,6 +113,7 @@ $template->assign( $template->assign('display_thumbnails', $display_thumbnails); $template->assign('display_thumbnail_selected', $form['display_thumbnail']); $template->assign('guest_id', $conf['guest_id']); +$template->assign('ADMIN_PAGE_TITLE', l10n('History')); // +-----------------------------------------------------------------------+ // | html code display | diff --git a/admin/languages_installed.php b/admin/languages_installed.php index 117aa6569..8b0cf4e06 100644 --- a/admin/languages_installed.php +++ b/admin/languages_installed.php @@ -116,6 +116,7 @@ DELETE } $template->assign('isWebmaster', (is_webmaster()) ? 1 : 0); +$template->assign('ADMIN_PAGE_TITLE', l10n('Languages')); $template->assign_var_from_handle('ADMIN_CONTENT', 'languages'); ?> diff --git a/admin/languages_new.php b/admin/languages_new.php index 4528d9fcc..ca397ca64 100644 --- a/admin/languages_new.php +++ b/admin/languages_new.php @@ -108,6 +108,7 @@ else { $page['errors'][] = l10n('Can\'t connect to server.'); } +$template->assign('ADMIN_PAGE_TITLE', l10n('Languages')); $template->assign_var_from_handle('ADMIN_CONTENT', 'languages'); ?> \ No newline at end of file diff --git a/admin/menubar.php b/admin/menubar.php index 943c92221..9cd8a1d62 100644 --- a/admin/menubar.php +++ b/admin/menubar.php @@ -155,6 +155,7 @@ $action = get_root_url().'admin.php?page=menubar'; $template->assign(array('F_ACTION'=>$action)); $template->assign('isWebmaster', (is_webmaster()) ? 1 : 0); +$template->assign('ADMIN_PAGE_TITLE', l10n('Menu Management')); $template->set_filename( 'menubar_admin_content', 'menubar.tpl' ); $template->assign_var_from_handle( 'ADMIN_CONTENT', 'menubar_admin_content'); diff --git a/admin/notification_by_mail.php b/admin/notification_by_mail.php index d6b556b43..19f0bd8df 100644 --- a/admin/notification_by_mail.php +++ b/admin/notification_by_mail.php @@ -725,6 +725,8 @@ switch ($page['mode']) } } +$template->assign('ADMIN_PAGE_TITLE', l10n('Send mail to users')); + // +-----------------------------------------------------------------------+ // | Sending html code | // +-----------------------------------------------------------------------+ diff --git a/admin/permalinks.php b/admin/permalinks.php index eaebb6c64..56b336434 100644 --- a/admin/permalinks.php +++ b/admin/permalinks.php @@ -181,6 +181,7 @@ $template->assign(array( 'PWG_TOKEN' => $pwg_token, 'U_HELP' => get_root_url().'admin/popuphelp.php?page=permalinks', 'deleted_permalinks' => $deleted_permalinks, + 'ADMIN_PAGE_TITLE' => l10n('Albums'), )); $template->assign_var_from_handle('ADMIN_CONTENT', 'permalinks'); diff --git a/admin/photos_add_applications.php b/admin/photos_add_applications.php index 2957c0ca0..efe1a31e1 100644 --- a/admin/photos_add_applications.php +++ b/admin/photos_add_applications.php @@ -19,5 +19,7 @@ if (!defined('PHOTOS_ADD_BASE_URL')) // | sending html code | // +-----------------------------------------------------------------------+ +$template->assign('ADMIN_PAGE_TITLE', l10n('Upload Photos')); + $template->assign_var_from_handle('ADMIN_CONTENT', 'photos_add'); ?> \ No newline at end of file diff --git a/admin/photos_add_ftp.php b/admin/photos_add_ftp.php index c420c34d3..004242fa7 100644 --- a/admin/photos_add_ftp.php +++ b/admin/photos_add_ftp.php @@ -27,6 +27,7 @@ $template->assign( // +-----------------------------------------------------------------------+ // | sending html code | // +-----------------------------------------------------------------------+ +$template->assign('ADMIN_PAGE_TITLE', l10n('Upload Photos')); $template->assign_var_from_handle('ADMIN_CONTENT', 'photos_add'); ?> \ No newline at end of file diff --git a/admin/plugins_installed.php b/admin/plugins_installed.php index 9defc87fb..18101971a 100644 --- a/admin/plugins_installed.php +++ b/admin/plugins_installed.php @@ -194,6 +194,7 @@ $template->assign( 'show_details' => $show_details, 'max_inactive_before_hide' => isset($_GET['show_inactive']) ? 999 : 8, 'isWebmaster' => (is_webmaster()) ? 1 : 0, + 'ADMIN_PAGE_TITLE' => l10n('Plugins'), ) ); diff --git a/admin/plugins_new.php b/admin/plugins_new.php index a3e3447bf..9b8fb3f1c 100644 --- a/admin/plugins_new.php +++ b/admin/plugins_new.php @@ -185,6 +185,7 @@ if (!$beta_test and preg_match('/(beta|RC)/', PHPWG_VERSION)) { $template->assign('BETA_URL', $base_url.'&beta-test=true'); } +$template->assign('ADMIN_PAGE_TITLE', l10n('Plugins')); $template->assign_var_from_handle('ADMIN_CONTENT', 'plugins'); ?> \ No newline at end of file diff --git a/admin/rating.php b/admin/rating.php index 679ab4dcb..c18e7235a 100644 --- a/admin/rating.php +++ b/admin/rating.php @@ -162,7 +162,7 @@ $user_options = array( $template->assign('user_options', $user_options ); $template->assign('user_options_selected', array(@$_GET['users']) ); - +$template->assign('ADMIN_PAGE_TITLE', l10n('Rating')); $query = ' SELECT i.id, diff --git a/admin/rating_user.php b/admin/rating_user.php index c65da8e96..f58427ea5 100644 --- a/admin/rating_user.php +++ b/admin/rating_user.php @@ -245,7 +245,8 @@ $template->assign( array( 'image_urls' => $image_urls, 'TN_WIDTH' => ImageStdParams::get_by_type(IMG_SQUARE)->sizing->ideal_size[0], 'NB_ELEMENTS' => $nb_elements, - ) ); + 'ADMIN_PAGE_TITLE' => l10n('Rating'), + )); $template->set_filename('rating', 'rating_user.tpl'); $template->assign_var_from_handle('ADMIN_CONTENT', 'rating'); diff --git a/admin/tags.php b/admin/tags.php index 6d74caeef..c8add65fc 100644 --- a/admin/tags.php +++ b/admin/tags.php @@ -150,7 +150,8 @@ $template->assign( 'first_tags' => array_slice($all_tags, 0, $per_page), 'data' => $all_tags, 'total' => count($all_tags), - 'per_page' => $per_page + 'per_page' => $per_page, + 'ADMIN_PAGE_TITLE' => l10n('Tags'), ) ); diff --git a/admin/themes/default/template/batch_manager_global.tpl b/admin/themes/default/template/batch_manager_global.tpl index 57d69a680..614701abc 100644 --- a/admin/themes/default/template/batch_manager_global.tpl +++ b/admin/themes/default/template/batch_manager_global.tpl @@ -345,9 +345,6 @@ var sliders = { {combine_css path="admin/themes/default/fontello/css/animation.css" order=10} {* order 10 is required, see issue 1080 *}