AAAAPK ñk?\®)ÕÐ .htaccessnu W+A„¶
Order allow,deny
Deny from all
PK ñk?\É#o, ,
index.htmlnu W+A„¶
PK ñk?\“•k² ² admirorbutton.phpnu W+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.xmlnu W+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?\®)ÕÐ .htaccessnu W+A„¶ PK ñk?\É#o, ,
¸ index.htmlnu W+A„¶ PK ñk?\“•k² ² admirorbutton.phpnu W+A„¶ PK ñk?\ˆÒíõ° ° admirorbutton.xmlnu W+A„¶ PK 5