svn: /pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/ Categories.tpl.php Category.tpl.php News.tpl.php Package.tpl.php
PackageRelease.tpl.php Search.tpl.php Support.tpl.php

From: Date: Fri, 25 Jun 2010 22:23:50 +0000
Subject: svn: /pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/ Categories.tpl.php Category.tpl.php News.tpl.php Package.tpl.php
PackageRelease.tpl.php Search.tpl.php Support.tpl.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-9544@lists.php.net to get a copy of this message
gauthierm Fri, 25 Jun 2010 22:23:50 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=300761 Log: Consistify page titles. Changed paths: U pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/Categories.tpl.php U pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/Category.tpl.php U pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/News.tpl.php U pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/Package.tpl.php U pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/PackageRelease.tpl.php U pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/Search.tpl.php U pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/Support.tpl.php Modified: pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/Categories.tpl.php =================================================================== --- pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/Categories.tpl.php 2010-06-25 22:23:36 UTC (rev 300760) +++ pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/Categories.tpl.php 2010-06-25 22:23:50 UTC (rev 300761) @@ -1,7 +1,8 @@ <?php // Set the page title -$parent->context->page_title = 'Categories | ' . PEAR2\SimpleChannelFrontend\Main::$channel->name; +$parent->context->page_title = 'Categories - ' + . PEAR2\SimpleChannelFrontend\Main::$title; $categoriesPerRow = 3; $packagesPerCategory = 4; Modified: pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/Category.tpl.php =================================================================== --- pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/Category.tpl.php 2010-06-25 22:23:36 UTC (rev 300760) +++ pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/Category.tpl.php 2010-06-25 22:23:50 UTC (rev 300761) @@ -1,7 +1,8 @@ <?php // Set the page title -$parent->context->page_title = $context->name . ' | Categories | ' . PEAR2\SimpleChannelFrontend\Main::$channel->name; +$parent->context->page_title = $context->name . ' - Categories - ' + . PEAR2\SimpleChannelFrontend\Main::$title; ?> Modified: pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/News.tpl.php =================================================================== --- pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/News.tpl.php 2010-06-25 22:23:36 UTC (rev 300760) +++ pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/News.tpl.php 2010-06-25 22:23:50 UTC (rev 300761) @@ -1,6 +1,8 @@ <?php -// Set the title for the main template -$parent->context->page_title = 'News | pear2.php.net'; + +// Set the page title +$parent->context->page_title = PEAR2\SimpleChannelFrontend\Main::$title; + $rss_feed = '/var/tmp/pear/rss_cache/pear-news.xml'; if (file_exists($rss_feed)) { $blog = simplexml_load_file($rss_feed); Modified: pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/Package.tpl.php =================================================================== --- pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/Package.tpl.php 2010-06-25 22:23:36 UTC (rev 300760) +++ pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/Package.tpl.php 2010-06-25 22:23:50 UTC (rev 300761) @@ -1,6 +1,9 @@ <?php -// Set the title for the main template -$parent->context->page_title = $context->name.' | pear2.php.net'; + +// Set the page title +$parent->context->page_title = $context->name . ' - ' + . PEAR2\SimpleChannelFrontend\Main::$title; + ?> <div class="left"> @@ -51,7 +54,7 @@ foreach ($context as $version => $release) { - $releaseURL = pear2\SimpleChannelFrontend\Main::getURL() + $releaseURL = PEAR2\SimpleChannelFrontend\Main::getURL() . $context->name . '-' . $version; $class = ($count % 2 === 0) ? 'odd' : 'even'; Modified: pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/PackageRelease.tpl.php =================================================================== --- pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/PackageRelease.tpl.php 2010-06-25 22:23:36 UTC (rev 300760) +++ pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/PackageRelease.tpl.php 2010-06-25 22:23:50 UTC (rev 300761) @@ -1,6 +1,10 @@ <?php -// Set the title for the main template -$parent->context->page_title = $context->name . '-' . $context->version['release'] . ' | pear2.php.net'; + +// Set the page title +$parent->context->page_title = $context->name . '-' + . $context->version['release'] . ' - ' . + . PEAR2\SimpleChannelFrontend\Main::$title; + ?> <div class="left"> Modified: pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/Search.tpl.php =================================================================== --- pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/Search.tpl.php 2010-06-25 22:23:36 UTC (rev 300760) +++ pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/Search.tpl.php 2010-06-25 22:23:50 UTC (rev 300761) @@ -1,6 +1,9 @@ <?php + // Set the title for the main template -$parent->context->page_title = 'Search | ' . PEAR2\SimpleChannelFrontend\Main::$channel->name; +$parent->context->page_title = 'Package Search - ' . + PEAR2\SimpleChannelFrontend\Main::$title; + ?> <div id="search-packages" class="package-list pearbox"> <div class="pearbox-header"> Modified: pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/Support.tpl.php =================================================================== --- pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/Support.tpl.php 2010-06-25 22:23:36 UTC (rev 300760) +++ pear2/sandbox/pear2.php.net/trunk/www/templates/pear2/html/Support.tpl.php 2010-06-25 22:23:50 UTC (rev 300761) @@ -1,6 +1,9 @@ <?php + // Set the title for the main template -$parent->context->page_title = 'Support | '.PEAR2\SimpleChannelFrontend\Main::$channel->name; +$parent->context->page_title = 'Support - ' + . PEAR2\SimpleChannelFrontend\Main::$title; + ?> <div class="support"> <h2>Support</h2>

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