Changeset 79249 in spip-zone
- Timestamp:
- Dec 9, 2013, 12:58:22 PM (7 years ago)
- Location:
- _plugins_/diogene/diogene/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/diogene/diogene/trunk/diogene_autoriser.php
r72825 r79249 293 293 if(is_array(unserialize($diogene_parent['options_complements'])) && ($complements = unserialize($diogene_parent['options_complements'])) && is_array(unserialize($complements['cextras_enleves']))){ 294 294 foreach(unserialize($complements['cextras_enleves']) as $enleve){ 295 if($ quoi == $opts['type'].'_'.$enleve){295 if($opts['champ'] == $enleve){ 296 296 return false; 297 297 } -
_plugins_/diogene/diogene/trunk/formulaires/cextras_diogene_fonctions.php
r69570 r79249 21 21 */ 22 22 function diogene_recuperer_cextras($type){ 23 $extras = champs_extras_objet($table); 23 $extras = champs_extras_objet(table_objet_sql($type)); 24 24 25 $extras_finaux = array(); 25 26 foreach ($extras as $c) { 26 if(preg_match('/\:/',$c ->label))27 $extras_finaux[$c ->champ] = _T($c->label);27 if(preg_match('/\:/',$c['options']['label'])) 28 $extras_finaux[$c['options']['nom']] = _T($c['options']['label']); 28 29 else 29 $extras_finaux[$c ->champ] = typo($c->label);30 $extras_finaux[$c['options']['nom']] = typo($c['options']['label']); 30 31 } 31 32 return $extras_finaux; -
_plugins_/diogene/diogene/trunk/paquet.xml
r78423 r79249 2 2 prefix="diogene" 3 3 categorie="edition" 4 version="1.6. 5"4 version="1.6.6" 5 5 etat="stable" 6 6 compatibilite="[3.0.0;3.0.*]"
Note: See TracChangeset
for help on using the changeset viewer.