Changeset 2106:4765c2ddc532
- Timestamp:
- 09/26/13 16:24:53 (11 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/media_item.php
r2098 r2106 521 521 echo '<h3>'.__('Image details').'</h3>'; 522 522 523 if (count($file->media_meta) == 0) 524 { 525 echo '<p>'.__('No detail').'</p>'; 526 } 527 else 528 { 529 echo '<ul>'; 523 $details = ''; 524 if (count($file->media_meta) > 0) 525 { 530 526 foreach ($file->media_meta as $k => $v) 531 527 { 532 528 if ((string) $v) { 533 echo'<li><strong>'.$k.':</strong> '.html::escapeHTML($v).'</li>';529 $details .= '<li><strong>'.$k.':</strong> '.html::escapeHTML($v).'</li>'; 534 530 } 535 531 } 536 echo '</ul>'; 532 } 533 if ($details) { 534 echo '<ul>'.$details.'</ul>'; 535 } else { 536 echo '<p>'.__('No detail').'</p>'; 537 537 } 538 538 }
Note: See TracChangeset
for help on using the changeset viewer.