* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************/
-
require_once('platal.inc.php');
require_once('xorg/globals.inc.php');
require_once('xorg/session.inc.php');
{
global $page,$globals;
require_once("xorg/page.inc.php");
+ if ($min_auth == AUTH_PUBLIC && Env::get('force_login') == '1')
+ $min_auth = AUTH_COOKIE;
if (!empty($admin)) {
$page = new XorgAdmin($tpl_name, $type);
} else switch($min_auth) {
}
// }}}
+function new_identification_page()
+{
+ _new_page(SKINNED, '', AUTH_MDP);
+}
// {{{ function new_skinned_page()
function new_skinned_page($tpl_name, $min_auth)
}
// }}}
-// {{{ function redirect
-
-function redirect($page)
-{
- if (count($_SESSION)) {
- session_write_close();
- }
- header("Location: $page");
- exit;
-}
-
-// }}}
// vim:set et sw=4 sts=4 sws=4 foldmethod=marker:
?>