1<?php 2/* 3 * e107 website system 4 * 5 * Copyright (C) 2008-2016 e107 Inc (e107.org) 6 * Released under the terms and conditions of the 7 * GNU General Public License (http://www.gnu.org/licenses/gpl.txt) 8 * 9 * Templates for "gallery" plugin. 10 */ 11 12$GALLERY_TEMPLATE['list']['caption'] = LAN_PLUGIN_GALLERY_TITLE; 13 14$GALLERY_TEMPLATE['list']['start'] = '{GALLERY_BREADCRUMB} 15<div class="row gallery"> 16'; 17 18$GALLERY_TEMPLATE['list']['item'] = ' 19 <div class="span2 col-xs-6 col-md-3"> 20 <div class="thumbnail"> 21 {GALLERY_THUMB=w=300&h=200} 22 <h5>{GALLERY_CAPTION}</h5> 23 </div> 24 </div> 25'; 26 27$GALLERY_TEMPLATE['list']['end'] = ' 28</div> 29<div class="center"> 30 <div class="gallery-list-nextprev">{GALLERY_NEXTPREV}</div> 31 <div class="gallery-list-back"> 32 <a class="btn btn-default btn-secondary" href="{GALLERY_BASEURL}">' . LAN_BACK . '</a> 33 </div> 34</div> 35'; 36 37// Bootstrap3 Compatible. 38$GALLERY_TEMPLATE['cat']['caption'] = LAN_PLUGIN_GALLERY_TITLE; 39 40$GALLERY_TEMPLATE['cat']['start'] = '{GALLERY_BREADCRUMB} 41<div class="row gallery-cat"> 42'; 43 44$GALLERY_TEMPLATE['cat']['item'] = ' 45 <div class="span3 col-xs-6 col-md-3"> 46 <div> 47 {GALLERY_CAT_THUMB} 48 <h3>{GALLERY_CAT_TITLE}</h3> 49 </div> 50 </div> 51'; 52 53$GALLERY_TEMPLATE['cat']['end'] = ' 54</div> 55'; 56 57// {GALLERY_SLIDESHOW=X} X = Gallery Category. Default: 1 (ie. 'gallery_1') Overrides preference in admin. 58// {GALLERY_SLIDES=X} X = number of items per slide. 59// {GALLERY_JUMPER=space} will remove numbers and just leave spaces. 60 61$GALLERY_TEMPLATE['slideshow_wrapper'] = ' 62<div id="gallery-slideshow-wrapper"> 63 <div id="gallery-slideshow-content"> 64 {GALLERY_SLIDES=4} 65 </div> 66</div> 67 68<div class="gallery-slideshow-controls"> 69 <a href="#" class="gallery-control gal-next btn btn-xs btn-default btn-secondary pull-right float-right"> 70 ' . LAN_NEXT . ' {GLYPH=fa-chevron-right} 71 </a> 72 <a href="#" class="gallery-control gal-prev btn btn-xs btn-default btn-secondary"> 73 {GLYPH=fa-chevron-left} ' . LAN_PREVIOUS . ' 74 </a> 75 <span class="gallery-slide-jumper-container"> 76 {GALLERY_JUMPER} 77 </span> 78</div> 79'; 80 81$GALLERY_TEMPLATE['slideshow_slide_item'] = '<span class="gallery-slide-item">{GALLERY_THUMB: w=150&h=120}</span>'; 82 83$GALLERY_TEMPLATE['prettyphoto']['content'] = ' 84<div class="pp_pic_holder"> 85 <div class="ppt"> </div> 86 <div class="pp_top"> 87 <div class="pp_left"></div> 88 <div class="pp_middle"></div> 89 <div class="pp_right"></div> 90 </div> 91 <div class="pp_content_container"> 92 <div class="pp_left"> 93 <div class="pp_right"> 94 <div class="pp_content"> 95 <div class="pp_loaderIcon"></div> 96 <div class="pp_fade"> 97 <a href="#" class="pp_expand" title="'.LAN_EXPAND.'">'.LAN_EXPAND.'</a> 98 <div class="pp_hoverContainer"> 99 <a class="pp_next" href="#">' . LAN_NEXT . '</a> 100 <a class="pp_previous" href="#">' . LAN_PREVIOUS . '</a> 101 </div> 102 <div id="pp_full_res"></div> 103 <div class="pp_details"> 104 <div class="pp_nav"> 105 <a href="#" class="pp_arrow_previous">' . LAN_PREVIOUS . '</a> 106 <p class="currentTextHolder">0/0</p> 107 <a href="#" class="pp_arrow_next">' . LAN_NEXT . '</a> 108 </div> 109 <p class="pp_description"></p> 110 {pp_social} 111 <a class="pp_close" href="#">' . LAN_CLOSE . '</a> 112 </div> 113 </div> 114 </div> 115 </div> 116 </div> 117 </div> 118 <div class="pp_bottom"> 119 <div class="pp_left"></div> 120 <div class="pp_middle"></div> 121 <div class="pp_right"></div> 122 </div> 123</div> 124<div class="pp_overlay"></div> 125'; 126 127$GALLERY_TEMPLATE['prettyphoto']['gallery_item'] = ' 128<div class="pp_gallery"> 129 <a href="#" class="pp_arrow_previous">' . LAN_PREVIOUS . '</a> 130 <div> 131 <ul> 132 {gallery} 133 </ul> 134 </div> 135 <a href="#" class="pp_arrow_next">' . LAN_NEXT . '</a> 136</div> 137'; 138 139$GALLERY_TEMPLATE['prettyphoto']['image_item'] = ' 140<img id="fullResImage" src="{path}" /> 141'; 142 143$GALLERY_TEMPLATE['prettyphoto']['flash_item'] = ' 144<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="{width}" height="{height}"> 145 <param name="wmode" value="{wmode}" /> 146 <param name="allowfullscreen" value="true" /> 147 <param name="allowscriptaccess" value="always" /> 148 <param name="movie" value="{path}" /> 149 <embed src="{path}" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="{width}" height="{height}" wmode="{wmode}"></embed> 150</object> 151'; 152 153$GALLERY_TEMPLATE['prettyphoto']['quicktime_item'] = ' 154<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="{height}" width="{width}"> 155 <param name="src" value="{path}"> 156 <param name="autoplay" value="{autoplay}"> 157 <param name="type" value="video/quicktime"> 158 <embed src="{path}" height="{height}" width="{width}" autoplay="{autoplay}" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/"></embed> 159</object> 160'; 161 162$GALLERY_TEMPLATE['prettyphoto']['iframe_item'] = ' 163<iframe src ="{path}" width="{width}" height="{height}" frameborder="no"></iframe> 164'; 165 166$GALLERY_TEMPLATE['prettyphoto']['inline_item'] = ' 167<div class="pp_inline">{content}</div> 168'; 169 170$GALLERY_TEMPLATE['prettyphoto']['custom_item'] = ''; 171 172$GALLERY_TEMPLATE['prettyphoto']['social_item'] = ' 173<div class="pp_social"> 174 <div class="twitter"> 175 <a href="http://twitter.com/share" class="twitter-share-button" data-count="none">' . LAN_SHARE . '</a> 176 <script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script> 177 </div> 178 <div class="facebook"> 179 <iframe src="http://www.facebook.com/plugins/like.php?locale=en_US&href=\'+location.href+\'&layout=button_count&show_faces=true&width=500&action=like&font&colorscheme=light&height=23" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:500px; height:23px;" allowTransparency="true"></iframe> 180 </div> 181</div> 182'; 183 184 185 186 187 188 189/* 190 191$GALLERY_TEMPLATE['portfolio']['start'] = '<-- start portfolio -->'; 192$GALLERY_TEMPLATE['portfolio']['item'] = '<img src="{GALLERY_THUMB: w=1080&h=720&thumbsrc}" class="img-responsive" alt="{GALLERY_CAPTION=text}">'; 193$GALLERY_TEMPLATE['portfolio']['end'] = '<-- end portfolio -->'; 194 195*/ 196