X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fxorg%2Fpage.inc.php;h=5bc9e56197e9a0a32116973837337ff95d5238a2;hb=cab0809050d58f8484608e91f7555ebd69dcb451;hp=e00fb632f8e4f9f02bc04025dfe2c77ab7ac51fd;hpb=50a40a33a496131e817df875607ea5542d096a64;p=platal.git diff --git a/include/xorg/page.inc.php b/include/xorg/page.inc.php index e00fb63..5bc9e56 100644 --- a/include/xorg/page.inc.php +++ b/include/xorg/page.inc.php @@ -41,7 +41,7 @@ class XorgPage extends PlatalPage if ($this->_page_type != NO_SKIN) { $this->assign('menu', $globals->menu->menu()); } - $this->_run('skin/'.Session::get('skin')); + $this->_run('skin/'.S::v('skin')); } // }}} @@ -67,9 +67,9 @@ class XorgAuth extends XorgPage function doAuth() { - $_SESSION['session']->doAuth($this); + XorgSession::doAuth($this); } - + // }}} } @@ -82,20 +82,20 @@ class XorgAuth extends XorgPage 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); } - + // }}} } @@ -107,13 +107,13 @@ class XorgCookie extends XorgPage class XorgAdmin extends XorgAuth { // {{{ function XorgAdmin() - + function XorgAdmin($tpl, $type=SKINNED) { $this->XorgAuth($tpl, $type); check_perms(); } - + // }}} }