changement d'un texte pour l'ergonomie de la carte geoloc
[platal.git] / htdocs / skins.php
index 549e92d..f970874 100644 (file)
@@ -1,6 +1,6 @@
 <?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   *
 
 require_once('xorg.inc.php');
 if (!$globals->skin->enable) {
-    header('Location: index.php');
+    redirect('index.php');
 }
 new_skinned_page('skins.tpl', AUTH_COOKIE);
+$page->assign('xorg_title','Polytechnique.org - Skins');
 
 if (Env::has('newskin'))  {  // formulaire soumis, traitons les données envoyées
     $globals->xdb->execute('UPDATE auth_user_quick SET skin={?} WHERE user_id={?}', Env::getInt('newskin'), Session::getInt('uid'));