* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: evenements.php,v 1.4 2004-09-02 23:33:56 x2000bedo Exp $
+ $Id: evenements.php,v 1.5 2004-11-13 14:16:16 x2000habouzit Exp $
***************************************************************************/
require("auto.prepend.inc.php");
-new_admin_page('admin/evenements.tpl', true);
+new_admin_page('admin/evenements.tpl');
$arch = isset($_REQUEST['arch']) ? $_REQUEST['arch'] : 0;
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: homonymes.php,v 1.5 2004-11-01 17:27:03 x2002marichez Exp $
+ $Id: homonymes.php,v 1.6 2004-11-13 14:16:16 x2000habouzit Exp $
***************************************************************************/
require("auto.prepend.inc.php");
-new_admin_page('admin/homonymes.tpl',true);
+new_admin_page('admin/homonymes.tpl');
require("diogenes.mailer.inc.php");
$op = isset($_REQUEST['op']) ? $_REQUEST['op'] : 'list';
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: newsletter_edit.php,v 1.5 2004-10-20 15:09:57 x2000habouzit Exp $
+ $Id: newsletter_edit.php,v 1.6 2004-11-13 14:16:16 x2000habouzit Exp $
***************************************************************************/
require("auto.prepend.inc.php");
-new_admin_page('admin/newsletter_edit.tpl', false, 'newsletter/head.tpl');
+new_admin_page('admin/newsletter_edit.tpl', 'newsletter/head.tpl');
require("newsletter.inc.php");
$nid = empty($_GET['nid']) ? 'last' : $_GET['nid'];
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: utilisateurs.php,v 1.25 2004-10-25 19:36:11 x2000habouzit Exp $
+ $Id: utilisateurs.php,v 1.26 2004-11-13 14:16:16 x2000habouzit Exp $
***************************************************************************/
require("auto.prepend.inc.php");
-new_admin_page('admin/utilisateurs.tpl', true);
+new_admin_page('admin/utilisateurs.tpl');
require("email.classes.inc.php");
/*
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: valider.php,v 1.3 2004-08-31 10:03:29 x2000habouzit Exp $
+ $Id: valider.php,v 1.4 2004-11-13 14:16:16 x2000habouzit Exp $
***************************************************************************/
require("auto.prepend.inc.php");
require("validations.inc.php");
-new_admin_page('admin/valider.tpl',true);
+new_admin_page('admin/valider.tpl');
if(isset($_REQUEST["uid"]) and isset($_REQUEST["type"])
and isset($_REQUEST["stamp"])) {
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: advanced_search.php,v 1.29 2004-11-13 11:54:28 x2000habouzit Exp $
+ $Id: advanced_search.php,v 1.30 2004-11-13 14:16:15 x2000habouzit Exp $
***************************************************************************/
require("auto.prepend.inc.php");
require("search.classes.inc.php");
-new_skinned_page('search.tpl', AUTH_COOKIE,true);
+new_skinned_page('search.tpl', AUTH_COOKIE);
$page->assign('advanced',1);
$page->assign('public_directory',0);
require_once("applis.func.inc.php");
********************************************************************************/
require('auto.prepend.inc.php');
-new_skinned_page('banana.tpl', AUTH_COOKIE, true, 'banana.head.tpl');
+new_skinned_page('banana.tpl', AUTH_COOKIE, 'banana.head.tpl');
$page->caching = false;
require('hack.inc.php');
********************************************************************************/
require('auto.prepend.inc.php');
-new_skinned_page('banana.tpl', AUTH_COOKIE, true, 'banana.head.tpl');
+new_skinned_page('banana.tpl', AUTH_COOKIE, 'banana.head.tpl');
$page->caching = false;
require('hack.inc.php');
********************************************************************************/
require('auto.prepend.inc.php');
-new_skinned_page('banana.tpl', AUTH_COOKIE, true, 'banana.head.tpl');
+new_skinned_page('banana.tpl', AUTH_COOKIE, 'banana.head.tpl');
$page->caching = false;
require('hack.inc.php');
********************************************************************************/
require('auto.prepend.inc.php');
-new_skinned_page('banana.tpl', AUTH_COOKIE, true, 'banana.head.tpl');
+new_skinned_page('banana.tpl', AUTH_COOKIE, 'banana.head.tpl');
$page->caching = false;
require('hack.inc.php');
********************************************************************************/
require('auto.prepend.inc.php');
-new_skinned_page('banana.tpl', AUTH_COOKIE, true, 'banana.head.tpl');
+new_skinned_page('banana.tpl', AUTH_COOKIE, 'banana.head.tpl');
$page->caching = false;
require('hack.inc.php');
********************************************************************************/
require('auto.prepend.inc.php');
-new_skinned_page('banana.tpl', AUTH_COOKIE, true, 'banana.head.tpl');
+new_skinned_page('banana.tpl', AUTH_COOKIE, 'banana.head.tpl');
$page->caching = false;
require('hack.inc.php');
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: mescontacts.php,v 1.1 2004-11-04 15:33:27 x2000habouzit Exp $
+ $Id: mescontacts.php,v 1.2 2004-11-13 14:16:17 x2000habouzit Exp $
***************************************************************************/
require("auto.prepend.inc.php");
-new_skinned_page("carnet/mescontacts.tpl",AUTH_COOKIE,true);
+new_skinned_page("carnet/mescontacts.tpl",AUTH_COOKIE);
require("applis.func.inc.php");
// si l'utilisateur demande le retrait de qqun de sa liste
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: panel.php,v 1.2 2004-11-06 22:34:16 x2000habouzit Exp $
+ $Id: panel.php,v 1.3 2004-11-13 14:16:17 x2000habouzit Exp $
***************************************************************************/
require("auto.prepend.inc.php");
-new_skinned_page('carnet/panel.tpl', AUTH_COOKIE, true);
+new_skinned_page('carnet/panel.tpl', AUTH_COOKIE);
require('notifs.inc.php');
if(isset($_GET['read'])) {
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: doc_carva.php,v 1.3 2004-08-31 10:03:29 x2000habouzit Exp $
+ $Id: doc_carva.php,v 1.4 2004-11-13 14:16:17 x2000habouzit Exp $
***************************************************************************/
require("auto.prepend.inc.php");
-new_skinned_page("docs/doc_carva.tpl",AUTH_COOKIE, true);
+new_skinned_page("docs/doc_carva.tpl",AUTH_COOKIE);
$page->run(isset($_SESSION['alias']) ? 'alias' : '');
?>
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: doc_emails.php,v 1.3 2004-08-31 10:03:29 x2000habouzit Exp $
+ $Id: doc_emails.php,v 1.4 2004-11-13 14:16:17 x2000habouzit Exp $
***************************************************************************/
require("auto.prepend.inc.php");
-new_skinned_page("docs/doc_emails.tpl",AUTH_COOKIE,true);
+new_skinned_page("docs/doc_emails.tpl",AUTH_COOKIE);
$page->run();
?>
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: fiche.php,v 1.19 2004-11-02 07:13:08 x2000habouzit Exp $
+ $Id: fiche.php,v 1.20 2004-11-13 14:16:15 x2000habouzit Exp $
***************************************************************************/
require("auto.prepend.inc.php");
-new_simple_page('fiche.tpl',AUTH_COOKIE, true);
+new_simple_page('fiche.tpl',AUTH_COOKIE);
require_once('applis.func.inc.php');
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: fiche_referent.php,v 1.9 2004-09-19 10:41:05 x2000coic Exp $
+ $Id: fiche_referent.php,v 1.10 2004-11-13 14:16:15 x2000habouzit Exp $
***************************************************************************/
require("auto.prepend.inc.php");
-new_simple_page('fiche_referent.tpl',AUTH_COOKIE, false);
+new_simple_page('fiche_referent.tpl',AUTH_COOKIE);
//$isnetscape = !empty($_SESSION['skin_compatible']);
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: index.php,v 1.1 2004-09-05 22:25:44 x2000habouzit Exp $
+ $Id: index.php,v 1.2 2004-11-13 14:16:18 x2000habouzit Exp $
***************************************************************************/
require("auto.prepend.inc.php");
-new_skinned_page('inscription/index.tpl', AUTH_PUBLIC, true);
+new_skinned_page('inscription/index.tpl', AUTH_PUBLIC);
$page->run();
?>
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: step1.php,v 1.1 2004-09-05 22:25:44 x2000habouzit Exp $
+ $Id: step1.php,v 1.2 2004-11-13 14:16:18 x2000habouzit Exp $
***************************************************************************/
require("auto.prepend.inc.php");
$erreur = Array();
-new_skinned_page('inscription/step1.tpl', AUTH_PUBLIC, true);
+new_skinned_page('inscription/step1.tpl', AUTH_PUBLIC);
$page->run();
?>
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: step2.php,v 1.1 2004-09-05 22:25:44 x2000habouzit Exp $
+ $Id: step2.php,v 1.2 2004-11-13 14:16:18 x2000habouzit Exp $
***************************************************************************/
require("auto.prepend.inc.php");
require("identification.inc.php");
-new_skinned_page('inscription/step2.tpl', AUTH_PUBLIC, true);
+new_skinned_page('inscription/step2.tpl', AUTH_PUBLIC);
require("applis.func.inc.php");
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: admin.php,v 1.11 2004-11-10 10:59:09 x2000habouzit Exp $
+ $Id: admin.php,v 1.12 2004-11-13 14:16:18 x2000habouzit Exp $
***************************************************************************/
if(empty($_REQUEST['liste'])) header('Location: index.php');
$liste = strtolower($_REQUEST['liste']);
require("auto.prepend.inc.php");
-new_skinned_page('listes/admin.tpl', AUTH_MDP, true);
+new_skinned_page('listes/admin.tpl', AUTH_MDP);
include('xml-rpc-client.inc.php');
$err = Array();
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: check.php,v 1.5 2004-11-10 10:59:09 x2000habouzit Exp $
+ $Id: check.php,v 1.6 2004-11-13 14:16:18 x2000habouzit Exp $
***************************************************************************/
if(empty($_REQUEST['liste'])) header('Location: index.php');
$liste = strtolower($_REQUEST['liste']);
require("auto.prepend.inc.php");
-new_admin_page('listes/check.tpl', true);
+new_admin_page('listes/check.tpl');
include('xml-rpc-client.inc.php');
$client = new xmlrpc_client("http://{$_SESSION['uid']}:{$_SESSION['password']}@localhost:4949/polytechnique.org");
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: members.php,v 1.10 2004-11-10 10:59:09 x2000habouzit Exp $
+ $Id: members.php,v 1.11 2004-11-13 14:16:18 x2000habouzit Exp $
***************************************************************************/
if(empty($_REQUEST['liste'])) header('Location: index.php');
$liste = strtolower($_REQUEST['liste']);
require("auto.prepend.inc.php");
-new_skinned_page('listes/members.tpl', AUTH_COOKIE, true);
+new_skinned_page('listes/members.tpl', AUTH_COOKIE);
include('xml-rpc-client.inc.php');
$client = new xmlrpc_client("http://{$_SESSION['uid']}:{$_SESSION['password']}@localhost:4949/polytechnique.org");
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: moderate.php,v 1.18 2004-11-10 10:59:09 x2000habouzit Exp $
+ $Id: moderate.php,v 1.19 2004-11-13 14:16:18 x2000habouzit Exp $
***************************************************************************/
if(empty($_REQUEST['liste'])) header('Location: index.php');
}
require("auto.prepend.inc.php");
-new_skinned_page('listes/moderate.tpl', AUTH_MDP, true);
+new_skinned_page('listes/moderate.tpl', AUTH_MDP);
include('xml-rpc-client.inc.php');
$client = new xmlrpc_client("http://{$_SESSION['uid']}:{$_SESSION['password']}@localhost:4949/polytechnique.org");
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: options.php,v 1.7 2004-11-10 10:59:09 x2000habouzit Exp $
+ $Id: options.php,v 1.8 2004-11-13 14:16:18 x2000habouzit Exp $
***************************************************************************/
if(empty($_REQUEST['liste'])) header('Location: index.php');
$liste = strtolower($_REQUEST['liste']);
require("auto.prepend.inc.php");
-new_skinned_page('listes/options.tpl', AUTH_MDP, true);
+new_skinned_page('listes/options.tpl', AUTH_MDP);
include('xml-rpc-client.inc.php');
$client = new xmlrpc_client("http://{$_SESSION['uid']}:{$_SESSION['password']}@localhost:4949/polytechnique.org");
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: soptions.php,v 1.6 2004-11-10 10:59:09 x2000habouzit Exp $
+ $Id: soptions.php,v 1.7 2004-11-13 14:16:18 x2000habouzit Exp $
***************************************************************************/
if(empty($_REQUEST['liste'])) header('Location: index.php');
$liste = strtolower($_REQUEST['liste']);
require("auto.prepend.inc.php");
-new_admin_page('listes/soptions.tpl', true);
+new_admin_page('listes/soptions.tpl');
include('xml-rpc-client.inc.php');
$client = new xmlrpc_client("http://{$_SESSION['uid']}:{$_SESSION['password']}@localhost:4949/polytechnique.org");
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: trombi.php,v 1.13 2004-11-10 10:59:09 x2000habouzit Exp $
+ $Id: trombi.php,v 1.14 2004-11-13 14:16:18 x2000habouzit Exp $
***************************************************************************/
if(empty($_REQUEST['liste'])) header('Location: index.php');
$liste = strtolower($_REQUEST['liste']);
require("auto.prepend.inc.php");
-new_skinned_page('listes/trombi.tpl', AUTH_COOKIE, true);
+new_skinned_page('listes/trombi.tpl', AUTH_COOKIE);
include('xml-rpc-client.inc.php');
require("trombi.inc.php");
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: login.php,v 1.15 2004-11-01 09:15:34 x2000chevalier Exp $
+ $Id: login.php,v 1.16 2004-11-13 14:16:15 x2000habouzit Exp $
***************************************************************************/
require("auto.prepend.inc.php");
-new_skinned_page('login.tpl', AUTH_COOKIE, true);
+new_skinned_page('login.tpl', AUTH_COOKIE);
$param=$globals->db->query("SELECT date,naissance FROM auth_user_md5 WHERE user_id={$_SESSION['uid']};");
list($date,$naissance) = mysql_fetch_row($param);
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: ins_confirmees.php,v 1.4 2004-10-12 16:11:49 x2000habouzit Exp $
+ $Id: ins_confirmees.php,v 1.5 2004-11-13 14:16:21 x2000habouzit Exp $
***************************************************************************/
require("auto.prepend.inc.php");
-new_admin_page('marketing/ins_confirmees.tpl',true);
+new_admin_page('marketing/ins_confirmees.tpl');
if (!isset($_GET["sort"]) || $_GET["sort"] != "promo") $_GET["sort"] = "date_ins";
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: motdepassemd5.php,v 1.5 2004-08-31 10:03:28 x2000habouzit Exp $
+ $Id: motdepassemd5.php,v 1.6 2004-11-13 14:16:15 x2000habouzit Exp $
***************************************************************************/
require("auto.prepend.inc.php");
$page->run();
}
-new_skinned_page('motdepassemd5.tpl', AUTH_MDP, true, 'motdepassemd5.head.tpl');
+new_skinned_page('motdepassemd5.tpl', AUTH_MDP, 'motdepassemd5.head.tpl');
$page->run();
?>
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: show.php,v 1.2 2004-10-18 07:06:49 x2000habouzit Exp $
+ $Id: show.php,v 1.3 2004-11-13 14:16:24 x2000habouzit Exp $
***************************************************************************/
require("auto.prepend.inc.php");
-new_skinned_page('newsletter/show.tpl', AUTH_COOKIE, false, 'newsletter/head.tpl');
+new_skinned_page('newsletter/show.tpl', AUTH_COOKIE, 'newsletter/head.tpl');
require("newsletter.inc.php");
$nid = empty($_GET['nid']) ? 'last' : $_GET['nid'];
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: submit.php,v 1.3 2004-10-16 18:17:50 x2000habouzit Exp $
+ $Id: submit.php,v 1.4 2004-11-13 14:16:24 x2000habouzit Exp $
***************************************************************************/
require("auto.prepend.inc.php");
-new_skinned_page('newsletter/submit.tpl', AUTH_COOKIE, false, 'newsletter/head.tpl');
+new_skinned_page('newsletter/submit.tpl', AUTH_COOKIE, 'newsletter/head.tpl');
require("newsletter.inc.php");
if(isset($_POST['see'])) {
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: profil.php,v 1.13 2004-11-06 17:37:21 x2000habouzit Exp $
+ $Id: profil.php,v 1.14 2004-11-13 14:16:16 x2000habouzit Exp $
***************************************************************************/
require("auto.prepend.inc.php");
-new_skinned_page('profil.tpl',AUTH_MDP, true, 'profil.head.tpl');
+new_skinned_page('profil.tpl',AUTH_MDP, 'profil.head.tpl');
require_once('tabs.inc.php');
require_once('profil.func.inc.php');
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: referent.php,v 1.7 2004-09-03 00:20:28 x2000habouzit Exp $
+ $Id: referent.php,v 1.8 2004-11-13 14:16:16 x2000habouzit Exp $
***************************************************************************/
require("auto.prepend.inc.php");
-new_skinned_page('referent.tpl',AUTH_COOKIE, true);
+new_skinned_page('referent.tpl',AUTH_COOKIE);
$nb_max_resultats_total = 100;
$nb_max_resultats_par_page = 10;
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: search.php,v 1.48 2004-11-13 11:54:28 x2000habouzit Exp $
+ $Id: search.php,v 1.49 2004-11-13 14:16:16 x2000habouzit Exp $
***************************************************************************/
require("auto.prepend.inc.php");
require("search.classes.inc.php");
-new_skinned_page('search.tpl', AUTH_PUBLIC, true);
+new_skinned_page('search.tpl', AUTH_PUBLIC);
if(logged()) {
- new_skinned_page('search.tpl', AUTH_COOKIE, true);
+ new_skinned_page('search.tpl', AUTH_COOKIE);
}
$page->assign('advanced',0);
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: sendmail.php,v 1.6 2004-09-02 21:22:18 x2000habouzit Exp $
+ $Id: sendmail.php,v 1.7 2004-11-13 14:16:16 x2000habouzit Exp $
***************************************************************************/
require("auto.prepend.inc.php");
-new_skinned_page('sendmail.tpl',AUTH_MDP,true);
+new_skinned_page('sendmail.tpl',AUTH_MDP);
// action si on recoit un formulaire
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: tmpPWD.php,v 1.2 2004-08-31 10:03:28 x2000habouzit Exp $
+ $Id: tmpPWD.php,v 1.3 2004-11-13 14:16:16 x2000habouzit Exp $
***************************************************************************/
require("auto.prepend.inc.php");
$page->run();
}
else {
- new_skinned_page('motdepassemd5.tpl', AUTH_PUBLIC, true,'motdepassemd5.head.tpl');
+ new_skinned_page('motdepassemd5.tpl', AUTH_PUBLIC, 'motdepassemd5.head.tpl');
$page->run();
}
}
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: trombipromo.php,v 1.8 2004-11-02 07:48:40 x2000habouzit Exp $
+ $Id: trombipromo.php,v 1.9 2004-11-13 14:16:16 x2000habouzit Exp $
***************************************************************************/
require("auto.prepend.inc.php");
-new_skinned_page('trombipromo.tpl', AUTH_COOKIE, true);
+new_skinned_page('trombipromo.tpl', AUTH_COOKIE);
require("trombi.inc.php");
function getList($offset,$limit) {
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: auto.prepend.inc.php,v 1.27 2004-10-08 16:59:09 x2000habouzit Exp $
+ $Id: auto.prepend.inc.php,v 1.28 2004-11-13 14:16:27 x2000habouzit Exp $
***************************************************************************/
function microtime_float()
require("config.xorg.inc.php") ;
require_once("xorg.common.inc.php");
-function _new_page($type, $tpl_name, $tpl_head, $min_auth, $popup=false, $admin=false) {
+function _new_page($type, $tpl_name, $tpl_head, $min_auth, $admin=false) {
global $page;
require_once("xorg.page.inc.php");
if(!empty($admin)) {
$page->assign('xorg_head', $tpl_head);
$page->assign('xorg_tpl', $tpl_name);
- if($popup)
- $page->assign('popup_enable', true);
}
-function new_skinned_page($tpl_name, $min_auth, $popup=false, $tpl_head="") {
- _new_page(SKINNED, $tpl_name, $tpl_head, $min_auth, $popup);
+function new_skinned_page($tpl_name, $min_auth, $tpl_head="") {
+ _new_page(SKINNED, $tpl_name, $tpl_head, $min_auth);
}
-function new_simple_page($tpl_name, $min_auth, $popup=false, $tpl_head="") {
+function new_simple_page($tpl_name, $min_auth, $tpl_head="") {
global $page;
- _new_page(SKINNED, $tpl_name, $tpl_head, $min_auth, $popup);
+ _new_page(SKINNED, $tpl_name, $tpl_head, $min_auth);
$page->assign('simple', true);
}
_new_page(NO_SKIN, $tpl_name, "", $min_auth, false);
}
-function new_admin_page($tpl_name, $popup=false, $tpl_head="") {
- _new_page(SKINNED, $tpl_name, $tpl_head, AUTH_MDP, $popup, true);
+function new_admin_page($tpl_name, $tpl_head="") {
+ _new_page(SKINNED, $tpl_name, $tpl_head, AUTH_MDP, true);
}
function new_admin_table_editor($table,$idfield,$idedit=false) {
* Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
***************************************************************************
- $Id: common.header.tpl,v 1.13 2004-10-12 19:58:11 x2000habouzit Exp $
+ $Id: common.header.tpl,v 1.14 2004-11-13 14:16:32 x2000habouzit Exp $
***************************************************************************}
{/if}
</title>
<script type="text/javascript" src="{"javascript/misc.js"|url}"></script>
-{if $popup_enable}
<script type="text/javascript" src="{"javascript/popwin.js.php"|url}"> </script>
-{/if}
{* vim:set et sw=2 sts=2 sws=2: *}