Changeset 1501:6885aa3f7dc2 for plugins/attachments
- Timestamp:
- 08/21/13 00:47:49 (12 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/attachments/_admin.php
r1468 r1501 29 29 $core =& $GLOBALS['core']; 30 30 $post_media = $core->media->getPostMedia($post->post_id); 31 $item = '<h5 class="clear s-attachments">'.__('Attachments').'</h5>'; 31 $nb_media = count($post_media); 32 $title = !$nb_media ? __('Attachments') : sprintf(__('Attachments (%d)'),$nb_media); 33 $item = '<h5 class="clear s-attachments">'.$title.'</h5>'; 32 34 foreach ($post_media as $f) 33 35 {
Note: See TracChangeset
for help on using the changeset viewer.