Make page titles shorter and more focused - SEO, and more useful information in the...
authorChuck Hagenbuch <chuck@horde.org>
Tue, 9 Nov 2010 18:52:49 +0000 (13:52 -0500)
committerChuck Hagenbuch <chuck@horde.org>
Tue, 9 Nov 2010 18:52:49 +0000 (13:52 -0500)
chora/browsedir.php
chora/browsefile.php

index a201906..b896cee 100644 (file)
@@ -36,7 +36,7 @@ try {
 /* Decide what title to display. */
 $title = ($where == '')
     ? $conf['options']['introTitle']
-    : sprintf(_("Source Directory of /%s"), $where);
+    : "/$where";
 
 $extraLink = $VC->hasFeature('deleted')
     ? Horde::widget(Chora::url('browsedir', $where . '/', $branchArgs + array('sa' => ($acts['sa'] ? 0 : 1))), $acts['sa'] ? _("Hide Deleted Files") : _("Show Deleted Files"), 'widget', '', '', $acts['sa'] ? _("Hide _Deleted Files") : _("Show _Deleted Files"))
index 0748e58..d2b6fde 100644 (file)
@@ -27,7 +27,7 @@ try {
     Chora::fatal($e);
 }
 
-$title = sprintf(_("Revisions for %s"), $where);
+$title = $where;
 
 $extraLink = Chora::getFileViews($where, 'browsefile');
 $logs = $fl->queryLogs();