Changeset 599
- Timestamp:
- 12/16/08 18:48:03 (14 years ago)
- google:author:
- appears
- Location:
- plugins/dlManager
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/dlManager/_define.php
r563 r599 28 28 /* Description*/ "Download manager with a public page and a widget", 29 29 /* Author */ "Moe (http://gniark.net/), Osku and Tomtom (http://blog.zenstyle.fr)", 30 /* Version */ '1.0 ',30 /* Version */ '1.0.1', 31 31 /* Permissions */ 'admin' 32 32 ); -
plugins/dlManager/_public.php
r560 r599 313 313 http::cache(array_merge(array($file->file),get_included_files())); 314 314 header('Content-type: '.$file->type); 315 header('Content-Length: '. filesize($file->file));315 header('Content-Length: '.$file->size); 316 316 header('Content-Disposition: attachment; filename="'.$file->basename.'"'); 317 317 readfile($file->file); … … 1049 1049 public static function itemFileContent($attr) 1050 1050 { 1051 return('<?php if (is_readable($_ctx->items->file)) : '. 1051 return('<?php if ((is_readable($_ctx->items->file)) '. 1052 '&& ($_ctx->items->size < 1000000)) : '. 1052 1053 'echo html::escapeHTML(file_get_contents($_ctx->items->file));'. 1053 1054 'endif; ?>'); -
plugins/dlManager/default-templates/media.html
r560 r599 89 89 </p> 90 90 91 <!-- #<h3>{{tpl:lang Directories}}</h3>91 <!-- #<h3>{{tpl:lang Directories}}</h3> 92 92 93 93 <tpl:DLMIfNoItem type="dirs"> … … 107 107 </tpl:DLMItems> 108 108 109 <!-- #<h3>{{tpl:lang Files}}</h3>109 <!-- #<h3>{{tpl:lang Files}}</h3> 110 110 111 111 <tpl:DLMIfSortIsEnabled> -
plugins/dlManager/index.php
r558 r599 185 185 __('Download manager'),'<strong>media_exclusion</strong>','<strong>about:config</strong>'); 186 186 echo ' '; 187 printf(__('For example, to exclude %1$s and %2$s files : <code>%3$s</code>'),188 'PNG','JPG',' /\.(png|jpg)/i'); ?>187 printf(__('For example, to exclude %1$s and %2$s files : %3$s'), 188 'PNG','JPG','<code>/\.(png|jpg)/i</code>'); ?> 189 189 </p> 190 190 <p> -
plugins/dlManager/locales/fr/main.po
r564 r599 3 3 "Project-Id-Version: DL Manager\n" 4 4 "Report-Msgid-Bugs-To: \n" 5 "POT-Creation-Date: 2008-11-1 1 12:27+0100\n"6 "PO-Revision-Date: 2008-11-18 1 4:53+0100\n"5 "POT-Creation-Date: 2008-11-18 16:14+0100\n" 6 "PO-Revision-Date: 2008-11-18 16:14+0100\n" 7 7 "Last-Translator: Moe <poedit@gniark.net>\n" 8 8 "Language-Team: Moe <poedit@gniark.net>\n" … … 34 34 msgstr "suivante" 35 35 36 #: _public.php:119737 #: public_l10n.php:2138 msgid "Preview:"39 msgstr ""40 41 #: _public.php:119942 #: public_l10n.php:2243 msgid "Preview"44 msgstr ""45 46 36 #: lib.dlManager.php:90 47 37 msgid "By names, ascendant" … … 66 56 msgstr "Gestionnaire de téléchargements" 67 57 68 #: _admin.php:50 69 #: _admin.php:54 70 #: _admin.php:80 71 #: _admin.php:81 58 #: public_l10n.php:2 59 msgid "Archives" 60 msgstr "" 61 62 #: public_l10n.php:3 63 msgid "Basename" 64 msgstr "Nom du fichier" 65 66 #: public_l10n.php:4 67 #: _widget.php:61 68 msgid "Directories" 69 msgstr "Répertoires" 70 72 71 #: public_l10n.php:5 73 72 #: index.php:90 … … 82 81 #: index.php:191 83 82 #: index.php:197 83 #: _widget.php:45 84 #: _widget.php:49 85 #: _widget.php:75 86 #: _widget.php:76 84 87 msgid "Download manager" 85 88 msgstr "Gestionnaire de téléchargements" 86 87 #: _admin.php:5388 msgid "Title:"89 msgstr "Titre :"90 91 #: _admin.php:5392 #: _admin.php:6693 #: _admin.php:7294 #: _admin.php:8195 msgid "optional"96 msgstr "facultatif"97 98 #: _admin.php:5699 #: public_l10n.php:24100 #: index.php:158101 msgid "Sort files:"102 msgstr "Trier les fichiers :"103 104 #: _admin.php:59105 msgid "root directory:"106 msgstr "répertoire de base :"107 108 #: _admin.php:62109 msgid "Display subdirectories"110 msgstr "Afficher les sous-répertoires"111 112 #: _admin.php:65113 msgid "Subdirectories title:"114 msgstr "Titre des sous-répertoires :"115 116 #: _admin.php:66117 #: public_l10n.php:4118 msgid "Directories"119 msgstr "Répertoires"120 121 #: _admin.php:68122 msgid "Display files"123 msgstr "Afficher les fichiers"124 125 #: _admin.php:71126 msgid "Files title:"127 msgstr "Titre des fichiers :"128 129 #: _admin.php:72130 #: public_l10n.php:11131 msgid "Files"132 msgstr "Fichiers"133 134 #: _admin.php:74135 msgid "Block display:"136 msgstr "Affichage du bloc :"137 138 #: _admin.php:76139 msgid "Item display:"140 msgstr "Affichage d'un élément :"141 142 #: _admin.php:80143 #, php-format144 msgid "Add a link to %s in the widget:"145 msgstr "Ajouter un lien vers %s dans le widget :"146 147 #: _admin.php:83148 msgid "Home page only"149 msgstr ""150 151 #: public_l10n.php:2152 msgid "Archives"153 msgstr ""154 155 #: public_l10n.php:3156 msgid "Basename"157 msgstr "Nom du fichier"158 89 159 90 #: public_l10n.php:6 … … 177 108 msgstr "Fichier" 178 109 110 #: public_l10n.php:11 111 #: _widget.php:67 112 msgid "Files" 113 msgstr "Fichiers" 114 179 115 #: public_l10n.php:12 180 116 msgid "Get back to the directory" … … 209 145 msgstr "Page(s) :" 210 146 147 #: public_l10n.php:21 148 #: _widget.php:184 149 msgid "Preview:" 150 msgstr "" 151 152 #: public_l10n.php:22 153 #: _widget.php:186 154 msgid "Preview" 155 msgstr "" 156 211 157 #: public_l10n.php:23 212 158 msgid "Size" 213 159 msgstr "Taille" 214 160 161 #: public_l10n.php:24 162 #: index.php:158 163 #: _widget.php:51 164 msgid "Sort files:" 165 msgstr "Trier les fichiers :" 166 215 167 #: public_l10n.php:25 216 168 msgid "Type" … … 307 259 #: index.php:187 308 260 #, php-format 309 msgid "For example, to exclude %1$s and %2$s files : <code>%3$s</code>"310 msgstr "Par exemple, pour exclure les fichiers %1$s et %2$s : <code>%3$s</code>"261 msgid "For example, to exclude %1$s and %2$s files : %3$s" 262 msgstr "Par exemple, pour exclure les fichiers %1$s et %2$s : %3$s" 311 263 312 264 #: index.php:191 … … 324 276 msgstr "Enregistrer la configuration" 325 277 278 #: _widget.php:48 279 msgid "Title:" 280 msgstr "Titre :" 281 282 #: _widget.php:48 283 #: _widget.php:61 284 #: _widget.php:67 285 #: _widget.php:76 286 msgid "optional" 287 msgstr "facultatif" 288 289 #: _widget.php:54 290 msgid "root directory:" 291 msgstr "répertoire de base :" 292 293 #: _widget.php:57 294 msgid "Display subdirectories" 295 msgstr "Afficher les sous-répertoires" 296 297 #: _widget.php:60 298 msgid "Subdirectories title:" 299 msgstr "Titre des sous-répertoires :" 300 301 #: _widget.php:63 302 msgid "Display files" 303 msgstr "Afficher les fichiers" 304 305 #: _widget.php:66 306 msgid "Files title:" 307 msgstr "Titre des fichiers :" 308 309 #: _widget.php:69 310 msgid "Block display:" 311 msgstr "Affichage du bloc :" 312 313 #: _widget.php:71 314 msgid "Item display:" 315 msgstr "Affichage d'un élément :" 316 317 #: _widget.php:75 318 #, php-format 319 msgid "Add a link to %s in the widget:" 320 msgstr "Ajouter un lien vers %s dans le widget :" 321 322 #: _widget.php:78 323 msgid "Home page only" 324 msgstr "" 325
Note: See TracChangeset
for help on using the changeset viewer.