summaryrefslogtreecommitdiff
path: root/list_content.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2005-07-17 17:36:11 +0000
committerMax Kremmel <xing@synapse.plus.com>2005-07-17 17:36:11 +0000
commit1a61ad61ec634313c7bf8b46b74c8dcd2fcc778c (patch)
tree0092f5a24ffb7fca352d6a5f69eacba5fde71bc5 /list_content.php
parent0cca5428deb82c6e76859f034662a6cbbaa69b6e (diff)
downloadliberty-1a61ad61ec634313c7bf8b46b74c8dcd2fcc778c.tar.gz
liberty-1a61ad61ec634313c7bf8b46b74c8dcd2fcc778c.tar.bz2
liberty-1a61ad61ec634313c7bf8b46b74c8dcd2fcc778c.zip
Merge recent changes from R1 to HEAD - never doing this again.
Diffstat (limited to 'list_content.php')
-rw-r--r--list_content.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/list_content.php b/list_content.php
index 7895147..52ade1d 100644
--- a/list_content.php
+++ b/list_content.php
@@ -3,7 +3,7 @@
* list_content
*
* @author spider <spider@steelsun.com>
- * @version $Revision: 1.2 $
+ * @version $Revision: 1.3 $
* @package Liberty
* @subpackage functions
*/
@@ -22,7 +22,7 @@ if( !empty( $_REQUEST['sort_mode'] ) ) {
$max_content = $gBitSystem->mPrefs['maxRecords'];
$offset_content = !empty( $_REQUEST['offset'] ) ? $_REQUEST['offset'] : 0;
$smarty->assign( 'user_id', !empty( $_REQUEST['user_id'] ) ? $_REQUEST['user_id'] : NULL );
-$smarty->assign( 'page', $page = !empty( $_REQUEST['page'] ) ? $_REQUEST['page'] : 1 );
+$smarty->assign( 'curPage', $page = !empty( $_REQUEST['page'] ) ? $_REQUEST['page'] : 1 );
$offset_content = ( $page - 1 ) * $gBitSystem->mPrefs['maxRecords'];
// now that we have all the offsets, we can get the content list