Add new theme: Skeleton
This commit is contained in:
parent
2797bfdf02
commit
e44f7a506e
2
templates/skeleton/UTF-8/lang_de.inc.php
Normal file
2
templates/skeleton/UTF-8/lang_de.inc.php
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
<?php
|
||||||
|
@define('USE_CORENAV', 'Globale Navigation einbinden?');
|
2
templates/skeleton/UTF-8/lang_en.inc.php
Normal file
2
templates/skeleton/UTF-8/lang_en.inc.php
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
<?php
|
||||||
|
@define('USE_CORENAV', 'Use global navigation?');
|
52
templates/skeleton/commentform.tpl
Normal file
52
templates/skeleton/commentform.tpl
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
<div id="serendipityCommentFormC" class="serendipityCommentForm">
|
||||||
|
<div id="serendipity_replyform_0"></div>
|
||||||
|
<a id="serendipity_CommentForm"></a>
|
||||||
|
{if $is_moderate_comments}
|
||||||
|
<p class="serendipity_msg_important">{$CONST.COMMENTS_WILL_BE_MODERATED}</p>
|
||||||
|
{/if}
|
||||||
|
<form id="serendipity_comment" action="{$commentform_action}#feedback" method="post">
|
||||||
|
<input type="hidden" name="serendipity[entry_id]" value="{$commentform_id}">
|
||||||
|
|
||||||
|
<div class="form_field">
|
||||||
|
<label for="serendipity_commentform_name">{$CONST.NAME}{if $required_fields.name}*{/if}</label>
|
||||||
|
<input id="serendipity_commentform_name" class="u-full-width" type="text" name="serendipity[name]" value="{$commentform_name}"{if $required_fields.name} required{/if}>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form_field">
|
||||||
|
<label for="serendipity_commentform_email">{$CONST.EMAIL}{if $required_fields.email}*{/if}</label>
|
||||||
|
<input id="serendipity_commentform_email" class="u-full-width" type="email" name="serendipity[email]" value="{$commentform_email}"{if $required_fields.email} required{/if}>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form_field">
|
||||||
|
<label for="serendipity_commentform_url">{$CONST.HOMEPAGE}{if $required_fields.url}*{/if}</label>
|
||||||
|
<input id="serendipity_commentform_url" class="u-full-width" type="url" name="serendipity[url]" value="{$commentform_url}"{if $required_fields.url} required{/if}>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form_select">
|
||||||
|
<label for="serendipity_replyTo">{$CONST.IN_REPLY_TO}</label>
|
||||||
|
{$commentform_replyTo}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form_area">
|
||||||
|
<label for="serendipity_commentform_comment">{$CONST.COMMENT}{if $required_fields.comment}*{/if}</label>
|
||||||
|
<textarea id="serendipity_commentform_comment" class="u-full-width" rows="10" name="serendipity[comment]"{if $required_fields.comment} required{/if}>{$commentform_data}</textarea>
|
||||||
|
</div>
|
||||||
|
{serendipity_hookPlugin hook="frontend_comment" data=$commentform_entry}
|
||||||
|
{if $is_commentform_showToolbar}
|
||||||
|
<label for="checkbox_remember">
|
||||||
|
<input id="checkbox_remember" type="checkbox" name="serendipity[remember]" {$commentform_remember}>
|
||||||
|
<span class="label-body">{$CONST.REMEMBER_INFO}</span>
|
||||||
|
</label>
|
||||||
|
{if $is_allowSubscriptions}
|
||||||
|
<label for="checkbox_subscribe">
|
||||||
|
<input id="checkbox_subscribe" type="checkbox" name="serendipity[subscribe]" {$commentform_subscribe}>
|
||||||
|
<span class="label-body">{$CONST.SUBSCRIBE_TO_THIS_ENTRY}</span>
|
||||||
|
</label>
|
||||||
|
{/if}
|
||||||
|
{/if}
|
||||||
|
<div class="form_buttons">
|
||||||
|
<input id="serendipity_preview" type="submit" name="serendipity[preview]" value="{$CONST.PREVIEW}">
|
||||||
|
<input id="serendipity_submit" class="button-primary" type="submit" name="serendipity[submit]" value="{$CONST.SUBMIT_COMMENT}">
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
20
templates/skeleton/comments.tpl
Normal file
20
templates/skeleton/comments.tpl
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
{foreach from=$comments item=comment name="comments"}
|
||||||
|
<article id="c{$comment.id}" class="comment commentlevel_{if $comment.depth > 8}9{else}{$comment.depth}{/if}">
|
||||||
|
<h4>{if $comment.url}<a href="{$comment.url}">{/if}{$comment.author|default:$CONST.ANONYMOUS}{if $comment.url}</a>{/if} {$CONST.ON} <time datetime="{$comment.timestamp|serendipity_html5time}">{$comment.timestamp|formatTime:$template_option.date_format}</time>:</h4>
|
||||||
|
|
||||||
|
<div class="comment_content u-cf">
|
||||||
|
{if $comment.avatar}{$comment.avatar}{/if}
|
||||||
|
{if $comment.body == 'COMMENT_DELETED'}
|
||||||
|
<p class="serendipity_msg_important">{$CONST.COMMENT_IS_DELETED}</p>
|
||||||
|
{else}
|
||||||
|
{$comment.body}
|
||||||
|
{/if}
|
||||||
|
</div>
|
||||||
|
{if $entry.allow_comments AND $comment.body != 'COMMENT_DELETED'}
|
||||||
|
<a id="serendipity_reply_{$comment.id}" class="comment_reply" href="#serendipity_CommentForm" onclick="document.getElementById('serendipity_replyTo').value='{$comment.id}'; {$comment_onchange}">{$CONST.REPLY}</a>
|
||||||
|
<div id="serendipity_replyform_{$comment.id}"></div>
|
||||||
|
{/if}
|
||||||
|
</article>
|
||||||
|
{foreachelse}
|
||||||
|
<p class="serendipity_msg_notice">{$CONST.NO_COMMENTS}</p>
|
||||||
|
{/foreach}
|
61
templates/skeleton/config.inc.php
Normal file
61
templates/skeleton/config.inc.php
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
<?php
|
||||||
|
if (IN_serendipity !== true) { die ("Don't hack!"); }
|
||||||
|
|
||||||
|
@serendipity_plugin_api::load_language(dirname(__FILE__));
|
||||||
|
|
||||||
|
$serendipity['smarty']->assign(array('currpage' => "http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'],
|
||||||
|
'currpage2' => $_SERVER['REQUEST_URI']));
|
||||||
|
|
||||||
|
if (class_exists('serendipity_event_spamblock')) {
|
||||||
|
$required_fieldlist = serendipity_db_query("SELECT value FROM {$serendipity['dbPrefix']}config WHERE name LIKE '%spamblock%required_fields'", true, 'assoc');
|
||||||
|
} elseif (class_exists('serendipity_event_commentspice')) {
|
||||||
|
$required_fieldlist = serendipity_db_query("SELECT value FROM {$serendipity['dbPrefix']}config WHERE name LIKE '%commentspice%required_fields'", true, 'assoc');
|
||||||
|
}
|
||||||
|
|
||||||
|
if (is_array($required_fieldlist)) {
|
||||||
|
$required_fields = explode(',', $required_fieldlist['value']);
|
||||||
|
$smarty_required_fields = array();
|
||||||
|
|
||||||
|
foreach($required_fields AS $required_field) {
|
||||||
|
$required_field = trim($required_field);
|
||||||
|
|
||||||
|
if (empty($required_field)) continue;
|
||||||
|
$smarty_required_fields[$required_field] = $required_field;
|
||||||
|
}
|
||||||
|
|
||||||
|
$serendipity['smarty']->assign('required_fields', $smarty_required_fields);
|
||||||
|
}
|
||||||
|
|
||||||
|
$template_config = array(
|
||||||
|
array(
|
||||||
|
'var' => 'date_format',
|
||||||
|
'name' => GENERAL_PLUGIN_DATEFORMAT . " (http://php.net/strftime)",
|
||||||
|
'type' => 'select',
|
||||||
|
'default' => DATE_FORMAT_ENTRY,
|
||||||
|
'select_values' => array(DATE_FORMAT_ENTRY => DATE_FORMAT_ENTRY,
|
||||||
|
'%A, %e. %B %Y' => '%A, %e. %B %Y',
|
||||||
|
'%a, %e. %B %Y' => '%a, %e. %B %Y',
|
||||||
|
'%e. %B %Y' => '%e. %B %Y',
|
||||||
|
'%d.%m.%y' => '%d.%m.%y',
|
||||||
|
'%d.%m.%Y' => '%d.%m.%Y',
|
||||||
|
'%A, %m/%d/%Y' => '%A, %m/%d/%Y',
|
||||||
|
'%a, %m/%d/%y' => '%a, %m/%d/%y',
|
||||||
|
'%m/%d/%y' => '%m/%d/%y',
|
||||||
|
'%m/%d/%Y' => '%m/%d/%Y',
|
||||||
|
'%Y-%m-%d' => '%Y-%m-%d')
|
||||||
|
),
|
||||||
|
array(
|
||||||
|
'var' => 'use_corenav',
|
||||||
|
'name' => USE_CORENAV,
|
||||||
|
'type' => 'boolean',
|
||||||
|
'default' => true
|
||||||
|
)
|
||||||
|
);
|
||||||
|
|
||||||
|
$template_global_config = array('navigation' => true);
|
||||||
|
$template_loaded_config = serendipity_loadThemeOptions($template_config, $serendipity['smarty_vars']['template_option'], true);
|
||||||
|
serendipity_loadGlobalThemeOptions($template_config, $template_loaded_config, $template_global_config);
|
||||||
|
|
||||||
|
if ($_SESSION['serendipityUseTemplate']) {
|
||||||
|
$template_loaded_config['use_corenav'] = false;
|
||||||
|
}
|
7
templates/skeleton/content.tpl
Normal file
7
templates/skeleton/content.tpl
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{if $searchresult_tooShort or $searchresult_error or $searchresult_noEntries or $searchresult_results}
|
||||||
|
<p class="search_posts"><b>{$CONST.QUICKSEARCH}</b> {$content_message}</p>
|
||||||
|
{elseif $content_message}
|
||||||
|
<p>{$content_message}</p>
|
||||||
|
{/if}
|
||||||
|
{$ENTRIES}
|
||||||
|
{$ARCHIVES}
|
131
templates/skeleton/entries.tpl
Normal file
131
templates/skeleton/entries.tpl
Normal file
@ -0,0 +1,131 @@
|
|||||||
|
{serendipity_hookPlugin hook="entries_header" addData="$entry_id"}
|
||||||
|
{foreach from=$entries item="dategroup"}
|
||||||
|
{foreach from=$dategroup.entries item="entry"}
|
||||||
|
{assign var="entry" value=$entry scope=parent}
|
||||||
|
<article class="post{if $dategroup.is_sticky} post_sticky{/if}">
|
||||||
|
<header>
|
||||||
|
<h2><a href="{$entry.link}">{$entry.title}</a></h2>
|
||||||
|
|
||||||
|
<p class="post_byline">{$CONST.POSTED_BY} <a href="{$entry.link_author}">{$entry.author}</a> {$CONST.ON} <time datetime="{$entry.timestamp|serendipity_html5time}">{$entry.timestamp|formatTime:$template_option.date_format}</time></p>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<div class="post_content">
|
||||||
|
{if $entry.categories}{foreach from=$entry.categories item="entry_category"}{if $entry_category.category_icon}<a href="{$entry_category.category_link}"><img class="serendipity_entryIcon" title="{$entry_category.category_name|escape}{$entry_category.category_description|emptyPrefix}" alt="{$entry_category.category_name|escape}" src="{$entry_category.category_icon}"></a>{/if}{/foreach}{/if}
|
||||||
|
{$entry.body}
|
||||||
|
{if $entry.has_extended and not $is_single_entry and not $entry.is_extended}
|
||||||
|
<a class="button read_more" href="{$entry.link}#extended">{$CONST.VIEW_EXTENDED_ENTRY|sprintf:$entry.title}</a>
|
||||||
|
{/if}
|
||||||
|
</div>
|
||||||
|
{if $entry.is_extended}
|
||||||
|
<div id="extended" class="post_content">
|
||||||
|
{$entry.extended}
|
||||||
|
</div>
|
||||||
|
{/if}
|
||||||
|
|
||||||
|
<footer class="post_footer u-cf">
|
||||||
|
<div class="post_meta">
|
||||||
|
{if $entry.categories}
|
||||||
|
<span class="info_label">{$CONST.CATEGORIES}: </span>{foreach from=$entry.categories item="entry_category" name="categories"}<a href="{$entry_category.category_link}">{$entry_category.category_name|escape}</a>{if not $smarty.foreach.categories.last}, {/if}{/foreach}
|
||||||
|
{/if}
|
||||||
|
{if $entry.categories and $entry.has_comments} | {/if}
|
||||||
|
{if $entry.has_comments}
|
||||||
|
<a href="{$entry.link}#comments" title="{$entry.comments} {$entry.label_comments}{if $entry.has_trackbacks}, {$entry.trackbacks} {$entry.label_trackbacks}{/if}">{$entry.comments} {$entry.label_comments}</a>
|
||||||
|
{/if}
|
||||||
|
</div>
|
||||||
|
{$entry.add_footer}
|
||||||
|
{$entry.plugin_display_dat}
|
||||||
|
</footer>
|
||||||
|
<!--
|
||||||
|
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/">
|
||||||
|
<rdf:Description
|
||||||
|
rdf:about="{$entry.link_rdf}"
|
||||||
|
trackback:ping="{$entry.link_trackback}"
|
||||||
|
dc:title="{$entry.title_rdf|default:$entry.title}"
|
||||||
|
dc:identifier="{$entry.rdf_ident}" />
|
||||||
|
</rdf:RDF>
|
||||||
|
-->
|
||||||
|
{if $is_single_entry and not $use_popups and not $is_preview}
|
||||||
|
{if $CONST.DATA_UNSUBSCRIBED}
|
||||||
|
<p class="serendipity_msg_notice">{$CONST.DATA_UNSUBSCRIBED|sprintf:$CONST.UNSUBSCRIBE_OK}</p>
|
||||||
|
{/if}
|
||||||
|
{if $CONST.DATA_TRACKBACK_DELETED}
|
||||||
|
<p class="serendipity_msg_important">{$CONST.DATA_TRACKBACK_DELETED|sprintf:$CONST.TRACKBACK_DELETED}</p>
|
||||||
|
{/if}
|
||||||
|
{if $CONST.DATA_TRACKBACK_APPROVED}
|
||||||
|
<p class="serendipity_msg_notice">{$CONST.DATA_TRACKBACK_APPROVED|sprintf:$CONST.TRACKBACK_APPROVED}</p>
|
||||||
|
{/if}
|
||||||
|
{if $CONST.DATA_COMMENT_DELETED}
|
||||||
|
<p class="serendipity_msg_important">{$CONST.DATA_COMMENT_DELETED|sprintf:$CONST.COMMENT_DELETED}</p>
|
||||||
|
{/if}
|
||||||
|
{if $CONST.DATA_COMMENT_APPROVED}
|
||||||
|
<p class="serendipity_msg_notice">{$CONST.DATA_COMMENT_APPROVED|sprintf:$CONST.COMMENT_APPROVED}</p>
|
||||||
|
{/if}
|
||||||
|
<section id="trackbacks">
|
||||||
|
<h3>{$CONST.TRACKBACKS}</h3>
|
||||||
|
|
||||||
|
<a class="button trackback_url" rel="nofollow" href="{$entry.link_trackback}" onclick="alert('{$CONST.TRACKBACK_SPECIFIC_ON_CLICK|escape:'htmlall'}'); return false;" title="{$CONST.TRACKBACK_SPECIFIC_ON_CLICK|escape:'htmlall'}">{$CONST.TRACKBACK_SPECIFIC}</a>
|
||||||
|
|
||||||
|
{serendipity_printTrackbacks entry=$entry.id}
|
||||||
|
</section>
|
||||||
|
{/if}
|
||||||
|
{if $is_single_entry and not $is_preview}
|
||||||
|
<section id="comments">
|
||||||
|
<h3>{$CONST.COMMENTS}</h3>
|
||||||
|
|
||||||
|
<div class="comments_view">{$CONST.DISPLAY_COMMENTS_AS} {if $entry.viewmode eq $CONST.VIEWMODE_LINEAR}{$CONST.COMMENTS_VIEWMODE_LINEAR} | <a href="{$entry.link_viewmode_threaded}#comments" rel="nofollow">{$CONST.COMMENTS_VIEWMODE_THREADED}</a>{else}<a rel="nofollow" href="{$entry.link_viewmode_linear}#comments">{$CONST.COMMENTS_VIEWMODE_LINEAR}</a> | {$CONST.COMMENTS_VIEWMODE_THREADED}{/if}</div>
|
||||||
|
|
||||||
|
{serendipity_printComments entry=$entry.id mode=$entry.viewmode}
|
||||||
|
{if $entry.is_entry_owner}
|
||||||
|
{if $entry.allow_comments}
|
||||||
|
<a class="comments_enable" href="{$entry.link_deny_comments}">{$CONST.COMMENTS_DISABLE}</a>
|
||||||
|
{else}
|
||||||
|
<a class="comments_enable" href="{$entry.link_allow_comments}">{$CONST.COMMENTS_ENABLE}</a>
|
||||||
|
{/if}
|
||||||
|
{/if}
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<a id="feedback"></a>
|
||||||
|
{foreach from=$comments_messagestack item="message"}
|
||||||
|
<p class="serendipity_msg_important">{$message}</p>
|
||||||
|
{/foreach}
|
||||||
|
{if $is_comment_added}
|
||||||
|
<p class="serendipity_msg_notice">{$CONST.COMMENT_ADDED}</p>
|
||||||
|
{elseif $is_comment_moderate}
|
||||||
|
<p class="serendipity_msg_important">{$CONST.COMMENT_ADDED}{$CONST.THIS_COMMENT_NEEDS_REVIEW}</p>
|
||||||
|
{elseif not $entry.allow_comments}
|
||||||
|
<p class="serendipity_msg_important">{$CONST.COMMENTS_CLOSED}</p>
|
||||||
|
{else}
|
||||||
|
<section id="reply">
|
||||||
|
<h3>{$CONST.ADD_COMMENT}</h3>
|
||||||
|
{$COMMENTFORM}
|
||||||
|
</section>
|
||||||
|
{/if}
|
||||||
|
{/if}
|
||||||
|
{$entry.backend_preview}
|
||||||
|
</article>
|
||||||
|
{/foreach}
|
||||||
|
{foreachelse}
|
||||||
|
{if not $plugin_clean_page}
|
||||||
|
<p class="serendipity_msg_notice">{$CONST.NO_ENTRIES_TO_PRINT}</p>
|
||||||
|
{/if}
|
||||||
|
{/foreach}
|
||||||
|
{if not $is_preview}
|
||||||
|
{if $staticpage_pagetitle == ''}
|
||||||
|
<nav class="pager u-cf" role="navigation">
|
||||||
|
<p>{$footer_info}</p>
|
||||||
|
{if $footer_prev_page || $footer_next_page}
|
||||||
|
<ul class="plainList">
|
||||||
|
{if $footer_prev_page}
|
||||||
|
<li class="pager_prev u-pull-left"><a class="button button-primary" href="{$footer_prev_page}">{$CONST.PREVIOUS_PAGE}</a></li>
|
||||||
|
{/if}
|
||||||
|
{if $footer_next_page}
|
||||||
|
<li class="pager_next u-pull-right"><a class="button button-primary" href="{$footer_next_page}">{$CONST.NEXT_PAGE}</a></li>
|
||||||
|
{/if}
|
||||||
|
</ul>
|
||||||
|
{/if}
|
||||||
|
</nav>
|
||||||
|
{/if}
|
||||||
|
{/if}
|
||||||
|
{serendipity_hookPlugin hook="entries_footer"}
|
18
templates/skeleton/entries_archives.tpl
Normal file
18
templates/skeleton/entries_archives.tpl
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
{serendipity_hookPlugin hook="entries_header"}
|
||||||
|
<article class="archive archive_overview">
|
||||||
|
<h2>{$CONST.ARCHIVES}</h2>
|
||||||
|
{foreach from=$archives item="archive"}
|
||||||
|
<section class="archive_year">
|
||||||
|
<h3>{$archive.year}</h3>
|
||||||
|
|
||||||
|
<ul class="plainList">
|
||||||
|
{foreach from=$archive.months item="month"}
|
||||||
|
<li><span class="archive_date">{if $month.entry_count}<a href="{$month.link}" title="{$CONST.VIEW_FULL}">{/if}{$month.date|formatTime:"%B"}{if $month.entry_count}</a>{/if}:</span>
|
||||||
|
<span class="archive_count">{if $month.entry_count}<a href="{$month.link_summary}" title="{$CONST.VIEW_TOPICS}">{/if}{$month.entry_count} {$CONST.ENTRIES}{if $month.entry_count}</a>{/if}</span>
|
||||||
|
</li>
|
||||||
|
{/foreach}
|
||||||
|
</ul>
|
||||||
|
</section>
|
||||||
|
{/foreach}
|
||||||
|
</article>
|
||||||
|
{serendipity_hookPlugin hook="entries_footer"}
|
15
templates/skeleton/entries_summary.tpl
Normal file
15
templates/skeleton/entries_summary.tpl
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
{serendipity_hookPlugin hook="entries_header"}
|
||||||
|
<article class="archive archive_summary">
|
||||||
|
<h2>{$CONST.TOPICS_OF} {$dateRange.0|formatTime:"%B %Y"}</h2>
|
||||||
|
|
||||||
|
<ul class="plainList">
|
||||||
|
{foreach from=$entries item="sentries"}
|
||||||
|
{foreach from=$sentries.entries item="entry"}
|
||||||
|
<li><a href="{$entry.link}">{$entry.title}</a>
|
||||||
|
<span class="archive_byline">{$CONST.POSTED_BY} <a href="{$entry.link_author}">{$entry.author}</a> {$CONST.ON} <time datetime="{$entry.timestamp|serendipity_html5time}">{$entry.timestamp|formatTime:$template_option.date_format}</time></span>
|
||||||
|
</li>
|
||||||
|
{/foreach}
|
||||||
|
{/foreach}
|
||||||
|
</ul>
|
||||||
|
</article>
|
||||||
|
{serendipity_hookPlugin hook="entries_footer"}
|
BIN
templates/skeleton/img/xml.gif
Normal file
BIN
templates/skeleton/img/xml.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 652 B |
86
templates/skeleton/index.tpl
Normal file
86
templates/skeleton/index.tpl
Normal file
@ -0,0 +1,86 @@
|
|||||||
|
{if $is_embedded != true}
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="{$lang}">
|
||||||
|
<head>
|
||||||
|
<meta charset="{$head_charset}">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<title>{$head_title|default:$blogTitle}{if $head_subtitle} | {$head_subtitle}{/if}</title>
|
||||||
|
<meta name="generator" content="Serendipity v.{$head_version}">
|
||||||
|
{if ($view == "entry" || $view == "start" || $view == "feed" || $view == "plugin" || $staticpage_pagetitle != "" || $robots_index == 'index')}
|
||||||
|
<meta name="robots" content="index,follow">
|
||||||
|
{else}
|
||||||
|
<meta name="robots" content="noindex,follow">
|
||||||
|
{/if}
|
||||||
|
{if ($view == "entry")}
|
||||||
|
<link rel="canonical" href="{$entry.rdf_ident}">
|
||||||
|
{/if}
|
||||||
|
{if ($view == "start")}
|
||||||
|
<link rel="canonical" href="{$serendipityBaseURL}">
|
||||||
|
{/if}
|
||||||
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Raleway:400,300,600">
|
||||||
|
<link rel="stylesheet" href="{$head_link_stylesheet}">
|
||||||
|
<link rel="alternate" type="application/rss+xml" title="{$blogTitle} RSS feed" href="{$serendipityBaseURL}{$serendipityRewritePrefix}feeds/index.rss2">
|
||||||
|
<link rel="alternate" type="application/x.atom+xml" title="{$blogTitle} Atom feed" href="{$serendipityBaseURL}{$serendipityRewritePrefix}feeds/atom.xml">
|
||||||
|
{if $entry_id}
|
||||||
|
<link rel="pingback" href="{$serendipityBaseURL}comment.php?type=pingback&entry_id={$entry_id}">
|
||||||
|
{/if}
|
||||||
|
{serendipity_hookPlugin hook="frontend_header"}
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
{else}
|
||||||
|
{serendipity_hookPlugin hook="frontend_header"}
|
||||||
|
{/if}
|
||||||
|
{if $is_raw_mode != true}
|
||||||
|
<header class="page_header" role="banner">
|
||||||
|
<div class="container">
|
||||||
|
<div class="row">
|
||||||
|
<h1 class="twelve columns"><a href="{$serendipityBaseURL}">{$blogTitle}</a></h1>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</header>
|
||||||
|
{if $template_option.use_corenav}
|
||||||
|
<nav class="primary-nav" role="navigation">
|
||||||
|
<div class="container">
|
||||||
|
<div class="row">
|
||||||
|
<ul class="twelwe columsn plainList">{foreach from=$navlinks item="navlink" name="sbnav"}{if $navlink.title!=""&&$navlink.href!=""}<li>{if $currpage==$navlink.href or $currpage2==$navlink.href}<span>{else}<a href="{$navlink.href}">{/if}{$navlink.title}{if $currpage==$navlink.href or $currpage2==$navlink.href}</span>{else}</a>{/if}</li>{/if}{/foreach}</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
{/if}
|
||||||
|
<div class="container">
|
||||||
|
<div class="row">
|
||||||
|
<main class="eight columns" role="main">
|
||||||
|
{$CONTENT}
|
||||||
|
</main>
|
||||||
|
|
||||||
|
<aside class="four columns" role="complementary">
|
||||||
|
<section class="sidebar_widget sidebar_search">
|
||||||
|
<h3><label for="serendipityQuickSearchTermField">{$CONST.QUICKSEARCH}</label></h3>
|
||||||
|
|
||||||
|
<form id="searchform" action="{$serendipityHTTPPath}{$serendipityIndexFile}" method="get" role="search">
|
||||||
|
<input type="hidden" name="serendipity[action]" value="search">
|
||||||
|
<input id="serendipityQuickSearchTermField" name="serendipity[searchTerm]" type="search" placeholder="{$CONST.NEXT_PLACE_SEARCH}" value="">
|
||||||
|
<input id="searchsend" name="serendipity[searchButton]" type="submit" value="{$CONST.GO}">
|
||||||
|
</form>
|
||||||
|
{serendipity_hookPlugin hook="quicksearch_plugin" hookAll="true"}
|
||||||
|
</section>
|
||||||
|
{if $leftSidebarElements > 0}{serendipity_printSidebar side="left"}{/if}
|
||||||
|
{if $rightSidebarElements > 0}{serendipity_printSidebar side="right"}{/if}
|
||||||
|
</aside>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<footer class="page-footer" role="contentinfo">
|
||||||
|
<div class="container">
|
||||||
|
<div class="row">
|
||||||
|
<p class="twelve columns credit">Powered by <a href="http://s9y.org">Serendipity</a></p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</footer>
|
||||||
|
{/if}
|
||||||
|
{$raw_data}
|
||||||
|
{serendipity_hookPlugin hook="frontend_footer"}
|
||||||
|
{if $is_embedded != true}
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
{/if}
|
5
templates/skeleton/info.txt
Normal file
5
templates/skeleton/info.txt
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
Name: Skeleton
|
||||||
|
Author: Matthias Mees, based on http://getskeleton.com
|
||||||
|
Date: 2016-09-19
|
||||||
|
Require Serendipity: 2.0
|
||||||
|
Recommended: Yes
|
2
templates/skeleton/lang_de.inc.php
Normal file
2
templates/skeleton/lang_de.inc.php
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
<?php
|
||||||
|
@define('USE_CORENAV', 'Globale Navigation einbinden?');
|
2
templates/skeleton/lang_en.inc.php
Normal file
2
templates/skeleton/lang_en.inc.php
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
<?php
|
||||||
|
@define('USE_CORENAV', 'Use global navigation?');
|
22
templates/skeleton/plugin_categories.tpl
Normal file
22
templates/skeleton/plugin_categories.tpl
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
{if $is_form}
|
||||||
|
<form id="serendipity_category_form" action="{$form_url}" method="post">
|
||||||
|
{/if}
|
||||||
|
<ul class="serendipity_categories_list">
|
||||||
|
{foreach from=$categories item="plugin_category"}
|
||||||
|
<li class="category_depth{$plugin_category.catdepth}">
|
||||||
|
{if $is_form}
|
||||||
|
<input type="checkbox" name="serendipity[multiCat][]" value="{$plugin_category.categoryid}">
|
||||||
|
{/if}
|
||||||
|
{if !empty($category_image)}
|
||||||
|
<a class="serendipity_xml_icon" href="{$plugin_category.feedCategoryURL}"><img src="{$category_image}" alt="XML"></a>
|
||||||
|
{/if}
|
||||||
|
<a href="{$plugin_category.categoryURL}" title="{$plugin_category.category_description|escape}">{$plugin_category.category_name|escape}</a>
|
||||||
|
</li>
|
||||||
|
{/foreach}
|
||||||
|
</ul>
|
||||||
|
{if $is_form}
|
||||||
|
<input id="category_submit" class="button-primary" type="submit" name="serendipity[isMultiCat]" value="{$CONST.GO}">
|
||||||
|
{/if}
|
||||||
|
{if $is_form}
|
||||||
|
</form>
|
||||||
|
{/if}
|
48
templates/skeleton/plugin_contactform.tpl
Normal file
48
templates/skeleton/plugin_contactform.tpl
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
<article class="page">
|
||||||
|
<h2>{if $plugin_contactform_articleformat}{$plugin_contactform_name}{else}{$plugin_contactform_pagetitle}{/if}</h2>
|
||||||
|
|
||||||
|
<div class="page_content page_preface">
|
||||||
|
{$plugin_contactform_preface}
|
||||||
|
</div>
|
||||||
|
{if $is_contactform_sent}
|
||||||
|
<p class="serendipity_msg_notice">{$plugin_contactform_sent}</p>
|
||||||
|
{else}
|
||||||
|
{if $is_contactform_error}
|
||||||
|
<p class="serendipity_msg_important">{$plugin_contactform_error}</p>
|
||||||
|
{foreach from=$comments_messagestack item="message"}
|
||||||
|
<p class="serendipity_msg_important">{$message}</p>
|
||||||
|
{/foreach}
|
||||||
|
{/if}
|
||||||
|
<div class="serendipityCommentForm">
|
||||||
|
<a id="serendipity_CommentForm"></a>
|
||||||
|
<form id="serendipity_comment" action="{$commentform_action}#feedback" method="post">
|
||||||
|
<input type="hidden" name="serendipity[subpage]" value="{$commentform_sname}">
|
||||||
|
<input type="hidden" name="serendipity[commentform]" value="true">
|
||||||
|
|
||||||
|
<div class="form_field">
|
||||||
|
<label for="serendipity_commentform_name">{$CONST.NAME}{if $required_fields.name}*{/if}</label>
|
||||||
|
<input id="serendipity_commentform_name" class="u-full-width" type="text" name="serendipity[name]" value="{$commentform_name}"{if $required_fields.name} required{/if}>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form_field">
|
||||||
|
<label for="serendipity_commentform_email">{$CONST.EMAIL}{if $required_fields.email}*{/if}</label>
|
||||||
|
<input id="serendipity_commentform_email" class="u-full-width" type="email" name="serendipity[email]" value="{$commentform_email}"{if $required_fields.email} required{/if}>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form_field">
|
||||||
|
<label for="serendipity_commentform_url">{$CONST.HOMEPAGE}{if $required_fields.url}*{/if}</label>
|
||||||
|
<input id="serendipity_commentform_url" class="u-full-width" type="url" name="serendipity[url]" value="{$commentform_url}"{if $required_fields.url} required{/if}>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form_area">
|
||||||
|
<label for="serendipity_commentform_comment">{$CONST.COMMENT}{if $required_fields.comment}*{/if}</label>
|
||||||
|
<textarea id="serendipity_commentform_comment" class="u-full-width" rows="10" name="serendipity[comment]"{if $required_fields.comment} required{/if}>{$commentform_data}</textarea>
|
||||||
|
</div>
|
||||||
|
{serendipity_hookPlugin hook="frontend_comment" data=$commentform_entry}
|
||||||
|
<div class="form_buttons">
|
||||||
|
<input id="serendipity_submit" class="button-primary" type="submit" name="serendipity[submit]" value="{$CONST.SUBMIT_COMMENT}">
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
{/if}
|
||||||
|
</article>
|
34
templates/skeleton/plugin_staticpage.tpl
Normal file
34
templates/skeleton/plugin_staticpage.tpl
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
<article id="page_{$staticpage_pagetitle|makeFilename}" class="page">
|
||||||
|
<h2>{if $staticpage_articleformat}{if $staticpage_articleformattitle}{$staticpage_articleformattitle|escape}{else}{$staticpage_pagetitle}{/if}{else}{if $staticpage_headline}{$staticpage_headline|escape}{else}{$staticpage_pagetitle}{/if}{/if}</h2>
|
||||||
|
{if $staticpage_author or $staticpage_lastchange}
|
||||||
|
<footer class="page_info">
|
||||||
|
<p>{if $staticpage_author}{$CONST.POSTED_BY} {$staticpage_author|escape}{/if}
|
||||||
|
{if $staticpage_lastchange} {$CONST.ON} <time datetime="{$staticpage_lastchange|serendipity_html5time}">{$staticpage_lastchange|date_format:$template_option.date_format}</time>{/if}</p>
|
||||||
|
</footer>
|
||||||
|
{/if}
|
||||||
|
{if $staticpage_pass AND $staticpage_form_pass != $staticpage_pass}
|
||||||
|
<form class="staticpage_password_form" action="{$staticpage_form_url}" method="post">
|
||||||
|
<label for="serendipity_page_pass">{$CONST.STATICPAGE_PASSWORD_NOTICE}</label>
|
||||||
|
<input id="serendipity_page_pass" name="serendipity[pass]" type="password" value="">
|
||||||
|
<input class="button-primary" name="submit" type="submit" value="{$CONST.GO}" >
|
||||||
|
</form>
|
||||||
|
{else}
|
||||||
|
{if $staticpage_precontent}
|
||||||
|
<div class="page_content page_preface">
|
||||||
|
{$staticpage_precontent}
|
||||||
|
</div>
|
||||||
|
{/if}
|
||||||
|
{if $staticpage_content}
|
||||||
|
<div class="page_content">
|
||||||
|
{$staticpage_content}
|
||||||
|
</div>
|
||||||
|
{/if}
|
||||||
|
{/if}
|
||||||
|
{if is_array($staticpage_childpages)}
|
||||||
|
<ul class="page_children">
|
||||||
|
{foreach from=$staticpage_childpages item="childpage"}
|
||||||
|
<li><a href="{$childpage.permalink|escape}" title="{$childpage.pagetitle|escape}">{$childpage.pagetitle|escape}</a></li>
|
||||||
|
{/foreach}
|
||||||
|
</ul>
|
||||||
|
{/if}
|
||||||
|
</article>
|
13
templates/skeleton/plugin_staticpage_searchresults.tpl
Normal file
13
templates/skeleton/plugin_staticpage_searchresults.tpl
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
{if $staticpage_results}
|
||||||
|
<div class="page_results">
|
||||||
|
<h3>{$CONST.STATICPAGE_SEARCHRESULTS|sprintf:$staticpage_searchresults}</h3>
|
||||||
|
|
||||||
|
<ul class="plainList">
|
||||||
|
{foreach from=$staticpage_results item="result"}
|
||||||
|
<li><a href="{$result.permalink|escape}" title="{$result.pagetitle|escape} ({$result.realname})">{$result.headline}</a>
|
||||||
|
<div class="page_result_content">{$result.content|strip_tags|truncate:200:"..."}</div>
|
||||||
|
</li>
|
||||||
|
{/foreach}
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
{/if}
|
BIN
templates/skeleton/preview.png
Normal file
BIN
templates/skeleton/preview.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
BIN
templates/skeleton/preview_fullsize.jpg
Normal file
BIN
templates/skeleton/preview_fullsize.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 103 KiB |
44
templates/skeleton/preview_iframe.tpl
Normal file
44
templates/skeleton/preview_iframe.tpl
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="{$lang}">
|
||||||
|
<head>
|
||||||
|
<meta charset="{$head_charset}">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<title>{$CONST.SERENDIPITY_ADMIN_SUITE}</title>
|
||||||
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Raleway:400,300,600">
|
||||||
|
<link rel="stylesheet" href="{$serendipityHTTPPath}{$serendipityRewritePrefix}serendipity.css">
|
||||||
|
{serendipity_hookPlugin hook="backend_header" hookAll="true"}
|
||||||
|
<script src="{serendipity_getFile file='admin/js/plugins.js'}"></script>
|
||||||
|
<script src="{serendipity_getFile file='admin/serendipity_editor.js'}"></script>
|
||||||
|
<script>window.onload = function() {ldelim}
|
||||||
|
parent.document.getElementById('serendipity_iframe').style.height = document.querySelector('html').offsetHeight + 'px';
|
||||||
|
parent.document.getElementById('serendipity_iframe').scrolling = 'no';
|
||||||
|
parent.document.getElementById('serendipity_iframe').style.border = 0;
|
||||||
|
{rdelim}
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<main role="main">
|
||||||
|
{if $mode == 'preview'}
|
||||||
|
<div class="clearfix">
|
||||||
|
{elseif $mode == 'save'}
|
||||||
|
<div class="clearfix">
|
||||||
|
<div style="float: left; height: 75px"></div>
|
||||||
|
{$updertHooks}
|
||||||
|
{if $res}
|
||||||
|
<div class="serendipity_msg_important">{$CONST.ERROR}: <b>{$res}</b></div>
|
||||||
|
{else}
|
||||||
|
{if $lastSavedEntry}
|
||||||
|
<script type="text/javascript">$(document).ready(function() {
|
||||||
|
parent.document.forms['serendipityEntry']['serendipity[id]'].value = "{$lastSavedEntry}";
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
{/if}
|
||||||
|
<span class="msg_success"><span class="icon-ok-circled"></span> {$CONST.ENTRY_SAVED}</span>
|
||||||
|
<a href="{$entrylink}" target="_blank">{$CONST.VIEW}</a>
|
||||||
|
{/if}
|
||||||
|
{/if}
|
||||||
|
{$preview}
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
</body>
|
||||||
|
</html>
|
18
templates/skeleton/sidebar.tpl
Normal file
18
templates/skeleton/sidebar.tpl
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
{if $is_raw_mode}
|
||||||
|
<div id="serendipity{$pluginside}SideBar">
|
||||||
|
{/if}
|
||||||
|
{foreach from=$plugindata item=item}
|
||||||
|
{if $item.class != "serendipity_plugin_quicksearch"}
|
||||||
|
<section class="sidebar_widget {$item.class}">
|
||||||
|
{if $item.title != ""}
|
||||||
|
<h3>{$item.title}</h3>
|
||||||
|
{/if}
|
||||||
|
<div class="sidebar_content">
|
||||||
|
{$item.content}
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
{/if}
|
||||||
|
{/foreach}
|
||||||
|
{if $is_raw_mode}
|
||||||
|
</div>
|
||||||
|
{/if}
|
389
templates/skeleton/style.css
Normal file
389
templates/skeleton/style.css
Normal file
File diff suppressed because one or more lines are too long
10
templates/skeleton/trackbacks.tpl
Normal file
10
templates/skeleton/trackbacks.tpl
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{if $entry.trackbacks > 0}
|
||||||
|
<ul class="plainList">
|
||||||
|
{foreach from=$trackbacks item=trackback}
|
||||||
|
<li id="c{$trackback.id}" class="trackback">
|
||||||
|
<a class="trackback_title" href="{$trackback.url|@strip_tags}">{$trackback.title}</a>
|
||||||
|
<time class="trackback_timestamp" datetime="{$trackback.timestamp|serendipity_html5time}">{$trackback.timestamp|formatTime:$template_option.date_format}</time>
|
||||||
|
</li>
|
||||||
|
{/foreach}
|
||||||
|
</ul>
|
||||||
|
{/if}
|
Loading…
x
Reference in New Issue
Block a user