Changeset 51596 in spip-zone
- Timestamp:
- Sep 18, 2011, 4:21:48 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/Association/Associaspip/association_options.php
r51540 r51596 159 159 spip_unlink(cache_meta('association_metas')); 160 160 } 161 161 162 // Filtre pour "afficher" ou "cacher" un bloc div 162 163 // Utilise dans le formulaire cvt "editer_asso_comptes.html" … … 166 167 $res = 'cachediv'; 167 168 for($i=0;$i<count($operations);$i++) { 168 $operation = $GLOBALS['association_metas'][ $operations[$i]];169 $operation = $GLOBALS['association_metas']["classe_".$operations[$i]]; 169 170 if($type_operation===$operation) { 170 171 $res = ''; … … 174 175 } 175 176 else { 176 $res = ($type_operation===$GLOBALS['association_metas'][ $list_operation])?'':'cachediv';177 $res = ($type_operation===$GLOBALS['association_metas']["classe_".$list_operation])?'':'cachediv'; 177 178 } 178 179 return $res;
Note: See TracChangeset
for help on using the changeset viewer.