diff options
| author | Christian Fowler <spider@viovio.com> | 2008-06-25 22:21:13 +0000 |
|---|---|---|
| committer | Christian Fowler <spider@viovio.com> | 2008-06-25 22:21:13 +0000 |
| commit | 16c2fd331a5754c77646fe0b9c3073432df85cd6 (patch) | |
| tree | 140bb3f28a4b01ff0890be767cb05f30956942c3 /view_file.php | |
| parent | 7518f6007f2b44d9f561c0dec41222678ab203c4 (diff) | |
| download | liberty-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 'view_file.php')
| -rw-r--r-- | view_file.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/view_file.php b/view_file.php index 08adcd0..8c67c45 100644 --- a/view_file.php +++ b/view_file.php @@ -1,6 +1,6 @@ <?php /** - * @version $Header: /cvsroot/bitweaver/_bit_liberty/view_file.php,v 1.2 2008/06/14 09:04:15 squareing Exp $ + * @version $Header: /cvsroot/bitweaver/_bit_liberty/view_file.php,v 1.3 2008/06/25 22:21:13 spiderr Exp $ * * @author xing <xing@synapse.plus.com> * @package treasury @@ -46,5 +46,5 @@ $gBitSmarty->assign( 'feedback', $feedback ); $gBitSmarty->assign( 'view_template', $gLibertySystem->getMimeTemplate( 'view', $attachment['attachment_plugin_guid'] )); $gBitSmarty->assign( 'edit_template', $gLibertySystem->getMimeTemplate( 'edit', $attachment['attachment_plugin_guid'] )); -$gBitSystem->display( 'bitpackage:liberty/mime_view.tpl', tra( "View File" )); +$gBitSystem->display( 'bitpackage:liberty/mime_view.tpl', tra( "View File" ), array( 'display_mode' => 'display' )); ?> |
