From 620cc4d93d3ca531f8eff755a213901a47926090 Mon Sep 17 00:00:00 2001 From: paul Date: Wed, 25 Oct 2006 20:54:39 +0000 Subject: [PATCH] Fixed some formatting to comply with style guidelines. --- .../src/modules/htmlUI/var/ui_base.inc.php | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/campcaster/src/modules/htmlUI/var/ui_base.inc.php b/campcaster/src/modules/htmlUI/var/ui_base.inc.php index f3e321767..b73877d08 100644 --- a/campcaster/src/modules/htmlUI/var/ui_base.inc.php +++ b/campcaster/src/modules/htmlUI/var/ui_base.inc.php @@ -160,19 +160,19 @@ class uiBase die($this->dbc->getMessage()); } $this->dbc->setFetchMode(DB_FETCHMODE_ASSOC); - $this->gb =& new GreenBox($this->dbc, $config); - $this->config =& $config; + $this->gb =& new GreenBox($this->dbc, $config); + $this->config =& $config; $this->config['accessRawAudioUrl'] = $config['storageUrlPath'].'/xmlrpc/simpleGet.php'; - $this->sessid = isset($_REQUEST[$config['authCookieName']]) ? + $this->sessid = isset($_REQUEST[$config['authCookieName']]) ? $_REQUEST[$config['authCookieName']] : null; - $this->userid = $this->gb->getSessUserId($this->sessid); - $this->login = $this->gb->getSessLogin($this->sessid); + $this->userid = $this->gb->getSessUserId($this->sessid); + $this->login = $this->gb->getSessLogin($this->sessid); if (PEAR::isError($this->login)) { $this->login = null; } - $this->langid =& $_SESSION['langid']; + $this->langid =& $_SESSION['langid']; if (!is_null($this->login)) { if (isset($_REQUEST['id'])) { @@ -180,27 +180,27 @@ class uiBase } else { $this->id = $this->gb->getObjId($this->login, $this->gb->storId); } - $this->pid = $this->gb->getparent($this->id) != 1 ? + $this->pid = $this->gb->getparent($this->id) != 1 ? $this->gb->getparent($this->id) : FALSE; - $this->type = $this->gb->getFileType($this->id); - $this->fid = ($this->type == 'Folder') ? $this->id : $this->pid; + $this->type = $this->gb->getFileType($this->id); + $this->fid = ($this->type == 'Folder') ? $this->id : $this->pid; $this->homeid = $this->gb->getObjId($this->login, $this->gb->storId); } $this->InputTextStandardAttrib = array('size'=>UI_INPUT_STANDARD_SIZE, 'maxlength'=>UI_INPUT_STANDARD_MAXLENGTH); $this->STATIONPREFS =& $_SESSION[UI_STATIONINFO_SESSNAME]; - $this->SCRATCHPAD =& new uiScratchPad($this); - $this->SEARCH =& new uiSearch($this); - $this->BROWSE =& new uiBrowse($this); - $this->HUBBROWSE =& new uiHubBrowse($this); - $this->HUBSEARCH =& new uiHubSearch($this); - $this->PLAYLIST =& new uiPlaylist($this); - $this->SCHEDULER =& new uiScheduler($this); - $this->SUBJECTS =& new uiSubjects($this); - $this->EXCHANGE =& new uiExchange($this); - $this->TRANSFERS =& new uiTransfers($this); - $this->_self_ =& $this; + $this->SCRATCHPAD =& new uiScratchPad($this); + $this->SEARCH =& new uiSearch($this); + $this->BROWSE =& new uiBrowse($this); + $this->HUBBROWSE =& new uiHubBrowse($this); + $this->HUBSEARCH =& new uiHubSearch($this); + $this->PLAYLIST =& new uiPlaylist($this); + $this->SCHEDULER =& new uiScheduler($this); + $this->SUBJECTS =& new uiSubjects($this); + $this->EXCHANGE =& new uiExchange($this); + $this->TRANSFERS =& new uiTransfers($this); + $this->_self_ =& $this; } // fn uiBase