Changeset 113849 in spip-zone for _plugins_/saisies
- Timestamp:
- Feb 11, 2019, 4:00:02 PM (7 days ago)
- Location:
- _plugins_/saisies/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/saisies/trunk/inc/saisies_lister.php
r112440 r113849 453 453 454 454 return $saisies_autonomes; 455 } 456 457 /** 458 * La saisie renvoie t-elle un tableau? 459 * note: on teste saisie par saisie, et non pas type de saisie par type de saisie, car certaine type (Evenements par ex) peut, en fonction des options, être tabulaire ou pas. 460 * @param $saisie 461 * @return return bool true si la saisie est tabulaire, false sinon 462 **/ 463 function saisies_saisie_est_tabulaire($saisie) { 464 if (in_array($saisie['saisie'], array('checkbox', 'selection_multiple'))) { 465 $est_tabulaire = true; 466 } else { 467 $est_tabulaire = false; 468 } 469 return pipeline('saisie_est_tabulaire', 470 array('args' => $saisie, 'data' => $est_tabulaire) 471 ); 455 472 } 456 473 -
_plugins_/saisies/trunk/paquet.xml
r113698 r113849 2 2 prefix="saisies" 3 3 categorie="outil" 4 version="3.1 2.7"4 version="3.13.0" 5 5 etat="stable" 6 6 compatibilite="[3.0.0;3.2.*]" … … 21 21 <pipeline nom="affichage_final" inclure="saisies_pipelines.php" /> 22 22 <pipeline nom="saisies_autonomes" action="" /> 23 <pipeline nom="saisie_est_tabulaire" action="" /> 23 24 <pipeline nom="saisies_construire_formulaire_config" action="" /> 24 25 <pipeline nom="formulaire_saisies" action="" />
Note: See TracChangeset
for help on using the changeset viewer.