<?php
/***************************************************************************
- * Copyright (C) 2003-2004 Polytechnique.org *
+ * Copyright (C) 2003-2006 Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
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();
}
-
+
// }}}
}