summaryrefslogtreecommitdiff
path: root/attachments.php
diff options
context:
space:
mode:
authorChristian Fowler <spider@viovio.com>2008-06-25 22:21:13 +0000
committerChristian Fowler <spider@viovio.com>2008-06-25 22:21:13 +0000
commit16c2fd331a5754c77646fe0b9c3073432df85cd6 (patch)
tree140bb3f28a4b01ff0890be767cb05f30956942c3 /attachments.php
parent7518f6007f2b44d9f561c0dec41222678ab203c4 (diff)
downloadliberty-16c2fd331a5754c77646fe0b9c3073432df85cd6.tar.gz
liberty-16c2fd331a5754c77646fe0b9c3073432df85cd6.tar.bz2
liberty-16c2fd331a5754c77646fe0b9c3073432df85cd6.zip
change display call to use a hash for display options, add display_mode to options hash
Diffstat (limited to 'attachments.php')
-rw-r--r--attachments.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/attachments.php b/attachments.php
index 988a136..5b49ce0 100644
--- a/attachments.php
+++ b/attachments.php
@@ -3,7 +3,7 @@
* attachment_browser
*
* @author spider <spider@steelsun.com>
- * @version $Revision: 1.4 $
+ * @version $Revision: 1.5 $
* @package liberty
* @subpackage functions
*/
@@ -47,5 +47,5 @@ $attachments = $gContent->getAttachmentList( $listHash );
$gBitSmarty->assign( 'listInfo', $listHash['listInfo'] );
$gBitSmarty->assign( 'attachments', $attachments );
$gBitSmarty->assign( 'feedback', $feedback );
-$gBitSystem->display( 'bitpackage:liberty/attachments.tpl', tra( 'Attachments' ));
+$gBitSystem->display( 'bitpackage:liberty/attachments.tpl', tra( 'Attachments' ), array( 'display_mode' => 'display' ));
?>