1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-18 05:09:05 +01:00
php-e107/e107_plugins/gallery/templates/gallery_template.php

72 lines
2.0 KiB
PHP

<?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
*/
$GALLERY_TEMPLATE['LIST_START'] =
"<div class='gallery-list-start'>";
$GALLERY_TEMPLATE['LIST_ITEM'] =
"<div class='gallery-list-item'>
<div>{GALLERY_THUMB}</div>
<div class='gallery-list-caption'>{GALLERY_CAPTION}</div>
</div>
";
$GALLERY_TEMPLATE['LIST_END'] =
"</div>
<div class='gallery-list-end' >
<div class='gallery-list-nextprev'>{GALLERY_NEXTPREV}</div>
<div class='gallery-list-back'><a href='{GALLERY_BASEURL}'>Back to Categories</a></div>
</div>
";
$GALLERY_TEMPLATE['CAT_START'] =
"<div class='gallery-cat-start'>";
$GALLERY_TEMPLATE['CAT_ITEM'] =
"<div class='gallery-cat-item'>
<div class='gallery-cat-thumb'>{GALLERY_CAT_THUMB}</div>
<div class='gallery-cat-title'><h3>{GALLERY_CAT_TITLE}</h3></div>
</div>
";
$GALLERY_TEMPLATE['CAT_END'] =
"</div>
<div class='gallery-cat-end'>
</div>
";
// {GALLERY_SLIDESHOW=X} X = Gallery Category. Default: 1 (ie. 'gallery_1') Overrides preference in admin.
// {GALLERY_SLIDES=X} X = number of items per slide.
// {GALLERY_JUMPER=space} will remove numbers and just leave spaces.
$GALLERY_TEMPLATE['SLIDESHOW_WRAPPER'] = '
<div id="gallery-slideshow-wrapper">
<div id="gallery-slideshow-content">
{GALLERY_SLIDES=4}
</div>
</div>
<div class="gallery-slideshow-controls">
<a href="#" class="carousel-control gal-next" style="float: right">Next &rsaquo;</a>
<a href="#" class="carousel-control gal-prev" >&lsaquo; Previous</a>
<span class="gallery-slide-jumper-container">{GALLERY_JUMPER}</span>
</div>
';
$GALLERY_TEMPLATE['SLIDESHOW_SLIDE_ITEM'] = '<span class="gallery-slide-item">{GALLERY_THUMB=w=150&h=120}</span>';
?>