diff options
| author | lsces <lester@lsces.co.uk> | 2016-02-07 17:00:54 +0000 |
|---|---|---|
| committer | lsces <lester@lsces.co.uk> | 2016-02-07 17:00:54 +0000 |
| commit | 7392e0514a1fc729b6666cf7089285c6824b2126 (patch) | |
| tree | a4c0c7c0d2015959df9aa01065e4cd87b029cf76 /view_xref.php | |
| parent | a3272bbcd1e120ac890435a44fe19d3951b386b7 (diff) | |
| download | contact-7392e0514a1fc729b6666cf7089285c6824b2126.tar.gz contact-7392e0514a1fc729b6666cf7089285c6824b2126.tar.bz2 contact-7392e0514a1fc729b6666cf7089285c6824b2126.zip | |
Move from Smarty2 to Smarty3 function style
Diffstat (limited to 'view_xref.php')
| -rw-r--r-- | view_xref.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/view_xref.php b/view_xref.php index 57871ec..264a79b 100644 --- a/view_xref.php +++ b/view_xref.php @@ -46,11 +46,11 @@ if( empty( $xrefInfo ) ) { $xrefInfo = &$gContent->mInfo['xref_store']['data']; } -$gBitSmarty->assign_by_ref( 'xrefInfo', $xrefInfo ); -$gBitSmarty->assign_by_ref( 'title', $gContent->mInfo['title'] ); -$gBitSmarty->assign_by_ref( 'xref_title', $gContent->mInfo['xref_title'] ); +$gBitSmarty->assignByRef( 'xrefInfo', $xrefInfo ); +$gBitSmarty->assignByRef( 'title', $gContent->mInfo['title'] ); +$gBitSmarty->assignByRef( 'xref_title', $gContent->mInfo['xref_title'] ); -$gBitSmarty->assign_by_ref( 'errors', $gContent->mErrors ); +$gBitSmarty->assignByRef( 'errors', $gContent->mErrors ); if( isset($xrefInfo['template']) ) { $gBitSystem->display( 'bitpackage:contact/view_xref_'.$xrefInfo['template'].'.tpl', 'View: ' , array( 'display_mode' => 'view' )); } else { |
