<?php show_rating($season->id, 'tvshow_season'); ?> </div> <?php } ?> <?php if (AmpConfig::get('userflags')) { ?> <div style="display:table-cell;" id="userflag_<?php echo $season->id; ?> _tvshow_season"> <?php Userflag::show($season->id, 'tvshow_season'); ?> </div> <?php } } ?> <div id="information_actions"> <h3><?php echo T_('Actions'); ?> :</h3> <ul> <?php if (AmpConfig::get('directplay')) { ?>
$userflag->set_flag($_GET['userflag']); Userflag::show($_GET['object_id'], $_GET['userflag_type']); $key = "userflag_" . $_GET['object_id'] . "_" . $_GET['userflag_type']; $results[$key] = ob_get_contents(); ob_end_clean(); } else { $results['rfc3514'] = '0x1'; } break; case 'action_buttons': ob_start(); if (AmpConfig::get('ratings')) { echo " <div id='rating_" . $_GET['object_id'] . "_" . $_GET['object_type'] . "'>"; Rating::show($_GET['object_id'], $_GET['object_type']); echo "</div> |"; } if (AmpConfig::get('userflags')) { echo " <div id='userflag_" . $_GET['object_id'] . "_" . $_GET['object_type'] . "'>"; Userflag::show($_GET['object_id'], $_GET['object_type']); echo "</div>"; } $results['action_buttons'] = ob_get_contents(); ob_end_clean(); break; default: $results['rfc3514'] = '0x1'; break; } // end switch action // Go ahead and do the echo echo xoutput_from_array($results);
?> _tvshow"><?php Rating::show($libitem->id, 'tvshow'); ?> </td> <?php } ?> <?php if (AmpConfig::get('userflags')) { ?> <td class="cel_userflag" id="userflag_<?php echo $libitem->id; ?> _tvshow"><?php Userflag::show($libitem->id, 'tvshow'); ?> </td> <?php } } ?> <td class="cel_action"> <?php if (Access::check('interface', '50')) { ?> <a id="<?php echo 'edit_tvshow_' . $libitem->id; ?> " onclick="showEditDialog('tvshow_row', '<?php echo $libitem->id;
<?php show_rating($podcast->id, 'podcast'); ?> </div> <?php } ?> <?php if (AmpConfig::get('userflags')) { ?> <div style="display:table-cell;" id="userflag_<?php echo $podcast->id; ?> _podcast"> <?php Userflag::show($podcast->id, 'podcast'); ?> </div> <?php } } ?> <div id="information_actions"> <h3><?php echo T_('Actions'); ?> :</h3> <ul> <?php if (AmpConfig::get('directplay')) { ?>
<?php show_rating($tvshow->id, 'tvshow'); ?> </div> <?php } ?> <?php if (AmpConfig::get('userflags')) { ?> <div style="display:table-cell;" id="userflag_<?php echo $tvshow->id; ?> _tvshow"> <?php Userflag::show($tvshow->id, 'tvshow'); ?> </div> <?php } } ?> <div id="information_actions"> <h3><?php echo T_('Actions'); ?> :</h3> <ul> <?php if (AmpConfig::get('directplay')) { ?>
echo T_('Rating'); ?> </label> <div id="rating_<?php echo $media->id; ?> _song"> <?php Rating::show($media->id, 'song'); ?> </div> </div> <div class="np_cell cel_userflag"> <label><?php echo T_('Fav.'); ?> </label> <div id="userflag_<?php echo $media->id; ?> _song"> <?php Userflag::show($media->id, 'song'); ?> </div> </div> <?php } ?> </div>
<td class="cel_rating" id="rating_<?php echo $libitem->id; ?> _playlist"><?php Rating::show($libitem->id, 'playlist'); ?> </td> <?php } if (AmpConfig::get('userflags')) { ?> <td class="cel_userflag" id="userflag_<?php echo $libitem->id; ?> _playlist"><?php Userflag::show($libitem->id, 'playlist'); ?> </td> <?php } } ?> <td class="cel_action"> <?php if (Access::check_function('batch_download') && check_can_zip('playlist')) { ?> <a rel="nohtml" href="<?php echo AmpConfig::get('web_path'); ?> /batch.php?action=playlist&id=<?php echo $libitem->id;
"><?php Rating::show($libitem->id, $object_type); ?> </td> <?php } if (AmpConfig::get('userflags')) { ?> <td class="cel_userflag" id="userflag_<?php echo $libitem->id; ?> _<?php echo $object_type; ?> "><?php Userflag::show($libitem->id, $object_type); ?> </td> <?php } } ?> <td class="cel_action"> <?php if (AmpConfig::get('download')) { ?> <a rel="nohtml" href="<?php echo AmpConfig::get('web_path'); ?> /stream.php?action=download&<?php echo $object_type;
<td class="cel_rating" id="rating_<?php echo $album->id; ?> _album"><?php Rating::show($album->id, 'album'); ?> </td> <?php } if (AmpConfig::get('userflags')) { ?> <td class="cel_userflag" id="userflag_<?php echo $album->id; ?> _album"><?php Userflag::show($album->id, 'album'); ?> </td> <?php } ?> <td class="cel_action"> <?php if (AmpConfig::get('sociable') && (!$album->allow_group_disks || $album->allow_group_disks && !count($album->album_suite))) { ?> <a href="<?php echo AmpConfig::get('web_path'); ?> /shout.php?action=show_add_shout&type=album&id=<?php echo $album->id; ?>
_song"> <?php Rating::show($libitem->id, 'song'); ?> </td> <?php } if (AmpConfig::get('userflags')) { ?> <td class="cel_userflag" id="userflag_<?php echo $libitem->id; ?> _song"> <?php Userflag::show($libitem->id, 'song'); ?> </td> <?php } } ?> <td class="cel_action"> <a href="<?php echo $libitem->link; ?> "><?php echo UI::get_icon('preferences', T_('Song Information')); ?> </a> <?php
?> _podcast"> <?php Rating::show($libitem->id, 'podcast'); ?> </td> <?php } if (AmpConfig::get('userflags')) { ?> <td class="cel_userflag" id="userflag_<?php echo $libitem->id; ?> _podcast"> <?php Userflag::show($libitem->id, 'podcast'); ?> </td> <?php } } ?> <td class="cel_action"> <?php if (Access::check('interface', '50')) { ?> <a id="<?php echo 'edit_podcast_' . $libitem->id; ?> " onclick="showEditDialog('podcast_row', '<?php echo $libitem->id;
echo T_('Rating'); ?> </label> <div id="rating_<?php echo $media->id; ?> _video"> <?php Rating::show($media->id, 'video'); ?> </div> </div> <div class="np_cell cel_userflag"> <label><?php echo T_('Fav.'); ?> </label> <div id="userflag_<?php echo $media->id; ?> _video"> <?php Userflag::show($media->id, 'video'); ?> </div> </div> <?php } ?> </div>
<dt class="<?php echo $rowparity; ?> "><?php echo T_('Fav.'); ?> </dt> <dd class="<?php echo $rowparity; ?> "> <div id="userflag_<?php echo $episode->id; ?> _podcast_episode"><?php Userflag::show($episode->id, 'podcast_episode'); ?> </div> </dd> <?php } } $rowparity = UI::flip_class(); ?> <dt class="<?php echo $rowparity; ?> "><?php echo T_('Action'); ?> </dt>
<td class="cel_rating" id="rating_<?php echo $song->id; ?> _song"><?php Rating::show($song->id, 'song'); ?> </td> <?php } if (AmpConfig::get('userflags')) { ?> <td class="cel_userflag" id="userflag_<?php echo $song->id; ?> _song"><?php Userflag::show($song->id, 'song'); ?> </td> <?php } ?> <td class="cel_action"> <a href="<?php echo $song->link; ?> "><?php echo UI::get_icon('preferences', T_('Song Information')); ?> </a> <?php if (AmpConfig::get('sociable')) {
?> _video"><?php Rating::show($libitem->id, 'video'); ?> </td> <?php } ?> <?php if (AmpConfig::get('userflags')) { ?> <td class="cel_userflag" id="userflag_<?php echo $libitem->id; ?> _video"><?php Userflag::show($libitem->id, 'video'); ?> </td> <?php } } ?> <td class="cel_action"> <a href="<?php echo $libitem->link; ?> "><?php echo UI::get_icon('preferences', T_('Video Information')); ?> </a> <?php
<dt class="<?php echo $rowparity; ?> "><?php echo T_('Fav.'); ?> </dt> <dd class="<?php echo $rowparity; ?> "> <div id="userflag_<?php echo $video->id; ?> _video"><?php Userflag::show($video->id, 'video'); ?> </div> </dd> <?php } } $rowparity = UI::flip_class(); ?> <dt class="<?php echo $rowparity; ?> "><?php echo T_('Action'); ?> </dt>
<td class="cel_rating" id="rating_<?php echo $libitem->id; ?> _artist"><?php Rating::show($libitem->id, 'artist'); ?> </td> <?php } if (AmpConfig::get('userflags')) { ?> <td class="cel_userflag" id="userflag_<?php echo $libitem->id; ?> _artist"><?php Userflag::show($libitem->id, 'artist'); ?> </td> <?php } } ?> <td class="cel_action"> <?php if (!AmpConfig::get('use_auth') || Access::check('interface', '25')) { if (AmpConfig::get('sociable') && (!$libitem->allow_group_disks || $libitem->allow_group_disks && !count($libitem->album_suite))) { ?> <a href="<?php echo AmpConfig::get('web_path'); ?> /shout.php?action=show_add_shout&type=artist&id=<?php
<?php Rating::show($playlist->id, 'playlist'); ?> </div> <?php } ?> <?php if (AmpConfig::get('userflags')) { ?> <div style="display:table-cell;" id="userflag_<?php echo $playlist->id; ?> _playlist"> <?php Userflag::show($playlist->id, 'playlist'); ?> </div> <?php } } ?> <div id="information_actions"> <ul> <?php if ($GLOBALS['user']->has_access('50')) { ?> <li> <a onclick="submitNewItemsOrder('<?php echo $playlist->id; ?>
?> _tvshow_season"> <?php Rating::show($libitem->id, 'tvshow_season'); ?> </td> <?php } if (AmpConfig::get('userflags')) { ?> <td class="cel_userflag" id="userflag_<?php echo $libitem->id; ?> _tvshow_season"> <?php Userflag::show($libitem->id, 'tvshow_season'); ?> </td> <?php } } ?> <td class="cel_action"> <?php if (Access::check('interface', '50')) { ?> <a id="<?php echo 'edit_tvshow_season_' . $libitem->id; ?> " onclick="showEditDialog('tvshow_season_row', '<?php echo $libitem->id;
<td class="cel_rating" id="rating_<?php echo $libitem->id; ?> _album"><?php Rating::show($libitem->id, 'album'); ?> </td> <?php } if (AmpConfig::get('userflags')) { ?> <td class="cel_userflag" id="userflag_<?php echo $libitem->id; ?> _album"><?php Userflag::show($libitem->id, 'album'); ?> </td> <?php } } ?> <td class="cel_action"> <?php if (!AmpConfig::get('use_auth') || Access::check('interface', '25')) { if (AmpConfig::get('sociable') && (!$libitem->allow_group_disks || $libitem->allow_group_disks && !count($libitem->album_suite))) { ?> <a href="<?php echo AmpConfig::get('web_path'); ?> /shout.php?action=show_add_shout&type=album&id=<?php
<td class="cel_rating" id="rating_<?php echo $artist->id; ?> _artist"><?php Rating::show($artist->id, 'artist'); ?> </td> <?php } if (AmpConfig::get('userflags')) { ?> <td class="cel_userflag" id="userflag_<?php echo $artist->id; ?> _artist"><?php Userflag::show($artist->id, 'artist'); ?> </td> <?php } ?> <td class="cel_action"> <?php if (Access::check_function('batch_download')) { ?> <a href="<?php echo AmpConfig::get('web_path'); ?> /batch.php?action=artist&id=<?php echo $artist->id; ?>
?> _podcast_episode"> <?php Rating::show($libitem->id, 'podcast_episode'); ?> </td> <?php } if (AmpConfig::get('userflags')) { ?> <td class="cel_userflag" id="userflag_<?php echo $libitem->id; ?> _podcast_episode"> <?php Userflag::show($libitem->id, 'podcast_episode'); ?> </td> <?php } } ?> <td class="cel_action"> <?php if (Access::check_function('download') && !empty($libitem->file)) { ?> <a rel="nohtml" href="<?php echo AmpConfig::get('web_path'); ?> /stream.php?action=download&podcast_episode_id=<?php echo $libitem->id;