summaryrefslogtreecommitdiff
path: root/slideshow.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2006-04-30 17:43:38 +0000
committerMax Kremmel <xing@synapse.plus.com>2006-04-30 17:43:38 +0000
commit6dcf93a5fd64ce4c07ed5194bc2b26e148ec28d9 (patch)
tree1aff45fc1b80a3a9cb6f6980cfa83f9201698a50 /slideshow.php
parent062911f41b4b48e51fef25bec8f0ab86bd95d59e (diff)
downloadwiki-6dcf93a5fd64ce4c07ed5194bc2b26e148ec28d9.tar.gz
wiki-6dcf93a5fd64ce4c07ed5194bc2b26e148ec28d9.tar.bz2
wiki-6dcf93a5fd64ce4c07ed5194bc2b26e148ec28d9.zip
rename some user settings in liberty_content_prefs
Diffstat (limited to 'slideshow.php')
-rwxr-xr-xslideshow.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/slideshow.php b/slideshow.php
index 02a110b..5d9a3ae 100755
--- a/slideshow.php
+++ b/slideshow.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_wiki/slideshow.php,v 1.12 2006/04/19 17:05:55 spiderr Exp $
+ * $Header: /cvsroot/bitweaver/_bit_wiki/slideshow.php,v 1.13 2006/04/30 17:43:38 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: slideshow.php,v 1.12 2006/04/19 17:05:55 spiderr Exp $
+ * $Id: slideshow.php,v 1.13 2006/04/30 17:43:38 squareing Exp $
* @package wiki
* @subpackage functions
*/
@@ -51,12 +51,12 @@ if (!$gBitUser->hasPermission( 'p_wiki_view_page' )) {
// BreadCrumbNavigation here
// Get the number of pages from the default or userPreferences
// Remember to reverse the array when posting the array
-$anonpref = $wikilib->getPreference('userbreadCrumb', 4);
+$anonpref = $wikilib->getPreference('users_bread_crumb', 4);
if( $gBitUser->isRegistered() ) {
- $userbreadCrumb = $wikilib->getPreference('userbreadCrumb', $anonpref, $user );
+ $users_bread_crumb = $wikilib->getPreference('users_bread_crumb', $anonpref, $user );
} else {
- $userbreadCrumb = $anonpref;
+ $users_bread_crumb = $anonpref;
}
if( empty( $_SESSION["breadCrumb"] ) ) {
@@ -64,7 +64,7 @@ if( empty( $_SESSION["breadCrumb"] ) ) {
}
if( !in_array($page, $_SESSION["breadCrumb"])) {
- if (count($_SESSION["breadCrumb"]) > $userbreadCrumb) {
+ if (count($_SESSION["breadCrumb"]) > $users_bread_crumb) {
array_shift ($_SESSION["breadCrumb"]);
}