[pLog-svn] r1352 - plog/trunk/templates/blueish

jondaley at devel.plogworld.net jondaley at devel.plogworld.net
Wed Mar 9 03:30:44 GMT 2005


Author: jondaley
Date: 2005-03-09 03:30:44 +0000 (Wed, 09 Mar 2005)
New Revision: 1352

Added:
   plog/trunk/templates/blueish/style.css
Removed:
   plog/trunk/templates/blueish/blueish.css
Modified:
   plog/trunk/templates/blueish/album.template
   plog/trunk/templates/blueish/albums.template
   plog/trunk/templates/blueish/header.template
   plog/trunk/templates/blueish/main.template
   plog/trunk/templates/blueish/panel.template
   plog/trunk/templates/blueish/post.template
   plog/trunk/templates/blueish/postandcomments.template
   plog/trunk/templates/blueish/searchresults.template
Log:
fixed up blueish template.  searchterms is broken. I think everythin else is good.  This was harder than I thought...

Modified: plog/trunk/templates/blueish/album.template
===================================================================
--- plog/trunk/templates/blueish/album.template	2005-03-08 22:09:40 UTC (rev 1351)
+++ plog/trunk/templates/blueish/album.template	2005-03-09 03:30:44 UTC (rev 1352)
@@ -1,5 +1,5 @@
 {include file="$blogtemplate/header.template"}
-<div id="container">
+<div id="content">
 {assign var="postDate" value=$album->getTimestamp()}
 <div class="blog">
  <h2 class="date">{$album->getName()}</h2>
@@ -97,4 +97,5 @@
  
  </div>
 </div>
+{include file="$blogtemplate/panel.template"}
 {include file="$blogtemplate/footer.template"}

Modified: plog/trunk/templates/blueish/albums.template
===================================================================
--- plog/trunk/templates/blueish/albums.template	2005-03-08 22:09:40 UTC (rev 1351)
+++ plog/trunk/templates/blueish/albums.template	2005-03-09 03:30:44 UTC (rev 1352)
@@ -1,5 +1,5 @@
 {include file="$blogtemplate/header.template"}
-<div id="container">
+<div id="content">
 {foreach from=$albums item=album}
  {assign var="aDate" value=$album->getTimestamp()}
  <div class="blog">
@@ -16,4 +16,5 @@
 </div>
 {/foreach}
 </div>
+{include file="$blogtemplate/panel.template"}
 {include file="$blogtemplate/footer.template"}

