[pLog-svn] r1183 - in templates/trunk/standard: . imgs

jondaley at devel.plogworld.net jondaley at devel.plogworld.net
Thu Feb 24 01:47:26 GMT 2005


Author: jondaley
Date: 2005-02-24 01:47:25 +0000 (Thu, 24 Feb 2005)
New Revision: 1183

Added:
   templates/trunk/standard/imgs/
   templates/trunk/standard/imgs/compressed.gif
   templates/trunk/standard/imgs/file.gif
   templates/trunk/standard/imgs/folder.gif
   templates/trunk/standard/imgs/parentfolder.gif
   templates/trunk/standard/imgs/sound.gif
   templates/trunk/standard/imgs/video.gif
   templates/trunk/standard/searchresults.template
   templates/trunk/standard/style.css
Removed:
   templates/trunk/standard/compressed.gif
   templates/trunk/standard/file.gif
   templates/trunk/standard/folder.gif
   templates/trunk/standard/parentfolder.gif
   templates/trunk/standard/sound.gif
   templates/trunk/standard/standard.css
   templates/trunk/standard/video.gif
Modified:
   templates/trunk/standard/album.template
   templates/trunk/standard/albums.template
   templates/trunk/standard/archives.template
   templates/trunk/standard/commentarticle.template
   templates/trunk/standard/error.template
   templates/trunk/standard/footer.template
   templates/trunk/standard/header.template
   templates/trunk/standard/links.template
   templates/trunk/standard/main.template
   templates/trunk/standard/post.template
   templates/trunk/standard/postandcomments.template
   templates/trunk/standard/posttrackbacks.template
   templates/trunk/standard/resource.template
   templates/trunk/standard/screenshot.jpg
Log:
copied standard from trunk directory.  There is probably a nicer way to do this to share the files within subversion, but I am not sure how.

Modified: templates/trunk/standard/album.template
===================================================================
--- templates/trunk/standard/album.template	2005-02-24 01:41:28 UTC (rev 1182)
+++ templates/trunk/standard/album.template	2005-02-24 01:47:25 UTC (rev 1183)
@@ -1,4 +1,4 @@
-   		{include file="standard/header.template"}
+   		{include file="$blogtemplate/header.template"} 
 
 <h2>{$locale->tr("albums")}</h2>
 
@@ -13,7 +13,7 @@
  
 	<div class="album">
 	<a href="{$url->parentAlbumLink($album)}">
-    	<img src="{$url->getTemplateFile("parentfolder.gif")}" alt="{$locale->tr("parent_album")}" /></a>
+    	<img src="{$url->getTemplateFile("imgs/parentfolder.gif")}" alt="{$locale->tr("parent_album")}" /></a>
     	<p>{$locale->tr("parent_album")}</p>
 	</div>
 
@@ -22,7 +22,7 @@
    		{foreach from=$children item=childalbum}
 	<div class="album">
    	<a href="{$url->albumLink($childalbum)}">
-   	<img src="{$url->getTemplateFile("folder.gif")}" alt="{$childalbum->getName()}" /></a>
+   	<img src="{$url->getTemplateFile("imgs/folder.gif")}" alt="{$childalbum->getName()}" /></a>
    	<p>{$childalbum->getName()} ({$childalbum->getNumResources()})</p>
    		{assign var="counter" value="`$counter+1`"}
    		{if $counter%3 == 0}
@@ -43,13 +43,13 @@
    		{else}
    	<a href="{$url->resourceLink($resource)}">
    		{if $resource->isSound()}
-    	<img alt="Sound" src="{$url->getTemplateFile("sound.gif")}" /></a>
+    	<img alt="Sound" src="{$url->getTemplateFile("imgs/sound.gif")}" /></a>
    		{elseif $resource->isVideo()}
-    	<img alt="Video" src="{$url->getTemplateFile("video.gif")}" /></a>
+    	<img alt="Video" src="{$url->getTemplateFile("imgs/video.gif")}" /></a>
    		{elseif $resource->isZip()}
-    	<img alt="Zip" src="{$url->getTemplateFile("compressed.gif")}" /></a>  
+    	<img alt="Zip" src="{$url->getTemplateFile("imgs/compressed.gif")}" /></a>  
    		{else}
-   	<img alt="File" src="{$url->getTemplateFile("file.gif")}" /></a>
+   	<img alt="File" src="{$url->getTemplateFile("imgs/file.gif")}" /></a>
    		{/if}  
    	<p>{$resource->getFileName()}</p>
    		{/if}
@@ -75,4 +75,4 @@
 </div>
 
 <!-- end of album contents --> 
-		{include file="standard/footer.template"}
\ No newline at end of file
+		{include file="$blogtemplate/footer.template"} 
\ No newline at end of file

Modified: templates/trunk/standard/albums.template
===================================================================
--- templates/trunk/standard/albums.template	2005-02-24 01:41:28 UTC (rev 1182)
+++ templates/trunk/standard/albums.template	2005-02-24 01:47:25 UTC (rev 1183)
@@ -1,4 +1,4 @@
-		{include file="standard/header.template"}
+		{include file="$blogtemplate/header.template"} 
 
 <h2>{$locale->tr("albums")}</h2>
 
@@ -11,7 +11,7 @@
 		{assign var="counter" value=0}
   		{foreach from=$albums item=album}
 	<div class="album">
