[Fusionforge-commits] r10098 - trunk/src/www/search/include/renderers

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Fri Jun 18 19:31:05 CEST 2010


Author: aljeux
Date: 2010-06-18 19:31:04 +0200 (Fri, 18 Jun 2010)
New Revision: 10098

Modified:
   trunk/src/www/search/include/renderers/FullProjectHtmlSearchRenderer.class.php
   trunk/src/www/search/include/renderers/PeopleHtmlSearchRenderer.class.php
   trunk/src/www/search/include/renderers/ProjectHtmlSearchRenderer.class.php
Log:
Improve titles in search.

Modified: trunk/src/www/search/include/renderers/FullProjectHtmlSearchRenderer.class.php
===================================================================
--- trunk/src/www/search/include/renderers/FullProjectHtmlSearchRenderer.class.php	2010-06-18 17:23:48 UTC (rev 10097)
+++ trunk/src/www/search/include/renderers/FullProjectHtmlSearchRenderer.class.php	2010-06-18 17:31:04 UTC (rev 10098)
@@ -71,7 +71,9 @@
 	 * writeBody - write the Body of the output
 	 */
 	function writeBody() {
-		site_project_header(array('title' => _('Advanced project search'), 'group' => $this->groupId, 'toptab'=>'none'));
+		$title = _('Entire project search');
+		site_project_header(array('title' => $title, 'group' => $this->groupId));
+		echo '<h1>' . $title . '</h1>';
 		echo $this->getResult();
 	}
 	
@@ -166,7 +168,7 @@
 		if ($title === '')
 			$title = $section;
 		
-		$result .= '<h3><a name="'.$section.'"></a>'.$title.'</h3>';
+		$result .= '<h2><a name="'.$section.'"></a>'.$title.'</h2>';
 		
 		if ($renderer->searchQuery->getRowsCount() > 0) {
 			$result .= $GLOBALS['HTML']->listTabletop($renderer->tableHeaders);

Modified: trunk/src/www/search/include/renderers/PeopleHtmlSearchRenderer.class.php
===================================================================
--- trunk/src/www/search/include/renderers/PeopleHtmlSearchRenderer.class.php	2010-06-18 17:23:48 UTC (rev 10097)
+++ trunk/src/www/search/include/renderers/PeopleHtmlSearchRenderer.class.php	2010-06-18 17:31:04 UTC (rev 10098)
@@ -38,8 +38,9 @@
 	 * writeHeader - write the header of the output
 	 */
 	function writeHeader() {
-		$GLOBALS['HTML']->header(array('title'=>_('Search')));
+		$GLOBALS['HTML']->header(array('title'=>_('People Search')));
 		parent::writeHeader();
+		echo '<h1>' . _('People Search') . '</h1>';
 	}
 	
 	/**

Modified: trunk/src/www/search/include/renderers/ProjectHtmlSearchRenderer.class.php
===================================================================
--- trunk/src/www/search/include/renderers/ProjectHtmlSearchRenderer.class.php	2010-06-18 17:23:48 UTC (rev 10097)
+++ trunk/src/www/search/include/renderers/ProjectHtmlSearchRenderer.class.php	2010-06-18 17:31:04 UTC (rev 10098)
@@ -38,8 +38,9 @@
 	 * writeHeader - write the header of the output
 	 */
 	function writeHeader() {
-		$GLOBALS['HTML']->header(array('title'=>_('Search'), 'pagename'=>'search'));
+		$GLOBALS['HTML']->header(array('title'=>_('Project Search'), 'pagename'=>'search'));
 		parent::writeHeader();
+		echo '<h1>' . _('Project Search') . '</h1>';
 	}
 
 	/**




More information about the Fusionforge-commits mailing list