Deleted: plog/trunk/templates/blueish/blueish.css
===================================================================
--- plog/trunk/templates/blueish/blueish.css	2005-03-08 22:09:40 UTC (rev 1351)
+++ plog/trunk/templates/blueish/blueish.css	2005-03-09 03:30:44 UTC (rev 1352)
@@ -1,319 +0,0 @@
-body {
- margin:0px 0px 10px 0px;
- background:#FFFFFF;
- }
-A { color: #999966; text-decoration: none; font-weight:bold; } 
-A:link{ color: #999966; text-decoration: none; } 
-A:visited{ color: #999966; text-decoration: none; } 
-A:active{ color: #99CC66;  } 
-A:hover{ color: #99CC66;  }
-h1, h2, h3 {
- margin: 0px;
- padding: 0px;
-}
-
-
-#banner {
- font-family:verdana, arial, sans-serif;
- color:#FFF;
- font-size:x-large;
- font-weight:normal;
- border-bottom:1px dotted #FFF;
- border-top:3px solid #99CCFF;
- background:#336699;
- padding:15px; 
- text-transform:uppercase;
- letter-spacing: .2em; 
-}
-#banner a,
-#banner a:link,
-#banner a:visited,
-#banner a:active,
-#banner a:hover {
- font-family:verdana, arial, sans-serif;
- font-size: x-large;
- color: #FFF;
- text-decoration: none;
-}
-.description {
- font-family:verdana, arial, sans-serif;
- color:#99CCFF;
- font-size:x-small;
- font-weight:bold;
- background:#336699;
- text-transform:none;
- letter-spacing: none; 
-}
-
-#content {
- float:left;
- width:74%;
- background:#fff;
- /*border-right:1px dotted #999;*/
- margin-right:0.5%;
- padding-bottom:20px;
-}
-
-#links {
- width:23%;
- background:#fff;
- padding-right:1%;
- padding-left: 1%;
- position: absolute;
- right: 0px;
- float: right;
- border-left: 1px dotted #999; 
- }
- 
-#links ul {
- list-style: none;
- padding-left: 0px;
- margin-left: 0px;
-} 
-
-.blog {
-  padding-left:1%;
-  padding-top:15px;
-  padding-right:1%;
-  width: 97%;
-  float: left;
-}
-
-.blogbody {
- font-family:georgia, verdana, arial, sans-serif;
- color:#333;
- font-size:small;
- font-weight:normal;
- background:#FFF;
- line-height:140%;
- padding-left:10px;
- padding-right:10px;
- padding-top:10px;
-}
-
-
-.blogbody a,
-.blogbody a:link,
-.blogbody a:visited,
-.blogbody a:active,
-.blogbody a:hover {
- font-weight: normal;
- text-decoration: underline;
-}
-
-.title{
- font-family: verdana, arial;
- font-size: small;
- color: #003366;
- text-transform: uppercase;
- font-weight:bold;
-}
-
-#menu {
- margin-bottom:15px;
- background:#FFF;
-}
-
-.date{ 
- font-family:georgia, verdana, arial, sans-serif; 
- font-size: small; 
- color: #666; 
- border:1px solid #999;
- padding:5px;
- margin-bottom:10px;
- font-weight:normal;
-}
-
-.posted{ 
-font-family:verdana, arial, sans-serif; 
-font-size: x-small; 
-color: #003366;
-margin-bottom:15px; 
-}
-
-
-.calendar {
-font-family:verdana, arial, sans-serif;
-color:#666;
-font-size:x-small;
-font-weight:normal;
-  background:#FFF;
-  line-height:140%;
-  padding:2px;
-  text-align:center;
-}
-
-.calendarhead {
-font-family:verdana, arial, sans-serif;
-color:#003366;
-font-size:x-small;
-font-weight:bold;
-  background:#FFF;
-  line-height:140%;
-  padding:2px;
-}
-
-table.calMonth {
-	width:130px;
-}
-
-thead {
-	text-align:center;
-}
-
-tbody {
-	text-align:right;
-}
-
-table.calYear tbody tr td {
-	vertical-align:top;
-}
-
-
-.side {
-font-family:verdana, arial, sans-serif;
-color:#333;
-font-size:x-small;
-font-weight:normal;
-  background:#FFF;
-  line-height:140%;
-  padding:2px;
-}
-
-.sidetitle {
-font-family:verdana, arial, sans-serif;
-color:#666;
-font-size:x-small;
-font-weight:bold;
-  background:#EEE;
-  line-height:140%;
-  padding:2px;
-  margin-top:10px;
-  text-align:center;
-  text-transform:uppercase;
-letter-spacing: .2em;  
-}
-
-.syndicate {
-font-family:verdana, arial, sans-serif;
-font-size:xx-small;
-font-weight:bold;
-  line-height:140%;
-  padding:2px;
-  margin-top:10px;
-  text-align:center;
-  background:#EEE;  
- }
-
-.powered {
-font-family:verdana, arial, sans-serif;
-color:#003366;
-font-size:xx-small;
-font-weight:bold;
-border-top:1px solid #CCC;
-border-bottom:1px solid #CCC;
-line-height:140%;
-text-transform:uppercase; 
-padding:2px;
-margin-top:10px;
-text-align:center;
-letter-spacing: .2em  
-}
-
-
-.comments-body {
-font-family:verdana, arial, sans-serif;
-color:#666;
-font-size:small;
-font-weight:normal;
-  background:#FFF;
-  line-height:140%;
-  padding:10px;
-}
-
-.comments-post {
-font-family:verdana, arial, sans-serif;
-color:#666;
-font-size:x-small;
-font-weight:normal;
-  background:#FFF;
-}
-
-.trackback-body {
-font-family:verdana, arial, sans-serif;
-color:#666;
-font-size:small;
-font-weight:normal;
-  background:#FFF;
-  line-height:140%;
-  padding:10px;
-}
-
-.trackback-url {
- font-family:verdana, arial, sans-serif;
- color:#666;
- font-size:small;
- font-weight:normal;
- background:#FFF;
- line-height:140%;
- padding:10px;
- border:1px dashed #CCC;
-}
-
-.trackback-post {
- font-family:verdana, arial, sans-serif;
- color:#666;
- font-size:x-small;
- font-weight:normal;
- background:#FFF;
-}
-
-.comments-head{ 
- font-family: georgia, verdana, arial, sans-serif;
- font-size: small;
- color: #666;
- border:1px solid #999;
- padding:5px;
- font-weight:normal;
- margin-top:10px;
-}
-
-#banner-commentspop {
- font-family:georgia, verdana, arial, sans-serif;
- color:#FFF;
- font-size:large;
- font-weight:bold;
- border-bottom:1px dotted #FFF;
- border-top:3px solid #99CCFF;
- background:#336699;
- padding:15px; 
-}
-
-/**
- * styles for the little toolbar on top of the comment text box
- */
-#toolbar {	
- margin: 0;
- padding: 0;
-}
-			
-.button {
- border: 1px solid buttonface;
- margin: 1; 
-}
-			
-.button_raised	{ 
- border-top: 1px solid buttonhighlight;
- border-left: 1px solid buttonhighlight;
- border-bottom: 1px solid #999;
- border-right: 1px solid #999;
- margin: 1;
- }
-			
-.button_pressed	{
- border-top: 1px solid #999;
- border-left: 1px solid #999;
- border-bottom: 1px solid buttonhighlight;
- border-right: 1px solid buttonhighlight;
- margin: 1;
-}

