Dotclear

Changeset 550


Ignore:
Timestamp:
11/07/08 00:36:58 (15 years ago)
Author:
Moe
google:author:
appears
Message:

DL Manager 1.0-RC3.2 :

  • fixed bug with files URLs (thanks to Oum)
  • added "Page(s):" before pagination (thanks to Tomtom)
  • added icon to preview default files
Location:
plugins/dlManager
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • plugins/dlManager/_define.php

    r549 r550  
    2828     /* Description*/                "Download manager with a public page and a widget", 
    2929     /* Author */                    "Moe (http://gniark.net/), Osku and Tomtom (http://blog.zenstyle.fr)", 
    30      /* Version */                   '1.0-RC3.1', 
     30     /* Version */                   '1.0-RC3.2', 
    3131     /* Permissions */               'admin' 
    3232); 
  • plugins/dlManager/default-templates/media.html

    r548 r550  
    2323          .size {white-space:pre;} 
    2424          .number {text-align:right;} 
    25           .TB_overlayMacFFBGHack {background: url({{tpl:BlogURL}}pf=dlManager/images/macFFBgHack.png) repeat;} 
     25          .TB_overlayMacFFBGHack {background: url({{tpl:BlogQmarkURL}}pf=dlManager/images/macFFBgHack.png) repeat;} 
    2626  </style> 
    2727 
    28   <link rel="stylesheet" href="{{tpl:BlogURL}}pf=dlManager/default-templates/thickbox.css" type="text/css" media="screen" /> 
     28  <link rel="stylesheet" href="{{tpl:BlogQmarkURL}}pf=dlManager/default-templates/thickbox.css" type="text/css" media="screen" /> 
    2929 
    3030  {{tpl:include src="_head.html"}} 
    3131   
    32      <script type="text/javascript" src="{{tpl:BlogURL}}pf=dlManager/js/thickbox.js"></script> 
     32     <script type="text/javascript" src="{{tpl:BlogQmarkURL}}pf=dlManager/js/thickbox.js"></script> 
    3333      
    3434     <script type="text/javascript"> 
    3535     //<![CDATA[ 
    3636       /* define this before $(document).ready() to avoid an error */ 
    37        var tb_pathToImage = "{{tpl:BlogURL}}pf=dlManager/images/loadingAnimation.gif"; 
     37       var tb_pathToImage = "{{tpl:BlogQmarkURL}}pf=dlManager/images/loadingAnimation.gif"; 
    3838          $(document).ready(function () {  
    3939               $("a.thickbox").each(function() { 
     
    140140                         <!-- # image files --> 
    141141                         <tpl:DLMItemIf media_type="image"> 
    142                               <a href="{{tpl:DLMItemPlayerURL}}" class="preview thickbox" title="{{tpl:lang Preview :}} {{tpl:DLMItemBasename}}"> 
     142                              <a href="{{tpl:DLMItemPlayerURL}}" class="preview thickbox" title="{{tpl:lang Preview:}} {{tpl:DLMItemBasename}}"> 
    143143                                   <img src="{{tpl:BlogQmarkURL}}pf=dlManager/images/image.png" alt="{{tpl:lang Preview}}" /> 
    144144                              </a> 
     
    146146                         <!-- # mp3 files --> 
    147147                         <tpl:DLMItemIf type="audio/mpeg3"> 
    148                               <a href="{{tpl:DLMItemPlayerURL}}" class="preview thickbox" title="{{tpl:lang Preview :}} {{tpl:DLMItemBasename}}"> 
     148                              <a href="{{tpl:DLMItemPlayerURL}}" class="preview thickbox" title="{{tpl:lang Preview:}} {{tpl:DLMItemBasename}}"> 
    149149                                   <img src="{{tpl:BlogQmarkURL}}pf=dlManager/images/music.png" alt="{{tpl:lang Preview}}" /> 
    150150                              </a> 
     
    152152                         <!-- # flv files --> 
    153153                         <tpl:DLMItemIf type="video/x-flv"> 
    154                               <a href="{{tpl:DLMItemPlayerURL}}" class="preview thickbox" title="{{tpl:lang Preview :}} {{tpl:DLMItemBasename}}"> 
     154                              <a href="{{tpl:DLMItemPlayerURL}}" class="preview thickbox" title="{{tpl:lang Preview:}} {{tpl:DLMItemBasename}}"> 
    155155                                   <img src="{{tpl:BlogQmarkURL}}pf=dlManager/images/film.png" alt="{{tpl:lang Preview}}" /> 
    156156                              </a> 
     
    158158                         <!-- # zip files --> 
    159159                         <tpl:DLMItemIf type="application/zip"> 
    160                               <a href="{{tpl:DLMItemPlayerURL}}" class="preview thickbox" title="{{tpl:lang Preview :}} {{tpl:DLMItemBasename}}"> 
     160                              <a href="{{tpl:DLMItemPlayerURL}}" class="preview thickbox" title="{{tpl:lang Preview:}} {{tpl:DLMItemBasename}}"> 
    161161                                   <img src="{{tpl:BlogQmarkURL}}pf=dlManager/images/briefcase.png" alt="{{tpl:lang Preview}}" /> 
     162                              </a> 
     163                         </tpl:DLMItemIf> 
     164                         <!-- # other files --> 
     165                         <tpl:DLMItemIf operator="&&" media_type="!image" type="!audio/mpeg3,video/x-flv,application/zip"> 
     166                              <a href="{{tpl:DLMItemPlayerURL}}" class="preview thickbox" title="{{tpl:lang Informations:}} {{tpl:DLMItemBasename}}"> 
     167                                   <img src="{{tpl:BlogQmarkURL}}pf=dlManager/images/information.png" alt="{{tpl:lang Informations}}" /> 
    162168                              </a> 
    163169                         </tpl:DLMItemIf> 
     
    178184                    </tbody> 
    179185                    </table> 
    180                     <p>{{tpl:DLMPageLinks}}</p> 
     186                    <p>{{tpl:lang Page(s):}} {{tpl:DLMPageLinks}}</p> 
    181187               </tpl:LoopPosition> 
    182188          </tpl:DLMItems> 
  • plugins/dlManager/locales/fr/main.po

    r548 r550  
    33"Project-Id-Version: DL Manager\n" 
    44"Report-Msgid-Bugs-To: \n" 
    5 "POT-Creation-Date: 2008-11-06 21:20+0100\n" 
    6 "PO-Revision-Date: 2008-11-06 21:21+0100\n" 
     5"POT-Creation-Date: 2008-11-07 00:06+0100\n" 
     6"PO-Revision-Date: 2008-11-07 00:06+0100\n" 
    77"Last-Translator: Moe <poedit@gniark.net>\n" 
    88"Language-Team: Moe <poedit@gniark.net>\n" 
     
    2929msgstr "page suivante" 
    3030 
    31 #: _public.php:990 
    32 #: _public.php:997 
     31#: _public.php:1002 
     32#: _public.php:1009 
     33#: _public.php:1016 
     34#: _public.php:1023 
     35#: public_l10n.php:22 
     36msgid "Preview :" 
     37msgstr "" 
     38 
    3339#: _public.php:1004 
    34 #: public_l10n.php:21 
    35 msgid "Preview :" 
    36 msgstr "" 
    37  
    38 #: _public.php:992 
    39 #: _public.php:999 
    40 #: _public.php:1006 
    41 #: public_l10n.php:22 
     40#: _public.php:1011 
     41#: _public.php:1018 
     42#: _public.php:1025 
     43#: public_l10n.php:23 
    4244msgid "Preview" 
    4345msgstr "" 
     
    7981#: index.php:163 
    8082#: index.php:169 
    81 #: index.php:175 
     83#: index.php:174 
    8284msgid "Download manager" 
    8385msgstr "Gestionnaire de téléchargements" 
     
    9597 
    9698#: _admin.php:56 
    97 #: public_l10n.php:24 
     99#: public_l10n.php:25 
    98100#: index.php:137 
    99101msgid "Sort files:" 
     
    160162 
    161163#: public_l10n.php:7 
     164msgid "Downloads" 
     165msgstr "Téléchargements" 
     166 
     167#: public_l10n.php:8 
    162168msgid "Download this file" 
    163169msgstr "Télécharger ce fichier" 
    164  
    165 #: public_l10n.php:8 
    166 msgid "Downloads" 
    167 msgstr "Téléchargements" 
    168170 
    169171#: public_l10n.php:9 
     
    211213msgstr "Aucun fichier." 
    212214 
    213 #: public_l10n.php:23 
     215#: public_l10n.php:21 
     216msgid "Page(s):" 
     217msgstr "Page(s) :" 
     218 
     219#: public_l10n.php:24 
    214220msgid "Size" 
    215221msgstr "Taille" 
    216222 
    217 #: public_l10n.php:25 
     223#: public_l10n.php:26 
    218224msgid "Type" 
    219225msgstr "Type" 
    220226 
    221 #: public_l10n.php:26 
     227#: public_l10n.php:27 
    222228msgid "Zip file content" 
    223229msgstr "Contenu du fichier zip" 
     
    303309msgstr "Voir la page %s" 
    304310 
    305 #: index.php:180 
     311#: index.php:179 
    306312msgid "Save configuration" 
    307313msgstr "Enregistrer la configuration" 
  • plugins/dlManager/public_l10n.php

    r548 r550  
    55__("Download manager"); 
    66__("Download number"); 
     7__("Downloads"); 
    78__("Download this file"); 
    8 __("Downloads"); 
    99__("Entries containing this media"); 
    1010__("Extension"); 
     
    1919__("No directory."); 
    2020__("No file."); 
     21__("Page(s):"); 
    2122__("Preview :"); 
    2223__("Preview"); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map