本文整理汇总了PHP中FD::reports方法的典型用法代码示例。如果您正苦于以下问题:PHP FD::reports方法的具体用法?PHP FD::reports怎么用?PHP FD::reports使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类FD
的用法示例。
在下文中一共展示了FD::reports方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
?>
</a>
</li>
<?php
}
?>
</ul>
</div>
</div>
<div class="btn-group btn-group-xs">
<?php
if ($lib->shareable()) {
?>
<div class="btn btn-media btn-es" data-photo-share-button>
<?php
echo FD::get('Sharing', array('url' => $photo->getPermalink(true, true), 'text' => JText::_('COM_EASYSOCIAL_PHOTOS_SHARE')))->getHTML(true);
?>
</div>
<?php
}
?>
<div class="btn btn-media btn-es" data-photo-report-button>
<?php
echo FD::reports()->getForm('com_easysocial', SOCIAL_TYPE_PHOTO, $photo->id, $photo->get('title'), JText::_('COM_EASYSOCIAL_PHOTOS_REPORT'), JText::_('COM_EASYSOCIAL_PHOTOS_REPORT_PHOTO_TITLE'), JText::_('COM_EASYSOCIAL_PHOTOS_REPORT_DESC'), $photo->getPermalink(true, true), true);
?>
</div>
</div>
</div>
示例2: array
<div class="mv-10">
<?php
if ($this->my->id != $user->id) {
?>
<?php
echo FD::blocks()->getForm($user->id);
?>
·
<?php
}
?>
<?php
if ($this->my->id != $user->id && $this->template->get('profile_report', true) && $this->access->allowed('reports.submit') && $this->config->get('reports.enabled')) {
?>
<?php
echo FD::reports()->getForm('com_easysocial', SOCIAL_TYPE_USER, $user->id, $user->getName(), JText::_('COM_EASYSOCIAL_PROFILE_REPORT_USER'), '', JText::_('COM_EASYSOCIAL_PROFILE_REPORT_USER_DESC'), $user->getPermalink(true, true));
?>
<?php
}
?>
</div>
<?php
echo $this->render('module', 'es-profile-after-info');
?>
<?php
echo $this->render('widgets', 'user', 'profile', 'afterInfo', array($user));
?>
</div>
示例3:
<li data-stream-hide-app>
<a href="javascript:void(0);"><?php
echo JText::sprintf('COM_EASYSOCIAL_STREAM_HIDE_APP', $stream->context);
?>
</a>
</li>
<?php
}
?>
<?php
if ($this->access->allowed('reports.submit')) {
?>
<li>
<?php
echo FD::reports()->getForm('com_easysocial', SOCIAL_TYPE_STREAM, $stream->uid, JText::sprintf('COM_EASYSOCIAL_STREAM_REPORT_ITEM_TITLE', $stream->actor->getName()), JText::_('COM_EASYSOCIAL_STREAM_REPORT_ITEM'), '', JText::_('COM_EASYSOCIAL_STREAM_REPORT_ITEM_DESC'), FRoute::stream(array('id' => $stream->uid, 'external' => true)));
?>
</li>
<?php
}
?>
<?php
if ($this->access->allowed('stream.delete', false) && $this->my->id == $stream->actor->id || FD::user()->isSiteAdmin()) {
?>
<li data-stream-delete>
<a href="javascript:void(0);"><?php
echo JText::_('COM_EASYSOCIAL_STREAM_DELETE');
?>
</a>
</li>
示例4: array
if ($this->template->get('events_seatsleft', true) && $event->seatsLeft() >= 0) {
?>
<div class="mt-5 btn btn-es btn-xs"><?php
echo JText::sprintf('COM_EASYSOCIAL_EVENTS_SEATS_LEFT', $event->seatsLeft());
?>
</div>
<?php
}
?>
<?php
if (!$guest->isOwner() && $this->access->allowed('reports.submit') && $this->config->get('reports.enabled')) {
?>
<div class="page-more">
<?php
echo FD::reports()->getForm('com_easysocial', SOCIAL_TYPE_EVENT, $event->id, $event->getName(), JText::_('COM_EASYSOCIAL_EVENTS_REPORT_EVENT'));
?>
</div>
<?php
}
?>
</div>
</div>
<div class="es-profile-header-footer">
<nav class="pull-left pa-5">
<?php
echo $this->render('widgets', 'event', 'events', 'eventStatsStart', array($event));
?>
示例5:
"><?php
echo $user->getName();
?>
</a>
</div>
<div class="es-comment-actions " data-comments-item-actions>
<div class="es-comment-actions-flyout">
<a class="es-comment-actions-toggle" href="javascript:void(0);" data-bs-toggle="dropdown"><i class="icon-es-comment-action"></i></a>
<ul class="fd-nav fd-nav-stacked pull-right es-comment-actions-nav dropdown-menu">
<?php
if ($this->access->allowed('comments.report')) {
?>
<li>
<?php
echo FD::reports()->getForm('com_easysocial', 'comments', $comment->id, JText::sprintf('COM_EASYSOCIAL_COMMENTS_REPORT_ITEM_TITLE', $user->getName()), JText::_('COM_EASYSOCIAL_COMMENTS_REPORT_ITEM'), '', JText::_('COM_EASYSOCIAL_COMMENTS_REPORT_TEXT'), FRoute::external($comment->getPermalink()));
?>
</li>
<?php
}
?>
<?php
if ($this->access->allowed('comments.edit') || $isAuthor && $this->access->allowed('comments.editown')) {
?>
<li class="btn-comment-edit" data-comments-item-actions-edit>
<a href="javascript:void(0);"><?php
echo JText::_('COM_EASYSOCIAL_COMMENTS_ACTION_EDIT');
?>
</a>
</li>
示例6: array
echo $group->getCategory()->get('title');
?>
</a>
</span>
<?php
echo $this->render('widgets', 'group', 'groups', 'afterCategory', array($group));
?>
</nav>
<?php
if (!$group->isOwner() && $this->access->allowed('reports.submit') && $this->config->get('reports.enabled')) {
?>
<div class="page-more">
<?php
echo FD::reports()->getForm('com_easysocial', SOCIAL_TYPE_GROUPS, $group->id, $group->getName(), JText::_('COM_EASYSOCIAL_GROUPS_REPORT_GROUP'));
?>
</div>
<?php
}
?>
</div>
</div>
<div class="es-profile-header-footer">
<nav class="pull-left">
<?php
echo $this->render('widgets', 'group', 'groups', 'groupStatsStart', array($group));
?>
<?php
if ($this->config->get('photos.enabled', true) && $group->getCategory()->getAcl()->get('photos.enabled', true) && $group->getParams()->get('photo.albums', true)) {
示例7: array
<?php
}
?>
</div>
<?php
}
?>
<div class="btn-group btn-group-xs">
<div class="btn btn-es btn-media">
<?php
echo FD::get('Sharing', array('url' => $album->getPermalink(false, true), 'text' => JText::_('COM_EASYSOCIAL_ALBUMS_SHARE')))->getHTML(true);
?>
</div>
<div class="btn btn-es btn-media">
<?php
echo FD::reports()->getForm('com_easysocial', SOCIAL_TYPE_ALBUM, $album->id, $album->get('title'), JText::_('COM_EASYSOCIAL_ALBUMS_REPORT'), JText::_('COM_EASYSOCIAL_ALBUMS_REPORT_ALBUM_TITLE'), JText::_('COM_EASYSOCIAL_ALBUMS_REPORT_DESC'), $album->getPermalink(false, true));
?>
</div>
</div>
</div>
<?php
if ($lib->editable()) {
?>
<div class="es-album-menu es-media-item-menu es-album-menu-form">
<div class="btn-group btn-group-xs">
<div class="btn btn-es btn-media" data-album-cancel-button>
<a href="<?php
echo $album->getPermalink();
?>
" title="<?php