Example #1
0
						<li>
							<a class="group-edit" href="<?php 
        echo Route::url('index.php?option=com_groups&cn=' . $this->group->get('cn') . '&task=edit');
        ?>
">
								<?php 
        echo Lang::txt('COM_GROUPS_TOOLBAR_EDIT');
        ?>
							</a>
						</li>
					<?php 
    }
    ?>

					<?php 
    if (!$isManager && Components\Groups\Helpers\Permissions::userHasPermissionForGroupAction($this->group, 'group.pages')) {
        ?>
						<li>
							<a class="group-pages" href="<?php 
        echo Route::url('index.php?option=com_groups&cn=' . $this->group->get('cn') . '&task=pages');
        ?>
">
								<?php 
        echo Lang::txt('COM_GROUPS_TOOLBAR_PAGES');
        ?>
							</a>
						</li>
					<?php 
    }
    ?>
Example #2
0
<h3 class="section-header">
	<?php 
echo Lang::txt('PLG_GROUPS_MEMBERS');
?>
</h3>

<?php 
if ($this->membership_control == 1) {
    ?>
	<?php 
    //if ($this->authorized == 'manager' || $this->authorized == 'admin') {
    ?>
		<ul id="page_options">
			<li>
				<?php 
    if ($this->authorized == 'manager' || $this->authorized == 'admin' || Components\Groups\Helpers\Permissions::userHasPermissionForGroupAction($this->group, 'group.invite')) {
        ?>
				<a class="icon-add add btn" href="<?php 
        echo Route::url('index.php?option=' . $option . '&cn=' . $this->group->get('cn') . '&task=invite');
        ?>
">
					<?php 
        echo Lang::txt('PLG_GROUPS_MEMBERS_INVITE_MEMBERS');
        ?>
				</a>
				<?php 
    }
    ?>
				<?php 
    if ($this->membership_control == 1 && $this->authorized == 'manager') {
        ?>