Changeset 2320:89c91e538879 for admin/media.php
- Timestamp:
- 10/09/13 09:30:33 (12 years ago)
- Branch:
- default
- Children:
- 2322:a75984c93a86, 2406:325f49056c79
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/media.php
r2263 r2320 584 584 if ($post_id && !$f->d) { 585 585 $act .= 586 '<form action="post_media.php" method="post">'. 587 '<input type="image" src="images/plus.png" alt="'.__('Attach this file to entry').'" '. 588 'title="'.__('Attach this file to entry').'" /> '. 589 form::hidden('media_id',$f->media_id). 590 form::hidden('post_id',$post_id). 591 form::hidden('attach',1). 592 $core->formNonce(). 593 '</form>'; 586 '<a class="attach-media" title="'.__('Attach this file to entry').'" href="post_media.php?media_id='.$f->media_id. 587 '&post_id='.$post_id.'&attach=1">'. 588 '<img src="images/plus.png" alt="'.__('Attach this file to entry').'"/>'. 589 '</a>'; 594 590 } 595 591 … … 622 618 return $res; 623 619 } 624 ?>
Note: See TracChangeset
for help on using the changeset viewer.