[pLog-svn] r1627 - in templates/trunk: . kubrick kubrick/images

oscar at devel.plogworld.net oscar at devel.plogworld.net
Tue Mar 29 08:59:18 GMT 2005


Author: oscar
Date: 2005-03-29 08:59:17 +0000 (Tue, 29 Mar 2005)
New Revision: 1627

Added:
   templates/trunk/kubrick/
   templates/trunk/kubrick/about.template
   templates/trunk/kubrick/album.template
   templates/trunk/kubrick/albums.template
   templates/trunk/kubrick/bold.gif
   templates/trunk/kubrick/commentarticle.template
   templates/trunk/kubrick/commentform.template
   templates/trunk/kubrick/error.gif
   templates/trunk/kubrick/error.template
   templates/trunk/kubrick/footer.template
   templates/trunk/kubrick/header.template
   templates/trunk/kubrick/images/
   templates/trunk/kubrick/images/Thumbs.db
   templates/trunk/kubrick/images/kubrickbg.jpg
   templates/trunk/kubrick/images/kubrickbgcolor.jpg
   templates/trunk/kubrick/images/kubrickbgwide.jpg
   templates/trunk/kubrick/images/kubrickfooter.jpg
   templates/trunk/kubrick/images/kubrickheader.jpg
   templates/trunk/kubrick/italic.gif
   templates/trunk/kubrick/link.gif
   templates/trunk/kubrick/main.template
   templates/trunk/kubrick/panel.template
   templates/trunk/kubrick/post.template
   templates/trunk/kubrick/postandcomments.template
   templates/trunk/kubrick/posttrackbacks.template
   templates/trunk/kubrick/resource.template
   templates/trunk/kubrick/rss.template
   templates/trunk/kubrick/screenshot.jpg
   templates/trunk/kubrick/searchresults.template
   templates/trunk/kubrick/style.css
   templates/trunk/kubrick/toolbar.js
Log:
added template 'kubrick' ported by user knight


Added: templates/trunk/kubrick/about.template
===================================================================
--- templates/trunk/kubrick/about.template	2005-03-29 07:54:45 UTC (rev 1626)
+++ templates/trunk/kubrick/about.template	2005-03-29 08:59:17 UTC (rev 1627)
@@ -0,0 +1,15 @@
+{include file="$blogtemplate/header.template"}
+<div id="content" class="narrowcolumn">
+ <div>
+  <div>
+  <h2 class="title">{$locale->tr("about")}</h2>
+  <div class="posted"><a href="{$url->templatePage("about")}">{$locale->tr("permalink")}</a></div>
+&nbsp;&nbsp;&nbsp;&nbsp;This template is a clone of the 'georgia blue' style found on <a href='http://www.movabletype.org'>MovableType.org</a>. Also check out <a href='http://www.bookofstyles.com'>The Book of Styles</a> for some very cool styles and templates for websites. It was ported to the <a href='http://www.plogworld.net'>plog</a> blogging system by Nick Gerakines, me :), for the blog that i setup for my mom. Its a very simple layout that allows comments, trackback requests and so on. If you like it or find an error somewhere make a post in the <a href='http://forum.socklabs.com'>forum</a> or email me at <a href='mailto:nick at socklabs.com'>nick at socklabs.com</a>.
+ <hr/>
+ You can change the contents of this page by editing the about.template file.
+  </div>
+  <br />
+ </div>
+</div>
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/kubrick/album.template
===================================================================
--- templates/trunk/kubrick/album.template	2005-03-29 07:54:45 UTC (rev 1626)
+++ templates/trunk/kubrick/album.template	2005-03-29 08:59:17 UTC (rev 1627)
@@ -0,0 +1,102 @@
+{include file="$blogtemplate/header.template"}
+<div id="content" class="narrowcolumn">
+{assign var="postDate" value=$album->getTimestamp()}
+<div class="blog">
+ <h2>{$album->getName()}</h2>
+ <div class="post">
+  <div class="entry">
+   <img alt="Album" src="{$url->getTemplateFile("folderblue.gif")}" width="10" height="11" style="border:0px;" />
+   <a href="{$url->albumLink($album)}">
+     {$locale->tr("resources")} ({$album->getNumResources()})
+    </a> | {$locale->tr("created")} {$locale->formatDate($postDate,"%d %b, %Y")}
+  </div>
+ </div>
+ <p>{$album->getDescription()}</p><br/>
+ 
+{** 
+    smarty template gets a bit complicated here since we want to show the contents of the album in a nicely
+    arranged table, and that needs some very basic maths... we also need to check after every iteration
+    wether we have to close the current row or start a new one, and so on...
+ **}
+    
+ <!-- album contents go here -->
+<table style="border:0px;width:100%;" summary="Album Resources">
+ <tr>
+  <td style="width:25%;" align="center" >
+   <a href="{$url->parentAlbumLink($album)}">
+    <img style="border:0px;" src="{$url->getUrl("/imgs/folder.gif")}" alt="Folder" /><br/>
+    ..
+   </a>
+  </td>
+  {assign var="counter" value=1}
+  {assign var=children value=$album->getChildren()}
+  {foreach from=$children item=childalbum}
+  <td style="width:25%;" align="center" >
+   <a href="{$url->albumLink($childalbum)}">
+   <img style="border:0px;" src="{$url->getUrl("/imgs/folder.gif")}" alt="Folder" /><br/>
+   {$childalbum->getName()} ({$childalbum->getNumResources()})
+  </a>
+  <br/><br/>
+  {assign var="counter" value="`$counter+1`"}
+  </td>
+  {if $counter%4}
+   </tr>
+   <tr>
+  {/if}
+ {/foreach}
+
+ <!--- show the resources here -->
+
+ {assign var=resources value=$album->getResources()}
+ {foreach from=$resources item=resource}
+  <td style="width:25%;" align="center" >
+  {if $resource->hasPreview()}
+   {*<a target="_blank" href="resserver.php?blogId={$blog->getId()}&amp;resource={$resource->getFileName()}">*}
+   <a href="{$url->resourceLink($resource)}">
+    <img alt="{$resource->getDescription()}" style="border:0px;" src="{$url->resourcePreviewLink($resource)}" />
+    <br/>{$resource->getFileName()}
+   </a>
+  {else}
+   <a href="{$url->resourceLink($resource)}">
+   {if $resource->isSound()}
+    <img alt="Sound" src="{$url->getUrl("/imgs/sound.gif")}" height="64" width="64" style="border:0px;" />
+   {elseif $resource->isVideo()}
+    <img alt="Video" src="{$url->getUrl("/imgs/video.gif")}" height="64" width="64" style="border:0px;" />
+   {elseif $resource->isZip()}
+    <img alt="Zip" src="{$url->getUrl("/imgs/compressed.gif")}" height="64" width="64" style="border:0px;" />   
+   {else}
+    <img alt="File" src="{$url->getUrl("/imgs/file.gif")}" height="64" width="64" style="border:0px;" />    
+   {/if}
+   <br/>{$resource->getFileName()}
+   </a>
+  {/if}
+  <br/>
+  {assign var=metadata value=$resource->getMetadataReader()}
+  {$metadata->getRoundedSize()}<br/>
+  {if $resource->isImage()}
+   {$metadata->getWidth()} x {$metadata->getHeight()}<br/>
+  {elseif $resource->isSound()}
+   {$metadata->getFormat()|upper} {$metadata->getSampleRate()} bps<br/>
+  {elseif $resource->isVideo()}
+   {$metadata->getFormat()|upper}
+   {$metadata->getWidth()} x {$metadata->getHeight()}, 
+   {$metadata->getLengthString()}<br/>
+  {elseif $resource->isZip()}
+   {$metadata->getTotalFiles()} {$locale->tr("files")}<br/>
+  {/if}
+  {assign var="counter" value="`$counter+1`"}
+  </td>
+  {if $counter%4 == 0}
+   </tr>
+   <tr>
+  {/if}
+ {/foreach}
+ <td></td></tr>
+</table>  
+ <!-- end of album contents -->
+ 
+ </div>
+</div>
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}
+

