Put the unique part of the page title first - better for SEO and browser tab display
authorChuck Hagenbuch <chuck@horde.org>
Tue, 9 Nov 2010 18:53:35 +0000 (13:53 -0500)
committerChuck Hagenbuch <chuck@horde.org>
Tue, 9 Nov 2010 18:53:35 +0000 (13:53 -0500)
chora/templates/common-header.inc

index 24995b7..acb737c 100644 (file)
@@ -10,7 +10,7 @@ echo !empty($language) ? '<html lang="' . strtr($language, '_', '-') . '">' : '<
 
 $page_title = $GLOBALS['registry']->get('name');
 if (!empty($title)) {
-    $page_title .= ' :: ' . $title;
+    $page_title = $title . ' - ' . $page_title;
 }
 
 Horde::outputMetaTags();