default.php
2.45 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
44
45
46
47
48
49
50
51
52
53
54
<?php
/**
* @copyright Copyright (c) 2009-2017 Ryan Demmer. All rights reserved
* @license GNU/GPL 2 or later - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
* JCE is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses
*/
defined('_JEXEC') or die('RESTRICTED');
?>
<div class="ui-jce">
<form action="index.php" method="post" name="adminForm" class="form-horizontal">
<div class="btn-group pull-right fltrgt">
<button class="btn" id="apply"><i class="icon-ok"></i> <?php echo WFText::_('WF_LABEL_SAVE'); ?></button>
<button class="btn" id="save"><i class="icon-edit"></i> <?php echo WFText::_('WF_LABEL_SAVECLOSE'); ?></button>
<button class="btn" id="cancel"><i class="icon-remove"></i> <?php echo WFText::_('WF_LABEL_CANCEL'); ?></button>
</div>
<div class="clr clearfix"></div>
<div id="tabs" class="tab-pane">
<ul class="nav nav-tabs">
<?php foreach ($this->params->getGroups() as $group) : ?>
<li><a href="#tabs-<?php echo $group; ?>"><?php echo JText :: _('WF_PREFERENCES_'.strtoupper($group)); ?></a></li>
<?php endforeach; ?>
<?php if ($this->permissons) : ?>
<li><a href="#tabs-access"><?php echo JText :: _('WF_PREFERENCES_PERMISSIONS'); ?></a></li>
<?php endif; ?>
</ul>
<div class="tab-content">
<?php foreach ($this->params->getGroups() as $group) : ?>
<div id="tabs-<?php echo $group ?>" class="tab-pane">
<?php echo $this->params->render('params[preferences]', $group); ?>
</div>
<?php endforeach; ?>
<?php if ($this->permissons) : ?>
<div id="tabs-access" class="tab-pane">
<?php
if (!class_exists('JForm')) :
echo '<div id="tabs-access-permissions" class="tabs-left">';
echo $this->permissons;
echo '</div>';
endif;
?>
</div>
<?php endif; ?>
</div>
</div>
<input type="hidden" name="option" value="com_jce" />
<input type="hidden" name="view" value="preferences" />
<input type="hidden" name="task" value="" />
<?php echo JHTML::_('form.token'); ?>
</form>
</div>