Modified: plog/trunk/templates/blueish/header.template
===================================================================
--- plog/trunk/templates/blueish/header.template	2005-03-08 22:09:40 UTC (rev 1351)
+++ plog/trunk/templates/blueish/header.template	2005-03-09 03:30:44 UTC (rev 1352)
@@ -1,19 +1,34 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$locale->getLanguageId()}" 
+<html xmlns="http://www.w3.org/1999/xhtml" 
+      xml:lang="{$locale->getLanguageId()}" 
       lang="{$locale->getLanguageId()}" dir="{$locale->getDirection()}">
+
 <head>
- <meta http-equiv="Content-Type" content="text/html;charset={$locale->getCharset()}" />
- <meta name="generator" content="{$version}" />
- <meta http-equiv="Content-Language" content="{$locale->getLanguageId()}" />
- <title>{$blog->getBlog()}{$postPageTitle}</title>
- <link rel="stylesheet" title="Default" href="{$url->getTemplateFile("blueish.css")}" type="text/css" />
- <link rel="alternate" type="text/xml" title="RSS 2.0" href="{$url->rssLink("rss20")}" />
- <link rel="alternate" type="text/xml" title="RSS 1.0" href="{$url->rssLink("rss10")}" />
- <link rel="alternate" type="text/xml" title="RSS 0.90" href="{$url->rssLink("rss090")}" />
- <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="{$url->rssLink("atom")}" />
- <script type="text/javascript" src="{$url->getTemplateFile("toolbar.js")}"></script>
+  <meta http-equiv="Content-Type"
+     content="text/html;charset={$locale->getCharset()}" /> 
+  <meta name="generator" content="{$version}" />
+  <meta http-equiv="Content-Language"
+     content="{$locale->getLanguageId()}" />
+
+  <title>{$blog->getBlog()}{$postPageTitle}</title>
+ 
+  <link rel="stylesheet" title="Default"
+        href="{$url->getTemplateFile("style.css")}" type="text/css" /> 
+  <link rel="alternate" type="text/xml" title="RSS 2.0"
+        href="{$url->rssLink("rss20")}" />
+  <link rel="alternate" type="text/xml" title="RSS 1.0"
+        href="{$url->rssLink("rss10")}" />
+  <link rel="alternate" type="text/xml" title="RSS 0.90"
+        href="{$url->rssLink("rss090")}" />
+  <link rel="alternate" type="application/atom+xml" title="Atom 0.3"
+        href="{$url->rssLink("atom")}" />
+  <script type="text/javascript"
+		  src="{$url->getTemplateFile("toolbar.js")}">
+  </script>
 </head>
