Subversion Repositories Applications.papyrus

Compare Revisions

Ignore whitespace Rev 1025 → Rev 1026

/trunk/papyrus/bibliotheque/fonctions/pap_meta.fonct.php
19,7 → 19,7
// | License along with this library; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: pap_meta.fonct.php,v 1.4 2006-04-28 12:41:49 florian Exp $
// CVS : $Id: pap_meta.fonct.php,v 1.5 2006-10-10 12:05:52 jp_milcent Exp $
/**
* Bibliothèque de fonctions permettant d'inclure des balises META.
*
34,7 → 34,7
//Autres auteurs :
*@author Aucun
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.4 $ $Date: 2006-04-28 12:41:49 $
*@version $Revision: 1.5 $ $Date: 2006-10-10 12:05:52 $
// +------------------------------------------------------------------------------------------------------+
*/
 
256,16 → 256,22
function GEN_viderMeta($type)
{
if ($type == 'http-equiv') {
foreach ($GLOBALS['_GEN_commun']['meta_http_equiv'] as $cle => $val) {
$GLOBALS['_GEN_commun']['meta_http_equiv'][$cle] = null;
if (count($GLOBALS['_GEN_commun']['meta_http_equiv']) > 0) {
foreach ($GLOBALS['_GEN_commun']['meta_http_equiv'] as $cle => $val) {
$GLOBALS['_GEN_commun']['meta_http_equiv'][$cle] = null;
}
}
} else if ($type == 'meta') {
foreach ($GLOBALS['_GEN_commun']['meta'] as $cle => $val) {
$GLOBALS['_GEN_commun']['meta'][$cle] = null;
if (count($GLOBALS['_GEN_commun']['meta']) > 0) {
foreach ($GLOBALS['_GEN_commun']['meta'] as $cle => $val) {
$GLOBALS['_GEN_commun']['meta'][$cle] = null;
}
}
} else if ($type == 'dc') {
foreach ($GLOBALS['_GEN_commun']['meta_name_dc'] as $cle => $val) {
$GLOBALS['_GEN_commun']['meta_name_dc'][$cle] = null;
if (count($GLOBALS['_GEN_commun']['meta_name_dc']) > 0) {
foreach ($GLOBALS['_GEN_commun']['meta_name_dc'] as $cle => $val) {
$GLOBALS['_GEN_commun']['meta_name_dc'][$cle] = null;
}
}
} else {
die('ERREUR Papyrus : le type de balise est incorrect. <br />'.
278,6 → 284,9
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.4 2006/04/28 12:41:49 florian
* corrections erreurs chemin
*
* Revision 1.3 2004/12/06 19:45:45 jpm
* Ajout d'une fonction permettant de vider les tableaux des meta.
*