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:
Felix Zösch
2025-12-13 01:17:15 +01:00
commit 07c290a453
4607 changed files with 1202735 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
{include file='infos_errors.tpl'}
<div data-role="content">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">{'About'|@translate}</li>
<li>{$ABOUT_MESSAGE}</li>
{if isset($THEME_ABOUT) }
<li>{$THEME_ABOUT}</li>
{/if}
{if not empty($about_msgs)}
{foreach from=$about_msgs item=elt}
<li>{$elt}</li>
{/foreach}
{/if}
</ul>
</div>

View File

@@ -0,0 +1,3 @@
<div data-role="panel" id="menubar" data-position="right" data-display="overlay">
{$MENUBAR}
</div>{assign var='MENUBAR' value=''}

View File

@@ -0,0 +1,12 @@
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">{'User comments'|@translate}</li>
{foreach from=$comments item=comment name=comment_loop}
<li>
{if !isset($from) or $from!="picture"}<a href="{$comment.U_PICTURE}">
<img src="{$pwg->derivative_url($thumbnail_derivative_params, $comment.src_image)}">{/if}
<h3>{$comment.AUTHOR}</h3>
<p>{$comment.CONTENT}</p>
{if !isset($from) or $from!="comment"}</a>{/if}
</li>
{/foreach}
</ul>

View File

@@ -0,0 +1,9 @@
{include file='infos_errors.tpl'}
<div data-role="content">
{if isset($comments)}
{include file='comment_list.tpl' comment_derivative_params=$derivative_params}
{/if}
</div> <!-- content -->

View File

@@ -0,0 +1,31 @@
{if !empty($thumb_navbar)}
{include file='navigation_bar.tpl'|@get_extent:'navbar' navbar=$thumb_navbar}
{elseif !empty($navbar) and !isset($ELEMENT_CONTENT)}
{include file='navigation_bar.tpl'|@get_extent:'navbar'}
{else}
<div data-role="footer" class="pwg_footer">
<h6>
{'Powered by'|@translate} <a href="{$PHPWG_URL}" class="Piwigo">Piwigo</a>
{$VERSION}
{if isset($CONTACT_MAIL)}
- {'Contact'|@translate}
<a href="mailto:{$CONTACT_MAIL}?subject={'A comment on your site'|@translate|@escape:url}">{'Webmaster'|@translate}</a>
{/if}
<br>{'View in'|@translate} :
<b>{'Mobile'|@translate}</b> | <a href="{$TOGGLE_MOBILE_THEME_URL}">{'Desktop'|@translate}</a>
</h6>
</div>
{/if}
{footer_script require='jquery'}
document.cookie = 'screen_size='+jQuery(document).width()+'x'+jQuery(document).height()+';path={$COOKIE_PATH}';
{/footer_script}
{get_combined_scripts load='footer'}
{if isset($footer_elements)}
{foreach $footer_elements as $v}
{$v}
{/foreach}
{/if}
</div><!-- /page -->
</body>
</html>

View File

@@ -0,0 +1,58 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="{$lang_info.code}" dir="{$lang_info.direction}">
<head>
<meta http-equiv="Content-Type" content="text/html; 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}
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" name="viewport" />
<meta name="apple-mobile-web-app-capable" content="yes" />
{if (isset($REVERSE) and $REVERSE and $PAGE_TITLE == l10n('Home'))}
<title>{$GALLERY_TITLE} | {$PAGE_TITLE}</title>{else}
<title>{$PAGE_TITLE} | {$GALLERY_TITLE}</title>{/if}
<link rel="start" title="{'Home'|@translate}" href="{$U_HOME}" >
{get_combined_css}
{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}
{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}
{get_combined_scripts load='header'}
{combine_script id='config' path='themes/smartpocket/js/config.js' require='jquery'}
{combine_script id='jquery.mobile' path='themes/smartpocket/js/jquery.mobile.min.js' require='jquery,config'}
</head>
<body>
<div data-role="page" data-theme="a">
{if isset($MENUBAR)}<div data-role="panel" id="menubar" data-position="right" data-display="overlay">
{$MENUBAR}
</div>{/if}
<div data-role="header">
<div class="title">
<a href="{$U_HOME}" class="home_button" data-icon="home" data-iconpos="notext" data-role="button"></a>
{$GALLERY_TITLE}
<a href="#menubar" data-icon="grid" data-iconpos="notext" data-role="button" style="float: right" >Menu</a>
</div>
</div>

