本文整理汇总了PHP中Userflag::show方法的典型用法代码示例。如果您正苦于以下问题:PHP Userflag::show方法的具体用法?PHP Userflag::show怎么用?PHP Userflag::show使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Userflag
的用法示例。
在下文中一共展示了Userflag::show方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: show_rating
<?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')) {
?>
示例2: ob_get_contents
$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);
示例3:
?>
_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;
示例4: show_rating
<?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')) {
?>
示例5: show_rating
<?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')) {
?>
示例6: T_
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>
示例7:
<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;
示例8:
"><?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;
示例9:
<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;
?>
示例10:
_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
示例11:
?>
_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;
示例12: T_
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>
示例13: T_
<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>
示例14:
<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')) {
示例15:
?>
_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