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 | |
//components/com_flexicontent/classes/helpers/upload.php | |
//Handles Chinese | |
defined( '_JEXEC' ) or die( 'Restricted access' ); | |
class flexicontent_upload | |
{ | |
static function makeSafe($file, $language = 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
<?php | |
// No direct access | |
defined( '_JEXEC' )or die( 'Restricted access' ); | |
$detailsField_id = 999; | |
$detailsFieldName = 'field_image'; | |
$detailsImgVid = ''; | |
FlexicontentFields::getFieldDisplay( $item, "$detailsFieldName" ); |
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 | |
$galleryFieldName = 'galleryFieldName'; | |
$galleryfield_id = 99; | |
FlexicontentFields::getFieldDisplay( $item, "$galleryFieldName" ); | |
if ( FlexicontentFields::getFieldDisplay( $item, "$galleryFieldName" ) != "" ) { | |
?> |
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
JFactory::getApplication()->enqueueMessage('Blue Message', 'notice'); | |
JFactory::getApplication()->enqueueMessage('Error Message', 'error'); | |
JFactory::getApplication()->enqueueMessage('Warning Message', 'warning'); | |
JFactory::getApplication()->enqueueMessage('Message Message', 'message'); | |
JFactory::getApplication()->enqueueMessage('Success Message', 'success'); | |
JFactory::getApplication()->enqueueMessage('Blank Message', ''); |
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(){ | |
//PRECONNECT TO YOUTUBE | |
var linkTag = document.createElement('link'); | |
linkTag.rel = 'preconnect'; | |
linkTag.href = 'https://img.youtube.com'; | |
//inject tag in the head of the document | |
document.head.appendChild(linkTag); | |
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
pageTransition: Barba.BaseTransition.extend({ | |
start: function () { | |
Promise.all([this.newContainerLoading, this.animIn()]) | |
.then(this.animOut.bind(this)) | |
.then(function () { | |
app.onPageTransitionCompleted(); | |
}); | |
}, | |
animIn: function () { |
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
/* + GET JS | |
----------------------------------------------------------------------- | |
https://stackoverflow.com/questions/16839698/jquery-getscript-alternative-in-native-javascript | |
==========================================================================*/ | |
var getJS = function getJS(url) { | |
return new Promise(function(resolve, reject) { | |
var script = document.createElement("script"); | |
script.src = url; | |
script.async = 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
/* + FOUNDATION 6.6.3 JS PREPOS FILE | |
====================================================================== | |
1. Copy Files From dist/js/plugins folder on github | |
2. Remove @prepend for unneeded files | |
3. Probably best to start from bottom for uneeded files | |
---------------------------------------------------------------------- | |
*/ | |
//CORE FILES | |
//@prepend zf/foundation.core.min.js | |
//@prepend zf/foundation.util.box.min.js |
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
001_keelung_city::基隆市%% | |
002_taipei_city::台北市%% | |
003_new_taipei_city::新北市%% | |
004_hsinchu_city::新竹市%% | |
005_hsinchu_county::新竹縣%% | |
006_taoyuan_city::桃園市%% | |
007_miaoli_county::苗栗縣%% | |
008_taichung_city::台中市%% | |
009-changhua_county::彰化縣%% | |
010_nantou_county::南投縣%% |