Changeset 22700 in spip-zone


Ignore:
Timestamp:
Sep 22, 2008, 3:38:06 PM (13 years ago)
Author:
erational@…
Message:

cfg facultatif et lien doc.

Location:
_plugins_/_dev_/swfupload
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/_dev_/swfupload/exec/swfupload_admin.php

    r20564 r22700  
    4747
    4848//$upload_dir = "../".determine_upload();
    49 $file_size_limit = lire_config('swfupload/file_size_limit');
    50 $file_types = lire_config('swfupload/file_types');
    51 $file_upload_limit = lire_config('swfupload/file_upload_limit');
    52 $debug = lire_config('swfupload/debug');
     49
     50// si cfg dispo, on charge les valeurs
     51if (function_exists(lire_config))  {   
     52  $file_size_limit = lire_config('swfupload/file_size_limit');
     53  $file_types = lire_config('swfupload/file_types');
     54  $file_upload_limit = lire_config('swfupload/file_upload_limit');
     55  $debug = lire_config('swfupload/debug');
     56}
    5357
    5458if (!$file_size_limit || $file_size_limit == '_' || $file_size_limit == '') $file_size_limit = '2048' ;
  • _plugins_/_dev_/swfupload/plugin.xml

    r20536 r22700  
    44        <version>0.2</version>
    55        <etat>dev</etat>
    6         <description>Permet de t&eacute;l&eacute;charger des images dans le dossier upload sans acc&egrave;s ftp</description>
     6        <description>Permet de t&eacute;l&eacute;charger des images dans le dossier upload sans acc&egrave;s FTP (ne fonctionne que sous Internet Explorer)
     7_ si vous avez cfg: [configuration->index.php?exec=cfg&cfg=swfupload]
     8  </description>
    79        <icon>swfupload-24.png</icon>
    8         <lien></lien>
     10        <lien>[->http://www.spip-contrib.net/Un-plugin-SWFUpload]</lien>
    911        <prefix>swfupload</prefix>
    1012        <pipeline>
Note: See TracChangeset for help on using the changeset viewer.