summaryrefslogtreecommitdiff
path: root/rankings.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2005-08-01 18:40:05 +0000
committerMax Kremmel <xing@synapse.plus.com>2005-08-01 18:40:05 +0000
commit21e69057e4a6ae3ed3b31a25b8d4c1c8924683e4 (patch)
tree1685d8602f4674e12781efff81e32f2237b47ade /rankings.php
parenta09f7396779ae017a2a60993e28bc88faee13f9c (diff)
downloadblogs-21e69057e4a6ae3ed3b31a25b8d4c1c8924683e4.tar.gz
blogs-21e69057e4a6ae3ed3b31a25b8d4c1c8924683e4.tar.bz2
blogs-21e69057e4a6ae3ed3b31a25b8d4c1c8924683e4.zip
merge recent changes with HEAD - R1 and HEAD are identical now
Diffstat (limited to 'rankings.php')
-rw-r--r--rankings.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/rankings.php b/rankings.php
index 3c18040..f8ef50e 100644
--- a/rankings.php
+++ b/rankings.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_blogs/rankings.php,v 1.2 2005/06/28 07:45:39 spiderr Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_blogs/rankings.php,v 1.3 2005/08/01 18:40:04 squareing Exp $
* @package blogs
* @subpackage functions
@@ -20,7 +20,7 @@ include_once( KERNEL_PKG_PATH.'rank_lib.php' );
$gBitSystem->verifyPackage( 'blogs' );
if ($feature_blog_rankings != 'y') {
- $smarty->assign('msg', tra("This feature is disabled").": feature_blog_rankings");
+ $gBitSmarty->assign('msg', tra("This feature is disabled").": feature_blog_rankings");
$gBitSystem->display( 'error.tpl' );
die;
@@ -43,7 +43,7 @@ $allrankings = array(
)
);
-$smarty->assign('allrankings', $allrankings);
+$gBitSmarty->assign('allrankings', $allrankings);
if (!isset($_REQUEST["which"])) {
$which = 'blog_ranking_top_blogs';
@@ -51,7 +51,7 @@ if (!isset($_REQUEST["which"])) {
$which = $_REQUEST["which"];
}
-$smarty->assign('which', $which);
+$gBitSmarty->assign('which', $which);
// Get the page from the request var or default it to HomePage
if (!isset($_REQUEST["limit"])) {
@@ -60,7 +60,7 @@ if (!isset($_REQUEST["limit"])) {
$limit = $_REQUEST["limit"];
}
-$smarty->assign_by_ref('limit', $limit);
+$gBitSmarty->assign_by_ref('limit', $limit);
// Rankings:
// Top Pages
@@ -74,8 +74,8 @@ $rank["title"] = $rk["title"];
$rank["y"] = $rk["y"];
$rankings[] = $rank;
-$smarty->assign_by_ref('rankings', $rankings);
-$smarty->assign('rpage', 'rankings.php');
+$gBitSmarty->assign_by_ref('rankings', $rankings);
+$gBitSmarty->assign('rpage', 'rankings.php');
// Display the template