-	<a href="{$url->albumLink($album)}"><img src="{$url->getTemplateFile("folder.gif")}" alt="{$album->getName()}" /></a>
+	<a href="{$url->albumLink($album)}"><img src="{$url->getTemplateFile("imgs/folder.gif")}" alt="{$album->getName()}" /></a>
   	<p>{$album->getName()} ({$album->getNumResources()})</p>
   		{assign var="counter" value="`$counter+1`"}
 		{if $counter%3 == 0}
@@ -25,4 +25,4 @@
 
 <!-- end of the albums -->
 		
-		{include file="standard/footer.template"}
+		{include file="$blogtemplate/footer.template"} 

Modified: templates/trunk/standard/archives.template
===================================================================
--- templates/trunk/standard/archives.template	2005-02-24 01:41:28 UTC (rev 1182)
+++ templates/trunk/standard/archives.template	2005-02-24 01:47:25 UTC (rev 1183)
@@ -1,13 +1,15 @@
-		{include file="standard/header.template"}
+		{include file="$blogtemplate/header.template"} 
 <h2>{$locale->tr("archives")}</h2>
 
 <div id="Archives">
 	
 	<ul>
 		{foreach from=$archives item=month}
-    	<li><a href="{$month->getUrl()}">{$month->getName()}</a></li>
+    	<li><a href="{$month->getUrl()}">{$month->getName()}</a> [{$month->getNumArticles()}]</li>
     		{/foreach}
+    		
+    		
     	</ul>
 </div>
    	
-   		{include file="standard/footer.template"}
\ No newline at end of file
+   		{include file="$blogtemplate/footer.template"} 
\ No newline at end of file

Modified: templates/trunk/standard/commentarticle.template
===================================================================
--- templates/trunk/standard/commentarticle.template	2005-02-24 01:41:28 UTC (rev 1182)
+++ templates/trunk/standard/commentarticle.template	2005-02-24 01:47:25 UTC (rev 1183)
@@ -1,5 +1,5 @@
-		{include file="standard/header.template"}
+		{include file="$blogtemplate/header.template"} 
 		
-		{include file="standard/commentform.template"}
+		{include file="$blogtemplate/commentform.template"}
 		
-		{include file="standard/footer.template"}
+		{include file="$blogtemplate/footer.template"} 

Deleted: templates/trunk/standard/compressed.gif
===================================================================
(Binary files differ)

Modified: templates/trunk/standard/error.template
===================================================================
--- templates/trunk/standard/error.template	2005-02-24 01:41:28 UTC (rev 1182)
+++ templates/trunk/standard/error.template	2005-02-24 01:47:25 UTC (rev 1183)
@@ -1,4 +1,5 @@
-		{include file="standard/header.template"}
+		{include file="$blogtemplate/header.template"} 
  	<h2>{$locale->tr("error")}</h2>
- 		{$locale->tr($message)}
-		{include file="standard/footer.template"}
+ 		<p>{$locale->tr($message)}</p>
+		<p><a href="javascript:history.go(-1)">{$locale->tr("back")}</a></p>
+		{include file="$blogtemplate/footer.template"} 

Deleted: templates/trunk/standard/file.gif
===================================================================
(Binary files differ)

Deleted: templates/trunk/standard/folder.gif
===================================================================
(Binary files differ)

Modified: templates/trunk/standard/footer.template
===================================================================
--- templates/trunk/standard/footer.template	2005-02-24 01:41:28 UTC (rev 1182)
+++ templates/trunk/standard/footer.template	2005-02-24 01:47:25 UTC (rev 1183)
@@ -11,11 +11,23 @@
     	<li><a title="{$locale->tr("links")}" href="{$url->templatePage("links")}">{$locale->tr("links")}</a></li>
     	</ul>
     	</div>
+    	
+    	<h2>{$locale->tr("search")}</h2>
+	<div id="Search">
+	<form id="search_form" method="post" action="{$url->getIndexUrl()}">
+	<fieldset>
+	<label for="searchTerms"><input type="text" id="searchTerms" name="searchTerms" value="" /></label>
+	<input type="submit" name="Search" value="{$locale->tr("search_s")}" class="button" />
+	<input type="hidden" name="op" value="Search" />
+	<input type="hidden" name="blogId" value="{$blog->getId()}" />   
+	</fieldset>
+	</form>
+	</div> 
 
 	<h2>{$locale->tr("calendar")}</h2>
     	<div id="Calendar">
     		{$calendar}
-    	</div>
+    	</div>	
   
   	<h2>{$locale->tr("recently")}</h2>
     	<div id="Recently">
@@ -30,7 +42,7 @@
     	<div id="Categories">
     	<ul>
     		{foreach from=$articlecategories item=articleCategory}
-    	<li><a title="{$articleCategory->getName()}" href="{$url->categoryLink($articleCategory)}">{$articleCategory->getName()} [{$articleCategory->getNumArticles()}]</a></li>
+    	<li><a title="{$articleCategory->getName()}" href="{$url->categoryLink($articleCategory)}">{$articleCategory->getName()} <abbr title="{$articleCategory->getNumArticles()} {$locale->tr("posts")}">[{$articleCategory->getNumArticles()}]</abbr></a></li>
    		{/foreach}
   	</ul>
   	</div>
