Changeset 1280:d9627cb1cb02 for admin/media.php
- Timestamp:
- 08/06/13 10:03:57 (12 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/media.php
r1234 r1280 335 335 336 336 echo 337 '<form id="fileupload" action="'.html::escapeURL($page_url).'" method="POST" enctype="multipart/form-data">'.338 337 '<fieldset id="add-file-f"><legend>'.__('Add files').'</legend>'. 339 338 '<p>'.__('Please take care to publish media that you own and that are not protected by copyright.').'</p>'. 340 form::hidden(array('MAX_FILE_SIZE'),DC_MAX_UPLOAD_SIZE). 341 $core->formNonce(). 339 ' <form id="fileupload" action="'.html::escapeURL($page_url).'" method="POST" enctype="multipart/form-data">'. 340 '<div>'.form::hidden(array('MAX_FILE_SIZE'),DC_MAX_UPLOAD_SIZE). 341 $core->formNonce().'</div>'. 342 342 '<div class="fileupload-ctrl"><div class="files"></div></div>'; 343 343 … … 369 369 370 370 echo 371 form::hidden(array('d'),$d).371 '<div>'.form::hidden(array('d'),$d).'</div>'. 372 372 '</fieldset>'. 373 373 '</form>'. … … 428 428 $class = 'media-item media-col-'.($i%2); 429 429 430 $alt = (!$f->d ? sprintf(__('Media details of %s'),$fname) :431 sprintf(__('Go to %s folder'),($fname == '..' ? __('parent') : $fname)));432 430 $res = 433 431 '<div class="'.$class.'"><a class="media-icon media-link" href="'.$link.'">'. 434 '<img src="'.$f->media_icon.'" alt=" '.$alt.'" /></a>'.432 '<img src="'.$f->media_icon.'" alt="" /></a>'. 435 433 '<ul>'. 436 434 '<li><a class="media-link" href="'.$link.'">'.$fname.'</a></li>';
Note: See TracChangeset
for help on using the changeset viewer.