Added: templates/trunk/kubrick/albums.template
===================================================================
--- templates/trunk/kubrick/albums.template	2005-03-29 07:54:45 UTC (rev 1626)
+++ templates/trunk/kubrick/albums.template	2005-03-29 08:59:17 UTC (rev 1627)
@@ -0,0 +1,18 @@
+{include file="$blogtemplate/header.template"}
+<div id="content" class="narrowcolumn">
+{foreach from=$albums item=album}
+ {assign var="aDate" value=$album->getTimestamp()}
+ <div class="post">
+ <h2 class="date">{$album->getName()}</h2>
+  <div class="entry">
+   <img alt="Album" src="{$url->getTemplateFile("folderblue.gif")}" width="10" height="11" style="border:0px;" />
+   <a href="{$url->albumLink($album)}">  
+     {$locale->tr("view")} ({$album->getNumResources()})
+    </a>| {$locale->tr("created")} {$locale->formatDate($aDate,"%d %b, %Y")}
+  </div>
+{$album->getDescription()|truncate:255:"..."|escape}
+</div>
+{/foreach}
+</div>
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/kubrick/bold.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/kubrick/bold.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/kubrick/commentarticle.template
===================================================================
--- templates/trunk/kubrick/commentarticle.template	2005-03-29 07:54:45 UTC (rev 1626)
+++ templates/trunk/kubrick/commentarticle.template	2005-03-29 08:59:17 UTC (rev 1627)
@@ -0,0 +1,7 @@
+{include file="$blogtemplate/header.template"}
+ <div class="comments-head"><a name="comments"></a>Comments</div>
+ {if $blogsettings->getValue("comments_enabled")}
+  <div class="comments-head">Post a comment</div>
+  {include file="$blogtemplate/commentform.template"}
+ {/if}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/kubrick/commentform.template
===================================================================
--- templates/trunk/kubrick/commentform.template	2005-03-29 07:54:45 UTC (rev 1626)
+++ templates/trunk/kubrick/commentform.template	2005-03-29 08:59:17 UTC (rev 1627)
@@ -0,0 +1,35 @@
+<h3 id="respond">Leave a Reply</h3>
+<div>
+  <form name="comments_form" action="{$url->getIndexUrl()}" method="post">
+   <div style="width:180px; padding-right:15px; margin-right:15px; float:left; text-align:left; border-right:1px dotted #bbb;">
+	<label for="subject">{$locale->tr("comment_topic")}:</label><br />
+	<input tabindex="1" id="subject" name="commentTopic" /><br /><br />
+	<label for="author">{$locale->tr("comment_username")}:</label><br />
+	<input tabindex="2" id="author" name="userName" /><br /><br />
+	<label for="email">{$locale->tr("comment_email")}:</label><br />
+	<input tabindex="3" id="email" name="userEmail" /><br /><br />
+	<label for="url">{$locale->tr("comment_url")}:</label><br />
+	<input tabindex="4" id="url" name="userUrl" /><br /><br />
+  </div>
+  <div>
+  <label for="text">{$locale->tr("add_comment")}:</label><br />
+  <div id="toolbar">
+   <img class="button" onMouseOver="mouseover(this);"  onMouseOut="mouseout(this);" 
+        onMouseDown="mousedown(this);" onMouseUp="mouseup(this);" onClick="wrapSelection(document.comments_form.commentText, 'b');" 
+        src="{$url->getTemplateFile("bold.gif")}" width="16" height="16" align="middle" alt="Bold" />
+   <img class="button" onMouseOver="mouseover(this);" onMouseOut="mouseout(this);" onMouseDown="mousedown(this);" 
+        onMouseUp="mouseup(this);" onClick="wrapSelection(document.comments_form.commentText, 'i');" src="{$url->getTemplateFile("italic.gif")}" 
+        width="16" height="16" align="middle" alt="Italic" />
+   <img class="button" onMouseOver="mouseover(this);" onMouseOut="mouseout(this);" onmousedown="mousedown(this);" 
+        onmouseup="mouseup(this);" onclick="insertLink(document.comments_form.commentText);" src="{$url->getTemplateFile("link.gif")}"
+        width="16" height="16" align="middle"  alt="Link" />
+  </div>  
+  <textarea tabindex="5" id="text" name="commentText" rows="10" cols="50"></textarea><br /><br />
+  <input style="font-weight: bold;" type="submit" name="post" value="&nbsp;{$locale->tr("comment_send")}&nbsp;" /><br /><br />
+  <input type="hidden" name="op" value="AddComment"/>
+  <input type="hidden" name="articleId" value="{$post->getId()}"/>
+  <input type="hidden" name="blogId" value="{$blog->getId()}"/>
+  <input type="hidden" name="parentId" value="{$parentId}"/>
+  </div>
+  </form>
+</div>

