1<?php 2/* 3* Copyright (c) e107 Inc e107.org, Licensed under GNU GPL (http://www.gnu.org/licenses/gpl.txt) 4* $Id: e_shortcode.php 12438 2011-12-05 15:12:56Z secretr $ 5* 6* Featurebox shortcode batch class - shortcodes available site-wide. ie. equivalent to multiple .sc files. 7*/ 8 9if(!defined('e107_INIT')) 10{ 11 exit; 12} 13 14if(USER_AREA) 15{ 16 // Work-around for indent issue. see: https://github.com/twitter/bootstrap/issues/4890 17 e107::css('inline', " 18 /* Gallery CSS */ 19 .thumbnails .span2:nth-child(6n+1) { 20 margin-left:0; 21 }", 'jquery'); 22 23 24 $plugPrefs = e107::getPlugConfig('gallery')->getPref(); 25 26 if(vartrue($plugPrefs['pp_global'], false)) 27 { 28 e107_require_once(e_PLUGIN . 'gallery/includes/gallery_load.php'); 29 // Load prettyPhoto settings and files. 30 gallery_load_prettyphoto(); 31 } 32 33} 34