1) ? $theme[1] : ''); $opts = ''; $opts = (($uid) ? '?puid=' . $uid : ''); $schema_str = ((x(App::$layout,'schema')) ? '&schema=' . App::$layout['schema'] : ''); if(($s) && (! $schema_str)) $schema_str = '&schema=' . $s; $opts .= $schema_str; if ($uid) { $timestamp = PConfig::Get($uid, 'system', 'style_update', false); if ($timestamp) { $opts .= '&updt=' . $timestamp; } } if(file_exists('view/theme/' . $t . '/php/style.php')) return('/view/theme/' . $t . '/php/style.css' . $opts); return('/view/theme/' . $t . '/css/style.css'); } function debug() { logger('system_theme: ' . self::$system_theme); logger('session_theme: ' . self::$session_theme); } }