summaryrefslogtreecommitdiff
path: root/display_fisheye_gallery_inc.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2005-08-01 18:40:27 +0000
committerMax Kremmel <xing@synapse.plus.com>2005-08-01 18:40:27 +0000
commite0855901be732e522fb3e300b2e70af702124464 (patch)
tree8f6a68c00ad0bebdb986586ef5287242e2bd4cc6 /display_fisheye_gallery_inc.php
parent18c7d1bed3043cbb682431cc297f4d235b137d1e (diff)
downloadfisheye-e0855901be732e522fb3e300b2e70af702124464.tar.gz
fisheye-e0855901be732e522fb3e300b2e70af702124464.tar.bz2
fisheye-e0855901be732e522fb3e300b2e70af702124464.zip
merge recent changes with HEAD - R1 and HEAD are identical now
Diffstat (limited to 'display_fisheye_gallery_inc.php')
-rw-r--r--display_fisheye_gallery_inc.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/display_fisheye_gallery_inc.php b/display_fisheye_gallery_inc.php
index 31e59d1..5cc3b6d 100644
--- a/display_fisheye_gallery_inc.php
+++ b/display_fisheye_gallery_inc.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_fisheye/display_fisheye_gallery_inc.php,v 1.2 2005/06/28 07:45:42 spiderr Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_fisheye/display_fisheye_gallery_inc.php,v 1.3 2005/08/01 18:40:07 squareing Exp $
* @package fisheye
* @subpackage functions
*/
@@ -8,7 +8,7 @@
if( !$gContent->hasUserAccess( 'bit_p_view_fisheye' ) ) {
if ( !empty($_REQUEST['submit_answer'])) { // User is attempting to authenticate themseleves to view this gallery
if( !$gContent->validateUserAccess( $_REQUEST['try_access_answer']) ) {
- $smarty->assign("failedLogin", "Incorrect Answer");
+ $gBitSmarty->assign("failedLogin", "Incorrect Answer");
$gBitSystem->display("bitpackage:fisheye/authenticate.tpl", "Password Required to view: ".$gContent->getTitle() );
die;
}
@@ -46,11 +46,11 @@ if ($page > $gContent->mInfo['num_pages']) {
$imagesPerPage = $gContent->mInfo['rows_per_page'] * $gContent->mInfo['cols_per_page'];
$imageOffset = $imagesPerPage * ($page-1);
-$smarty->assign_by_ref('page', $page);
-$smarty->assign_by_ref('imagesPerPage', $imagesPerPage);
-$smarty->assign_by_ref('imageOffset', $imageOffset);
-$smarty->assign_by_ref('rows_per_page', $gContent->mInfo['rows_per_page']);
-$smarty->assign_by_ref('cols_per_page', $gContent->mInfo['cols_per_page']);
+$gBitSmarty->assign_by_ref('page', $page);
+$gBitSmarty->assign_by_ref('imagesPerPage', $imagesPerPage);
+$gBitSmarty->assign_by_ref('imageOffset', $imageOffset);
+$gBitSmarty->assign_by_ref('rows_per_page', $gContent->mInfo['rows_per_page']);
+$gBitSmarty->assign_by_ref('cols_per_page', $gContent->mInfo['cols_per_page']);
$gContent->loadImages($imageOffset, $imagesPerPage);
$gContent->addHit();