Changeset 48942 in spip-zone
- Timestamp:
- Jun 20, 2011, 7:58:56 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
_core_/plugins/organiseur/exec/message.php
r45092 r48942 116 116 return "<b>"._T('info_recherche_auteur_a_affiner', array('cherche_auteur' => $cherche_auteur))."</b><br />"; 117 117 } 118 } 119 120 121 /** 122 * Lister les auteurs autorises a on ne sait quoi ... 123 * Plus rien a faire ici 124 * 125 * // http://doc.spip.org/@auteurs_autorises 126 * 127 * @param string $in 128 * @param string $cond 129 * @return string 130 */ 131 function auteurs_autorises($in, $cond='') 132 { 133 return sql_in("statut", array('0minirezo','1comite')) 134 . (!$cond ? '' : " AND $cond") 135 . (!$in ? '' : (" AND ". sql_in("id_auteur", $in, 'NOT'))); 118 136 } 119 137
Note: See TracChangeset
for help on using the changeset viewer.