Changeset 90825 in spip-zone for _plugins_/facd
- Timestamp:
- Jul 13, 2015, 1:58:05 PM (6 years ago)
- Location:
- _plugins_/facd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/facd/facd_autoriser.php
r89807 r90825 39 39 * On doit lier des docs à d'autres docs 40 40 */ 41 if(!function_exists('autoriser_associerdocuments')){ 41 include_spip('plugins/installer'); 42 if(spip_version_compare($GLOBALS['spip_version_branche'], '3.0.20', '<') && !function_exists('autoriser_associerdocuments')){ 42 43 /** 43 44 * Autoriser a associer des documents a un objet : … … 52 53 */ 53 54 function autoriser_associerdocuments($faire, $type, $id, $qui, $opt){ 55 if (intval($id)<0 AND $id==-$qui['id_auteur']){ 56 return true; 57 } 54 58 return autoriser('modifier',$type,$id,$qui,$opt); 55 59 } -
_plugins_/facd/paquet.xml
r89819 r90825 2 2 prefix="facd" 3 3 categorie="outil" 4 version="0.4. 0"4 version="0.4.1" 5 5 etat="stable" 6 6 compatibilite="[3.0.0;3.0.*]"
Note: See TracChangeset
for help on using the changeset viewer.