@@ -44,7 +56,6 @@
     	<li><a title="XML" href="{$url->rssLink("xml")}">XML</a></li>
     	</ul>
     	</div>
- 
 </div>
 
 <div class="clearer">&nbsp;</div> 
@@ -58,5 +69,6 @@
 <div id="Bottom">Powered by <a href="http://www.plogworld.net">pLog</a> - Design by <a href="http://www.balearweb.com/">BalearWeb</a></div>
 
 </div>
+
 </body>
 </html>

Modified: templates/trunk/standard/header.template
===================================================================
--- templates/trunk/standard/header.template	2005-02-24 01:41:28 UTC (rev 1182)
+++ templates/trunk/standard/header.template	2005-02-24 01:47:25 UTC (rev 1183)
@@ -1,14 +1,18 @@
 <!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()}" lang="{$locale->getLanguageId()}" dir="{$locale->getDirection()}">
  <head>
-  <meta http-equiv="content-type" content="text/html; charset={$locale->getCharset()}" />
-  <title>{$blog->getBlog()}</title>
-  <style type="text/css" media="screen">@import "{$url->getTemplateFile("standard.css")}";</style>
+ <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" type="text/css" title="Style" href="{$url->getTemplateFile("style.css")}" />
+ <link rel="alternate" type="application/xml" title="RSS 2.0" href="{$url->rssLink("rss20")}" />
+ <link rel="alternate" type="application/xml" title="RSS 1.0" href="{$url->rssLink("rss10")}" />
+ <link rel="alternate" type="application/xml" title="RSS 0.90" href="{$url->rssLink("rss090")}" />
+ <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="{$url->rssLink("atom")}" />  
  </head>
- <body> 
- 
-<p class="Upgrade">This page looks plain and unstyled because you're using a non-standard compliant browser. To see it in its best form, please <a href="http://www.webstandards.org/upgrade/" title="The Web Standards Project's Browser Upgrade initiative">upgrade</a> to a browser that supports web standards. It's free and painless.</p>
-  
+  <body> 
+
 <div id="Container">
   
 <div id="Title"><h1><a href="{$url->blogLink()}">{$blog->getBlog()}</a></h1></div>
@@ -17,4 +21,4 @@
 
 <div id="Subcontainer">  
 
-<div id="Content">
\ No newline at end of file
+<div id="Content">

Added: templates/trunk/standard/imgs/compressed.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/standard/imgs/compressed.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/standard/imgs/file.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/standard/imgs/file.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/standard/imgs/folder.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/standard/imgs/folder.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/standard/imgs/parentfolder.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/standard/imgs/parentfolder.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/standard/imgs/sound.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/standard/imgs/sound.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/standard/imgs/video.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/standard/imgs/video.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Modified: templates/trunk/standard/links.template
===================================================================
--- templates/trunk/standard/links.template	2005-02-24 01:41:28 UTC (rev 1182)
+++ templates/trunk/standard/links.template	2005-02-24 01:47:25 UTC (rev 1183)
@@ -1,4 +1,4 @@
-		{include file="standard/header.template"}
+		{include file="$blogtemplate/header.template"} 
   
 <div id="Links">
 	<h2>{$locale->tr("my_links")}</h2>
@@ -12,4 +12,4 @@
   		{/foreach}
   	</div>
   
-		{include file="standard/footer.template"}
\ No newline at end of file
+		{include file="$blogtemplate/footer.template"} 
\ No newline at end of file

Modified: templates/trunk/standard/main.template
===================================================================
--- templates/trunk/standard/main.template	2005-02-24 01:41:28 UTC (rev 1182)
+++ templates/trunk/standard/main.template	2005-02-24 01:47:25 UTC (rev 1183)
@@ -1,9 +1,27 @@
-		{include file="standard/header.template"}
+		{include file="$blogtemplate/header.template"} 
+		
 
-		{foreach from=$posts item=post}
+ {if $showAll == 1 && $category}<h2>{$locale->tr("posts")}: {$category->getName()}</h2>{/if} 
+ 
+ 
+{foreach from=$posts item=post}
+{if $showAll}
+  <!-- showing only the topic of the post, in case we have too many! -->
+<h3><a href="{$url->postPermalink($post)}">{$post->getTopic()}</a></h3>
+<div>
+{$post->getText()|strip_tags|truncate:300:"...":false}
+</div>
+
+<p class="footer">
+{foreach name=categories from=$post->getCategories() item=postCategory}
+  <a href="{$url->categoryLink($postCategory)}">{$postCategory->getName()}</a> 
+  {if !$smarty.foreach.categories.last}, {/if}
+{/foreach}
+</p>
+{else}
+  <!-- show the whole post, as we would normally do -->
+   {include file="$blogtemplate/post.template"}
+{/if}
+{/foreach}
 		
-		{include file="standard/post.template"}
-		
-		{/foreach}
-
-		{include file="standard/footer.template"}
\ No newline at end of file
+		{include file="$blogtemplate/footer.template"} 
\ No newline at end of file

Deleted: templates/trunk/standard/parentfolder.gif
===================================================================
(Binary files differ)

Modified: templates/trunk/standard/post.template
===================================================================
--- templates/trunk/standard/post.template	2005-02-24 01:41:28 UTC (rev 1182)
+++ templates/trunk/standard/post.template	2005-02-24 01:47:25 UTC (rev 1183)
@@ -1,5 +1,5 @@
 <h2>{$post->getTopic()}</h2>
