Changeset 1681:15a314956718
- Timestamp:
- 09/01/13 22:03:36 (10 years ago)
- Branch:
- default
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/media.php
r1678 r1681 231 231 $core->auth->user_prefs->addWorkspace('interface'); 232 232 $user_ui_enhanceduploader = $core->auth->user_prefs->interface->enhanceduploader; 233 234 233 235 234 if (!isset($core->media)) { … … 343 342 if ($core_media_writable) 344 343 { 345 echo '<div class="two-cols">'; 344 echo 345 '<h3>'.sprintf(__('In %s:'),($d == '' ? '“'.__('Media manager').'”' : '“'.$d.'”')).'</h3>'. 346 '<div class="media-action-box">'; 346 347 347 348 if ($user_ui_enhanceduploader) { 348 349 echo 349 '<div class=" colenhanced_uploader">';350 '<div class="enhanced_uploader">'; 350 351 } else { 351 352 echo 352 '<div class="col">'; 353 } 354 355 echo 356 '<div class="fieldset">'. 357 '<h3>'.__('Add files').'</h3>'. 353 '<div>'; 354 } 355 356 echo 357 '<h4>'.__('Add files').'</h4>'. 358 358 '<p>'.__('Please take care to publish media that you own and that are not protected by copyright.').'</p>'. 359 359 '<p class="max-sizer form-note info"> '.__('Maximum file size allowed:').' '.files::size(DC_MAX_UPLOAD_SIZE).'</p>'. … … 391 391 '<p style="clear:both;">'.form::hidden(array('d'),$d).'</p>'. 392 392 '</form>'. 393 '</div></div>'; 394 395 echo 396 '<div class="col">'. 397 '<form class="clear fieldset" action="'.html::escapeURL($page_url).'" method="post">'. 393 '</div>'. 394 '</div>'; 395 396 echo 397 '<div class="media-action-box">'. 398 '<form action="'.html::escapeURL($page_url).'" method="post">'. 398 399 '<div id="new-dir-f">'. 399 '<h 3>'.__('New directory').'</h3>'.400 '<h4>'.__('Create new directory').'</h4>'. 400 401 $core->formNonce(). 401 402 '<p><label for="newdir">'.__('Directory Name:').'</label>'. … … 404 405 form::hidden(array('d'),html::escapeHTML($d)).'</p>'. 405 406 '</div>'. 406 '</form></div>'; 407 408 echo '</div>'; 409 } 407 '</form>'. 408 '</div>'; 409 } 410 410 411 411 # Empty remove form (for javascript actions) 412 412 echo 413 '<form id="media-remove-hide" action="'.html::escapeURL($page_url).'" method="post"><div class="clear">'. 413 '<form id="media-remove-hide" action="'.html::escapeURL($page_url).'" method="post" class="hidden">'. 414 '<div>'. 414 415 form::hidden('rmyes',1).form::hidden('d',html::escapeHTML($d)). 415 416 form::hidden('remove',''). 416 417 $core->formNonce(). 417 '</div></form>'; 418 '</div>'. 419 '</form>'; 418 420 419 421 # Get zip directory … … 422 424 { 423 425 echo 424 '<p class="zip-dl"><a class="submit" href="'.html::escapeURL($page_url).'&zipdl=1">'. 425 __('Download this directory as a zip file').'</a></p>'; 426 '<div class="media-action-box">'. 427 '<h4>'.__('Backup content').'</h4>'. 428 '<p>'.__('Compress this directory with its content as a zip file and download it.').'</p>'. 429 '<p><a class="submit" href="'.html::escapeURL($page_url).'&zipdl=1">'. 430 __('Download').'</a></p>'. 431 '</div>'; 426 432 } 427 433 -
admin/style/default.css
r1678 r1681 797 797 border: none; 798 798 } 799 .media-item {799 .media-item, .media-action-box { 800 800 position: relative; 801 801 border: 1px solid #ccc; … … 803 803 padding: 1em; 804 804 width: 300px; 805 height: 120px;806 805 display: inline-block; 807 806 vertical-align: top; 808 } 809 div.media-list .media-item { 807 min-height: 120px 810 808 } 811 809 a.media-icon { … … 905 903 margin-left: 0; 906 904 } 905 .user-perm { 906 margin-bottom: 2em; 907 background: transparent url(user.png) no-repeat left top; 908 } 909 .user-perm h4, .user-perm h5, .user-perm p, .user-perm ul, .user-perm li { 910 margin: 0; 911 padding: 0; 912 } 913 .user-perm h4 { 914 padding-left: 24px; 915 } 916 .user-perm ul { 917 list-style-type: inside; 918 } 919 .user-perm li { 920 margin-left: 1em; 921 padding-left: 0; 922 } 923 p.change-user-perm { 924 margin: .33em 0; 925 } 926 .user-perm h5 { 927 margin: .66em 0 0 0; 928 } 929 907 930 /* -------------------------------------------------------------------- Themes */ 908 931 #themes { -
locales/fr/main.po
r1678 r1681 3286 3286 msgstr "Modifier le %1$s de %2$s" 3287 3287 3288 msgid "Backup" 3289 msgstr "Sauvegarde" 3288 msgid "Backup content" 3289 msgstr "Sauvegarder le contenu" 3290 3291 msgid "Create new directory" 3292 msgstr "Créer un répertoire" 3293 3294 msgid "In %s:" 3295 msgstr "Dans %s :" 3296 3297 msgid "Download" 3298 msgstr "Télécharger" 3299 3300 msgid "Compress this directory with its content as a zip file and download it." 3301 msgstr "Compressez ce dossier et son contenu dans un fichier zip et téléchargez-le." 3302 3303 msgid "Permissions:" 3304 msgstr "Permissions :" 3305 3306 msgid "Publications on this blog:" 3307 msgstr "Publications sur ce blog :" 3308 3309 msgid "Blog entries:" 3310 msgstr "Billets :" 3311 3312 msgid "Pages:" 3313 msgstr "Pages :"
Note: See TracChangeset
for help on using the changeset viewer.