View File

@@ -0,0 +1,41 @@
{include file='infos_errors.tpl'}
<div data-role="content">
<h3>{'Identification'|@translate}</h3>
<form action="{$F_LOGIN_ACTION}" method="post" name="login_form" class="properties">
<div data-role="fieldcontain">
<label for="username">{'Username'|@translate}</label>
<input type="text" name="username" id="username">
</div>
<div data-role="fieldcontain">
<label for="password">{'Password'|@translate}</label>
<input type="password" name="password" id="password" value="">
</div>
{if $authorize_remembering }
<div data-role="fieldcontain">
<label for="remember_me">{'Auto login'|@translate}</label>
<input type="checkbox" name="remember_me" id="remember_me" value="1">
</div>
{/if}
<div data-role="fieldcontain">
<input type="hidden" name="redirect" value="{$U_REDIRECT|@urlencode}">
<input type="submit" name="login" value="{'Submit'|@translate}">
</div>
</form>
<div data-role="fieldcontain" style="margin-top:2em">
{if isset($U_LOST_PASSWORD)}
<a href="{$U_LOST_PASSWORD}" data-role="button">{'Forgot your password?'|@translate}</a>
{/if}
{if isset($U_REGISTER)}
<a href="{$U_REGISTER}" data-role="button">{'Register'|@translate}</a>
{/if}
</div>
</div>

View File

@@ -0,0 +1,11 @@
<div data-role="content">
{if !empty($CATEGORIES)}{$CATEGORIES}{/if}
{if !empty($THUMBNAILS)}{$THUMBNAILS}{/if}
{if !empty($CONTENT_DESCRIPTION)}
<div class="additional_info">
{$CONTENT_DESCRIPTION}
</div>
{/if}
{if !empty($CONTENT)}{$CONTENT}{/if}
</div>

View File

@@ -0,0 +1,23 @@
{if isset($errors)}
<div class="ui-bar ui-bar-e errors">
<h3>{'Error'|@translate}</h3>
<div><a href="#" data-role="button" data-icon="delete" data-iconpos="notext" class="close-button">Button</a></div>
<p>{'<br>'|@implode:$errors}</p>
</div>
{/if}
{if not empty($infos)}
<div class="ui-bar ui-bar-b infos">
<h3>{'Info'|@translate}</h3>
<div><a href="#" data-role="button" data-icon="delete" data-iconpos="notext" class="close-button">Button</a></div>
<p>{'<br>'|@implode:$infos}</p>
</div>
{/if}
{footer_script}{literal}
$(document).ready(function () {
$('.close-button').click(function() {
$(this).parents('.ui-bar').remove();
});
});
{/literal}{/footer_script}

View File

@@ -0,0 +1,12 @@
<ul data-role="listview" data-inset="true">
{foreach from=$category_thumbnails item=cat}
<li>
<a href="{$cat.URL}">
<img src="{$pwg->derivative_url($thumbnail_derivative_params, $cat.representative.src_image)}">
<h3>{$cat.NAME}</h3>
<p class="Nb_images">{$cat.CAPTION_NB_IMAGES}</p>
</a>
</li>
{/foreach}
</ul>

View File

@@ -0,0 +1,22 @@
<ul data-role="listview">
<li data-icon="delete"><a href="#menubar" data-rel="close">{'Close'|@translate}</a></li>
</ul>
{if !empty($blocks) }
<div data-role="collapsible-set" data-inset="false">
{foreach from=$blocks key=id item=block}
<div data-role="collapsible" data-inset="false" data-icon="false">
{if not empty($block->template)}
{include file=$block->template assign=the_block|@get_extent:$id}
{$the_block|replace:'dt':'h3'|replace:'<dd>':''|replace:'</dd>':''}
{else}
{$block->raw_content|replace:'dt':'h3'|replace:'<dd>':''|replace:'</dd>':''}
{/if}
</div>
{/foreach}
</div>
{/if}
<br>
<ul data-role="listview">
<li data-role="list-divider">{'View in'|@translate}</li>
<li><a href="{$TOGGLE_MOBILE_THEME_URL}">{'Desktop'|@translate}</a></li>
</ul>