-		<!-- {$utils->postTrackbackLink($post)} -->
+		<!-- {$url->postTrackbackLink($post)} -->
 		{assign var="postDate" value=$post->getDateObject()}
 		{assign var="postOwner" value=$post->getUserInfo()}
 <p class="date">{$postOwner->getUsername()} | {$locale->formatDate($postDate,"%d %B, %Y %H:%M")}</p>
@@ -9,6 +9,10 @@
 </div>
 
 <p class="footer">
-{assign var="postCategory" value=$post->getCategory()}
-<a href="{$url->postCategoryLink($post)}">{$postCategory->getName()}</a> :: <a href="{$url->postPermalink($post)}">{$locale->tr("comment on this")} ({$post->getTotalComments()})</a> :: <a title="{$locale->tr("permalink_title")}" href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a> :: <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}
+{/foreach}
+ :: <a href="{$url->postPermalink($post)}">{$locale->tr("comment on this")} ({$post->getTotalComments()})</a> :: <a title="{$locale->tr("permalink_title")}" href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a> :: <a href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a>
 </p>

Modified: templates/trunk/standard/postandcomments.template
===================================================================
--- templates/trunk/standard/postandcomments.template	2005-02-24 01:41:28 UTC (rev 1182)
+++ templates/trunk/standard/postandcomments.template	2005-02-24 01:47:25 UTC (rev 1183)
@@ -1,9 +1,13 @@
-		{include file="standard/header.template"}
+		{assign var="postPageTitle" value=$post->getTopic()}
+		{assign var="postPageTitle" value=" | $postPageTitle"}
+		{include file="$blogtemplate/header.template"} 
   
 <p id="Nextpost">
+		{assign var=nextpost value=$post->getNextArticle()}
 		{if $nextpost == true}
 <a href="{$url->postPermalink($nextpost)}" title="Next post: {$nextpost->getTopic()}">&laquo;</a> |
    		{/if}
+		{assign var=prevpost value=$post->getPrevArticle()}
    		{if $prevpost == true}
 <a href="{$url->postPermalink($prevpost)}" title="Previous post: {$prevpost->getTopic()}">&raquo;</a>
    		{/if}
@@ -11,19 +15,18 @@
    
    		{assign var="poster" value=$post->getUserInfo()}
    		
-   		{include file="standard/post.template"}
-   		
+   		{include file="$blogtemplate/post.template"}
+<h2>{$locale->tr("comments_for_post")}</h2>	
    		{foreach from=$comments item=comment}
 
-<h3 class="commentheader">
-<img src="{$url->getUrl("/imgs/comment_icon1.gif")}" alt="Comment Icon" /> {$comment->getTopic()} <span class="reply">[<a href="{$url->replyCommentLink($post,$comment)}">{$locale->tr("reply")}</a>]</span></h3>
+<h3 class="commentheader"><img src="{$url->getUrl("/imgs/comment_icon1.gif")}" alt="Comment Icon" /> {$comment->getTopic()}</h3>
 
 <p class="commentposterinfo">
 		{assign var="postDate" value=$comment->getTimestamp()}
 		{if $comment->getUserUrl() != ""}<a href="{$comment->getUserUrl()}">{$comment->getUsername()}</a>
-		{else}
-                {$comment->getUsername()}
-                {/if} | {$locale->formatDate($postDate, "%d/%m/%Y, %H:%M")}
+		{else}
+			{$comment->getUsername()}
+		{/if} | {$locale->formatDate($postDate, "%d/%m/%Y, %H:%M")}
 </p>
 
 <div class="commenttext">
@@ -32,7 +35,7 @@
   		{/foreach}
 
 		{if $blogsettings->getValue("comments_enabled") && $post->getCommentsEnabled()==1}
-		{include file="standard/commentform.template"}
+		{include file="$blogtemplate/commentform.template"}
 		{/if}
 		
-		{include file="standard/footer.template"}
+		{include file="$blogtemplate/footer.template"} 

Modified: templates/trunk/standard/posttrackbacks.template
===================================================================
--- templates/trunk/standard/posttrackbacks.template	2005-02-24 01:41:28 UTC (rev 1182)
+++ templates/trunk/standard/posttrackbacks.template	2005-02-24 01:47:25 UTC (rev 1183)
@@ -1,4 +1,4 @@
-		{include file="standard/header.template"}
+		{include file="$blogtemplate/header.template"} 
 		
 <h2>{$locale->tr("trackbacks")}</h2>
 		
@@ -18,4 +18,4 @@
 </dl>
   		{/foreach}
 
-{include file="standard/footer.template"}
+{include file="$blogtemplate/footer.template"} 

Modified: templates/trunk/standard/resource.template
===================================================================
--- templates/trunk/standard/resource.template	2005-02-24 01:41:28 UTC (rev 1182)
+++ templates/trunk/standard/resource.template	2005-02-24 01:47:25 UTC (rev 1183)
@@ -1,4 +1,4 @@
-		{include file="standard/header.template"}
+		{include file="$blogtemplate/header.template"} 
 
 <h2>{$locale->tr("albums")}</h2>
 
@@ -21,14 +21,14 @@
    		{* show some information about the file *}
    
    		{if $resource->isSound()}
