Platform  3.1
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
gate_edit.php
Go to the documentation of this file.
1 <?php
2 /*
3  * @author Anakeen
4  * @license http://creativecommons.org/licenses/by-nc-sa/2.0/fr/ Anakeen - licence CC
5  * @package FDL
6 */
7 /**
8  * Display buttons to edit gate
9  *
10  * @author Anakeen 2000
11  * @version $Id: gate_edit.php,v 1.4 2006/02/28 08:06:18 eric Exp $
12  * @license http://creativecommons.org/licenses/by-nc-sa/2.0/fr/ Anakeen - licence CC
13  * @package FDL
14  * @subpackage CORE
15  */
16 /**
17  */
18 
19 function gate_edit(&$action)
20 {
21  $action->parent->AddJsRef($action->GetParam("CORE_JSURL") . "/geometry.js");
22  $action->parent->AddJsRef($action->GetParam("CORE_JSURL") . "/subwindow.js");
23 
24  global $_SERVER;
25  global $CacheObj;
26 
27  $CacheObj = array();
28  session_unregister("CacheObj"); // clearcache
29  $action->lay->set("PHP_AUTH_USER", $_SERVER['PHP_AUTH_USER']);
30 }
31 ?>
← centre documentaire © anakeen - published under CC License - Dynacase