Move default-php and default-xml to spartacus
This commit is contained in:
parent
f3b2e9fe69
commit
50c42997cf
docs
templates
default-php
IMPORTANT-TODO
UTF-8
commentform.tplcommentpopup.tplcomments.tplcontent.tpldocumentation_cs.htmldocumentation_cz.htmlentries.tplentries_archives.tplentries_summary.tplfeed_0.91.tplfeed_1.0.tplfeed_2.0.tplfeed_atom0.3.tplfeed_atom1.0.tplfeed_opml1.0.tplindex.tplinfo.txtplugin_calendar.tplplugin_categories.tplpreview.pngpreview_iframe.tplsidebar.tpltemplate.inc.phptrackbacks.tpldefault-xml
@ -3,6 +3,12 @@
|
||||
Version 2.0-beta4/5/6 / RC? ()
|
||||
------------------------------------------------------------------------
|
||||
|
||||
* Proof of concept templates "default-php" and "default-xml" have
|
||||
been moved to Siber...Spartacus. They would need adapting to
|
||||
Serendipity 2.0 (simple methods like getConfigDir() et al),
|
||||
but since those Template APIs have virtually zero usage scenario,
|
||||
they remain experimental.
|
||||
|
||||
* Added new PAT_JS mod_rewrite rule to .htaccess files
|
||||
|
||||
* Removed experimental support for PHP/SMARTY IN-MEMORY caching
|
||||
|
@ -1,19 +0,0 @@
|
||||
CONVERTED FILES:
|
||||
|
||||
100% index.tpl
|
||||
100% content.tpl
|
||||
100% entries.tpl
|
||||
100% plugin_calendar.tpl
|
||||
100% sidebar.tpl
|
||||
|
||||
UNFINISHED:
|
||||
|
||||
plugin_categories.tpl
|
||||
preview_iframe.tpl
|
||||
entries_summary.tpl
|
||||
entries_archives.tpl
|
||||
comments.tpl
|
||||
commentpopup.tpl
|
||||
commentform.tpl
|
||||
trackbacks.tpl
|
||||
feed*.tpl
|
@ -1,38 +0,0 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<title>Dokumentace: Styl vzhledu default-php</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Dokumentace ke stylu vzhledu 'default-php'<br />
|
||||
<small>(default-php)</small></h1>
|
||||
<p>Dokumentaci k tomuto pluginu přeložil do češtiny Vladimír Ajgl (vlada [zavinac] ajgl [tecka] cz) dne 15.10.2011. Od té doby mohl být styl vzhledu pozměněn nebo mohly být rozšířené jeho funkce. Zkontrolujte pro jistotu i <a href="../IMPORTANT-TODO">anglické ToDo</a>.
|
||||
</p>
|
||||
|
||||
<h2>Popis stylu vzhledu</h2>
|
||||
<p>bez popis</p>
|
||||
|
||||
<h2>Nedodělky (ToDo)</h2>
|
||||
<ul>
|
||||
ZKONVERTOVANÉ SOUBORY:
|
||||
<li>100% index.tpl</li>
|
||||
<li>100% content.tpl</li>
|
||||
<li>100% entries.tpl</li>
|
||||
<li>100% plugin_calendar.tpl</li>
|
||||
<li>100% sidebar.tpl</li>
|
||||
</ul>
|
||||
<ul>
|
||||
NEDOKONČENO:
|
||||
<li>plugin_categories.tpl</li>
|
||||
<li>preview_iframe.tpl</li>
|
||||
<li>entries_summary.tpl</li>
|
||||
<li>entries_archives.tpl</li>
|
||||
<li>comments.tpl</li>
|
||||
<li>commentpopup.tpl</li>
|
||||
<li>commentform.tpl</li>
|
||||
<li>trackbacks.tpl</li>
|
||||
<li>feed*.tpl</li>
|
||||
</ul>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -1,38 +0,0 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<title>Dokumentace: Styl vzhledu default-php</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Dokumentace ke stylu vzhledu 'default-php'<br />
|
||||
<small>(default-php)</small></h1>
|
||||
<p>Dokumentaci k tomuto pluginu přeložil do češtiny Vladimír Ajgl (vlada [zavinac] ajgl [tecka] cz) dne 15.10.2011. Od té doby mohl být styl vzhledu pozměněn nebo mohly být rozšířené jeho funkce. Zkontrolujte pro jistotu i <a href="../IMPORTANT-TODO">anglické ToDo</a>.
|
||||
</p>
|
||||
|
||||
<h2>Popis stylu vzhledu</h2>
|
||||
<p>bez popis</p>
|
||||
|
||||
<h2>Nedodělky (ToDo)</h2>
|
||||
<ul>
|
||||
ZKONVERTOVANÉ SOUBORY:
|
||||
<li>100% index.tpl</li>
|
||||
<li>100% content.tpl</li>
|
||||
<li>100% entries.tpl</li>
|
||||
<li>100% plugin_calendar.tpl</li>
|
||||
<li>100% sidebar.tpl</li>
|
||||
</ul>
|
||||
<ul>
|
||||
NEDOKONČENO:
|
||||
<li>plugin_categories.tpl</li>
|
||||
<li>preview_iframe.tpl</li>
|
||||
<li>entries_summary.tpl</li>
|
||||
<li>entries_archives.tpl</li>
|
||||
<li>comments.tpl</li>
|
||||
<li>commentpopup.tpl</li>
|
||||
<li>commentform.tpl</li>
|
||||
<li>trackbacks.tpl</li>
|
||||
<li>feed*.tpl</li>
|
||||
</ul>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -1,60 +0,0 @@
|
||||
<div id="serendipityCommentFormC" class="serendipityCommentForm">
|
||||
<div id="serendipity_replyform_0"></div>
|
||||
<a id="serendipity_CommentForm"></a>
|
||||
<form id="serendipity_comment" action="<?= $GLOBALS['tpl']['commentform_action'] ?>#feedback" method="post">
|
||||
<div><input type="hidden" name="serendipity[entry_id]" value="<?= $GLOBALS['tpl']['commentform_id'] ?>" /></div>
|
||||
<table border="0" width="100%" cellpadding="3">
|
||||
<tr>
|
||||
<td class="serendipity_commentsLabel"><label for="serendipity_commentform_name"><?= NAME ?></label></td>
|
||||
<td class="serendipity_commentsValue"><input type="text" id="serendipity_commentform_name" name="serendipity[name]" value="<?= $GLOBALS['tpl']['commentform_name'] ?>" size="30" /></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="serendipity_commentsLabel"><label for="serendipity_commentform_email"><?= EMAIL ?></label></td>
|
||||
<td class="serendipity_commentsValue"><input type="text" id="serendipity_commentform_email" name="serendipity[email]" value="<?= $GLOBALS['tpl']['commentform_email'] ?>" /></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="serendipity_commentsLabel"><label for="serendipity_commentform_url"><?= HOMEPAGE ?></label></td>
|
||||
<td class="serendipity_commentsValue"><input type="text" id="serendipity_commentform_url" name="serendipity[url]" value="<?= $GLOBALS['tpl']['commentform_url'] ?>" /></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="serendipity_commentsLabel"><label for="serendipity_replyTo"><?= IN_REPLY_TO ?></label></td>
|
||||
<td class="serendipity_commentsValue"><?= $GLOBALS['tpl']['commentform_replyTo'] ?></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="serendipity_commentsLabel"><label for="serendipity_commentform_comment"><?= COMMENT ?></label></td>
|
||||
<td class="serendipity_commentsValue">
|
||||
<textarea rows="10" cols="40" id="serendipity_commentform_comment" name="serendipity[comment]"><?= $GLOBALS['tpl']['commentform_data'] ?></textarea><br />
|
||||
{serendipity_hookPlugin hook="frontend_comment" data=$commentform_entry}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
{if $is_commentform_showToolbar}
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td class="serendipity_commentsLabel">
|
||||
<input id="checkbox_remember" type="checkbox" name="serendipity[remember]" <?= $GLOBALS['tpl']['commentform_remember'] ?> /><label for="checkbox_remember"><?= REMEMBER_INFO ?></label>
|
||||
{if $is_allowSubscriptions}
|
||||
<br />
|
||||
<input id="checkbox_subscribe" type="checkbox" name="serendipity[subscribe]" <?= $GLOBALS['tpl']['commentform_subscribe'] ?> /><label for="checkbox_subscribe"><?= SUBSCRIBE_TO_THIS_ENTRY ?></label>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
|
||||
{if $is_moderate_comments}
|
||||
<tr>
|
||||
<td class="serendipity_commentsValue serendipity_msg_important" colspan="2"><?= COMMENTS_WILL_BE_MODERATED ?></td>
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td><input type="submit" name="serendipity[submit]" value="<?= SUBMIT_COMMENT ?>" /> <input type="submit" id="serendipity_preview" name="serendipity[preview]" value="<?= PREVIEW ?>" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
@ -1,61 +0,0 @@
|
||||
{if $is_xhtml}
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<?php else: ?>
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
||||
"http://www.w3.org/TR/html4/loose.dtd">
|
||||
<?php endif; ?>
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$lang}" lang="{$lang}">
|
||||
<head>
|
||||
<title>{$head_title|@default:$blogTitle} {if $head_subtitle} - <?= $GLOBALS['tpl']['head_subtitle'] ?><?php endif; ?></title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=<?= $GLOBALS['tpl']['head_charset'] ?>" />
|
||||
<meta name="generator" content="Serendipity v.<?= $GLOBALS['tpl']['serendipityVersion'] ?>" />
|
||||
<link rel="stylesheet" type="text/css" href="<?= $GLOBALS['tpl']['serendipityHTTPPath'] ?>serendipity.css.php" />
|
||||
<link rel="alternate" type="application/rss+xml" title="<?= $GLOBALS['tpl']['blogTitle'] ?> RSS feed" href="<?= $GLOBALS['tpl']['serendipityBaseURL'] ?><?= $GLOBALS['tpl']['serendipityRewritePrefix'] ?>feeds/index.rss2" />
|
||||
<link rel="alternate" type="application/x.atom+xml" title="<?= $GLOBALS['tpl']['blogTitle'] ?> Atom feed" href="<?= $GLOBALS['tpl']['serendipityBaseURL'] ?><?= $GLOBALS['tpl']['serendipityRewritePrefix'] ?>feeds/atom.xml" />
|
||||
</head>
|
||||
|
||||
<body class="s9y_wrap" id="serendipity_comment_page">
|
||||
|
||||
{if $is_comment_added}
|
||||
|
||||
<div class="popup_comments_message popup_comments_message_added"><?= COMMENT_ADDED ?><?= $GLOBALS['tpl']['comment_string']['0'] ?><a href="<?= $GLOBALS['tpl']['comment_url'] ?>"><?= $GLOBALS['tpl']['comment_string']['1'] ?></a><?= $GLOBALS['tpl']['comment_string']['2'] ?><a href="#" onclick="self.close()"><?= $GLOBALS['tpl']['comment_string']['3'] ?></a><?= $GLOBALS['tpl']['comment_string']['4'] ?></div>
|
||||
|
||||
{elseif $is_comment_notadded}
|
||||
|
||||
<div class="popup_comments_message popup_comments_message_notadded"><?= COMMENT_NOT_ADDED ?><?= $GLOBALS['tpl']['comment_string']['0'] ?><a href="<?= $GLOBALS['tpl']['comment_url'] ?>"><?= $GLOBALS['tpl']['comment_string']['1'] ?></a><?= $GLOBALS['tpl']['comment_string']['2'] ?><a href="#" onclick="self.close()"><?= $GLOBALS['tpl']['comment_string']['3'] ?></a><?= $GLOBALS['tpl']['comment_string']['4'] ?></div>
|
||||
|
||||
{elseif $is_comment_empty}
|
||||
|
||||
<div class="popup_comments_message popup_comments_message_empty"><?= $GLOBALS['tpl']['comment_string']['0'] ?><a href="#" onclick="history.go(-1)"><?= $GLOBALS['tpl']['comment_string']['1'] ?></a></div>
|
||||
|
||||
{elseif $is_showtrackbacks}
|
||||
|
||||
<div class="serendipity_commentsTitle"><?= TRACKBACKS ?></div>
|
||||
<dl>
|
||||
<dt><strong><?= TRACKBACK_SPECIFIC ?>:</strong></dt>
|
||||
<dd><a rel="nofollow" href="<?= $GLOBALS['tpl']['comment_url'] ?>"><?= $GLOBALS['tpl']['comment_url'] ?></a></dd>
|
||||
|
||||
<dt><strong><?= DIRECT_LINK ?>:</strong></dt>
|
||||
<dd><a href="<?= $GLOBALS['tpl']['comment_entryurl'] ?>"><?= $GLOBALS['tpl']['comment_entryurl'] ?></a></dd>
|
||||
</dl>
|
||||
|
||||
{serendipity_printTrackbacks entry=$entry_id}
|
||||
|
||||
{elseif $is_showcomments}
|
||||
|
||||
<div class="serendipity_commentsTitle"><?= COMMENTS ?></div>
|
||||
|
||||
{serendipity_printComments entry=$entry_id}
|
||||
{if $is_comment_allowed}
|
||||
<div class="serendipity_commentsTitle"><?= ADD_COMMENT ?></div>
|
||||
<?= $GLOBALS['tpl']['COMMENTFORM'] ?>
|
||||
<?php else: ?>
|
||||
<div class="serendipity_center serendipity_msg_important"><?= COMMENTS_CLOSED ?></div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -1,37 +0,0 @@
|
||||
{foreach from=$comments item=comment name="comments"}
|
||||
<a id="c<?= $comment['id'] ?>"></a>
|
||||
<div id="serendipity_comment_<?= $comment['id'] ?>" class="serendipity_comment serendipity_comment_author_{$comment.author|@makeFilename} {if $entry.author == $comment.author}serendipity_comment_author_self<?php endif; ?>{cycle values="comment_oddbox, comment_evenbox"}" style="padding-left: <?= $comment['depth']*20 ?>px">
|
||||
<div class="serendipity_commentBody">
|
||||
{if $comment.body == 'COMMENT_DELETED'}
|
||||
<?= COMMENT_IS_DELETED ?>
|
||||
<?php else: ?>
|
||||
<?= $comment['body'] ?>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<div class="serendipity_comment_source">
|
||||
<a class="comment_source_trace" href="#c<?= $comment['id'] ?>">#<?= $comment['trace'] ?></a>
|
||||
<span class="comment_source_author">
|
||||
{if $comment.email}
|
||||
<a href="mailto:<?= $comment['email'] ?>">{$comment.author|@default:$CONST.ANONYMOUS}</a>
|
||||
<?php else: ?>
|
||||
{$comment.author|@default:$CONST.ANONYMOUS}
|
||||
<?php endif; ?>
|
||||
</span>
|
||||
{if $comment.url}
|
||||
(<a class="comment_source_url" href="<?= $comment['url'] ?>" title="{$comment.url|@escape}"><?= HOMEPAGE ?></a>)
|
||||
<?php endif; ?>
|
||||
<?= ON ?>
|
||||
<span class="comment_source_date">{$comment.timestamp|@formatTime:$CONST.DATE_FORMAT_SHORT}</span>
|
||||
|
||||
{if $entry.is_entry_owner}
|
||||
(<a class="comment_source_ownerlink" href="<?= $comment['link_delete'] ?>" onclick="return confirm('<?= COMMENT_DELETE_CONFIRM|@sprintf:$comment.id:$comment.author ?>');"><?= DELETE ?></a>)
|
||||
<?php endif; ?>
|
||||
{if $entry.allow_comments AND $comment.body != 'COMMENT_DELETED'}
|
||||
(<a class="comment_reply" href="#serendipity_CommentForm" id="serendipity_reply_<?= $comment['id'] ?>" onclick="document.getElementById('serendipity_replyTo').value='<?= $comment['id'] ?>'; <?= $GLOBALS['tpl']['comment_onchange'] ?>"><?= REPLY ?></a>)
|
||||
<div id="serendipity_replyform_<?= $comment['id'] ?>"></div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
{foreachelse}
|
||||
<div class="serendipity_center nocomments"><?= NO_COMMENTS ?></div>
|
||||
<?php endforeach; ?>
|
@ -1,22 +0,0 @@
|
||||
<!-- CONTENT START -->
|
||||
|
||||
<?php if ($GLOBALS['tpl']['searchresult_tooShort']): ?>
|
||||
<h3 class="serendipity_date"><?= QUICKSEARCH ?></h3>
|
||||
<div class="serendipity_search serendipity_search_tooshort"><?= $GLOBALS['tpl']['content_message']; ?></div>
|
||||
<?php elseif ($GLOBALS['tpl']['searchresult_error']): ?>
|
||||
<h3 class="serendipity_date"><?= QUICKSEARCH ?></h3>
|
||||
<div class="serendipity_search serendipity_search_error"><?= $GLOBALS['tpl']['content_message']; ?></div>
|
||||
<?php elseif ($GLOBALS['tpl']['searchresult_noEntries']): ?>
|
||||
<h3 class="serendipity_date"><?= QUICKSEARCH ?></h3>
|
||||
<div class="serendipity_search serendipity_search_noentries"><?= $GLOBALS['tpl']['content_message']; ?></div>
|
||||
<?php elseif ($GLOBALS['tpl']['searchresult_results']): ?>
|
||||
<h3 class="serendipity_date"><?= QUICKSEARCH ?></h3>
|
||||
<div class="serendipity_search serendipity_search_results"><?= $GLOBALS['tpl']['content_message']; ?></div>
|
||||
<?php else: ?>
|
||||
<div class="serendipity_content_message"><?= $GLOBALS['tpl']['content_message']; ?></div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?= $GLOBALS['tpl']['ENTRIES']; ?>
|
||||
<?= $GLOBALS['tpl']['ARCHIVES']; ?>
|
||||
|
||||
<!-- CONTENT END -->
|
@ -1,38 +0,0 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1250">
|
||||
<title>Dokumentace: Styl vzhledu default-php</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Dokumentace ke stylu vzhledu 'default-php'<br />
|
||||
<small>(default-php)</small></h1>
|
||||
<p>Dokumentaci k tomuto pluginu pøeložil do èeštiny Vladimír Ajgl (vlada [zavinac] ajgl [tecka] cz) dne 15.10.2011. Od té doby mohl být styl vzhledu pozmìnìn nebo mohly být rozšíøené jeho funkce. Zkontrolujte pro jistotu i <a href="IMPORTANT-TODO">anglické ToDo</a>.
|
||||
</p>
|
||||
|
||||
<h2>Popis stylu vzhledu</h2>
|
||||
<p>bez popis</p>
|
||||
|
||||
<h2>Nedodìlky (ToDo)</h2>
|
||||
<ul>
|
||||
ZKONVERTOVANÉ SOUBORY:
|
||||
<li>100% index.tpl</li>
|
||||
<li>100% content.tpl</li>
|
||||
<li>100% entries.tpl</li>
|
||||
<li>100% plugin_calendar.tpl</li>
|
||||
<li>100% sidebar.tpl</li>
|
||||
</ul>
|
||||
<ul>
|
||||
NEDOKONÈENO:
|
||||
<li>plugin_categories.tpl</li>
|
||||
<li>preview_iframe.tpl</li>
|
||||
<li>entries_summary.tpl</li>
|
||||
<li>entries_archives.tpl</li>
|
||||
<li>comments.tpl</li>
|
||||
<li>commentpopup.tpl</li>
|
||||
<li>commentform.tpl</li>
|
||||
<li>trackbacks.tpl</li>
|
||||
<li>feed*.tpl</li>
|
||||
</ul>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -1,38 +0,0 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=iso-8859-2">
|
||||
<title>Dokumentace: Styl vzhledu default-php</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Dokumentace ke stylu vzhledu 'default-php'<br />
|
||||
<small>(default-php)</small></h1>
|
||||
<p>Dokumentaci k tomuto pluginu pøelo¾il do èe¹tiny Vladimír Ajgl (vlada [zavinac] ajgl [tecka] cz) dne 15.10.2011. Od té doby mohl být styl vzhledu pozmìnìn nebo mohly být roz¹íøené jeho funkce. Zkontrolujte pro jistotu i <a href="IMPORTANT-TODO">anglické ToDo</a>.
|
||||
</p>
|
||||
|
||||
<h2>Popis stylu vzhledu</h2>
|
||||
<p>bez popis</p>
|
||||
|
||||
<h2>Nedodìlky (ToDo)</h2>
|
||||
<ul>
|
||||
ZKONVERTOVANÉ SOUBORY:
|
||||
<li>100% index.tpl</li>
|
||||
<li>100% content.tpl</li>
|
||||
<li>100% entries.tpl</li>
|
||||
<li>100% plugin_calendar.tpl</li>
|
||||
<li>100% sidebar.tpl</li>
|
||||
</ul>
|
||||
<ul>
|
||||
NEDOKONÈENO:
|
||||
<li>plugin_categories.tpl</li>
|
||||
<li>preview_iframe.tpl</li>
|
||||
<li>entries_summary.tpl</li>
|
||||
<li>entries_archives.tpl</li>
|
||||
<li>comments.tpl</li>
|
||||
<li>commentpopup.tpl</li>
|
||||
<li>commentform.tpl</li>
|
||||
<li>trackbacks.tpl</li>
|
||||
<li>feed*.tpl</li>
|
||||
</ul>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -1,198 +0,0 @@
|
||||
<!-- ENTRIES START -->
|
||||
<?php serendipity_plugin_api::hook_event('entries_header', $GLOBALS['tpl']['entry_id']); ?>
|
||||
|
||||
<?php if (count($GLOBALS['tpl']['entries']) < 1): ?>
|
||||
<?= NO_ENTRIES_TO_PRINT ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php foreach($GLOBALS['tpl']['entries'] AS $dategroup): ?>
|
||||
<div class="serendipity_Entry_Date">
|
||||
<?php if ($dategroup['is_sticky']): ?>
|
||||
<h3 class="serendipity_date"><?= STICKY_POSTINGS ?></h3>
|
||||
<?php else: ?>
|
||||
<h3 class="serendipity_date"><?= serendipity_formatTime(DATE_FORMAT_ENTRY, $dategroup['date']); ?></h3>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php foreach($dategroup['entries'] AS $entry): ?>
|
||||
<h4 class="serendipity_title"><a href="<?= $entry['link'] ?>"><?= $entry['title'] ?></a></h4>
|
||||
|
||||
<div class="serendipity_entry serendipity_entry_author_<?= serendipity_makeFilename($entry['author']); ?> <?php if ($entry['is_entry_owner']): ?>serendipity_entry_author_self<?php endif; ?>">
|
||||
<?php if ($entry['categories']): ?>
|
||||
<span class="serendipity_entryIcon">
|
||||
<?php foreach($entry['categories'] AS $entry_category): ?>
|
||||
<?php if ($entry_category.category_icon): ?>
|
||||
<a href="<?= $entry_category['category_link'] ?>"><img class="serendipity_entryIcon" title="<?= htmlspecialchars($entry_category['category_name']) ?> <?= $entry_category['category_description'] ?>" alt="<?= htmlspecialchars($entry_category['category_name']) ?>" src="<?= $entry_category['category_icon'] ?>" /></a>
|
||||
<?php endif; ?>
|
||||
<?php endforeach; ?>
|
||||
</span>
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="serendipity_entry_body">
|
||||
<?= $entry['body'] ?>
|
||||
</div>
|
||||
|
||||
<?php if ($entry['is_extended']): ?>
|
||||
<div class="serendipity_entry_extended"><a id="extended"></a><?= $entry['extended'] ?></div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($entry['has_extended'] AND !$GLOBALS['tpl']['is_single_entry'] AND !$entry['is_extended']): ?>
|
||||
<br /><a href="<?= $entry['link'] ?>#extended"><?php printf(VIEW_EXTENDED_ENTRY, $entry['title']) ?></a><br /><br />
|
||||
<?php endif; ?>
|
||||
|
||||
<div class='serendipity_entryFooter'>
|
||||
<?= POSTED_BY ?> <a href="<?= $entry['link_author'] ?>"><?= $entry['author'] ?></a>
|
||||
<?php if ($entry['categories']): ?>
|
||||
<?= IN ?> <?php foreach($entry['categories'] AS $entry_category): ?><a href="<?= $entry_category['category_link'] ?>"><?= htmlspecialchars($entry_category['category_name']); ?></a>, <?php endforeach; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($dategroup['is_sticky']): ?>
|
||||
<?= ON ?>
|
||||
<?php else: ?>
|
||||
<?= AT ?>
|
||||
<?php endif; ?> <a href="<?= $entry['link'] ?>"><?php if ($dategroup['is_sticky']): ?><?= serendipity_formatTime(DATE_FORMAT_ENTRY, $entry['timestamp']); ?> <?php endif; ?><?= serendipity_formatTime('%H:%M', $entry['timestamp']); ?></a>
|
||||
|
||||
<?php if ($entry['has_comments']): ?>
|
||||
<?php if ($GLOBALS['tpl']['use_popups']): ?>
|
||||
| <a href="<?= $entry['link_popup_comments'] ?>" onclick="window.open(this.href, 'comments', 'width=480,height=480,scrollbars=yes'); return false;"><?= $entry['label_comments'] ?> (<?= $entry['comments'] ?>)</a>
|
||||
<?php else: ?>
|
||||
| <a href="<?= $entry['link'] ?>#comments"><?= $entry['label_comments'] ?> (<?= $entry['comments'] ?>)</a>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($entry['has_trackbacks']): ?>
|
||||
<?php if ($GLOBALS['tpl']['use_popups']): ?>
|
||||
| <a href="<?= $entry['link_popup_trackbacks'] ?>" onclick="window.open(this.href, 'comments', 'width=480,height=480,scrollbars=yes'); return false;"><?= $entry['label_trackbacks'] ?> (<?= $entry['trackbacks'] ?>)</a>
|
||||
<?php else: ?>
|
||||
| <a href="<?= $entry['link'] ?>#trackbacks"><?= $entry['label_trackbacks'] ?> (<?= $entry['trackbacks'] ?>)</a>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($entry['is_entry_owner'] AND !$GLOBALS['tpl']['is_preview']): ?>
|
||||
| <a href="<?= $entry['link_edit'] ?>"><?= EDIT_ENTRY; ?></a>
|
||||
<?php endif; ?>
|
||||
|
||||
<?= $entry['add_footer'] ?>
|
||||
</div>
|
||||
</div>
|
||||
<!--
|
||||
<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="<?= $GLOBALS['template']->getdefault($entry['title_rdf'], $entry['title']) ?>"
|
||||
dc:identifier="<?= $entry['rdf_ident'] ?>" />
|
||||
</rdf:RDF>
|
||||
-->
|
||||
<?= $entry['plugin_display_dat'] ?>
|
||||
|
||||
<?php if ($GLOBALS['tpl']['is_single_entry'] AND !$GLOBALS['tpl']['use_popups'] AND !$GLOBALS['tpl']['is_preview']): ?>
|
||||
<?php if (defined('DATA_UNSUBSCRIBED')): ?>
|
||||
<br /><div class="serendipity_center serendipity_msg_notice"><? printf(DATA_UNSUBSCRIBED, UNSUBSCRIBE_OK) ?></div><br />
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (defined('DATA_TRACKBACK_DELETED')): ?>
|
||||
<br /><div class="serendipity_center serendipity_msg_notice"><? printf(DATA_TRACKBACK_DELETED, TRACKBACK_DELETED) ?></div><br />
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (defined('DATA_TRACKBACK_APPROVED')): ?>
|
||||
<br /><div class="serendipity_center serendipity_msg_notice"><? printf(DATA_TRACKBACK_APPROVED, TRACKBACK_APPROVED) ?></div><br />
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (defined('DATA_COMMENT_DELETED')): ?>
|
||||
<br /><div class="serendipity_center serendipity_msg_notice"><? printf(DATA_COMMENT_DELETED, COMMENT_DELETED) ?></div><br />
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (defined('DATA_COMMENT_APPROVED')): ?>
|
||||
<br /><div class="serendipity_center serendipity_msg_notice"><? printf(DATA_COMMENT_APPROVED, COMMENT_APPROVED) ?></div><br />
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="serendipity_comments serendipity_section_trackbacks">
|
||||
<br />
|
||||
<a id="trackbacks"></a>
|
||||
<div class="serendipity_commentsTitle"><?= TRACKBACKS ?></div>
|
||||
<div class="serendipity_center">
|
||||
<a rel="nofollow" style="font-weight: normal" href="<?= $entry['link_trackback'] ?>" onclick="alert('<?= htmlspecialchars(TRACKBACK_SPECIFIC_ON_CLICK) ?>'); return false;" title="<?= htmlspecialchars(TRACKBACK_SPECIFIC_ON_CLICK) ?>"><?= TRACKBACK_SPECIFIC; ?></a>
|
||||
</div>
|
||||
<br />
|
||||
<?php echo serendipity_printTrackbacks(serendipity_fetchTrackbacks($entry['id'])) ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($GLOBALS['tpl']['is_single_entry'] AND !$GLOBALS['tpl']['is_preview']): ?>
|
||||
<div class="serendipity_comments serendipity_section_comments">
|
||||
<br />
|
||||
<a id="comments"></a>
|
||||
<div class="serendipity_commentsTitle"><?= COMMENTS; ?></div>
|
||||
<div class="serendipity_center"><?= DISPLAY_COMMENTS_AS; ?>
|
||||
<?php if ($entry['viewmode'] == VIEWMODE_LINEAR): ?>
|
||||
(<?= COMMENTS_VIEWMODE_LINEAR; ?> | <a href="<?= $entry['link_viewmode_threaded'] ?>#comments" rel="nofollow"><?= COMMENTS_VIEWMODE_THREADED; ?></a>)
|
||||
<?php else: ?>
|
||||
(<a rel="nofollow" href="<?= $entry['link_viewmode_linear'] ?>#comments"><?= COMMENTS_VIEWMODE_LINEAR; ?></a> | <?= COMMENTS_VIEWMODE_THREADED; ?>)
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<br />
|
||||
<?php $GLOBALS['template']->call('printComments', array('entry' => $entry['id'], 'mode' => $entry['viewmode'])); ?>
|
||||
|
||||
<?php if ($entry['is_entry_owner']): ?>
|
||||
<?php if ($entry['allow_comments']): ?>
|
||||
<div class="serendipity_center">(<a href="<?= $entry['link_deny_comments'] ?>"><?= COMMENTS_DISABLE ?></a>)</div>
|
||||
<?php else: ?>
|
||||
<div class="serendipity_center">(<a href="<?= $entry['link_allow_comments'] ?>"><?= COMMENTS_ENABLE ?></a>)</div>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<a id="feedback"></a>
|
||||
|
||||
<?php foreach($GLOBALS['tpl']['comments_messagestack'] AS $message): ?>
|
||||
<div class="serendipity_center serendipity_msg_important"><?= $GLOBALS['tpl']['message'] ?></div>
|
||||
<?php endforeach; ?>
|
||||
|
||||
<?php if ($GLOBALS['tpl']['is_comment_added']): ?>
|
||||
|
||||
<br />
|
||||
<div class="serendipity_center serendipity_msg_notice"><?= COMMENT_ADDED; ?></div>
|
||||
|
||||
<?php elseif ($GLOBALS['tpl']['is_comment_moderate']): ?>
|
||||
|
||||
<br />
|
||||
<div class="serendipity_center serendipity_msg_notice"><?= COMMENT_ADDED; ?><br /><?= THIS_COMMENT_NEEDS_REVIEW ?></div>
|
||||
|
||||
<?php elseif ($entry['allow_comments']): ?>
|
||||
|
||||
<br />
|
||||
<div class="serendipity_center serendipity_msg_important"><?= COMMENTS_CLOSED; ?></div>
|
||||
|
||||
<?php else: ?>
|
||||
|
||||
<br />
|
||||
<div class="serendipity_section_commentform">
|
||||
<div class="serendipity_commentsTitle"><?= ADD_COMMENT; ?></div>
|
||||
<?= $GLOBALS['tpl']['COMMENTFORM']; ?>
|
||||
</div>
|
||||
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?= $entry['backend_preview'] ?>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
|
||||
<div class='serendipity_entryFooter' style="text-align: center">
|
||||
<?php if ($GLOBALS['tpl']['footer_prev_page']): ?>
|
||||
<a href="<?= $GLOBALS['tpl']['footer_prev_page'] ?>">« <?= PREVIOUS_PAGE; ?></a>  
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($GLOBALS['tpl']['footer_info']): ?>
|
||||
(<?= $GLOBALS['tpl']['footer_info'] ?>)
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($GLOBALS['tpl']['footer_next_page']): ?>
|
||||
<a href="<?= $GLOBALS['tpl']['footer_next_page'] ?>">» <?= NEXT_PAGE; ?></a>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php serendipity_plugin_api::hook_event('entries_footer', $GLOBALS['template']); ?>
|
||||
</div>
|
||||
<!-- ENTRIES END -->
|
@ -1,20 +0,0 @@
|
||||
{serendipity_hookPlugin hook="entries_header"}
|
||||
<h3 class="serendipity_date"><?= ARCHIVES ?></h3>
|
||||
{foreach from=$archives item="archive"}
|
||||
<table class="archives_listing" cellspacing="4" cellpadding="4" border="0">
|
||||
<tr class="archives_header">
|
||||
<td class="archives_header" colspan="4"><h2><?= $archive['year'] ?></h2></td>
|
||||
</tr>
|
||||
{foreach from=$archive.months item="month"}
|
||||
<tr class="archives_row">
|
||||
<td class="archives_graph" width="100"><img src="{serendipity_getFile file="img/graph_bar_horisontal.png"}" height="10" width="{math width=100 equation="count * width / max" count=$month.entry_count max=$max_entries format="%d"}" style="border: 1px solid #000000"></td>
|
||||
<td class="archives_date">{$month.date|@formatTime:"%B"}</td>
|
||||
<td class="archives_count"><?= $month['entry_count'] ?> <?= ENTRIES ?></td>
|
||||
<td class="archives_count_link">({if $month.entry_count}<a href="<?= $month['link'] ?>"><?php endif; ?><?= VIEW_FULL ?>{if $month.entry_count}</a><?php endif; ?>)</td>
|
||||
<td class="archives_link">({if $month.entry_count}<a href="<?= $month['link_summary'] ?>"><?php endif; ?><?= VIEW_TOPICS ?>{if $month.entry_count}</a><?php endif; ?>)</td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</table>
|
||||
<?php endforeach; ?>
|
||||
<div class="serendipity_pageFooter" style="text-align: center">
|
||||
{serendipity_hookPlugin hook="entries_footer"}</div>
|
@ -1,15 +0,0 @@
|
||||
{serendipity_hookPlugin hook="entries_header"}
|
||||
<div class='serendipity_date'><?= TOPICS_OF ?> {$dateRange.0|@formatTime:"%B, %Y"}</div>
|
||||
|
||||
<div class="serendipity_entry">
|
||||
<ul>
|
||||
{foreach from=$entries item="sentries"}
|
||||
{foreach from=$sentries.entries item="entry"}
|
||||
<li><a href="<?= $entry['link'] ?>"><?= $entry['title'] ?></a>
|
||||
<div class="summary_posted_by"><?= POSTED_BY ?> <span class="posted_by_author"><?= $entry['author'] ?></span> <?= ON ?> <span class="posted_by_date">{$entry.timestamp|@formatTime:DATE_FORMAT_ENTRY}</span></div></li>
|
||||
<?php endforeach; ?>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</div>
|
||||
<div class='serendipity_entryFooter' style="text-align: center">
|
||||
{serendipity_hookPlugin hook="entries_footer"}</div>
|
@ -1,26 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
|
||||
<rss version="0.91" <?= $GLOBALS['tpl']['namespace_display_dat'] ?>>
|
||||
<channel>
|
||||
<title><?= $GLOBALS['tpl']['metadata']['title'] ?></title>
|
||||
<link><?= $GLOBALS['tpl']['metadata']['link'] ?></link>
|
||||
<description><?= $GLOBALS['tpl']['metadata']['description'] ?></description>
|
||||
<language><?= $GLOBALS['tpl']['metadata']['language'] ?></language>
|
||||
<?= $GLOBALS['tpl']['metadata']['additional_fields']['image'] ?>
|
||||
|
||||
{foreach from=$entries item="entry"}
|
||||
<item>
|
||||
<title><?= $entry['feed_title'] ?></title>
|
||||
<link><?= $entry['feed_entryLink'] ?></link>
|
||||
|
||||
{if !empty($entry.body)}
|
||||
<description>
|
||||
{$entry.feed_body|@escape} {$entry.feed_ext|@escape}
|
||||
</description>
|
||||
{/if}
|
||||
</item>
|
||||
{/foreach}
|
||||
|
||||
</channel>
|
||||
</rss>
|
||||
|
@ -1,59 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
|
||||
<rdf:RDF <?= $GLOBALS['tpl']['namespace_display_dat'] ?>
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:admin="http://webns.net/mvcb/"
|
||||
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
|
||||
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
|
||||
xmlns="http://my.netscape.com/rdf/simple/0.9/">
|
||||
<channel>
|
||||
<title><?= $GLOBALS['tpl']['metadata']['title'] ?></title>
|
||||
<link><?= $GLOBALS['tpl']['metadata']['link'] ?></link>
|
||||
<description><?= $GLOBALS['tpl']['metadata']['description'] ?></description>
|
||||
<dc:language><?= $GLOBALS['tpl']['metadata']['language'] ?></dc:language>
|
||||
{if $metadata.showMail}
|
||||
<admin:errorReportsTo rdf:resource="mailto:<?= $GLOBALS['tpl']['metadata']['email'] ?>" />
|
||||
{/if}
|
||||
|
||||
<?= $GLOBALS['tpl']['metadata']['additional_fields']['image_rss10_channel'] ?>
|
||||
|
||||
<items>
|
||||
<rdf:Seq>
|
||||
{foreach from=$entries item="entry"}
|
||||
<rdf:li resource="{serendipity_rss_getguid entry=$entry is_comments=$is_comments}" />
|
||||
{/foreach}
|
||||
</rdf:Seq>
|
||||
</items>
|
||||
</channel>
|
||||
|
||||
<?= $GLOBALS['tpl']['metadata']['additional_fields']['image_rss10_rdf'] ?>
|
||||
<?= $GLOBALS['tpl']['once_display_dat'] ?>
|
||||
|
||||
{foreach from=$entries item="entry"}
|
||||
<item rdf:about="<?= $entry['feed_guid'] ?>">
|
||||
<title><?= $entry['feed_title'] ?></title>
|
||||
<link><?= $entry['feed_entryLink'] ?></link>
|
||||
{if !empty($entry.body)}
|
||||
<description>
|
||||
{$entry.feed_body|@escape} {$entry.feed_ext|@escape}
|
||||
</description>
|
||||
{/if}
|
||||
|
||||
<dc:publisher><?= $entry['feed_blogTitle'] ?></dc:publisher>
|
||||
<dc:creator><?= $entry['feed_email'] ?> (<?= $entry['feed_author'] ?>)</dc:creator>
|
||||
<dc:subject>
|
||||
{foreach from=$entry.categories item="cat"}<?= $cat['feed_category_name'] ?>, {/foreach}</dc:subject>
|
||||
<dc:date><?= $entry['feed_timestamp'] ?></dc:date>
|
||||
<wfw:comment><?= $GLOBALS['tpl']['serendipityBaseURL'] ?>wfwcomment.php?cid=<?= $entry['feed_id'] ?></wfw:comment>
|
||||
{if !$is_comments}
|
||||
<slash:comments><?= $entry['comments'] ?></slash:comments>
|
||||
<wfw:commentRss><?= $GLOBALS['tpl']['serendipityBaseURL'] ?>rss.php?version=<?= $GLOBALS['tpl']['metadata']['version'] ?>&type=comments&cid=<?= $entry['feed_id'] ?></wfw:commentRss>
|
||||
{/if}
|
||||
<?= $entry['per_entry_display_dat'] ?>
|
||||
</item>
|
||||
{/foreach}
|
||||
|
||||
</rdf:RDF>
|
||||
|
@ -1,53 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
|
||||
<rss version="2.0"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:admin="http://webns.net/mvcb/"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
|
||||
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
|
||||
xmlns:content="http://purl.org/rss/1.0/modules/content/"
|
||||
{$namespace_display_dat}>
|
||||
<channel>
|
||||
<title>{$metadata.title}</title>
|
||||
<link>{$metadata.link}</link>
|
||||
<description>{$metadata.description}</description>
|
||||
<dc:language>{$metadata.language}</dc:language>
|
||||
{if $metadata.showMail}
|
||||
<admin:errorReportsTo rdf:resource="mailto:{$metadata.email}" />
|
||||
{/if}
|
||||
<generator>Serendipity {$serendipityVersion} - http://www.s9y.org/</generator>
|
||||
{$metadata.additional_fields.channel}
|
||||
{$metadata.additional_fields.image}
|
||||
|
||||
{foreach from=$entries item="entry"}
|
||||
<item>
|
||||
<title>{$entry.feed_title}</title>
|
||||
<link>{$entry.feed_entryLink}</link>
|
||||
{foreach from=$entry.categories item="cat"}
|
||||
<category>{$cat.feed_category_name}</category>
|
||||
{/foreach}
|
||||
|
||||
<comments>{$entry.feed_entryLink}#comments</comments>
|
||||
<wfw:comment>{$serendipityBaseURL}wfwcomment.php?cid={$entry.feed_id}</wfw:comment>
|
||||
|
||||
{if !$is_comments}
|
||||
<slash:comments>{$entry.comments}</slash:comments>
|
||||
<wfw:commentRss>{$serendipityBaseURL}rss.php?version={$metadata.version}&type=comments&cid={$entry.feed_id}</wfw:commentRss>
|
||||
{/if}
|
||||
|
||||
<author>{$entry.feed_email} ({$entry.feed_author})</author>
|
||||
{if !empty($entry.body)}
|
||||
<content:encoded>
|
||||
{$entry.feed_body|@escape} {$entry.feed_ext|@escape}
|
||||
</content:encoded>
|
||||
{/if}
|
||||
|
||||
<pubDate>{$entry.feed_timestamp_r}</pubDate>
|
||||
<guid isPermaLink="false">{$entry.feed_guid}</guid>
|
||||
{$entry.per_entry_display_dat}
|
||||
</item>
|
||||
{/foreach}
|
||||
|
||||
</channel>
|
||||
</rss>
|
@ -1,56 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<?xml-stylesheet href="{serendipity_getFile file='atom.css'}" type="text/css" ?>
|
||||
|
||||
<feed version="0.3" {$namespace_display_dat}
|
||||
xmlns="http://purl.org/atom/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:admin="http://webns.net/mvcb/"
|
||||
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
|
||||
xmlns:wfw="http://wellformedweb.org/CommentAPI/">
|
||||
<link href="{$serendipityBaseURL}rss.php?version=atom0.3" rel="service.feed" title="{$metadata.title}" type="application/x.atom+xml" />
|
||||
<link href="{$serendipityBaseURL}" rel="alternate" title="{$metadata.title}" type="text/html" />
|
||||
<link href="{$serendipityBaseURL}rss.php?version=2.0" rel="alternate" title="{$metadata.title}" type="application/rss+xml" />
|
||||
<title mode="escaped" type="text/html">{$metadata.title}</title>
|
||||
<tagline mode="escaped" type="text/html">{$metadata.description}</tagline>
|
||||
<id>{$metadata.link}</id>
|
||||
<modified>{$last_modified}</modified>
|
||||
<generator url="http://www.s9y.org/" version="{$serendipityVersion}">Serendipity {$serendipityVersion} - http://www.s9y.org/</generator>
|
||||
<dc:language>{$metadata.language}</dc:language>
|
||||
{if $metadata.showMail}
|
||||
<admin:errorReportsTo rdf:resource="mailto:{$metadata.email}" />
|
||||
{/if}
|
||||
<info mode="xml" type="text/html">
|
||||
<div xmlns="http://www.w3.org/1999/xhtml">You are viewing an ATOM formatted XML site feed. Usually this file is inteded to be viewed in an aggregator or syndication software. If you want to know more about ATOM, please visist <a href="http://atomenabled.org/">Atomenabled.org</a></div>
|
||||
</info>
|
||||
|
||||
{foreach from=$entries item="entry"}
|
||||
<entry>
|
||||
<link href="{$entry.feed_entryLink}" rel="alternate" title="{$entry.feed_title}" type="text/html" />
|
||||
<author>
|
||||
<name>{$entry.feed_author}</name>
|
||||
<email>{$entry.feed_email}</email>
|
||||
</author>
|
||||
|
||||
<issued>{$entry.feed_timestamp}</issued>
|
||||
<created>{$entry.feed_timestamp}</created>
|
||||
<modified>{$entry.feed_last_modified}</modified>
|
||||
<wfw:comment>{$serendipityBaseURL}wfwcomment.php?cid={$entry.feed_id}</wfw:comment>
|
||||
{if !$is_comments}
|
||||
<slash:comments>{$entry.comments}</slash:comments>
|
||||
<wfw:commentRss>{$serendipityBaseURL}rss.php?version={$metadata.version}&type=comments&cid={$entry.feed_id}</wfw:commentRss>
|
||||
{/if}
|
||||
<id>{$entry.feed_guid}</id>
|
||||
<title mode="escaped" type="text/html">{$entry.feed_title}</title>
|
||||
{if !empty($entry.body)}
|
||||
<content type="application/xhtml+xml" xml:base="{$serendipityBaseURL}">
|
||||
<div xmlns="http://www.w3.org/1999/xhtml">
|
||||
{$entry.feed_body} {$entry.feed_ext}
|
||||
</div>
|
||||
</content>
|
||||
{/if}
|
||||
|
||||
{$entry.per_entry_display_dat}
|
||||
</entry>
|
||||
{/foreach}
|
||||
</feed>
|
@ -1,59 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<?xml-stylesheet href="{serendipity_getFile file='atom.css'}" type="text/css" ?>
|
||||
|
||||
<feed {$namespace_display_dat}
|
||||
xmlns="http://www.w3.org/2005/Atom"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:admin="http://webns.net/mvcb/"
|
||||
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
|
||||
xmlns:wfw="http://wellformedweb.org/CommentAPI/">
|
||||
<link href="{$self_url}" rel="self" title="{$metadata.title}" type="application/atom+xml" />
|
||||
<link href="{$serendipityBaseURL}" rel="alternate" title="{$metadata.title}" type="text/html" />
|
||||
<link href="{$serendipityBaseURL}rss.php?version=2.0" rel="alternate" title="{$metadata.title}" type="application/rss+xml" />
|
||||
<title type="html">{$metadata.title}</title>
|
||||
<subtitle type="html">{$metadata.description}</subtitle>
|
||||
{$metadata.additional_fields.image_atom10}
|
||||
<id>{$metadata.link}</id>
|
||||
<updated>{$last_modified}</updated>
|
||||
<generator uri="http://www.s9y.org/" version="{$serendipityVersion}">Serendipity {$serendipityVersion} - http://www.s9y.org/</generator>
|
||||
<dc:language>{$metadata.language}</dc:language>
|
||||
{if $metadata.showMail}
|
||||
<admin:errorReportsTo rdf:resource="mailto:{$metadata.email}" />
|
||||
{/if}
|
||||
|
||||
{foreach from=$entries item="entry"}
|
||||
<entry>
|
||||
<link href="{$entry.feed_entryLink}" rel="alternate" title="{$entry.feed_title}" />
|
||||
<author>
|
||||
<name>{$entry.feed_author}</name>
|
||||
<email>{$entry.feed_email}</email>
|
||||
</author>
|
||||
|
||||
<published>{$entry.feed_timestamp}</published>
|
||||
<updated>{$entry.feed_last_modified}</updated>
|
||||
<wfw:comment>{$serendipityBaseURL}wfwcomment.php?cid={$entry.feed_id}</wfw:comment>
|
||||
|
||||
{if !$is_comments}
|
||||
<slash:comments>{$entry.comments}</slash:comments>
|
||||
<wfw:commentRss>{$serendipityBaseURL}rss.php?version={$metadata.version}&type=comments&cid={$entry.feed_id}</wfw:commentRss>
|
||||
{/if}
|
||||
|
||||
{foreach from=$entry.categories item="cat"}
|
||||
<category scheme="{$cat.categoryURL}" label="{$cat.feed_category_name}" term="{$cat.feed_category_name}" />
|
||||
{/foreach}
|
||||
|
||||
<id>{$entry.feed_guid}</id>
|
||||
<title type="html">{$entry.feed_title}</title>
|
||||
{if !empty($entry.body)}
|
||||
<content type="xhtml" xml:base="{$serendipityBaseURL}">
|
||||
<div xmlns="http://www.w3.org/1999/xhtml">
|
||||
{$entry.feed_body} {$entry.feed_ext}
|
||||
</div>
|
||||
</content>
|
||||
{/if}
|
||||
{$entry.per_entry_display_dat}
|
||||
</entry>
|
||||
{/foreach}
|
||||
|
||||
</feed>
|
@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
|
||||
<opml version="{$metadata.version}" {$namespace_display_dat}>
|
||||
<head>
|
||||
<title>{$metadata.title}</title>
|
||||
<dateModified>{$last_modified}</dateModified>
|
||||
<ownerName>Serendipity {$serendipityVersion} - http://www.s9y.org/</ownerName>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
{foreach from=$entries item="entry"}
|
||||
<outline text="{$entry.feed_title}" type="url" htmlUrl="{$entry.feed_entryLink}" urlHTTP="{$entry.feed_entryLink}" />
|
||||
{/foreach}
|
||||
|
||||
</body>
|
||||
</opml>
|
@ -1,48 +0,0 @@
|
||||
<?php if ($GLOBALS['tpl']['is_embedded'] != true): ?>
|
||||
<html>
|
||||
<head>
|
||||
<title><?= $GLOBALS['template']->getdefault('head_title', 'blogTitle'); ?> - <?= $GLOBALS['template']->getdefault('head_subtitle', 'blogDescription'); ?></title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=<?= $GLOBALS['tpl']['head_charset']; ?>" />
|
||||
<meta name="generator" content="Serendipity v.<?= $GLOBALS['tpl']['serendipityVersion']; ?>" />
|
||||
<link rel="stylesheet" type="text/css" href="<?= $GLOBALS['tpl']['head_link_stylesheet']; ?>" />
|
||||
<link rel="alternate" type="application/rss+xml" title="<?= $GLOBALS['tpl']['blogTitle']; ?> RSS feed" href="<?= $GLOBALS['tpl']['serendipityBaseURL']; ?><?= $GLOBALS['tpl']['serendipityRewritePrefix']; ?>feeds/index.rss2" />
|
||||
<link rel="alternate" type="application/x.atom+xml" title="<?= $GLOBALS['tpl']['blogTitle']; ?> Atom feed" href="<?= $GLOBALS['tpl']['serendipityBaseURL']; ?><?= $GLOBALS['tpl']['serendipityRewritePrefix']; ?>feeds/atom.xml" />
|
||||
<?php if ($GLOBALS['tpl']['entry_id']): ?>
|
||||
<link rel="pingback" href="<?= $GLOBALS['tpl']['serendipityBaseURL']; ?>comment.php?type=pingback&entry_id=<?= $GLOBALS['tpl']['entry_id']; ?>" />
|
||||
<?php endif; ?>
|
||||
|
||||
<?php serendipity_plugin_api::hook_event('frontend_header', $GLOBALS['template']); ?>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<?php else: ?>
|
||||
<?php serendipity_plugin_api::hook_event('frontend_header', $GLOBALS['template']); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($GLOBALS['tpl']['is_raw_mode'] != true): ?>
|
||||
<div id="serendipity_banner">
|
||||
<h1><a class="homelink1" href="<?= $GLOBALS['tpl']['serendipityBaseURL']; ?>"><?= $GLOBALS['template']->getdefault('head_title', 'blogTitle'); ?></a></h1>
|
||||
<h2><a class="homelink2" href="<?= $GLOBALS['tpl']['serendipityBaseURL']; ?>"><?= $GLOBALS['template']->getdefault('head_subtitle', 'blogDescription'); ?></a></h2>
|
||||
</div>
|
||||
|
||||
<table id="mainpane">
|
||||
<tr>
|
||||
<?php if ($GLOBALS['tpl']['leftSidebarElements'] > 0): ?>
|
||||
<td id="serendipityLeftSideBar" valign="top"><?php echo serendipity_plugin_api::generate_plugins('left'); ?></td>
|
||||
<?php endif; ?>
|
||||
<td id="content" valign="top"><?= $GLOBALS['tpl']['CONTENT']; ?></td>
|
||||
<?php if ($GLOBALS['tpl']['rightSidebarElements'] > 0): ?>
|
||||
<td id="serendipityRightSideBar" valign="top"><?php echo serendipity_plugin_api::generate_plugins('right'); ?></td>
|
||||
<?php endif; ?>
|
||||
</tr>
|
||||
</table>
|
||||
<?php endif; ?>
|
||||
|
||||
<?= $GLOBALS['tpl']['raw_data']; ?>
|
||||
<?php serendipity_plugin_api::hook_event('frontend_footer', $GLOBALS['template']); ?>
|
||||
|
||||
<?php if ($GLOBALS['tpl']['is_embedded'] != true): ?>
|
||||
</body>
|
||||
</html>
|
||||
<?php endif; ?>
|
||||
|
@ -1,4 +0,0 @@
|
||||
Name: PHP Engine (Dev)
|
||||
Author: Garvin Hicking
|
||||
Date: 06.06.2006
|
||||
Require Serendipity: 1.1
|
@ -1,33 +0,0 @@
|
||||
<table style="width: 100%" cellspacing="0" cellpadding="0" class="serendipity_calendar">
|
||||
<tr>
|
||||
<td class="serendipity_calendarHeader">
|
||||
<?php if ($GLOBALS['tpl']['plugin_calendar_head']['minScroll'] <= $GLOBALS['tpl']['plugin_calendar_head']['month_date']): ?>
|
||||
<a title="<?= BACK ?>" href="<?= $GLOBALS['tpl']['plugin_calendar_head']['uri_previous'] ?>"><img alt="<?= BACK ?>" src="<?php echo serendipity_getTemplateFile('img/back.png'); ?>" width="16" height="12" style="border: 0px" /></a>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
|
||||
<td colspan="5" class="serendipity_calendarHeader" style="text-align: center; vertical-align: bottom">
|
||||
<b><a style="white-space: nowrap" href="<?= $GLOBALS['tpl']['plugin_calendar_head']['uri_month'] ?>"><?= serendipity_formatTime("%B '%y", $GLOBALS['tpl']['plugin_calendar_head']['month_date']); ?></a></b>
|
||||
</td>
|
||||
|
||||
<td class="serendipity_calendarHeader" style="text-align: right">
|
||||
<?php if ($GLOBALS['tpl']['plugin_calendar_head']['maxScroll'] >= $GLOBALS['tpl']['plugin_calendar_head']['month_date']): ?>
|
||||
<a title="<?= FORWARD ?>" href="<?= $GLOBALS['tpl']['plugin_calendar_head']['uri_next'] ?>"><img alt="<?= FORWARD ?>" src="<?php echo serendipity_getTemplateFile('img/forward.png'); ?>" width="16" height="12" style="border: 0px" /></a>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<?php foreach($GLOBALS['tpl']['plugin_calendar_dow'] AS $dow): ?>
|
||||
<td scope="col" abbr="<?= serendipity_formatTime('%A', $dow['date']); ?>" title="<?= serendipity_formatTime('%A', $dow['date']); ?>" class="serendipity_weekDayName" align="center"><?= serendipity_formatTime('%a', $dow['date']); ?></td>
|
||||
<?php endforeach; ?>
|
||||
</tr>
|
||||
|
||||
<?php foreach($GLOBALS['tpl']['plugin_calendar_weeks'] AS $week): ?>
|
||||
<tr class="serendipity_calendar">
|
||||
<?php foreach($week['days'] AS $day): ?>
|
||||
<td class="serendipity_calendarDay <?= $day['classes'] ?>"<?php if (isset($day['properties']['Title'])): ?> title="<?= $day['properties']['Title'] ?>"<?php endif; ?>><?php if (isset($day['properties']['Active']) AND $day['properties']['Active']): ?><a href="<?= $day['properties']['Link'] ?>"><?php endif; ?><?= $day['name']; ?><?php if (isset($day['properties']['Active']) AND $day['properties']['Active']): ?></a><?php endif; ?></td>
|
||||
<?php endforeach; ?>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</table>
|
@ -1,31 +0,0 @@
|
||||
{if $is_form}
|
||||
<form id="serendipity_category_form" action="<?= $GLOBALS['tpl']['form_url'] ?>" method="post">
|
||||
<div id="serendipity_category_form_content">
|
||||
<?php endif; ?>
|
||||
|
||||
<ul id="serendipity_categories_list" style="list-style: none; margin: 0px; padding: 0px">
|
||||
{foreach from=$categories item="plugin_category"}
|
||||
<li style="display: block;">
|
||||
{if $is_form}
|
||||
<input style="width: 15px" type="checkbox" name="serendipity[multiCat][]" value="<?= $plugin_category['categoryid'] ?>" />
|
||||
<?php endif; ?>
|
||||
|
||||
{if !empty($category_image)}
|
||||
<a class="serendipity_xml_icon" href="<?= $plugin_category['feedCategoryURL'] ?>"><img src="<?= $GLOBALS['tpl']['category_image'] ?>" alt="XML" style="border: 0px" /></a>
|
||||
<?php endif; ?>
|
||||
|
||||
<a href="<?= $plugin_category['categoryURL'] ?>" title="{$plugin_category.category_description|escape}" style="padding-left: <?= $plugin_category['paddingPx'] ?>px">{$plugin_category.category_name|escape}</a>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
|
||||
{if $is_form}
|
||||
<div class="category_submit"><input type="submit" name="serendipity[isMultiCat]" value="<?= GO ?>" /></div>
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="category_link_all"><a href="<?= $GLOBALS['tpl']['form_url'] ?>" title="<?= ALL_CATEGORIES ?>"><?= ALL_CATEGORIES ?></a></div>
|
||||
|
||||
{if $is_form}
|
||||
</div>
|
||||
</form>
|
||||
<?php endif; ?>
|
Binary file not shown.
Before ![]() (image error) Size: 13 KiB |
@ -1,24 +0,0 @@
|
||||
<head>
|
||||
<title><?= SERENDIPITY_ADMIN_SUITE ?></title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=<?= $GLOBALS['tpl']['head_charset'] ?>" />
|
||||
<meta name="generator" content="Serendipity v.<?= $GLOBALS['tpl']['serendipityVersion'] ?>" />
|
||||
<link rel="stylesheet" type="text/css" href="<?= $GLOBALS['tpl']['head_link_stylesheet'] ?>" />
|
||||
<script type="text/javascript">
|
||||
window.onload = function() {ldelim}
|
||||
parent.document.getElementById('serendipity_iframe').style.height = document.getElementById('mainpane').offsetHeight
|
||||
+ parseInt(document.getElementById('mainpane').style.marginTop)
|
||||
+ parseInt(document.getElementById('mainpane').style.marginBottom)
|
||||
+ 'px';
|
||||
parent.document.getElementById('serendipity_iframe').scrolling = 'no';
|
||||
parent.document.getElementById('serendipity_iframe').style.border = 0;
|
||||
{rdelim}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body style="padding: 0px; margin: 0px;">
|
||||
<div id="mainpane" style="padding: 0px; margin: 5px auto 5px auto; width: 98%;">
|
||||
<div id="content" style="padding: 5px; margin: 0px;">
|
||||
<?= $GLOBALS['tpl']['preview'] ?>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
@ -1,12 +0,0 @@
|
||||
<?php if ($GLOBALS['tpl']['is_raw_mode']): ?>
|
||||
<div id="serendipity<?= $GLOBALS['tpl']['pluginside'] ?>SideBar">
|
||||
<?php endif; ?>
|
||||
<?php foreach($GLOBALS['tpl']['plugindata'] AS $item): ?>
|
||||
<div class="serendipitySideBarItem container_<?= $item['class'] ?>">
|
||||
<?php if ($item.title != ''): ?><h3 class="serendipitySideBarTitle <?= $item['class'] ?>"><?= $item['title'] ?></h3><?php endif; ?>
|
||||
<div class="serendipitySideBarContent"><?= $item['content'] ?></div>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
<?php if ($GLOBALS['tpl']['is_raw_mode']): ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
@ -1,7 +0,0 @@
|
||||
<?php
|
||||
// THIS FILE IS WORK-IN-PROGRESS. Mostly proof-of-code.
|
||||
// Proceed at your own risk. Read the "template_api.inc.php
|
||||
// instructions.
|
||||
include_once S9Y_INCLUDE_PATH . 'include/template_api.inc.php';
|
||||
$GLOBALS['template'] = new serendipity_smarty_emulator();
|
||||
$GLOBALS['serendipity']['smarty'] =& $GLOBALS['template'];
|
@ -1,18 +0,0 @@
|
||||
{foreach from=$trackbacks item=trackback}
|
||||
<div class="serendipity_comment">
|
||||
<a id="c{$trackback.id}"></a>
|
||||
<div class="serendipity_commentBody">
|
||||
<a href="{$trackback.url|@strip_tags}" {'blank'|@xhtml_target}><?= $trackback['title'] ?></a><br />
|
||||
{$trackback.body|@strip_tags|@escape:all}
|
||||
</div>
|
||||
<div class="serendipity_comment_source">
|
||||
<b>Weblog:</b> {$trackback.author|@default:$CONST.ANONYMOUS}<br />
|
||||
<b><?= TRACKED ?>:</b> {$trackback.timestamp|@formatTime:'%b %d, %H:%M'}
|
||||
{if $entry.is_entry_owner}
|
||||
(<a href="<?= $GLOBALS['tpl']['serendipityBaseURL'] ?>comment.php?serendipity[delete]=<?= $trackback['id'] ?>&serendipity[entry]=<?= $trackback['entry_id'] ?>&serendipity[type]=trackbacks"><?= DELETE ?></a>)
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
{foreachelse}
|
||||
<div class="serendipity_center"><?= NO_TRACKBACKS ?></div>
|
||||
<?php endforeach; ?>
|
@ -1 +0,0 @@
|
||||
<!-- RAW XML OUTPUT! -->
|
@ -1,4 +0,0 @@
|
||||
Name: XML Engine (Dev)
|
||||
Author: Garvin Hicking
|
||||
Date: 06.06.2006
|
||||
Require Serendipity: 1.1
|
Binary file not shown.
Before ![]() (image error) Size: 13 KiB |
@ -1,7 +0,0 @@
|
||||
<?php
|
||||
// THIS FILE IS WORK-IN-PROGRESS. Mostly proof-of-code.
|
||||
// Proceed at your own risk. Read the "template_api.inc.php
|
||||
// instructions.
|
||||
include_once S9Y_INCLUDE_PATH . 'include/template_api.inc.php';
|
||||
$GLOBALS['template'] = new serendipity_smarty_emulator_xml();
|
||||
$GLOBALS['serendipity']['smarty'] =& $GLOBALS['template'];
|
Loading…
x
Reference in New Issue
Block a user