-     	<img alt="Sound" src="{$url->getTemplateFile("sound.gif")}" /></a>
+     	<img alt="Sound" src="{$url->getTemplateFile("imgs/sound.gif")}" /></a>
      	<p>{$resource->getFileName()}</p>
      	<p>{$locale->tr("format")}: {$metadata->getFormat()|upper}</p>
      	<p>{$locale->tr("length")}: {$metadata->getLengthString()}</p>
      	<p>{$locale->tr("sample_rate")}: {$metadata->getSampleRate()} Khz</p>
    
    		{elseif $resource->isVideo()}
-     	<img alt="Sound" src="{$url->getTemplateFile("video.gif")}" /></a>
+     	<img alt="Sound" src="{$url->getTemplateFile("imgs/video.gif")}" /></a>
      	<p>{$resource->getFileName()}</p>
      	<p>{$locale->tr("format")}: {$metadata->getFormat()|upper}</p>
     	<p>{$locale->tr("size")}: {$metadata->getHeight()} x {$metadata->getWidth()}</p>
@@ -37,13 +37,13 @@
     	<p>{$locale->tr("audio_codec")}: {$metadata->getAudioCodec()}</p>
    
    		{elseif $resource->isZip()}
-     	<img alt="Zip" src="{$url->getTemplateFile("compressed.gif")}" /></a>
+     	<img alt="Zip" src="{$url->getTemplateFile("imgs/compressed.gif")}" /></a>
      	<p>{$resource->getFileName()}</p> 
     	<p>{$metadata->getTotalFiles()} {$locale->tr("files")}</p>
     	<p>{$locale->tr("uncompressed_size")}: {$metadata->getRoundedUncompressedSize()}</p>
    
    		{else}
-     	<img alt="File" src="{$url->getTemplateFile("file.gif")}" /></a>
+     	<img alt="File" src="{$url->getTemplateFile("imgs/file.gif")}" /></a>
      	<p>{$resource->getFileName()}</p>
          
    		{/if}   
@@ -51,8 +51,8 @@
  	</div>
  
  
-		{assign var=album value=$resource->getAlbum()} 
-	<p><a href="{$url->albumLink($album)}">{$locale->tr("back")}</a></p>
+		{assign var=album value=$resource->getAlbum()} 
+	<p><a href="{$url->albumLink($album)}">{$locale->tr("parent_album")}</a></p>
 
 </div>
 

Modified: templates/trunk/standard/screenshot.jpg
===================================================================
(Binary files differ)

Added: templates/trunk/standard/searchresults.template
===================================================================
--- templates/trunk/standard/searchresults.template	2005-02-24 01:41:28 UTC (rev 1182)
+++ templates/trunk/standard/searchresults.template	2005-02-24 01:47:25 UTC (rev 1183)
@@ -0,0 +1,27 @@
+{include file="$blogtemplate/header.template"} 
+   <h2>{$locale->tr("search_results")}: {foreach from=$searchterms item=term}{$term} {/foreach}</h2>
+   <div id="SearchResults">
+    {foreach from=$searchresults item=result}
+    
+    
+      {assign var=article value=$result->getArticle()}
+      {if $urlmode == 2}
+      <h3><a href="{$url->postPermalink($article)}?searchTerms={foreach from=$searchterms item=term}{$term|escape:"hex"}%20{/foreach}">{$article->getTopic()}</a></h3>
+      {else}
+      <h3><a href="{$url->postPermalink($article)}&searchTerms={foreach from=$searchterms item=term}{$term|escape:"hex"}%20{/foreach}">{$article->getTopic()}</a></h3>
+      {/if}
+      <p class="searchArticle">
+      {$article->getText()|strip_tags|truncate:300:"...":false}
+      </p>
+      {assign var="articleCategory" value=$article->getCategory()}
+      <p class="footer"">
+		{foreach name=categories from=$article->getCategories() 
+				 item=postCategory}
+          <a href="{$url->postCategoryLink($article)}">
+			 {$postCategory->getName()}</a>{if 
+				!$smarty.foreach.categories.last}, {/if}
+        {/foreach}
+      </p>
+    {/foreach}
+   </div> 
+{include file="$blogtemplate/footer.template"} 

Deleted: templates/trunk/standard/sound.gif
===================================================================
(Binary files differ)

