diff options
Diffstat (limited to 'list_pages.php')
| -rw-r--r-- | list_pages.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/list_pages.php b/list_pages.php index 7107a33..be8ef91 100644 --- a/list_pages.php +++ b/list_pages.php @@ -57,12 +57,12 @@ if( isset( $_REQUEST["batch_submit"] ) && isset( $_REQUEST["checked"] ) && $_REQ } } if( !empty( $errors )) { - $gBitSmarty->assign_by_ref( 'errors', $errors ); + $gBitSmarty->assignByRef( 'errors', $errors ); } } } -$gBitSmarty->assign_by_ref( "gContent", $gContent ); +$gBitSmarty->assignByRef( "gContent", $gContent ); if( !empty( $_REQUEST['sort_mode'] )) { $listHash['sort_mode'] = preg_replace( '/^user_/', 'creator_user_', $_REQUEST['sort_mode'] ); @@ -77,8 +77,8 @@ $listHash['listInfo']['parameters']['find_author'] = !empty( $listHash['fin $listHash['listInfo']['parameters']['find_last_editor'] = !empty( $listHash['find_last_editor'] ) ? $listHash['find_last_editor'] : ''; $listHash['listInfo']['ihash']['content_type_guid'] = BITPAGE_CONTENT_TYPE_GUID; -$gBitSmarty->assign_by_ref( 'listpages', $listpages ); -$gBitSmarty->assign_by_ref( 'listInfo', $listHash['listInfo'] ); +$gBitSmarty->assignByRef( 'listpages', $listpages ); +$gBitSmarty->assignByRef( 'listInfo', $listHash['listInfo'] ); // Display the template $gBitSystem->display( 'bitpackage:wiki/list_pages.tpl', tra( 'Wiki Pages' ), array( 'display_mode' => 'list' )); |
