summaryrefslogtreecommitdiff
path: root/attachment_browser.php
diff options
context:
space:
mode:
Diffstat (limited to 'attachment_browser.php')
-rw-r--r--attachment_browser.php17
1 files changed, 10 insertions, 7 deletions
diff --git a/attachment_browser.php b/attachment_browser.php
index ff88558..227675b 100644
--- a/attachment_browser.php
+++ b/attachment_browser.php
@@ -3,8 +3,8 @@
* attachment_browser
*
* @author spider <spider@steelsun.com>
- * @version $Revision: 1.3 $
- * @package Liberty
+ * @version $Revision: 1.4 $
+ * @package liberty
* @subpackage functions
*/
@@ -15,12 +15,15 @@ include("../bit_setup_inc.php");
$userAttachments = $gBitUser->getUserAttachments();
$gBitSmarty->assign('userAttachments', $userAttachments);
-if (empty($gBitLoc['styleSheet'])) {
- $gBitLoc['styleSheet'] = $gBitSystem->getStyleCss();
+if (empty($gBitSystem->mStyles['styleSheet'])) {
+ $gBitSystem->mStyles['styleSheet'] = $gBitSystem->getStyleCss();
}
-$gBitLoc['browserStyleSheet'] = $gBitSystem->getBrowserStyleCss();
-$gBitLoc['customStyleSheet'] = $gBitSystem->getCustomStyleCss();
-$gBitLoc['THEMES_STYLE_URL'] = $gBitSystem->getStyleUrl();
+$gBitSystem->mStyles['browserStyleSheet'] = $gBitSystem->getBrowserStyleCss();
+$gBitSystem->mStyles['customStyleSheet'] = $gBitSystem->getCustomStyleCss();
+if( !defined( 'THEMES_STYLE_URL' ) ) {
+ define( 'THEMES_STYLE_URL', $gBitSystem->getStyleUrl() );
+}
+
//vd($userAttachments);
$gBitSmarty->display('bitpackage:liberty/attachment_browser.tpl');
?>