[ Index ] |
PHP Cross Reference of Unnamed Project |
[Summary view] [Print] [Text view]
1 <?php 2 3 /** 4 5 * Include de debut des pages utilsant ajax 6 * @Version $Id: entete_ajax.inc.php 4764 2009-11-08 17:31:37Z crob $ 7 * @Projet LCS / SambaEdu 8 * @auteurs Philippe Chadefaux MrT 9 * @Licence Distribue selon les termes de la licence GPL 10 * @note 11 * Modifications proposées par Sébastien Tack (MrT) 12 * Optimisation du lancement des scripts bash par la technologie asynchrone Ajax. 13 14 15 */ 16 17 /** 18 19 * @Repertoire: /tests/ 20 * file: entete_ajax.inc.php 21 */ 22 23 24 25 @session_start(); 26 $_SESSION["pageaide"]="Table_des_matières"; 27 28 require("config.inc.php"); 29 require_once ("functions.inc.php"); 30 31 require_once ("lang.inc.php"); 32 bindtextdomain('se3-core',"/var/www/se3/locale"); 33 textdomain ('se3-core'); 34 35 36 $login=isauth(); 37 38 39 // Prise en compte de la page demandee initialement - leb 25/6/2005 40 if (($login == "") || (ldap_get_right("se3_is_admin",$login)!="Y") ) { 41 // header("Location:$urlauth"); 42 $request = $PHP_SELF; 43 if ( $_SERVER['QUERY_STRING'] != "") $request .= "?".$_SERVER['QUERY_STRING']; 44 echo "<script language=\"JavaScript\" type=\"text/javascript\">\n<!--\n"; 45 echo "top.location.href = '$urlauth?request=" . rawurlencode($request) . "';\n"; 46 echo "//-->\n</script>\n"; 47 } 48 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Tue Mar 17 22:47:18 2015 | Cross-referenced by PHPXref 0.7.1 |