View File

@@ -0,0 +1,8 @@
<h3>{'Albums'|@translate}</h3>
<ul data-role="listview">
{foreach from=$block->data.MENU_CATEGORIES item=cat}
<li><a href="{$cat.URL}" {if $cat.IS_UPPERCAT}rel="up"{/if} title="{$cat.TITLE}">{$cat.NAME}</a>
{if $cat.count_images > 0}<span class="ui-li-count">{$cat.count_images}</span>{/if}
</li>
{/foreach}
</ul>

View File

@@ -0,0 +1,8 @@
<h3>{'Identification'|@translate}</h3>
<ul data-role="listview">
{if isset($U_REGISTER)}<li><a href="{$U_REGISTER}">{'Register'|@translate}</a></li>{/if}
{if isset($U_LOGIN)}<li><a href="{$U_LOGIN}">{'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}">{'Customize'|@translate}</a></li>{/if}
{if isset($U_ADMIN)}<li><a href="{$U_ADMIN}">{'Administration'|@translate}</a></li>{/if}
</ul>

View File

@@ -0,0 +1,11 @@
<h3>{'Links'|@translate}</h3>
<ul data-role="listview">{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>

View File

@@ -0,0 +1,8 @@
<h3>{'Menu'|@translate}</h3>
<ul data-role="listview">
{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)}<span class="ui-li-count">{$link.COUNTER}</span>{/if}</li>
{/if}
{/foreach}
</ul>

View File

@@ -0,0 +1,8 @@
<h3>{'Specials'|@translate}</h3>
<ul data-role="listview">
{foreach $block->data as $key=>$link}
{if in_array($key, array("favorites","most_visited","best_rated","recent_pics","recent_cats","random")) }
<li><a href="{$link.URL}" title="{$link.TITLE}"{if isset($link.REL)} {$link.REL}{/if}>{$link.NAME}</a></li>
{/if}
{/foreach}
</ul>

View File

@@ -0,0 +1,12 @@
<h3>{'Related tags'|@translate}</h3>
<ul data-role="listview">
{foreach from=$block->data item=tag}
<li><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></li>
{/foreach}
</ul>

View File

@@ -0,0 +1,14 @@
{capture}{$navbar.pages|@end}{/capture}
<div data-role="footer" class="ui-bar ui-bar-a" style="text-align:center;">
<div data-role="controlgroup" data-type="horizontal">
{strip}
{if isset($navbar.URL_PREV)}
<a href="{$navbar.URL_PREV}" rel="prev" data-role="button" data-icon="arrow-l" data-inline="true">{'Previous'|@translate}</a>
{/if}
<a href="#" data-role="button" data-inline="true">{$navbar.CURRENT_PAGE} / {$navbar.pages|@key}&nbsp;</a>
{if isset($navbar.URL_NEXT)}
<a href="{$navbar.URL_NEXT}" rel="next" data-role="button" data-icon="arrow-r" data-iconpos="right" data-inline="true">{'Next'|@translate}</a>
{/if}
{/strip}
</div>
</div>

View File

@@ -0,0 +1,13 @@
{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}
{include file='infos_errors.tpl'}
<div data-role="content">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">{'Notification'|@translate}</li>
<li>{'The RSS notification feed provides notification on news from this website : new photos, updated albums, new comments. Use a RSS feed reader.'|@translate}</li>
<li><a href="{$U_FEED_IMAGE_ONLY}">{'Photos only RSS feed'|@translate}</a></li>
<li><a href="{$U_FEED}">{'Complete RSS feed (photos, comments)'|@translate}</a></li>
</ul>
</div>

View File

@@ -0,0 +1,27 @@
{include file='infos_errors.tpl'}
<div data-role="content">
<h3>{'Forgot your password?'|translate}</h3>
{if $action ne 'none'}
<form id="lostPassword" action="{$form_action}?action={$action}{if isset($key)}&amp;key={$key}{/if}" method="post">
<input type="hidden" name="pwg_token" value="{$PWG_TOKEN}">
{if $action eq 'lost'}
<div data-role="fieldcontain">
<label for="username">{'Username or email'|@translate}</label>
<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}>
<input type="submit" name="submit" value="{'Change my password'|@translate}">
</div>
{elseif $action eq 'reset'}
<div data-role="fieldcontain">
<label for="password">{'New password'|@translate}</label>
<input type="password" name="use_new_pwd" id="use_new_pwd" value="">
<label for="passwordConf">{'Confirm Password'|@translate}</label>
<input type="password" name="passwordConf" id="passwordConf" value="">
<input type="submit" name="submit" value="{'Submit'|@translate}">
</div>
{/if}
</form>
{/if} {* $action ne 'none' *}
</div>