+
 <body>
  <div id="banner">
-   <h1><a href="{$url->blogLink()}">{$blog->getBlog()}</a></h1><span class="description">{$blog->getAbout()}</span>
- </div>
\ No newline at end of file
+   <h1><a href="{$url->blogLink()}">{$blog->getBlog()}</a></h1>
+   <span class="description">{$blog->getAbout()}</span>
+ </div>

Modified: plog/trunk/templates/blueish/main.template
===================================================================
--- plog/trunk/templates/blueish/main.template	2005-03-08 22:09:40 UTC (rev 1351)
+++ plog/trunk/templates/blueish/main.template	2005-03-09 03:30:44 UTC (rev 1352)
@@ -1,10 +1,9 @@
 {include file="$blogtemplate/header.template"}
 <div id="content">
-<div id="blog">
- {foreach from=$posts item=post}
-  {include file="$blogtemplate/post.template"}
- {/foreach}
+  {foreach from=$posts item=post}
+    {include file="$blogtemplate/post.template"}
+  {/foreach}
 </div>
+
 {include file="$blogtemplate/panel.template"}
-</div>
 {include file="$blogtemplate/footer.template"}

Modified: plog/trunk/templates/blueish/panel.template
===================================================================
--- plog/trunk/templates/blueish/panel.template	2005-03-08 22:09:40 UTC (rev 1351)
+++ plog/trunk/templates/blueish/panel.template	2005-03-09 03:30:44 UTC (rev 1352)
@@ -4,76 +4,83 @@
   {$locale->tr("search")|capitalize}
  </div>
  <div class="side">
-  <form name="search_form" method="post" action="{$url->getIndexUrl()}">
-   <input type="text" name="searchTerms" value="" /><br/>
-   <input type="hidden" name="op" value="Search" />
-   <input type="hidden" name="blogId" value="{$blog->getId()}"/>   
-   <input type="submit" name="Search" value="{$locale->tr("search")|capitalize}" />
-  </form>
+   <div class="search">
+     <form method="post" action="{$url->getIndexUrl()}">
+       <div>
+         <input type="text" name="searchTerms" value="" /><br/>
+         <input type="hidden" name="op" value="Search" />
+         <input type="hidden" name="blogId" value="{$blog->getId()}"/>   
+         <input type="submit" name="Search" 
+			  value="{$locale->tr("search")|capitalize}" />
+       </div>
+     </form>
+   </div>
  </div> 
  
- <div class="sidetitle">
-  {$locale->tr("recently")|capitalize}
- </div>
+ <div class="sidetitle">{$locale->tr("recently")|capitalize}</div>
  <div class="side">
   <ul>
   {foreach from=$recentposts item=post}
-   <li><a title="{$post->getText()|truncate:15:"..."|escape}" href="{$url->postLink($post)}">{$post->getTopic()}</a></li>
+   <li><a title="{$post->getText()|truncate:15:"..."|escape}" 
+		  href="{$url->postLink($post)}">{$post->getTopic()}</a></li>
   {/foreach}
   </ul>
  </div>
 
- <div class="sidetitle">
-  {$locale->tr("categories")|capitalize}
- </div>
+ <div class="sidetitle">{$locale->tr("categories")|capitalize}</div>
  <div class="side">
   <ul>
    {foreach from=$articlecategories item=articleCategory}
-    <li><a href="{$url->categoryLink($articleCategory)}">{$articleCategory->getName()}</a> [{$articleCategory->getNumArticles()}]
-    (<a class="nodecoration" href="{$url->categoryRssLink($articleCategory)}">rss</a>)</li>
+    <li>
+	  <a href="{$url->categoryLink($articleCategory)}">
+		 {$articleCategory->getName()}</a>
+		 [{$articleCategory->getNumArticles()}]
+      (<a class="nodecoration" 
+		href="{$url->categoryRssLink($articleCategory)}">rss</a>)</li>
    {/foreach}
    </ul>
  </div>
 
- <div class="sidetitle">
-  {$locale->tr("archives")|capitalize}
- </div>
+ <div class="sidetitle">{$locale->tr("archives")|capitalize}</div>
  <div class="side">
   <ul>
   {foreach from=$archives item=archivelink}
