| Server IP : 180.180.241.3 / Your IP : 216.73.216.35 Web Server : Microsoft-IIS/7.5 System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586 User : IUSR ( 0) PHP Version : 5.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /AppServ/www/news/administrator/components/com_jfusion/views/advancedparam/tmpl/ |
Upload File : |
<?php
/**
* This is view file for advancedparam
*
* PHP version 5
*
* @category JFusion
* @package ViewsAdmin
* @subpackage Advancedparam
* @author JFusion Team <webmaster@jfusion.org>
* @copyright 2008 JFusion. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* @link http://www.jfusion.org
*/
// no direct access
defined('_JEXEC') or die('Restricted access');
$isJ16 = JFusionFunction::isJoomlaVersion('1.6');
$uri = JURI::getInstance();
$uri->setVar('task','advancedparamsubmit');
?>
<h1>Select Plugin Single</h1>
<form
action="<?php echo $uri->toString() ?>"
method="post" name="adminForm" id="adminForm">
<table class="paramlist admintable" style="width:100%;border-spacing:1px;">
<tbody>
<tr>
<td class="paramlist_key">JFusion Plugin</td>
<td class="paramlist_value"><?php echo $this->output; ?></td>
</tr>
<tr style="padding:0; margin:0;">
<td colspan="2" style="padding:0; margin:0;">
<?php
if ($isJ16 && !empty($this->comp)):
$fieldsets = $this->comp->getFieldsets();
$pane = JPane::getInstance('tabs', array('startOffset'=>2));
echo $pane->startPane('params');
foreach ($fieldsets as $fieldset):
echo $pane->startPanel(JText::_($fieldset->name.'_jform_fieldset_label'), $fieldsets);
echo '<fieldset class="panelform">';
echo '<dl>';
foreach($this->comp->getFieldset($fieldset->name) as $field):
// If the field is hidden, just display the input.
if ($field->hidden):
echo $field->input;
else:
echo '<dt>' . $field->label . '</dt>';
echo '<dd' . (($field->type == 'Editor' || $field->type == 'Textarea') ? ' style="clear: both; margin: 0;"' : '') . '>';
echo $field->input;
echo '</dd>';
endif;
endforeach;
echo '</dl>';
echo '</fieldset>';
echo $pane->endPanel();
endforeach;
$pane->endPane();
else:
if ($this->comp && ($params = $this->comp->render('params'))) {
echo $params;
}
endif;
?>
</td>
</tr>
<tr>
<td colspan="2"><input type="submit" value="Save" /></td>
</tr>
</tbody>
</table>
</form>