Changeset 3369:363b4b1ded64 for admin/media.php
- Timestamp:
- 10/29/16 08:27:48 (9 years ago)
- Branch:
- default
- File:
-
- 1 edited
-
admin/media.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
admin/media.php
r3340 r3369 516 516 517 517 call_user_func($open_f,__('Media manager'), 518 dcPage::jsModal(). 518 519 dcPage::jsLoad('js/_media.js'). 519 520 ($core_media_writable ? dcPage::jsUpload(array('d='.$d)) : ''), … … 966 967 } 967 968 969 $file_type = explode('/',$f->type); 970 $class_open = 'class="modal-'.$file_type[0].'" '; 971 968 972 // Render markup 969 973 if (!$table) { … … 979 983 $f->media_dtstr.' - '. 980 984 files::size($f->size).' - '. 981 '<a href="'.$f->file_url.'">'.__('open').'</a>'.985 '<a '.$class_open.'href="'.$f->file_url.'">'.__('open').'</a>'. 982 986 '</li>'; 983 987 } … … 985 989 986 990 // Show player if relevant 987 $file_type = explode('/',$f->type);988 991 if ($file_type[0] == 'audio') 989 992 { … … 1000 1003 '<br />'.($f->d ? '' : $f->media_title).'</td>'; 1001 1004 $res .= '<td class="nowrap count">'.($f->d ? '' : $f->media_dtstr).'</td>'; 1002 $res .= '<td class="nowrap count">'.($f->d ? '' : files::size($f->size).' - '.'<a href="'.$f->file_url.'">'.__('open').'</a>').'</td>'; 1005 $res .= '<td class="nowrap count">'.($f->d ? '' : files::size($f->size).' - '. 1006 '<a '.$class_open.'href="'.$f->file_url.'">'.__('open').'</a>').'</td>'; 1003 1007 $res .= '</tr>'; 1004 1008 }
Note: See TracChangeset
for help on using the changeset viewer.
