</th> <th class="cel_description"><?php echo T_('Description'); ?> </th> <th class="cel_action"><?php echo T_('Action'); ?> </th> </tr> </thead> <tbody> <?php foreach ($object_ids as $license_id) { $libitem = new License($license_id); $libitem->format(); require AmpConfig::get('prefix') . '/templates/show_license_row.inc.php'; ?> <?php } if (!count($object_ids)) { ?> <tr class="<?php echo UI::flip_class(); ?> "> <td colspan="6" class="error"><?php echo T_('No Licenses Found'); ?> </td> </tr>
$songprops[gettext_noop('Filename')] = scrub_out($song->file) . " " . $song->f_size; } if ($song->update_time) { $songprops[gettext_noop('Last Updated')] = date("d/m/Y H:i", $song->update_time); } $songprops[gettext_noop('Added')] = date("d/m/Y H:i", $song->addition_time); if (AmpConfig::get('show_played_times')) { $songprops[gettext_noop('# Played')] = scrub_out($song->object_cnt); } if (AmpConfig::get('show_lyrics')) { $songprops[gettext_noop('Lyrics')] = $song->f_lyrics; } if (AmpConfig::get('licensing')) { if ($song->license) { $license = new License($song->license); $license->format(); $songprops[gettext_noop('Licensing')] = $license->f_link; } } $owner_id = $song->get_user_owner(); if (AmpConfig::get('sociable') && $owner_id > 0) { $owner = new User($owner_id); $owner->format(); $songprops[gettext_noop('Uploaded by')] = $owner->f_link; } foreach ($songprops as $key => $value) { if (trim($value)) { $rowparity = UI::flip_class(); echo "<dt class=\"" . $rowparity . "\">" . T_($key) . "</dt><dd class=\"" . $rowparity . "\">" . $value . "</dd>"; } }