summaryrefslogtreecommitdiff
path: root/rankings.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2005-08-01 18:42:06 +0000
committerMax Kremmel <xing@synapse.plus.com>2005-08-01 18:42:06 +0000
commitaa1fc688af3a1b78a73369d378b0c5b3cdbd9bee (patch)
tree096ac1d919c8fea068b59334c67457f636289121 /rankings.php
parentcb5983c245afe264915abf248d87fb7a6498751c (diff)
downloadwiki-aa1fc688af3a1b78a73369d378b0c5b3cdbd9bee.tar.gz
wiki-aa1fc688af3a1b78a73369d378b0c5b3cdbd9bee.tar.bz2
wiki-aa1fc688af3a1b78a73369d378b0c5b3cdbd9bee.zip
merge recent changes with HEAD - R1 and HEAD are identical now
Diffstat (limited to 'rankings.php')
-rw-r--r--rankings.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/rankings.php b/rankings.php
index 95e02cf..65b739e 100644
--- a/rankings.php
+++ b/rankings.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_wiki/rankings.php,v 1.3 2005/07/17 17:36:45 squareing Exp $
+ * $Header: /cvsroot/bitweaver/_bit_wiki/rankings.php,v 1.4 2005/08/01 18:42:04 squareing Exp $
*
* Copyright (c) 2004 bitweaver.org
* Copyright (c) 2003 tikwiki.org
@@ -8,7 +8,7 @@
* All Rights Reserved. See copyright.txt for details and a complete list of authors.
* Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details
*
- * $Id: rankings.php,v 1.3 2005/07/17 17:36:45 squareing Exp $
+ * $Id: rankings.php,v 1.4 2005/08/01 18:42:04 squareing Exp $
* @package wiki
* @subpackage functions
*/
@@ -21,12 +21,12 @@ include_once( KERNEL_PKG_PATH.'rank_lib.php' );
$gBitSystem->verifyPackage( 'wiki' );
if ($feature_wiki_rankings != 'y') {
- $smarty->assign('msg', tra("This feature is disabled").": feature_wiki_rankings");
+ $gBitSmarty->assign('msg', tra("This feature is disabled").": feature_wiki_rankings");
$gBitSystem->display( 'error.tpl' );
die;
}
if (!$gBitUser->hasPermission( 'bit_p_view' )) {
- $smarty->assign('msg', tra("Permission denied you cannot view this section"));
+ $gBitSmarty->assign('msg', tra("Permission denied you cannot view this section"));
$gBitSystem->display( 'error.tpl' );
die;
}
@@ -54,14 +54,14 @@ $allrankings = array(
'value' => 'wiki_ranking_top_authors'
)
);
-$smarty->assign('allrankings', $allrankings);
+$gBitSmarty->assign('allrankings', $allrankings);
if (!isset($_REQUEST["which"])) {
$which = 'wiki_ranking_top_pages';
} else {
$which = $_REQUEST["which"];
}
-$smarty->assign('which', $which);
-$smarty->assign_by_ref('limit', $limit);
+$gBitSmarty->assign('which', $which);
+$gBitSmarty->assign_by_ref('limit', $limit);
// Rankings:
// Top Pages
// Last pages
@@ -72,8 +72,8 @@ $rank["data"] = $rk["data"];
$rank["title"] = $rk["title"];
$rank["y"] = $rk["y"];
$rankings[] = $rank;
-$smarty->assign_by_ref('rankings', $rankings);
-$smarty->assign('rpage', WIKI_PKG_URL.'rankings.php');
+$gBitSmarty->assign_by_ref('rankings', $rankings);
+$gBitSmarty->assign('rpage', WIKI_PKG_URL.'rankings.php');
// Display the template
$gBitSystem->display( 'bitpackage:kernel/ranking.tpl');
?>