-   <li><a href="{$archivelink->getUrl()}">{$archivelink->getName()}</a> [{$archivelink->getNumArticles()}]</li>
+   <li><a href="{$archivelink->getUrl()}">{$archivelink->getName()}</a>
+		[{$archivelink->getNumArticles()}]</li>
   {/foreach}
   </ul>
  </div>
  
- <div class="sidetitle">
-  {$locale->tr("links")|capitalize}
- </div>
+ <div class="sidetitle">{$locale->tr("links")|capitalize}</div>
  <div class="side">
-  <ul>
-   {foreach from=$mylinkscategories item=linkcategory}
-     <li><b>{$linkcategory->getName()}</b>
-     <ul>
-      {foreach from=$linkcategory->getLinks() item=link}
-       <li><a href="{$link->getUrl()}" title="{$link->getDescription()}">{$link->getName()}</a></li>
-      {/foreach}
-     </ul>
-    </li>
-   {/foreach}  
-   </ul>
+   {foreach name=linkcategories from=$mylinkscategories item=linkcategory}
+     {if $smarty.foreach.linkcategories.first}<ul>{/if}
+     <li>
+       <b>{$linkcategory->getName()}</b>
+       {foreach name=linkcategorylinks from=$linkcategory->getLinks() item=link}
+         {if $smarty.foreach.linkcategorylinks.first}<ul>{/if}
+         <li><a href="{$link->getUrl()}" 
+			  title="{$link->getDescription()}">{$link->getName()}</a></li>
+         {if $smarty.foreach.linkcategorylinks.last}</ul>{/if}
+       {/foreach}
+     </li>
+     {if $smarty.foreach.linkcategories.last}</ul>{/if}
+   {/foreach}
  </div>
 
- <div class="sidetitle">
-  {$locale->tr("menu")}
- </div>
+ <div class="sidetitle">{$locale->tr("menu")|capitalize}</div>
  <div class="side">
   <ul>
    <li><a href="{$url->templatePage("about")}">{$locale->tr("about")}</a></li>
    <li><a href="{$url->albumLink()}">{$locale->tr("albums")}</a></li>
-   <li><a title="Link to the RSS 0.90 feed." href="{$url->rssLink("rss090")}">RSS 0.90</a></li>
-   <li><a title="Link to the RSS 1.0 feed." href="{$url->rssLink("rss10")}">RSS 1.0</a></li>
-   <li><a title="Link to the RSS 2.0 feed." href="{$url->rssLink("rss20")}">RSS 2.0</a></li>
-   <li><a title="Link to the Atom 0.3 feed." href="{$url->rssLink("atom")}">Atom 0.3</a></li>
+   <li><a title="Link to the RSS 0.90 feed."
+		  href="{$url->rssLink("rss090")}">RSS 0.90</a></li>
+   <li><a title="Link to the RSS 1.0 feed."
+		  href="{$url->rssLink("rss10")}">RSS 1.0</a></li>
+   <li><a title="Link to the RSS 2.0 feed."
+		  href="{$url->rssLink("rss20")}">RSS 2.0</a></li>
+   <li><a title="Link to the Atom 0.3 feed."
+		  href="{$url->rssLink("atom")}">Atom 0.3</a></li>
   </ul> 
  </div>
  

Modified: plog/trunk/templates/blueish/post.template
===================================================================
--- plog/trunk/templates/blueish/post.template	2005-03-08 22:09:40 UTC (rev 1351)
+++ plog/trunk/templates/blueish/post.template	2005-03-09 03:30:44 UTC (rev 1352)
@@ -13,11 +13,8 @@
    <img alt="Trackback" src="{$url->getTemplateFile("trackback.gif")}" width="16" height="11" style="border: 0px" />
    <a href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a> |
    {foreach name=categories from=$post->getCategories() item=postcategory}