Deleted: templates/trunk/standard/standard.css
===================================================================
--- templates/trunk/standard/standard.css	2005-02-24 01:41:28 UTC (rev 1182)
+++ templates/trunk/standard/standard.css	2005-02-24 01:47:25 UTC (rev 1183)
@@ -1,311 +0,0 @@
-/* ******************  general  *************** */
-
-body {
-	margin:0; 
-	padding:0;
-	font:small lucida sans unicode, arial, times new roman, sans-serif;
-	color:#525150;
-	background:#004ca1;
-	}
-	
-a:link {
-	color: #004ca1;
-	}
-	
-a:visited {
-	color: #b50394;
-	}
-	
-a:hover, a:active, a:focus {
-	color: #fff; text-decoration:none; background-color: #b50394;
-	}
-
-h2, h3 {
-	margin:0;
-	padding:0;
-	}
-	
-.Upgrade {
-	display: none;
-	font-weight: bold;
-	}
-	
-.clearer {
-	clear : both;
-	height : 1px;
-	font-size : 1px;
-	}
-      
-#Container {
-	width: 100%;
-	}
-
-#Title h1 {
-	color: #fff;
-	margin-top:25px;
-	margin-bottom:5px;
-	margin-left:10px;
-	padding:0px;
-	font-size:320%;
-        font-weight: normal;
-	}
-
-#Title a:active, h1 a:link, h1 a:hover, h1 a:focus, h1 a:visited {
-	text-decoration: none;
-	color: #fff;
-	border: 0;
-	background-color:transparent; 
-	}
-
-#Subtitle {
-	background-color:#002f64;
-	color:#fff;
-	padding:2px 14px 2px 14px;
-	font-size:medium;
-	}
-
-#Subcontainer {
-	text-align:left;
-	background-color:#fff;
-	padding-bottom:10px;
-	padding-top:10px;
-	}
-	
-	
-/* ******************  column a  *************** */
-	
-#Content {
-	width: 62%;
-	float: left;
-	margin-right:3%;
-	margin-left:2%;
-	background-color:#fff;
-	}
-	
-#Content h2 {
-	color:#b8b2ac;
-	margin:20px 0 10px 0;
-	}
-	
-.date {
-	font-weight: bold;
-	}
-
-.footer {
-	padding-bottom:1em;
-	border-bottom: 1px solid #d4d0cd;
-	}
-	
-#Nextpost {
-	text-align:center;
-	}	
-	
-.commentposterinfo {
-	margin-bottom:1em;
-	font-weight: bold;
-	}
-	
-h3.commentheader {
-	font-size:medium;
-	color:#b8b2ac;
-	font-weight: normal;
-	}
-	
-.reply {font-weight: normal;font-size:small;}
-
-div.commenttext {
-	border-bottom: 1px solid #d4d0cd;
-	padding-bottom:1em;
-	margin-bottom:1em;
-	}
-
-
-fieldset {
-	border:2px solid #d4d0cd; 
-	padding-top:10px; 
-	margin-top:10px; 
-	padding-left:10px; 
-	padding-bottom:10px;
-	}
-
-legend {
-	color:#525150;
-	padding:2px 4px 2px 4px;
-	background-color: #ffffff;
-	font-weight : bold;
-	}
-
-label {
-	width:6em;
-	float:left;
-	display:block;
-	clear:both; 
-	float:left;
-	margin-top:8px;
-	margin-bottom:0px;
-	}
-	
-#CommentForm input {
-	margin-top:
-	8px;margin-bottom:8px;
-	}
-	
-#Submit {
-	margin-top:8px;
-	margin-bottom:8px;
-	margin-left:6em;
-	}
-	
-#CommentForm textarea {
-	margin-top:8px;
-	margin-bottom:0px;
-	}
-	
-/* ******************  columnb  *************** */
-	
-#Menu   {
-	width:30%;
-	float: left;
-	text-align:left;
-	background-color:#fff;
-	}
-	
-#Calendar {
-	border-left-color:#d4d0cd;
-	border-left-style:solid;
-	border-left-width:6px;
-	width:86%;
-	padding-top:1px;
-	padding-bottom:1px;
-	padding-right:10px;
-	padding-left:10px;
-	margin-bottom:10px;
-	background-color:#f0efee;
-	margin-top:1px;
-	}
-
-.calendar {
-	text-align:left;
-	}
-
-.calendarToday {
- 	background-color: #d4d0cd;
-	}
-
-#Menu h2 {
-  	background-color: #004ca1;
-  	font-size:small;
-  	width:86%;
-  	display:block;
-        padding:1px 10px 1px 10px;
-  	border-left-style:solid;
-  	border-left-color:#002f64;
-  	color:#fff;
-  	margin-top:10px;
-  	border-left-width:6px;
-	}
-
-#Categories ul, #Syndicate ul, #Recently ul, #Sections ul {
-	margin-left:0; 
-	margin-top:0; 
-	margin-bottom:0px; 
-	padding:0; 
-	list-style:none; 
-	font-size:small;
-	}
-
-#Categories a, #Syndicate a, #Recently a, #Sections a {
-	width:86%;
-	display:block;
-	padding-top:1px;
-	padding-bottom:1px;
-	border-left-style:solid;
-	border-left-color:#d4d0cd;
-	text-decoration:none;
-	padding-right:10px;
-	padding-left:10px;
-	background-color:#f0efee;
-	border-left-width:6px;
-	margin-top:1px
-	}
-
-#Categories a:hover, #Syndicate a:hover, #Recently a:hover, 
-#Sections a:hover, #Categories a:focus, #Syndicate a:focus, 
-#Recently a:focus, #Links a:focus, #Categories a:active,  
-#Syndicate a:active, #Recently a:active, #Sections a:active {
-	border-color:#71025C;
-	background-color:#b50394;
-	}
-
-
-/* ******************  footer  *************** */
-
-#Bottommenu {
-	clear:both;
-	background-color:#002f64;
-	color:#fff;
-	padding:3px 15px 3px 15px;
-	}
-
-#Bottom {
-	color:#fff;
-	margin-left:12px;
-	padding:3px;
-	}
-	
-#Bottommenu a, #Bottommenu a:link, #Bottommenu a:visited, #Bottom a, 
-#Bottom a:link, #Bottom a:visited {
-	text-decoration: none;
-	color: #fff;
-	border: 0;
-	}
-
-#Bottommenu a:active, #Bottommenu a:focus, #Bottommenu a:hover, 
-#Bottom a:active, #Bottom a:focus, #Bottom a:hover { 
-	text-decoration : underline; 
-	color : #fff;background-color:transparent; 
-	}
-
-
-/* ******************  albums  *************** */
-
-div.album {
-	text-align: center;
-        float: left;
-        width:150px;
-        margin-bottom:20px;
-  	}
-
-.album p {
-   	text-align: center;
-   	padding:0;
-   	margin:0;
-   	width:150px;
-   	}
-   
-a img {border:none;}
-#album a:link {color: #004ca1;}
-#album a:visited {color: #b50394;}
-#album a:hover, #album a:active, #album a:focus {color: #004ca1;background:none;}
-
-
-/* ******************  trakbacks  *************** */
-
-h4 {
-	margin:1em 0 0 0;
-	padding:0;font-size:small;
-	}
-	
-dl {	
-	margin:0;
-	padding:0;
-	}
-	
-dt {
-	font-weight: bold;
-	float:left;
-	}
-	
-dd {
-	padding-left:4em;
-	}
\ No newline at end of file

