Changeset 2664:c47621d6be97 for admin
- Timestamp:
- 02/18/14 09:04:27 (12 years ago)
- Branch:
- default
- Children:
- 2665:2976f191aadb, 2695:0af47a71595a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/media.php
r2649 r2664 75 75 76 76 $page_url = 'media.php?popup='.$popup.'&post_id='.$post_id; 77 $temp = $core->callBehavior('adminMediaURL',$page_url); 78 if ($temp != '') { 79 $page_url=$temp; 80 } 77 if (!empty($temp = $core->callBehavior('adminMediaURL',$page_url))) { 78 $page_url = $temp; 79 } 80 81 81 if ($popup) { 82 82 $open_f = array('dcPage','openPopup'); … … 579 579 } else { 580 580 $link = 'media_item.php?id='.$f->media_id.'&popup='.$popup.'&post_id='.$post_id; 581 $link = $core->callBehavior('adminMediaURL',$link); 581 if (!empty($temp = $core->callBehavior('adminMediaURL',$link))) { 582 $link = $temp; 583 } 582 584 } 583 585
Note: See TracChangeset
for help on using the changeset viewer.