Initial commit: Backup der Webseiten
- zoesch.de - blitzkiste.net - gruene-hassberge (norbert.zoesch.de) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
24
zoesch.de/galerie/themes/default/template/about.tpl
Normal file
24
zoesch.de/galerie/themes/default/template/about.tpl
Normal file
@@ -0,0 +1,24 @@
|
||||
{if isset($MENUBAR)}{$MENUBAR}{/if}
|
||||
<div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}">
|
||||
<div class="titrePage">
|
||||
<ul class="categoryActions">
|
||||
</ul>
|
||||
<h2><a href="{$U_HOME}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{'About'|@translate}</h2>
|
||||
</div>
|
||||
|
||||
{include file='infos_errors.tpl'}
|
||||
|
||||
<div id="piwigoAbout">
|
||||
{$ABOUT_MESSAGE}
|
||||
{if isset($THEME_ABOUT) }
|
||||
<ul>
|
||||
<li>{$THEME_ABOUT}</li>
|
||||
</ul>
|
||||
{/if}
|
||||
{if not empty($about_msgs)}
|
||||
{foreach from=$about_msgs item=elt}
|
||||
{$elt}
|
||||
{/foreach}
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
81
zoesch.de/galerie/themes/default/template/comment_list.tpl
Normal file
81
zoesch.de/galerie/themes/default/template/comment_list.tpl
Normal file
@@ -0,0 +1,81 @@
|
||||
{if isset($comment_derivative_params)}
|
||||
{strip}{html_style}
|
||||
.commentElement .illustration{
|
||||
width:{$comment_derivative_params->max_width()+5}px
|
||||
}
|
||||
|
||||
.content .commentElement .description{
|
||||
min-height:{$comment_derivative_params->max_height()+5}px
|
||||
}
|
||||
{/html_style}{/strip}
|
||||
{footer_script}var error_icon = "{$ROOT_URL}{$themeconf.icon_dir}/errors_small.png";{/footer_script}
|
||||
<div class="loader"><img src="{$ROOT_URL}{$themeconf.img_dir}/ajax_loader.gif"></div>
|
||||
{/if}
|
||||
<ul class="commentsList">
|
||||
{foreach from=$comments item=comment name=comment_loop}
|
||||
<li class="commentElement {if $smarty.foreach.comment_loop.index is odd}odd{else}even{/if}">
|
||||
{if isset($comment.src_image)}
|
||||
{if isset($comment_derivative_params)}
|
||||
{assign var=derivative value=$pwg->derivative($comment_derivative_params, $comment.src_image)}
|
||||
{else}
|
||||
{assign var=derivative value=$pwg->derivative($derivative_params, $comment.src_image)}
|
||||
{/if}
|
||||
{if !$derivative->is_cached()}
|
||||
{combine_script id='jquery.ajaxmanager' path='themes/default/js/plugins/jquery.ajaxmanager.js' load='footer'}
|
||||
{combine_script id='thumbnails.loader' path='themes/default/js/thumbnails.loader.js' require='jquery.ajaxmanager' load='footer'}
|
||||
{/if}
|
||||
<div class="illustration">
|
||||
<a href="{$comment.U_PICTURE}">
|
||||
<img {if $derivative->is_cached()}src="{$derivative->get_url()}"{else}src="{$ROOT_URL}{$themeconf.icon_dir}/img_small.png" data-src="{$derivative->get_url()}"{/if} alt="{$comment.ALT}">
|
||||
</a>
|
||||
</div>
|
||||
{/if}
|
||||
<div class="description">
|
||||
{if isset($comment.U_DELETE) or isset($comment.U_VALIDATE) or isset($comment.U_EDIT)}
|
||||
<div class="actions" style="float:right;font-size:90%">
|
||||
{if isset($comment.U_DELETE)}
|
||||
<a href="{$comment.U_DELETE}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');">
|
||||
{'Delete'|@translate}
|
||||
</a>{if isset($comment.U_VALIDATE) or isset($comment.U_EDIT) or isset($comment.U_CANCEL)} | {/if}
|
||||
{/if}
|
||||
{if isset($comment.U_CANCEL)}
|
||||
<a href="{$comment.U_CANCEL}">
|
||||
{'Cancel'|@translate}
|
||||
</a>{if isset($comment.U_VALIDATE)} | {/if}
|
||||
{/if}
|
||||
{if isset($comment.U_EDIT) and !isset($comment.IN_EDIT)}
|
||||
<a class="editComment" href="{$comment.U_EDIT}#edit_comment">
|
||||
{'Edit'|@translate}
|
||||
</a>{if isset($comment.U_VALIDATE)} | {/if}
|
||||
{/if}
|
||||
{if isset($comment.U_VALIDATE)}
|
||||
<a href="{$comment.U_VALIDATE}">
|
||||
{'Validate'|@translate}
|
||||
</a>
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<span class="commentAuthor">{if $comment.WEBSITE_URL}<a href="{$comment.WEBSITE_URL}" class="external" target="_blank" rel="nofollow">{$comment.AUTHOR}</a>{else}{$comment.AUTHOR}{/if}</span>
|
||||
{if isset($comment.EMAIL)}- <a href="mailto:{$comment.EMAIL}">{$comment.EMAIL}</a>{/if}
|
||||
- <span class="commentDate">{$comment.DATE}</span>
|
||||
{if isset($comment.IN_EDIT)}
|
||||
<a name="edit_comment"></a>
|
||||
<form method="post" action="{$comment.U_EDIT}" id="editComment">
|
||||
<p><label for="contenteditid">{'Edit a comment'|@translate} :</label></p>
|
||||
<p><textarea name="content" id="contenteditid" rows="5" cols="80">{$comment.CONTENT|@escape}</textarea></p>
|
||||
<p><label for="website_url">{'Website'|@translate} :</label></p>
|
||||
<p><input type="text" name="website_url" id="website_url" value="{$comment.WEBSITE_URL}" size="40"></p>
|
||||
<p><input type="hidden" name="key" value="{$comment.KEY}">
|
||||
<input type="hidden" name="pwg_token" value="{$comment.PWG_TOKEN}">
|
||||
<input type="hidden" name="image_id" value="{$comment.IMAGE_ID|@default:$current.id}">
|
||||
<input type="submit" value="{'Submit'|@translate}">
|
||||
</p>
|
||||
</form>
|
||||
{else}
|
||||
<blockquote><div>{$comment.CONTENT}</div></blockquote>
|
||||
{/if}
|
||||
</div>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
112
zoesch.de/galerie/themes/default/template/comments.tpl
Normal file
112
zoesch.de/galerie/themes/default/template/comments.tpl
Normal file
@@ -0,0 +1,112 @@
|
||||
{if isset($MENUBAR)}{$MENUBAR}{/if}
|
||||
<div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}">
|
||||
|
||||
<div class="titrePage">
|
||||
<ul class="categoryActions">
|
||||
</ul>
|
||||
<h2><a href="{$U_HOME}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{'User comments'|@translate}</h2>
|
||||
</div>
|
||||
|
||||
{include file='infos_errors.tpl'}
|
||||
|
||||
<form class="filter" action="{$F_ACTION}" method="get">
|
||||
|
||||
<fieldset>
|
||||
<legend>{'Filter'|@translate}</legend>
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
<label>{'Keyword'|@translate}</label>
|
||||
</li>
|
||||
<li>
|
||||
<input type="text" name="keyword" value="{$F_KEYWORD}">
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
<label>{'Author'|@translate}</label>
|
||||
</li>
|
||||
<li>
|
||||
<input type="text" name="author" value="{$F_AUTHOR}">
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
<label>{'Album'|@translate}</label>
|
||||
</li>
|
||||
<li>
|
||||
<select name="cat">
|
||||
<option value="0">------------</option>
|
||||
{html_options options=$categories selected=$categories_selected}
|
||||
</select>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
<label>{'Since'|@translate}</label>
|
||||
</li>
|
||||
<li>
|
||||
<select name="since">
|
||||
{html_options options=$since_options selected=$since_options_selected}
|
||||
</select>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
|
||||
<legend>{'Display'|@translate}</legend>
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
<label>{'Sort by'|@translate}</label>
|
||||
</li>
|
||||
<li>
|
||||
<select name="sort_by">
|
||||
{html_options options=$sort_by_options selected=$sort_by_options_selected}
|
||||
</select>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
<label>{'Sort order'|@translate}</label>
|
||||
</li>
|
||||
<li>
|
||||
<select name="sort_order">
|
||||
{html_options options=$sort_order_options selected=$sort_order_options_selected}
|
||||
</select>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
<label>{'Number of items'|@translate}</label>
|
||||
</li>
|
||||
<li>
|
||||
<select name="items_number">
|
||||
{html_options options=$item_number_options selected=$item_number_options_selected}
|
||||
</select>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</fieldset>
|
||||
|
||||
<p><input type="submit" value="{'Filter and display'|@translate}"></p>
|
||||
|
||||
</form>
|
||||
|
||||
{if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}
|
||||
|
||||
{if isset($comments)}
|
||||
<div id="comments">
|
||||
{include file='comment_list.tpl' comment_derivative_params=$derivative_params}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
</div> <!-- content -->
|
||||
|
||||
40
zoesch.de/galerie/themes/default/template/footer.tpl
Normal file
40
zoesch.de/galerie/themes/default/template/footer.tpl
Normal file
@@ -0,0 +1,40 @@
|
||||
<div id="copyright">
|
||||
{if isset($debug.TIME)}
|
||||
{'Page generated in'|translate} {$debug.TIME} ({$debug.NB_QUERIES} {'SQL queries in'|translate} {$debug.SQL_TIME}) -
|
||||
{/if}
|
||||
|
||||
{*
|
||||
Please, do not remove this copyright. If you really want to,
|
||||
contact us on http://piwigo.org to find a solution on how
|
||||
to show the origin of the script...
|
||||
*}
|
||||
|
||||
{'Powered by'|translate} <a href="{$PHPWG_URL}" class="Piwigo">Piwigo</a>
|
||||
{$VERSION}
|
||||
{if isset($CONTACT_MAIL)}
|
||||
- <a href="mailto:{$CONTACT_MAIL}?subject={'A comment on your site'|translate|@escape:url}">{'Contact webmaster'|translate}</a>
|
||||
{/if}
|
||||
{if isset($TOGGLE_MOBILE_THEME_URL)}
|
||||
- {'View in'|translate} : <a href="{$TOGGLE_MOBILE_THEME_URL}">{'Mobile'|translate}</a> | <b>{'Desktop'|translate}</b>
|
||||
{/if}
|
||||
|
||||
{if isset($footer_elements)}
|
||||
{foreach from=$footer_elements item=elt}
|
||||
{$elt}
|
||||
{/foreach}
|
||||
{/if}
|
||||
</div>{* <!-- copyright --> *}
|
||||
|
||||
{if isset($debug.QUERIES_LIST)}
|
||||
<div id="debug">
|
||||
{$debug.QUERIES_LIST}
|
||||
</div>
|
||||
{/if}
|
||||
</div>{* <!-- the_page --> *}
|
||||
|
||||
<!-- BEGIN get_combined -->
|
||||
{get_combined_scripts load='footer'}
|
||||
<!-- END get_combined -->
|
||||
|
||||
</body>
|
||||
</html>
|
||||
88
zoesch.de/galerie/themes/default/template/header.tpl
Normal file
88
zoesch.de/galerie/themes/default/template/header.tpl
Normal file
@@ -0,0 +1,88 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{$lang_info.code}" dir="{$lang_info.direction}">
|
||||
<head>
|
||||
<meta charset="{$CONTENT_ENCODING}">
|
||||
<meta name="generator" content="Piwigo (aka PWG), see piwigo.org">
|
||||
|
||||
{if isset($meta_ref)}
|
||||
{if isset($INFO_AUTHOR)}
|
||||
<meta name="author" content="{$INFO_AUTHOR|strip_tags:false|replace:'"':' '}">
|
||||
{/if}
|
||||
{if isset($related_tags)}
|
||||
<meta name="keywords" content="{foreach from=$related_tags item=tag name=tag_loop}{if !$smarty.foreach.tag_loop.first}, {/if}{$tag.name}{/foreach}">
|
||||
{/if}
|
||||
{if isset($COMMENT_IMG)}
|
||||
<meta name="description" content="{$COMMENT_IMG|strip_tags:false|replace:'"':' '}{if isset($INFO_FILE)} - {$INFO_FILE}{/if}">
|
||||
{else}
|
||||
<meta name="description" content="{$PAGE_TITLE}{if isset($INFO_FILE)} - {$INFO_FILE}{/if}">
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
<title>{if $PAGE_TITLE!=l10n('Home') && $PAGE_TITLE!=$GALLERY_TITLE}{$PAGE_TITLE} | {/if}{$GALLERY_TITLE}</title>
|
||||
<link rel="shortcut icon" type="image/x-icon" href="{$ROOT_URL}{$themeconf.icon_dir}/favicon.ico">
|
||||
|
||||
<link rel="start" title="{'Home'|translate}" href="{$U_HOME}" >
|
||||
<link rel="search" title="{'Search'|translate}" href="{$ROOT_URL}search.php" >
|
||||
|
||||
{if isset($first.U_IMG) }<link rel="first" title="{'First'|translate}" href="{$first.U_IMG}" >{/if}
|
||||
{if isset($previous.U_IMG)}<link rel="prev" title="{'Previous'|translate}" href="{$previous.U_IMG}" >{/if}
|
||||
{if isset($next.U_IMG) }<link rel="next" title="{'Next'|translate}" href="{$next.U_IMG}" >{/if}
|
||||
{if isset($last.U_IMG) }<link rel="last" title="{'Last'|translate}" href="{$last.U_IMG}" >{/if}
|
||||
{if isset($U_UP) }<link rel="up" title="{'Thumbnails'|translate}" href="{$U_UP}" >{/if}
|
||||
|
||||
{if isset($U_PREFETCH) }<link rel="prefetch" href="{$U_PREFETCH}">{/if}
|
||||
{if isset($U_CANONICAL) }<link rel="canonical" href="{$U_CANONICAL}">{/if}
|
||||
|
||||
{if not empty($page_refresh)}<meta http-equiv="refresh" content="{$page_refresh.TIME};url={$page_refresh.U_REFRESH}">{/if}
|
||||
|
||||
{strip}
|
||||
{foreach from=$themes item=theme}
|
||||
{if $theme.load_css}
|
||||
{combine_css path="themes/`$theme.id`/theme.css" order=-10}
|
||||
{/if}
|
||||
{if !empty($theme.local_head)}
|
||||
{include file=$theme.local_head load_css=$theme.load_css}
|
||||
{/if}
|
||||
{/foreach}
|
||||
|
||||
{combine_script id="jquery" load="footer"}
|
||||
{/strip}
|
||||
|
||||
<!-- BEGIN get_combined -->
|
||||
{get_combined_css}
|
||||
|
||||
{get_combined_scripts load='header'}
|
||||
<!-- END get_combined -->
|
||||
|
||||
<!--[if lt IE 7]>
|
||||
<script type="text/javascript" src="{$ROOT_URL}themes/default/js/pngfix.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
{if not empty($head_elements)}
|
||||
{foreach from=$head_elements item=elt}
|
||||
{$elt}
|
||||
{/foreach}
|
||||
{/if}
|
||||
</head>
|
||||
|
||||
<body id="{$BODY_ID}">
|
||||
|
||||
<div id="the_page">
|
||||
|
||||
{if not empty($header_msgs)}
|
||||
<div class="header_msgs">
|
||||
{foreach from=$header_msgs item=elt}
|
||||
{$elt}<br>
|
||||
{/foreach}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<div id="theHeader">{$PAGE_BANNER}</div>
|
||||
|
||||
{if not empty($header_notes)}
|
||||
<div class="header_notes">
|
||||
{foreach from=$header_notes item=elt}
|
||||
<p>{$elt}</p>
|
||||
{/foreach}
|
||||
</div>
|
||||
{/if}
|
||||
66
zoesch.de/galerie/themes/default/template/identification.tpl
Normal file
66
zoesch.de/galerie/themes/default/template/identification.tpl
Normal file
@@ -0,0 +1,66 @@
|
||||
{if isset($MENUBAR)}{$MENUBAR}{/if}
|
||||
<div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}">
|
||||
|
||||
<div class="titrePage">
|
||||
<ul class="categoryActions">
|
||||
</ul>
|
||||
<h2><a href="{$U_HOME}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{'Identification'|@translate}</h2>
|
||||
</div>
|
||||
|
||||
{include file='infos_errors.tpl'}
|
||||
|
||||
<form action="{$F_LOGIN_ACTION}" method="post" name="login_form" class="properties">
|
||||
<fieldset>
|
||||
<legend>{'Connection settings'|@translate}</legend>
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
<span class="property">
|
||||
<label for="username">{'Username'|@translate}</label>
|
||||
</span>
|
||||
<input tabindex="1" class="login" type="text" name="username" id="username" size="25">
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<span class="property">
|
||||
<label for="password">{'Password'|@translate}</label>
|
||||
</span>
|
||||
<input tabindex="2" class="login" type="password" name="password" id="password" size="25">
|
||||
</li>
|
||||
|
||||
{if $authorize_remembering }
|
||||
<li>
|
||||
<span class="property">
|
||||
<label for="remember_me">{'Auto login'|@translate}</label>
|
||||
</span>
|
||||
<input tabindex="3" type="checkbox" name="remember_me" id="remember_me" value="1">
|
||||
</li>
|
||||
{/if}
|
||||
</ul>
|
||||
</fieldset>
|
||||
|
||||
<p>
|
||||
<input type="hidden" name="redirect" value="{$U_REDIRECT|@urlencode}">
|
||||
<input tabindex="4" type="submit" name="login" value="{'Submit'|@translate}">
|
||||
</p>
|
||||
|
||||
<p>
|
||||
{if isset($U_REGISTER)}
|
||||
<a href="{$U_REGISTER}" title="{'Register'|@translate}" class="pwg-state-default pwg-button">
|
||||
<span class="pwg-icon pwg-icon-register"> </span><span>{'Register'|@translate}</span>
|
||||
</a>
|
||||
{/if}
|
||||
{if isset($U_LOST_PASSWORD)}
|
||||
<a href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}" class="pwg-state-default pwg-button">
|
||||
<span class="pwg-icon pwg-icon-lost-password"> </span><span>{'Forgot your password?'|@translate}</span>
|
||||
</a>
|
||||
{/if}
|
||||
</p>
|
||||
|
||||
</form>
|
||||
|
||||
<script type="text/javascript"><!--
|
||||
document.login_form.username.focus();
|
||||
//--></script>
|
||||
|
||||
</div> <!-- content -->
|
||||
@@ -0,0 +1,9 @@
|
||||
{combine_script id='jquery.autogrow' load='async' require='jquery' path='themes/default/js/plugins/jquery.autogrow-textarea.js'}
|
||||
{* Auto size and auto grow textarea *}
|
||||
{footer_script require='jquery.autogrow'}{literal}
|
||||
jQuery(document).ready(function(){
|
||||
jQuery('textarea').css('overflow-y', 'hidden');
|
||||
// Auto size and auto grow for all text area
|
||||
jQuery('textarea').autogrow();
|
||||
});
|
||||
{/literal}{/footer_script}
|
||||
@@ -0,0 +1,2 @@
|
||||
{combine_script id='jquery.colorbox' load='footer' require='jquery' path='themes/default/js/plugins/jquery.colorbox.min.js'}
|
||||
{combine_css path="themes/default/js/plugins/colorbox/style2/colorbox.css"}
|
||||
@@ -0,0 +1,16 @@
|
||||
{* Resize possible *}
|
||||
{footer_script require='jquery.ui.resizable'}{literal}
|
||||
jQuery().ready(function(){
|
||||
// Resize possible for list
|
||||
jQuery(".categoryList").resizable({
|
||||
handles: "all",
|
||||
animate: true,
|
||||
animateDuration: "slow",
|
||||
animateEasing: "swing",
|
||||
preventDefault: true,
|
||||
preserveCursor: true,
|
||||
autoHide: true,
|
||||
ghost: true
|
||||
});
|
||||
});
|
||||
{/literal}{/footer_script}
|
||||
186
zoesch.de/galerie/themes/default/template/index.tpl
Normal file
186
zoesch.de/galerie/themes/default/template/index.tpl
Normal file
@@ -0,0 +1,186 @@
|
||||
{combine_script id='core.switchbox' load='async' require='jquery' path='themes/default/js/switchbox.js'}
|
||||
{$MENUBAR}
|
||||
|
||||
|
||||
{if isset($errors) or isset($infos)}
|
||||
<div class="content messages{if isset($MENUBAR)} contentWithMenu{/if}">
|
||||
{include file='infos_errors.tpl'}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if !empty($PLUGIN_INDEX_CONTENT_BEFORE)}{$PLUGIN_INDEX_CONTENT_BEFORE}{/if}
|
||||
<div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}">
|
||||
<div class="titrePage{if isset($chronology.TITLE)} calendarTitleBar{/if}">
|
||||
<ul class="categoryActions">
|
||||
{if !empty($image_orders)}
|
||||
<li>{strip}<a id="sortOrderLink" title="{'Sort order'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
|
||||
<span class="pwg-icon pwg-icon-sort"></span><span class="pwg-button-text">{'Sort order'|@translate}</span>
|
||||
</a>
|
||||
<div id="sortOrderBox" class="switchBox">
|
||||
<div class="switchBoxTitle">{'Sort order'|@translate}</div>
|
||||
{foreach from=$image_orders item=image_order name=loop}{if !$smarty.foreach.loop.first}<br>{/if}
|
||||
{if $image_order.SELECTED}
|
||||
<span>✔ </span>{$image_order.DISPLAY}
|
||||
{else}
|
||||
<span style="visibility:hidden">✔ </span><a href="{$image_order.URL}" rel="nofollow">{$image_order.DISPLAY}</a>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</div>
|
||||
{footer_script}(window.SwitchBox=window.SwitchBox||[]).push("#sortOrderLink", "#sortOrderBox");{/footer_script}
|
||||
{/strip}</li>
|
||||
{/if}
|
||||
{if !empty($image_derivatives)}
|
||||
<li>{strip}<a id="derivativeSwitchLink" title="{'Photo sizes'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
|
||||
<span class="pwg-icon pwg-icon-sizes"></span><span class="pwg-button-text">{'Photo sizes'|@translate}</span>
|
||||
</a>
|
||||
<div id="derivativeSwitchBox" class="switchBox">
|
||||
<div class="switchBoxTitle">{'Photo sizes'|@translate}</div>
|
||||
{foreach from=$image_derivatives item=image_derivative name=loop}{if !$smarty.foreach.loop.first}<br>{/if}
|
||||
{if $image_derivative.SELECTED}
|
||||
<span>✔ </span>{$image_derivative.DISPLAY}
|
||||
{else}
|
||||
<span style="visibility:hidden">✔ </span><a href="{$image_derivative.URL}" rel="nofollow">{$image_derivative.DISPLAY}</a>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</div>
|
||||
{footer_script}(window.SwitchBox=window.SwitchBox||[]).push("#derivativeSwitchLink", "#derivativeSwitchBox");{/footer_script}
|
||||
{/strip}</li>
|
||||
{/if}
|
||||
|
||||
{if isset($favorite)}
|
||||
<li id="cmdFavorite"><a href="{$favorite.U_FAVORITE}" title="{'delete all photos from your favorites'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
|
||||
<span class="pwg-icon pwg-icon-favorite-del"></span><span class="pwg-button-text">{'delete all photos from your favorites'|@translate}</span>
|
||||
</a></li>
|
||||
{/if}
|
||||
{if isset($U_CADDIE)}
|
||||
<li id="cmdCaddie"><a href="{$U_CADDIE}" title="{'Add to caddie'|@translate}" class="pwg-state-default pwg-button">
|
||||
<span class="pwg-icon pwg-icon-caddie-add"></span><span class="pwg-button-text">{'Caddie'|@translate}</span>
|
||||
</a></li>
|
||||
{/if}
|
||||
{if isset($U_EDIT)}
|
||||
<li id="cmdEditAlbum"><a href="{$U_EDIT}" title="{'Edit album'|@translate}" class="pwg-state-default pwg-button">
|
||||
<span class="pwg-icon pwg-icon-category-edit"></span><span class="pwg-button-text">{'Edit'|@translate}</span>
|
||||
</a></li>
|
||||
{/if}
|
||||
{if isset($U_SEARCH_RULES)}
|
||||
{combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'}
|
||||
<li><a href="{$U_SEARCH_RULES}" onclick="popuphelp(this.href); return false;" title="{'Search rules'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
|
||||
<span class="pwg-icon pwg-icon-help"></span><span class="pwg-button-text">(?)</span>
|
||||
</a></li>
|
||||
{/if}
|
||||
{if isset($U_SLIDESHOW)}
|
||||
<li id="cmdSlideshow">{strip}<a href="{$U_SLIDESHOW}" title="{'slideshow'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
|
||||
<span class="pwg-icon pwg-icon-slideshow"></span><span class="pwg-button-text">{'slideshow'|@translate}</span>
|
||||
</a>{/strip}</li>
|
||||
{/if}
|
||||
{if isset($U_MODE_FLAT)}
|
||||
<li>{strip}<a href="{$U_MODE_FLAT}" title="{'display all photos in all sub-albums'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
|
||||
<span class="pwg-icon pwg-icon-category-view-flat"></span><span class="pwg-button-text">{'display all photos in all sub-albums'|@translate}</span>
|
||||
</a>{/strip}</li>
|
||||
{/if}
|
||||
{if isset($U_MODE_NORMAL)}
|
||||
<li>{strip}<a href="{$U_MODE_NORMAL}" title="{'return to normal view mode'|@translate}" class="pwg-state-default pwg-button">
|
||||
<span class="pwg-icon pwg-icon-category-view-normal"></span><span class="pwg-button-text">{'return to normal view mode'|@translate}</span>
|
||||
</a>{/strip}</li>
|
||||
{/if}
|
||||
{if isset($U_MODE_POSTED)}
|
||||
<li>{strip}<a href="{$U_MODE_POSTED}" title="{'display a calendar by posted date'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
|
||||
<span class="pwg-icon pwg-icon-calendar"></span><span class="pwg-button-text">{'Calendar'|@translate}</span>
|
||||
</a>{/strip}</li>
|
||||
{/if}
|
||||
{if isset($U_MODE_CREATED)}
|
||||
<li>{strip}<a href="{$U_MODE_CREATED}" title="{'display a calendar by creation date'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
|
||||
<span class="pwg-icon pwg-icon-camera-calendar"></span><span class="pwg-button-text">{'Calendar'|@translate}</span>
|
||||
</a>{/strip}</li>
|
||||
{/if}
|
||||
{if !empty($PLUGIN_INDEX_BUTTONS)}{foreach from=$PLUGIN_INDEX_BUTTONS item=button}<li>{$button}</li>{/foreach}{/if}
|
||||
{if !empty($PLUGIN_INDEX_ACTIONS)}{$PLUGIN_INDEX_ACTIONS}{/if}
|
||||
</ul>
|
||||
|
||||
<h2>{$TITLE}</h2>
|
||||
|
||||
{if isset($chronology_views)}
|
||||
<div class="calendarViews">{'View'|@translate}:
|
||||
<a id="calendarViewSwitchLink" href="#">
|
||||
{foreach from=$chronology_views item=view}{if $view.SELECTED}{$view.CONTENT}{/if}{/foreach}
|
||||
</a>
|
||||
<div id="calendarViewSwitchBox" class="switchBox">
|
||||
{foreach from=$chronology_views item=view name=loop}{if !$smarty.foreach.loop.first}<br>{/if}
|
||||
<span{if !$view.SELECTED} style="visibility:hidden"{/if}>✔ </span><a href="{$view.VALUE}">{$view.CONTENT}</a>
|
||||
{/foreach}
|
||||
</div>
|
||||
{footer_script}(window.SwitchBox=window.SwitchBox||[]).push("#calendarViewSwitchLink", "#calendarViewSwitchBox");{/footer_script}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if isset($chronology.TITLE)}
|
||||
<h2 class="calendarTitle">{$chronology.TITLE}</h2>
|
||||
{/if}
|
||||
|
||||
</div>{* <!-- titrePage --> *}
|
||||
|
||||
{if !empty($PLUGIN_INDEX_CONTENT_BEGIN)}{$PLUGIN_INDEX_CONTENT_BEGIN}{/if}
|
||||
|
||||
{if !empty($no_search_results)}
|
||||
<p class="search_results">{'No results for'|@translate} :
|
||||
<em><strong>
|
||||
{foreach $no_search_results as $res}
|
||||
{if !$res@first} — {/if}
|
||||
{$res}
|
||||
{/foreach}
|
||||
</strong></em>
|
||||
</p>
|
||||
{/if}
|
||||
|
||||
{if !empty($category_search_results)}
|
||||
<p class="search_results">{'Album results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
|
||||
<em><strong>
|
||||
{foreach from=$category_search_results item=res name=res_loop}
|
||||
{if !$smarty.foreach.res_loop.first} — {/if}
|
||||
{$res}
|
||||
{/foreach}
|
||||
</strong></em>
|
||||
</p>
|
||||
{/if}
|
||||
|
||||
{if !empty($tag_search_results)}
|
||||
<p class="search_results">{'Tag results for'|@translate} <strong>{$QUERY_SEARCH}</strong> :
|
||||
<em><strong>
|
||||
{foreach from=$tag_search_results item=tag name=res_loop}
|
||||
{if !$smarty.foreach.res_loop.first} — {/if} <a href="{$tag.URL}">{$tag.name}</a>
|
||||
{/foreach}
|
||||
</strong></em>
|
||||
</p>
|
||||
{/if}
|
||||
|
||||
{if isset($FILE_CHRONOLOGY_VIEW)}
|
||||
{include file=$FILE_CHRONOLOGY_VIEW}
|
||||
{/if}
|
||||
|
||||
{if !empty($CONTENT_DESCRIPTION)}
|
||||
<div class="additional_info">
|
||||
{$CONTENT_DESCRIPTION}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if !empty($CONTENT)}{$CONTENT}{/if}
|
||||
|
||||
{if !empty($CATEGORIES)}{$CATEGORIES}{/if}
|
||||
|
||||
{if !empty($cats_navbar)}
|
||||
{include file='navigation_bar.tpl'|@get_extent:'navbar' navbar=$cats_navbar}
|
||||
{/if}
|
||||
|
||||
{if !empty($THUMBNAILS)}
|
||||
<div class="loader"><img src="{$ROOT_URL}{$themeconf.img_dir}/ajax_loader.gif"></div>
|
||||
<ul class="thumbnails" id="thumbnails">
|
||||
{$THUMBNAILS}
|
||||
</ul>
|
||||
{/if}
|
||||
{if !empty($thumb_navbar)}
|
||||
{include file='navigation_bar.tpl'|@get_extent:'navbar' navbar=$thumb_navbar}
|
||||
{/if}
|
||||
|
||||
{if !empty($PLUGIN_INDEX_CONTENT_END)}{$PLUGIN_INDEX_CONTENT_END}{/if}
|
||||
</div>{* <!-- content --> *}
|
||||
{if !empty($PLUGIN_INDEX_CONTENT_AFTER)}{$PLUGIN_INDEX_CONTENT_AFTER}{/if}
|
||||
19
zoesch.de/galerie/themes/default/template/infos_errors.tpl
Normal file
19
zoesch.de/galerie/themes/default/template/infos_errors.tpl
Normal file
@@ -0,0 +1,19 @@
|
||||
{if isset($errors) }
|
||||
<div class="errors">
|
||||
<ul>
|
||||
{foreach from=$errors item=error}
|
||||
<li>{$error}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if not empty($infos)}
|
||||
<div class="infos">
|
||||
<ul>
|
||||
{foreach from=$infos item=info}
|
||||
<li>{$info}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
{/if}
|
||||
30
zoesch.de/galerie/themes/default/template/mail/index.php
Normal file
30
zoesch.de/galerie/themes/default/template/mail/index.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Piwigo - a PHP based photo gallery |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Copyright(C) 2008-2016 Piwigo Team http://piwigo.org |
|
||||
// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
|
||||
// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | This program is free software; you can redistribute it and/or modify |
|
||||
// | it under the terms of the GNU General Public License as published by |
|
||||
// | the Free Software Foundation |
|
||||
// | |
|
||||
// | This program is distributed in the hope that it will be useful, but |
|
||||
// | WITHOUT ANY WARRANTY; without even the implied warranty of |
|
||||
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
||||
// | General Public License for more details. |
|
||||
// | |
|
||||
// | You should have received a copy of the GNU General Public License |
|
||||
// | along with this program; if not, write to the Free Software |
|
||||
// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
|
||||
// | USA. |
|
||||
// +-----------------------------------------------------------------------+
|
||||
|
||||
// Recursive call
|
||||
$url = '../';
|
||||
header( 'Request-URI: '.$url );
|
||||
header( 'Content-Location: '.$url );
|
||||
header( 'Location: '.$url );
|
||||
exit();
|
||||
?>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 69 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 71 KiB |
@@ -0,0 +1,8 @@
|
||||
<div id="cat_group_info">
|
||||
<h2>{'Informations'|@translate}</h2>
|
||||
<p><a href="{$IMG.link}" class="thumblnk"><img src="{$IMG.src}"></a></p>
|
||||
<p>{'Hello,'|@translate}</p>
|
||||
<p>{'Discover album:'|@translate} <a href="{$LINK}">{$CAT_NAME}</a></p>
|
||||
<p>{$CPL_CONTENT}</p>
|
||||
<p>{'See you soon.'|@translate}</p>
|
||||
</div>
|
||||
@@ -0,0 +1,23 @@
|
||||
{* <!-- end $CONTENT --> *}
|
||||
</td></tr>
|
||||
|
||||
<tr><td id="footer">
|
||||
{* <!-- begin FOOTER --> *}
|
||||
{* <!-- Please, do not remove this copyright. If you really want to,
|
||||
contact us on http://piwigo.org to find a solution on how
|
||||
to show the origin of the script... --> *}
|
||||
|
||||
{'Sent by'|translate} <a href="{$GALLERY_URL}">{$GALLERY_TITLE}</a>
|
||||
- {'Powered by'|translate} <a href="{$PHPWG_URL}" class="Piwigo">Piwigo</a>
|
||||
{if not empty($VERSION)}{$VERSION}{/if}
|
||||
|
||||
- {'Contact'|translate}
|
||||
<a href="mailto:{$CONTACT_MAIL}?subject={'A comment on your site'|translate|escape:url}">{'Webmaster'|@translate}</a>
|
||||
{* <!-- end FOOTER --> *}
|
||||
</td></tr>
|
||||
</table>
|
||||
|
||||
</td></tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,103 @@
|
||||
/* page */
|
||||
body {
|
||||
font-family:"Verdana", "Helvetica", "Optima", sans-serif;
|
||||
font-size:12px;
|
||||
margin:0px;
|
||||
padding:0px;
|
||||
}
|
||||
|
||||
html, body, #bodyTable {
|
||||
width:100%;
|
||||
height:100%;
|
||||
}
|
||||
|
||||
/* main block */
|
||||
#header {
|
||||
padding:20px;
|
||||
}
|
||||
#header #title {
|
||||
font-size:26px;
|
||||
font-weight:bold;
|
||||
}
|
||||
#header #subtitle {
|
||||
font-size:20px;
|
||||
}
|
||||
#content {
|
||||
padding:0 20px 20px 20px;
|
||||
font-family:"Verdana", "Helvetica", "Optima", sans-serif;
|
||||
font-size:13px;
|
||||
}
|
||||
#footer {
|
||||
font-size:10px;
|
||||
padding:5px;
|
||||
}
|
||||
#topSpacer {
|
||||
margin-bottom:20px;
|
||||
}
|
||||
|
||||
/* images */
|
||||
img {
|
||||
border:none;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5 {
|
||||
margin:0.5em 0 0.25em 0;
|
||||
}
|
||||
h1 { font-size:26px; }
|
||||
h2 { font-size:20px; }
|
||||
h3 { font-size:16px; }
|
||||
h4 { font-size:12px; }
|
||||
h5 { font-size:10px; }
|
||||
|
||||
/* paragraphs */
|
||||
p {
|
||||
margin:0.25em 0 0.5em 0;
|
||||
}
|
||||
blockquote {
|
||||
margin-left:10px;
|
||||
padding-left:10px;
|
||||
font-family:"Times",serif;
|
||||
font-size:14px;
|
||||
}
|
||||
|
||||
/* list */
|
||||
ul, ol {
|
||||
margin:0.5em 0 0.25em 30px;
|
||||
padding:0;
|
||||
}
|
||||
dl {
|
||||
margin:0.5em 0 0.25em 10px;
|
||||
}
|
||||
dt {
|
||||
margin:0.25em 0 0 0;
|
||||
font-weight:bold;
|
||||
}
|
||||
dd {
|
||||
margin:0 0 0.25em 10px;
|
||||
}
|
||||
|
||||
/* tables */
|
||||
#content table {
|
||||
width:100%;
|
||||
border-spacing:0;
|
||||
border-collapse:collapse;
|
||||
}
|
||||
#content table td {
|
||||
padding:2px 3px;
|
||||
}
|
||||
#content table th {
|
||||
font-weight:bold;
|
||||
text-align:center;
|
||||
padding:4px 0;
|
||||
}
|
||||
#content table tfoot td {
|
||||
font-size:0.8em;
|
||||
}
|
||||
|
||||
/* line */
|
||||
hr {
|
||||
border-width:0 0 1px 0;
|
||||
border-color:#ddd;
|
||||
border-style:solid;
|
||||
margin:1em;
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html lang="{$lang_info.code}" dir="{$lang_info.direction}">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset={$CONTENT_ENCODING}"/>
|
||||
<title>Piwigo Mail</title>
|
||||
|
||||
<style type="text/css">
|
||||
{if isset($GLOBAL_MAIL_CSS)}{$GLOBAL_MAIL_CSS}{/if}
|
||||
{if isset($MAIL_CSS)}{$MAIL_CSS}{/if}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<table id="bodyTable" cellspacing="0" cellpadding="10" border="0">
|
||||
<tr><td align="center" valign="top">
|
||||
|
||||
<table id="contentTable" cellspacing="0" cellpadding="0" border="0">
|
||||
<tr><td id="header">
|
||||
{* <!-- begin HEADER --> *}
|
||||
<div id="title">{$MAIL_TITLE}</div>
|
||||
{if not empty($MAIL_SUBTITLE)}<div id="subtitle">{$MAIL_SUBTITLE}</div>{/if}
|
||||
{* <!-- end HEADER --> *}
|
||||
</td></tr>
|
||||
|
||||
<tr><td id="content">
|
||||
{* <!-- use an invisible div with a bottom margin to force the browser
|
||||
to merge the margin with the element bellow (typically h1/h2/...) --> *}
|
||||
<div id="topSpacer"></div>
|
||||
{* <!-- begin CONTENT --> *}
|
||||
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Piwigo - a PHP based photo gallery |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Copyright(C) 2008-2016 Piwigo Team http://piwigo.org |
|
||||
// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
|
||||
// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | This program is free software; you can redistribute it and/or modify |
|
||||
// | it under the terms of the GNU General Public License as published by |
|
||||
// | the Free Software Foundation |
|
||||
// | |
|
||||
// | This program is distributed in the hope that it will be useful, but |
|
||||
// | WITHOUT ANY WARRANTY; without even the implied warranty of |
|
||||
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
||||
// | General Public License for more details. |
|
||||
// | |
|
||||
// | You should have received a copy of the GNU General Public License |
|
||||
// | along with this program; if not, write to the Free Software |
|
||||
// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
|
||||
// | USA. |
|
||||
// +-----------------------------------------------------------------------+
|
||||
|
||||
// Recursive call
|
||||
$url = '../';
|
||||
header( 'Request-URI: '.$url );
|
||||
header( 'Content-Location: '.$url );
|
||||
header( 'Location: '.$url );
|
||||
exit();
|
||||
?>
|
||||
@@ -0,0 +1,71 @@
|
||||
/* page */
|
||||
body {
|
||||
color:#111;
|
||||
}
|
||||
|
||||
html, body, #bodyTable {
|
||||
background:#fff;
|
||||
}
|
||||
#contentTable {
|
||||
width:600px;
|
||||
}
|
||||
|
||||
/* main block */
|
||||
#header {
|
||||
background:#eee;
|
||||
background-image:radial-gradient(ellipse at center, #fefefe, #e5e5e5);
|
||||
border-top:4px solid #f70;
|
||||
text-align:center;
|
||||
text-shadow:1px 1px 0px #fff;
|
||||
}
|
||||
#header #subtitle {
|
||||
color:#e06900;
|
||||
}
|
||||
#content {
|
||||
background:#fefefe;
|
||||
border-width:1px;
|
||||
border-style:solid;
|
||||
border-color:#ddd #eee;
|
||||
box-shadow:inset 0 0 20px #eee;
|
||||
}
|
||||
#footer {
|
||||
background:#eee;
|
||||
border-bottom:2px solid #f70;
|
||||
}
|
||||
|
||||
/* links */
|
||||
a {
|
||||
color:#f70;
|
||||
text-decoration:none;
|
||||
}
|
||||
a:hover {
|
||||
text-decoration:underline;
|
||||
}
|
||||
|
||||
/* images */
|
||||
img.photo {
|
||||
border:10px solid #ddd;
|
||||
}
|
||||
img.photo:hover {
|
||||
border-color:#eee;
|
||||
}
|
||||
|
||||
/* paragraphs */
|
||||
blockquote {
|
||||
border-left:2px solid #aaa;
|
||||
border-radius:2px;
|
||||
}
|
||||
|
||||
/* tables */
|
||||
#content table td {
|
||||
border-bottom:1px solid #efefef;
|
||||
}
|
||||
#content table th {
|
||||
background:#aaa;
|
||||
color:#fff;
|
||||
border-right:1px solid #ddd;
|
||||
}
|
||||
#content table tfoot td {
|
||||
background:#eee;
|
||||
border-right:1px solid #fff;
|
||||
}
|
||||
@@ -0,0 +1,85 @@
|
||||
/* page */
|
||||
body {
|
||||
color:#fff;
|
||||
}
|
||||
|
||||
html, body, #bodyTable {
|
||||
background:#111;
|
||||
}
|
||||
#contentTable {
|
||||
width:600px;
|
||||
}
|
||||
|
||||
/* main block */
|
||||
#header {
|
||||
background:#444;
|
||||
background-image:radial-gradient(ellipse at center, #555, #333);
|
||||
border:1px solid #000;
|
||||
border-top:4px solid #f36;
|
||||
text-align:center;
|
||||
text-shadow:1px 1px 0px #000;
|
||||
}
|
||||
#header #title {
|
||||
color:#eee;
|
||||
}
|
||||
#header #subtitle {
|
||||
color:#C9224C;
|
||||
}
|
||||
#content {
|
||||
background:#111;
|
||||
border-width:1px;
|
||||
border-style:solid;
|
||||
border-color:#666 #000;
|
||||
box-shadow:inset 0 0 20px #333;
|
||||
}
|
||||
#footer {
|
||||
background:#333;
|
||||
border:1px solid #000;
|
||||
border-bottom:2px solid #f36;
|
||||
}
|
||||
|
||||
/* links */
|
||||
a {
|
||||
color:#f36;
|
||||
text-decoration:none;
|
||||
}
|
||||
a:hover {
|
||||
text-decoration:underline;
|
||||
}
|
||||
|
||||
/* images */
|
||||
img.photo {
|
||||
border:10px solid #666;
|
||||
}
|
||||
img.photo:hover {
|
||||
border-color:#999;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5 {
|
||||
color:#bbb;
|
||||
}
|
||||
|
||||
/* paragraphs */
|
||||
blockquote {
|
||||
border-left:2px solid #aaa;
|
||||
border-radius:2px;
|
||||
}
|
||||
|
||||
/* tables */
|
||||
#content table td {
|
||||
border-bottom:1px solid #999;
|
||||
}
|
||||
#content table th {
|
||||
background:#666;
|
||||
border-right:1px solid #aaa;
|
||||
}
|
||||
#content table tfoot td {
|
||||
background:#444;
|
||||
color:#aaa;
|
||||
border-right:1px solid #aaa;
|
||||
}
|
||||
|
||||
/* line */
|
||||
hr {
|
||||
border-color:#555;
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{$CONTENT}
|
||||
|
||||
{if isset($TECHNICAL)}
|
||||
<p style="padding-top:10px;font-size:11px;">
|
||||
{'Connected user: %s'|translate:$TECHNICAL.username}<br>
|
||||
{'IP: %s'|translate:$TECHNICAL.ip}<br>
|
||||
{'Browser: %s'|translate:$TECHNICAL.user_agent}
|
||||
</p>
|
||||
{/if}
|
||||
@@ -0,0 +1,56 @@
|
||||
<div id="nbm_message">
|
||||
<h2>{'Notification'|@translate}</h2>
|
||||
<p>{'Hello'|@translate} {$USERNAME},</p>
|
||||
|
||||
{if isset($subscribe_by_admin)}
|
||||
<p>{'The webmaster has subscribed you to receiving notifications by mail.'|@translate}</p>
|
||||
{/if}
|
||||
{if isset($subscribe_by_himself)}
|
||||
<p>{'You have subscribed to receiving notifications by mail.'|@translate}</p>
|
||||
{/if}
|
||||
{if isset($unsubscribe_by_admin)}
|
||||
<p>{'The webmaster has unsubscribed you from receiving notifications by mail.'|@translate}</p>
|
||||
{/if}
|
||||
{if isset($unsubscribe_by_himself)}
|
||||
<p>{'You have unsubscribed from receiving notifications by mail.'|@translate}</p>
|
||||
{/if}
|
||||
{if isset($content_new_elements_single)}
|
||||
<p>{'New photos were added'|@translate} {'on'|@translate} {$content_new_elements_single.DATE_SINGLE}.</p>
|
||||
{/if}
|
||||
{if isset($content_new_elements_between)}
|
||||
<p>{'New photos were added'|@translate} {'between'|@translate} {$content_new_elements_between.DATE_BETWEEN_1} {'and'|@translate} {$content_new_elements_between.DATE_BETWEEN_2}.</p>
|
||||
{/if}
|
||||
|
||||
{if not empty($global_new_lines)}
|
||||
<ul id="nbm_new_line">
|
||||
{foreach from=$global_new_lines item=line}
|
||||
<li>{$line}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{/if}
|
||||
|
||||
{if not empty($custom_mail_content)}
|
||||
<p>{$custom_mail_content}</p>
|
||||
{/if}
|
||||
|
||||
{if not empty($GOTO_GALLERY_TITLE)}
|
||||
<p>{'Go to'|@translate} <a href="{$GOTO_GALLERY_URL}">{$GOTO_GALLERY_TITLE}</a>.</p>
|
||||
{/if}
|
||||
<p>{'See you soon,'|@translate}</p>
|
||||
<p style="text-align:center">{$SEND_AS_NAME}</p>
|
||||
<hr>
|
||||
<p>
|
||||
{'To unsubscribe'|@translate}{', click on'|@translate} <a href="{$UNSUBSCRIBE_LINK}">{$UNSUBSCRIBE_LINK}</a><br>
|
||||
{'To subscribe'|@translate}{', click on'|@translate} <a href="{$SUBSCRIBE_LINK}">{$SUBSCRIBE_LINK}</a><br>
|
||||
{'If you encounter problems or have any question, please send a message to'|@translate} <a href="mailto:{$CONTACT_EMAIL}?subject={'[NBM] Problems or questions'|@translate}">{$CONTACT_EMAIL}</a><br>
|
||||
</p>
|
||||
<hr>
|
||||
{if not empty($recent_posts)}
|
||||
</div>
|
||||
<div id="nbm_recent_post">
|
||||
{foreach from=$recent_posts item=recent_post }
|
||||
<h2>{$recent_post.TITLE}</h2>
|
||||
{$recent_post.HTML_DATA}
|
||||
{/foreach}
|
||||
{/if}
|
||||
</div>
|
||||
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Piwigo - a PHP based photo gallery |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Copyright(C) 2008-2016 Piwigo Team http://piwigo.org |
|
||||
// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
|
||||
// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | This program is free software; you can redistribute it and/or modify |
|
||||
// | it under the terms of the GNU General Public License as published by |
|
||||
// | the Free Software Foundation |
|
||||
// | |
|
||||
// | This program is distributed in the hope that it will be useful, but |
|
||||
// | WITHOUT ANY WARRANTY; without even the implied warranty of |
|
||||
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
||||
// | General Public License for more details. |
|
||||
// | |
|
||||
// | You should have received a copy of the GNU General Public License |
|
||||
// | along with this program; if not, write to the Free Software |
|
||||
// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
|
||||
// | USA. |
|
||||
// +-----------------------------------------------------------------------+
|
||||
|
||||
// Recursive call
|
||||
$url = '../';
|
||||
header( 'Request-URI: '.$url );
|
||||
header( 'Content-Location: '.$url );
|
||||
header( 'Location: '.$url );
|
||||
exit();
|
||||
?>
|
||||
@@ -0,0 +1,8 @@
|
||||
{'Hello,'|@translate}
|
||||
|
||||
{'Discover album:'|@translate} {$CAT_NAME}
|
||||
{$LINK}
|
||||
|
||||
{$CPL_CONTENT}
|
||||
|
||||
{'See you soon.'|@translate}
|
||||
@@ -0,0 +1,7 @@
|
||||
{literal}
|
||||
|
||||
{/literal}
|
||||
----
|
||||
{'Sent by'|@translate} "{$GALLERY_TITLE}" {$GALLERY_URL}
|
||||
{'Powered by'|@translate} "Piwigo{if not empty($VERSION)} {$VERSION}{/if}" {$PHPWG_URL}
|
||||
{'Contact'|@translate}: {$CONTACT_MAIL}
|
||||
@@ -0,0 +1,6 @@
|
||||
{$MAIL_TITLE}
|
||||
{if not empty($MAIL_SUBTITLE)}{$MAIL_SUBTITLE}
|
||||
{/if}
|
||||
----
|
||||
{literal}
|
||||
{/literal}
|
||||
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Piwigo - a PHP based photo gallery |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | Copyright(C) 2008-2016 Piwigo Team http://piwigo.org |
|
||||
// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
|
||||
// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | This program is free software; you can redistribute it and/or modify |
|
||||
// | it under the terms of the GNU General Public License as published by |
|
||||
// | the Free Software Foundation |
|
||||
// | |
|
||||
// | This program is distributed in the hope that it will be useful, but |
|
||||
// | WITHOUT ANY WARRANTY; without even the implied warranty of |
|
||||
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
||||
// | General Public License for more details. |
|
||||
// | |
|
||||
// | You should have received a copy of the GNU General Public License |
|
||||
// | along with this program; if not, write to the Free Software |
|
||||
// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
|
||||
// | USA. |
|
||||
// +-----------------------------------------------------------------------+
|
||||
|
||||
// Recursive call
|
||||
$url = '../';
|
||||
header( 'Request-URI: '.$url );
|
||||
header( 'Content-Location: '.$url );
|
||||
header( 'Location: '.$url );
|
||||
exit();
|
||||
?>
|
||||
@@ -0,0 +1,8 @@
|
||||
{$CONTENT}
|
||||
|
||||
{if isset($TECHNICAL)}
|
||||
-----------------------------
|
||||
{'Connected user: %s'|translate:$TECHNICAL.username}
|
||||
{'IP: %s'|translate:$TECHNICAL.ip}
|
||||
{'Browser: %s'|translate:$TECHNICAL.user_agent}
|
||||
{/if}
|
||||
@@ -0,0 +1,41 @@
|
||||
{'Hello'|@translate} {$USERNAME},
|
||||
|
||||
{if isset($subscribe_by_admin)}
|
||||
{'The webmaster has subscribed you to receiving notifications by mail.'|@translate}
|
||||
{/if}
|
||||
{if isset($subscribe_by_himself)}
|
||||
{'You have subscribed to receiving notifications by mail.'|@translate}
|
||||
{/if}
|
||||
{if isset($unsubscribe_by_admin)}
|
||||
{'The webmaster has unsubscribed you from receiving notifications by mail.'|@translate}
|
||||
{/if}
|
||||
{if isset($unsubscribe_by_himself)}
|
||||
{'You have unsubscribed from receiving notifications by mail.'|@translate}
|
||||
{/if}
|
||||
{if isset($content_new_elements_single)}
|
||||
{'New photos were added'|@translate} {'on'|@translate} {$content_new_elements_single.DATE_SINGLE}.
|
||||
{/if}
|
||||
{if isset($content_new_elements_between)}
|
||||
{'New photos were added'|@translate} {'between'|@translate} {$content_new_elements_between.DATE_BETWEEN_1} {'and'|@translate} {$content_new_elements_between.DATE_BETWEEN_2}.
|
||||
{/if}
|
||||
{if not empty($global_new_lines)}
|
||||
{foreach from=$global_new_lines item=line}
|
||||
o {$line}
|
||||
{/foreach}
|
||||
{/if}
|
||||
{if not empty($custom_mail_content)}
|
||||
{$custom_mail_content}
|
||||
{/if}
|
||||
{if not empty($GOTO_GALLERY_TITLE)}
|
||||
.{$GOTO_GALLERY_TITLE} {$GOTO_GALLERY_URL} .
|
||||
{/if}
|
||||
|
||||
{'See you soon,'|@translate}
|
||||
{$SEND_AS_NAME}
|
||||
|
||||
______________________________________________________________________________
|
||||
|
||||
{'To unsubscribe'|@translate}{', click on'|@translate} {$UNSUBSCRIBE_LINK}
|
||||
{'To subscribe'|@translate}{', click on'|@translate} {$SUBSCRIBE_LINK}
|
||||
{'If you encounter problems or have any question, please send a message to'|@translate} {$CONTACT_EMAIL}
|
||||
______________________________________________________________________________
|
||||
@@ -0,0 +1,48 @@
|
||||
{strip}{html_style}
|
||||
.thumbnailCategory .illustration{ldelim}
|
||||
width: {$derivative_params->max_width()+5}px;
|
||||
}
|
||||
|
||||
.content .thumbnailCategory .description{ldelim}
|
||||
height: {$derivative_params->max_height()+5}px;
|
||||
}
|
||||
{/html_style}{/strip}
|
||||
{footer_script}
|
||||
var error_icon = "{$ROOT_URL}{$themeconf.icon_dir}/errors_small.png", max_requests = {$maxRequests};
|
||||
{/footer_script}
|
||||
<div class="loader"><img src="{$ROOT_URL}{$themeconf.img_dir}/ajax_loader.gif"></div>
|
||||
<ul class="thumbnailCategories">
|
||||
{foreach from=$category_thumbnails item=cat name=cat_loop}
|
||||
{assign var=derivative value=$pwg->derivative($derivative_params, $cat.representative.src_image)}
|
||||
{if !$derivative->is_cached()}
|
||||
{combine_script id='jquery.ajaxmanager' path='themes/default/js/plugins/jquery.ajaxmanager.js' load='footer'}
|
||||
{combine_script id='thumbnails.loader' path='themes/default/js/thumbnails.loader.js' require='jquery.ajaxmanager' load='footer'}
|
||||
{/if}
|
||||
<li class="{if $smarty.foreach.cat_loop.index is odd}odd{else}even{/if}">
|
||||
<div class="thumbnailCategory">
|
||||
<div class="illustration">
|
||||
<a href="{$cat.URL}">
|
||||
<img {if $derivative->is_cached()}src="{$derivative->get_url()}"{else}src="{$ROOT_URL}{$themeconf.icon_dir}/img_small.png" data-src="{$derivative->get_url()}"{/if} alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '|@strip_tags:false} - {'display this album'|@translate}">
|
||||
</a>
|
||||
</div>
|
||||
<div class="description">
|
||||
<h3>
|
||||
<a href="{$cat.URL}">{$cat.NAME}</a>
|
||||
{if !empty($cat.icon_ts)}
|
||||
<img title="{$cat.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent{if $cat.icon_ts.IS_CHILD_DATE}_by_child{/if}.png" alt="(!)">
|
||||
{/if}
|
||||
</h3>
|
||||
<div class="text">
|
||||
{if isset($cat.INFO_DATES) }
|
||||
<p class="dates">{$cat.INFO_DATES}</p>
|
||||
{/if}
|
||||
<p class="Nb_images">{$cat.CAPTION_NB_IMAGES}</p>
|
||||
{if not empty($cat.DESCRIPTION)}
|
||||
<p>{$cat.DESCRIPTION}</p>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
13
zoesch.de/galerie/themes/default/template/menubar.tpl
Normal file
13
zoesch.de/galerie/themes/default/template/menubar.tpl
Normal file
@@ -0,0 +1,13 @@
|
||||
{if !empty($blocks) }
|
||||
<div id="menubar">
|
||||
{foreach from=$blocks key=id item=block}
|
||||
<dl id="{$id}">
|
||||
{if not empty($block->template)}
|
||||
{include file=$block->template|@get_extent:$id }
|
||||
{else}
|
||||
{$block->raw_content}
|
||||
{/if}
|
||||
</dl>
|
||||
{/foreach}
|
||||
</div><div id="menuSwitcher"></div>
|
||||
{/if}
|
||||
@@ -0,0 +1,32 @@
|
||||
<dt>
|
||||
{if isset($U_START_FILTER)}
|
||||
<a href="{$U_START_FILTER}" class="pwg-state-default pwg-button menubarFilter" title="{'display only recently posted photos'|@translate}" rel="nofollow"><span class="pwg-icon pwg-icon-filter"> </span></a>
|
||||
{/if}
|
||||
{if isset($U_STOP_FILTER)}
|
||||
<a href="{$U_STOP_FILTER}" class="pwg-state-default pwg-button menubarFilter" title="{'return to the display of all photos'|@translate}"><span class="pwg-icon pwg-icon-filter-del"> </span></a>
|
||||
{/if}
|
||||
<a href="{$block->data.U_CATEGORIES}">{'Albums'|@translate}</a>
|
||||
</dt>
|
||||
<dd>
|
||||
{assign var='ref_level' value=0}
|
||||
{foreach from=$block->data.MENU_CATEGORIES item=cat}
|
||||
{if $cat.LEVEL > $ref_level}
|
||||
<ul>
|
||||
{else}
|
||||
</li>
|
||||
{'</ul></li>'|@str_repeat:($ref_level-$cat.LEVEL)}
|
||||
{/if}
|
||||
<li {if $cat.SELECTED}class="selected"{/if}>
|
||||
<a href="{$cat.URL}" {if $cat.IS_UPPERCAT}rel="up"{/if} title="{$cat.TITLE}">{$cat.NAME}</a>
|
||||
{if $cat.count_images > 0}
|
||||
<span class="{if $cat.nb_images > 0}menuInfoCat{else}menuInfoCatByChild{/if}" title="{$cat.TITLE}">[{$cat.count_images}]</span>
|
||||
{/if}
|
||||
{if !empty($cat.icon_ts)}
|
||||
<img title="{$cat.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent{if $cat.icon_ts.IS_CHILD_DATE}_by_child{/if}.png" class="icon" alt="(!)">
|
||||
{/if}
|
||||
{assign var='ref_level' value=$cat.LEVEL}
|
||||
{/foreach}
|
||||
{'</li></ul>'|@str_repeat:$ref_level}
|
||||
|
||||
<p class="totalImages">{$block->data.NB_PICTURE|@translate_dec:'%d photo':'%d photos'}</p>
|
||||
</dd>
|
||||
@@ -0,0 +1,64 @@
|
||||
<dt>{'Identification'|@translate}</dt>
|
||||
<dd>
|
||||
{strip}
|
||||
{if isset($USERNAME)}
|
||||
<p>{'Hello'|@translate} {$USERNAME} !</p>
|
||||
{/if}
|
||||
<ul>
|
||||
{if isset($U_REGISTER)}
|
||||
<li><a href="{$U_REGISTER}" title="{'Create a new account'|@translate}" rel="nofollow">{'Register'|@translate}</a></li>
|
||||
{/if}
|
||||
{if isset($U_LOGIN)}
|
||||
<li><a href="{$U_LOGIN}" rel="nofollow">{'Login'|@translate}</a></li>
|
||||
{/if}
|
||||
{if isset($U_LOGOUT)}
|
||||
<li><a href="{$U_LOGOUT}">{'Logout'|@translate}</a></li>
|
||||
{/if}
|
||||
{if isset($U_PROFILE)}
|
||||
<li><a href="{$U_PROFILE}" title="{'customize the appareance of the gallery'|@translate}">{'Customize'|@translate}</a></li>
|
||||
{/if}
|
||||
{if isset($U_ADMIN)}
|
||||
<li><a href="{$U_ADMIN}" title="{'available for administrators only'|@translate}">{'Administration'|@translate}</a></li>
|
||||
{/if}
|
||||
</ul>
|
||||
{/strip}
|
||||
{if isset($U_LOGIN)}
|
||||
{strip}
|
||||
<form method="post" action="{$U_LOGIN}" id="quickconnect">
|
||||
<fieldset>
|
||||
<legend>{'Quick connect'|@translate}</legend>
|
||||
<div>
|
||||
<label for="username">{'Username'|@translate}</label><br>
|
||||
<input type="text" name="username" id="username" value="" style="width:99%">
|
||||
</div>
|
||||
|
||||
<div><label for="password">{'Password'|@translate}</label><br>
|
||||
<input type="password" name="password" id="password" style="width:99%">
|
||||
</div>
|
||||
|
||||
{if $AUTHORIZE_REMEMBERING}
|
||||
<div><label for="remember_me">
|
||||
<input type="checkbox" name="remember_me" id="remember_me" value="1"> {'Auto login'|@translate}
|
||||
</label></div>
|
||||
{/if}
|
||||
|
||||
<div>
|
||||
<input type="hidden" name="redirect" value="{$smarty.server.REQUEST_URI|@urlencode}">
|
||||
<input type="submit" name="login" value="{'Submit'|@translate}">
|
||||
<span class="categoryActions">
|
||||
{if isset($U_REGISTER)}
|
||||
<a href="{$U_REGISTER}" title="{'Create a new account'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
|
||||
<span class="pwg-icon pwg-icon-register"> </span>
|
||||
</a>
|
||||
{/if}
|
||||
<a href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}" class="pwg-state-default pwg-button">
|
||||
<span class="pwg-icon pwg-icon-lost-password"> </span>
|
||||
</a>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
</fieldset>
|
||||
</form>
|
||||
{/strip}
|
||||
{/if}
|
||||
</dd>
|
||||
12
zoesch.de/galerie/themes/default/template/menubar_links.tpl
Normal file
12
zoesch.de/galerie/themes/default/template/menubar_links.tpl
Normal file
@@ -0,0 +1,12 @@
|
||||
<dt>{'Links'|@translate}</dt>
|
||||
<dd>
|
||||
<ul>{strip}
|
||||
{foreach from=$block->data item=link}
|
||||
<li>
|
||||
<a href="{$link.URL}" class="external"{if isset($link.new_window)} onclick="window.open(this.href, '{$link.new_window.NAME}','{$link.new_window.FEATURES}'); return false;"{/if}>
|
||||
{$link.LABEL}
|
||||
</a>
|
||||
</li>
|
||||
{/foreach}
|
||||
{/strip}</ul>
|
||||
</dd>
|
||||
18
zoesch.de/galerie/themes/default/template/menubar_menu.tpl
Normal file
18
zoesch.de/galerie/themes/default/template/menubar_menu.tpl
Normal file
@@ -0,0 +1,18 @@
|
||||
<dt>{'Menu'|@translate}</dt>
|
||||
<dd>
|
||||
{if isset($block->data.qsearch) and $block->data.qsearch==true}
|
||||
<form action="{$ROOT_URL}qsearch.php" method="get" id="quicksearch" onsubmit="return this.q.value!='' && this.q.value!=qsearch_prompt;">
|
||||
<p style="margin:0;padding:0"{*this <p> is for html validation only - does not affect positioning*}>
|
||||
<input type="text" name="q" id="qsearchInput" onfocus="if (value==qsearch_prompt) value='';" onblur="if (value=='') value=qsearch_prompt;" style="width:90%"{if !empty($QUERY_SEARCH)} value="{$QUERY_SEARCH}"{/if}>
|
||||
</p>
|
||||
</form>
|
||||
<script type="text/javascript">var qsearch_prompt="{'Quick search'|@translate|@escape:'javascript'}";{if empty($QUERY_SEARCH)}document.getElementById('qsearchInput').value=qsearch_prompt;{/if}</script>
|
||||
{/if}
|
||||
<ul>{strip}
|
||||
{foreach from=$block->data item=link}
|
||||
{if is_array($link)}
|
||||
<li><a href="{$link.URL}" title="{$link.TITLE}"{if isset($link.REL)} {$link.REL}{/if}>{$link.NAME}</a>{if isset($link.COUNTER)} ({$link.COUNTER}){/if}</li>
|
||||
{/if}
|
||||
{/foreach}
|
||||
{/strip}</ul>
|
||||
</dd>
|
||||
@@ -0,0 +1,8 @@
|
||||
<dt>{'Specials'|@translate}</dt>
|
||||
<dd>
|
||||
<ul>{strip}
|
||||
{foreach from=$block->data item=link}
|
||||
<li><a href="{$link.URL}" title="{$link.TITLE}"{if isset($link.REL)} {$link.REL}{/if}>{$link.NAME}</a></li>
|
||||
{/foreach}
|
||||
{/strip}</ul>
|
||||
</dd>
|
||||
16
zoesch.de/galerie/themes/default/template/menubar_tags.tpl
Normal file
16
zoesch.de/galerie/themes/default/template/menubar_tags.tpl
Normal file
@@ -0,0 +1,16 @@
|
||||
<dt>{'Related tags'|@translate}</dt>
|
||||
<dd>
|
||||
<div id="menuTagCloud">
|
||||
{foreach from=$block->data item=tag}
|
||||
<span>{strip}
|
||||
<a class="tagLevel{$tag.level}" href=
|
||||
{if isset($tag.U_ADD)}
|
||||
"{$tag.U_ADD}" title="{$tag.counter|@translate_dec:'%d photo is also linked to current tags':'%d photos are also linked to current tags'}" rel="nofollow">+
|
||||
{else}
|
||||
"{$tag.URL}" title="{'display photos linked to this tag'|@translate}">
|
||||
{/if}
|
||||
{$tag.name}</a></span>{/strip}
|
||||
{* ABOVE there should be no space between text, </a> and </span> elements to avoid IE8 bug https://connect.microsoft.com/IE/feedback/ViewFeedback.aspx?FeedbackID=366567 *}
|
||||
{/foreach}
|
||||
</div>
|
||||
</dd>
|
||||
81
zoesch.de/galerie/themes/default/template/month_calendar.tpl
Normal file
81
zoesch.de/galerie/themes/default/template/month_calendar.tpl
Normal file
@@ -0,0 +1,81 @@
|
||||
{if !empty($chronology_navigation_bars)}
|
||||
{foreach from=$chronology_navigation_bars item=bar}
|
||||
<div class="calendarBar">
|
||||
{if isset($bar.previous)}
|
||||
<div style="float:left;margin-right:5px">« <a href="{$bar.previous.URL}">{$bar.previous.LABEL}</a></div>
|
||||
{/if}
|
||||
{if isset($bar.next)}
|
||||
<div style="float:right;margin-left:5px"><a href="{$bar.next.URL}">{$bar.next.LABEL}</a> »</div>
|
||||
{/if}
|
||||
{if empty($bar.items)}
|
||||
|
||||
{else}
|
||||
{foreach from=$bar.items item=item}
|
||||
{if !isset($item.URL)}
|
||||
<span class="calItem">{$item.LABEL}</span>
|
||||
{else}
|
||||
<a class="calItem"{if isset($item.NB_IMAGES)} title="{$item.NB_IMAGES|@translate_dec:'%d photo':'%d photos'}"{/if} href="{$item.URL}">{$item.LABEL}</a>
|
||||
{/if}
|
||||
{/foreach}
|
||||
{/if}
|
||||
</div>
|
||||
{/foreach}
|
||||
{/if}
|
||||
|
||||
{if !empty($chronology_calendar.calendar_bars)}
|
||||
{foreach from=$chronology_calendar.calendar_bars item=bar}
|
||||
<div class="calendarCalBar">
|
||||
<span class="calCalHead"><a href="{$bar.U_HEAD}">{$bar.HEAD_LABEL}</a> ({$bar.NB_IMAGES})</span><br>
|
||||
{foreach from=$bar.items item=item}
|
||||
<span class="calCal{if !isset($item.URL)}Empty{/if}">
|
||||
{if isset($item.URL)}
|
||||
<a href="{$item.URL}">{$item.LABEL}</a>
|
||||
{else}
|
||||
{$item.LABEL}
|
||||
{/if}
|
||||
{if isset($item.NB_IMAGES)}({$item.NB_IMAGES}){/if}
|
||||
</span>
|
||||
{/foreach}
|
||||
</div>
|
||||
{/foreach}
|
||||
{/if}
|
||||
|
||||
{if isset($chronology_calendar.month_view)}
|
||||
<table class="calMonth">
|
||||
<thead>
|
||||
<tr>
|
||||
{foreach from=$chronology_calendar.month_view.wday_labels item=wday}
|
||||
<th>{$wday}</th>
|
||||
{/foreach}
|
||||
</tr>
|
||||
</thead>
|
||||
{html_style}
|
||||
.calMonth TD, .calMonth .calImg{
|
||||
width:{$chronology_calendar.month_view.CELL_WIDTH}px;height:{$chronology_calendar.month_view.CELL_HEIGHT}px
|
||||
}
|
||||
{/html_style}
|
||||
{foreach from=$chronology_calendar.month_view.weeks item=week}
|
||||
<tr>
|
||||
{foreach from=$week item=day}
|
||||
{if !empty($day)}
|
||||
{if isset($day.IMAGE)}
|
||||
<td class="calDayCellFull">
|
||||
<div class="calBackDate">{$day.DAY}</div><div class="calForeDate">{$day.DAY}</div>
|
||||
<div class="calImg">
|
||||
<a href="{$day.U_IMG_LINK}">
|
||||
<img src="{$day.IMAGE}" alt="{$day.IMAGE_ALT}" title="{$day.NB_ELEMENTS|@translate_dec:'%d photo':'%d photos'}">
|
||||
</a>
|
||||
</div>
|
||||
{else}
|
||||
<td class="calDayCellEmpty">{$day.DAY}
|
||||
{/if}
|
||||
{else}{*blank cell first or last row only*}
|
||||
<td>
|
||||
{/if}
|
||||
</td>
|
||||
{/foreach}{*day in week*}
|
||||
</tr>
|
||||
{/foreach}{*week in month*}
|
||||
</table>
|
||||
{/if}
|
||||
|
||||
28
zoesch.de/galerie/themes/default/template/navigation_bar.tpl
Normal file
28
zoesch.de/galerie/themes/default/template/navigation_bar.tpl
Normal file
@@ -0,0 +1,28 @@
|
||||
<div class="navigationBar">
|
||||
{if isset($navbar.URL_FIRST)}
|
||||
<span class="navFirstLast"><a href="{$navbar.URL_FIRST}" rel="first">{'First'|@translate}</a> |</span>
|
||||
<span class="navPrevNext"><a href="{$navbar.URL_PREV}" rel="prev">{'Previous'|@translate}</a> |</span>
|
||||
{else}
|
||||
<span class="navFirstLast">{'First'|@translate} |</span>
|
||||
<span class="navPrevNext">{'Previous'|@translate} |</span>
|
||||
{/if}
|
||||
|
||||
{assign var='prev_page' value=0}
|
||||
{foreach from=$navbar.pages key=page item=url}
|
||||
{if $page > $prev_page+1}...{/if}
|
||||
{if $page == $navbar.CURRENT_PAGE}
|
||||
<span class="pageNumberSelected">{$page}</span>
|
||||
{else}
|
||||
<a href="{$url}">{$page}</a>
|
||||
{/if}
|
||||
{assign var='prev_page' value=$page}
|
||||
{/foreach}
|
||||
|
||||
{if isset($navbar.URL_NEXT)}
|
||||
<span class="navPrevNext">| <a href="{$navbar.URL_NEXT}" rel="next">{'Next'|@translate}</a></span>
|
||||
<span class="navFirstLast">| <a href="{$navbar.URL_LAST}" rel="last">{'Last'|@translate}</a></span>
|
||||
{else}
|
||||
<span class="navPrevNext">| {'Next'|@translate}</span>
|
||||
<span class="navFirstLast">| {'Last'|@translate}</span>
|
||||
{/if}
|
||||
</div>
|
||||
11
zoesch.de/galerie/themes/default/template/nbm.tpl
Normal file
11
zoesch.de/galerie/themes/default/template/nbm.tpl
Normal file
@@ -0,0 +1,11 @@
|
||||
{if isset($MENUBAR)}{$MENUBAR}{/if}
|
||||
<div id="content" class="content">
|
||||
<div class="titrePage">
|
||||
<ul class="categoryActions">
|
||||
</ul>
|
||||
<h2><a href="{$U_HOME}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{'Notification'|@translate}</h2>
|
||||
</div>
|
||||
|
||||
{include file='infos_errors.tpl'}
|
||||
|
||||
</div>
|
||||
154
zoesch.de/galerie/themes/default/template/no_photo_yet.tpl
Normal file
154
zoesch.de/galerie/themes/default/template/no_photo_yet.tpl
Normal file
@@ -0,0 +1,154 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<link rel="stylesheet" type="text/css" href="themes/default/theme.css">
|
||||
<title>Piwigo, {'Welcome'|@translate}</title>
|
||||
{literal}
|
||||
<style type="text/css">
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background-color:#f9f9f9;
|
||||
}
|
||||
|
||||
P {text-align:center;}
|
||||
TD {color:#888; letter-spacing:1px;}
|
||||
|
||||
#global {
|
||||
position:absolute;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
width: 700px;
|
||||
height: 400px;
|
||||
margin-top: -200px; /* height half */
|
||||
margin-left: -350px; /* width half */
|
||||
|
||||
background-color: #f1f1f1;
|
||||
border:2px solid #dddddd;
|
||||
}
|
||||
|
||||
#noPhotoWelcome {font-size:25px; color:#555;text-align:center; letter-spacing:1px; margin-top:30px;}
|
||||
.bigButton {}
|
||||
|
||||
.bigButton {text-align:center; margin-top:120px;}
|
||||
|
||||
.bigButton a {
|
||||
background-color:#666;
|
||||
padding:10px;
|
||||
text-decoration:none;
|
||||
margin:0px 5px 0px 5px;
|
||||
-moz-border-radius:6px;
|
||||
-webkit-border-radius:6px;
|
||||
color:#fff;
|
||||
font-size:25px;
|
||||
letter-spacing:2px;
|
||||
padding:20px;
|
||||
}
|
||||
|
||||
.bigButton a:hover {
|
||||
background-color:#ff7700;
|
||||
outline:none;
|
||||
color:#fff;
|
||||
border:none;
|
||||
}
|
||||
|
||||
#deactivate {
|
||||
position:absolute;
|
||||
bottom:10px;
|
||||
text-align:center;
|
||||
width:100%;
|
||||
|
||||
font-style:normal;
|
||||
font-size:1.0em;
|
||||
}
|
||||
|
||||
.submit {font-size:1.0em; letter-spacing:2px; font-weight:normal;}
|
||||
|
||||
#deactivate A {
|
||||
text-decoration:none;
|
||||
border:none;
|
||||
color:#f70;
|
||||
}
|
||||
|
||||
#deactivate A:hover {
|
||||
border-bottom:1px dotted #f70;
|
||||
}
|
||||
|
||||
#quickconnect {
|
||||
margin:0 auto;
|
||||
margin-top:60px;
|
||||
width:300px;
|
||||
color:#555;
|
||||
font-size:14px;
|
||||
letter-spacing:1px;
|
||||
}
|
||||
|
||||
#quickconnect input[type="text"], #quickconnect input[type="password"] {
|
||||
width:300px;
|
||||
color:#555;
|
||||
font-size:20px;
|
||||
margin-top:3px;
|
||||
background-color:#ddd;
|
||||
border:2px solid #ccc;
|
||||
-moz-border-radius:5px;
|
||||
padding:2px;
|
||||
|
||||
}
|
||||
|
||||
#quickconnect input[type="text"]:focus, #quickconnect input[type="password"]:focus {
|
||||
background-color:#fff;
|
||||
border:2px solid #ff7700;
|
||||
}
|
||||
|
||||
#quickconnect input[type="submit"] {
|
||||
font-size:14px;
|
||||
font-weight:bold;
|
||||
letter-spacing:2px;
|
||||
border:none;
|
||||
background-color:#666666;
|
||||
color:#fff;
|
||||
padding:5px;
|
||||
-moz-border-radius:5px;
|
||||
}
|
||||
|
||||
#quickconnect input[type="submit"]:hover {
|
||||
background-color:#ff7700;
|
||||
color:white;
|
||||
}
|
||||
</style>
|
||||
{/literal}
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="global">
|
||||
|
||||
{if $step == 1}
|
||||
<p id="noPhotoWelcome">{'Welcome to your Piwigo photo gallery!'|@translate}</p>
|
||||
|
||||
<form method="post" action="{$U_LOGIN}" id="quickconnect">
|
||||
{'Username'|@translate}
|
||||
<br><input type="text" name="username">
|
||||
<br>
|
||||
<br>{'Password'|@translate}
|
||||
<br><input type="password" name="password">
|
||||
|
||||
<p><input class="submit" type="submit" name="login" value="{'Login'|@translate}"></p>
|
||||
|
||||
</form>
|
||||
<div id="deactivate"><a href="{$deactivate_url}">{'... or browse your empty gallery'|@translate}</a></div>
|
||||
|
||||
|
||||
{else}
|
||||
<p id="noPhotoWelcome">{$intro}</p>
|
||||
<div class="bigButton"><a href="{$next_step_url}">{'I want to add photos'|@translate}</a></div>
|
||||
<div id="deactivate"><a href="{$deactivate_url}">{'... or please deactivate this message, I will find my way by myself'|@translate}</a></div>
|
||||
{/if}
|
||||
|
||||
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
29
zoesch.de/galerie/themes/default/template/notification.tpl
Normal file
29
zoesch.de/galerie/themes/default/template/notification.tpl
Normal file
@@ -0,0 +1,29 @@
|
||||
{html_head}
|
||||
<link rel="alternate" type="application/rss+xml" title="{'Photos only RSS feed'|@translate}" href="{$U_FEED_IMAGE_ONLY}">
|
||||
<link rel="alternate" type="application/rss+xml" title="{'Complete RSS feed (photos, comments)'|@translate}" href="{$U_FEED}">
|
||||
{/html_head}
|
||||
|
||||
{if isset($MENUBAR)}{$MENUBAR}{/if}
|
||||
<div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}">
|
||||
|
||||
<div class="titrePage">
|
||||
<ul class="categoryActions">
|
||||
</ul>
|
||||
<h2><a href="{$U_HOME}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{'Notification'|@translate}</h2>
|
||||
</div>
|
||||
|
||||
{include file='infos_errors.tpl'}
|
||||
|
||||
<div class="notification">
|
||||
<p>{'The RSS notification feed provides notification on news from this website : new photos, updated albums, new comments. Use a RSS feed reader.'|@translate}</p>
|
||||
|
||||
<dl>
|
||||
<dt>
|
||||
<a href="{$U_FEED_IMAGE_ONLY}">{'Photos only RSS feed'|@translate}</a><br><br>
|
||||
</dt>
|
||||
<dt>
|
||||
<a href="{$U_FEED}">{'Complete RSS feed (photos, comments)'|@translate}</a>
|
||||
</dt>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
64
zoesch.de/galerie/themes/default/template/password.tpl
Normal file
64
zoesch.de/galerie/themes/default/template/password.tpl
Normal file
@@ -0,0 +1,64 @@
|
||||
{if isset($MENUBAR)}{$MENUBAR}{/if}
|
||||
<div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}">
|
||||
<div class="titrePage">
|
||||
<ul class="categoryActions">
|
||||
</ul>
|
||||
|
||||
<h2><a href="{$U_HOME}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{$title}</h2>
|
||||
</div>
|
||||
|
||||
{include file='infos_errors.tpl'}
|
||||
|
||||
{if $action ne 'none'}
|
||||
<form id="lostPassword" action="{$form_action}?action={$action}{if isset($key)}&key={$key}{/if}" method="post">
|
||||
<fieldset>
|
||||
<legend>{'Forgot your password?'|translate}</legend>
|
||||
<input type="hidden" name="pwg_token" value="{$PWG_TOKEN}">
|
||||
|
||||
{if $action eq 'lost'}
|
||||
<div class="message">{'Please enter your username or email address.'|@translate} {'You will receive a link to create a new password via email.'|@translate}</div>
|
||||
|
||||
<p>
|
||||
<label>
|
||||
{'Username or email'|@translate}
|
||||
<br>
|
||||
<input type="text" id="username_or_email" name="username_or_email" size="40" maxlength="40"{if isset($username_or_email)} value="{$username_or_email}"{/if}>
|
||||
</label>
|
||||
</p>
|
||||
|
||||
<p class="bottomButtons"><input type="submit" name="submit" value="{'Change my password'|@translate}"></p>
|
||||
{elseif $action eq 'reset'}
|
||||
|
||||
<div class="message">{'Hello'|@translate} <em>{$username}</em>. {'Enter your new password below.'|@translate}</div>
|
||||
|
||||
<p>
|
||||
<label>
|
||||
{'New password'|@translate}
|
||||
<br>
|
||||
<input type="password" name="use_new_pwd" id="use_new_pwd" value="">
|
||||
</label>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<label>
|
||||
{'Confirm Password'|@translate}
|
||||
<br>
|
||||
<input type="password" name="passwordConf" id="passwordConf" value="">
|
||||
</label>
|
||||
</p>
|
||||
</fieldset>
|
||||
<p class="bottomButtons"><input type="submit" name="submit" value="{'Submit'|@translate}"></p>
|
||||
{/if}
|
||||
|
||||
</form>
|
||||
{/if} {* $action ne 'none' *}
|
||||
|
||||
<script type="text/javascript">
|
||||
{if $action eq 'lost'}
|
||||
{literal}try{document.getElementById('username_or_email').focus();}catch(e){}{/literal}
|
||||
{elseif $action eq 'reset'}
|
||||
{literal}try{document.getElementById('use_new_pwd').focus();}catch(e){}{/literal}
|
||||
{/if}
|
||||
</script>
|
||||
|
||||
</div> <!-- content -->
|
||||
394
zoesch.de/galerie/themes/default/template/picture.tpl
Normal file
394
zoesch.de/galerie/themes/default/template/picture.tpl
Normal file
@@ -0,0 +1,394 @@
|
||||
{combine_script id='core.switchbox' load='async' require='jquery' path='themes/default/js/switchbox.js'}
|
||||
{if isset($MENUBAR)}{$MENUBAR}{/if}
|
||||
<div id="content"{if isset($MENUBAR)} class="contentWithMenu"{/if}>
|
||||
|
||||
{if isset($errors) or not empty($infos)}
|
||||
{include file='infos_errors.tpl'}
|
||||
{/if}
|
||||
|
||||
{if !empty($PLUGIN_PICTURE_BEFORE)}{$PLUGIN_PICTURE_BEFORE}{/if}
|
||||
|
||||
<div id="imageHeaderBar">
|
||||
<div class="browsePath">
|
||||
{$SECTION_TITLE}<span class="browsePathSeparator">{$LEVEL_SEPARATOR}</span><h2>{$current.TITLE}</h2>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="imageToolBar">
|
||||
<div class="imageNumber">{$PHOTO}</div>
|
||||
{include file='picture_nav_buttons.tpl'|@get_extent:'picture_nav_buttons'}
|
||||
|
||||
<div class="actionButtons">
|
||||
{if isset($current.unique_derivatives) && count($current.unique_derivatives)>1}
|
||||
{footer_script require='jquery'}{literal}
|
||||
function changeImgSrc(url,typeSave,typeMap)
|
||||
{
|
||||
var theImg = document.getElementById("theMainImage");
|
||||
if (theImg)
|
||||
{
|
||||
theImg.removeAttribute("width");theImg.removeAttribute("height");
|
||||
theImg.src = url;
|
||||
theImg.useMap = "#map"+typeMap;
|
||||
}
|
||||
jQuery('#derivativeSwitchBox .switchCheck').css('visibility','hidden');
|
||||
jQuery('#derivativeChecked'+typeMap).css('visibility','visible');
|
||||
document.cookie = 'picture_deriv='+typeSave+';path={/literal}{$COOKIE_PATH}{literal}';
|
||||
}
|
||||
(window.SwitchBox=window.SwitchBox||[]).push("#derivativeSwitchLink", "#derivativeSwitchBox");
|
||||
{/literal}{/footer_script}
|
||||
{strip}<a id="derivativeSwitchLink" title="{'Photo sizes'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
|
||||
<span class="pwg-icon pwg-icon-sizes"></span><span class="pwg-button-text">{'Photo sizes'|@translate}</span>
|
||||
</a>
|
||||
<div id="derivativeSwitchBox" class="switchBox">
|
||||
<div class="switchBoxTitle">{'Photo sizes'|@translate}</div>
|
||||
{foreach from=$current.unique_derivatives item=derivative key=derivative_type}
|
||||
<span class="switchCheck" id="derivativeChecked{$derivative->get_type()}"{if $derivative->get_type() ne $current.selected_derivative->get_type()} style="visibility:hidden"{/if}>✔ </span>
|
||||
<a href="javascript:changeImgSrc('{$derivative->get_url()|@escape:javascript}','{$derivative_type}','{$derivative->get_type()}')">
|
||||
{$derivative->get_type()|@translate}<span class="derivativeSizeDetails"> ({$derivative->get_size_hr()})</span>
|
||||
</a><br>
|
||||
{/foreach}
|
||||
{if isset($U_ORIGINAL)}
|
||||
{combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'}
|
||||
<a href="javascript:phpWGOpenWindow('{$U_ORIGINAL}','xxx','scrollbars=yes,toolbar=no,status=no,resizable=yes')" rel="nofollow">{'Original'|@translate}</a>
|
||||
{/if}
|
||||
</div>
|
||||
{/strip}
|
||||
{/if}
|
||||
{strip}{if isset($U_SLIDESHOW_START)}
|
||||
<a href="{$U_SLIDESHOW_START}" title="{'slideshow'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
|
||||
<span class="pwg-icon pwg-icon-slideshow"></span><span class="pwg-button-text">{'slideshow'|@translate}</span>
|
||||
</a>
|
||||
{/if}{/strip}
|
||||
{strip}{if isset($U_METADATA)}
|
||||
<a href="{$U_METADATA}" title="{'Show file metadata'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
|
||||
<span class="pwg-icon pwg-icon-camera-info"></span><span class="pwg-button-text">{'Show file metadata'|@translate}</span>
|
||||
</a>
|
||||
{/if}{/strip}
|
||||
{strip}{if isset($current.U_DOWNLOAD)}
|
||||
<a id="downloadSwitchLink" href="{$current.U_DOWNLOAD}" title="{'Download this file'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
|
||||
<span class="pwg-icon pwg-icon-save"></span><span class="pwg-button-text">{'Download'|@translate}</span>
|
||||
</a>
|
||||
|
||||
{if !empty($current.formats)}
|
||||
{footer_script require='jquery'}{literal}
|
||||
jQuery().ready(function() {
|
||||
jQuery("#downloadSwitchLink").removeAttr("href");
|
||||
|
||||
(window.SwitchBox=window.SwitchBox||[]).push("#downloadSwitchLink", "#downloadSwitchBox");
|
||||
});
|
||||
{/literal}{/footer_script}
|
||||
|
||||
<div id="downloadSwitchBox" class="switchBox">
|
||||
<div class="switchBoxTitle">{'Download'|translate} - {'Formats'|translate}</div>
|
||||
<ul>
|
||||
{foreach from=$current.formats item=format}
|
||||
<li><a href="{$format.download_url}" rel="nofollow">{$format.label}<span class="downloadformatDetails"> ({$format.filesize})</span></a></li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
{/if} {* has formats *}
|
||||
{/if}{/strip}
|
||||
{if isset($PLUGIN_PICTURE_BUTTONS)}{foreach from=$PLUGIN_PICTURE_BUTTONS item=button}{$button}{/foreach}{/if}
|
||||
{if isset($PLUGIN_PICTURE_ACTIONS)}{$PLUGIN_PICTURE_ACTIONS}{/if}
|
||||
{strip}{if isset($favorite)}
|
||||
<a href="{$favorite.U_FAVORITE}" title="{if $favorite.IS_FAVORITE}{'delete this photo from your favorites'|@translate}{else}{'add this photo to your favorites'|@translate}{/if}" class="pwg-state-default pwg-button" rel="nofollow">
|
||||
<span class="pwg-icon pwg-icon-favorite-{if $favorite.IS_FAVORITE}del{else}add{/if}"></span><span class="pwg-button-text">{'Favorites'|@translate}</span>
|
||||
</a>
|
||||
{/if}{/strip}
|
||||
{strip}{if isset($U_SET_AS_REPRESENTATIVE)}
|
||||
<a id="cmdSetRepresentative" href="{$U_SET_AS_REPRESENTATIVE}" title="{'set as album representative'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
|
||||
<span class="pwg-icon pwg-icon-representative"></span><span class="pwg-button-text">{'representative'|@translate}</span>
|
||||
</a>
|
||||
{/if}{/strip}
|
||||
{strip}{if isset($U_PHOTO_ADMIN)}
|
||||
<a id="cmdEditPhoto" href="{$U_PHOTO_ADMIN}" title="{'Edit photo'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
|
||||
<span class="pwg-icon pwg-icon-edit"></span><span class="pwg-button-text">{'Edit'|@translate}</span>
|
||||
</a>
|
||||
{/if}{/strip}
|
||||
{strip}{if isset($U_CADDIE)}{*caddie management BEGIN*}
|
||||
{footer_script}
|
||||
{literal}function addToCadie(aElement, rootUrl, id)
|
||||
{
|
||||
if (aElement.disabled) return;
|
||||
aElement.disabled=true;
|
||||
var y = new PwgWS(rootUrl);
|
||||
y.callService(
|
||||
"pwg.caddie.add", {image_id: id} ,
|
||||
{
|
||||
onFailure: function(num, text) { alert(num + " " + text); document.location=aElement.href; },
|
||||
onSuccess: function(result) { aElement.disabled = false; }
|
||||
}
|
||||
);
|
||||
}{/literal}
|
||||
{/footer_script}
|
||||
<a href="{$U_CADDIE}" onclick="addToCadie(this, '{$ROOT_URL}', {$current.id}); return false;" title="{'Add to caddie'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
|
||||
<span class="pwg-icon pwg-icon-caddie-add"> </span><span class="pwg-button-text">{'Caddie'|@translate}</span>
|
||||
</a>
|
||||
{/if}{/strip}{*caddie management END*}
|
||||
</div>
|
||||
</div>{*<!-- imageToolBar -->*}
|
||||
|
||||
<div id="theImageAndInfos">
|
||||
<div id="theImage">
|
||||
{$ELEMENT_CONTENT}
|
||||
|
||||
{if isset($COMMENT_IMG)}
|
||||
<p class="imageComment">{$COMMENT_IMG}</p>
|
||||
{/if}
|
||||
{if isset($U_SLIDESHOW_STOP)}
|
||||
<p>
|
||||
[ <a href="{$U_SLIDESHOW_STOP}">{'stop the slideshow'|@translate}</a> ]
|
||||
</p>
|
||||
{/if}
|
||||
|
||||
</div>{*<!-- no significant white space for elegant-->
|
||||
*}<div id="infoSwitcher"></div>{*<!-- no significant white space for elegant-->
|
||||
*}<div id="imageInfos">
|
||||
{if $DISPLAY_NAV_THUMB}
|
||||
<div class="navThumbs">
|
||||
{if isset($previous)}
|
||||
<a class="navThumb" id="linkPrev" href="{$previous.U_IMG}" title="{'Previous'|@translate} : {$previous.TITLE_ESC}" rel="prev">
|
||||
<span class="thumbHover prevThumbHover"></span>
|
||||
<img src="{$previous.derivatives.square->get_url()}" alt="{$previous.TITLE_ESC}">
|
||||
</a>
|
||||
{elseif isset($U_UP)}
|
||||
<a class="navThumb" id="linkPrev" href="{$U_UP}" title="{'Thumbnails'|@translate}">
|
||||
<div class="thumbHover">{'First Page'|@translate}<br><br>{'Go back to the album'|@translate}</div>
|
||||
</a>
|
||||
{/if}
|
||||
{if isset($next)}
|
||||
<a class="navThumb" id="linkNext" href="{$next.U_IMG}" title="{'Next'|@translate} : {$next.TITLE_ESC}" rel="next">
|
||||
<span class="thumbHover nextThumbHover"></span>
|
||||
<img src="{$next.derivatives.square->get_url()}" alt="{$next.TITLE_ESC}">
|
||||
</a>
|
||||
{elseif isset($U_UP)}
|
||||
<a class="navThumb" id="linkNext" href="{$U_UP}" title="{'Thumbnails'|@translate}">
|
||||
<div class="thumbHover">{'Last Page'|@translate}<br><br>{'Go back to the album'|@translate}</div>
|
||||
</a>
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<dl id="standard" class="imageInfoTable">
|
||||
{strip}
|
||||
{if $display_info.author and isset($INFO_AUTHOR)}
|
||||
<div id="Author" class="imageInfo">
|
||||
<dt>{'Author'|@translate}</dt>
|
||||
<dd>{$INFO_AUTHOR}</dd>
|
||||
</div>
|
||||
{/if}
|
||||
{if $display_info.created_on and isset($INFO_CREATION_DATE)}
|
||||
<div id="datecreate" class="imageInfo">
|
||||
<dt>{'Created on'|@translate}</dt>
|
||||
<dd>{$INFO_CREATION_DATE}</dd>
|
||||
</div>
|
||||
{/if}
|
||||
{if $display_info.posted_on}
|
||||
<div id="datepost" class="imageInfo">
|
||||
<dt>{'Posted on'|@translate}</dt>
|
||||
<dd>{$INFO_POSTED_DATE}</dd>
|
||||
</div>
|
||||
{/if}
|
||||
{if $display_info.dimensions and isset($INFO_DIMENSIONS)}
|
||||
<div id="Dimensions" class="imageInfo">
|
||||
<dt>{'Dimensions'|@translate}</dt>
|
||||
<dd>{$INFO_DIMENSIONS}</dd>
|
||||
</div>
|
||||
{/if}
|
||||
{if $display_info.file}
|
||||
<div id="File" class="imageInfo">
|
||||
<dt>{'File'|@translate}</dt>
|
||||
<dd>{$INFO_FILE}</dd>
|
||||
</div>
|
||||
{/if}
|
||||
{if $display_info.filesize and isset($INFO_FILESIZE)}
|
||||
<div id="Filesize" class="imageInfo">
|
||||
<dt>{'Filesize'|@translate}</dt>
|
||||
<dd>{$INFO_FILESIZE}</dd>
|
||||
</div>
|
||||
{/if}
|
||||
{if $display_info.tags and isset($related_tags)}
|
||||
<div id="Tags" class="imageInfo">
|
||||
<dt>{'Tags'|@translate}</dt>
|
||||
<dd>
|
||||
{foreach from=$related_tags item=tag name=tag_loop}{if !$smarty.foreach.tag_loop.first}, {/if}<a href="{$tag.URL}">{$tag.name}</a>{/foreach}
|
||||
</dd>
|
||||
</div>
|
||||
{/if}
|
||||
{if $display_info.categories and isset($related_categories)}
|
||||
<div id="Categories" class="imageInfo">
|
||||
<dt>{'Albums'|@translate}</dt>
|
||||
<dd>
|
||||
<ul>
|
||||
{foreach from=$related_categories item=cat}
|
||||
<li>{$cat}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</dd>
|
||||
</div>
|
||||
{/if}
|
||||
{if $display_info.visits}
|
||||
<div id="Visits" class="imageInfo">
|
||||
<dt>{'Visits'|@translate}</dt>
|
||||
<dd>{$INFO_VISITS}</dd>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $display_info.rating_score and isset($rate_summary)}
|
||||
<div id="Average" class="imageInfo">
|
||||
<dt>{'Rating score'|@translate}</dt>
|
||||
<dd>
|
||||
{if $rate_summary.count}
|
||||
<span id="ratingScore">{$rate_summary.score}</span> <span id="ratingCount">({$rate_summary.count|@translate_dec:'%d rate':'%d rates'})</span>
|
||||
{else}
|
||||
<span id="ratingScore">{'no rate'|@translate}</span> <span id="ratingCount"></span>
|
||||
{/if}
|
||||
</dd>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if isset($rating)}
|
||||
<div id="rating" class="imageInfo">
|
||||
<dt>
|
||||
<span id="updateRate">{if isset($rating.USER_RATE)}{'Update your rating'|@translate}{else}{'Rate this photo'|@translate}{/if}</span>
|
||||
</dt>
|
||||
<dd>
|
||||
<form action="{$rating.F_ACTION}" method="post" id="rateForm" style="margin:0;">
|
||||
<div>
|
||||
{foreach from=$rating.marks item=mark name=rate_loop}
|
||||
{if isset($rating.USER_RATE) && $mark==$rating.USER_RATE}
|
||||
<input type="button" name="rate" value="{$mark}" class="rateButtonSelected" title="{$mark}">
|
||||
{else}
|
||||
<input type="submit" name="rate" value="{$mark}" class="rateButton" title="{$mark}">
|
||||
{/if}
|
||||
{/foreach}
|
||||
{strip}{combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'}
|
||||
{combine_script id='rating' load='async' require='core.scripts' path='themes/default/js/rating.js'}
|
||||
{footer_script}
|
||||
var _pwgRatingAutoQueue = _pwgRatingAutoQueue||[];
|
||||
_pwgRatingAutoQueue.push( {ldelim}rootUrl: '{$ROOT_URL}', image_id: {$current.id},
|
||||
onSuccess : function(rating) {ldelim}
|
||||
var e = document.getElementById("updateRate");
|
||||
if (e) e.innerHTML = "{'Update your rating'|@translate|@escape:'javascript'}";
|
||||
e = document.getElementById("ratingScore");
|
||||
if (e) e.innerHTML = rating.score;
|
||||
e = document.getElementById("ratingCount");
|
||||
if (e) {ldelim}
|
||||
if (rating.count == 1) {ldelim}
|
||||
e.innerHTML = "({'%d rate'|@translate|@escape:'javascript'})".replace( "%d", rating.count);
|
||||
} else {ldelim}
|
||||
e.innerHTML = "({'%d rates'|@translate|@escape:'javascript'})".replace( "%d", rating.count);
|
||||
}
|
||||
{rdelim}
|
||||
{rdelim}{rdelim} );
|
||||
{/footer_script}
|
||||
{/strip}
|
||||
</div>
|
||||
</form>
|
||||
</dd>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $display_info.privacy_level and isset($available_permission_levels)}
|
||||
<div id="Privacy" class="imageInfo">
|
||||
<dt>{'Who can see this photo?'|@translate}</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a id="privacyLevelLink" href>{$available_permission_levels[$current.level]}</a>
|
||||
</div>
|
||||
{combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'}
|
||||
{footer_script require='jquery'}{strip}
|
||||
function setPrivacyLevel(id, level){
|
||||
(new PwgWS('{$ROOT_URL}')).callService(
|
||||
"pwg.images.setPrivacyLevel", { image_id:id, level:level},
|
||||
{
|
||||
method: "POST",
|
||||
onFailure: function(num, text) { alert(num + " " + text); },
|
||||
onSuccess: function(result) {
|
||||
jQuery('#privacyLevelBox .switchCheck').css('visibility','hidden');
|
||||
jQuery('#switchLevel'+level).prev('.switchCheck').css('visibility','visible');
|
||||
jQuery('#privacyLevelLink').text(jQuery('#switchLevel'+level).text());
|
||||
}
|
||||
}
|
||||
);
|
||||
}
|
||||
(window.SwitchBox=window.SwitchBox||[]).push("#privacyLevelLink", "#privacyLevelBox");
|
||||
{/strip}{/footer_script}
|
||||
<div id="privacyLevelBox" class="switchBox" style="display:none">
|
||||
{foreach from=$available_permission_levels item=label key=level}
|
||||
<span class="switchCheck"{if $level != $current.level} style="visibility:hidden"{/if}>✔ </span>
|
||||
<a id="switchLevel{$level}" href="javascript:setPrivacyLevel({$current.id},{$level})">{$label}</a><br>
|
||||
{/foreach}
|
||||
</div>
|
||||
</dd>
|
||||
</div>
|
||||
{/if}
|
||||
{/strip}
|
||||
</dl>
|
||||
|
||||
{if isset($metadata)}
|
||||
<dl id="Metadata" class="imageInfoTable">
|
||||
{foreach from=$metadata item=meta}
|
||||
<h3>{$meta.TITLE}</h3>
|
||||
{foreach from=$meta.lines item=value key=label}
|
||||
<div class="imageInfo">
|
||||
<dt>{$label}</dt>
|
||||
<dd>{$value}</dd>
|
||||
</div>
|
||||
{/foreach}
|
||||
{/foreach}
|
||||
</dl>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{if isset($COMMENT_COUNT)}
|
||||
<div id="comments" {if (!isset($comment_add) && ($COMMENT_COUNT == 0))}class="noCommentContent"{else}class="commentContent"{/if}><div id="commentsSwitcher"></div>
|
||||
<h3>{$COMMENT_COUNT|@translate_dec:'%d comment':'%d comments'}</h3>
|
||||
|
||||
<div id="pictureComments">
|
||||
{if isset($comment_add)}
|
||||
<div id="commentAdd">
|
||||
<h4>{'Add a comment'|@translate}</h4>
|
||||
<form method="post" action="{$comment_add.F_ACTION}" id="addComment">
|
||||
{if $comment_add.SHOW_AUTHOR}
|
||||
<p><label for="author">{'Author'|@translate}{if $comment_add.AUTHOR_MANDATORY} ({'mandatory'|@translate}){/if} :</label></p>
|
||||
<p><input type="text" name="author" id="author" value="{$comment_add.AUTHOR}"></p>
|
||||
{/if}
|
||||
{if $comment_add.SHOW_EMAIL}
|
||||
<p><label for="email">{'Email address'|@translate}{if $comment_add.EMAIL_MANDATORY} ({'mandatory'|@translate}){/if} :</label></p>
|
||||
<p><input type="text" name="email" id="email" value="{$comment_add.EMAIL}"></p>
|
||||
{/if}
|
||||
{if $comment_add.SHOW_WEBSITE}
|
||||
<p><label for="website_url">{'Website'|@translate} :</label></p>
|
||||
<p><input type="text" name="website_url" id="website_url" value="{$comment_add.WEBSITE_URL}"></p>
|
||||
{/if}
|
||||
<p><label for="contentid">{'Comment'|@translate} ({'mandatory'|@translate}) :</label></p>
|
||||
<p><textarea name="content" id="contentid" rows="5" cols="50">{$comment_add.CONTENT}</textarea></p>
|
||||
<p><input type="hidden" name="key" value="{$comment_add.KEY}">
|
||||
<input type="submit" value="{'Submit'|@translate}"></p>
|
||||
</form>
|
||||
</div>
|
||||
{/if}
|
||||
{if isset($comments)}
|
||||
<div id="pictureCommentList">
|
||||
{if (($COMMENT_COUNT > 2) || !empty($navbar))}
|
||||
<div id="pictureCommentNavBar">
|
||||
{if $COMMENT_COUNT > 2}
|
||||
<a href="{$COMMENTS_ORDER_URL}#comments" rel="nofollow" class="commentsOrder">{$COMMENTS_ORDER_TITLE}</a>
|
||||
{/if}
|
||||
{if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}
|
||||
</div>
|
||||
{/if}
|
||||
{include file='comment_list.tpl'}
|
||||
</div>
|
||||
{/if}
|
||||
<div style="clear:both"></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
{/if}{*comments*}
|
||||
|
||||
{if !empty($PLUGIN_PICTURE_AFTER)}{$PLUGIN_PICTURE_AFTER}{/if}
|
||||
|
||||
</div>
|
||||
@@ -0,0 +1,20 @@
|
||||
{if !$current.selected_derivative->is_cached()}
|
||||
{combine_script id='jquery.ajaxmanager' path='themes/default/js/plugins/jquery.ajaxmanager.js' load='footer'}
|
||||
{combine_script id='thumbnails.loader' path='themes/default/js/thumbnails.loader.js' require='jquery.ajaxmanager' load='footer'}
|
||||
{footer_script}var error_icon = "{$ROOT_URL}{$themeconf.icon_dir}/errors_small.png"{/footer_script}
|
||||
{/if}
|
||||
|
||||
<img {if $current.selected_derivative->is_cached()}src="{$current.selected_derivative->get_url()}" {$current.selected_derivative->get_size_htm()}{else}src="{$ROOT_URL}{$themeconf.img_dir}/ajax_loader.gif" data-src="{$current.selected_derivative->get_url()}"{/if} alt="{$ALT_IMG}" id="theMainImage" usemap="#map{$current.selected_derivative->get_type()}" title="{if isset($COMMENT_IMG)}{$COMMENT_IMG|@strip_tags:false|@replace:'"':' '}{else}{$current.TITLE_ESC} - {$ALT_IMG}{/if}">
|
||||
|
||||
{foreach from=$current.unique_derivatives item=derivative key=derivative_type}{strip}
|
||||
<map name="map{$derivative->get_type()}">
|
||||
{assign var='size' value=$derivative->get_size()}
|
||||
{if isset($previous)}
|
||||
<area shape=rect coords="0,0,{($size[0]/4)|@intval},{$size[1]}" href="{$previous.U_IMG}" title="{'Previous'|@translate} : {$previous.TITLE_ESC}" alt="{$previous.TITLE_ESC}">
|
||||
{/if}
|
||||
<area shape=rect coords="{($size[0]/4)|@intval},0,{($size[0]/1.34)|@intval},{($size[1]/4)|@intval}" href="{$U_UP}" title="{'Thumbnails'|@translate}" alt="{'Thumbnails'|@translate}">
|
||||
{if isset($next)}
|
||||
<area shape=rect coords="{($size[0]/1.33)|@intval},0,{$size[0]},{$size[1]}" href="{$next.U_IMG}" title="{'Next'|@translate} : {$next.TITLE_ESC}" alt="{$next.TITLE_ESC}">
|
||||
{/if}
|
||||
</map>
|
||||
{/strip}{/foreach}
|
||||
@@ -0,0 +1,121 @@
|
||||
<div class="navigationButtons">
|
||||
{if $DISPLAY_NAV_BUTTONS or isset($slideshow)}
|
||||
{if isset($slideshow)}
|
||||
{if isset($slideshow.U_INC_PERIOD)}
|
||||
<a href="{$slideshow.U_INC_PERIOD}" title="{'Reduce diaporama speed'|@translate}" class="pwg-state-default pwg-button">
|
||||
<span class="pwg-icon pwg-icon-clock-minus"></span><span class="pwg-button-text">{'Reduce diaporama speed'|@translate}</span>
|
||||
</a>
|
||||
{else}
|
||||
<span class="pwg-state-disabled pwg-button">
|
||||
<span class="pwg-icon pwg-icon-clock-minus"></span><span class="pwg-button-text">{'Reduce diaporama speed'|@translate}</span>
|
||||
</span>
|
||||
{/if}
|
||||
{if isset($slideshow.U_DEC_PERIOD)}
|
||||
<a href="{$slideshow.U_DEC_PERIOD}" title="{'Accelerate diaporama speed'|@translate}" class="pwg-state-default pwg-button">
|
||||
<span class="pwg-icon pwg-icon-clock-plus"></span><span class="pwg-button-text">{'Accelerate diaporama speed'|@translate}</span>
|
||||
</a>
|
||||
{else}
|
||||
<span class="pwg-state-disabled pwg-button">
|
||||
<span class="pwg-icon pwg-icon-clock-plus"></span><span class="pwg-button-text">{'Accelerate diaporama speed'|@translate}</span>
|
||||
</span>
|
||||
{/if}
|
||||
{/if}
|
||||
{if isset($slideshow.U_START_REPEAT)}
|
||||
<a href="{$slideshow.U_START_REPEAT}" title="{'Repeat the slideshow'|@translate}" class="pwg-state-default pwg-button">
|
||||
<span class="pwg-icon pwg-icon-repeat-play"></span><span class="pwg-button-text">{'Repeat the slideshow'|@translate}</span>
|
||||
</a>
|
||||
{/if}
|
||||
{if isset($slideshow.U_STOP_REPEAT)}
|
||||
<a href="{$slideshow.U_STOP_REPEAT}" title="{'Not repeat the slideshow'|@translate}" class="pwg-state-default pwg-button">
|
||||
<span class="pwg-icon pwg-icon-repeat-stop"></span><span class="pwg-button-text">{'Not repeat the slideshow'|@translate}</span>
|
||||
</a>
|
||||
{/if}
|
||||
{*<!--{strip}{if isset($first)}
|
||||
<a href="{$first.U_IMG}" title="{'First'|@translate} : {$first.TITLE}" class="pwg-state-default pwg-button">
|
||||
<span class="pwg-icon pwg-icon-arrowstop-w"> </span><span class="pwg-button-text">{'First'|@translate}</span>
|
||||
</a>
|
||||
{else}
|
||||
<span class="pwg-state-disabled pwg-button">
|
||||
<span class="pwg-icon pwg-icon-arrowstop-w"> </span><span class="pwg-button-text">{'First'|@translate}</span>
|
||||
</span>
|
||||
{/if}{/strip}-->*}
|
||||
{strip}{if isset($U_UP) and !isset($slideshow)}
|
||||
<a href="{$U_UP}" title="{'Thumbnails'|@translate}" class="pwg-state-default pwg-button">
|
||||
<span class="pwg-icon pwg-icon-arrow-n"></span><span class="pwg-button-text">{'Thumbnails'|@translate}</span>
|
||||
</a>
|
||||
{/if}{/strip}
|
||||
{strip}{if isset($previous)}
|
||||
<a href="{$previous.U_IMG}" title="{'Previous'|@translate} : {$previous.TITLE_ESC}" class="pwg-state-default pwg-button">
|
||||
<span class="pwg-icon pwg-icon-arrow-w"></span><span class="pwg-button-text">{'Previous'|@translate}</span>
|
||||
</a>
|
||||
{else}
|
||||
<span class="pwg-state-disabled pwg-button">
|
||||
<span class="pwg-icon pwg-icon-arrow-w"></span><span class="pwg-button-text">{'Previous'|@translate}</span>
|
||||
</span>
|
||||
{/if}{/strip}
|
||||
{if isset($slideshow.U_START_PLAY)}
|
||||
<a href="{$slideshow.U_START_PLAY}" title="{'Play of slideshow'|@translate}" class="pwg-state-default pwg-button">
|
||||
<span class="pwg-icon pwg-icon-play"></span><span class="pwg-button-text">{'Play of slideshow'|@translate}</span>
|
||||
</a>
|
||||
{/if}
|
||||
{if isset($slideshow.U_STOP_PLAY)}
|
||||
<a href="{$slideshow.U_STOP_PLAY}" title="{'Pause of slideshow'|@translate}" class="pwg-state-default pwg-button">
|
||||
<span class="pwg-icon pwg-icon-pause"></span><span class="pwg-button-text">{'Pause of slideshow'|@translate}</span>
|
||||
</a>
|
||||
{/if}
|
||||
{strip}{if isset($next)}
|
||||
<a href="{$next.U_IMG}" title="{'Next'|@translate} : {$next.TITLE_ESC}" class="pwg-state-default pwg-button pwg-button-icon-right">
|
||||
<span class="pwg-icon pwg-icon-arrow-e"></span><span class="pwg-button-text">{'Next'|@translate}</span>
|
||||
</a>
|
||||
{else}
|
||||
<span class="pwg-state-disabled pwg-button pwg-button-icon-right">
|
||||
<span class="pwg-icon pwg-icon-arrow-e"></span><span class="pwg-button-text">{'Next'|@translate}</span>
|
||||
</span>
|
||||
{/if}{/strip}
|
||||
{*<!--{strip}{if isset($last)}
|
||||
<a href="{$last.U_IMG}" title="{'Last'|@translate} : {$last.TITLE}" class="pwg-state-default pwg-button pwg-button-icon-right">
|
||||
<span class="pwg-icon pwg-icon-arrowstop-e"></span><span class="pwg-button-text">{'Last'|@translate}</span>
|
||||
</a>
|
||||
{else}
|
||||
<span class="pwg-state-disabled pwg-button pwg-button-icon-right">
|
||||
<span class="pwg-icon pwg-icon-arrowstop-e"> </span><span class="pwg-button-text">{'Last'|@translate}</span>
|
||||
</span>
|
||||
{/if}{/strip}-->*}
|
||||
{/if}
|
||||
</div>
|
||||
{strip}
|
||||
{footer_script}
|
||||
document.onkeydown = function(e){ldelim}
|
||||
e=e||window.event;
|
||||
if (e.altKey) return true;
|
||||
var target=e.target||e.srcElement;
|
||||
if (target && target.type) return true;{* an input editable element *}
|
||||
var keyCode=e.keyCode||e.which, docElem=document.documentElement, url;
|
||||
switch(keyCode){ldelim}
|
||||
{if isset($next)}
|
||||
case 63235: case 39: if (e.ctrlKey || docElem.scrollLeft==docElem.scrollWidth-docElem.clientWidth)url="{$next.U_IMG}"; break;
|
||||
{/if}
|
||||
{if isset($previous)}
|
||||
case 63234: case 37: if (e.ctrlKey || docElem.scrollLeft==0)url="{$previous.U_IMG}"; break;
|
||||
{/if}
|
||||
{if isset($first)}
|
||||
{* Home *}case 36: if (e.ctrlKey)url="{$first.U_IMG}"; break;
|
||||
{/if}
|
||||
{if isset($last)}
|
||||
{* End *}case 35: if (e.ctrlKey)url="{$last.U_IMG}"; break;
|
||||
{/if}
|
||||
{if isset($U_UP) and !isset($slideshow)}
|
||||
{* Up *}case 38: if (e.ctrlKey)url="{$U_UP}"; break;
|
||||
{/if}
|
||||
{if isset($slideshow.U_START_PLAY)}
|
||||
{* Pause *}case 32: url="{$slideshow.U_START_PLAY}"; break;
|
||||
{/if}
|
||||
{if isset($slideshow.U_STOP_PLAY)}
|
||||
{* Play *}case 32: url="{$slideshow.U_STOP_PLAY}"; break;
|
||||
{/if}
|
||||
}
|
||||
if (url) {ldelim}window.location=url.replace("&","&"); return false;}
|
||||
return true;
|
||||
}
|
||||
{/footer_script}
|
||||
{/strip}
|
||||
25
zoesch.de/galerie/themes/default/template/popuphelp.tpl
Normal file
25
zoesch.de/galerie/themes/default/template/popuphelp.tpl
Normal file
@@ -0,0 +1,25 @@
|
||||
<div id="content" class="content">
|
||||
<div class="titrePage">
|
||||
<ul class="categoryActions">
|
||||
<li><a href="#" onclick="window.close();" title="{'Close this window'|@translate}" class="pwg-state-default pwg-button">
|
||||
<span class="pwg-icon pwg-icon-close"> </span><span class="pwg-button-text">exit</span>
|
||||
</a></li>
|
||||
</ul>
|
||||
<h2><span id="homeLink"><a href="{$U_HOME}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}</span>{$PAGE_TITLE}</h2>
|
||||
</div>
|
||||
|
||||
{$HELP_CONTENT}
|
||||
|
||||
<p id="closeLink" style="display:none">
|
||||
<a href="#" onclick="window.close();">{'Close this window'|@translate}</a>
|
||||
</p>
|
||||
|
||||
{footer_script require='jquery'}
|
||||
if (window.opener || window.name) {
|
||||
jQuery("#closeLink").show();
|
||||
jQuery("#homeLink").hide();
|
||||
}
|
||||
{/footer_script}
|
||||
</div> <!-- content -->
|
||||
|
||||
|
||||
13
zoesch.de/galerie/themes/default/template/profile.tpl
Normal file
13
zoesch.de/galerie/themes/default/template/profile.tpl
Normal file
@@ -0,0 +1,13 @@
|
||||
{if isset($MENUBAR)}{$MENUBAR}{/if}
|
||||
<div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}">
|
||||
|
||||
<div class="titrePage">
|
||||
<ul class="categoryActions">
|
||||
</ul>
|
||||
<h2><a href="{$U_HOME}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{'Profile'|@translate}</h2>
|
||||
</div>
|
||||
|
||||
{include file='infos_errors.tpl'}
|
||||
|
||||
{$PROFILE_CONTENT}
|
||||
</div> <!-- content -->
|
||||
@@ -0,0 +1,96 @@
|
||||
<form method="post" name="profile" action="{$F_ACTION}" id="profile" class="properties">
|
||||
|
||||
<fieldset>
|
||||
<legend>{'Registration'|@translate}</legend>
|
||||
<input type="hidden" name="redirect" value="{$REDIRECT}">
|
||||
<ul>
|
||||
<li>
|
||||
<span class="property">{'Username'|@translate}</span>
|
||||
{$USERNAME}
|
||||
</li>
|
||||
{if not $SPECIAL_USER} {* can modify password + email*}
|
||||
<li>
|
||||
<span class="property">
|
||||
<label for="mail_address">{'Email address'|@translate}</label>
|
||||
</span>
|
||||
<input type="text" name="mail_address" id="mail_address" value="{$EMAIL}">
|
||||
</li>
|
||||
<li>
|
||||
<span class="property">
|
||||
<label for="password">{'Password'|@translate}</label>
|
||||
</span>
|
||||
<input type="password" name="password" id="password" value="">
|
||||
</li>
|
||||
<li>
|
||||
<span class="property">
|
||||
<label for="use_new_pwd">{'New password'|@translate}</label>
|
||||
</span>
|
||||
<input type="password" name="use_new_pwd" id="use_new_pwd" value="">
|
||||
</li>
|
||||
<li>
|
||||
<span class="property">
|
||||
<label for="passwordConf">{'Confirm Password'|@translate}</label>
|
||||
</span>
|
||||
<input type="password" name="passwordConf" id="passwordConf" value="">
|
||||
</li>
|
||||
{/if}
|
||||
</ul>
|
||||
</fieldset>
|
||||
|
||||
{if $ALLOW_USER_CUSTOMIZATION}
|
||||
<fieldset>
|
||||
<legend>{'Preferences'|@translate}</legend>
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
<span class="property">
|
||||
<label for="nb_image_page">{'Number of photos per page'|@translate}</label>
|
||||
</span>
|
||||
<input type="text" size="4" maxlength="3" name="nb_image_page" id="nb_image_page" value="{$NB_IMAGE_PAGE}">
|
||||
</li>
|
||||
<li>
|
||||
<span class="property">
|
||||
<label for="template">{'Theme'|@translate}</label>
|
||||
</span>
|
||||
{html_options name=theme options=$template_options selected=$template_selection}
|
||||
</li>
|
||||
<li>
|
||||
<span class="property">
|
||||
<label for="Language">{'Language'|@translate}</label>
|
||||
</span>
|
||||
{html_options name=language options=$language_options selected=$language_selection}
|
||||
</li>
|
||||
<li>
|
||||
<span class="property">
|
||||
<label for="Recent period">{'Recent period'|@translate}</label>
|
||||
</span>
|
||||
<input type="text" size="3" maxlength="2" name="recent_period" id="recent_period" value="{$RECENT_PERIOD}">
|
||||
</li>
|
||||
<li>
|
||||
<span class="property">{'Expand all albums'|@translate}</span>
|
||||
{html_radios name='expand' options=$radio_options selected=$EXPAND}
|
||||
</li>
|
||||
{if $ACTIVATE_COMMENTS}
|
||||
<li>
|
||||
<span class="property">{'Show number of comments'|@translate}</span>
|
||||
{html_radios name='show_nb_comments' options=$radio_options selected=$NB_COMMENTS}
|
||||
</li>
|
||||
{/if}
|
||||
<li>
|
||||
<span class="property">{'Show number of hits'|@translate}</span>
|
||||
{html_radios name='show_nb_hits' options=$radio_options selected=$NB_HITS}
|
||||
</li>
|
||||
</ul>
|
||||
</fieldset>
|
||||
{/if}
|
||||
|
||||
<p class="bottomButtons">
|
||||
<input type="hidden" name="pwg_token" value="{$PWG_TOKEN}">
|
||||
<input class="submit" type="submit" name="validate" value="{'Submit'|@translate}">
|
||||
<input class="submit" type="reset" name="reset" value="{'Reset'|@translate}">
|
||||
{if $ALLOW_USER_CUSTOMIZATION}
|
||||
<input class="submit" type="submit" name="reset_to_default" value="{'Reset to default values'|@translate}">
|
||||
{/if}
|
||||
</p>
|
||||
|
||||
</form>
|
||||
9
zoesch.de/galerie/themes/default/template/redirect.tpl
Normal file
9
zoesch.de/galerie/themes/default/template/redirect.tpl
Normal file
@@ -0,0 +1,9 @@
|
||||
<div style="margin:2em;text-align:center;font-size:larger">
|
||||
{$REDIRECT_MSG}
|
||||
</div>
|
||||
|
||||
<p style="margin:2em;text-align:center">
|
||||
<a href="{$page_refresh.U_REFRESH}">
|
||||
{'Click here if your browser does not automatically forward you'|@translate}
|
||||
</a>
|
||||
</p>
|
||||
69
zoesch.de/galerie/themes/default/template/register.tpl
Normal file
69
zoesch.de/galerie/themes/default/template/register.tpl
Normal file
@@ -0,0 +1,69 @@
|
||||
{if isset($MENUBAR)}{$MENUBAR}{/if}
|
||||
<div id="registerPage">
|
||||
|
||||
<div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}">
|
||||
|
||||
<div class="titrePage">
|
||||
<ul class="categoryActions">
|
||||
</ul>
|
||||
<h2><a href="{$U_HOME}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{'Registration'|@translate}</h2>
|
||||
</div>
|
||||
|
||||
{include file='infos_errors.tpl'}
|
||||
|
||||
<form method="post" action="{$F_ACTION}" class="properties" name="register_form">
|
||||
<fieldset>
|
||||
<legend>{'Enter your personnal informations'|@translate}</legend>
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
<span class="property">
|
||||
<label for="login">* {'Username'|@translate}</label>
|
||||
</span>
|
||||
<input type="text" name="login" id="login" value="{$F_LOGIN}" >
|
||||
</li>
|
||||
<li>
|
||||
<span class="property">
|
||||
<label for="password">* {'Password'|@translate}</label>
|
||||
</span>
|
||||
<input type="password" name="password" id="password" >
|
||||
</li>
|
||||
<li>
|
||||
<span class="property">
|
||||
<label for="password_conf">* {'Confirm Password'|@translate}</label>
|
||||
</span>
|
||||
<input type="password" name="password_conf" id="password_conf" >
|
||||
</li>
|
||||
<li>
|
||||
<span class="property">
|
||||
<label for="mail_address">{if $obligatory_user_mail_address}* {/if}{'Email address'|@translate}</label>
|
||||
</span>
|
||||
<input type="text" name="mail_address" id="mail_address" value="{$F_EMAIL}" >
|
||||
{if not $obligatory_user_mail_address}
|
||||
({'useful when password forgotten'|@translate})
|
||||
{/if}
|
||||
</li>
|
||||
<li>
|
||||
<span class="property">
|
||||
<label for="send_password_by_mail">{'Send my connection settings by email'|@translate}</label>
|
||||
</span>
|
||||
<input type="checkbox" name="send_password_by_mail" id="send_password_by_mail" value="1" checked="checked">
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</fieldset>
|
||||
|
||||
<p class="bottomButtons">
|
||||
<input type="hidden" name="key" value="{$F_KEY}" >
|
||||
<input class="submit" type="submit" name="submit" value="{'Register'|@translate}">
|
||||
<input class="submit" type="reset" value="{'Reset'|@translate}">
|
||||
</p>
|
||||
|
||||
</form>
|
||||
|
||||
<script type="text/javascript"><!--
|
||||
document.register_form.login.focus();
|
||||
//--></script>
|
||||
|
||||
</div> <!-- content -->
|
||||
</div> <!-- registerPage -->
|
||||
155
zoesch.de/galerie/themes/default/template/search.tpl
Normal file
155
zoesch.de/galerie/themes/default/template/search.tpl
Normal file
@@ -0,0 +1,155 @@
|
||||
{* Example of resizeable *}
|
||||
{*
|
||||
{include file='include/resize.inc.tpl'}
|
||||
*}
|
||||
|
||||
{combine_script id='jquery.selectize' load='footer' path='themes/default/js/plugins/selectize.min.js'}
|
||||
{combine_css id='jquery.selectize' path="themes/default/js/plugins/selectize.{$themeconf.colorscheme}.css"}
|
||||
|
||||
{footer_script}
|
||||
jQuery(document).ready(function() {
|
||||
jQuery("#authors, #tags, #categories").each(function() {
|
||||
jQuery(this).selectize({
|
||||
plugins: ['remove_button'],
|
||||
maxOptions:jQuery(this).find("option").length
|
||||
});
|
||||
})
|
||||
});
|
||||
{/footer_script}
|
||||
|
||||
{if isset($MENUBAR)}{$MENUBAR}{/if}
|
||||
<div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}">
|
||||
|
||||
<div class="titrePage">
|
||||
<ul class="categoryActions">
|
||||
{combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'}
|
||||
<li><a href="{$U_HELP}" onclick="popuphelp(this.href); return false;" title="{'Help'|@translate}" class="pwg-state-default pwg-button">
|
||||
<span class="pwg-icon pwg-icon-help"></span><span class="pwg-button-text">{'Help'|@translate}</span>
|
||||
</a></li>
|
||||
</ul>
|
||||
<h2><a href="{$U_HOME}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{'Search'|@translate}</h2>
|
||||
</div>
|
||||
|
||||
{include file='infos_errors.tpl'}
|
||||
|
||||
<form class="filter" method="post" name="search" action="{$F_SEARCH_ACTION}">
|
||||
<fieldset>
|
||||
<legend>{'Search for words'|@translate}</legend>
|
||||
<p>
|
||||
<input type="text" name="search_allwords">
|
||||
<br>
|
||||
<label><input type="radio" name="mode" value="AND" checked="checked"> {'Search for all terms'|@translate}</label>
|
||||
<label><input type="radio" name="mode" value="OR"> {'Search for any term'|@translate}</label>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<strong>{'Apply on properties'|translate}</strong><br>
|
||||
<label><input type="checkbox" name="fields[]" value="name" checked="checked"> {'Photo title'|translate}</label>
|
||||
<label><input type="checkbox" name="fields[]" value="comment" checked="checked"> {'Photo description'|translate}</label>
|
||||
<label><input type="checkbox" name="fields[]" value="file" checked="checked"> {'File name'|translate}</label>
|
||||
{if isset($TAGS)}
|
||||
<label><input type="checkbox" name="search_in_tags" value="tags"> {'Tags'|translate}</label>
|
||||
{/if}
|
||||
</p>
|
||||
|
||||
</fieldset>
|
||||
|
||||
{if count($AUTHORS)>=1}
|
||||
<fieldset>
|
||||
<legend>{'Search for Author'|@translate}</legend>
|
||||
<p>
|
||||
<select id="authors" placeholder="{'Type in a search term'|translate}" name="authors[]" multiple>
|
||||
{foreach from=$AUTHORS item=author}
|
||||
<option value="{$author.author|strip_tags:false|escape:html}">{$author.author|strip_tags:false} ({$author.counter|translate_dec:'%d photo':'%d photos'})</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</p>
|
||||
</fieldset>
|
||||
{/if}
|
||||
|
||||
{if isset($TAGS)}
|
||||
<fieldset>
|
||||
<legend>{'Search tags'|@translate}</legend>
|
||||
<p>
|
||||
<select id="tags" placeholder="{'Type in a search term'|translate}" name="tags[]" multiple>
|
||||
{foreach from=$TAGS item=tag}
|
||||
<option value="{$tag.id}">{$tag.name} ({$tag.counter|translate_dec:'%d photo':'%d photos'})</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
<label><span><input type="radio" name="tag_mode" value="AND" checked="checked"> {'All tags'|@translate}</span></label>
|
||||
<label><span><input type="radio" name="tag_mode" value="OR"> {'Any tag'|@translate}</span></label>
|
||||
</p>
|
||||
</fieldset>
|
||||
{/if}
|
||||
|
||||
<fieldset>
|
||||
<legend>{'Search by date'|@translate}</legend>
|
||||
<ul>
|
||||
<li><label>{'Kind of date'|@translate}</label></li>
|
||||
<li><label>
|
||||
<input type="radio" name="date_type" value="date_creation" checked="checked"> {'Creation date'|@translate}
|
||||
</label></li>
|
||||
<li><label>
|
||||
<input type="radio" name="date_type" value="date_available"> {'Post date'|@translate}
|
||||
</label></li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li><label>{'Date'|@translate}</label></li>
|
||||
<li>
|
||||
<select id="start_day" name="start_day">
|
||||
<option value="0">--</option>
|
||||
{section name=day start=1 loop=32}
|
||||
<option value="{$smarty.section.day.index}" {if $smarty.section.day.index==$START_DAY_SELECTED}selected="selected"{/if}>{$smarty.section.day.index}</option>
|
||||
{/section}
|
||||
</select>
|
||||
<select id="start_month" name="start_month">
|
||||
{html_options options=$month_list selected=$START_MONTH_SELECTED}
|
||||
</select>
|
||||
<input id="start_year" name="start_year" type="text" size="4" maxlength="4" >
|
||||
<input id="start_linked_date" name="start_linked_date" type="hidden" size="10" disabled="disabled">
|
||||
</li>
|
||||
<li>
|
||||
<a class="date_today" href="#" onClick="document.search.start_day.value={$smarty.now|date_format:"%d"};document.search.start_month.value={$smarty.now|date_format:"%m"};document.search.start_year.value={$smarty.now|date_format:"%Y"};return false;">{'today'|@translate}</a>
|
||||
</li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li><label>{'End-Date'|@translate}</label></li>
|
||||
<li>
|
||||
<select id="end_day" name="end_day">
|
||||
<option value="0">--</option>
|
||||
{section name=day start=1 loop=32}
|
||||
<option value="{$smarty.section.day.index}" {if $smarty.section.day.index==$END_DAY_SELECTED}selected="selected"{/if}>{$smarty.section.day.index}</option>
|
||||
{/section}
|
||||
</select>
|
||||
<select id="end_month" name="end_month">
|
||||
{html_options options=$month_list selected=$END_MONTH_SELECTED}
|
||||
</select>
|
||||
<input id="end_year" name="end_year" type="text" size="4" maxlength="4" >
|
||||
<input id="end_linked_date" name="end_linked_date" type="hidden" size="10" disabled="disabled">
|
||||
</li>
|
||||
<li>
|
||||
<a class="date_today" href="#" onClick="document.search.end_day.value={$smarty.now|date_format:"%d"};document.search.end_month.value={$smarty.now|date_format:"%m"};document.search.end_year.value={$smarty.now|date_format:"%Y"};return false;">{'today'|@translate}</a>
|
||||
</li>
|
||||
</ul>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<legend>{'Search in albums'|@translate}</legend>
|
||||
<p>
|
||||
<select id="categories" name="cat[]" multiple>
|
||||
{html_options options=$category_options selected=$category_options_selected}
|
||||
</select>
|
||||
<label><input type="checkbox" name="subcats-included" value="1" checked="checked"> {'Search in sub-albums'|@translate}</label>
|
||||
</p>
|
||||
</fieldset>
|
||||
<p>
|
||||
<input type="submit" name="submit" value="{'Submit'|@translate}">
|
||||
<input type="reset" value="{'Reset'|@translate}">
|
||||
</p>
|
||||
</form>
|
||||
|
||||
<script type="text/javascript"><!--
|
||||
document.search.search_allwords.focus();
|
||||
//--></script>
|
||||
|
||||
</div> <!-- content -->
|
||||
61
zoesch.de/galerie/themes/default/template/search_rules.tpl
Normal file
61
zoesch.de/galerie/themes/default/template/search_rules.tpl
Normal file
@@ -0,0 +1,61 @@
|
||||
<div id="content" class="content">
|
||||
<div class="titrePage">
|
||||
<ul class="categoryActions">
|
||||
<li><a href="#" onclick="window.close();" title="{'Close this window'|@translate}" class="pwg-state-default pwg-button">
|
||||
<span class="pwg-icon pwg-icon-close"> </span><span class="pwg-button-text">exit</span>
|
||||
</a></li>
|
||||
</ul>
|
||||
<h2>{'Search rules'|@translate}</h2>
|
||||
</div>
|
||||
|
||||
{if isset($INTRODUCTION)}
|
||||
<p>{$INTRODUCTION}</p>
|
||||
{/if}
|
||||
|
||||
<ul>
|
||||
|
||||
{if isset($search_words)}
|
||||
{foreach from=$search_words item=v}
|
||||
<li>{$v}</li>
|
||||
{/foreach}
|
||||
{/if}
|
||||
|
||||
{if isset($SEARCH_TAGS_MODE) }
|
||||
<li>
|
||||
<p>{if 'AND'==$SEARCH_TAGS_MODE}{'All tags'|@translate}{else}{'Any tag'|@translate}{/if}</p>
|
||||
<ul>
|
||||
{foreach from=$search_tags item=v}
|
||||
<li>{$v}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</li>
|
||||
{/if}
|
||||
|
||||
{if isset($DATE_CREATION)}
|
||||
<li>{$DATE_CREATION}</li>
|
||||
{/if}
|
||||
|
||||
{if isset($DATE_AVAILABLE)}
|
||||
<li>{$DATE_AVAILABLE}</li>
|
||||
{/if}
|
||||
|
||||
{if isset($search_categories)}
|
||||
<li>
|
||||
<p>{'Albums'|@translate}</p>
|
||||
|
||||
<ul>
|
||||
{foreach from=$search_categories item=v}
|
||||
<li>{$v}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</li>
|
||||
{/if}
|
||||
|
||||
</ul>
|
||||
|
||||
<p>
|
||||
<a href="#" onclick="window.close();">{'Close this window'|@translate}</a>
|
||||
</p>
|
||||
|
||||
</div> <!-- content -->
|
||||
|
||||
24
zoesch.de/galerie/themes/default/template/slideshow.tpl
Normal file
24
zoesch.de/galerie/themes/default/template/slideshow.tpl
Normal file
@@ -0,0 +1,24 @@
|
||||
<div id="slideshow">
|
||||
<div id="imageHeaderBar">
|
||||
<div class="browsePath">
|
||||
{if isset($U_SLIDESHOW_STOP) }
|
||||
[ <a href="{$U_SLIDESHOW_STOP}">{'stop the slideshow'|@translate}</a> ]
|
||||
{/if}
|
||||
<h2 class="showtitle">{$current.TITLE}</h2>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="imageToolBar">
|
||||
<div class="imageNumber">{$PHOTO}</div>
|
||||
{include file='picture_nav_buttons.tpl'|@get_extent:'picture_nav_buttons'}
|
||||
</div>
|
||||
|
||||
<div id="content">
|
||||
<div id="theImage">
|
||||
{$ELEMENT_CONTENT}
|
||||
{if isset($COMMENT_IMG)}
|
||||
<p class="showlegend">{$COMMENT_IMG}</p>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
57
zoesch.de/galerie/themes/default/template/tags.tpl
Normal file
57
zoesch.de/galerie/themes/default/template/tags.tpl
Normal file
@@ -0,0 +1,57 @@
|
||||
{if isset($MENUBAR)}{$MENUBAR}{/if}
|
||||
<div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}">
|
||||
|
||||
<div class="titrePage">
|
||||
<ul class="categoryActions">
|
||||
{if $display_mode == 'letters'}
|
||||
<li><a href="{$U_CLOUD}" title="{'show tag cloud'|@translate}" class="pwg-state-default pwg-button">
|
||||
<span class="pwg-icon pwg-icon-cloud"></span><span class="pwg-button-text">{'cloud'|@translate}</span>
|
||||
</a></li>
|
||||
{/if}
|
||||
{if $display_mode == 'cloud'}
|
||||
<li><a href="{$U_LETTERS}" title="{'group by letters'|@translate}" class="pwg-state-default pwg-button" rel="nofollow">
|
||||
<span class="pwg-icon pwg-icon-letters"></span><span class="pwg-button-text">{'letters'|@translate}</span>
|
||||
</a></li>
|
||||
{/if}
|
||||
</ul>
|
||||
<h2><a href="{$U_HOME}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{'Tags'|@translate}</h2>
|
||||
</div>
|
||||
|
||||
{include file='infos_errors.tpl'}
|
||||
|
||||
|
||||
{if $display_mode == 'cloud' and isset($tags)}
|
||||
<div id="fullTagCloud">
|
||||
{foreach from=$tags item=tag}
|
||||
<span><a href="{$tag.URL}" class="tagLevel{$tag.level}" title="{$tag.counter|@translate_dec:'%d photo':'%d photos'}">{$tag.name}</a></span>
|
||||
{/foreach}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{if $display_mode == 'letters' and isset($letters)}
|
||||
<table>
|
||||
<tr>
|
||||
<td valign="top">
|
||||
{foreach from=$letters item=letter}
|
||||
<fieldset class="tagLetter">
|
||||
<legend class="tagLetterLegend">{$letter.TITLE}</legend>
|
||||
<table class="tagLetterContent">
|
||||
{foreach from=$letter.tags item=tag}
|
||||
<tr class="tagLine">
|
||||
<td><a href="{$tag.URL}" title="{$tag.name}">{$tag.name}</a></td>
|
||||
<td class="nbEntries">{$tag.counter|@translate_dec:'%d photo':'%d photos'}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
</fieldset>
|
||||
{if isset($letter.CHANGE_COLUMN) }
|
||||
</td>
|
||||
<td valign="top">
|
||||
{/if}
|
||||
{/foreach}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{/if}
|
||||
|
||||
</div> <!-- content -->
|
||||
64
zoesch.de/galerie/themes/default/template/thumbnails.tpl
Normal file
64
zoesch.de/galerie/themes/default/template/thumbnails.tpl
Normal file
@@ -0,0 +1,64 @@
|
||||
{if !empty($thumbnails)}{strip}
|
||||
{*define_derivative name='derivative_params' width=160 height=90 crop=true*}
|
||||
{html_style}
|
||||
{*Set some sizes according to maximum thumbnail width and height*}
|
||||
.thumbnails SPAN,
|
||||
.thumbnails .wrap2 A,
|
||||
.thumbnails LABEL{ldelim}
|
||||
width: {$derivative_params->max_width()+2}px;
|
||||
}
|
||||
|
||||
.thumbnails .wrap2{ldelim}
|
||||
height: {$derivative_params->max_height()+3}px;
|
||||
}
|
||||
{if $derivative_params->max_width() > 600}
|
||||
.thumbLegend {ldelim}font-size: 130%}
|
||||
{else}
|
||||
{if $derivative_params->max_width() > 400}
|
||||
.thumbLegend {ldelim}font-size: 110%}
|
||||
{else}
|
||||
.thumbLegend {ldelim}font-size: 90%}
|
||||
{/if}
|
||||
{/if}
|
||||
{/html_style}
|
||||
{footer_script}
|
||||
var error_icon = "{$ROOT_URL}{$themeconf.icon_dir}/errors_small.png", max_requests = {$maxRequests};
|
||||
{/footer_script}
|
||||
{foreach from=$thumbnails item=thumbnail}
|
||||
{assign var=derivative value=$pwg->derivative($derivative_params, $thumbnail.src_image)}
|
||||
{if !$derivative->is_cached()}
|
||||
{combine_script id='jquery.ajaxmanager' path='themes/default/js/plugins/jquery.ajaxmanager.js' load='footer'}
|
||||
{combine_script id='thumbnails.loader' path='themes/default/js/thumbnails.loader.js' require='jquery.ajaxmanager' load='footer'}
|
||||
{/if}
|
||||
<li>
|
||||
<span class="wrap1">
|
||||
<span class="wrap2">
|
||||
<a href="{$thumbnail.URL}">
|
||||
<img class="thumbnail" {if $derivative->is_cached()}src="{$derivative->get_url()}"{else}src="{$ROOT_URL}{$themeconf.icon_dir}/img_small.png" data-src="{$derivative->get_url()}"{/if} alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}">
|
||||
</a>
|
||||
</span>
|
||||
{if $SHOW_THUMBNAIL_CAPTION }
|
||||
<span class="thumbLegend">
|
||||
<span class="thumbName">{$thumbnail.NAME}</span>
|
||||
{if !empty($thumbnail.icon_ts)}
|
||||
<img title="{$thumbnail.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent.png" alt="(!)">
|
||||
{/if}
|
||||
{if isset($thumbnail.NB_COMMENTS)}
|
||||
<span class="{if 0==$thumbnail.NB_COMMENTS}zero {/if}nb-comments">
|
||||
<br>
|
||||
{$pwg->l10n_dec('%d comment', '%d comments',$thumbnail.NB_COMMENTS)}
|
||||
</span>
|
||||
{/if}
|
||||
|
||||
{if isset($thumbnail.NB_HITS)}
|
||||
<span class="{if 0==$thumbnail.NB_HITS}zero {/if}nb-hits">
|
||||
<br>
|
||||
{$pwg->l10n_dec('%d hit', '%d hits',$thumbnail.NB_HITS)}
|
||||
</span>
|
||||
{/if}
|
||||
</span>
|
||||
{/if}
|
||||
</span>
|
||||
</li>
|
||||
{/foreach}{/strip}
|
||||
{/if}
|
||||
Reference in New Issue
Block a user