1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-18 20:31:41 +02:00

Under "prettyPhoto settings" tab, it is now possible to completely configure prettyPhoto. Furthermore, prettyPhoto markups can be overriden by using gallery_template.php file.

This commit is contained in:
Lóna Lore
2016-03-30 14:28:44 +02:00
parent 111454bb87
commit 2cae5b9023
14 changed files with 831 additions and 289 deletions

View File

@@ -1,25 +1,33 @@
<?php
/*
* Copyright (c) 2012 e107 Inc e107.org, Licensed under GNU GPL (http://www.gnu.org/licenses/gpl.txt)
* $Id: e_shortcode.php 12438 2011-12-05 15:12:56Z secretr $
*
* Gallery Template
*/
/**
* e107 website system
*
* Copyright (C) 2008-2012 e107 Inc (e107.org)
* Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
*
* @file
* Render gallery menu.
*/
if(!defined('e107_INIT'))
{
exit;
}
e107_require_once(e_PLUGIN . 'gallery/includes/gallery_load.php');
e107::plugLan('gallery', 'front');
$gp = e107::getPlugPref('gallery');
e107::library('load', 'jquery.cycle');
e107::library('load', 'jquery.prettyPhoto');
e107::css('gallery', 'css/gallery.css');
e107::js('gallery', 'js/gallery.js');
// Load prettyPhoto settings and files.
gallery_load_prettyphoto();
e107::library('load', 'jquery.cycle');
e107::js('gallery', 'js/gallery.cycle.js');
$settings = array(