Added: templates/trunk/kubrick/error.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/kubrick/error.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/kubrick/error.template
===================================================================
--- templates/trunk/kubrick/error.template	2005-03-29 07:54:45 UTC (rev 1626)
+++ templates/trunk/kubrick/error.template	2005-03-29 08:59:17 UTC (rev 1627)
@@ -0,0 +1,17 @@
+{include file="$blogtemplate/header.template"}
+<div id="content" class="narrowcolumn">
+
+  <div class="post">
+   <h2 class="title">{$locale->tr("error")}</h2>
+   <div class="entry">
+   <br/>
+   {$locale->tr($message)}
+    <br/><br/>
+    {$locale->tr("generated")} {$locale->formatDate($now,"%d %b, %Y")}
+    <br/><br/>
+    <a href="javascript:history.go(-1)">{$locale->tr("back")}</a>
+  </div>
+  </div>
+</div>
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/kubrick/footer.template
===================================================================
--- templates/trunk/kubrick/footer.template	2005-03-29 07:54:45 UTC (rev 1626)
+++ templates/trunk/kubrick/footer.template	2005-03-29 08:59:17 UTC (rev 1627)
@@ -0,0 +1,14 @@
+<hr />
+<div id="footer">
+	<p>
+		Powered by 
+		<a href="http://www.plogworld.net/" title="Powered by pLog, multilingual multiuser multi-blog publishing platform.">pLog</a>
+		Valid <a href="http://validator.w3.org/check/referer">XHTML 1.0 Strict</a> and <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a>
+		<br />
+		Original Design By <a href="http://binarybonsai.com/kubrick/">Michael Heilemann</a>, modified for <a href="http://www.plogworld.net/" title="Powered by pLog, multilingual multiuser multi-blog publishing platform.">pLog</a> by <a href="http://www.ahknight.net">Knight</a>
+		
+	</p>
+</div>
+</div>
+ </body>
+</html>

Added: templates/trunk/kubrick/header.template
===================================================================
--- templates/trunk/kubrick/header.template	2005-03-29 07:54:45 UTC (rev 1626)
+++ templates/trunk/kubrick/header.template	2005-03-29 08:59:17 UTC (rev 1627)
@@ -0,0 +1,35 @@
+<!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()}" /> 
+  <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="page">
+  <div id="header">
+    <div id="headerimg">
+    <h1><a href="{$url->blogLink()}">{$blog->getBlog()}</a></h1>
+    <div class="description">{$blog->getAbout()}</div>
+  </div>
+</div>

Added: templates/trunk/kubrick/images/Thumbs.db
===================================================================
(Binary files differ)


Property changes on: templates/trunk/kubrick/images/Thumbs.db
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/kubrick/images/kubrickbg.jpg
===================================================================
(Binary files differ)


Property changes on: templates/trunk/kubrick/images/kubrickbg.jpg
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/kubrick/images/kubrickbgcolor.jpg
===================================================================
(Binary files differ)


Property changes on: templates/trunk/kubrick/images/kubrickbgcolor.jpg
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/kubrick/images/kubrickbgwide.jpg
===================================================================
(Binary files differ)


Property changes on: templates/trunk/kubrick/images/kubrickbgwide.jpg
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/kubrick/images/kubrickfooter.jpg
===================================================================
(Binary files differ)


Property changes on: templates/trunk/kubrick/images/kubrickfooter.jpg
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/kubrick/images/kubrickheader.jpg
===================================================================
(Binary files differ)


Property changes on: templates/trunk/kubrick/images/kubrickheader.jpg
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/kubrick/italic.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/kubrick/italic.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/kubrick/link.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/kubrick/link.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/kubrick/main.template
===================================================================
--- templates/trunk/kubrick/main.template	2005-03-29 07:54:45 UTC (rev 1626)
+++ templates/trunk/kubrick/main.template	2005-03-29 08:59:17 UTC (rev 1627)
@@ -0,0 +1,9 @@
+{include file="$blogtemplate/header.template"}
+<div id="content" class="narrowcolumn">
+  {foreach from=$posts item=post}
+    {include file="$blogtemplate/post.template"}
+  {/foreach}
+</div>
+
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/kubrick/panel.template
===================================================================
--- templates/trunk/kubrick/panel.template	2005-03-29 07:54:45 UTC (rev 1626)
+++ templates/trunk/kubrick/panel.template	2005-03-29 08:59:17 UTC (rev 1627)
@@ -0,0 +1,63 @@
+<div id="sidebar">
+<ul>
+	<li>
+		<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>
+	</li>
+	<li><h2>{$locale->tr("recently")|capitalize}</h2>
+	    <ul>
+	  	{foreach from=$recentposts item=post}
+	   	<li><a title="{$post->getText()|truncate:15:"..."|escape}" 
+		 href="{$url->postLink($post)}">{$post->getTopic()}</a></li>
+	  	{/foreach}
+  	    </ul>
+	</li>
+	<li><h2>{$locale->tr("categories")|capitalize}</h2>
+	    <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>
+	   	{/foreach}
+   	    </ul>
+	</li>
+	<li><h2>{$locale->tr("archives")|capitalize}</h2>
+            <ul>
+		{foreach from=$archives item=archivelink}
+		<li><a href="{$archivelink->getUrl()}">{$archivelink->getName()}</a>
+		[{$archivelink->getNumArticles()}]</li>
+		{/foreach}
+  	    </ul>
+	</li>
+	<li><h2>{$locale->tr("links")|capitalize}</h2>
+            <ul>
+               {foreach from=$articlecategories item=articleCategory}
+	       <li><a href="{$url->categoryLink($articleCategory)}">{$articleCategory->getName()} [{$articleCategory->getNumArticles()}]</a></li>
+	       {/foreach}
+    	    </ul>
+	</li>
+	<li><h2>{$locale->tr("menu")|capitalize}</h2>
+	    <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>
+	    </ul>
+	</li>
+</ul>
+</div>

