You've already forked joomla_test
first commit
This commit is contained in:
@ -0,0 +1,37 @@
|
||||
<?php
|
||||
/**
|
||||
* @version $Id: default.php 1812 2013-01-14 18:45:06Z lefteris.kavadas $
|
||||
* @package K2
|
||||
* @author JoomlaWorks http://www.joomlaworks.net
|
||||
* @copyright Copyright (c) 2006 - 2013 JoomlaWorks Ltd. All rights reserved.
|
||||
* @license GNU/GPL license: http://www.gnu.org/copyleft/gpl.html
|
||||
*/
|
||||
|
||||
// no direct access
|
||||
defined('_JEXEC') or die;
|
||||
?>
|
||||
|
||||
<form action="index.php" method="post" name="adminForm">
|
||||
<fieldset>
|
||||
<div style="float:right;">
|
||||
<button onclick="submitbutton('save');window.top.setTimeout('window.parent.document.getElementById(\'sbox-window\').close()', 700);" type="button"><?php echo JText::_('K2_SAVE'); ?></button>
|
||||
<button onclick="window.parent.document.getElementById('sbox-window').close();" type="button"><?php echo JText::_('K2_CANCEL'); ?></button>
|
||||
</div>
|
||||
<div class="configuration">
|
||||
<?php echo JText::_('K2_PARAMETERS')?>
|
||||
</div>
|
||||
<div class="clr"></div>
|
||||
</fieldset>
|
||||
<?php echo $this->pane->startPane('settings'); ?>
|
||||
<?php foreach($this->params->getGroups() as $group=>$value): ?>
|
||||
<?php echo $this->pane->startPanel(JText::_($group), $group.'-tab'); ?>
|
||||
<?php echo $this->params->render('params', $group); ?>
|
||||
<?php echo $this->pane->endPanel(); ?>
|
||||
<?php endforeach; ?>
|
||||
<?php echo $this->pane->endPane(); ?>
|
||||
|
||||
<input type="hidden" name="option" value="com_k2" />
|
||||
<input type="hidden" name="view" value="settings" />
|
||||
<input type="hidden" id="task" name="task" value="" />
|
||||
<?php echo JHTML::_('form.token'); ?>
|
||||
</form>
|
29
administrator/components/com_k2/views/settings/view.html.php
Normal file
29
administrator/components/com_k2/views/settings/view.html.php
Normal file
@ -0,0 +1,29 @@
|
||||
<?php
|
||||
/**
|
||||
* @version $Id: view.html.php 1812 2013-01-14 18:45:06Z lefteris.kavadas $
|
||||
* @package K2
|
||||
* @author JoomlaWorks http://www.joomlaworks.net
|
||||
* @copyright Copyright (c) 2006 - 2013 JoomlaWorks Ltd. All rights reserved.
|
||||
* @license GNU/GPL license: http://www.gnu.org/copyleft/gpl.html
|
||||
*/
|
||||
|
||||
// no direct access
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
jimport('joomla.application.component.view');
|
||||
|
||||
class K2ViewSettings extends K2View {
|
||||
|
||||
function display($tpl = null) {
|
||||
|
||||
JHTML::_('behavior.tooltip');
|
||||
jimport('joomla.html.pane');
|
||||
$model = &$this->getModel();
|
||||
$params = &$model->getParams();
|
||||
$this->assignRef('params', $params);
|
||||
$pane = & JPane::getInstance('Tabs');
|
||||
$this->assignRef('pane', $pane);
|
||||
parent::display($tpl);
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user