[pLog-svn] r6954 - plog/branches/lifetype-1.2/class/view
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Thu Jan 7 11:31:06 EST 2010
Author: jondaley
Date: 2010-01-07 11:31:06 -0500 (Thu, 07 Jan 2010)
New Revision: 6954
Modified:
plog/branches/lifetype-1.2/class/view/defaultview.class.php
Log:
add page number to all pages. (todo: we probably shouldn't override getPageTitle, but instead just set the _pageTitle variable, right?)
Modified: plog/branches/lifetype-1.2/class/view/defaultview.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/view/defaultview.class.php 2010-01-07 16:12:39 UTC (rev 6953)
+++ plog/branches/lifetype-1.2/class/view/defaultview.class.php 2010-01-07 16:31:06 UTC (rev 6954)
@@ -67,6 +67,10 @@
elseif(( $category = $this->getValue( "category" ))) {
$title .= " | ".$category->getName();
}
+
+ $page = $this->getCurrentPageFromRequest();
+ if($page != 1)
+ $title .= " | $page";
return( $title );
}
More information about the pLog-svn
mailing list