diff options
| author | lsces <lester@lsces.co.uk> | 2016-02-07 17:51:58 +0000 |
|---|---|---|
| committer | lsces <lester@lsces.co.uk> | 2016-02-07 17:51:58 +0000 |
| commit | 0a07002abc3b74104f2fc160bda56a17a5a44878 (patch) | |
| tree | ef1649ae0b3b2aef0285e25dd8165251b3bee3ff /edit_css.php | |
| parent | 27a7519732ace0a2339c14282d6b4112b89c5cb8 (diff) | |
| parent | 6c4167ba5be0246d12875f2b8b56d376771aa47b (diff) | |
| download | themes-0a07002abc3b74104f2fc160bda56a17a5a44878.tar.gz themes-0a07002abc3b74104f2fc160bda56a17a5a44878.tar.bz2 themes-0a07002abc3b74104f2fc160bda56a17a5a44878.zip | |
Merge github commits
Diffstat (limited to 'edit_css.php')
| -rw-r--r-- | edit_css.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/edit_css.php b/edit_css.php index 15a8912..e003f47 100644 --- a/edit_css.php +++ b/edit_css.php @@ -92,7 +92,7 @@ $gBitSystem->verifyPermission( 'bit_p_create_css' ); $customCSSPath = $gBitUser->getStoragePath( NULL,$gBitUser->mUserId ); // Path to this user's storage directory $customCSSFile = $customCSSPath.'custom.css'; // Path to this user's custom stylesheet $customCSSImageURL = $gBitUser->getStorageURL( NULL,$gBitUser->mUserId ).'/images/'; -$gBitSmarty->assign_by_ref('customCSSImageURL',$customCSSImageURL); +$gBitSmarty->assignByRef('customCSSImageURL',$customCSSImageURL); // Create a custom.css for this user if they do not already have one if (!file_exists($customCSSFile)) { if (!copy(THEMES_PKG_PATH.'/styles/basic/basic.css', $customCSSFile)) { @@ -172,9 +172,9 @@ if (isset($_REQUEST["fSaveCSS"])and $_REQUEST["fSaveCSS"]) { // Get the list of themes the user can choose to derive from (aka Reset to) $styles = $gBitThemes->getStyles( NULL, FALSE, FALSE ); -$gBitSmarty->assign_by_ref( 'styles', $styles ); +$gBitSmarty->assignByRef( 'styles', $styles ); $assignStyle = 'basic'; -$gBitSmarty->assign_by_ref( 'assignStyle', $assignStyle); +$gBitSmarty->assignByRef( 'assignStyle', $assignStyle); // Read in this user's custom.css to display in the textarea @@ -199,7 +199,7 @@ foreach ($imageList as $image) { } } -$gBitSmarty->assign_by_ref('themeImages',$themeImages); +$gBitSmarty->assignByRef('themeImages',$themeImages); $gBitSystem->display( 'bitpackage:themes/edit_css.tpl', NULL, array( 'display_mode' => 'edit' )); |
