summaryrefslogtreecommitdiff
path: root/attachment_browser.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2008-10-16 09:00:25 +0000
committerMax Kremmel <xing@synapse.plus.com>2008-10-16 09:00:25 +0000
commit6ca57aaffd9451516197de3f24a5802e36678ec9 (patch)
tree85ca3a509503c6beb321d6574ae379e5a58a2d9d /attachment_browser.php
parent78eaaa9b043e7555622d9e57fb0fa53ca45c3b88 (diff)
downloadliberty-6ca57aaffd9451516197de3f24a5802e36678ec9.tar.gz
liberty-6ca57aaffd9451516197de3f24a5802e36678ec9.tar.bz2
liberty-6ca57aaffd9451516197de3f24a5802e36678ec9.zip
trailing whitespace
Diffstat (limited to 'attachment_browser.php')
-rw-r--r--attachment_browser.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/attachment_browser.php b/attachment_browser.php
index 77ef065..a3044ea 100644
--- a/attachment_browser.php
+++ b/attachment_browser.php
@@ -3,7 +3,7 @@
* attachment_browser
*
* @author spider <spider@steelsun.com>
- * @version $Revision: 1.16 $
+ * @version $Revision: 1.17 $
* @package liberty
* @subpackage functions
*/
@@ -35,16 +35,16 @@ if (isset($_REQUEST['attachment_id']) && is_numeric($_REQUEST['attachment_id']))
'load_attached_to' => true,
);
$userAttachments = $gBitUser->getUserAttachments( $listHash );
-
+
// Fake the storage assignment for edit_storage_list.tpl
$gContent->mStorage = $userAttachments;
$gBitSmarty->assign('gContent', $gContent);
-
+
// pagination
$offset = @BitBase::verifyId( $_REQUEST['offset'] ) ? $_REQUEST['offset'] : 0;
$gBitSmarty->assign( 'curPage', $pgnPage = @BitBase::verifyId( $_REQUEST['pgnPage'] ) ? $_REQUEST['pgnPage'] : 1 );
$offset = ( $pgnPage - 1 ) * $gBitSystem->getConfig( 'max_records' );
-
+
// calculate page number
$numPages = ceil( $listHash['cant'] / $gBitSystem->getConfig( 'max_records' ) );
$gBitSmarty->assign( 'cant', $listHash['cant'] );