AAAAPKñk?\®)ÕÐ .htaccessnuW+A„¶ Order allow,deny Deny from all PKñk?\É#o,, index.htmlnuW+A„¶PKñk?\“•k² ² admirorbutton.phpnuW+A„¶loadLanguage('com_admirorgallery'); } /** * Display the button * @name */ function onDisplay($name) { $doc = JFactory::getDocument(); $doc->addStyleSheet(JURI::root() . 'administrator/components/com_admirorgallery/templates/default/css/add-trigger.css'); $doc->addScriptDeclaration(" function insertTriggerCode(txt) { if(!txt) return; jInsertEditorText(txt, '" . $name . "'); } "); $link = 'index.php?option=com_admirorgallery&view=button&tmpl=component&e_name=' . $name; JHTML::_('behavior.modal'); $button = new JObject(); $button->set('modal', true); // modal dialog $button->set('link', $link); //link to open on click $button->set('text', JText::_('COM_ADMIRORGALLERY')); //button text $button->set('name', 'admirorgallery'); //div class $button->set('options', "{handler: 'iframe', size: {x: 400, y: 300}}"); //need to work return $button; } } PKñk?\ˆÒíõ°°admirorbutton.xmlnuW+A„¶ plg_editors-xtd_admirorbutton Igor Kekeljevic and Nikola Vasiljevski 05/05/2012 This extension in released under the GNU/GPL License - http://www.gnu.org/copyleft/gpl.html http://www.admiror-design-studio.com 4.5.0 admirorbutton.php index.html en-GB/en-GB.plg_editors-xtd_admirorbutton.ini en-GB/en-GB.plg_editors-xtd_admirorbutton.sys.ini PKñk?\®)ÕÐ .htaccessnuW+A„¶PKñk?\É#o,, ¸index.htmlnuW+A„¶PKñk?\“•k² ² admirorbutton.phpnuW+A„¶PKñk?\ˆÒíõ°° admirorbutton.xmlnuW+A„¶PK5