summaryrefslogtreecommitdiff
path: root/like_pages.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 /like_pages.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 'like_pages.php')
-rw-r--r--like_pages.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/like_pages.php b/like_pages.php
index a2d3f7d..5f5f0b3 100644
--- a/like_pages.php
+++ b/like_pages.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_wiki/like_pages.php,v 1.2 2005/06/28 07:46:27 spiderr Exp $
+ * $Header: /cvsroot/bitweaver/_bit_wiki/like_pages.php,v 1.3 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: like_pages.php,v 1.2 2005/06/28 07:46:27 spiderr Exp $
+ * $Id: like_pages.php,v 1.3 2005/08/01 18:42:04 squareing Exp $
* @package wiki
* @subpackage functions
*/
@@ -21,28 +21,28 @@ include_once( WIKI_PKG_PATH.'BitPage.php');
include_once( WIKI_PKG_PATH.'lookup_page_inc.php' );
$gBitSystem->verifyPackage( 'wiki' );
if ($feature_likePages != 'y') {
- $smarty->assign('msg', tra("This feature is disabled").": feature_likePages");
+ $gBitSmarty->assign('msg', tra("This feature is disabled").": feature_likePages");
$gBitSystem->display( 'error.tpl' );
die;
}
// Get the page from the request var or default it to HomePage
if( !$gContent->isValid() ) {
- $smarty->assign('msg', tra("No page indicated"));
+ $gBitSmarty->assign('msg', tra("No page indicated"));
$gBitSystem->display( 'error.tpl' );
die;
}
include_once( WIKI_PKG_PATH.'page_setup_inc.php' );
// Now check permissions to access this page
if (!$gBitUser->hasPermission( 'bit_p_view' )) {
- $smarty->assign('msg', tra("Permission denied you cannot view pages like this page"));
+ $gBitSmarty->assign('msg', tra("Permission denied you cannot view pages like this page"));
$gBitSystem->display( 'error.tpl' );
die;
}
$likepages = $wikilib->get_like_pages( $gContent->mInfo['title'] );
-$smarty->assign_by_ref('likepages', $likepages);
+$gBitSmarty->assign_by_ref('likepages', $likepages);
// Display the template
$gBitSystem->display( 'bitpackage:wiki/like_pages.tpl');
-$smarty->assign('show_page_bar', 'y');
+$gBitSmarty->assign('show_page_bar', 'y');
?>