Added: templates/trunk/standard/style.css
===================================================================
--- templates/trunk/standard/style.css	2005-02-24 01:41:28 UTC (rev 1182)
+++ templates/trunk/standard/style.css	2005-02-24 01:47:25 UTC (rev 1183)
@@ -0,0 +1,377 @@
+/* ******************  general  *************** */
+
+abbr, acronym {
+  cursor: help;
+  border: none;
+}
+
+html, #Bottom, #Title h1 { background:#004ca1; } 
+
+body {
+	margin:0; 
+	padding:0;
+	font:small lucida sans unicode, arial, times new roman, sans-serif;
+	color:#525150;
+	background: #fff;
+	}
+	
+a:link {
+	color: #004ca1;
+	}
+	
+a:visited {
+	color: #b50394;
+	}
+	
+a:hover, a:active, a:focus {
+	color: #fff; text-decoration:none; background-color: #b50394;
+	}
+
+h2, h3 {
+	margin:0;
+	padding:0;
+	}
+	
+.Upgrade {
+	display: none;
+	font-weight: bold;
+	}
+	
+.clearer {
+	clear : both;
+	height : 1px;
+	font-size : 1px;
+	}
+      
+#Container {
+	width: 100%;
+	}
+
+#Title h1 {
+   color: #fff;
+   margin:0;
+   padding:25px 0 5px 10px;
+   font-size:320%;
+   font-weight: normal;
+   } 
+
+#Title a:active, h1 a:link, h1 a:hover, h1 a:focus, h1 a:visited {
+	text-decoration: none;
+	color: #fff;
+	background-color:transparent; 
+	}
+
+#Subtitle {
+	background-color:#002f64;
+	color:#fff;
+	padding:2px 14px 2px 14px;
+	font-size:medium;
+	}
+	
+	
+#Subtitle a:link, #Subtitle a:visited, #Subtitle a:hover {
+	text-decoration: underline;
+	color: #fff;
+	background-color:transparent;
+	}	
+	
+#Subtitle a:active, #Subtitle a:focus {
+	color: #002f64; text-decoration:none; background-color: #fff;
+	}
+
+#Subcontainer {
+	text-align:left;
+	background-color:#fff;
+	padding-bottom:10px;
+	padding-top:10px;
+	}
+	
+	
+/* ******************  column a  *************** */
+	
+#Content {
+	width: 62%;
+	float: left;
+	margin-right:3%;
+	margin-left:2%;
+	background-color:#fff;
+	}
+	
+#Content h2 {
+	color:#b8b2ac;
+	margin:20px 0 10px 0;
+	}
+	
+.date {
+	font-weight: bold;
+	}
+
+.footer {
+	padding-bottom:1em;
+	border-bottom: 1px solid #d4d0cd;
+	}
+	
+#Nextpost {
+	text-align:center;
+	}	
+	
+.commentposterinfo {
+	margin-bottom:1em;
+	font-weight: bold;
+	}
+	
+h3.commentheader {
+	font-size:medium;
+	color:#b8b2ac;
+	font-weight: normal;
+	}
+	
+.reply {font-weight: normal;font-size:small;}
+
+div.commenttext {
+	border-bottom: 1px solid #d4d0cd;
+	padding-bottom:1em;
+	margin-bottom:1em;
+	}
+
+
+#CommentForm fieldset {
+	border:2px solid #d4d0cd; 
+	padding-top:10px; 
+	margin-top:10px; 
+	padding-left:10px; 
+	padding-bottom:10px;
+	}
+
+#CommentForm legend {
+	color:#525150;
+	padding:2px 4px 2px 4px;
+	background-color: #ffffff;
+	font-weight : bold;
+	}
+
+#CommentForm label {
+	width:6em;
+	float:left;
+	display:block;
+	clear:both; 
+	float:left;
+	margin-top:8px;
+	margin-bottom:0px;
+	}
+	
+#CommentForm input {
+	margin-top:
+	8px;margin-bottom:8px;
+	}
+	
+#Submit {
+	margin-top:8px;
+	margin-bottom:8px;
+	margin-left:6em;
+	}
+	
+#CommentForm textarea {
+	margin-top:8px;
+	margin-bottom:0px;
+	}
+	
+/* ******************  columnb  *************** */
+	
+#Menu   {
+	width:30%;
+	float: left;
+	text-align:left;
+	background-color:#fff;
+	}
+	
+#Calendar, #Search {
+	border-left-color:#d4d0cd;
+	border-left-style:solid;
+	border-left-width:6px;
+	width:86%;
+	padding-top:1px;
+	padding-bottom:1px;
+	padding-right:14px;
+	padding-left:6px;
+	margin-bottom:10px;
+	background-color:#f0efee;
+	margin-top:1px;
+	}
+	
+#Search fieldset {border:0px solid; padding:2px; margin:2px;}
+#Search input {margin:0px;padding:2px;width:7em;}
+#Search input.button {margin:0px;padding:2px;width:5em;}
+#Search form {margin:0px;padding:2px;}
+#Search label {margin:0px;padding:2px;width:8em;}
+
+table.calMonth {
+	width:11em;
+	border-spacing:4px;
+	border:0px;
+	}
+
+th.calMonthCurrent {
+	font-weight:normal;
+	padding: 0px;
+	text-align: center;
+	}
+	
+th.calMonthBackward {
+	font-weight:normal;
+	padding: 0px;
+	text-align:center;
+	}
+	
+th.calMonthForward {
+	font-weight:normal;
+	padding: 0px;
+	text-align:center;
+	}
+	
+.calMonthHeader th {
+	text-align:center;
+	font-weight:normal;
+	padding: 0px;
+	}
+	
+#Calendar td {	
+	padding: 0px;
+	text-align:center
+	}
+
+.calendarToday {
+ 	background-color: #d4d0cd;
+	}	
+
+#Menu h2 {
+  	background-color: #004ca1;
+  	font-size:small;
+  	width:86%;
+  	display:block;
+        padding:1px 10px 1px 10px;
+  	border-left-style:solid;
+  	border-left-color:#002f64;
+  	color:#fff;
+  	margin-top:10px;
+  	border-left-width:6px;
+	}
+
+#Categories ul, #Syndicate ul, #Recently ul, #Sections ul {
+	margin-left:0; 
+	margin-top:0; 
+	margin-bottom:0px; 
+	padding:0; 
+	list-style:none; 
+	font-size:small;
+	}
+
+#Categories a, #Syndicate a, #Recently a, #Sections a {
+	width:86%;
+	display:block;
+	padding-top:1px;
+	padding-bottom:1px;
+	border-left-style:solid;
+	border-left-color:#d4d0cd;
+	text-decoration:none;
+	padding-right:10px;
+	padding-left:10px;
+	background-color:#f0efee;
+	border-left-width:6px;
+	margin-top:1px
+	}
+
+#Categories a:hover, #Syndicate a:hover, #Recently a:hover, 
+#Sections a:hover, #Categories a:focus, #Syndicate a:focus, 
+#Recently a:focus, #Links a:focus, #Categories a:active,  
+#Syndicate a:active, #Recently a:active, #Sections a:active {
+	border-color:#71025C;
+	background-color:#b50394;
+	}
+
+
+/* ******************  footer  *************** */
+
+#Bottommenu {
+	clear:both;
+	background-color:#002f64;
+	color:#fff;
+	padding:3px 15px 3px 15px;
+	}
+
+
+#Bottom {
+   color:#fff;
+   padding:3px 3px 3px 15px;
+   } 
+	
+#Bottommenu a, #Bottommenu a:link, #Bottommenu a:visited, #Bottom a, 
+#Bottom a:link, #Bottom a:visited {
+	text-decoration: none;
+	color: #fff;
+	border: 0;
+	}
+
+#Bottommenu a:active, #Bottommenu a:focus, #Bottommenu a:hover, 
+#Bottom a:active, #Bottom a:focus, #Bottom a:hover { 
+	text-decoration : underline; 
+	color : #fff;background-color:transparent; 
+	}
+
+
+/* ******************  albums  *************** */
+
+div.album {
+	text-align: center;
+        float: left;
+        width:150px;
+        margin-bottom:20px;
+  	}
+
+.album p {
+   	text-align: center;
+   	padding:0;
+   	margin:0;
+   	width:150px;
+   	}
+   
+a img {border:none;}
+#album a:link {color: #004ca1;}
+#album a:visited {color: #b50394;}
+#album a:hover, #album a:active, #album a:focus {color: #004ca1;background:none;}
+
+
+/* ******************  trakbacks  *************** */
+
+h4 {
+	margin:1em 0 0 0;
+	padding:0;font-size:small;
+	}
+	
+dl {	
+	margin:0;
+	padding:0;
+	}
+	
+dt {
+	font-weight: bold;
+	float:left;
+	}
+	
+dd {
+	padding-left:4em;
+	}
+	
+/* ******************  to align elements  *************** */
+.left {text-align: left;display:block}
+.right {text-align: right;display:block}
+.center {text-align: center;display:block}
+
+/* ******************  to float elements  *************** */
+.floatleft {float: left;padding:2px 10px 10px 0px}
+.floatright {float: right;padding:2px 0px 10px 10px;}
+
+/* ******************  to highlight text  *************** */
+.bold {font-weight: bold;}
+.italic {font-style:italic;}
+.underline {text-decoration:underline}
\ No newline at end of file

Deleted: templates/trunk/standard/video.gif
===================================================================
(Binary files differ)




More information about the pLog-svn mailing list