default.php
1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?php
/**
* @package Joomla.Administrator
* @subpackage Template.hathor
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
// no direct access
defined('_JEXEC') or die;
use Joomla\Registry\Registry;
echo JHtml::_('sliders.start', 'panel-sliders', array('useCookie' => '1'));
if (JFactory::getUser()->authorise('core.manage', 'com_postinstall')) :
if ($this->postinstall_message_count):
echo JHtml::_('sliders.panel', JText::_('COM_CPANEL_MESSAGES_TITLE'), 'cpanel-panel-com-postinstall');
?>
<div class="modal-body">
<p>
<?php echo JText::_('COM_CPANEL_MESSAGES_BODY_NOCLOSE'); ?>
</p>
<p>
<?php echo JText::_('COM_CPANEL_MESSAGES_BODYMORE_NOCLOSE'); ?>
</p>
</div>
<div class="modal-footer">
<button onclick="window.location='index.php?option=com_postinstall&eid=700'; return false" class="btn btn-primary btn-large" >
<?php echo JText::_('COM_CPANEL_MESSAGES_REVIEW'); ?>
</button>
</div>
<?php endif; ?>
<?php endif;
foreach ($this->modules as $module)
{
$output = JModuleHelper::renderModule($module);
echo JHtml::_('sliders.panel', $module->title, 'cpanel-panel-' . $module->name);
echo $output;
}
echo JHtml::_('sliders.end');