Signed-off-by: Stéphane Jacob <sj@m4x.org>
$this->_page_typ = SKINNED;
}
+ if ($this->_page_type == SIMPLE) {
+ $this->assign('simple', true);
+ } else {
+ $this->assign('simple', false);
+ }
+
switch ($this->_page_type) {
case NO_SKIN:
if (!($globals->debug & DEBUG_SMARTY)) {
exit;
case SIMPLE:
- $this->assign('simple', true);
-
case SKINNED:
$this->register_modifier('escape_html', 'escape_html');
$this->default_modifiers = Array('@escape_html');