equal
deleted
inserted
replaced
128 $this->theme = ( $name ) ? $name : $session->theme; |
128 $this->theme = ( $name ) ? $name : $session->theme; |
129 $this->style = ( $css ) ? $css : $session->style; |
129 $this->style = ( $css ) ? $css : $session->style; |
130 if ( !$this->theme ) |
130 if ( !$this->theme ) |
131 { |
131 { |
132 $this->theme = $this->theme_list[0]['theme_id']; |
132 $this->theme = $this->theme_list[0]['theme_id']; |
133 $this->style = substr($this->theme_list[0]['default_style'], 0, strlen($this->theme_list[0]['default_style'])-4); |
133 $this->style = preg_replace('/\.css$/', '', $this->theme_list[0]['default_style']); |
134 } |
134 } |
135 $this->theme_loaded = true; |
135 $this->theme_loaded = true; |
136 } |
136 } |
137 |
137 |
138 function init_vars() |
138 function init_vars() |