Added: templates/trunk/kubrick/post.template
===================================================================
--- templates/trunk/kubrick/post.template	2005-03-29 07:54:45 UTC (rev 1626)
+++ templates/trunk/kubrick/post.template	2005-03-29 08:59:17 UTC (rev 1627)
@@ -0,0 +1,30 @@
+<!-- {$url->postTrackbackLink($post)} -->
+{assign var="postDate" value=$post->getDateObject()}
+{assign var="postOwner" value=$post->getUserInfo()}
+<div>
+ <div class="post">
+  <h2><a href="{$url->postPermalink($post)}">{$post->getTopic()}</a></h2>
+ 	<small>{$locale->tr("posted_by")} {$postOwner->getUsername()} | {$locale->formatDate($postDate,"%j %b, %Y")}</small>
+ 	
+  <div class="entry">
+  	{$post->getText()}
+  </div>
+  <p class="postmetadata"> Posted In 
+   {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("comments")} ({$post->getTotalComments()})</a> | 
+   <a href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a>
+   
+  </p>
+ </div>
+
+<!-- comment these out if you want to see an example of custom fields, but remember to name the fields
+     in the same way they are named here: 'imfeeling' (livejournal.com style), 'listening' and 'new_field' 
+<p>
+ <b>{$post->getFieldDescription("imfeeling")}</b> {$post->getField("imfeeling")}<br/>
+ <b>{$post->getFieldDescription("listening")}:</b> {$post->getField("listening")}<br/> 
+ <b>{$post->getFieldDescription("non-searchable")}</b> {$post->getField("non-searchable")}
+</p> 
+-->
+</div>

