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
/* | |
* Check for PDF support | |
* Based on http://downloads.beninzambia.com/blog/acrobat_detection.js.txt | |
*/ | |
$.support.pdf = (function() { | |
try { | |
// IE | |
if(!$.support.cssFloat) { | |
var control = null; | |
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
.spinner { | |
background : url(spinner.png) no-repeat center; | |
width :16px; | |
height :16px; | |
display :block; | |
-webkit-animation: spinner 1s infinite linear; /* Safari 4+ */ | |
-moz-animation: spinner 1s infinite linear; /* Fx 5+ */ | |
-o-animation: spinner 1s infinite linear; /* Opera 12+ */ | |
animation: spinner 1s infinite linear; /* IE 10+ */ |
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 | |
// Make sure we're being called from the command line, not a web interface | |
if (array_key_exists('REQUEST_METHOD', $_SERVER)) | |
die(); | |
// Set flag that this is a parent file. | |
define('_JEXEC', 1); | |
define('DS', DIRECTORY_SEPARATOR); |
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
$editor = $this->_displayButtons($id, $buttons, $asset, $author); | |
$editor .= '<label for="' . $id . '" style="display:none;" aria-visible="false">' . $id . '_textarea</label><textarea id="' . $id . '" name="' . $name . '" cols="' . $col . '" rows="' . $row . '" style="width:' . $width . ';height:' . $height . ';" class="wfEditor mce_editable source" wrap="off">' . $content . '</textarea>'; |
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() { | |
tinyMCE.onAddEditor.add(function(mgr, ed) { | |
ed.onPostProcess.add(function(ed, o) { | |
o.content = o.content.replace(/\{/g, '{').replace(/\}/g, '}'); | |
}); | |
}); | |
})(); |
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
if (typeof tinymce !== "undefined") { | |
tinyMCE.execCommand('mceAddControl',false,'textarea_id'); | |
} |
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 JCE | |
* @copyright Copyright (c) 2009-2015 Ryan Demmer. All rights reserved. | |
* @license GNU/GPL 2 or later - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html | |
* JCE is free software. This version may have been modified pursuant | |
* to the GNU General Public License, and as distributed it includes or | |
* is derivative of works licensed under the GNU General Public License or | |
* other free or open source software licenses. | |
*/ |
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 JCE | |
* @copyright Copyright (c) 2009-2014 Ryan Demmer. All rights reserved. | |
* @license GNU/GPL 2 or later - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html | |
* JCE is free software. This version may have been modified pursuant | |
* to the GNU General Public License, and as distributed it includes or | |
* is derivative of works licensed under the GNU General Public License or | |
* other free or open source software licenses. |
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 JCE | |
* @copyright Copyright (c) 2009-2014 Ryan Demmer. All rights reserved. | |
* @license GNU/GPL 2 or later - http://www.gnu.org/licenses/old-licenses/gpl-2.0.html | |
* JCE is free software. This version may have been modified pursuant | |
* to the GNU General Public License, and as distributed it includes or | |
* is derivative of works licensed under the GNU General Public License or | |
* other free or open source software licenses. |
OlderNewer