File "licence.php"
Full path: /home/argothem/www/organecyberpresse/plugins/auto/licence/v1.1.0/balise/licence.php
File size: 483 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
/*
* Plugin Licence
* (c) 2007-2009 fanouch
* Distribue sous licence GPL
*
*/
if (!defined('_ECRIRE_INC_VERSION')) {
return;
}
function balise_LICENCE_dist($p) {
if (($logo = interprete_argument_balise(1, $p)) == null) {
$logo = "'oui'";
}
if (($lien = interprete_argument_balise(2, $p)) == null) {
$lien = "'oui'";
}
$p->code = 'licence_affiche(' . champ_sql('id_licence', $p) . ',' . $logo . ',' . $lien . ')';
$p->interdire_scripts = false;
return $p;
}