File "url_logout.php"
Full path: /home/argothem/www/SpipFactory-fichiers_de_travail/sauvegarde-depannage-1.9a3.2/1.9/ecrire/balise/url_logout.php
File size: 1.17 KB
MIME-type: text/x-php
Charset: utf-8
<?php
/***************************************************************************\
* SPIP, Systeme de publication pour l'internet *
* *
* Copyright (c) 2001-2006 *
* Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James *
* *
* Ce programme est un logiciel libre distribue sous licence GNU/GPL. *
* Pour plus de details voir le fichier COPYING.txt ou l'aide en ligne. *
\***************************************************************************/
if (!defined("_ECRIRE_INC_VERSION")) return; #securite
function balise_URL_LOGOUT ($p) {return calculer_balise_dynamique($p,'URL_LOGOUT', array());
}
// $args[0] = url destination apres logout [(#URL_LOGOUT{url})]
function balise_URL_LOGOUT_stat ($args, $filtres) {
return array($args[0]);
}
function balise_URL_LOGOUT_dyn($cible) {
if (!$GLOBALS['auteur_session']['login']) return '';
return generer_url_action('logout',"logout=public&url=" . rawurlencode($cible ? $cible : self()));
}
?>