1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-18 12:21:45 +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

@@ -22,10 +22,12 @@
*/
/*
* THIS SCRIPT IS HIGHLY EXPERIMENTAL. USE AT OWN RISK.
*
*/
/**
* Class plugin_gallery_index_controller.
*/
class plugin_gallery_index_controller extends eControllerFront
{
@@ -65,11 +67,6 @@ class plugin_gallery_index_controller extends eControllerFront
public function init()
{
e107::plugLan('gallery', 'front');
e107::library('load', 'jquery.prettyPhoto');
e107::css('gallery', 'css/gallery.css');
e107::js('gallery', 'js/gallery.js');
$this->catList = e107::getMedia()->getCategories('gallery');
}