Server IP : 180.180.241.3 / Your IP : 216.73.216.252 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->delVar('task'); ?> <h1>Select Plugin Multi</h1> <form action="<?php echo $uri->toString() ?>" method="post" name="adminForm" id="adminForm"> <?php if (isset($this->error)) { echo $this->error; } ?> <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 global $jname; foreach ($this->comp as $key => $value) { $jname = $key; echo '<fieldset class="adminform">'; echo '<legend><span>' . $key . '</span><input type="button" name="remove" value="Remove" onclick="jPluginRemove(this, \'' . $key . '\');" style="margin-left: 3px;" /></legend>'; if (isset($value['params'])) { if ($isJ16): $fieldsets = $value['params']->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>'; if ($fieldset->name == 'basic'): echo '<dt><label title="" class="hasTip" for="params_'.$key.'_title" id="params_'.$key.'_title-lbl">' . JText::_('TITLE') . '</label></dt>'; $title_value = (isset($value['title'])) ? $value['title'] : ''; echo '<dd><input type="text" name="params['.$key.'][title]" id="params_'.$key.'_title" value="'.$title_value.'" /></dd>'; endif; foreach($value['params']->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: echo '<table width="100%" class="paramlist admintable" cellspacing="1">'; echo '<tr><td width="40%" class="paramlist_key">'; echo '<span class="editlinktip">'.JText::_('TITLE').'</span></td>'; echo '<td class="paramlist_value"><input type="text" name="params[' . $key . '][title]" value="' . $value['params']->get('title', '') . '"/></td>'; echo '</tr></table>'; if ($value['params'] && ($params = $value['params']->render('params[' . $key . ']'))) { echo $params; } endif; } echo '<input type="hidden" name="params[' . $key . '][jfusionplugin]" value="' . $value['jfusionplugin'] . '" />'; echo '</fieldset>'; } ?> </td> </tr> <tr> <td colspan="2"><input type="submit" value="Save" /></td> </tr> </tbody> </table> <input type="hidden" name="task" value="advancedparamsubmit" /> <input type="hidden" name="jfusion_task" value="" /> <input type="hidden" name="jfusion_value" value="" /> </form>