View File

@@ -0,0 +1,175 @@
{if isset($errors) or not empty($infos)}
{include file='infos_errors.tpl'}
{/if}
<div data-role="content" id="picture_page">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">{$SECTION_TITLE}<span class="browsePathSeparator">{$LEVEL_SEPARATOR}</span>{$current.TITLE}</li>
</ul>
{$ELEMENT_CONTENT}
{include file='picture_nav_buttons.tpl'|@get_extent:'picture_nav_buttons'}
{if isset($COMMENT_IMG)}
<p class="imageComment">{$COMMENT_IMG}</p>
{/if}
<ul data-role="listview" data-inset="true" id="PictureInfo">
{strip}
{if $display_info.author and isset($INFO_AUTHOR)}
<li id="Author" class="imageInfo">
<dt>{'Author'|@translate}</dt>
<dd>{$INFO_AUTHOR}</dd>
</li>
{/if}
{if $display_info.created_on and isset($INFO_CREATION_DATE)}
<li id="datecreate" class="imageInfo">
<dt>{'Created on'|@translate}</dt>
<dd>{$INFO_CREATION_DATE}</dd>
</li>
{/if}
{if $display_info.posted_on}
<li id="datepost" class="imageInfo">
<dt>{'Posted on'|@translate}</dt>
<dd>{$INFO_POSTED_DATE}</dd>
</li>
{/if}
{if $display_info.dimensions and isset($INFO_DIMENSIONS)}
<li id="Dimensions" class="imageInfo">
<dt>{'Dimensions'|@translate}</dt>
<dd>{$INFO_DIMENSIONS}</dd>
</li>
{/if}
{if $display_info.file}
<li id="File" class="imageInfo">
<dt>{'File'|@translate}</dt>
<dd>{$INFO_FILE}</dd>
</li>
{/if}
{if $display_info.filesize and isset($INFO_FILESIZE)}
<li id="Filesize" class="imageInfo">
<dt>{'Filesize'|@translate}</dt>
<dd>{$INFO_FILESIZE}</dd>
</li>
{/if}
{if $display_info.tags and isset($related_tags)}
<li 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>
</li>
{/if}
{if $display_info.categories and isset($related_categories)}
<li id="Categories" class="imageInfo">
<dt>{'Albums'|@translate}</dt>
<dd>
<ul>
{foreach from=$related_categories item=cat}
<li>{$cat}</li>
{/foreach}
</ul>
</dd>
</li>
{/if}
{if $display_info.visits}
<li id="Visits" class="imageInfo">
<dt>{'Visits'|@translate}</dt>
<dd>{$INFO_VISITS}</dd>
</li>
{/if}
{if $display_info.rating_score and isset($rate_summary)}
<li 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>
</li>
{/if}
{if isset($rating)}
<li 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>
<form action="{$rating.F_ACTION}" method="post" id="rateForm" style="margin:0;">
<div data-role="controlgroup" data-type="horizontal" align="center">
{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}
</div>
</form>
</li>
{/if}
</ul>
{if isset($metadata)}
<ul data-role="listview" data-inset="true">
{foreach from=$metadata item=meta}
<li><h3>{$meta.TITLE}</h3>
{foreach from=$meta.lines item=value key=label}
<div class="imageInfo">
<dt>{$label}</dt>
<dd>{$value}</dd>
</div>
{/foreach}</li>
{/foreach}
</dl>
{/if}
</ul>
{if isset($COMMENT_COUNT)}
<ul data-role="listview" data-inset="true">
<h3>{$COMMENT_COUNT|@translate_dec:'%d comment':'%d comments'}</h3>
<div id="pictureComments">
{if isset($comment_add)}
<div data-role="collapsible">
<h3>{'Add a comment'|@translate}</h3>
<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}
<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>
<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)}
<ul data-role="listview" data-inset="true">
{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' from="picture"}
</ul>
{/if}
</div>
</ul>
{/if}{*comments*}
{include file='picture_nav_buttons.tpl'|@get_extent:'picture_nav_buttons'}
</div>

View File

@@ -0,0 +1,2 @@
<img src="{$current.selected_derivative->get_url()}" style="max-width:100%" alt="{$ALT_IMG}" id="theMainImage" title="{if isset($COMMENT_IMG)}{$COMMENT_IMG|@strip_tags:false|@replace:'"':' '}{else}{$current.TITLE|@replace:'"':' '} - {$ALT_IMG}{/if}">

View File

@@ -0,0 +1,13 @@
<div data-role="controlgroup" data-type="horizontal" align="center">
{strip}
{if isset($previous)}
<a href="{$previous.U_IMG}" rel="prev" data-role="button" data-icon="arrow-l" data-iconpos="notext" data-inline="true">{'Previous'|@translate}</a>
{/if}
{if isset($U_UP) and !isset($slideshow)}
<a href="{$U_UP}" rel="prev" data-role="button" data-icon="arrow-u" data-iconpos="notext" data-inline="true">data-iconpos="notext"</a>
{/if}
{if isset($next)}
<a href="{$next.U_IMG}" rel="next" data-role="button" data-icon="arrow-r" data-iconpos="notext" data-iconpos="right" data-inline="true">{'Next'|@translate}</a>
{/if}
{/strip}
</div>

View File

@@ -0,0 +1,4 @@
{include file='infos_errors.tpl'}
<div data-role="content">
{$PROFILE_CONTENT}
</div>

View File

@@ -0,0 +1,61 @@
<form method="post" name="profile" action="{$F_ACTION}" id="profile" class="properties">
<div data-role="fieldcontain">
<label for="username">{'Username'|@translate}</label>
<input type="text" name="username" id="username" value="{$USERNAME}" disabled="disabled">
</div>
{if not $SPECIAL_USER} {* can modify password + email*}
<div data-role="fieldcontain">
<label for="mail_address">{'Email address'|@translate}</label>
<input type="text" name="mail_address" id="mail_address" value="{$EMAIL}">
</div>
<div data-role="fieldcontain">
<label for="password">{'Password'|@translate}</label>
<input type="password" name="password" id="password" value="">
</div>
<div data-role="fieldcontain">
<label for="use_new_pwd">{'New password'|@translate}</label>
<input type="password" name="use_new_pwd" id="use_new_pwd" value="">
</div>
<div data-role="fieldcontain">
<label for="passwordConf">{'Confirm Password'|@translate}</label>
<input type="password" name="passwordConf" id="passwordConf" value="">
</div>
{/if}
{if $ALLOW_USER_CUSTOMIZATION}
<div data-role="fieldcontain">
<label for="nb_image_page">{'Number of photos per page'|@translate}</label>
<input type="range" name="nb_image_page" id="nb_image_page" value="{$NB_IMAGE_PAGE}" min="1" max="100" />
</div>
<div data-role="fieldcontain">
<label for="language">{'Language'|@translate}</label>
{html_options name=language options=$language_options selected=$language_selection}
</div>
{/if}
<div data-role="fieldcontain">
{if $ALLOW_USER_CUSTOMIZATION}
<input type="hidden" name="theme" value="{$template_selection}">
<input type="hidden" name="recent_period" value="{$RECENT_PERIOD}">
<input type="hidden" name="expand" value="{$EXPAND}">
<input type="hidden" name="show_nb_comments" value="{$NB_COMMENTS}">
<input type="hidden" name="show_nb_hits" value="{$NB_HITS}">
{/if}
<input type="hidden" name="redirect" value="{$REDIRECT}">
<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}
</div>
</form>