Added: templates/trunk/kubrick/postandcomments.template
===================================================================
--- templates/trunk/kubrick/postandcomments.template	2005-03-29 07:54:45 UTC (rev 1626)
+++ templates/trunk/kubrick/postandcomments.template	2005-03-29 08:59:17 UTC (rev 1627)
@@ -0,0 +1,88 @@
+{assign var="postPageTitle" value=$post->getTopic()}
+{assign var="postPageTitle" value=" | $postPageTitle"}
+{assign var="postDate" value=$post->getDateObject()}
+{assign var="postOwner" value=$post->getUserInfo()}
+
+{include file="$blogtemplate/header.template"}
+<div id="content" class="narrowcolumn">
+<div class="navigation">
+    
+    {if $post->getNextArticle() != ""}
+      <div class="alignleft">
+        {assign var=nextpost value=$post->getNextArticle()}
+        &laquo; <a href="{$url->postPermalink($nextpost)}">{$nextpost->getTopic()}</a>
+      </div>
+    {/if}
+        
+    {if $post->getPrevArticle() != ""}
+      <div class="alignright">
+        {assign var=prevpost value=$post->getPrevArticle()}
+        <a href="{$url->postPermalink($prevpost)}"> {$prevpost->getTopic()}</a> &raquo; 
+      </div>
+    {/if}    
+</div>
+ <!-- commented this part because the comment part want to change -->
+ <!-- {$url->postTrackbackLink($post)} -->
+ {assign var="postDate" value=$post->getDateObject()}
+ {assign var="postOwner" value=$post->getUserInfo()}
+ <div>
+  <div class="post">
+   <h2><a href="{$url->postPermalink($post)}">{$post->getTopic()}</a></h2>
+  	<small>{$locale->tr("posted_by")} {$postOwner->getUsername()} | {$locale->formatDate($postDate,"%j %b, %Y")}</small>
+  	
+   <div class="entry">
+   	<ul>{$post->getText()}</ul>
+   </div>
+   <br />
+  <p class="postmetadata alt">
+   <small>
+    This entry was posted on {$locale->formatDate($postDate,"%d %B, %Y %H:%M")}
+    and file under
+      {foreach name=categories from=$post->getCategories() item=postcategory}
+      <a href="{$url->categoryLink($postcategory)}">{$postcategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
+      {/foreach}. 
+      You can follow any responses to this entry through the
+      <a href="{$url->postRssLink($post)}">RSS2.0</a> feed.
+      You can leave a <a href="{$url->postPermalink($post)}">Response</a>, or <a href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")}</a> from your own site.
+  </small> 
+  </p>
+  
+  </div>
+ 
+ <!-- comment these out if you want to see an example of custom fields, but remember to name the fields
+      in the same way they are named here: 'imfeeling' (livejournal.com style), 'listening' and 'new_field' 
+ <p>
+  <b>{$post->getFieldDescription("imfeeling")}</b> {$post->getField("imfeeling")}<br/>
+  <b>{$post->getFieldDescription("listening")}:</b> {$post->getField("listening")}<br/> 
+  <b>{$post->getFieldDescription("non-searchable")}</b> {$post->getField("non-searchable")}
+ </p> 
+ -->
+</div>
+
+ <div>
+   <h3 id="comments">{$post->getTotalComments()} {$locale->tr("comments")} &lt; {$post->getNumTrackbacks()} {$locale->tr("trackbacks")} to "{$post->getTopic()}" </h3>
+ {foreach from=$post->getComments() item=comment}
+  <ol class="commentlist">
+   <a name="{$comment->getId()}"></a><p>{$comment->getText()}</p>
+   <span class="comments-post">
+    {$locale->tr("posted_by")}
+    {if $comment->getUserUrl() != ""}
+     <a href="{$comment->getUserUrl()}"}>{$comment->getUsername()}</a>
+    {else}
+     {$comment->getUsername()}
+    {/if}
+	{assign var=commentDate value=$comment->getDateObject()}
+    {$locale->formatDate($commentDate, "%d %b %Y, %H:%M")}
+   </span>
+  </ol>
+ {/foreach}
+ </div>
+ {if $blogsettings->getValue("comments_enabled") && $post->getCommentsEnabled()==1}
+  <div>
+   <div>{$locale->tr("add_comment")}</div>
+     {include file="$blogtemplate/commentform.template"}
+  </div>
+ {/if}
+</div> 
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/kubrick/posttrackbacks.template
===================================================================
--- templates/trunk/kubrick/posttrackbacks.template	2005-03-29 07:54:45 UTC (rev 1626)
+++ templates/trunk/kubrick/posttrackbacks.template	2005-03-29 08:59:17 UTC (rev 1627)
@@ -0,0 +1,32 @@
+{include file="$blogtemplate/header.template"}
+<div id="content" class="narrowcolumn">
+<div class="navigation">
+  {if $post->getNextArticle() != ""}
+    <div class="alignleft">
+      {assign var=nextpost value=$post->getNextArticle()}
+      &laquo; <a href="{$url->postTrackbackStatsLink($nextpost)}"> {$nextpost->getTopic()}</a>
+    </div>
+  {/if}
+        
+  {if $post->getPrevArticle() != ""}
+    <div class="alignright">
+      {assign var=prevpost value=$post->getPrevArticle()}
+      <a href="{$url->postTrackbackStatsLink($prevpost)}"> {$prevpost->getTopic()}</a> &raquo; 
+    </div>
+  {/if}
+</div>
+ <div class="post">
+ <h2>{$locale->tr("trackbacks_for_article")} "<a href="{$url->postLink($post)}">{$post->getTopic()}</a>"</h2>
+  <div class="entry">
+    {foreach from=$trackbacks item=trackback}
+     <a href="{$trackback->getUrl()}">{$trackback->getTitle()}</a><br/>
+     <b>{$locale->tr("trackback_excerpt")}:</b> {$trackback->getExcerpt()}<br/>
+     <b>{$locale->tr("trackback_weblog")}:</b> {$trackback->getBlogName()}<br/>
+     {assign var="trackbackDate" value=$trackback->getDateObject()}
+     <b>{$locale->tr("date")}:</b> Date would be here<br/><br/>
+    {/foreach}
+  </div>
+ </div>
+</div>
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/kubrick/resource.template
===================================================================
--- templates/trunk/kubrick/resource.template	2005-03-29 07:54:45 UTC (rev 1626)
+++ templates/trunk/kubrick/resource.template	2005-03-29 08:59:17 UTC (rev 1627)
@@ -0,0 +1,58 @@
+{include file="$blogtemplate/header.template"}
+{assign var=metadata value=$resource->getMetadataReader()}
+{assign var=updated value=$resource->getTimestamp()}
+<div id="content" class="narrowcolumn">
+ <div class="blog">
+  <h2 class="date">{$resource->getFileName()}</h2>
+  <div class="blogbody">
+   <div class="posted">
+    <img src="{$url->getTemplateFile("download.gif")}" width="10" height="11" alt="Download" style="border:0px;" />
+    <a href="{$url->resourceDownloadLink($resource)}">{$locale->tr("download")}</a> 
+    ({$metadata->getRoundedSize()}) | {$locale->tr("created")} {$locale->formatDate($updated,"%d %b, %Y")}
+   </div>
+  </div>
+  <p>{$resource->getDescription()}</p>
+  {if $resource->isImage()}
+   <img src="{$url->resourceMediumSizePreviewLink($resource)}" alt="{$resource->getFileName()}, {$metadata->getRoundedSize()}" />
+  {else}
+   <a href="{$url->resourceDownloadLink($resource)}">
+   {* show some information about the file *}
+   {if $resource->isSound()}
+     <img alt="Sound" src="{$url->getUrl("/imgs/sound.gif")}" height="64" width="64" style="border:0px;" /><br/>
+     {$resource->getFileName()}
+     </a><br/>     
+     {$locale->tr("format")}: {$metadata->getFormat()|upper}<br/>
+     {$locale->tr("length")}: {$metadata->getLengthString()}<br/>
+     {$locale->tr("sample_rate")}: {$metadata->getSampleRate()} Khz
+   {elseif $resource->isVideo()}
+     <img alt="Sound" src="{$url->getUrl("/imgs/video.gif")}" height="64" width="64" style="border:0px;" /><br/>
+     {$resource->getFileName()}
+    </a><br/>
+    {$locale->tr("format")}: {$metadata->getFormat()|upper}<br/>
+    {$locale->tr("size")}: {$metadata->getHeight()} x {$metadata->getWidth()}<br/>
+    {$locale->tr("length")}: {$metadata->getLengthString()}<br/>
+    {$locale->tr("video_codec")}: {$metadata->getVideoCodec()}<br/>
+    {$locale->tr("audio_codec")}: {$metadata->getAudioCodec()}
+   {elseif $resource->isZip()}
+     <img alt="Sound" src="{$url->getUrl("/imgs/compressed.gif")}" height="64" width="64" style="border:0px;" /><br/>
+     {$resource->getFileName()}
+    </a><br/>
+    {$metadata->getTotalFiles()} {$locale->tr("files")}<br/>
+    {$locale->tr("uncompressed_size")}: {$metadata->getRoundedUncompressedSize()}
+   {else}
+     <img alt="Sound" src="{$url->getUrl("/imgs/file.gif")}" height="64" width="64" style="border:0px;" /><br/>
+     {$resource->getFileName()}
+     </a>    
+   {/if}   
+  {/if}
+  <br/>
+  <p>
+   {assign var=album value=$resource->getAlbum()}
+   {if $prevresource}<a href="{$url->resourceLink($prevresource)}">&laquo;</a> | {/if}
+   <a href="{$url->albumLink($album)}">{$locale->tr("back")}</a>
+   {if $nextresource}| <a href="{$url->resourceLink($nextresource)}">&raquo;</a>{/if}   
+  </p>
+ </div>
+</div>
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/kubrick/rss.template
===================================================================
--- templates/trunk/kubrick/rss.template	2005-03-29 07:54:45 UTC (rev 1626)
+++ templates/trunk/kubrick/rss.template	2005-03-29 08:59:17 UTC (rev 1627)
@@ -0,0 +1,33 @@
+{include file="$blogtemplate/header.template"}
+ {if $rss->parse("http://rss.news.yahoo.com/rss/topstories")}
+  {assign var=channel value=$rss->getChannel()}
+  <h1>{$channel->getTitle()}</h1>
+  <p>{$channel->getDescription()}</p>
+  <ul style="list-style: none;">
+  {foreach from=$rss->getItems() item=rssItem}
+   <li>
+    <a href="{$rssItem->getLink()}">{$rssItem->getTitle()}</a><br/>
+    <p>
+     {$rssItem->getDescription()}
+    </p>
+   </li> 
+  {/foreach}
+  </ul>
+ {/if}
+
+ {if $rss->parse("http://news.bbc.co.uk/rss/newsonline_uk_edition/front_page/rss091.xml")}
+  {assign var=channel value=$rss->getChannel()}
+  <h1>{$channel->getTitle()}</h1>
+  <p>{$channel->getDescription()}</p>
+  <ul style="list-style: none;">
+  {foreach from=$rss->getItems() item=rssItem}
+   <li>
+    <a href="{$rssItem->getLink()}">{$rssItem->getTitle()}</a><br/>
+    <p>
+     {$rssItem->getDescription()}
+    </p>
+   </li> 
+  {/foreach}
+  </ul>
+ {/if}
+{include file="$blogtemplate/footer.template"}
\ No newline at end of file

