Members-Manager/site/views/cpanel/tmpl/default_cpanel_uikit_three.php

71 lines
3.2 KiB
PHP
Raw Normal View History

2019-04-04 13:58:49 +02:00
<?php
/**
* @package Joomla.Members.Manager
*
* @created 6th July, 2018
* @author Llewellyn van der Merwe <https://www.joomlacomponentbuilder.com/>
* @github Joomla Members Manager <https://github.com/vdm-io/Joomla-Members-Manager>
* @copyright Copyright (C) 2015. All Rights Reserved
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
*/
2019-08-14 04:14:40 +02:00
2019-04-04 13:58:49 +02:00
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
?>
<div uk-grid>
<?php if ($this->searchForm && $this->user->authorise('member.create', 'com_membersmanager')): ?>
<div class="uk-width-1-2@m">
2021-01-06 16:00:15 +02:00
<?php if (MembersmanagerHelper::checkArray($this->cpanelAboveSearchModules)): ?>
<?php foreach($this->cpanelAboveSearchModules as $module): ?>
<?php echo JLayoutHelper::render('panelbox', $module); ?>
<?php endforeach; ?>
<?php endif; ?>
2019-04-04 13:58:49 +02:00
<?php echo JLayoutHelper::render('cpanel_search_form', $this->searchForm); ?>
2021-01-06 16:00:15 +02:00
<?php if (MembersmanagerHelper::checkArray($this->cpanelBelowSearchModules)): ?>
<?php foreach($this->cpanelBelowSearchModules as $module): ?>
<?php echo JLayoutHelper::render('panelbox', $module); ?>
<?php endforeach; ?>
<?php endif; ?>
2019-04-04 13:58:49 +02:00
</div>
<div class="uk-width-1-2@m">
2021-01-06 16:00:15 +02:00
<?php if (MembersmanagerHelper::checkArray($this->cpanelAboveCreateButtonModules)): ?>
<?php foreach($this->cpanelAboveCreateButtonModules as $module): ?>
<?php echo JLayoutHelper::render('panelbox', $module); ?>
<?php endforeach; ?>
<?php endif; ?>
2019-04-04 13:58:49 +02:00
<?php echo JLayoutHelper::render('cpanel_uikit_three_buttons', true) ?>
2021-01-06 16:00:15 +02:00
<?php if (MembersmanagerHelper::checkArray($this->cpanelBelowCreateButtonModules)): ?>
<?php foreach($this->cpanelBelowCreateButtonModules as $module): ?>
<?php echo JLayoutHelper::render('panelbox', $module); ?>
<?php endforeach; ?>
<?php endif; ?>
2019-04-04 13:58:49 +02:00
</div>
<?php elseif ($this->searchForm): ?>
2021-01-06 16:00:15 +02:00
<?php if (MembersmanagerHelper::checkArray($this->cpanelAboveSearchModules)): ?>
<?php foreach($this->cpanelAboveSearchModules as $module): ?>
<?php echo JLayoutHelper::render('panelbox', $module); ?>
<?php endforeach; ?>
<?php endif; ?>
2019-04-04 13:58:49 +02:00
<?php echo JLayoutHelper::render('cpanel_search_form', $this->searchForm); ?>
2021-01-06 16:00:15 +02:00
<?php if (MembersmanagerHelper::checkArray($this->cpanelBelowSearchModules)): ?>
<?php foreach($this->cpanelBelowSearchModules as $module): ?>
<?php echo JLayoutHelper::render('panelbox', $module); ?>
<?php endforeach; ?>
<?php endif; ?>
2019-04-04 13:58:49 +02:00
<?php elseif ($this->user->authorise('member.create', 'com_membersmanager')): ?>
2021-01-06 16:00:15 +02:00
<?php if (MembersmanagerHelper::checkArray($this->cpanelAboveCreateButtonModules)): ?>
<?php foreach($this->cpanelAboveCreateButtonModules as $module): ?>
<?php echo JLayoutHelper::render('panelbox', $module); ?>
<?php endforeach; ?>
<?php endif; ?>
2019-04-04 13:58:49 +02:00
<?php echo JLayoutHelper::render('cpanel_uikit_three_buttons', true) ?>
2021-01-06 16:00:15 +02:00
<?php if (MembersmanagerHelper::checkArray($this->cpanelBelowCreateButtonModules)): ?>
<?php foreach($this->cpanelBelowCreateButtonModules as $module): ?>
<?php echo JLayoutHelper::render('panelbox', $module); ?>
<?php endforeach; ?>
<?php endif; ?>
2019-04-04 13:58:49 +02:00
<?php endif; ?>
</div>