Changeset 3094:b8ba079a19f4 for admin
- Timestamp:
- 09/20/15 18:35:34 (10 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/media.php
r3034 r3094 371 371 372 372 if ($post_id) { 373 echo '<div class="form-note info"><p>'.sprintf(__('Choose a file to attach to entry %s by clicking on %s .'),373 echo '<div class="form-note info"><p>'.sprintf(__('Choose a file to attach to entry %s by clicking on %s'), 374 374 '<a href="'.$core->getPostAdminURL($post_type,$post_id).'">'.html::escapeHTML($post_title).'</a>', 375 '<img src="images/plus.png" alt="'.__('Attach this file to entry').'" />').'</p></div>'; 375 '<img src="images/plus.png" alt="'.__('Attach this file to entry').'" />'); 376 if ($core_media_writable) { 377 echo ' '.__('or').' '.sprintf('<a href="#fileupload">%s</a>',__('upload a new file')); 378 } 379 echo '</p></div>'; 376 380 } 377 381 if ($popup) { 378 echo '<div class="info"><p>'.sprintf(__('Choose a file to insert into entry by clicking on %s.'), 379 '<img src="images/plus.png" alt="'.__('Attach this file to entry').'" />').'</p></div>'; 382 echo '<div class="info"><p>'.sprintf(__('Choose a file to insert into entry by clicking on %s'), 383 '<img src="images/plus.png" alt="'.__('Attach this file to entry').'" />'); 384 if ($core_media_writable) { 385 echo ' '.__('or').' '.sprintf('<a href="#fileupload">%s</a>',__('upload a new file')); 386 } 387 echo '</p></div>'; 380 388 } 381 389
Note: See TracChangeset
for help on using the changeset viewer.