Changeset 88811 in spip-zone


Ignore:
Timestamp:
Apr 26, 2015, 10:41:55 AM (5 years ago)
Author:
p@…
Message:

Prendre en charge l'autorisations "joindredocument"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/uploadhtml5/trunk/uploadhtml5_pipelines.php

    r88807 r88811  
    3737function uploadhtml5_afficher_complement_objet($flux) {
    3838
    39     $flux['data'] .= recuperer_fond('prive/squelettes/inclure/uploadhtml5', $flux['args']);
     39    if ($type=$flux['args']['type']
     40        and $id=intval($flux['args']['id'])
     41        and (autoriser('joindredocument',$type,$id))) {
     42
     43        $flux['data'] .= recuperer_fond('prive/squelettes/inclure/uploadhtml5', $flux['args']);
     44    }
    4045
    4146    return $flux;
Note: See TracChangeset for help on using the changeset viewer.