- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/media.php
r1192 r1234 335 335 336 336 echo 337 '<form id="fileupload" action="'.html::escapeURL($page_url).'" method="POST" enctype="multipart/form-data">'. 337 338 '<fieldset id="add-file-f"><legend>'.__('Add files').'</legend>'. 338 339 '<p>'.__('Please take care to publish media that you own and that are not protected by copyright.').'</p>'. 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>'. 340 form::hidden(array('MAX_FILE_SIZE'),DC_MAX_UPLOAD_SIZE). 341 $core->formNonce(). 342 342 '<div class="fileupload-ctrl"><div class="files"></div></div>'; 343 343 … … 369 369 370 370 echo 371 '<div>'.form::hidden(array('d'),$d).'</div>'.371 form::hidden(array('d'),$d). 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))); 430 432 $res = 431 433 '<div class="'.$class.'"><a class="media-icon media-link" href="'.$link.'">'. 432 '<img src="'.$f->media_icon.'" alt=" " /></a>'.434 '<img src="'.$f->media_icon.'" alt="'.$alt.'" /></a>'. 433 435 '<ul>'. 434 436 '<li><a class="media-link" href="'.$link.'">'.$fname.'</a></li>';
Note: See TracChangeset
for help on using the changeset viewer.