Dotclear

Changeset 542


Ignore:
Timestamp:
11/03/08 00:33:01 (15 years ago)
Author:
Moe
google:author:
appears
Message:

DL Manager 1.0-beta11 :

  • added preview column
  • added zip files preview
  • added BreadCrumb? and inJail functions
  • added options to display subdirectories or files in the widget
Location:
plugins/dlManager
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • plugins/dlManager/_admin.php

    r533 r542  
    110110          # filemanager->$exclude_list is protected 
    111111          '<p>'. 
    112                sprintf(__('Files can be excluded from %1$s by editing <strong>%2$s</strong> in <strong>%3$s</strong>.'), 
     112               sprintf( 
     113               __('Files can be excluded from %1$s by editing <strong>%2$s</strong> in <strong>%3$s</strong>.'), 
    113114               __('Download manager'),'media_exclusion',__('about:config')).' '. 
    114115               sprintf(__('For example, to exclude %1$s and %2$s files : <code>%3$s</code>'), 
     
    136137          $tz = $core->blog->settings->blog_timezone; 
    137138 
    138           $w->create('dlManager',__('Download manager'),array('dlManagerWidget','show')); 
     139          $w->create('dlManager',__('Download manager'), 
     140               array('dlManagerWidget','show')); 
    139141 
    140           $w->dlManager->setting('title',__('Title:').' ('.__('optional').')',__('Download manager'),'text'); 
     142          $w->dlManager->setting('title',__('Title:').' ('.__('optional').')', 
     143               __('Download manager'),'text'); 
    141144 
    142145          $w->dlManager->setting('file_sort',__('Sort files:'),'','combo', 
     
    145148          $w->dlManager->setting('root',__('root directory:'),'','combo', 
    146149               dlManager::listDirs()); 
     150           
     151          $w->dlManager->setting('display_dirs',__('Display subdirectories'), 
     152               true,'check'); 
     153           
     154          $w->dlManager->setting('dirs_title',__('Subdirectories title:'). 
     155               ' ('.__('optional').')',__('Directories'),'text'); 
     156           
     157          $w->dlManager->setting('display_files',__('Display files'), 
     158               true,'check'); 
     159           
     160          $w->dlManager->setting('files_title',__('Files title:'). 
     161               ' ('.__('optional').')',__('Files'),'text'); 
    147162 
    148163          $w->dlManager->setting('block',__('Block display:'),'<ul>%s</ul>','text'); 
  • plugins/dlManager/_define.php

    r537 r542  
    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-beta10', 
     30     /* Version */                   '1.0-beta11', 
    3131     /* Permissions */               'admin' 
    3232); 
  • plugins/dlManager/_public.php

    r537 r542  
    6767 
    6868               $_ctx->dlManager_currentDir = '/'; 
    69  
    70                # BreadCrumb 
    71                $breadCrumb = array(); 
    72  
     69                
    7370               # if visitor asked a directory 
    7471               if ((!empty($args)) && (substr($args,0,1) == '/')) 
     
    7673                    $_ctx->dlManager_currentDir = substr($args,1); 
    7774                    $page_dir = $page_root.'/'.$_ctx->dlManager_currentDir; 
    78            
    79                     # BreadCrumb 
    80                     $base_url = dlManager::pageURL().'/'; 
    81                     $dirs = explode('/',$_ctx->dlManager_currentDir); 
    82                     $path = ''; 
    8375                     
    84                     foreach ($dirs as $dir) 
    85                     { 
    86                          $dir = trim($dir); 
    87                           
    88                          # check 
    89                          if (($dir == '.') OR ($dir == '..')) {self::p404();} 
    90                           
    91                          if (!empty($dir)) 
    92                          { 
    93                               $path = (($path == '') ? $dir : $path.'/'.$dir);  
    94                               $breadCrumb[$dir] = $base_url.$path; 
    95                          } 
    96                     } 
    97                } 
    98                 
    99                $_ctx->dlManager_BreadCrumb = $breadCrumb; 
    100                unset($breadCrumb); 
     76                    unset($breadCrumb); 
     77               } 
     78                
     79               # BreadCrumb 
     80               $_ctx->dlManager_BreadCrumb = dlManager::breadCrumb($_ctx->dlManager_currentDir); 
    10181               # /BreadCrumb 
    10282                
     
    138118                    $item->media_type = 'folder'; 
    139119                     
    140                     if (($item->file == $core->media->root) 
     120                    if (($item->file == $parent_dir_full_path) 
    141121                         && ($_ctx->dlManager_currentDir == '/')) 
    142122                    { 
     
    211191          if ($page_root_len > 0) {$page_root_len += 1;} 
    212192           
    213           if (!empty($page_root)) 
    214           { 
    215                if (strpos($file->relname,$page_root) !== 0) 
    216                { 
    217                     self::p404(); 
    218                } 
    219           }          
     193          if (!dlManager::inJail($file->relname)) {self::p404();} 
    220194        
    221195       $_ctx->dlManager_item->relname = 
     
    225199               $_ctx->dlManager_item->relname = ''; 
    226200          } 
    227                 
    228        # BreadCrumb 
    229           $breadCrumb = array(); 
    230  
     201           
    231202          # if visitor asked a directory 
    232            
    233203          $_ctx->dlManager_currentDir = $_ctx->dlManager_item->relname; 
    234204          $page_dir = $page_root.'/'.$_ctx->dlManager_currentDir; 
    235  
     205           
    236206          # BreadCrumb 
    237           $base_url = dlManager::pageURL().'/'; 
    238           $dirs = explode('/',$_ctx->dlManager_currentDir); 
    239           $path = ''; 
    240            
    241           foreach ($dirs as $dir) 
    242           { 
    243                $dir = trim($dir); 
    244                 
    245                # check 
    246                if (($dir == '.') OR ($dir == '..')) {self::p404();} 
    247                 
    248                if (!empty($dir)) 
    249                { 
    250                     $path = (($path == '') ? $dir : $path.'/'.$dir);  
    251                     $breadCrumb[$dir] = $base_url.$path; 
    252                } 
    253           } 
    254            
    255           $_ctx->dlManager_BreadCrumb = $breadCrumb; 
    256           unset($breadCrumb); 
     207          $_ctx->dlManager_BreadCrumb = dlManager::breadCrumb($_ctx->dlManager_currentDir); 
    257208          # /BreadCrumb 
    258209           
    259           # compatibility with Dotclear revisions < 2445 
    260           global $attach_f; 
    261           $attach_f = new ArrayObject(); 
    262           $attach_f->file_url = $file->file_url; 
    263  
    264210          $core->tpl->setPath($core->tpl->getPath(), 
    265211               dirname(__FILE__).'/default-templates/'); 
     
    289235          $page_root = $core->blog->settings->dlmanager_root; 
    290236           
    291           if (!empty($page_root)) 
    292           { 
    293                if (strpos($file->relname,$page_root) !== 0) 
    294                { 
    295                     self::p404(); 
    296                } 
    297           }          
     237          if (!dlManager::inJail($file->relname)) {self::p404();} 
    298238        
    299239          if (is_readable($file->file)) 
     
    418358$core->tpl->addValue('DLMItemImageMetaValue',array('dlManagerPageTpl', 
    419359     'itemImageMetaValue')); 
     360 
     361# zip content 
     362$core->tpl->addBlock('DLMItemZipContent',array('dlManagerPageTpl', 
     363     'itemZipContent')); 
     364$core->tpl->addValue('DLMItemZipContentFile',array('dlManagerPageTpl', 
     365     'itemZipContentFile')); 
    420366 
    421367/** 
     
    940886          return('<?php echo '.sprintf($f,'$value').'; ?>'); 
    941887     } 
     888      
     889     /** 
     890     Loop on zip content 
     891     @param    attr <b>array</b>   Attribute 
     892     @return   <b>string</b> PHP block 
     893     */ 
     894     public static function itemZipContent($attr,$content) 
     895     { 
     896          $f = $GLOBALS['core']->tpl->getFilters($attr); 
     897           
     898          return 
     899          '<?php '. 
     900          '$_ctx->dlManager_index = 0;'. 
     901          '$content = $core->media->getZipContent($_ctx->dlManager_item); '. 
     902          'foreach ($content as $file => $v) { '. 
     903          '?>'."\n". 
     904          $content. 
     905          '<?php $_ctx->dlManager_index += 1; '. 
     906          '}'. 
     907          'unset($content,$_ctx->dlManager_index,$file); ?>'; 
     908     } 
     909      
     910     /** 
     911     Zip content file 
     912     @param    attr <b>array</b>   Attribute 
     913     @return   <b>string</b> PHP block 
     914     */ 
     915     public static function itemZipContentFile($attr) 
     916     { 
     917          $f = $GLOBALS['core']->tpl->getFilters($attr); 
     918           
     919          return('<?php echo '.sprintf($f,'$file').'; ?>'); 
     920     } 
    942921} 
    943922 
     
    970949          $core->media->getDir(); 
    971950           
    972           $items = $core->media->dir['files']; 
    973  
    974951          $items_str = $str = ''; 
    975952 
    976           foreach ($items as $item) { 
    977                $mediaplayer = ''; 
    978                if ($item->media_type == 'image') 
     953          if ($w->display_dirs) 
     954          { 
     955               $items = $core->media->dir['dirs']; 
     956                
     957               # define root of DL Manager 
     958               $page_root = $core->blog->settings->dlmanager_root; 
     959 
     960               # used to remove root from path 
     961               $page_root_len = strlen($page_root); 
     962                
     963               # remove slash at the beginning of the string 
     964               if ($page_root_len > 0) {$page_root_len += 1;} 
     965                
     966               foreach ($items as $item) { 
     967                    if (!empty($item->relname)) 
     968                    { 
     969                         $item->relname = 
     970                                   substr($item->relname,$page_root_len); 
     971                          
     972                         $items_str .= sprintf($w->item,$core->blog->url. 
     973                              $core->url->getBase('media').'/'.$item->relname, 
     974                              $item->basename,$item->basename,''); 
     975                    } 
     976               } 
     977                
     978               if (!empty($items_str)) 
    979979               { 
    980                     $mediaplayer = 
    981                          '<a href="'.$core->blog->url.$core->url->getBase('mediaplayer').'/'. 
    982                          $item->media_id.'" title="'.__('Preview :').' '.$item->media_title.'">'. 
     980                    if ($w->dirs_title) 
     981                    { 
     982                         $str .= '<h3>'.html::escapeHTML($w->dirs_title).'</h3>'; 
     983                    } 
     984                    $str .= sprintf($w->block,$items_str); 
     985               } 
     986          } 
     987           
     988          if ($w->display_files) 
     989          { 
     990               $items_str = ''; 
     991               $items = $core->media->dir['files']; 
     992                
     993               foreach ($items as $item) { 
     994                    $mediaplayer = ''; 
     995                    if ($item->media_type == 'image') 
     996                    { 
     997                         $mediaplayer = 
     998                              '<a href="'.$core->blog->url.$core->url->getBase('mediaplayer').'/'. 
     999                              $item->media_id.'" title="'.__('Preview :').' '.$item->media_title.'">'. 
     1000                              '<img src="'.$core->blog->getQmarkURL(). 
     1001                              'pf=dlManager/images/image.png" alt="'.__('Preview').'" />'. 
     1002                              '</a>'; 
     1003                    } elseif ($item->type == 'audio/mpeg3' || $item->type == 'video/x-flv') 
     1004                    { 
     1005                         $mediaplayer = '<a href="'.$core->blog->url.$core->url->getBase('mediaplayer').'/'. 
     1006                              $item->media_id.'" title="'.__('Preview :').' '.$item->media_title.'">'. 
    9831007                         '<img src="'.$core->blog->getQmarkURL(). 
    984                          'pf=dlManager/images/image.png" alt="'.__('Preview').'" />'. 
     1008                         'pf=dlManager/images/control_play.png" alt="'.__('Preview').'" />'. 
    9851009                         '</a>'; 
    986                } elseif ($item->type == 'audio/mpeg3' || $item->type == 'video/x-flv') 
     1010                    } elseif ($item->type == 'application/zip') 
     1011                    { 
     1012                         $mediaplayer = '<a href="'.$core->blog->url.$core->url->getBase('mediaplayer').'/'. 
     1013                              $item->media_id.'" title="'.__('Preview :').' '.$item->media_title.'">'. 
     1014                         '<img src="'.$core->blog->getQmarkURL(). 
     1015                         'pf=dlManager/images/briefcase.png" alt="'.__('Preview').'" />'. 
     1016                         '</a>'; 
     1017                    } 
     1018                     
     1019                    $items_str .= sprintf($w->item,$core->blog->url. 
     1020                         $core->url->getBase('download').'/'.$item->media_id, 
     1021                         $item->media_title,$item->basename,$mediaplayer); 
     1022               } 
     1023                
     1024               if (!empty($items_str)) 
    9871025               { 
    988                     $mediaplayer = '<a href="'.$core->blog->url.$core->url->getBase('mediaplayer').'/'. 
    989                          $item->media_id.'" title="'.__('Preview :').' '.$item->media_title.'">'. 
    990                     '<img src="'.$core->blog->getQmarkURL(). 
    991                     'pf=dlManager/images/control_play.png" alt="'.__('Preview').'" />'. 
    992                     '</a>'; 
    993                } 
    994                 
    995                $items_str .= sprintf($w->item,$core->blog->url. 
    996                     $core->url->getBase('download').'/'.$item->media_id, 
    997                     $item->media_title,$item->basename,$mediaplayer); 
     1026                    if ($w->files_title) 
     1027                    { 
     1028                         $str .= '<h3>'.html::escapeHTML($w->files_title).'</h3>'; 
     1029                    } 
     1030                    $str .= sprintf($w->block,$items_str); 
     1031               } 
    9981032          } 
    9991033          unset($items); 
     
    10031037               ? '<h2>'.html::escapeHTML($w->title).'</h2>' : null; 
    10041038 
    1005           if (!empty($items_str)) 
    1006           { 
    1007                $str = sprintf($w->block,$items_str); 
    1008           } 
    1009  
    10101039          $link = (strlen($w->link) > 0) ? '<p class="text"><a href="'. 
    10111040               dlManager::pageURL().'">'.html::escapeHTML($w->link).'</a></p>' : null; 
  • plugins/dlManager/default-templates/media.html

    r537 r542  
    2020   
    2121  <style type="text/css"> 
     22     .center {text-align:center;} 
    2223     .size {white-space:pre;} 
    2324     .number {text-align:right;} 
     
    103104                                        {{tpl:lang File}} 
    104105                                   </th> 
     106                                   <th>{{tpl:lang Preview}}</th> 
    105107                                   <th>{{tpl:lang Size}}</th> 
    106108                                   <!-- #<th>{{tpl:lang Type}}</th>--> 
     
    119121                              {{tpl:DLMItemTitle}} 
    120122                         </a> 
     123                    </td> 
     124                    <td class="center"> 
    121125                         <!-- # image files --> 
    122126                         <tpl:DLMItemIf media_type="image"> 
     
    131135                              </a> 
    132136                         </tpl:DLMItemIf> 
     137                         <!-- # zip files --> 
     138                         <tpl:DLMItemIf type="application/zip"> 
     139                              <a href="{{tpl:DLMItemPlayerURL}}" class="preview" title="{{tpl:lang Preview :}} {{tpl:DLMItemBasename}}"> 
     140                                   <img src="{{tpl:BlogQmarkURL}}pf=dlManager/images/briefcase.png" alt="{{tpl:lang Preview}}" /> 
     141                              </a> 
     142                         </tpl:DLMItemIf> 
     143                              
    133144                    </td> 
    134145                    <td class="size">{{tpl:DLMItemSize format="1"}}</td> 
  • plugins/dlManager/default-templates/media_player.html

    r537 r542  
    6363          <p><a href="{{tpl:DLMItemDirPath}}">{{tpl:lang Get back to the directory}}</a></p> 
    6464           
    65           <p> 
     65          <h3> 
    6666               <a href="{{tpl:DLMItemDlURL}}" title="{{tpl:DLMItemBasename}}"> 
    6767                    {{tpl:lang Download this file}} 
    6868               </a> 
    69           </p> 
     69          </h3> 
    7070           
    7171          <div id="player"> 
     
    8282               <tpl:DLMItemIf type="video/x-flv"> 
    8383                    {{tpl:include src="_flv_player.html"}} 
     84               </tpl:DLMItemIf> 
     85                
     86               <tpl:DLMItemIf type="application/zip"> 
     87                    <h3>{{tpl:lang Zip file content}}</h3> 
     88                    <tpl:DLMItemZipContent> 
     89                         <tpl:DLMHeader> 
     90                              <ul> 
     91                         </tpl:DLMHeader> 
     92                         <li>{{tpl:DLMItemZipContentFile}}</li> 
     93                         <tpl:DLMFooter> 
     94                              </ul> 
     95                         </tpl:DLMFooter> 
     96                    </tpl:DLMItemZipContent> 
    8497               </tpl:DLMItemIf> 
    8598          </div> 
  • plugins/dlManager/lib.dlManager.php

    r537 r542  
    6161     /** 
    6262     get sort values 
    63      @param    empty_value    <b>boolean</b> Add an empty value in the array  
     63     @param    empty_value    <b>boolean</b> Add an empty value in the array 
    6464     @return   <b>array</b> sort values 
    6565     */ 
     
    8787          return ($core->blog->url.$core->url->getBase('media')); 
    8888     } 
     89      
     90     /** 
     91     make BreadCrumb 
     92     @param    dir  <b>string</b>  path directory 
     93     @return   <b>array</b> BreadCrumb 
     94     */ 
     95     public static function breadCrumb($dir) 
     96     { 
     97          # BreadCrumb 
     98          $base_url = self::pageURL().'/'; 
     99          $dirs = explode('/',$dir); 
     100          $path = ''; 
     101           
     102          foreach ($dirs as $dir) 
     103          { 
     104               $dir = trim($dir); 
     105                
     106               # check 
     107               if (($dir == '.') OR ($dir == '..')) {self::p404();} 
     108                
     109               if (!empty($dir)) 
     110               { 
     111                    $path = (($path == '') ? $dir : $path.'/'.$dir);  
     112                    $breadCrumb[$dir] = $base_url.$path; 
     113               } 
     114          } 
     115           
     116          if (empty($breadCrumb)) {$breadCrumb = array();} 
     117           
     118          return($breadCrumb); 
     119     } 
     120      
     121     /** 
     122     test if a file or a directory is in "jail" 
     123     @param    path <b>string</b>  path 
     124     @return   <b>boolean</b> BreadCrumb 
     125     */ 
     126     public static function inJail($path) 
     127     { 
     128          global $core; 
     129           
     130          $root = $core->blog->settings->dlmanager_root; 
     131           
     132          if (!empty($root)) 
     133          { 
     134               if (strpos($path,$root) !== 0) 
     135               { 
     136                    return false; 
     137               } 
     138          } 
     139           
     140          return true; 
     141     } 
    89142} 
    90143 
  • plugins/dlManager/locales/fr/main.po

    r537 r542  
    33"Project-Id-Version: DL Manager\n" 
    44"Report-Msgid-Bugs-To: \n" 
    5 "POT-Creation-Date: 2008-10-27 17:29+0100\n" 
    6 "PO-Revision-Date: 2008-10-27 17:29+0100\n" 
     5"POT-Creation-Date: 2008-11-03 00:24+0100\n" 
     6"PO-Revision-Date: 2008-11-03 00:24+0100\n" 
    77"Last-Translator: Moe <poedit@gniark.net>\n" 
    88"Language-Team: Moe <poedit@gniark.net>\n" 
     
    1717"X-Poedit-SearchPath-0: .\n" 
    1818 
    19 #: _public.php:154 
     19#: _public.php:134 
    2020#: public_l10n.php:7 
    2121msgid "parent directory" 
    2222msgstr "répertoire parent" 
    2323 
    24 #: _public.php:982 
    25 #: _public.php:989 
     24#: _public.php:999 
     25#: _public.php:1006 
     26#: _public.php:1013 
    2627msgid "Preview :" 
    2728msgstr "" 
    2829 
    29 #: _public.php:984 
    30 #: _public.php:991 
     30#: _public.php:1001 
     31#: _public.php:1008 
     32#: _public.php:1015 
    3133msgid "Preview" 
    3234msgstr "" 
     
    5153#: _admin.php:75 
    5254#: _admin.php:80 
    53 #: _admin.php:113 
    54 #: _admin.php:118 
    55 #: _admin.php:123 
    56 #: _admin.php:138 
    57 #: _admin.php:140 
    58 #: _admin.php:154 
    59 #: _admin.php:155 
     55#: _admin.php:114 
     56#: _admin.php:119 
     57#: _admin.php:124 
     58#: _admin.php:139 
     59#: _admin.php:143 
     60#: _admin.php:169 
     61#: _admin.php:170 
    6062#: public_l10n.php:3 
    6163msgid "Download manager" 
     
    7779 
    7880#: _admin.php:91 
    79 #: _admin.php:142 
     81#: _admin.php:145 
    8082#: public_l10n.php:5 
    8183msgid "Sort files:" 
     
    9597msgstr "Le répertoire public sera affiché." 
    9698 
    97 #: _admin.php:112 
     99#: _admin.php:113 
    98100#, php-format 
    99101msgid "Files can be excluded from %1$s by editing <strong>%2$s</strong> in <strong>%3$s</strong>." 
    100102msgstr "Les fichiers peuvent être exclus de %1$s en éditant <strong>%2$s</strong> dans <strong>%3$s</strong>." 
    101103 
    102 #: _admin.php:113 
     104#: _admin.php:114 
    103105msgid "about:config" 
    104106msgstr "" 
    105107 
    106 #: _admin.php:114 
     108#: _admin.php:115 
    107109#, php-format 
    108110msgid "For example, to exclude %1$s and %2$s files : <code>%3$s</code>" 
    109111msgstr "Par exemple, pour exclure les fichiers %1$s et %2$s : <code>%3$s</code>" 
    110112 
    111 #: _admin.php:115 
     113#: _admin.php:116 
    112114msgid "PNG" 
    113115msgstr "" 
    114116 
    115 #: _admin.php:115 
     117#: _admin.php:116 
    116118msgid "JPG" 
    117119msgstr "" 
    118120 
    119 #: _admin.php:118 
     121#: _admin.php:119 
    120122#, php-format 
    121123msgid "URL of the %s page :" 
    122124msgstr "URL de la page %s :" 
    123125 
    124 #: _admin.php:122 
     126#: _admin.php:123 
    125127#, php-format 
    126128msgid "View the %s page" 
    127129msgstr "Voir la page %s" 
    128130 
    129 #: _admin.php:140 
     131#: _admin.php:142 
    130132msgid "Title:" 
    131133msgstr "Titre :" 
    132134 
    133 #: _admin.php:140 
     135#: _admin.php:142 
    134136#: _admin.php:155 
     137#: _admin.php:161 
     138#: _admin.php:170 
    135139msgid "optional" 
    136140msgstr "facultatif" 
    137141 
    138 #: _admin.php:145 
     142#: _admin.php:148 
    139143msgid "root directory:" 
    140144msgstr "répertoire de base :" 
    141145 
    142 #: _admin.php:148 
    143 msgid "Block display:" 
    144 msgstr "Affichage du bloc :" 
    145  
    146 #: _admin.php:150 
    147 msgid "Item display:" 
    148 msgstr "Affichage d'un élément :" 
     146#: _admin.php:151 
     147msgid "Display subdirectories" 
     148msgstr "Afficher les sous-répertoires :" 
    149149 
    150150#: _admin.php:154 
    151 #, php-format 
    152 msgid "Add a link to %s in the widget:" 
    153 msgstr "Ajouter un lien vers %s dans le widget :" 
    154  
    155 #: _admin.php:157 
    156 msgid "Home page only" 
    157 msgstr "" 
    158  
     151msgid "Subdirectories title:" 
     152msgstr "Titre des sous-répertoires :" 
     153 
     154#: _admin.php:155 
    159155#: public_l10n.php:6 
    160156msgid "Directories" 
    161157msgstr "Répertoires" 
    162158 
     159#: _admin.php:157 
     160msgid "Display files" 
     161msgstr "Afficher les fichiers" 
     162 
     163#: _admin.php:160 
     164msgid "Files title:" 
     165msgstr "Titre des fichiers :" 
     166 
     167#: _admin.php:161 
     168#: public_l10n.php:12 
     169msgid "Files" 
     170msgstr "Fichiers" 
     171 
     172#: _admin.php:163 
     173msgid "Block display:" 
     174msgstr "Affichage du bloc :" 
     175 
     176#: _admin.php:165 
     177msgid "Item display:" 
     178msgstr "Affichage d'un élément :" 
     179 
     180#: _admin.php:169 
     181#, php-format 
     182msgid "Add a link to %s in the widget:" 
     183msgstr "Ajouter un lien vers %s dans le widget :" 
     184 
     185#: _admin.php:172 
     186msgid "Home page only" 
     187msgstr "" 
     188 
    163189#: public_l10n.php:9 
    164190msgid "No directory." 
     
    169195msgstr "Aucun fichier." 
    170196 
    171 #: public_l10n.php:12 
    172 msgid "Files" 
    173 msgstr "Fichiers" 
    174  
    175197#: public_l10n.php:13 
    176198msgid "Basename" 
     
    225247msgstr "Méta données" 
    226248 
     249#: public_l10n.php:28 
     250msgid "Zip file content" 
     251msgstr "Contenu du fichier zip" 
     252 
  • plugins/dlManager/public_l10n.php

    r537 r542  
    2626__('Download this file'); 
    2727__('Image meta'); 
     28__('Zip file content'); 
    2829?> 
Note: See TracChangeset for help on using the changeset viewer.

Sites map