Example #1
0
    ?>
</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>
Example #2
0
            <div class="mv-10">
                <?php 
if ($this->my->id != $user->id) {
    ?>
                    <?php 
    echo FD::blocks()->getForm($user->id);
    ?>
 &middot;
                <?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>
Example #3
0
							<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>
Example #4
0
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));
?>
Example #5
0
"><?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>
Example #6
0
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)) {
Example #7
0
		<?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