Added: templates/trunk/kubrick/screenshot.jpg
===================================================================
(Binary files differ)


Property changes on: templates/trunk/kubrick/screenshot.jpg
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/kubrick/searchresults.template
===================================================================
--- templates/trunk/kubrick/searchresults.template	2005-03-29 07:54:45 UTC (rev 1626)
+++ templates/trunk/kubrick/searchresults.template	2005-03-29 08:59:17 UTC (rev 1627)
@@ -0,0 +1,33 @@
+{include file="$blogtemplate/header.template"}
+<div id="content" class="narrowcolumn">
+  <h2>{$locale->tr("search_results")}: 
+    {foreach from=$searchterms item=term}{$term} {/foreach}
+  </h2>
+  {foreach from=$searchresults item=result}
+    <div class="post">
+      {assign var=article value=$result->getArticle()}
+      {assign var="postDate" value=$article->getDateObject()}
+      {assign var="postOwner" value=$article->getUserInfo()}
+      <div class="entry">
+        <h2>
+          <a href="{$url->postPermalink($article)}">
+				{$article->getTopic()}</a>
+	</h2><br />
+        <small>{$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}
+                  | {$locale->formatDate($postDate,"%j %b, %Y")}
+        </small>
+      </div>
+      {$article->getText()|strip_tags|truncate:300:"...":false}
+    </div>
+  {/foreach}
+</div>
+
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/kubrick/style.css
===================================================================
--- templates/trunk/kubrick/style.css	2005-03-29 07:54:45 UTC (rev 1626)
+++ templates/trunk/kubrick/style.css	2005-03-29 08:59:17 UTC (rev 1627)
@@ -0,0 +1,647 @@
+/*  
+Theme Name: WordPress Default
+Theme URI: http://wordpress.org/
+Description: The default WordPress theme based on the famous <a href="http://binarybonsai.com/kubrick/">Kubrick</a>.
+Version: 1.5
+Author: Michael Heilemann
+Author URI: http://binarybonsai.com/
+
+	Kubrick v1.5
+	 http://binarybonsai.com/kubrick/
+
+	This theme was designed and built by Michael Heilemann,
+	whose blog you will find at http://binarybonsai.com/
+
+	The CSS, XHTML and design is released under GPL:
+	http://www.opensource.org/licenses/gpl-license.php
+	
+
+	*** REGARDING IMAGES ***
+	All CSS that involves the use of images, can be found in the 'index.php' file.
+	This is to ease installation inside subdirectories of a server.
+
+	Have fun, and don't be afraid to contact me if you have questions.
+*/
+
+ input, textarea
+{
+	color: inherit;
+	border: 1px solid silver;
+	font-weight: bold;
+}	
+
+/* Begin Typography & Colors */
+body {
+	font-size: 62.5%; /* Resets 1em to 10px */
+	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
+	background-color: #d5d6d7;
+	color: #333;
+	text-align: center;
+	}
+
+#page {
+	background-color: white;
+	border: 1px solid #959596;
+	text-align: left;
+	}
+
+#header {
+	background-color: #73a0c5;
+	}
+
+#content {
+	font-size: 1.1em
+	}
+
+.widecolumn .entry p {
+	font-size: 1.05em;
+	}
+
+.narrowcolumn .entry, .widecolumn .entry {
+	line-height: 1.2em;
+	}
+
+.widecolumn {
+	line-height: 1.6em;
+	}
+	
+.narrowcolumn .postmetadata {
+	text-align: center;
+	}
+
+.alt {
+	background-color: #f8f8f8;
+	border-top: 1px solid #ddd;
+	border-bottom: 1px solid #ddd;
+	}
+
+#footer {
+	background-color: #eee;
+	}
+
+small {
+	font-family: Arial, Helvetica, Sans-Serif;
+	font-size: 0.9em;
+	line-height: 1.5em;
+	}
+
+h1, h2, h3 {
+	font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
+	font-weight: bold;
+	}
+
+h1 {
+	font-size: 4em;
+	text-align: center;
+	}
+
+.description {
+	font-size: 1.2em;
+	text-align: center;
+	}
+
+h2 {
+	font-size: 1.6em;
+	text-align: left;
+	}
+
+h2.pagetitle {
+	font-size: 1.6em;
+	}
+
+#sidebar h2 {
+	font-family: 'Lucida Grande', Verdana, Sans-Serif;
+	font-size: 1.2em;
+	}
+
+h3 {
+	font-size: 1.3em;
+	}
+
+h1, h1 a, h1 a:hover, h1 a:visited, .description {
+	text-decoration: none;
+	color: white;
+	}
+
+h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited {
+	color: #333;
+	}
+
+h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, #wp-calendar caption, cite {
+	text-decoration: none;
+	}
+
+.entry p a:visited {
+	color: #b85b5a;
+	}
+
+.commentlist li, #commentform input, #commentform textarea {
+	font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
+	}
+	
+.commentlist li {
+	font-weight: bold;
+	}
+
+.commentlist cite, .commentlist cite a {
+	font-weight: bold;
+	font-style: normal;
+	font-size: 1.1em;
+	}
+
+.commentlist p {
+	font-weight: normal;
+	line-height: 1.5em;
+	text-transform: none;
+	}
+
+#commentform p {
+	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
+	}
+
+.commentmetadata {
+	font-weight: normal;
+	}
+
+#sidebar {
+	font: 1em 'Lucida Grande', Verdana, Arial, Sans-Serif;
+	}
+
+small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike {
+	color: #777;
+	}
+	
+code {
+	font: 1.1em 'Courier New', Courier, Fixed;
+	}
+
+acronym, abbr, span.caps
+{
+	font-size: 0.9em;
+	letter-spacing: .07em;
+	}
+
+a, h2 a:hover, h3 a:hover {
+	color: #06c;
+	text-decoration: none;
+	}
+
+a:hover {
+	color: #147;
+	text-decoration: underline;
+	}
+	
+#wp-calendar #prev a {
+	font-size: 9pt;
+	}
+
+#wp-calendar a {
+	text-decoration: none;
+	}
+
+#wp-calendar caption {
+	font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;
+	text-align: center;
+	}
+
+#wp-calendar th {
+	font-style: normal;
+	text-transform: capitalize;
+	}
+/* End Typography & Colors */
+
+
+
+/* Begin Structure */
+body {
+	margin: 0;
+	padding: 0; 
+	}
+
+#page {
+	background-color: white;
+	margin: 20px auto;
+	padding: 0;
+	width: 760px;
+	border: 1px solid #959596;
+	}
+	
+#header {
+	padding: 0;
+	margin: 0 auto;
+	height: 200px;
+	width: 100%;
+	background-color: #73a0c5;
+	}
+
+#headerimg {
+	margin: 0;
+	height: 200px;
+	width: 100%;
+	}
+
+.narrowcolumn {
+	float: left;
+	padding: 0 0 20px 45px;
+	margin: 0px 0 0;
+	width: 450px;
+	}
+
+.widecolumn {
+	padding: 10px 0 20px 0;
+	margin: 5px 0 0 150px;
+	width: 450px;
+	}
+	
+.post {
+	margin: 0 0 40px;
+	text-align: justify;
+	}
+	
+.post h2{
+        margin: 40px 0 0 0;
+        text-align: left;  
+	}
+
+.widecolumn .post {
+	margin: 0;
+	}
+
+.narrowcolumn .postmetadata {
+	padding-top: 5px;
+	}
+
+.widecolumn .postmetadata {
+	margin: 30px 0;
+	}
+	
+#footer {
+	padding: 0 0 0 1px;
+	margin: 0 auto;
+	width: 760px;
+	clear: both;
+	}
+
+#footer p {
+	margin: 0;
+	padding: 20px 0;
+	text-align: center;
+	}
+/* End Structure */
+
+
+
+/*	Begin Headers */
+h1 {
+	padding-top: 70px;
+	margin: 0;
+	}
+
+.description {
+	text-align: center;
+	}
+
+h2 {
+	margin: 30px 0 0;
+	}
+
+h2.pagetitle {
+	margin-top: 30px;
+	text-align: center;
+}
+
+#sidebar h2 {
+	margin: 5px 0 0;
+	padding: 0;
+	}
+
+h3 {
+	padding: 0;
+	margin: 30px 0 0;
+	}
+
+h3.comments {
+	padding: 0;
+	margin: 40px auto 20px ;
+	}
+/* End Headers */
+
+
+
+/* Begin Images */
+p img {
+	padding: 0;
+	max-width: 100%;
+	}
+
+/*	Using 'class="alignright"' on an image will (who would've
+	thought?!) align the image to the right. And using 'class="centered',
+	will of course center the image. This is much better than using
+	align="center", being much more futureproof (and valid) */
+	
+img.centered {
+	display: block;
+	margin-left: auto;
+	margin-right: auto;
+	}
+	
+img.alignright {
+	padding: 4px;
+	margin: 0 0 2px 7px;
+	display: inline;
+	}
+
+img.alignleft {
+	padding: 4px;
+	margin: 0 7px 2px 0;
+	display: inline;
+	}
+
+.alignright {
+	float: right;
+	}
+	
+.alignleft {
+	float: left;
+	}
+/* End Images */
+
+
+
+/* Begin Lists
+
+	Special stylized non-IE bullets
+	Do not work in Internet Explorer, which merely default to normal bullets. */
+
+html>body .entry ul {
+	margin-left: 0px;
+	padding: 0 0 0 30px;
+	list-style: none;
+	padding-left: 10px;
+	text-indent: -10px;
+	} 
+
+html>body .entry li {
+	margin: 7px 0 8px 10px;
+	}
+
+.entry ul li:before, #sidebar ul ul li:before {
+	content: "\00BB \0020";
+	}
+
+.entry ol {
+	padding: 0 0 0 35px;
+	margin: 0;
+	}
+
+.entry ol li {
+	margin: 0;
+	padding: 0;
+	}
+
+.postmetadata ul, .postmetadata li {
+	display: inline;
+	list-style-type: none;
+	list-style-image: none;
+	}
+	
+#sidebar ul, #sidebar ul ol {
+	margin: 0;
+	padding: 0;
+	}
+
+#sidebar ul li {
+	list-style-type: none;
+	list-style-image: none;
+	margin-bottom: 15px;
+	}
+
+#sidebar ul p, #sidebar ul select {
+	margin: 5px 0 8px;
+	}
+
+#sidebar ul ul, #sidebar ul ol {
+	margin: 5px 0 0 10px;
+	}
+
+#sidebar ul ul ul, #sidebar ul ol {
+	margin: 0 0 0 10px;
+	}
+
+ol li, #sidebar ul ol li {
+	list-style: decimal outside;
+	}
+
+#sidebar ul ul li, #sidebar ul ol li {
+	margin: 3px 0 0;
+	padding: 0;
+	}
+/* End Entry Lists */
+
+
+
+/* Begin Form Elements */
+#searchform {
+	margin: 10px auto;
+	padding: 5px 3px; 
+	text-align: center;
+	}
+
+#sidebar #searchform #s {
+	width: 115px;
+	padding: 2px;
+	}
+
+#sidebar #searchsubmit {
+	padding: 1px;
+	}
+
+.entry form { /* This is mainly for password protected posts, makes them look better. */
+	text-align:center;
+	}
+
+select {
+	width: 130px;
+	}
+
+#commentform input {
+	width: 170px;
+	padding: 2px;
+	margin: 5px 5px 1px 0;
+	}
+
+#commentform textarea {
+	width: 100%;
+	padding: 2px;
+	}
+
+#commentform #submit {
+	margin: 0;
+	float: right;
+	}
+/* End Form Elements */
+
+
+
+/* Begin Comments*/
+.alt {
+	margin: 0;
+	padding: 10px;
+	}
+
+.commentlist {
+	padding: 0;
+	text-align: justify;
+	}
+
+.commentlist li {
+	margin: 15px 0 3px;
+	padding: 5px 10px 3px;
+	list-style: none;
+	}
+
+.commentlist p {
+	margin: 10px 5px 10px 0;
+	}
+
+#commentform p {
+	margin: 5px 0;
+	}
+
+.nocomments {
+	text-align: center;
+	margin: 0;
+	padding: 0;
+	}
+
+.commentmetadata {
+	margin: 0;
+	display: block;
+	}
+/* End Comments */
+
+
+
+/* Begin Sidebar */
+#sidebar
+{
+	padding: 20px 0 10px 0;
+	margin-left: 545px;
+	width: 190px;
+	}
+
+#sidebar form {
+	margin: 0;
+	}
+/* End Sidebar */
+
+
+
+/* Begin Calendar */
+#wp-calendar {
+	empty-cells: show;
+	margin: 10px auto 0;
+	width: 155px;
+	}
+
+#wp-calendar #next a {
+	padding-right: 10px;
+	text-align: right;
+	}
+
+#wp-calendar #prev a {
+	padding-left: 10px;
+	text-align: left;
+	}
+
+#wp-calendar a {
+	display: block;
+	}
+
+#wp-calendar caption {
+	text-align: center;
+	width: 100%;
+	}
+
+#wp-calendar td {
+	padding: 3px 0;
+	text-align: center;
+	}
+
+#wp-calendar td.pad:hover { /* Doesn't work in IE */
+	background-color: #fff; }
+/* End Calendar */
+
+
+
+/* Begin Various Tags & Classes */
+acronym, abbr, span.caps {
+	cursor: help;
+	}
+
+acronym, abbr {
+	border-bottom: 1px dashed #999;
+	}
+
+blockquote {
+	margin: 15px 30px 0 10px;
+	padding-left: 20px;
+	border-left: 5px solid #ddd;
+	}
+
+blockquote cite {
+	margin: 5px 0 0;
+	display: block;
+	}
+
+.center {
+	text-align: center;
+	}
+
+hr {
+	display: none;
+	}
+
+a img {
+	border: none;
+	}
+img {
+	border: none;
+	}
+
+
+.navigation {
+	display: block;
+	text-align: center;
+	margin-top: 20px;
+	margin-bottom: 40px;
+	}
+/* End Various Tags & Classes*/
+
+
+body	{ background: url("./images/kubrickbgcolor.jpg"); }	
+	#page		{ background: url("./images/kubrickbg.jpg") repeat-y top; border: none; } 
+	#header 	{ background: url("./images/kubrickheader.jpg") no-repeat bottom center; }
+	#footer 	{ background: url("./images/kubrickfooter.jpg") no-repeat bottom; border: none;}
+	
+/*	Because the template is slightly different, size-wise, with images, this needs to be set here
+	If you don't want to use the template's images, you can also delete the following two lines. */
+
+	#header 	{ margin: 0 !important; margin: 0 0 0 1px; padding: 1px; height: 198px; width: 758px; }
+	#headerimg 	{ margin: 7px 9px 0; height: 192px; width: 740px; }
+
+/* 	To ease the insertion of a personal header image, I have done it in such a way,
+	that you simply drop in an image called 'personalheader.jpg' into your /images/
+	directory. Dimensions should be at least 760px x 200px. Anything above that will
+	get cropped off of the image. */
+
+/*
+	#headerimg 	{ background: url('./images/personalheader.jpg') no-repeat top;}
+*/
+	
+
+/* "Daisy, Daisy, give me your answer do. I'm half crazy all for the love of you.
+	It won't be a stylish marriage, I can't afford a carriage.
+	But you'll look sweet upon the seat of a bicycle built for two." */
+	
+	
\ No newline at end of file

