This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function($) { | |
$(document).ready(function() { | |
$('a.jcepopup').click(function() { | |
var self = this; | |
window.setTimeout(function() { | |
$('#jcemediabox-popup-page').addClass('popup-' + $(self).index()); | |
}, 100); | |
}); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once(JPATH_SITE . '/components/com_jce/editor/extensions/filesystem/joomla.php'); | |
class WFHikashopFileSystem extends WFJoomlaFileSystem { | |
private function getHikaMarketVendor() { | |
$hkm_init = defined('HIKAMARKET_COMPONENT'); | |
if(!$hkm_init ) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class PlgSystemWfHikashop extends JPlugin { | |
public function __construct(&$subject, $config) { | |
parent::__construct($subject, $config); | |
} | |
private function getHikaMarketVendor() { | |
$hkm_init = defined('HIKAMARKET_COMPONENT'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class PlgContentExample extends JPlugin | |
{ | |
public function onContentBeforeSave($context, $article, $isNew) | |
{ | |
if ($context != 'com_content.form') { | |
return true; | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @package Joomla.Plugin | |
* @subpackage System.sef | |
* | |
* @copyright Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved. | |
* @license GNU General Public License version 2 or later; see LICENSE.txt | |
*/ | |
defined('_JEXEC') or die; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{"😀":"grinning_face"}, | |
{"😁":"grinning_face_with_smiling_eyes"}, | |
{"😂":"face_with_tears_of_joy"}, | |
{"😃":"smiling_face_with_open_mouth"}, | |
{"😄":"smiling_face_with_open_mouth_and_smiling_eyes"}, | |
{"😅":"smiling_face_with_open_mouth_and_cold_sweat"}, | |
{"😆":"smiling_face_with_open_mouth_and_tightly_closed_eyes"}, | |
{"😇":"smiling_face_with_halo"}, | |
{"😈":"smiling_face_with_horns"}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tinyMCE.onAddEditor.add(function (mgr, ed) { | |
ed.onInit.add(function () { | |
function updateContent(content) { | |
content = content.replace(/\b(jce)\b/gi, function(match, value) { | |
return value.toUpperCase(); | |
}); | |
content = content.replace(/\b(january)\b/gi, function(match, value) { | |
return '<strong>' + value + '</strong>'; | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tinyMCE.onAddEditor.add(function (mgr, ed) { | |
ed.onPreInit.add(function () { | |
ed.parser.addAttributeFilter('href', function (nodes, name) { | |
var i = nodes.length, | |
node, value; | |
while (i--) { | |
node = nodes[i], value = node.attr('href'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tinyMCE.onAddEditor.add(function(mgr, ed) { | |
ed.onPreInit.add(function() { | |
function updateTarget(elm, externalOnly) { | |
if (externalOnly && !/:\/\//.test(elm.getAttribute('href'))) { | |
return; | |
} | |
if (!elm.target) { | |
ed.dom.setAttrib(elm, 'target', '_blank'); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
code | country | region | |
---|---|---|---|
AD | Andorra | EU | |
AE | United Arab Emirates | AS | |
AF | Afghanistan | AS | |
AG | Antigua and Barbuda | NA | |
AI | Anguilla | NA | |
AL | Albania | EU | |
AM | Armenia | AS | |
AN | Netherlands Antilles | NA | |
AO | Angola | AF |