| [ Index ] |
PHP Cross Reference of Joomla 1.5.26 DE |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * @version $Id: view.php 14401 2010-01-26 14:10:00Z louis $ 4 * @package Joomla 5 * @subpackage Config 6 * @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved. 7 * @license GNU/GPL, see LICENSE.php 8 * Joomla! is free software. This version may have been modified pursuant to the 9 * GNU General Public License, and as distributed it includes or is derivative 10 * of works licensed under the GNU General Public License or other free or open 11 * source software licenses. See COPYRIGHT.php for copyright notices and 12 * details. 13 */ 14 15 // Check to ensure this file is included in Joomla! 16 defined('_JEXEC') or die( 'Restricted access' ); 17 18 jimport( 'joomla.application.component.view' ); 19 20 /** 21 * @package Joomla 22 * @subpackage Config 23 */ 24 class ConfigViewComponent extends JView 25 { 26 /** 27 * Display the view 28 */ 29 function display() 30 { 31 $model = &$this->getModel(); 32 $params = &$model->getParams(); 33 $component = JComponentHelper::getComponent(JRequest::getCmd( 'component' )); 34 35 $document = & JFactory::getDocument(); 36 $document->setTitle( JText::_('Edit Preferences') ); 37 JHTML::_('behavior.tooltip'); 38 ?> 39 <form action="index.php" method="post" name="adminForm" autocomplete="off"> 40 <fieldset> 41 <div style="float: right"> 42 <button type="button" onclick="submitbutton('save');window.top.setTimeout('window.parent.document.getElementById(\'sbox-window\').close()', 700);"> 43 <?php echo JText::_( 'Save' );?></button> 44 <button type="button" onclick="window.parent.document.getElementById('sbox-window').close();"> 45 <?php echo JText::_( 'Cancel' );?></button> 46 </div> 47 <div class="configuration" > 48 <?php echo JText::_($this->component->name) ?> 49 </div> 50 </fieldset> 51 52 <fieldset> 53 <legend> 54 <?php echo JText::_( 'Configuration' );?> 55 </legend> 56 <?php echo $params->render();?> 57 </fieldset> 58 59 <input type="hidden" name="id" value="<?php echo $this->component->id;?>" /> 60 <input type="hidden" name="component" value="<?php echo $this->component->option;?>" /> 61 62 <input type="hidden" name="controller" value="component" /> 63 <input type="hidden" name="option" value="com_config" /> 64 <input type="hidden" name="tmpl" value="component" /> 65 <input type="hidden" name="task" value="" /> 66 <?php echo JHTML::_( 'form.token' ); ?> 67 </form> 68 <?php 69 } 70 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Wed Mar 28 15:54:07 2012 | Cross-referenced by PHPXref 0.7.1 |