-     <a href="{$url->categoryLink($postcategory)}">{$postcategory->getName()}</a>
-     {if !$smarty.foreach.categories.last}, {/if}
+     <a href="{$url->categoryLink($postcategory)}">{$postcategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
    {/foreach}
-   {**| <a href="{$karma->getPositiveUrl($post)}">+{$post->getField("positiveKarma")}</a> :: 
-     <a href="{$karma->getNegativeUrl($post)}">-{$post->getField("negativeKarma")}</a>**}
   </div>
  </div>
  {$post->getText()}

Modified: plog/trunk/templates/blueish/postandcomments.template
===================================================================
--- plog/trunk/templates/blueish/postandcomments.template	2005-03-08 22:09:40 UTC (rev 1351)
+++ plog/trunk/templates/blueish/postandcomments.template	2005-03-09 03:30:44 UTC (rev 1352)
@@ -1,14 +1,18 @@
 {assign var="postPageTitle" value=$post->getTopic()}
 {assign var="postPageTitle" value=" | $postPageTitle"}
 {include file="$blogtemplate/header.template"}
+
 {assign var="postDate" value=$post->getDateObject()}
 {assign var="postOwner" value=$post->getUserInfo()}
-<div id="container">
+
+<div id="content">
  {include file="$blogtemplate/post.template"}
+
  <div class="blog">
- <div class="comments-head">
-  <a name="comments"></a>Comments
- </div>
+   <div class="comments-head">
+    <a name="comments"></a>Comments
+   </div>
+
  {foreach from=$post->getComments() item=comment}
   <div class="comments-body">
    <a name="{$comment->getId()}"></a><p>{$comment->getText()}</p>
@@ -28,8 +32,9 @@
  {if $blogsettings->getValue("comments_enabled") && $post->getCommentsEnabled()==1}
   <div class="blog">
    <div class="comments-head">{$locale->tr("add_comment")}</div>
-   {include file="$blogtemplate/commentform.template"}
+     {include file="$blogtemplate/commentform.template"}
   </div>
  {/if}
 </div> 
+{include file="$blogtemplate/panel.template"}
 {include file="$blogtemplate/footer.template"}

Modified: plog/trunk/templates/blueish/searchresults.template
===================================================================
--- plog/trunk/templates/blueish/searchresults.template	2005-03-08 22:09:40 UTC (rev 1351)
+++ plog/trunk/templates/blueish/searchresults.template	2005-03-09 03:30:44 UTC (rev 1352)
@@ -1,23 +1,36 @@
 {include file="$blogtemplate/header.template"}
-   <h2>{$locale->tr("search_results")}: {foreach from=$searchterms item=term}{$term} {/foreach}</h2>
-   <p>
-    {foreach from=$searchresults item=result}
-     <div class="searchresult">
+<div id="content">
+  <h2>{$locale->tr("search_results")}: 
+    {foreach from=$searchterms item=term}{$term} {/foreach}
+  </h2>
+  <br/>
+  {foreach from=$searchresults item=result}
+    <div class="blog">
       {assign var=article value=$result->getArticle()}
-      {if $urlmode == 2}
-      <a href="{$url->postPermalink($article)}?searchTerms={foreach from=$searchterms item=term}{$term|escape:"hex"}%20{/foreach}"><h3><b>{$article->getTopic()}</b></h3></a>
-      {else}
-      <a href="{$url->postPermalink($article)}&searchTerms={foreach from=$searchterms item=term}{$term|escape:"hex"}%20{/foreach}"><h3><b>{$article->getTopic()}</b></h3></a>
-      {/if}
-     <div align="right">{foreach name=categories from=$article->getCategories() item=postcategory}
-       <a href="{$url->categoryLink($postcategory)}">{$postcategory->getName()}</a>
-       {if !$smarty.foreach.categories.last}, {/if}
-     {/foreach}</div>
-      <p>
+      {assign var="postDate" value=$article->getDateObject()}
+      {assign var="postOwner" value=$article->getUserInfo()}
+
+      <h2 class="date">{$locale->formatDate($postDate,"%j %b, %Y")}</h2>
+      <div class="blogbody">
+        <h2 class="title">
+          <a href="{$url->postPermalink($article)}?searchTerms={foreach from=$searchterms
+		      item=term}{$term|escape:"hex"}%20{/foreach}">
+				{$article->getTopic()}</a>
+		</h2>
+        <div class="posted">{$locale->tr("posted_by")}
+          {$postOwner->getUsername()} {$locale->formatDate($postDate,"%H:%M")}
+
+		  | {foreach name=categories 
+				 from=$article->getCategories() item=postcategory}
+			   <a href="{$url->categoryLink($postcategory)}">
+			     {$postcategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
+          {/foreach}
+        </div>
+      </div>
       {$article->getText()|strip_tags|truncate:300:"...":false}
-      </p>
-     </div>
-     <br/>
-    {/foreach}
-   </p> 
-{include file="$blogtemplate/footer.template"}
\ No newline at end of file
+    </div>
+  {/foreach}
+</div>
+
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}