View File

@@ -0,0 +1,9 @@
<div>
{$REDIRECT_MSG}
</div>
<p style="margin: 2em">
<a href="{$page_refresh.U_REFRESH}">
{'Click here if your browser does not automatically forward you'|@translate}
</a>
</p>

View File

@@ -0,0 +1,38 @@
{include file='infos_errors.tpl'}
<div data-role="content">
<h3>{'Register'|@translate}</h3>
<form method="post" action="{$F_ACTION}" class="properties" name="register_form">
<div data-role="fieldcontain">
<label for="login">* {'Username'|@translate}</label>
<input type="text" name="login" id="login" value="{$F_LOGIN}">
</div>
<div data-role="fieldcontain">
<label for="password">* {'Password'|@translate}</label>
<input type="password" name="password" id="password">
</div>
<div data-role="fieldcontain">
<label for="password_conf">* {'Confirm Password'|@translate}</label>
<input type="password" name="password_conf" id="password_conf">
</div>
<div data-role="fieldcontain">
<label for="mail_address">{if $obligatory_user_mail_address}* {/if}{'Email address'|@translate}</label>
<input type="text" name="mail_address" id="mail_address" value="{$F_EMAIL}" >
</div>
<div data-role="fieldcontain">
<label for="send_password_by_mail">{'Send my connection settings by email'|@translate}</label>
<input type="checkbox" name="send_password_by_mail" id="send_password_by_mail" value="1" checked="checked">
</div>
<div data-role="fieldcontain">
<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}">
</div>
</form>
</div>

