AAAAedit_options.php 0000666 00000002343 15137177645 0010003 0 ustar 00 form->getFieldsets('params'); foreach ($fieldSets as $name => $fieldSet) : $label = !empty($fieldSet->label) ? $fieldSet->label : 'COM_MODULES_'.$name.'_FIELDSET_LABEL'; echo JHtml::_('sliders.panel', JText::_($label), $name.'-options'); if (isset($fieldSet->description) && trim($fieldSet->description)) : echo '
'.$this->escape(JText::_($fieldSet->description)).'
'; endif; ?> edit.php 0000666 00000012101 15137177645 0006221 0 ustar 00 item->module) || $this->item->module == 'custom' || $this->item->module == 'mod_custom'; $script = "Joomla.submitbutton = function(task) { if (task == 'module.cancel' || document.formvalidator.isValid(document.id('module-form'))) {"; if ($hasContent) { $script .= $this->form->getField('content')->save(); } $script .= " Joomla.submitform(task, document.getElementById('module-form')); if (self != top) { window.top.setTimeout('window.parent.SqueezeBox.close()', 1000); } } else { alert('".$this->escape(JText::_('JGLOBAL_VALIDATION_FORM_FAILED'))."'); } }"; JFactory::getDocument()->addScriptDeclaration($script); ?>