maintenance_accueil.php 1002 Bytes
Newer Older
1
<?php
Laurent Joly's avatar
Laurent Joly committed
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/**
 * accueil de la section maintenance
 * @Version $Id$
 * @Projet LCS / SambaEdu
 * @auteurs  Laurent Joly
 * @note
 * @Licence Distribue sous la licence GPL
 */
/**
 * @Repertoire: dhcp
 * file: maintenance_accueil.php
*/
// loading libs and init
include "entete.inc.php";
include "ihm.inc.php";
include "wpkg_lib.php";
include "wpkg_libsql.php";
19

Laurent Joly's avatar
Laurent Joly committed
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
$login = isauth();
if (! $login) {
    echo "<script language=\"JavaScript\" type=\"text/javascript\">\n<!--\n";
    $request = '/wpkg/index.php';
    echo "top.location.href = '/auth.php?request=" . rawurlencode($request) . "';\n";
    echo "//-->\n</script>\n";
    exit();
}

if (! have_right($config, "computer_is_admin"))
    die(gettext("Vous n'avez pas les droits suffisants pour acc&#233;der &#224; cette fonction") . "</BODY></HTML>");
    
    // HTMLpurifier
    $conf = HTMLPurifier_Config::createDefault();
    $purifier = new HTMLPurifier($conf);
    
    $page_id=0;
	include("maintenance_top.php");

include ("pdp.inc.php");
40
?>