svn: /pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/ ReleaseFileBrowser.tpl.php

From: Date: Tue, 13 Jul 2010 12:45:00 +0000
Subject: svn: /pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/ ReleaseFileBrowser.tpl.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-9577@lists.php.net to get a copy of this message
gauthierm Tue, 13 Jul 2010 12:45:00 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=301233 Log: Set a proper page title. Changed paths: U pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/ReleaseFileBrowser.tpl.php Modified: pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/ReleaseFileBrowser.tpl.php =================================================================== --- pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/ReleaseFileBrowser.tpl.php 2010-07-13 12:23:35 UTC (rev 301232) +++ pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/ReleaseFileBrowser.tpl.php 2010-07-13 12:45:00 UTC (rev 301233) @@ -11,8 +11,15 @@ . $releaseRoot; // Set the page title -$parent->context->page_title = 'File Content - ' - . PEAR2\SimpleChannelFrontend\Main::$title; +if (isset($context->options['file'])) { + $parent->context->page_title = $context->options['file'] . ' - ' + . $releaseRoot . ' - ' + . PEAR2\SimpleChannelFrontend\Main::$title; +} else { + $parent->context->page_title = 'Files - ' + . $releaseRoot . ' - ' + . PEAR2\SimpleChannelFrontend\Main::$title; +} ?> <div class="file-title pearbox">

« previous php.pear.core (#9577) next »