Added: templates/trunk/kubrick/toolbar.js
===================================================================
--- templates/trunk/kubrick/toolbar.js	2005-03-29 07:54:45 UTC (rev 1626)
+++ templates/trunk/kubrick/toolbar.js	2005-03-29 08:59:17 UTC (rev 1627)
@@ -0,0 +1,90 @@
+//
+// Adds some text where the cursor is.
+//
+// Works in IE and Mozilla 1.3b+
+// In other browsers, it simply adds the text at the end of the current text
+//
+function addText( input, insText ) 
+{
+	input.focus();
+	if( input.createTextRange ) {
+		document.selection.createRange().text += insText;
+ 	} 
+ 	else if( input.setSelectionRange ) {
+		var len = input.selectionEnd;
+   		input.value = input.value.substr( 0, len ) + insText + input.value.substr( len );
+   		input.setSelectionRange(len+insText.length,len+insText.length);
+ 	} 
+ 	else { 
+	 	input.value += insText; 
+	}
+}
+
+//
+// Wraps the current selection of a textbox around with the given 'v' parameter.
+// 
+// Works in IE and Mozilla 1.3b+
+// In other browsers, it simply adds an empty pair of tags at the end of the current
+// text.
+//
+function wrapSelection(ta, v) 
+{
+	if( document.selection ) {
+		// for IE
+		var str = document.selection.createRange().text;
+		ta.focus();
+		var sel = document.selection.createRange();
+		sel.text = "<" + v + ">" + str + "</" + v + ">";
+    }
+	else {
+		// browsers other than IE
+		var s = ta;
+		if( s.selectionEnd ) {
+			// Mozilla 1.3b+ 
+			var s1 = (s.value).substring(0,s.selectionStart)
+			var s2 = (s.value).substring(s.selectionEnd,s.textLength)
+			selection = (s.value).substring(s.selectionStart, s.selectionEnd)
+			s.value = s1 + '<' + v + '>' + selection + '</' + v + '>' + s2
+		}
+		else {
+			// everything else
+			s.value += '<' + v + '></' + v + '>';
+		}
+	}
+	
+	return;
+}
+
+//
+// Asks for a url and adds a link to the textbox, at the same point where the cursor is.
+//
+// Uses insertText to insert the text so it has the same limitations as insertText has
+//
+function insertLink(ta) {
+	var s  = ta;
+	var my_link = prompt('Enter URL:', 'http://')
+	if (my_link != null) {
+		addText(ta, my_link);
+	}
+	
+	return;
+}    
+
+////////////////
+/// buttons
+///////////////
+function mouseover(el) {
+  el.className = "button_raised";
+}
+
+function mouseout(el) {
+  el.className = "button";
+}
+
+function mousedown(el) {
+  el.className = "button_pressed";
+}
+
+function mouseup(el) {
+  el.className = "button_raised";
+}
\ No newline at end of file




More information about the pLog-svn mailing list