Copied: plog/trunk/templates/blueish/style.css (from rev 1337, plog/trunk/templates/blueish/blueish.css)
===================================================================
--- plog/trunk/templates/blueish/blueish.css	2005-03-06 22:21:38 UTC (rev 1337)
+++ plog/trunk/templates/blueish/style.css	2005-03-09 03:30:44 UTC (rev 1352)
@@ -0,0 +1,311 @@
+body {
+ margin:0px 0px 10px 0px;
+ background:#FFFFFF;
+ }
+A { color: #999966; text-decoration: none; font-weight:bold; } 
+A:link{ color: #999966; text-decoration: none; } 
+A:visited{ color: #999966; text-decoration: none; } 
+A:active{ color: #99CC66;  } 
+A:hover{ color: #99CC66;  }
+h1, h2, h3 {
+ margin: 0px;
+ padding: 0px;
+}
+
+
+#banner {
+ font-family:verdana, arial, sans-serif;
+ color:#FFF;
+ font-size:x-large;
+ font-weight:normal;
+ border-bottom:1px dotted #FFF;
+ border-top:3px solid #99CCFF;
+ background:#336699;
+ padding:15px; 
+ text-transform:uppercase;
+ letter-spacing: .2em; 
+}
+#banner a,
+#banner a:link,
+#banner a:visited,
+#banner a:active,
+#banner a:hover {
+ font-family:verdana, arial, sans-serif;
+ font-size: x-large;
+ color: #FFF;
+ text-decoration: none;
+}
+.description {
+ font-family:verdana, arial, sans-serif;
+ color:#99CCFF;
+ font-size:x-small;
+ font-weight:bold;
+ background:#336699;
+ text-transform:none;
+ letter-spacing: 0px; 
+}
+
+#content {
+ float:left;
+ width:74%;
+ background:#fff;
+ margin-right:0.5%;
+ padding-bottom:20px;
+}
+
+#links {
+ width:23%;
+ background:#fff;
+ padding-right:1%;
+ padding-left: 1%;
+ position: absolute;
+ right: 0px;
+ float: right;
+ border-left: 1px dotted #999; 
+ }
+ 
+#links ul {
+ list-style: none;
+ padding-left: 0px;
+ margin-left: 0px;
+} 
+
+.blog {
+  padding-left:1%;
+  padding-top:15px;
+  padding-right:1%;
+  width: 97%;
+  float: left;
+}
+
+.blogbody {
+ font-family:georgia, verdana, arial, sans-serif;
+ color:#333;
+ font-size:small;
+ font-weight:normal;
+ background:#FFF;
+ line-height:140%;
+ padding-left:10px;
+ padding-right:10px;
+ padding-top:10px;
+}
+
+
+.blogbody a,
+.blogbody a:link,
+.blogbody a:visited,
+.blogbody a:active,
+.blogbody a:hover {
+ font-weight: normal;
+ text-decoration: underline;
+}
+
+.title{
+ font-family: verdana, arial;
+ font-size: small;
+ color: #003366;
+ text-transform: uppercase;
+ font-weight:bold;
+}
+
+#menu {
+ margin-bottom:15px;
+ background:#FFF;
+}
+
+.date{ 
+ font-family:georgia, verdana, arial, sans-serif; 
+ font-size: small; 
+ color: #666; 
+ border:1px solid #999;
+ padding:5px;
+ margin-bottom:10px;
+ font-weight:normal;
+}
+
+.posted{ 
+ font-family:verdana, arial, sans-serif; 
+ font-size: x-small; 
+ color: #003366;
+ margin-bottom:15px; 
+}
+
+
+.calendar {
+  font-family:verdana, arial, sans-serif;
+  color:#666;
+  font-size:x-small;
+  font-weight:normal;
+  background:#FFF;
+  line-height:140%;
+  padding:2px;
+  text-align:center;
+}
+
+.calendarhead {
+  font-family:verdana, arial, sans-serif;
+  color:#003366;
+  font-size:x-small;
+  font-weight:bold;
+  background:#FFF;
+  line-height:140%;
+  padding:2px;
+}
+
+table.calMonth {
+	width:130px;
+}
+
+thead {
+	text-align:center;
+}
+
+tbody {
+	text-align:right;
+}
+
+table.calYear tbody tr td {
+	vertical-align:top;
+}
+
+
+.side {
+  font-family:verdana, arial, sans-serif;
+  color:#333;
+  font-size:x-small;
+  font-weight:normal;
+  background:#FFF;
+  line-height:140%;
+  padding:2px;
+}
+
+.sidetitle {
+  font-family:verdana, arial, sans-serif;
+  color:#666;
+  font-size:x-small;
+  font-weight:bold;
+  background:#EEE;
+  line-height:140%;
+  padding:2px;
+  margin-top:10px;
+  text-align:center;
+  text-transform:uppercase;
+  letter-spacing: .2em;  
+}
+
+.search{
+  text-align: center;
+}
+
+.powered {
+  font-family:verdana, arial, sans-serif;
+  color:#003366;
+  font-size:xx-small;
+  font-weight:bold;
+  border-top:1px solid #CCC;
+  border-bottom:1px solid #CCC;
+  line-height:140%;
+  text-transform:uppercase; 
+  padding:2px;
+  margin-top:10px;
+  text-align:center;
+  letter-spacing: .2em  
+}
+
+
+.comments-body {
+  font-family:verdana, arial, sans-serif;
+  color:#666;
+  font-size:small;
+  font-weight:normal;
+  background:#FFF;
+  line-height:140%;
+  padding:10px;
+}
+
+.comments-post {
+  font-family:verdana, arial, sans-serif;
+  color:#666;
+  font-size:x-small;
+  font-weight:normal;
+  background:#FFF;
+}
+
+.trackback-body {
+  font-family:verdana, arial, sans-serif;
+  color:#666;
+  font-size:small;
+  font-weight:normal;
+  background:#FFF;
+  line-height:140%;
+  padding:10px;
+}
+
+.trackback-url {
+ font-family:verdana, arial, sans-serif;
+ color:#666;
+ font-size:small;
+ font-weight:normal;
+ background:#FFF;
+ line-height:140%;
+ padding:10px;
+ border:1px dashed #CCC;
+}
+
+.trackback-post {
+ font-family:verdana, arial, sans-serif;
+ color:#666;
+ font-size:x-small;
+ font-weight:normal;
+ background:#FFF;
+}
+
+.comments-head{ 
+ font-family: georgia, verdana, arial, sans-serif;
+ font-size: small;
+ color: #666;
+ border:1px solid #999;
+ padding:5px;
+ font-weight:normal;
+ margin-top:10px;
+}
+
+#banner-commentspop {
+ font-family:georgia, verdana, arial, sans-serif;
+ color:#FFF;
+ font-size:large;
+ font-weight:bold;
+ border-bottom:1px dotted #FFF;
+ border-top:3px solid #99CCFF;
+ background:#336699;
+ padding:15px; 
+}
+
+/**
+ * styles for the little toolbar on top of the comment text box
+ */
+#toolbar{
+ margin: 0;
+ padding: 0;
+}
+			
+.button{
+ border: 1px solid buttonface;
+ margin: 1px;
+}
+			
+.button_raised	{ 
+ border-top: 1px solid buttonhighlight;
+ border-left: 1px solid buttonhighlight;
+ border-bottom: 1px solid #999;
+ border-right: 1px solid #999;
+ margin: 1px;
+ }
+			
+.button_pressed	{
+ border-top: 1px solid #999;
+ border-left: 1px solid #999;
+ border-bottom: 1px solid buttonhighlight;
+ border-right: 1px solid buttonhighlight;
+ margin: 1px;
+}




More information about the pLog-svn mailing list