View File

@@ -0,0 +1,112 @@
{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}
{html_style}
.ui-checkbox, .ui-radio, .ui-btn-text {
z-index:0;
}
.form-actions {
margin-top:3em;
margin-bottom:3em;
}
{/html_style}
{include file='infos_errors.tpl'}
<div data-role="content">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">{'Search'|@translate}</li>
</ul>
<form class="filter" method="post" name="search" action="{$F_SEARCH_ACTION}">
<fieldset data-role="controlgroup">
<legend>{'Search for words'|@translate}</legend>
<input type="text" name="search_allwords">
<input type="radio" name="mode" id="mode_and" value="AND" checked="checked">
<label for="mode_and">{'Search for all terms'|@translate}</label>
<input type="radio" name="mode" id="mode_or" value="OR">
<label for="mode_or">{'Search for any term'|@translate}</label>
</fieldset>
<fieldset data-role="controlgroup">
<legend>{'Apply on properties'|translate}</legend>
<input type="checkbox" name="fields[]" value="name" checked="checked" id="field-name">
<label for="field-name">{'Photo title'|translate}</label>
<input type="checkbox" name="fields[]" value="comment" checked="checked" id="field-comment">
<label for="field-comment">{'Photo description'|translate}</label>
<input type="checkbox" name="fields[]" value="file" checked="checked" id="field-file">
<label for="field-file">{'File name'|translate}</label>
{if isset($TAGS)}
<input type="checkbox" name="search_in_tags" value="tags" id="field-tags">
<label for="field-tags">{'Tags'|translate}</label>
{/if}
</fieldset>
{if count($AUTHORS)>=1}
<fieldset data-role="controlgroup">
<legend>{'Search for Author'|@translate}</legend>
<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>
</fieldset>
{/if}
{if isset($TAGS)}
<fieldset data-role="controlgroup">
<legend>{'Search tags'|@translate}</legend>
<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>
<input type="radio" name="tag_mode" id="tag_mode_and" value="AND" checked="checked">
<label for="tag_mode_and">{'All tags'|@translate}</label>
<input type="radio" name="tag_mode" id="tag_mode_or" value="OR">
<label for="tag_mode_or">{'Any tag'|@translate}</label>
</fieldset>
{/if}
<fieldset data-role="controlgroup">
<legend>{'Search in albums'|@translate}</legend>
<select id="categories" placeholder="{'Type in a search term'|translate}" name="cat[]" multiple>
{html_options options=$category_options selected=$category_options_selected}
</select>
<input type="checkbox" name="subcats-included" value="1" checked="checked" id="subcats-included">
<label for="subcats-included">{'Search in sub-albums'|@translate}</label>
</fieldset>
<div class="form-actions">
<input class="submit" type="submit" name="submit" value="{'Submit'|@translate}">
</div>
</form>
<script type="text/javascript"><!--
document.search.search_allwords.focus();
//--></script>
</div> <!-- content -->

