<?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 *
* 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)