summaryrefslogtreecommitdiff
path: root/templates
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 /templates
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 'templates')
-rw-r--r--templates/center_wiki_page.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/center_wiki_page.php b/templates/center_wiki_page.php
index 14283ad..062fb87 100644
--- a/templates/center_wiki_page.php
+++ b/templates/center_wiki_page.php
@@ -1,10 +1,10 @@
<?php
-global $modlib, $gQueryUserId, $smarty, $fHomepage;
+global $modlib, $gQueryUserId, $gBitSmarty, $fHomepage;
$errors = array();
$success = array();
-$smarty->assign_by_ref('errors', $errors);
-$smarty->assign_by_ref('success', $success);
+$gBitSmarty->assign_by_ref('errors', $errors);
+$gBitSmarty->assign_by_ref('success', $success);
if (!empty($_REQUEST['fSubmitCenterWikiPageSettings'])) {
if (empty($fHomepage) || $fHomepage != $gBitUser->mUserId) {
@@ -18,7 +18,7 @@ if (!empty($_REQUEST['fSubmitCenterWikiPageSettings'])) {
// Get Parameters Assigned to this module
$modParams = $modlib->get_module_params('bitpackage:wiki/center_wiki_page.tpl', $gQueryUserId);
-$smarty->assign_by_ref('modParams', $modParams);
+$gBitSmarty->assign_by_ref('modParams', $modParams);
// Load up the correct wiki page
$_REQUEST['page'] = (!empty($modParams['page']) ? $modParams['page'] : 'HomePage');
@@ -28,8 +28,8 @@ include_once(WIKI_PKG_PATH."lookup_page_inc.php");
$gContent->mInfo['parsed_data'] = $gContent->parseData();
// userOwnsPage determines whether or not the viewing user owns the page (i.e. this is the center_wiki_page on their user homepage)
-$smarty->assign('userOwnsPage', (!empty($fHomepage) && $fHomepage == $gBitUser->mUserId));
+$gBitSmarty->assign('userOwnsPage', (!empty($fHomepage) && $fHomepage == $gBitUser->mUserId));
-$smarty->assign('fEditCenterWikiPageSettings', !empty($_REQUEST['fEditCenterWikiPageSettings']) ? TRUE : FALSE);
+$gBitSmarty->assign('fEditCenterWikiPageSettings', !empty($_REQUEST['fEditCenterWikiPageSettings']) ? TRUE : FALSE);
?>