View File

@@ -0,0 +1,15 @@
{include file='infos_errors.tpl'}
<div data-role="content">{if isset($tags)}
<ul data-role="listview" data-inset="true" data-filter="true">
<li data-role="list-divider">{'Tags'|@translate}</li>
{foreach from=$tags item=tag}
<li><a href="{$tag.URL}" title="{$tag.counter|@translate_dec:'%d photo':'%d photos'}">{$tag.name}</a><span class="ui-li-count">{$tag.counter|@translate_dec:'%d photo':'%d photos'}</span></li>
{/foreach}
</ul>
{elseif isset($letters)}
<ul data-role="listview" data-inset="true">
{foreach from=$letters item=letter}{foreach from=$letter.tags item=tag}
<li><a href="{$tag.URL}" title="{$tag.counter|@translate_dec:'%d photo':'%d photos'}">{$tag.name}</a><span class="ui-li-count">{$tag.counter|@translate_dec:'%d photo':'%d photos'}</span></li>
{/foreach}{/foreach}
</ul>{/if}
</div>

View File

@@ -0,0 +1,45 @@
{if !empty($thumbnails)}
{$row_height=216}
{$hmargin=4}
{$vmargin=5}
{$container_margin=-10}
{combine_script id='klass' path='themes/smartpocket/js/klass.min.js'}
{combine_script id='photoswipe' path='themes/smartpocket/js/code.photoswipe.jquery.min.js' require='klass,jquery.mobile'}
{combine_script id='smartpocket' path='themes/smartpocket/js/smartpocket.js' require='photoswipe'}
{combine_script id='sp.thumb.arrange' path='themes/smartpocket/js/thumb.arrange.js' require='jquery' load='footer'}
{footer_script}
var var_loop = {if $smartpocket.loop}true{else}false{/if}, var_autohide = {$smartpocket.autohide}, var_trad = "{'More Information'|@translate}";
var SPThumbsOpts ={ hMargin:{$hmargin},rowHeight:{$row_height}};
{/footer_script}
{$thumb_picker->init($row_height)}
{html_style}
.thumbnails .liEmpty{ display:none}
.thumbnails LI{ margin-left:{$hmargin}px; margin-bottom:{$vmargin}px}
.thumbnails { margin:0 {$container_margin}px 0 {$container_margin-$hmargin}px}
{/html_style}
{strip}
<ul class="thumbnails"
{if !empty($smartpocket_log_history.cat_id)}data-cat_id="{$smartpocket_log_history.cat_id}"{/if}
{if !empty($smartpocket_log_history.section)}data-section="{$smartpocket_log_history.section}"{/if}
{if !empty($smartpocket_log_history.tags_string)}data-tags_string="{$smartpocket_log_history.tags_string}"{/if}
>
{/strip}
{foreach from=$thumbnails item=thumbnail}{strip}
{$derivative=$thumb_picker->pick($thumbnail.src_image)}
{if isset($page_selection[$thumbnail.id])}
<li class="liVisible">
{if !isset($thumbnail.representative_ext)}
<a href="{$pwg->derivative_url($picture_derivative_params, $thumbnail.src_image)}" data-picture-url="{$thumbnail.URL}" data-image-id="{$thumbnail.id}" rel="external">
{else}
<a href="{$thumbnail.URL}" target="_blank" onClick="window.location='{$thumbnail.URL}'">
{/if}
<img src="{$derivative->get_url()}" {$derivative->get_size_htm()} alt="{$thumbnail.TN_ALT}">
{else}
<li class="liEmpty">
<a href="{$pwg->derivative_url($picture_derivative_params, $thumbnail.src_image)}" rel="external">
{/if}
</a></li>
{/strip}{/foreach}
</ul>
{/if}