Changeset 3140:d8412870758a for admin
- Timestamp:
- 11/20/15 14:23:10 (10 years ago)
- Branch:
- default
- Children:
- 3141:edb7db547033, 3142:2519b08d820b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/media.php
r3138 r3140 140 140 # Recent media dirs 141 141 $last_dirs = null; 142 //if ($d) { 142 if (!$q) { // Ignore search results 143 143 $recent_dir = rtrim($d,'/');; 144 144 $core->auth->user_prefs->addWorkspace('interface'); … … 164 164 $core->auth->user_prefs->interface->put('media_last_dirs',serialize($last_dirs)); 165 165 } 166 //}166 } 167 167 168 168 # Zip download … … 523 523 echo '<div class="media-list">'; 524 524 echo $last_folders; 525 526 if (count($items) == 0) 527 { 528 echo 529 '<p>'.__('No file.').'</p>'. 530 sprintf($fmt_form_media,'',' hide'); // need for jsUpload to append new media 531 } 532 else 533 { 534 $pager = new dcPager($page,count($items),$nb_per_page,10); 535 536 echo 525 echo // Search form 537 526 '<form action="'.$core->adminurl->get("admin.media").'" method="get" id="search-form">'. 538 527 '<p><label for="search" class="classic">'.__('Search:').'</label> '. … … 544 533 form::hidden(array('post_id'),$post_id). 545 534 '</p>'. 546 '</form>'. 535 '</form>'; 536 537 if (count($items) == 0) 538 { 539 echo 540 '<p>'.__('No file.').'</p>'. 541 sprintf($fmt_form_media,'',' hide'); // need for jsUpload to append new media 542 } 543 else 544 { 545 $pager = new dcPager($page,count($items),$nb_per_page,10); 546 547 echo 547 548 '<form action="'.$core->adminurl->get("admin.media").'" method="get" id="filters-form">'. 548 549 '<span class="media-file-mode">'.
Note: See TracChangeset
for help on using the changeset viewer.