if ($this->_page_type != NO_SKIN) {
$this->assign('menu', $globals->menu->menu());
}
- $this->_run('skin/'.Session::get('skin'));
+ $this->_run('skin/'.S::v('skin'));
}
// }}}
function doAuth()
{
- $_SESSION['session']->doAuth($this);
+ XorgSession::doAuth($this);
}
-
+
// }}}
}
class XorgCookie extends XorgPage
{
// {{{ function XorgCookie()
-
+
function XorgCookie($tpl, $type=SKINNED)
{
$this->XorgPage($tpl, $type);
}
-
+
// }}}
// {{{ function doAuth()
function doAuth()
{
- $_SESSION['session']->doAuthCookie($this);
+ XorgSession::doAuthCookie($this);
}
-
+
// }}}
}
class XorgAdmin extends XorgAuth
{
// {{{ function XorgAdmin()
-
+
function XorgAdmin($tpl, $type=SKINNED)
{
$this->XorgAuth($tpl, $type);
check_perms();
}
-
+
// }}}
}