This file contains hidden or 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
;/** | |
; * @version 2.8.x | |
; * @package K2 | |
; * @author JoomlaWorks http://www.joomlaworks.net | |
; * @copyright Copyright (c) 2006 - 2017 JoomlaWorks Ltd. All rights reserved. | |
; * @license GNU/GPL license: http://www.gnu.org/copyleft/gpl.html | |
; */ | |
COM_K2="K2" | |
COM_K2_CONFIGURATION="Konfiguracja K2" |
This file contains hidden or 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
// "postcss" loader applies autoprefixer to our CSS. | |
// "css" loader resolves paths in CSS and adds assets as dependencies. | |
// "style" loader turns CSS into JS modules that inject <style> tags. | |
// In production, we use a plugin to extract that CSS to a file, but | |
// in development "style" loader enables hot editing of CSS. | |
// SASS loader | |
// https://medium.com/@Connorelsea/using-sass-with-create-react-app-7125d6913760 | |
{ | |
test: /\.scss$/, |
This file contains hidden or 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
#https://stackoverflow.com/documentation/reactjs/7480/setting-up-react-environment/24700/configure-webpack#t=201708110804335488513 | |
# install react and react-dom | |
$ npm i react react-dom --save | |
# install webpack for bundling | |
$ npm i webpack -g | |
# install babel for module loading, bundling and transpiling | |
$ npm i babel-core babel-loader --save |
This file contains hidden or 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 | |
/** | |
* @version 4.8.0 | |
* @package AllVideos (plugin) | |
* @author JoomlaWorks - http://www.joomlaworks.net | |
* @copyright Copyright (c) 2006 - 2016 JoomlaWorks Ltd. All rights reserved. | |
* @license GNU/GPL license: http://www.gnu.org/copyleft/gpl.html | |
*/ | |
// no direct access |
This file contains hidden or 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 | |
/** | |
* @version 2.7.x | |
* @package K2 | |
* @author JoomlaWorks http://www.joomlaworks.net | |
* @copyright Copyright (c) 2006 - 2016 JoomlaWorks Ltd. All rights reserved. | |
* @license GNU/GPL license: http://www.gnu.org/copyleft/gpl.html | |
*/ | |
// no direct access |
This file contains hidden or 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 | |
/** | |
* Language Detection | |
* @param $query, | |
* @uses pre_get_posts filter | |
* @return the modified query | |
*/ | |
function kdk_exclude_category( $query ) { | |
if ( ($query->is_tag() && $query->is_main_query()) || |
This file contains hidden or 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 | |
/** | |
* @version 2.7.x | |
* @package K2 | |
* @author JoomlaWorks http://www.joomlaworks.net | |
* @copyright Copyright (c) 2006 - 2016 JoomlaWorks Ltd. All rights reserved. | |
* @license GNU/GPL license: http://www.gnu.org/copyleft/gpl.html | |
*/ | |
// no direct access |
This file contains hidden or 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 id="jquery_jplayer_1" class="jp-jplayer"></div> | |
<div id="jp_container_1" class="jp-audio-stream" role="application" aria-label="media player"> | |
<div class="jp-type-single"> | |
<div class="jp-gui jp-interface"> | |
<ul class="jp-controls"> | |
<li> | |
<a href="javascript:;" style="display:block;" class="jp-play" title="Play"><i class="icon-play"></i><span>Listen Live</span></a> | |
<a href="javascript:;" style="display:none;" class="jp-pause" title="Pause"><i class="icon-pause"></i><span>Listen Live</span></a> | |
</li> | |
<li> |
This file contains hidden or 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
$fields = json_decode($item->extra_fields); | |
$item->title = $this->escape($item->title); | |
if ($fields[0]->value && $fields[0]->value !== '') | |
{ | |
$item->title = html_entity_decode($item->title.' - '.$fields[0]->value); | |
} | |
else | |
{ | |
$item->title = html_entity_decode($item->title); | |
} |
This file contains hidden or 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 | |
/** | |
* @version 2.6.x | |
* @package K2 | |
* @author JoomlaWorks http://www.joomlaworks.net | |
* @copyright Copyright (c) 2006 - 2014 JoomlaWorks Ltd. All rights reserved. | |
* @license GNU/GPL license: http://www.gnu.org/copyleft/gpl.html | |
*/ | |
// no direct access |
NewerOlder