[pLog-svn] r1418 - templates/trunk/Matrix-Code
jondaley at devel.plogworld.net
jondaley at devel.plogworld.net
Sat Mar 12 21:26:43 GMT 2005
Author: jondaley
Date: 2005-03-12 21:26:42 +0000 (Sat, 12 Mar 2005)
New Revision: 1418
Modified:
templates/trunk/Matrix-Code/footer.template
templates/trunk/Matrix-Code/header.template
templates/trunk/Matrix-Code/post.template
templates/trunk/Matrix-Code/resource.template
templates/trunk/Matrix-Code/style.css
Log:
resource template now includes header and footer. fixed a smarty spacing issue. moved title below content-type
Modified: templates/trunk/Matrix-Code/footer.template
===================================================================
--- templates/trunk/Matrix-Code/footer.template 2005-03-12 21:24:13 UTC (rev 1417)
+++ templates/trunk/Matrix-Code/footer.template 2005-03-12 21:26:42 UTC (rev 1418)
@@ -3,8 +3,8 @@
<div id="links">
-<div class="sidetitle">{$locale->tr("search")|capitalize}</div>
-<div class="sidecal">
+<div class="sidetitle">{$locale->tr("search")}</div>
+<div class="side">
<form name="search_form" method="post" action="{$url->getIndexUrl()}">
<input type="text" name="searchTerms" value="" size="14" /><br/>
<input type="hidden" name="op" value="Search" />
@@ -14,9 +14,11 @@
</div>
<div class="sidetitle">{$locale->tr("calendar")|capitalize}</div>
-<div class="sidecal">
+<div class="side">
+<div align="center">
{$calendar}
</div>
+</div>
<div class="sidetitle">{$locale->tr("archives")|capitalize}</div>
<div class="side">
@@ -63,20 +65,12 @@
<p>
<li><a href="{$url->blogLink()}">{$locale->tr("main")}</a></li>
<li><a href="{$url->albumLink()}">{$locale->tr("albums")}</a></li>
+ <li><a title="Link to the RSS 1.0 feed." href="{$url->rssLink("rss10")}">RSS feed</a></li>
+ <li><a title="Link to the Atom feed." href="{$url->rssLink("atom")}">Atom feed</a></li>
</ul>
</p>
</div>
-<div class="sidetitle">{$locale->tr("syndicate")|capitalize}</div>
-<div class="side">
-<ul>
-<p>
- <li><a class="nodecoration" title="Link to the RSS 0.90 feed." href="{$url->rssLink("rss090")}"><img src="{$url->getUrl("/imgs/rss090_logo.gif")}" style="border:0px;" alt="RSS 0.90" /></a></li>
- <li><a class="nodecoration" title="Link to the RSS 1.0 feed." href="{$url->rssLink("rss10")}"><img src="{$url->getUrl("/imgs/rss10_logo.gif")}" style="border:0px;" alt="RSS 1.0" /></a></li>
- <li><a class="nodecoration" title="Link to the RSS 2.0 feed." href="{$url->rssLink("rss20")}"><img src="{$url->getUrl("/imgs/rss20_logo.gif")}" style="border:0px;" alt="RSS 2.0" /></a></li>
- <li><a class="nodecoration" title="Link to the Atom 0.3 feed." href="{$url->rssLink("atom")}"><img src="{$url->getUrl("/imgs/atom_logo.png")}" style="border:0px;" alt="Atom 0.3" /></a></li>
-</p>
-</div>
-
+
<div class="powered">
Powered by <a href="http://www.plogworld.net">pLog</a><br />
</div>
Modified: templates/trunk/Matrix-Code/header.template
===================================================================
--- templates/trunk/Matrix-Code/header.template 2005-03-12 21:24:13 UTC (rev 1417)
+++ templates/trunk/Matrix-Code/header.template 2005-03-12 21:26:42 UTC (rev 1418)
@@ -2,10 +2,10 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
-<title>{$blog->getBlog()}</title>
<meta http-equiv="Content-Type" content="text/html; charset={$locale->getCharset()}" />
<meta name="MSSmartTagsPreventParsing" content="TRUE" />
-<style type="text/css" media="screen">@import "{$url->getTemplateFile("/style.css")}";</style>
+<style type="text/css" media="screen">@import "{$url->getTemplateFile("style.css")}";</style>
+<title>{$blog->getBlog()}</title>
</head>
<body>
Modified: templates/trunk/Matrix-Code/post.template
===================================================================
--- templates/trunk/Matrix-Code/post.template 2005-03-12 21:24:13 UTC (rev 1417)
+++ templates/trunk/Matrix-Code/post.template 2005-03-12 21:26:42 UTC (rev 1418)
@@ -7,16 +7,19 @@
<div class="posted">
{$locale->tr("posted_by")}
<a href="{$url->postUserLink($postOwner)}">{$postOwner->getUsername()}</a>
-
-({foreach name=categories from=$post->getCategories() item=postCategory}
- <a href="{$url->categoryLink($postCategory)}">{$postCategory->getName()}</a>
-{if !$smarty.foreach.categories.last}, {/if}
-{/foreach})
+
+ ({foreach name=categories from=$post->getCategories() item=postCategory}
+ <a href="{$url->categoryLink($postCategory)}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
+ {/foreach})
+
::
{if $post->getCommentsEnabled()}
<a href="{$url->postPermalink($post)}">{$locale->tr("comments")|capitalize}
-({$post->getTotalComments()})</a>::
+({$post->getTotalComments()})</a> ::
{/if}
-<a href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a>::
-<a href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a>
+<a href="{$url->postPermalink($post)}">
+ {$locale->tr("permalink")}</a> ::
+<a href="{$url->postTrackbackStatsLink($post)}">
+ {$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a>
+
</div>
Modified: templates/trunk/Matrix-Code/resource.template
===================================================================
--- templates/trunk/Matrix-Code/resource.template 2005-03-12 21:24:13 UTC (rev 1417)
+++ templates/trunk/Matrix-Code/resource.template 2005-03-12 21:26:42 UTC (rev 1418)
@@ -1,20 +1,5 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+{include file="Matrix-Code/header.template}
-<html>
-<head>
-
-<!-- This template has been designed by Martijn ten Napel, http://blogtemplates.noipo.org/ -->
-
-<title>{$blog->getBlog()}</title>
-<meta http-equiv="Content-Type" content="text/html; charset={$locale->getCharset()}" />
-<meta name="MSSmartTagsPreventParsing" content="TRUE" />
-<style type="text/css" media="screen">@import "{$url->getTemplateFile("/style.css")}";</style>
-</head>
-<body>
-<div id="content">
-<!-- start content -->
-<h1>{$blog->getBlog()}</h1>
{assign var=metadata value=$resource->getMetadataReader()}
{assign var=updated value=$resource->getTimestamp()}
<div id="container">
@@ -67,6 +52,5 @@
</p>
</div>
</div>
-</div>
-</body>
-</html>
+{include file="Matrix-Code/footer.template}
+
Modified: templates/trunk/Matrix-Code/style.css
===================================================================
--- templates/trunk/Matrix-Code/style.css 2005-03-12 21:24:13 UTC (rev 1417)
+++ templates/trunk/Matrix-Code/style.css 2005-03-12 21:26:42 UTC (rev 1418)
@@ -91,6 +91,16 @@
width: 450px;
}
+.searchresult {
+ font-family: sans-serif;
+ font-size: small;
+ font-weight: normal;
+ line-height:140%;
+ margin: 10px 20px;
+ text-align: justify;
+ width: 450px;
+}
+
.title {
background-image: url(matrix-shadebg.png);
border: #565 1px solid;
More information about the pLog-svn
mailing list