You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

15 lines
317 B

<?php
if (!defined('_ECRIRE_INC_VERSION')) {
return;
}
function contrib_formulaire_charger($flux) {
if ($flux['args']['form'] == 'editer_article_accueil') {
// Récupérer les classes attribuées
$flux['data']['_saisies'] = array('publie');
$flux['data']['_where'] = "type_article=''";
}
return $flux;
}