diff options
| author | spiderr <spider@viovio.com> | 2013-04-12 15:43:05 -0400 |
|---|---|---|
| committer | spiderr <spider@viovio.com> | 2013-04-12 15:43:05 -0400 |
| commit | c9cdffc8f0c0335076722552f0920d99c174b00f (patch) | |
| tree | c220a1ffb317b949ce771124d7a17a99c5315483 /templates | |
| parent | c74f35289c0ec34ed48dc91b7dae84fcf42f45cb (diff) | |
| download | wiki-c9cdffc8f0c0335076722552f0920d99c174b00f.tar.gz wiki-c9cdffc8f0c0335076722552f0920d99c174b00f.tar.bz2 wiki-c9cdffc8f0c0335076722552f0920d99c174b00f.zip | |
assign center vars with _template->tpl_vars
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/center_wiki_page.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/center_wiki_page.php b/templates/center_wiki_page.php index 5b68b70..da4fa9d 100644 --- a/templates/center_wiki_page.php +++ b/templates/center_wiki_page.php @@ -1,5 +1,5 @@ <?php -global $moduleParams, $gContent; +global $moduleParams, $gBitSmarty; // Load up the correct wiki page $lookupHash['page_id'] = ( !empty( $moduleParams['module_params']['page_id'] ) ? $moduleParams['module_params']['page_id'] : NULL ); @@ -12,3 +12,4 @@ if( !empty( $moduleParams['title'] )) { $gContent->mInfo['title'] = $moduleParams['title']; } +$_template->tpl_vars['gContent'] = new Smarty_variable( $gContent ); |
