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 | |
/** | |
* @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
public function validateVAT($code, $vat) { | |
if ($code === "GR") { | |
$code = "EL"; | |
} | |
try { | |
$client = @new SoapClient("http://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl"); | |
} catch (SoapFault $e) { | |
return -1; | |
} |
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 |
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
<div class="container-fluid"> | |
<!-- Stack the columns on mobile by making one full-width and the other half-width --> | |
<div class="row"> | |
<div class="col-xs-12 col-md-8">.col-xs-12 .col-md-8</div> | |
<div class="col-xs-6 col-md-4">.col-xs-6 .col-md-4</div> | |
</div> | |
<!-- Columns start at 50% wide on mobile and bump up to 33.3% wide on desktop --> | |
<div class="row"> | |
<div class="col-xs-6 col-md-4">.col-xs-6 .col-md-4</div> |