diff options
| author | Christian Fowler <spider@viovio.com> | 2008-06-25 22:21:08 +0000 |
|---|---|---|
| committer | Christian Fowler <spider@viovio.com> | 2008-06-25 22:21:08 +0000 |
| commit | 012c765b13267e0fdead1ba07642e391a0ed6341 (patch) | |
| tree | ce8ad73327def3aee3139c7b9bd096062563f0aa | |
| parent | 9a86dcecdafa64c24d3f3964e92a7008e0b0f88e (diff) | |
| download | boards-012c765b13267e0fdead1ba07642e391a0ed6341.tar.gz boards-012c765b13267e0fdead1ba07642e391a0ed6341.tar.bz2 boards-012c765b13267e0fdead1ba07642e391a0ed6341.zip | |
change display call to use a hash for display options, add display_mode to options hash
| -rw-r--r-- | assign.php | 4 | ||||
| -rw-r--r-- | board.php | 4 | ||||
| -rw-r--r-- | edit.php | 4 | ||||
| -rw-r--r-- | mailing_list.php | 4 | ||||
| -rw-r--r-- | post.php | 2 | ||||
| -rw-r--r-- | topic.php | 4 | ||||
| -rw-r--r-- | topic_move.php | 2 |
7 files changed, 12 insertions, 12 deletions
@@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_boards/assign.php,v 1.4 2007/03/31 15:54:13 squareing Exp $ + * $Header: /cvsroot/bitweaver/_bit_boards/assign.php,v 1.5 2008/06/25 22:21:08 spiderr Exp $ * Copyright (c) 2004 bitweaver Messageboards * All Rights Reserved. See copyright.txt for details and a complete list of authors. * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. @@ -52,5 +52,5 @@ $data = BitBoard::getAllMap(); $gBitSmarty->assign_by_ref('data',$data); // Display the template -$gBitSystem->display( 'bitpackage:boards/board_assign.tpl', tra('Assign content to Board') ); +$gBitSystem->display( 'bitpackage:boards/board_assign.tpl', tra('Assign content to Board') , array( 'display_mode' => 'display' )); ?> @@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_boards/Attic/board.php,v 1.14 2008/04/22 03:56:35 wjames5 Exp $ + * $Header: /cvsroot/bitweaver/_bit_boards/Attic/board.php,v 1.15 2008/06/25 22:21:08 spiderr Exp $ * Copyright (c) 2004 bitweaver Messageboards * All Rights Reserved. See copyright.txt for details and a complete list of authors. * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. @@ -137,6 +137,6 @@ foreach ($ns as $k=> $a) { } //$gBitSmarty->display( 'bitpackage:boards/cat_display.tpl'); -$gBitSystem->display( 'bitpackage:boards/list_boards.tpl', tra( 'Boards' ) ); +$gBitSystem->display( 'bitpackage:boards/list_boards.tpl', tra( 'Boards' ) , array( 'display_mode' => 'display' )); ?> @@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_boards/edit.php,v 1.9 2008/04/25 20:00:54 wjames5 Exp $ + * $Header: /cvsroot/bitweaver/_bit_boards/edit.php,v 1.10 2008/06/25 22:21:08 spiderr Exp $ * Copyright (c) 2004 bitweaver Messageboards * All Rights Reserved. See copyright.txt for details and a complete list of authors. * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. @@ -73,5 +73,5 @@ if( !empty( $_REQUEST["save_bitboard"] ) ) { } // Display the template -$gBitSystem->display( 'bitpackage:boards/board_edit.tpl', tra('Board') ); +$gBitSystem->display( 'bitpackage:boards/board_edit.tpl', tra('Board') , array( 'display_mode' => 'edit' )); ?> diff --git a/mailing_list.php b/mailing_list.php index bcd1f16..0ca25f6 100644 --- a/mailing_list.php +++ b/mailing_list.php @@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_boards/mailing_list.php,v 1.4 2008/06/18 09:17:59 lsces Exp $ + * $Header: /cvsroot/bitweaver/_bit_boards/mailing_list.php,v 1.5 2008/06/25 22:21:08 spiderr Exp $ * Copyright (c) bitweaver Group * All Rights Reserved. See copyright.txt for details and a complete list of authors. * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. @@ -90,5 +90,5 @@ if( $gContent->getBoardMailingList() ) { // display $gBitSmarty->assign_by_ref( 'board', $gContent ); -$gBitSystem->display( "bitpackage:boards/mailing_list.tpl", $gContent->getTitle() ." ". tra( 'Message Board Mailing List' ) ); +$gBitSystem->display( "bitpackage:boards/mailing_list.tpl", $gContent->getTitle() ." ". tra( 'Message Board Mailing List' ) , array( 'display_mode' => 'list' )); ?> @@ -123,7 +123,7 @@ $gBitSmarty->assign_by_ref('warnings',$warnings); // Invoke services $gComment->invokeServices( 'content_display_function' ); -$gBitSystem->display('bitpackage:boards/list_posts.tpl', "Show Thread: " . $thread->getField('title') ); +$gBitSystem->display('bitpackage:boards/list_posts.tpl', "Show Thread: " . $thread->getField('title') , array( 'display_mode' => 'display' )); ?> @@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_boards/Attic/topic.php,v 1.35 2008/06/22 01:41:27 jht001 Exp $ + * $Header: /cvsroot/bitweaver/_bit_boards/Attic/topic.php,v 1.36 2008/06/25 22:21:08 spiderr Exp $ * Copyright (c) 2004 bitweaver Messageboards * All Rights Reserved. See copyright.txt for details and a complete list of authors. * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. @@ -129,5 +129,5 @@ $gBitSmarty->assign( 'cat_url', BOARDS_PKG_URL."index.php"); //?ct=".urlencode($ $gBitThemes->loadAjax( 'mochikit' ); // Display the template -$gBitSystem->display( 'bitpackage:boards/list_topics.tpl', tra( 'Message Board Threads: ' . $gContent->getField('title') ) ); +$gBitSystem->display( 'bitpackage:boards/list_topics.tpl', tra( 'Message Board Threads: ' . $gContent->getField('title') ) , array( 'display_mode' => 'display' )); ?> diff --git a/topic_move.php b/topic_move.php index 972ed1e..20d4f7c 100644 --- a/topic_move.php +++ b/topic_move.php @@ -58,5 +58,5 @@ $board = new BitBoard(); $gBitSmarty->assign_by_ref('boards', $board->getBoardSelectList()); require_once( BOARDS_PKG_PATH .'lookup_inc.php' ); -$gBitSystem->display( 'bitpackage:boards/topic_move.tpl', tra('Category') ); +$gBitSystem->display( 'bitpackage:boards/topic_move.tpl', tra('Category') , array( 'display_mode' => 'display' )); ?> |
