[pLog-svn] r3782 - in templates/trunk: . Blix Blix/images Blix/images/spring_flavour Boxed Boxed-Green andreas-2-columns andreas-3-columns aquasoft aquasoft/images aubmach blorange blufill bubble-blue buddha buddha/images buddha/images/buddha buggy buggy/imgs cab unported

reto at devel.lifetype.net reto at devel.lifetype.net
Mon Jul 24 02:46:37 GMT 2006


Author: reto
Date: 2006-07-24 02:46:34 +0000 (Mon, 24 Jul 2006)
New Revision: 3782

Added:
   templates/trunk/Blix/
   templates/trunk/Blix/album.template
   templates/trunk/Blix/albums.template
   templates/trunk/Blix/archives.template
   templates/trunk/Blix/commentarticle.template
   templates/trunk/Blix/commentform.template
   templates/trunk/Blix/error.template
   templates/trunk/Blix/features.template
   templates/trunk/Blix/footer.template
   templates/trunk/Blix/header.template
   templates/trunk/Blix/images/
   templates/trunk/Blix/images/spring_flavour/
   templates/trunk/Blix/images/spring_flavour/author.gif
   templates/trunk/Blix/images/spring_flavour/categories_yellow.gif
   templates/trunk/Blix/images/spring_flavour/comments.gif
   templates/trunk/Blix/images/spring_flavour/container_bg.gif
   templates/trunk/Blix/images/spring_flavour/corner_bottom_right.gif
   templates/trunk/Blix/images/spring_flavour/corner_top_left.gif
   templates/trunk/Blix/images/spring_flavour/edit.gif
   templates/trunk/Blix/images/spring_flavour/feeds_yellow.gif
   templates/trunk/Blix/images/spring_flavour/footer_bg.gif
   templates/trunk/Blix/images/spring_flavour/header_bg.jpg
   templates/trunk/Blix/images/spring_flavour/links_yellow.gif
   templates/trunk/Blix/images/spring_flavour/more.gif
   templates/trunk/Blix/images/spring_flavour/next.gif
   templates/trunk/Blix/images/spring_flavour/pingtrackback.gif
   templates/trunk/Blix/images/spring_flavour/post.gif
   templates/trunk/Blix/images/spring_flavour/post_yellow.gif
   templates/trunk/Blix/images/spring_flavour/previous.gif
   templates/trunk/Blix/images/spring_flavour/sub_categories_yellow.gif
   templates/trunk/Blix/images/spring_flavour/subcontent_bg.gif
   templates/trunk/Blix/layout.css
   templates/trunk/Blix/links.template
   templates/trunk/Blix/main.template
   templates/trunk/Blix/post.template
   templates/trunk/Blix/postandcomments.template
   templates/trunk/Blix/posttrackbacks.template
   templates/trunk/Blix/resource.template
   templates/trunk/Blix/screenshot.jpg
   templates/trunk/Blix/searchresults.template
   templates/trunk/Blix/spring_flavour.css
   templates/trunk/Blix/style.css
   templates/trunk/Boxed-Green/
   templates/trunk/Boxed-Green/Green_screenshot.jpg
   templates/trunk/Boxed-Green/album.template
   templates/trunk/Boxed-Green/albums.template
   templates/trunk/Boxed-Green/commentarticle.template
   templates/trunk/Boxed-Green/commentform.template
   templates/trunk/Boxed-Green/error.template
   templates/trunk/Boxed-Green/footer.template
   templates/trunk/Boxed-Green/header.template
   templates/trunk/Boxed-Green/main.template
   templates/trunk/Boxed-Green/post.template
   templates/trunk/Boxed-Green/postandcomments.template
   templates/trunk/Boxed-Green/posttrackbacks.template
   templates/trunk/Boxed-Green/resource.template
   templates/trunk/Boxed-Green/screenshot.jpg
   templates/trunk/Boxed-Green/searchresults.template
   templates/trunk/Boxed-Green/style.css
   templates/trunk/Boxed/
   templates/trunk/Boxed/album.template
   templates/trunk/Boxed/albums.template
   templates/trunk/Boxed/commentarticle.template
   templates/trunk/Boxed/commentform.template
   templates/trunk/Boxed/error.template
   templates/trunk/Boxed/footer.template
   templates/trunk/Boxed/header.template
   templates/trunk/Boxed/main.template
   templates/trunk/Boxed/post.template
   templates/trunk/Boxed/postandcomments.template
   templates/trunk/Boxed/posttrackbacks.template
   templates/trunk/Boxed/resource.template
   templates/trunk/Boxed/screenshot.jpg
   templates/trunk/Boxed/searchresults.template
   templates/trunk/Boxed/style.css
   templates/trunk/andreas-2-columns/
   templates/trunk/andreas-2-columns/album.template
   templates/trunk/andreas-2-columns/albums.template
   templates/trunk/andreas-2-columns/andreas01.css
   templates/trunk/andreas-2-columns/archives.template
   templates/trunk/andreas-2-columns/bg.gif
   templates/trunk/andreas-2-columns/commentarticle.template
   templates/trunk/andreas-2-columns/commentform.template
   templates/trunk/andreas-2-columns/error.template
   templates/trunk/andreas-2-columns/footer.template
   templates/trunk/andreas-2-columns/front.jpg
   templates/trunk/andreas-2-columns/header.template
   templates/trunk/andreas-2-columns/main.template
   templates/trunk/andreas-2-columns/post.template
   templates/trunk/andreas-2-columns/postandcomments.template
   templates/trunk/andreas-2-columns/posttrackbacks.template
   templates/trunk/andreas-2-columns/print.css
   templates/trunk/andreas-2-columns/resource.template
   templates/trunk/andreas-2-columns/screenshot.JPG
   templates/trunk/andreas-2-columns/searchresults.template
   templates/trunk/andreas-2-columns/sidebar-l.template
   templates/trunk/andreas-2-columns/sidebar-r.template
   templates/trunk/andreas-2-columns/stripes.gif
   templates/trunk/andreas-2-columns/test.jpg
   templates/trunk/andreas-3-columns/
   templates/trunk/andreas-3-columns/album.template
   templates/trunk/andreas-3-columns/albums.template
   templates/trunk/andreas-3-columns/andreas01.css
   templates/trunk/andreas-3-columns/archives.template
   templates/trunk/andreas-3-columns/bg.gif
   templates/trunk/andreas-3-columns/commentarticle.template
   templates/trunk/andreas-3-columns/commentform.template
   templates/trunk/andreas-3-columns/error.template
   templates/trunk/andreas-3-columns/footer.template
   templates/trunk/andreas-3-columns/front.jpg
   templates/trunk/andreas-3-columns/header.template
   templates/trunk/andreas-3-columns/main.template
   templates/trunk/andreas-3-columns/post.template
   templates/trunk/andreas-3-columns/postandcomments.template
   templates/trunk/andreas-3-columns/posttrackbacks.template
   templates/trunk/andreas-3-columns/print.css
   templates/trunk/andreas-3-columns/resource.template
   templates/trunk/andreas-3-columns/screenshot.JPG
   templates/trunk/andreas-3-columns/searchresults.template
   templates/trunk/andreas-3-columns/sidebar-l.template
   templates/trunk/andreas-3-columns/sidebar-r.template
   templates/trunk/andreas-3-columns/stripes.gif
   templates/trunk/andreas-3-columns/test.jpg
   templates/trunk/aquasoft/
   templates/trunk/aquasoft/Thumbs.db
   templates/trunk/aquasoft/about.template
   templates/trunk/aquasoft/album.template
   templates/trunk/aquasoft/albums.template
   templates/trunk/aquasoft/bold.gif
   templates/trunk/aquasoft/commentarticle.template
   templates/trunk/aquasoft/commentform.template
   templates/trunk/aquasoft/error.gif
   templates/trunk/aquasoft/error.template
   templates/trunk/aquasoft/footer.template
   templates/trunk/aquasoft/header.template
   templates/trunk/aquasoft/images/
   templates/trunk/aquasoft/images/1_site_logo.gif
   templates/trunk/aquasoft/images/Thumbs.db
   templates/trunk/aquasoft/images/aqua_site_logo.gif
   templates/trunk/aquasoft/images/caption_left.gif
   templates/trunk/aquasoft/images/caption_mid.gif
   templates/trunk/aquasoft/images/caption_right.gif
   templates/trunk/aquasoft/images/icon_html.gif
   templates/trunk/aquasoft/images/icon_showall.gif
   templates/trunk/aquasoft/images/irc.gif
   templates/trunk/aquasoft/images/navsep.gif
   templates/trunk/aquasoft/images/navsep2.gif
   templates/trunk/aquasoft/images/pin_light.gif
   templates/trunk/aquasoft/images/results_highlight.gif
   templates/trunk/aquasoft/images/rss.gif
   templates/trunk/aquasoft/images/shad_bot_left.gif
   templates/trunk/aquasoft/images/shad_bot_mid.gif
   templates/trunk/aquasoft/images/shad_bot_right.gif
   templates/trunk/aquasoft/images/shad_left.gif
   templates/trunk/aquasoft/images/shad_right.gif
   templates/trunk/aquasoft/images/site_logo.gif
   templates/trunk/aquasoft/images/spotlight_bg.gif
   templates/trunk/aquasoft/images/spotlight_clear.gif
   templates/trunk/aquasoft/images/spotlight_left.gif
   templates/trunk/aquasoft/images/spotlight_search_bg.gif
   templates/trunk/aquasoft/images/tb_about_a.gif
   templates/trunk/aquasoft/images/tb_about_b.gif
   templates/trunk/aquasoft/images/tb_aero.gif
   templates/trunk/aquasoft/images/tb_bg.gif
   templates/trunk/aquasoft/images/tb_disc_a.gif
   templates/trunk/aquasoft/images/tb_forum_a.gif
   templates/trunk/aquasoft/images/tb_res_a.gif
   templates/trunk/aquasoft/images/toolbar_bg.gif
   templates/trunk/aquasoft/images/toolbara_bg.gif
   templates/trunk/aquasoft/italic.gif
   templates/trunk/aquasoft/link.gif
   templates/trunk/aquasoft/main.template
   templates/trunk/aquasoft/panel.template
   templates/trunk/aquasoft/post.template
   templates/trunk/aquasoft/postandcomments.template
   templates/trunk/aquasoft/postmetadata.inc
   templates/trunk/aquasoft/posttrackbacks.template
   templates/trunk/aquasoft/resource.template
   templates/trunk/aquasoft/rss.template
   templates/trunk/aquasoft/screenshot.jpg
   templates/trunk/aquasoft/searchresults.template
   templates/trunk/aquasoft/style.css
   templates/trunk/aquasoft/toolbar.js
   templates/trunk/aubmach/
   templates/trunk/aubmach/446-70.png
   templates/trunk/aubmach/about.template
   templates/trunk/aubmach/album.template
   templates/trunk/aubmach/albums.template
   templates/trunk/aubmach/aubmach.png
   templates/trunk/aubmach/commentarticle.template
   templates/trunk/aubmach/commentform.template
   templates/trunk/aubmach/download.gif
   templates/trunk/aubmach/error.gif
   templates/trunk/aubmach/error.template
   templates/trunk/aubmach/folderblue.gif
   templates/trunk/aubmach/footer.template
   templates/trunk/aubmach/header.template
   templates/trunk/aubmach/main.template
   templates/trunk/aubmach/panel.template
   templates/trunk/aubmach/post.template
   templates/trunk/aubmach/postandcomments.template
   templates/trunk/aubmach/posttrackbacks.template
   templates/trunk/aubmach/resource.template
   templates/trunk/aubmach/screenshot.jpg
   templates/trunk/aubmach/searchresults.template
   templates/trunk/aubmach/style.css
   templates/trunk/blorange/
   templates/trunk/blorange/about.template
   templates/trunk/blorange/album.template
   templates/trunk/blorange/albums.template
   templates/trunk/blorange/commentarticle.template
   templates/trunk/blorange/commentform.template
   templates/trunk/blorange/download.gif
   templates/trunk/blorange/error.gif
   templates/trunk/blorange/error.template
   templates/trunk/blorange/folderblue.gif
   templates/trunk/blorange/footer.template
   templates/trunk/blorange/header.template
   templates/trunk/blorange/main.template
   templates/trunk/blorange/panel.template
   templates/trunk/blorange/post.template
   templates/trunk/blorange/postandcomments.template
   templates/trunk/blorange/posttrackbacks.template
   templates/trunk/blorange/resource.template
   templates/trunk/blorange/screenshot.jpg
   templates/trunk/blorange/searchresults.template
   templates/trunk/blorange/style.css
   templates/trunk/blufill/
   templates/trunk/blufill/album.template
   templates/trunk/blufill/albums.template
   templates/trunk/blufill/bg.png
   templates/trunk/blufill/bold.gif
   templates/trunk/blufill/bubble.gif
   templates/trunk/blufill/commentarticle.template
   templates/trunk/blufill/commentform.template
   templates/trunk/blufill/download.gif
   templates/trunk/blufill/error.gif
   templates/trunk/blufill/error.template
   templates/trunk/blufill/folderblue.gif
   templates/trunk/blufill/footer.template
   templates/trunk/blufill/header.template
   templates/trunk/blufill/icon_link.gif
   templates/trunk/blufill/italic.gif
   templates/trunk/blufill/link.gif
   templates/trunk/blufill/main.template
   templates/trunk/blufill/panel.template
   templates/trunk/blufill/post.gif
   templates/trunk/blufill/post.template
   templates/trunk/blufill/postandcomments.template
   templates/trunk/blufill/posttrackbacks.template
   templates/trunk/blufill/resource.template
   templates/trunk/blufill/screenshot.jpg
   templates/trunk/blufill/searchresults.template
   templates/trunk/blufill/style.css
   templates/trunk/blufill/title.jpg
   templates/trunk/blufill/toolbar.js
   templates/trunk/blufill/top.gif
   templates/trunk/blufill/trackback.gif
   templates/trunk/bubble-blue/
   templates/trunk/bubble-blue/album.template
   templates/trunk/bubble-blue/albums.template
   templates/trunk/bubble-blue/bk31.gif
   templates/trunk/bubble-blue/bk31b.gif
   templates/trunk/bubble-blue/blue_screenshot.jpg
   templates/trunk/bubble-blue/commentarticle.template
   templates/trunk/bubble-blue/commentform.template
   templates/trunk/bubble-blue/error.template
   templates/trunk/bubble-blue/footer.template
   templates/trunk/bubble-blue/header.template
   templates/trunk/bubble-blue/main.template
   templates/trunk/bubble-blue/post.template
   templates/trunk/bubble-blue/postandcomments.template
   templates/trunk/bubble-blue/posttrackbacks.template
   templates/trunk/bubble-blue/resource.template
   templates/trunk/bubble-blue/samplerss.template
   templates/trunk/bubble-blue/screenshot.jpg
   templates/trunk/bubble-blue/searchresults.template
   templates/trunk/bubble-blue/style.css
   templates/trunk/buddha/
   templates/trunk/buddha/about.template
   templates/trunk/buddha/album.template
   templates/trunk/buddha/albums.template
   templates/trunk/buddha/commentarticle.template
   templates/trunk/buddha/commentform.template
   templates/trunk/buddha/download.gif
   templates/trunk/buddha/error.gif
   templates/trunk/buddha/error.template
   templates/trunk/buddha/folderblue copy.gif
   templates/trunk/buddha/folderblue.gif
   templates/trunk/buddha/footer.template
   templates/trunk/buddha/header.template
   templates/trunk/buddha/images/
   templates/trunk/buddha/images/buddha/
   templates/trunk/buddha/images/buddha/buddha-sm.jpg
   templates/trunk/buddha/main.template
   templates/trunk/buddha/panel.template
   templates/trunk/buddha/post.template
   templates/trunk/buddha/postandcomments.template
   templates/trunk/buddha/posttrackbacks.template
   templates/trunk/buddha/resource.template
   templates/trunk/buddha/screenshot.jpg
   templates/trunk/buddha/searchresults.template
   templates/trunk/buddha/style.css
   templates/trunk/buggy/
   templates/trunk/buggy/album.template
   templates/trunk/buggy/albums.template
   templates/trunk/buggy/buggy.css
   templates/trunk/buggy/commentarticle.template
   templates/trunk/buggy/error.template
   templates/trunk/buggy/footer.template
   templates/trunk/buggy/header.template
   templates/trunk/buggy/imgs/
   templates/trunk/buggy/imgs/photo.jpg
   templates/trunk/buggy/lib.js
   templates/trunk/buggy/main.template
   templates/trunk/buggy/post.template
   templates/trunk/buggy/postandcomments.template
   templates/trunk/buggy/posttrackbacks.template
   templates/trunk/buggy/resource.template
   templates/trunk/buggy/screenshot.jpg
   templates/trunk/buggy/searchresults.template
   templates/trunk/buggy/x.js
   templates/trunk/cab/
   templates/trunk/cab/about.template
   templates/trunk/cab/album.template
   templates/trunk/cab/albums.template
   templates/trunk/cab/cabbottom.jpg
   templates/trunk/cab/cabhead.jpg
   templates/trunk/cab/commentarticle.template
   templates/trunk/cab/commentform.template
   templates/trunk/cab/download.gif
   templates/trunk/cab/error.gif
   templates/trunk/cab/error.template
   templates/trunk/cab/folderblue.gif
   templates/trunk/cab/footer.template
   templates/trunk/cab/header.template
   templates/trunk/cab/main.template
   templates/trunk/cab/panel.template
   templates/trunk/cab/post.template
   templates/trunk/cab/postandcomments.template
   templates/trunk/cab/posttrackbacks.template
   templates/trunk/cab/resource.template
   templates/trunk/cab/screenshot.jpg
   templates/trunk/cab/searchresults.template
   templates/trunk/cab/style.css
Removed:
   templates/trunk/unported/Blix/
   templates/trunk/unported/Boxed-Green/
   templates/trunk/unported/Boxed/
   templates/trunk/unported/andreas-2-columns/
   templates/trunk/unported/andreas-3-columns/
   templates/trunk/unported/aquasoft/
   templates/trunk/unported/aubmach/
   templates/trunk/unported/blorange/
   templates/trunk/unported/blufill/
   templates/trunk/unported/bubble-blue/
   templates/trunk/unported/buddha/
   templates/trunk/unported/buggy/
   templates/trunk/unported/cab/
Log:
moving ported templates...



Added: templates/trunk/Blix/album.template
===================================================================
--- templates/trunk/Blix/album.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/Blix/album.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,83 @@
+{include file="$blogtemplate/header.template"}
+
+<div class="entry">
+		<!-- Loop Start -->
+		<!-- album contents go here -->
+		<H2>{$album->getName()}</H2>
+			<H3>{$album->getDescription()}</h3>
+			<table style="border:0px;width:100%;" summary="Album Resources">
+				<tr>
+					<td style="width:25%;" align="center" >
+						<a class="nodecoration" href="{$url->parentAlbumLink($album)}">
+						<img style="border:0px" src="{$url->getUrl("/imgs/admin/icon_folder-72.png")}" 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 class="nodecoration" href="{$url->albumLink($childalbum)}">
+							<img style="border:0px;" src="{$url->getUrl("/imgs/admin/icon_folder-72.png")}" alt="Folder" /><br/>
+							{$childalbum->getName()} ({$childalbum->getNumResources()})
+						</a>
+						<br/><br/>
+						{assign var="counter" value="`$counter+1`"}
+					</td>
+				{if $counter%2 == 0}
+				</tr>
+				<tr>
+				{/if}
+				{/foreach}
+				<!--- show the resources here -->
+				{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 class="nodecoration" 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%2 == 0}
+					</tr>
+					<tr>
+					{/if}
+					{/foreach}
+					<td></td>
+				</tr>
+			</table>
+ <!-- end of album contents -->
+ <div style="text-align:center">{include file="$misctemplatepath/pager.template" style="links"}</div>
+ </div>
+ {include file="$blogtemplate/links.template"}
+ {include file="$blogtemplate/footer.template"}

Added: templates/trunk/Blix/albums.template
===================================================================
--- templates/trunk/Blix/albums.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/Blix/albums.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,29 @@
+{include file="$blogtemplate/header.template"}
+
+<div class="entry">
+		<!-- Loop Start -->
+		<!-- album contents go here -->
+			<H2>{$locale->tr("albums")}</H2>
+				<table style="border:0px;width:100%;" summary="Albums">
+					<tr>
+						{assign var="counter" value=0}
+						{foreach from=$albums item=album}
+						<td style="width:33%;" align="center">
+							<a class="nodecoration" href="{$url->albumLink($album)}">
+								<img style="border:0px;" src="{$url->getUrl("/imgs/admin/icon_folder-72.png")}" alt="Folder" /><br/>
+								{$album->getName()} ({$album->getNumResources()})
+							</a>
+							{assign var="counter" value="`$counter+1`"}
+						</td>
+						{if $counter%3 == 0}
+					</tr>
+					<tr>
+						{/if}
+						{/foreach}
+						<td></td>
+					</tr>
+				</table>
+		<!-- end of the albums -->
+		</div>
+{include file="$blogtemplate/links.template"}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/Blix/archives.template
===================================================================
--- templates/trunk/Blix/archives.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/Blix/archives.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,17 @@
+{include file="$blogtemplate/header.template"} 
+		<DIV class=entry>		
+			<H3 class=entrytitle>{$locale->tr("archives")}</H3>
+			<DIV class=entrybody>
+				<ul>
+					{foreach from=$archives item=month}
+					<li>
+						<a href="{$month->getUrl()}">{$month->getName()}</a> [{$month->getNumArticles()}]
+					</li>
+					{/foreach}
+				</ul>
+
+			</div>
+		</div>
+
+{include file="$blogtemplate/links.template"}
+{include file="$blogtemplate/footer.template"} 
\ No newline at end of file

Added: templates/trunk/Blix/commentarticle.template
===================================================================
--- templates/trunk/Blix/commentarticle.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/Blix/commentarticle.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,8 @@
+{include file="$blogtemplate/header.template"}
+{include file="$blogtemplate/links.template"}
+		<div class=entry>
+		<!-- Loop Start -->
+			<h3 id="respond">{$locale->tr("add_comment")}</h3>
+		</div>
+{include file="$blogtemplate/commentform.template"}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/Blix/commentform.template
===================================================================
--- templates/trunk/Blix/commentform.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/Blix/commentform.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,22 @@
+<div id="commentsform">
+
+<form action="{$url->getIndexUrl()}" method="post" id="commentform">
+		<fieldset>
+
+	
+			<p><label for="author">Name</label> <input type="text" name="userName" id="author" value="" tabindex="1" /> <em>Required</em></p>
+			<p><label for="email">Email</label> <input type="text" name="userEmail" id="email" value="" tabindex="2" /> <em>Required, hidden</em></p>
+			<p><label for="url">Url</label> <input type="text" name="userUrl" id="url" value="" tabindex="3" /></p>
+
+
+			<p><label for="comment">Comment</label> <textarea name="commentText" id="comment" cols="45" rows="10" tabindex="4"></textarea></p>
+			<p><input type="hidden" name="comment_post_ID" value="1" />
+			<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}"/>
+			<input type="submit" name="submit" value="Submit" class="button" tabindex="5" /></p>
+
+	  	</fieldset>
+		</form>
+</div>

Added: templates/trunk/Blix/error.template
===================================================================
--- templates/trunk/Blix/error.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/Blix/error.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,9 @@
+{include file="$blogtemplate/header.template"}
+		<div class=entry>
+		<!-- Loop Start -->
+				<h2>{$locale->tr("error")}</h2>
+				<p>{$locale->tr($message)}</p>
+				<p><a href="javascript:history.go(-1)">{$locale->tr("back")}</a></p>
+		</div>
+{include file="$blogtemplate/links.template"}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/Blix/features.template
===================================================================
--- templates/trunk/Blix/features.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/Blix/features.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,8 @@
+{include file="$blogtemplate/header.template"}
+		<div class=entry>
+		<!-- Loop Start -->
+				<h3>Features</h3>
+				{$blog->getAbout()}
+		</div>
+{include file="$blogtemplate/links.template"}
+{include file="$blogtemplate/footer.template"}
\ No newline at end of file

Added: templates/trunk/Blix/footer.template
===================================================================
--- templates/trunk/Blix/footer.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/Blix/footer.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,15 @@
+<hr class="low" />
+
+<!-- footer ................................. -->
+<div id="footer">
+
+	<p><strong>&copy; Copyright 2006 {$blog->getBlog()}. All rights reserved.</strong><br />
+	Design by <a href="http://www.kingcosmonaut.de/">Sebastian Schmieg</a> . Icons by <a href="http://www.graphicpush.com/blogicons/">Kevin Potts</a> . Powered by <A href="http://www.lifetype.net/">LifeType</A> .</p>
+	
+</div> <!-- /footer -->
+
+</div> <!-- /container -->
+
+</body>
+
+</html>

Added: templates/trunk/Blix/header.template
===================================================================
--- templates/trunk/Blix/header.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/Blix/header.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,52 @@
+<!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" media=screen />
+ <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")}" />
+
+</head>
+
+
+
+<body><div id="container">
+
+<!-- header ................................. -->
+<div id="header">
+	<h1><a href="{$url->blogLink()}">{$blog->getBlog()}</a></h1>
+</div> <!-- /header -->
+
+<!-- navigation ................................. -->
+<div id="navigation">
+
+<form method="post" action="{$url->getIndexUrl()}">
+<fieldset>
+<input type="text" name="searchTerms" value="" id="s"  />
+<input type="hidden" name="op" value="Search" />
+<input type="hidden" name="blogId" value="{$blog->getId()}"/>
+<input type="submit" name="Search" value="Go!" id="searchbutton" /></fieldset>
+</form>
+
+	
+	
+	<ul>
+		<li class="selected"><a title="{$locale->tr("main")}" href="{$url->blogLink()}">{$locale->tr("main")}</a></li>
+		<LI><a title="{$locale->tr("archives")}" href="{$url->templatePage("archives")}">{$locale->tr("archives")}</a></li>
+		<LI><A title="{$locale->tr("admin")}" href="{$url->getAdminUrl()}">{$locale->tr("admin")}</a></LI>
+		<LI><A title="{$locale->tr("albums")}" href="{$url->albumLink()}">{$locale->tr("albums")}</a></LI>
+		<LI><a title="{$locale->tr("summary")}" href="{$url->getUrl("/summary.php")}">{$locale->tr("summary")}</a></LI>
+	</ul>
+
+</div><!-- /navigation -->
+
+<hr class="low" />
+
+<!-- content ................................. -->
+<div id="content">
\ No newline at end of file

Added: templates/trunk/Blix/images/spring_flavour/author.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/Blix/images/spring_flavour/author.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/Blix/images/spring_flavour/categories_yellow.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/Blix/images/spring_flavour/categories_yellow.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/Blix/images/spring_flavour/comments.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/Blix/images/spring_flavour/comments.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/Blix/images/spring_flavour/container_bg.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/Blix/images/spring_flavour/container_bg.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/Blix/images/spring_flavour/corner_bottom_right.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/Blix/images/spring_flavour/corner_bottom_right.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/Blix/images/spring_flavour/corner_top_left.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/Blix/images/spring_flavour/corner_top_left.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/Blix/images/spring_flavour/edit.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/Blix/images/spring_flavour/edit.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/Blix/images/spring_flavour/feeds_yellow.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/Blix/images/spring_flavour/feeds_yellow.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/Blix/images/spring_flavour/footer_bg.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/Blix/images/spring_flavour/footer_bg.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/Blix/images/spring_flavour/header_bg.jpg
===================================================================
(Binary files differ)


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

Added: templates/trunk/Blix/images/spring_flavour/links_yellow.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/Blix/images/spring_flavour/links_yellow.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/Blix/images/spring_flavour/more.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/Blix/images/spring_flavour/more.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/Blix/images/spring_flavour/next.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/Blix/images/spring_flavour/next.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/Blix/images/spring_flavour/pingtrackback.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/Blix/images/spring_flavour/pingtrackback.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/Blix/images/spring_flavour/post.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/Blix/images/spring_flavour/post.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/Blix/images/spring_flavour/post_yellow.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/Blix/images/spring_flavour/post_yellow.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/Blix/images/spring_flavour/previous.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/Blix/images/spring_flavour/previous.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/Blix/images/spring_flavour/sub_categories_yellow.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/Blix/images/spring_flavour/sub_categories_yellow.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/Blix/images/spring_flavour/subcontent_bg.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/Blix/images/spring_flavour/subcontent_bg.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/Blix/layout.css
===================================================================
--- templates/trunk/Blix/layout.css	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/Blix/layout.css	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,578 @@
+/* reset
+--------------------------------------------------*/
+body,h1,h2,h3,h4,h5,h6,p,form,fieldset {margin:0;padding:0;}
+.low {display:none;}
+
+
+/* body
+--------------------------------------------------*/
+body {
+  margin:0;
+  padding:15px 0;
+  font-family:Arial, Helvetica, sans-serif;
+  font-size:75%;
+  line-height:1.6em;
+  text-align:center;
+}
+
+body#commentspopup {padding:0;}
+
+
+/* headings
+--------------------------------------------------*/
+h1 {font-size:30px;}
+
+#content h2 {
+  margin:0 0 18px 0;
+  font-family:Georgia, serif;
+  font-size:1.6em;
+  font-weight:normal;
+}
+
+#content h3 {
+  margin:0 0 18px 0;
+  font-size:1em;
+}
+
+#content h4 {
+  margin:0;
+  font-size:1em;
+}
+
+#content.archive h2 {margin:0 0 26px 0;}
+
+#content.archive h3 {
+  margin:0 0 10px 0;
+  font-family:Georgia, serif;
+  font-size:1.3em;
+  font-weight:normal;
+}
+
+#content.archive h4 {
+  margin:0 0 18px 0;
+  font-size:1em;
+}
+
+#content.archive h5 {
+  margin:0;
+  font-size:1em;
+}
+
+
+/* links
+--------------------------------------------------*/
+a {text-decoration:none;}
+
+a img {border:none;}
+
+
+/* paragraphs, lists, etc
+--------------------------------------------------*/
+p {
+  margin:0;
+  padding:0 0 18px 0;
+}
+
+ul {
+  margin:0 0 0 1.4em;
+  padding:0 0 18px 0;
+}
+
+ul ul {padding:0;}
+
+blockquote {
+  margin:0;
+  padding:0 18px;
+  font-style:italic;
+}
+
+pre {
+  overflow:auto;
+  margin:0 0 18px 0;
+  padding:4px;
+}
+
+pre, code, kbr {font-family:Courier, Monaco, monospace;}
+
+code, kbr {padding:0 2px;}
+
+abbr, acronym {
+  font-size:0.9em;
+  letter-spacing:1px;
+}
+
+
+/* images
+--------------------------------------------------*/
+img.left {
+  float:left;
+  margin:0 12px 0 0;
+}
+
+img.right {
+  float:right;
+  margin:0 0 0 12px;
+}
+
+img.center {
+  display: block;
+  margin:0 auto;
+}
+
+
+/* container
+--------------------------------------------------*/
+#container {
+  width:690px;
+  margin:0 auto;
+  padding:30px 30px 0 30px;
+  text-align:left;
+}
+
+#commentspopup #container {
+  width:455px;
+  padding:0 15px;
+}
+
+
+/* header
+--------------------------------------------------*/
+#header {
+  height:115px;
+  padding:0 0 0 18px;
+}
+
+#header h1 {
+  /*display:none; This will hide the text in your header */
+  padding-top:50px;
+}
+
+
+
+/* navigation
+--------------------------------------------------*/
+#navigation {
+  height:2.7em;
+  line-height:2.7em;
+}
+
+#navigation ul {
+  margin:0;
+  padding:0;
+}
+
+#navigation li {
+  float:left;
+  margin:0;
+  padding:0;
+  list-style-type:none;
+  border-right:1px solid;
+  white-space:nowrap;
+}
+
+#navigation li a {
+  display:block;
+  padding:0 18px;
+  font-size:0.8em;
+  text-transform:uppercase;
+  letter-spacing:1px;
+}
+
+* html #navigation a {width:1%;} /* see http://www.positioniseverything.net/explorer/escape-floats.html */
+
+#navigation form {
+  float:right;
+  height:100%;
+  width:189px;
+  padding:0 15px;
+  border-left:1px solid;
+  line-height:0;
+}
+
+#navigation form fieldset {
+  /* centering the search form could've
+  been done way more elegant but IEWin
+  and Opera refused to follow the rules */
+  margin-top:7px;
+  border:0 solid; /* Opera */
+}
+
+* html #navigation form fieldset {margin-top:7px;}
+
+#navigation #s {
+  height:1.5em;
+  width:140px;
+  margin:0 5px 0 0;
+  padding:0;
+  border:1px solid;
+  font-size:0.8em;
+  vertical-align:middle;
+}
+
+#navigation #searchbutton {
+  height:2em;
+  width:auto;
+  padding:0 1px;
+  border:1px solid;
+  font-size:9px;
+  letter-spacing:1px;
+  text-align:center;
+  vertical-align:middle;
+}
+
+
+/* content
+--------------------------------------------------*/
+#content {
+  float:left;
+  width:455px;
+  padding-top:32px;
+}
+
+.singlecol #content {
+  float:none;
+  width:550px;
+  margin:0 70px;
+}
+
+#commentspopup #content {
+  float:none;
+  padding-top:0;
+}
+
+
+/* entry
+--------------------------------------------------*/
+.entry {margin:0 0 40px 0;}
+
+.entry .info {
+  position:relative;
+  margin-top:-3px;
+  padding:3px;
+  border-top:1px solid;
+  border-bottom:1px solid;
+  font-size:0.9em;
+}
+
+.entry.single {clear:both;}
+
+.entry.single .info {margin:0 0 22px 0;}
+
+.entry .info a {
+  margin-right:6px;
+  padding-right:9px;
+  border-right:1px solid;
+}
+
+.entry .info em {
+  padding-right:6px;
+  font-style:normal;
+}
+
+.entry .author,
+.entry .editlink a {
+  margin:0;
+  padding:0 0 0 10px;
+  border-left:1px solid;
+  border-right:none
+}
+
+.entry #filedunder {
+  clear:both;
+  padding:3px 0 0 0;
+  font-size:0.9em;
+  border-top:1px solid;
+}
+
+
+/* mini-entry
+--------------------------------------------------*/
+.minientry {
+  position:relative;
+  margin:0px 0 35px 0;
+  padding:10px 0;
+  border-top:1px dotted;
+  border-bottom:1px dotted;
+}
+
+.minientry p {padding:0;}
+
+.minientry .commentlink {
+  margin-left:3px;
+  padding-right:7px;
+  border-right:1px solid;
+  font-size:0.9em;
+}
+
+.minientry .permalink {
+  margin-left:3px;
+  font-size:0.9em;
+  font-style:normal;
+}
+
+.minientry .author,
+.minientry .editlink a {
+  margin-left:6px;
+  padding:0 8px 0 10px;
+  border-left:1px solid;
+  font-size:0.9em;
+  font-style:normal;
+}
+
+.minientry .editlink a {margin:0;}
+
+
+/* comments
+--------------------------------------------------*/
+#comments h2 {margin-bottom:24px;}
+
+#comments h2 a {
+  margin-left:2px;
+  padding-left:6px;
+  border-left:1px solid;
+  font-family:Arial,Helvetica,sans-serif;
+  font-size:0.55em;
+}
+
+#comments ul {margin:0 0 0 20px;}
+
+#comments li {
+  position:relative;
+  margin-bottom:18px;
+}
+
+
+#comments li p {padding:0 0 10px 0;}
+
+#comments .header {
+  position:relative;
+  min-height:19px; /* 19 + 3 +3 = 25px = height of gravatar */
+  margin:0 0 10px 0;
+  padding:3px 6px;
+}
+
+* html #comments .header {height:19px;} /* IEWin */
+
+#comments .header strong {font-family:Georgia,sans-serif;}
+
+#comments .header .gravatar {
+  position:absolute;
+  top:1px;
+  right:1px;
+}
+
+
+/* form
+--------------------------------------------------*/
+form {padding:6px 0;}
+
+#commentform, #contactform {margin-bottom:18px;}
+
+form fieldset {border:0 solid;} /* Opera */
+
+form p {
+  padding:6px 0;
+  border-bottom:1px solid;
+}
+
+form label {
+  display:block;
+  float:left;
+  width:60px;
+}
+
+#commentform label {margin:0 15px 0 15px;}
+#contactform label {margin:0 15px 0 0;}
+
+form em {
+  margin-left:5px;
+  font-size:0.9em;
+  font-style:normal;
+}
+
+form input, form textarea {
+  padding:3px;
+  width:200px;
+  border:1px solid;
+  font-family:Arial,Helvetica,sans-serif;
+  font-size:0.9em;
+}
+
+form textarea {overflow:auto;}
+
+#commentform input {width:200px;}
+#commentform textarea {width:325px;}
+#contactform textarea, #contactform #bx_subject {width:465px;}
+
+* html #commentform textarea {width:320px;} /* IE WIN; but why? */
+* html #contactform textarea,
+* html #contactform #bx_subject {width:445px;} /* IE WIN; but why? */
+
+form .button {
+  width:90px !important;
+  border-bottom:1px solid;
+  font-weight:bold;
+}
+
+#commentform .button {margin-left:90px;}
+#contactform .button {margin-left:75px;}
+
+form .hiddenfield {display:none;}
+
+form .info {padding-left:90px;}
+
+
+/* archives
+--------------------------------------------------*/
+.archive .postspermonth {
+  margin:0;
+  list-style:none;
+}
+
+
+/* content misc
+--------------------------------------------------*/
+.next a {float:right;}
+.previous a {float:left;}
+
+
+#entrynavigation {
+  overflow: auto;
+  height:1%;
+  margin-bottom:13px;
+  padding-bottom:13px;
+  border-bottom:1px solid;
+  font-size:0.9em;
+}
+
+
+/* subcontent
+--------------------------------------------------*/
+#subcontent {
+  float:right;
+  width:205px;
+  padding:15px 0 0 15px;
+  font-size:0.9em;
+  line-height:1.5em;
+}
+
+* html #subcontent {padding-top:32px;} /* dirty fix for IEWIN; temporary! */
+
+#subcontent ul, #subcontent p {margin:0 10px;}
+
+
+/* subcontent headings
+--------------------------------------------------*/
+#subcontent h2 {
+  margin:18px 0 10px 0;
+  font-family:Georgia,serif;
+  font-size:1em;
+  line-height:1em;
+}
+
+#subcontent h2 em {
+  display:block;
+  padding:5px 10px;
+  font-style:normal;
+}
+
+
+/* subcontent list
+--------------------------------------------------*/
+#subcontent ul li {
+  margin:2px 0 2px 18px;
+  padding-bottom:2px;
+  border-bottom:1px solid;
+}
+
+#subcontent li a {
+  display:block;
+  padding:1px 0;
+  height:1%; /* IE WIN */
+}
+
+#subcontent ul.categories li ul {margin:0;}
+
+#subcontent ul.categories li li {
+  margin:0;
+  padding:0 0 3px 0;
+  border-bottom:none;
+}
+
+#subcontent ul.categories li ul ul {margin:0 0 0 16px;}
+
+
+/* calendar
+--------------------------------------------------*/
+#wp-calendar {
+  display:inline-table;
+  border-collapse:collapse;
+  width:185px;
+  margin:0px 10px 0 10px;
+  text-align:center;
+}
+
+#subcontent table caption {
+  margin:-5px 10px 0 10px;
+  padding-bottom:5px;
+  border-bottom:1px solid;
+  letter-spacing:0.1em;
+}
+
+#subcontent table thead tr {border-bottom:1px solid;}
+
+#subcontent table th {border-bottom:1px solid;}
+
+#subcontent table td {
+  width:200px; /* maximaize width; honestly, I don't know much about tables... */
+  padding:1px;
+  font-size:0.9em;
+}
+
+#subcontent table td#today {
+  padding:0;
+  border:1px solid;
+  font-size:1em;
+  font-weight:bold;
+}
+
+#subcontent table td a {
+  display:block;
+  border-bottom:1px solid;
+  font-weight:bold;
+  font-size:1.15em;
+}
+
+#subcontent table tfoot {border-top:1px solid;}
+
+#subcontent table tfoot a {
+  border:none;
+  font-weight:bold;
+}
+
+#subcontent table tfoot #prev a {text-align:left;}
+#subcontent table tfoot #next a {text-align:right;}
+
+
+/* footer
+--------------------------------------------------*/
+#footer {
+  clear:both;
+  padding:40px 0 15px 0;
+  font-size:0.9em;
+}
+
+.singlecol #footer {
+  padding:25px 0 15px 0;
+}
+
+#footer p {
+  padding:12px 0 18px 0;
+  border-top:1px solid;
+}
+
+#footer strong {font-weight:normal;}
+
+.singlecol #footer p {
+  padding:12px 70px 18px 70px;
+}
\ No newline at end of file

Added: templates/trunk/Blix/links.template
===================================================================
--- templates/trunk/Blix/links.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/Blix/links.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,64 @@
+
+</div> <!-- /content -->
+<hr class="low" />
+
+<!-- subcontent ................................. -->
+<div id="subcontent">
+{assign var=blogOwner value=$blog->getOwnerInfo()}
+{if $blogOwner->getAboutMyself()}
+<h2><em>About</em></h2>
+<P>
+{$blogOwner->getfullName()}</P>
+<P>{$blogOwner->getAboutMyself()}</P>
+
+{/if}
+
+
+<H2><em>Around here</em></H2>
+<UL class="feeds">
+{foreach from=$recentposts item=recentpost}
+<LI><A title="{$recentpost->getText()|truncate:150:"..."|strip_tags|escape}" href="{$url->postLink($recentpost)}">{$recentpost->getTopic()}</a></LI>
+{/foreach}
+</UL>
+
+
+	<h2><em>Categories</em></h2>
+		<ul class="categories">
+		{foreach from=$articlecategories item=articleCategory}
+			<LI><A href="{$url->categoryLink($articleCategory)}">{$articleCategory->getName()} ({$articleCategory->getNumArticles()})</A></LI>
+		{/foreach}
+		</ul>
+
+	<h2><em>{$locale->tr("my_links")}</em></h2>
+
+	
+				{foreach from=$mylinkscategories item=linkcategory}
+				<STRONG><P>{$linkcategory->getName()}</P></STRONG>
+				<ul class="links">
+					{foreach from=$linkcategory->getLinks() item=link}
+					<li>
+						<a href="{$link->getUrl()}" title="{$link->getDescription()}">{$link->getName()}</a>
+					</li>
+					{/foreach}
+				</ul>
+				{/foreach}
+
+	
+
+	<h2><em>Feeds</em></h2>
+
+	<ul class="feeds">
+	<li><A href="{$url->rssLink("rss10")}">RSS</A></li>
+	<LI><A title="This page validates as XHTML 1.0 Transitional" href="http://validator.w3.org/check/referer">Valid <ABBR title="eXtensible HyperText Markup Language">XHTML</ABBR></A> </LI>
+<LI><A href="http://gmpg.org/xfn/"><ABBR title="XHTML Friends Network">XFN</ABBR></A> </LI>
+<LI><A title="Powered by LifeType, state-of-the-art semantic personal publishing platform." href="http://www.lifetype.net/">LifeType</A> </LI>
+
+	</ul>
+
+
+
+
+
+
+
+</div> <!-- /subcontent -->
\ No newline at end of file

Added: templates/trunk/Blix/main.template
===================================================================
--- templates/trunk/Blix/main.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/Blix/main.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,22 @@
+{include file="$blogtemplate/header.template"}
+	<!-- Loop Start -->
+	{if $showAll}
+	<div class=entry>
+		{if $showAll == 1 && $category}
+			<h2>{$locale->tr("posts")}: {$category->getName()}</h2>
+		{/if}
+		{foreach from=$posts item=post}
+			<!-- showing only the topic of the post, in case we have too many! -->
+			{assign var="postDate" value=$post->getDateObject()}
+			{$locale->formatDate($postDate,"%Y.%B%d")} <a href="{$url->postPermalink($post)}">{$post->getTopic()}</a><br/>
+		{/foreach}
+        
+	</div>
+	{else}
+		{foreach from=$posts item=post}
+			{include file="$blogtemplate/post.template"}
+		{/foreach}
+	{/if}
+    <div style="text-align:center">{include file="$misctemplatepath/pager.template" style="links"}</div>
+{include file="$blogtemplate/links.template"}
+{include file="$blogtemplate/footer.template"}
\ No newline at end of file

Added: templates/trunk/Blix/post.template
===================================================================
--- templates/trunk/Blix/post.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/Blix/post.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,14 @@
+<!-- {$url->postTrackbackLink($post)} -->
+{assign var="postDate" value=$post->getDateObject()}
+{assign var="postOwner" value=$post->getUserInfo()}
+		<div class="entry">
+			<h2><A href="{$url->postPermalink($post)}">{$post->getTopic()}</A></h2>
+			<P>{$post->getText()}</P>
+			<p class="info"><A class="commentlink" href="{$url->postPermalink($post)}#comments">Comments ({$post->getTotalComments()})</A>
+			Posted to {foreach name=categories from=$post->getCategories() item=postcategory}
+					<a href="{$url->categoryLink($postcategory)}">{$postcategory->getName()}</a>
+				{if !$smarty.foreach.categories.last}, {/if}
+				{/foreach} <em class="date">{$locale->formatDate($postDate,"%m/%d/%Y")}</em>
+			<span class="editlink"> <A title="{$locale->tr("admin")}" href="{$url->getAdminUrl()}">Edit</a> </span></p>
+
+		</div>

Added: templates/trunk/Blix/postandcomments.template
===================================================================
--- templates/trunk/Blix/postandcomments.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/Blix/postandcomments.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,84 @@
+{include file="$blogtemplate/header.template"}
+
+{assign var="postPageTitle" value=$post->getTopic()}
+{assign var="postPageTitle" value=" | $postPageTitle"}
+	
+<div class="entry single">
+		{assign var="postDate" value=$post->getDateObject()}
+		{assign var="postOwner" value=$post->getUserInfo()}
+
+
+		<h2><A href="{$url->postPermalink($post)}">{$post->getTopic()}</A></h2>
+
+		<p class="info">
+		   		<em class="date">{$locale->formatDate($postDate,"%m/%d/%Y")}</em>
+
+   		   		</p>
+
+			<P>{$post->getText()}</P>
+
+
+
+
+
+	<DIV class=feedback>
+		<DIV class=meta>Posted by {$postOwner->getUsername()} at
+			{$locale->formatDate($postDate,"%H:%M")}
+			<A class=aposted href="{$url->postPermalink($post)}#comments">{$locale->tr("comment on this")} ({$post->getTotalComments()})</A>,
+			<A class=aposted href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</A>,
+			{foreach name=categories from=$post->getCategories() item=postcategory}
+				<a class=aposted href="{$url->categoryLink($postcategory)}">{$postcategory->getName()}</a>
+				{if !$smarty.foreach.categories.last}, {/if}
+			{/foreach}<br>
+			{* Prevpost and nextpost use *}
+			<a href="{$url->blogLink()}">Back to Home</a>
+			{assign var=nextpost value=$post->getNextArticle()}
+			{assign var=prevpost value=$post->getPrevArticle()}
+			{if $prevpost == true}
+				<a href="{$url->postPermalink($prevpost)}" 
+                   title="{$locale->tr("previous_post")}: {$prevpost->getTopic()}">{$locale->tr("previous_post")}</a>
+			{/if}
+			{if $nextpost == true}
+				<a href="{$url->postPermalink($nextpost)}" 
+                   title="{$locale->tr("next_post")}: {$nextpost->getTopic()}">{$locale->tr("next_post")}</a>
+			{/if}
+			{* End of article_index *}
+		</DIV>
+	</DIV>
+	</DIV>
+	
+		<!-- comments ................................. -->
+		<div id="comments">
+		
+		
+		<h2>{$post->getTotalComments()} Comments <a href="#commentform" class="more">Add your own</a></h2>
+
+	<ul>
+	
+	{assign var="counter" value=1}
+	{foreach name=comment from=$comments item=comment}
+		<li class="comment" id="comment-{$comment->getId()}">
+		{if $counter%2!=0}
+		<p class="header"><strong>{$counter}.</strong>
+		
+		{else}
+		<p class="header alt"><strong>{$counter}.</strong>
+		{/if}
+			<a href="{$comment->getUserUrl()}">{$comment->getUsername()}</a> &nbsp;|&nbsp; {assign var=commentDate value=$comment->getDateObject()} {$locale->formatDate($commentDate, "%m/%d,%Y")}</p>
+			<p>{$comment->getText()}</p>
+		</LI>
+		{assign var="counter" value="`$counter+1`"}
+	{/foreach}
+	</UL>
+
+
+	<a name="comments"></a>
+
+	<h2 id="commentsformheader">Leave a Reply</h2>
+	{if $blogsettings->getValue("comments_enabled") && $post->getCommentsEnabled()==1}
+		{include file="$blogtemplate/commentform.template"}
+	{/if}
+	</div> <!-- /comments -->
+
+{include file="$blogtemplate/links.template"}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/Blix/posttrackbacks.template
===================================================================
--- templates/trunk/Blix/posttrackbacks.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/Blix/posttrackbacks.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,16 @@
+{include file="$blogtemplate/header.template"}
+		<div class=entry>
+		<!-- Loop Start -->
+				<p>{$locale->tr("trackbacks_for_article")} "<a href="{$url->postLink($post)}">{$post->getTopic()}</a>": </p>
+				<p>
+					{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> {$locale->formatDate($trackbackDate, "%d/%m/%Y %H:%M")}<br/><br/>
+					{/foreach}
+				</p>
+		</div>
+{include file="$blogtemplate/links.template"}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/Blix/resource.template
===================================================================
--- templates/trunk/Blix/resource.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/Blix/resource.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,67 @@
+{include file="$blogtemplate/header.template"}
+
+<div class=entry>
+
+
+
+
+	
+		{assign var=metadata value=$resource->getMetadataReader()}
+		{assign var=updated value=$resource->getTimestamp()}
+		
+		<H4>
+			Filename: {$resource->getFileName()} ({$metadata->getRoundedSize()}) | 
+			{$locale->tr("created")} {$locale->formatDate($updated,"%d %B, %Y")} | 
+			<a href="{$url->resourceDownloadLink($resource)}">{$locale->tr("download")}</a>
+		</H4>
+		<H3>{$resource->getFileName()}</H3>
+		<br/>
+		    
+		<p>{$resource->getDescription()}</p>
+		{if $resource->isImage()}
+		<center><img src="{$url->resourceMediumSizePreviewLink($resource)}" alt="{$resource->getFileName()}, {$metadata->getRoundedSize()}" /></center>
+	{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>
+
+{include file="$blogtemplate/links.template"}
+{include file="$blogtemplate/footer.template"}
\ No newline at end of file

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


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

Added: templates/trunk/Blix/searchresults.template
===================================================================
--- templates/trunk/Blix/searchresults.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/Blix/searchresults.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,15 @@
+{include file="$blogtemplate/header.template"}
+		<div class=entry>
+		<!-- Loop Start -->
+				<H2>{$locale->tr("search_results")}: {foreach from=$searchterms item=term}{$term} {/foreach}</h2>
+						{foreach from=$searchresults item=result}
+							{assign var=article value=$result->getArticle()}
+							{foreach name=categories from=$article->getCategories() item=postcategory}
+							<a class=aside href="{$url->categoryLink($postcategory)}">{$postcategory->getName()}</a>
+							{if !$smarty.foreach.categories.last}, {/if}
+							{/foreach}							
+								<a href="{$url->postPermalink($article)}">{$article->getTopic()}</a><br/>	
+						{/foreach}
+		</div>
+{include file="$blogtemplate/links.template"}		
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/Blix/spring_flavour.css
===================================================================
--- templates/trunk/Blix/spring_flavour.css	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/Blix/spring_flavour.css	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,313 @@
+/* body
+--------------------------------------------------*/
+body {
+  color:#414141;
+  background:#EDE8E2;
+}
+
+body#commentspopup {background:white;}
+
+
+/* headings
+--------------------------------------------------*/
+h1, h1 a,
+h2, h2 a,
+h3 a,
+h4 a
+  {color:#009193;}
+
+h1 a:hover,
+h2 a:hover,
+h3 a:hover,
+h4 a:hover
+  {color:#1BA6B2;}
+
+
+/* links
+--------------------------------------------------*/
+a {color:#6C8C37;}
+
+a:hover {color:#009193;}
+
+a.commentlink {
+  padding-left:16px;
+  background:url(images/spring_flavour/comments.gif) center left no-repeat;
+}
+
+a.more {
+  padding-right:10px;
+  background:url(images/spring_flavour/more.gif) center right no-repeat;
+}
+
+
+/* paragraphs, lists, etc
+--------------------------------------------------*/
+pre,
+code
+  {background-color:#F8FAF2;}
+
+kbr {color:#009193;}
+
+
+/* container
+--------------------------------------------------*/
+#container {
+  padding-top:0;
+  border-top:30px solid white;
+  background:white url(images/spring_flavour/container_bg.gif) 500px 0px repeat-y;
+}
+
+#container.singlecol,
+#commentspopup #container {background-image:none;}
+
+
+
+/* header
+--------------------------------------------------*/
+#header {
+  background-color:#F0F9F9;
+  background-image:url(images/spring_flavour/header_bg.jpg);
+}
+
+
+/* navigation
+--------------------------------------------------*/
+#navigation {background-color:#A3C159;}
+
+#navigation li {border-color:white;}
+
+#navigation a {color:white;}
+
+#navigation .selected,
+#navigation a:hover
+  {background-color:#1BA6B2}
+
+#navigation form {
+  border-color:white;
+  background:#FEC42D url(images/spring_flavour/corner_bottom_right.gif) bottom right no-repeat;
+}
+
+#navigation #s {border-color:#FFF9EA;}
+
+#navigation #searchbutton {
+  color:white;
+  background-color:#A3C159;
+}
+
+
+/* Entry
+--------------------------------------------------*/
+.entry {margin:0 0 40px 0;}
+
+.entry .author {}
+
+.entry .info {
+  border-color:#F3F4F4;
+  background-color:#FAFAFA;
+}
+
+.entry .info a {border-color:#949494;}
+
+.entry a.more {
+  padding-left:12px;
+  background:url(images/spring_flavour/more.gif) center left no-repeat;
+}
+
+.entry .info .date {
+  padding-left:15px;
+  background:url(images/spring_flavour/post.gif) center left no-repeat;
+}
+
+.entry .info .author {
+  padding-left:23px;
+  border-color:#949494;
+  background:url(images/spring_flavour/author.gif) 10px 2px no-repeat;
+}
+
+.entry #filedunder {border-color:#F3F4F4;}
+
+
+/* Mini-Entry
+--------------------------------------------------*/
+.minientry  {border-color:#D9D9D9;}
+
+.minientry .commentlink {border-color:#949494;}
+
+.minientry .permalink {
+  padding-left:15px;
+  background:url(images/spring_flavour/post.gif) center left no-repeat;
+}
+
+.minientry .author {
+  padding-left:23px;
+  border-color:#949494;
+  background:url(images/spring_flavour/author.gif) 10px 2px no-repeat;
+}
+
+
+/* Comments
+--------------------------------------------------*/
+#comments h2 {margin-bottom:24px;}
+
+#comments h2 a {color:#6C8C37;}
+
+#comments li.comment {list-style-image:url(images/spring_flavour/comments.gif);}
+
+#comments li.trackback,#comments li.pingback {list-style-image:url(images/spring_flavour/pingtrackback.gif);}
+
+#commentform {background-color:#EDF3DE;}
+
+#comments .header {background-color:#EDF3DE;}
+
+#comments .header.alt {background-color:#E9F7F6;}
+
+
+/* form
+--------------------------------------------------*/
+form p {border-color:white;}
+
+form label { color:#6C8C37;}
+
+form em {color:#C8C8B4;}
+
+form input {color:#414141;}
+
+form input, form textarea {
+  border-color:#DCDCDC #F0F0F0 #F0F0F0 #DCDCDC;
+}
+
+form .button {
+  border-color:white #DCDCDC #DCDCDC white;
+  background-color:#F0F0F0;
+}
+
+
+/* Archives
+--------------------------------------------------*/
+.archive .postspermonth {color:#A0A0A0;}
+
+
+/* content misc
+--------------------------------------------------*/
+.next a {
+  padding-right:10px;
+  background:url(images/spring_flavour/next.gif) center right no-repeat;
+}
+
+.previous a {
+  padding-left:10px;
+  background:url(images/spring_flavour/previous.gif) center left no-repeat;
+}
+
+#entrynavigation {border-color:#F3F4F4;}
+
+.editlink {
+  position:absolute;
+  height:14px;
+  width:14px;
+  right:2px;
+  background:url(images/spring_flavour/edit.gif) 0 -14px;
+}
+
+html>body .editlink {bottom:6px;}
+
+.entry .info .editlink a,
+.minientry .editlink a,
+#comments li .editlink a {
+  display:block;
+  height:14px;
+  width:14px;
+  margin:0;
+  padding:0;
+  border:none;
+  font-size:1px; /* IEWin */
+  line-height:0; /* IEWin */
+  text-indent:-9999px;
+  background:url(images/spring_flavour/edit.gif) 0 0;
+}
+
+.entry .info .editlink a:hover,
+.minientry .editlink a:hover,
+#comments li .editlink a:hover
+  {background:none;}
+
+
+/* subcontent
+--------------------------------------------------*/
+#subcontent {background:url(images/spring_flavour/subcontent_bg.gif) top left no-repeat;}
+
+
+/* subcontent headings
+--------------------------------------------------*/
+#subcontent h2 {
+  color:white;
+  background:#A3C159 url(images/spring_flavour/corner_top_left.gif) top left no-repeat;
+}
+
+#subcontent h2 em {background:url(images/spring_flavour/corner_bottom_right.gif) bottom right no-repeat;}
+
+
+/* subcontent list
+--------------------------------------------------*/
+#subcontent ul li {border-bottom-color:#F0F0F0;}
+
+#subcontent li a:hover {background-color:#FFFBF0;}
+
+#subcontent ul.pages li {list-style-image:url(images/spring_flavour/post_yellow.gif);}
+
+#subcontent ul.categories li,
+#subcontent ul.months li {list-style-image:url(images/spring_flavour/categories_yellow.gif);}
+
+#subcontent ul.links li {list-style-image:url(images/spring_flavour/links_yellow.gif);}
+
+#subcontent ul.feeds li {list-style-image:url(images/spring_flavour/feeds_yellow.gif);}
+
+#subcontent ul.posts li {list-style-image:url(images/spring_flavour/post_yellow.gif);}
+
+#subcontent ul.categories li li {list-style-image:url(images/spring_flavour/sub_categories_yellow.gif);}
+
+
+/* calendar
+--------------------------------------------------*/
+#wp-calendar {color:#A0A0A0;}
+
+#subcontent table caption {border-bottom-color:#F3F4F4;}
+
+#subcontent table thead tr {
+  border-bottom-color:#F3F4F4;
+  color:#414141;
+}
+
+#subcontent table th {border-bottom-color:#F3F4F4;}
+
+#subcontent table td#today {
+  border-color:#F3F4F4;
+  color:#414141;
+}
+
+#subcontent table td a {
+  border-bottom-color:#A3C159;
+  background-color:#EDF3DE;
+}
+
+#subcontent table tfoot {border-top-color:#F3F4F4;}
+
+#subcontent table tfoot a {background:none;}
+
+
+/* footer
+--------------------------------------------------*/
+#footer {
+  color:#A0A0A0;
+  background:white url(images/spring_flavour/footer_bg.gif) 470px 0px no-repeat;
+}
+
+.singlecol #footer {background-image:none;}
+
+#footer p {border-top:6px solid #E9F7F6;}
+
+#footer a {color:#A0A0A0;}
+
+#footer a:hover {color:#414141;}
+
+#footer strong {color:#009193;}
\ No newline at end of file

Added: templates/trunk/Blix/style.css
===================================================================
--- templates/trunk/Blix/style.css	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/Blix/style.css	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,11 @@
+/*
+Theme Name: Blix
+Theme URI: http://www.kingcosmonaut.de/blix/
+Description: Hmmm...
+Version: 0.9.1
+Author: Sebastian Schmieg
+Author URI: http://www.kingcosmonaut.de/
+*/
+
+ at import "layout.css";
+ at import "spring_flavour.css";

Added: templates/trunk/Boxed/album.template
===================================================================
--- templates/trunk/Boxed/album.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/Boxed/album.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,85 @@
+{include file="$blogtemplate/header.template"}
+<div id="container">
+<p>
+ {$album->getDescription()}
+</p>
+
+ <!-- album contents go here -->
+<div id="album">
+<table style="border:0px;width:100%;" summary="Album Resources">
+ <tr>
+  <td style="width:50%;" align="center" >
+   <a class="nodecoration" 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:50%;" align="center" >
+   <a class="nodecoration" 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%2 == 0}
+   </tr>
+   <tr>
+  {/if}
+ {/foreach}
+
+ <!--- show the resources here -->
+
+ {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 class="nodecoration" 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%2 == 0}
+   </tr>
+   <tr>
+  {/if}
+ {/foreach}
+ <td></td></tr>
+</table>  
+ <!-- end of album contents -->
+ <div style="text-align:center">{include file="$misctemplatepath/pager.template" style="links"}</div>
+ </div>
+</div>
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/Boxed/albums.template
===================================================================
--- templates/trunk/Boxed/albums.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/Boxed/albums.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,25 @@
+{include file="$blogtemplate/header.template"}
+<div id="container">
+<!-- album contents go here -->
+<br/>
+<table style="border:0px;width:100%;" summary="Albums">
+<tr>
+  {assign var="counter" value=0}
+  {foreach from=$albums item=album}
+  <td style="width:33%;" align="center">
+   <a class="nodecoration" href="{$url->albumLink($album)}">
+   <img style="border:0px;" src="{$url->getUrl("/imgs/folder.gif")}" alt="Folder" /><br/>
+   {$album->getName()} ({$album->getNumResources()})
+  </a>
+  {assign var="counter" value="`$counter+1`"}
+  </td>
+  {if $counter%2 == 0}
+   </tr>
+   <tr>
+  {/if}
+ {/foreach}
+ <td></td></tr>
+ </table>
+ <!-- end of the albums -->
+</div>
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/Boxed/commentarticle.template
===================================================================
--- templates/trunk/Boxed/commentarticle.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/Boxed/commentarticle.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,4 @@
+{include file="$blogtemplate/header.template"}
+<h3>{$locale->tr("add_comment")}</h3>
+ {include file="$blogtemplate/commentform.template"}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/Boxed/commentform.template
===================================================================
--- templates/trunk/Boxed/commentform.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/Boxed/commentform.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,14 @@
+  <form name="NewComment" action="{$url->getIndexUrl()}" method="post">
+  <p>
+   {$locale->pr("comment_topic")}<br/><input type="text"  name="commentTopic" value=""/>
+   <p>{$locale->pr("comment_text")} <br/><textarea rows="10"  name="commentText"></textarea></p>
+   <p>{$locale->pr("comment_username")}<br/> <input type="text" name="userName" value=""/></p>
+   <p>{$locale->pr("comment_email")}<br/> <input type="text" name="userEmail" value=""/></p>
+   <p>{$locale->pr("comment_url")}<br/> <input type="text" name="userUrl" value=""/></p>
+   <input type="submit" value="{$locale->pr("comment_send")}" name="Add"/><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}"/>
+  </p>
+  </form>

Added: templates/trunk/Boxed/error.template
===================================================================
--- templates/trunk/Boxed/error.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/Boxed/error.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,4 @@
+{include file="$blogtemplate/header.template"}
+ <h3>{$locale->tr("error")}</h3>
+ {$locale->tr($message)}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/Boxed/footer.template
===================================================================
--- templates/trunk/Boxed/footer.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/Boxed/footer.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,80 @@
+</div>
+</div>
+
+<div id="links">
+
+<div class="sidetitle">{$locale->tr("search")}</div>
+<div class="side">
+   <form name="search_form" method="post" action="{$url->getIndexUrl()}">
+    <input type="text" name="searchTerms" value="" size="14" /><br/>
+    <input type="hidden" name="op" value="Search" />
+    <input type="hidden" name="blogId" value="{$blog->getId()}"/>   
+    <input type="submit" name="Search" value="{$locale->tr("search")}" />
+   </form>
+</div>
+
+<div class="sidetitle">{$locale->tr("calendar")}</div>
+<div class="side">
+<div align="center">
+{$calendar}
+</div>
+</div>
+
+<div class="sidetitle">{$locale->tr("archives")}</div>
+<div class="side">
+<p>
+ <ul>
+ {foreach from=$archives item=archive}
+  <li><a href="{$archive->getUrl()}">{$archive->getName()}</a></li>
+ {/foreach}
+ </ul>
+</p>
+</div>
+
+<div class="sidetitle">{$locale->tr("categories")}</div>
+<div class="side">
+<p>
+ <ul>
+ {foreach from=$articlecategories item=category}
+  <li><a href="{$url->categoryLink($category)}">{$category->getName()}</a></li>
+ {/foreach}
+ </ul>
+</p>
+</div>
+
+<div class="sidetitle">{$locale->tr("links")}</div>
+<div class="side">
+<p>
+  <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>
+</p>
+</div>
+
+<div class="sidetitle">{$locale->tr("menu")}</div>
+<div class="side">
+<ul>
+<p>
+   <li><a href="{$url->blogLink()}">{$locale->tr("main")}</a></li>
+   <li><a href="{$url->albumLink()}">{$locale->tr("albums")}</a></li>
+   <li><a title="Link to the RSS 1.0 feed." href="{$url->rssLink("rss10")}">RSS feed</a></li>
+   <li><a title="Link to the Atom feed." href="{$url->rssLink("atom")}">Atom feed</a></li>
+  </ul>
+</p> 
+</div>
+
+<div class="powered">
+Powered by <a href="http://www.lifetype.net">LifeType</a><br />    
+</div>
+
+</div>
+</body>
+</html>

Added: templates/trunk/Boxed/header.template
===================================================================
--- templates/trunk/Boxed/header.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/Boxed/header.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset={$locale->getCharset()}" />
+<meta name="MSSmartTagsPreventParsing" content="TRUE" />
+<style type="text/css" media="screen">@import "{$url->getTemplateFile("style.css")}";</style>
+<title>{$blog->getBlog()}</title>
+ <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")}" />
+</head>
+
+<body>
+<div id="banner">
+<h1><a href="{$url->blogLink()}">{$blog->getBlog()}</a></h1>
+{if $blog->getAbout()}<span class="description">{$blog->getAbout()}</span>{/if}
+</div>
+
+<div id="content">
+<div class="blog">
+

Added: templates/trunk/Boxed/main.template
===================================================================
--- templates/trunk/Boxed/main.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/Boxed/main.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,15 @@
+{include file="$blogtemplate/header.template"}
+ {foreach from=$posts item=post}
+   {assign var="postDate" value=$post->getDateObject()}
+   {literal}<!-- *** this needs to get fixed... ***
+   {if $prevDay != $postDate->getDay()}
+    <h2 class="date">{$locale->formatDate($postDate, "%A, %B %d, %Y")}</h2>
+   {/if}
+   -->{/literal}
+   <div class="blogbody">
+   {literal}<!-- *** this needs to get fixed... *** {assign var="prevDay" value=$post->getDay()} -->{/literal}
+   {include file="$blogtemplate/post.template"}
+   </div>
+ {/foreach}
+ <div style="text-align:center">{include file="$misctemplatepath/pager.template" style="links"}</div>
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/Boxed/post.template
===================================================================
--- templates/trunk/Boxed/post.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/Boxed/post.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,24 @@
+{assign var="postDate" value=$post->getDateObject()}
+{assign var="postOwner" value=$post->getUserInfo()}
+
+<h3 class="title">{$post->getTopic()}</h3>
+<p>{$post->getText()}</p>
+<div class="posted">
+ {$locale->tr("posted_by")} 
+ <a href="{$url->postUserLink($postOwner)}">{$postOwner->getUsername()}</a>
+
+ ({foreach name=categories from=$post->getCategories() item=postCategory}
+    <a href="{$url->categoryLink($postCategory)}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
+  {/foreach})
+  
+ :: 
+{if $post->getCommentsEnabled()}
+<a href="{$url->postPermalink($post)}">{$locale->tr("comments")}
+({$post->getTotalComments()})</a> ::
+{/if}
+<a href="{$url->postPermalink($post)}">
+   {$locale->tr("permalink")}</a> ::
+<a href="{$url->postTrackbackStatsLink($post)}">
+   {$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</a>
+
+</div>

Added: templates/trunk/Boxed/postandcomments.template
===================================================================
--- templates/trunk/Boxed/postandcomments.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/Boxed/postandcomments.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,31 @@
+{include file="$blogtemplate/header.template"}
+   {assign var="poster" value=$post->getUserInfo()}
+   {assign var="postDate" value=$post->getDateObject()}
+   <h2 class="date">{$locale->formatDate($postDate, "%A, %B %d, %Y")}</h2>
+   <div class="blogbody">
+   <!-- {$url->postTrackbackLink($post)} -->
+   <p>{include file="$blogtemplate/post.template"}</p>
+   </div>
+   {foreach from=$comments item=comment}
+   <div class="blogbody">
+    <p class="title">
+     <img src="{$url->getUrl("/imgs/comment_icon1.gif")}"/> {$comment->getTopic()} <span class="categoryinfo">[<a href="{$url->replyCommentLink($post,$comment)}">{$locale->tr("reply")}</a>]</span>
+    </p>
+    {$comment->getText()}
+    <div class="posted">
+    {assign var="commentDate" value=$comment->getTimestamp()}
+    Comment by 
+    {if $comment->getUserUrl() != "" }
+    <a href="{$comment->getUserUrl()}">{$comment->getUsername()}</a>
+    {else}
+    {$comment->getUsername()}
+    {/if}
+    ({$locale->formatDate($commentDate, "%m/%d/%Y %H:%M")})</div></div>
+  {/foreach}
+{if $post->getCommentsEnabled()}
+<p>
+<h3>{$locale->tr("add_comment")}</h3>
+{include file="$blogtemplate/commentform.template"}
+</p>
+{/if}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/Boxed/posttrackbacks.template
===================================================================
--- templates/trunk/Boxed/posttrackbacks.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/Boxed/posttrackbacks.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,14 @@
+{include file="$blogtemplate/header.template"}
+  <p>
+    {$locale->tr("trackbacks_for_article")} "<a href="{$url->postLink($post)}">{$post->getTopic()}</a>":
+  </p>
+  <p>
+  {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> {$locale->formatDate($trackbackDate, "%d/%m/%Y %H:%M")}<br/><br/>
+  {/foreach}
+  </p>
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/Boxed/resource.template
===================================================================
--- templates/trunk/Boxed/resource.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/Boxed/resource.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,56 @@
+{include file="$blogtemplate/header.template"}
+
+{assign var=metadata value=$resource->getMetadataReader()}
+{assign var=updated value=$resource->getTimestamp()}
+<div id="container">
+ <div class="blog">
+  <h2 class="date">{$resource->getFileName()}</h2>
+  <div class="blogbody">
+   <div class="posted">
+    <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()}
+   <a href="{$url->albumLink($album)}">{$locale->tr("back")}</a>
+  </p>
+ </div>
+</div>
+{include file="$blogtemplate/footer.template"}
+

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


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

Added: templates/trunk/Boxed/searchresults.template
===================================================================
--- templates/trunk/Boxed/searchresults.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/Boxed/searchresults.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,15 @@
+{include file="$blogtemplate/header.template"}
+   <h2>{$locale->tr("search_results")}</h2>
+   <p>
+    {foreach from=$searchresults item=result}
+     <div class="searchresult">
+      {assign var=article value=$result->getArticle()}
+      <a href="{$url->postPermalink($article)}"><h3><b>{$article->getTopic()}</b></h3></a>
+      <p>
+      {$article->getText()|strip_tags|truncate:300:"...":false}
+      </p>
+     </div>
+     <br/>
+    {/foreach}
+   </p> 
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/Boxed/style.css
===================================================================
--- templates/trunk/Boxed/style.css	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/Boxed/style.css	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,292 @@
+/* "Boxed" written by Scott Yang of www.movablestyles.org
+   and released under the Creative Commons attribution license
+   (http://creativecommons.org/licenses/by/2.0/). 
+*/
+
+DIV.side LI > UL > LI {
+    position: relative;
+    left: -20px;
+}
+
+body, table {
+    font-family: arial, helvetica, sans-serif;
+}
+
+body {
+    background: #aaa;
+    margin: 0px;
+    padding: 0px;
+}
+
+a 		{ color: #888; text-decoration: none; font-weight:normal; } 
+a:link		{ color: #888; text-decoration: none; } 
+a:visited	{ color: #888; text-decoration: none; } 
+a:active	{ color: #444;  } 
+a:hover		{ color: #444;  }
+
+h1, h2, h3 {
+    margin: 0px;
+    padding: 0px;
+}
+
+#banner, #banner-commentspop {
+    background-color: #ccc;
+    border: 1px solid #888;
+    color: #000;
+}
+
+#banner {
+    height: 65px;
+    padding: 15px 0 0 15px;
+    margin: 10px;
+}
+
+#banner-commentspop {
+    font-size: x-large;
+    font-weight: bold;
+    padding: 5px 0 5px 5px;
+    margin-bottom: 10px;
+}
+
+#banner a,
+#banner a:link,
+#banner a:visited,
+#banner a:active,
+#banner a:hover {
+    color: #000;
+    font-size: xx-large;
+    font-weight: bold;
+    text-decoration: none;
+}
+
+#banner .description {
+    color: #777;
+    font-size: large;
+    font-weight: bold;
+    margin-left: 25px;
+}	
+
+#content {
+    left: 250px;
+    right:10px;
+    top: 100px;
+    width: 700px;
+    position: absolute;
+}
+
+#container {
+    margin: 10px;
+}
+
+#links {
+    background: #ccc;
+    border: 1px solid #888;			
+    padding:10px;				
+    position: absolute;
+    top: 100px;
+    left: 10px;
+    width: 210px;
+}
+
+.blog {
+    background-color: #ddd;  							
+    border: 1px solid #888;
+    padding: 10px;
+    margin-bottom: 10px;
+}	
+
+
+.blogbody {
+    border: 1px solid #aaa;
+    color: #666;
+    font-size: small;
+    font-weight: normal;
+    background: #fff;
+    line-height: 16px;			
+    margin-bottom: 10px;
+    padding: 5px;
+}
+
+.blogbody a,
+.blogbody a:link,
+.blogbody a:visited,
+.blogbody a:active,
+.blogbody a:hover {
+    font-weight: normal;
+    text-decoration: underline;
+}
+
+.title	{ 
+    color: #444; 	
+    font-size: normal; 
+    text-transform: uppercase;				
+}			
+
+#menu {
+    background: #fff;
+    border: 1px solid #999;
+    font-size: small;
+    text-align:center;  							
+}		
+
+.date	{ 
+    background-color: #888;
+    color: #fff; 
+    font-size: small; 
+    font-weight: bold;
+    margin-bottom: 5px;
+    padding: 3px;
+}			
+
+.posted	{ 
+    background-color: #eee;
+    color: #666; 
+    font-size: x-small; 
+    margin-top: 8px;
+    padding: 1px 10px;
+    text-align: right;
+}
+
+.calendar {
+    background-color: #ddd;
+    font-size:x-small;
+    font-weight:normal;
+    line-height:140%;
+    padding: 2px;
+    text-align:center;	
+}
+
+.calendarToday {
+   background-color: #ddd;
+    font-size:x-small;
+    font-weight:normal;
+    line-height:140%;
+    padding: 2px; 
+    text-align:center; 
+	text-decoration: underline;
+}
+
+div.calendar {
+    border: #999 solid 1px;
+    padding: 3px;
+}
+
+div.calendar table {
+    width: 100%;
+}
+
+.calendarhead {	
+    background: #eee;
+    border: #aaa dotted 1px;
+    font-size: x-small;
+    font-weight: bold;
+    line-height: 140%;
+    padding: 2px;					
+    width: 100%;
+}	
+
+.side {
+    background-color: #ddd;
+    border-color: #999;
+    border-style: solid;
+    border-width: 0 1px 1px 1px;
+    color: #333;
+    font-size: x-small;
+    font-weight: normal;
+    line-height: 140%;
+    padding: 3px 7px;				
+}	
+
+.sidetitle {
+    background-color: #eee;		
+    border: 1px #999;
+    border-style: solid solid dotted solid;
+    font-size: x-small;
+    font-weight: bold;
+    padding: 2px;
+    margin-top: 10px;
+    letter-spacing: .3em;
+    text-align:center;		  					
+}		
+
+.syndicate {
+    background-color: #ddd;  		
+    border: 1px solid #999;
+    font-size: x-small;
+    font-weight: bold;		
+    padding: 2px;
+    margin-top: 10px;
+    text-align: center;
+}	
+
+.powered {
+    background-color: #ddd;		
+    border: 1px solid #999;			
+    font-size: x-small;
+    font-weight: bold;
+    line-height:140%;
+    margin-top: 10px;
+    padding:2px;
+    text-align:center;
+}	
+
+
+.comments-body {
+    background-color: #fff;
+    border: 1px solid #999;
+    color: #666;
+    font-size: small;
+    font-weight: normal;
+    line-height:140%;
+    margin-bottom: 10px;
+    padding: 10px;
+}		
+
+.comments-post {
+    background-color: #eee;
+    color: #666; 
+    font-size: x-small; 
+    margin-top: 8px;
+    padding: 1px 10px;
+    text-align: right;
+}	
+
+.trackback-url {
+    color:#666;
+    font-size:small;
+    font-weight:normal;
+    background:#FFF;
+    line-height:140%;
+    padding:5px;	
+    border:1px dotted #999; 					
+}
+
+.trackback-body {
+    color:#666;
+    font-size:small;
+    font-weight:normal;
+    background:#FFF;
+    line-height:140%;
+    padding-bottom:10px;
+    padding-top:10px;		
+    border-bottom:1px dotted #999; 					
+}		
+
+.trackback-post {
+    color:#666;
+    font-size:x-small;
+    font-weight:normal;
+    background:#FFF;		
+}
+
+
+.comments-head	{ 
+    background-color: #888;
+    color: #fff; 
+    font-size: small; 
+    font-weight: bold;
+    margin-bottom: 5px;
+    padding: 3px;
+}		
+
+

Added: templates/trunk/Boxed-Green/Green_screenshot.jpg
===================================================================
(Binary files differ)


Property changes on: templates/trunk/Boxed-Green/Green_screenshot.jpg
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/Boxed-Green/album.template
===================================================================
--- templates/trunk/Boxed-Green/album.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/Boxed-Green/album.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,85 @@
+{include file="$blogtemplate/header.template"}
+<div id="container">
+<p>
+ {$album->getDescription()}
+</p>
+
+ <!-- album contents go here -->
+<div id="album">
+<table style="border:0px;width:100%;" summary="Album Resources">
+ <tr>
+  <td style="width:50%;" align="center" >
+   <a class="nodecoration" 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:50%;" align="center" >
+   <a class="nodecoration" 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%2 == 0}
+   </tr>
+   <tr>
+  {/if}
+ {/foreach}
+
+ <!--- show the resources here -->
+
+ {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 class="nodecoration" 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%2 == 0}
+   </tr>
+   <tr>
+  {/if}
+ {/foreach}
+ <td></td></tr>
+</table>  
+ <!-- end of album contents -->
+ <div style="text-align:center">{include file="$misctemplatepath/pager.template" style="links"}</div>
+ </div>
+</div>
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/Boxed-Green/albums.template
===================================================================
--- templates/trunk/Boxed-Green/albums.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/Boxed-Green/albums.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,25 @@
+{include file="$blogtemplate/header.template"}
+<div id="container">
+<!-- album contents go here -->
+<br/>
+<table style="border:0px;width:100%;" summary="Albums">
+<tr>
+  {assign var="counter" value=0}
+  {foreach from=$albums item=album}
+  <td style="width:33%;" align="center">
+   <a class="nodecoration" href="{$url->albumLink($album)}">
+   <img style="border:0px;" src="{$url->getUrl("/imgs/folder.gif")}" alt="Folder" /><br/>
+   {$album->getName()} ({$album->getNumResources()})
+  </a>
+  {assign var="counter" value="`$counter+1`"}
+  </td>
+  {if $counter%2 == 0}
+   </tr>
+   <tr>
+  {/if}
+ {/foreach}
+ <td></td></tr>
+ </table>
+ <!-- end of the albums -->
+</div>
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/Boxed-Green/commentarticle.template
===================================================================
--- templates/trunk/Boxed-Green/commentarticle.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/Boxed-Green/commentarticle.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,4 @@
+{include file="$blogtemplate/header.template"}
+<h3>{$locale->tr("add_comment")}</h3>
+ {include file="$blogtemplate/commentform.template"}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/Boxed-Green/commentform.template
===================================================================
--- templates/trunk/Boxed-Green/commentform.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/Boxed-Green/commentform.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,14 @@
+  <form name="NewComment" action="{$url->getIndexUrl()}" method="post">
+  <p>
+   {$locale->pr("comment_topic")}<br/><input type="text"  name="commentTopic" value=""/>
+   <p>{$locale->pr("comment_text")} <br/><textarea rows="10"  name="commentText"></textarea></p>
+   <p>{$locale->pr("comment_username")}<br/> <input type="text" name="userName" value=""/></p>
+   <p>{$locale->pr("comment_email")}<br/> <input type="text" name="userEmail" value=""/></p>
+   <p>{$locale->pr("comment_url")}<br/> <input type="text" name="userUrl" value=""/></p>
+   <input type="submit" value="{$locale->pr("comment_send")}" name="Add"/><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}"/>
+  </p>
+  </form>

Added: templates/trunk/Boxed-Green/error.template
===================================================================
--- templates/trunk/Boxed-Green/error.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/Boxed-Green/error.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,4 @@
+{include file="$blogtemplate/header.template"}
+ <h3>{$locale->tr("error")}</h3>
+ {$locale->tr($message)}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/Boxed-Green/footer.template
===================================================================
--- templates/trunk/Boxed-Green/footer.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/Boxed-Green/footer.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,80 @@
+</div>
+</div>
+
+<div id="links">
+
+<div class="sidetitle">{$locale->tr("search")}</div>
+<div class="side">
+   <form name="search_form" method="post" action="{$url->getIndexUrl()}">
+    <input type="text" name="searchTerms" value="" size="14" /><br/>
+    <input type="hidden" name="op" value="Search" />
+    <input type="hidden" name="blogId" value="{$blog->getId()}"/>   
+    <input type="submit" name="Search" value="{$locale->tr("search")}" />
+   </form>
+</div>
+
+<div class="sidetitle">{$locale->tr("calendar")}</div>
+<div class="side">
+<div align="center">
+{$calendar}
+</div>
+</div>
+
+<div class="sidetitle">{$locale->tr("archives")}</div>
+<div class="side">
+<p>
+ <ul>
+ {foreach from=$archives item=archive}
+  <li><a href="{$archive->getUrl()}">{$archive->getName()}</a></li>
+ {/foreach}
+ </ul>
+</p>
+</div>
+
+<div class="sidetitle">{$locale->tr("categories")}</div>
+<div class="side">
+<p>
+ <ul>
+ {foreach from=$articlecategories item=category}
+  <li><a href="{$url->categoryLink($category)}">{$category->getName()}</a></li>
+ {/foreach}
+ </ul>
+</p>
+</div>
+
+<div class="sidetitle">{$locale->tr("links")}</div>
+<div class="side">
+<p>
+  <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>
+</p>
+</div>
+
+<div class="sidetitle">{$locale->tr("menu")}</div>
+<div class="side">
+<ul>
+<p>
+   <li><a href="{$url->blogLink()}">{$locale->tr("main")}</a></li>
+   <li><a href="{$url->albumLink()}">{$locale->tr("albums")}</a></li>
+   <li><a title="Link to the RSS 1.0 feed." href="{$url->rssLink("rss10")}">RSS feed</a></li>
+   <li><a title="Link to the Atom feed." href="{$url->rssLink("atom")}">Atom feed</a></li>
+  </ul>
+</p> 
+</div>
+
+<div class="powered">
+Powered by <a href="http://www.lifetype.net">LifeType</a><br />    
+</div>
+
+</div>
+</body>
+</html>

Added: templates/trunk/Boxed-Green/header.template
===================================================================
--- templates/trunk/Boxed-Green/header.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/Boxed-Green/header.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,23 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset={$locale->getCharset()}" />
+<meta name="MSSmartTagsPreventParsing" content="TRUE" />
+<style type="text/css" media="screen">@import "{$url->getTemplateFile("style.css")}";</style>
+<title>{$blog->getBlog()}</title>
+ <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")}" />
+</head>
+
+<body>
+<div id="banner">
+<h1><a href="{$url->blogLink()}">{$blog->getBlog()}</a></h1>
+{if $blog->getAbout()}<span class="description">{$blog->getAbout()}</span>{/if}
+</div>
+
+<div id="content">
+<div class="blog">
+

Added: templates/trunk/Boxed-Green/main.template
===================================================================
--- templates/trunk/Boxed-Green/main.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/Boxed-Green/main.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,15 @@
+{include file="$blogtemplate/header.template"}
+ {foreach from=$posts item=post}
+   {assign var="postDate" value=$post->getDateObject()}
+   {literal}<!-- *** this needs to get fixed... ***
+   {if $prevDay != $postDate->getDay()}
+    <h2 class="date">{$locale->formatDate($postDate, "%A, %B %d, %Y")}</h2>
+   {/if}
+   -->{/literal}
+   <div class="blogbody">
+   {literal}<!-- *** this needs to get fixed... *** {assign var="prevDay" value=$post->getDay()} -->{/literal}
+   {include file="$blogtemplate/post.template"}
+   </div>
+ {/foreach}
+ <div style="text-align:center">{include file="$misctemplatepath/pager.template" style="links"}</div>
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/Boxed-Green/post.template
===================================================================
--- templates/trunk/Boxed-Green/post.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/Boxed-Green/post.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,24 @@
+{assign var="postDate" value=$post->getDateObject()}
+{assign var="postOwner" value=$post->getUserInfo()}
+
+<h3 class="title">{$post->getTopic()}</h3>
+<p>{$post->getText()}</p>
+<div class="posted">
+ {$locale->tr("posted_by")} 
+ <a href="{$url->postUserLink($postOwner)}">{$postOwner->getUsername()}</a>
+
+ ({foreach name=categories from=$post->getCategories() item=postCategory}
+    <a href="{$url->categoryLink($postCategory)}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
+  {/foreach})
+  
+ :: 
+{if $post->getCommentsEnabled()}
+<a href="{$url->postPermalink($post)}">{$locale->tr("comments")}
+({$post->getTotalComments()})</a> ::
+{/if}
+<a href="{$url->postPermalink($post)}">
+   {$locale->tr("permalink")}</a> ::
+<a href="{$url->postTrackbackStatsLink($post)}">
+   {$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</a>
+
+</div>

Added: templates/trunk/Boxed-Green/postandcomments.template
===================================================================
--- templates/trunk/Boxed-Green/postandcomments.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/Boxed-Green/postandcomments.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,31 @@
+{include file="$blogtemplate/header.template"}
+   {assign var="poster" value=$post->getUserInfo()}
+   {assign var="postDate" value=$post->getDateObject()}
+   <h2 class="date">{$locale->formatDate($postDate, "%A, %B %d, %Y")}</h2>
+   <div class="blogbody">
+   <!-- {$url->postTrackbackLink($post)} -->
+   <p>{include file="$blogtemplate/post.template"}</p>
+   </div>
+   {foreach from=$comments item=comment}
+   <div class="blogbody">
+    <p class="title">
+     <img src="{$url->getUrl("/imgs/comment_icon1.gif")}"/> {$comment->getTopic()} <span class="categoryinfo">[<a href="{$url->replyCommentLink($post,$comment)}">{$locale->tr("reply")}</a>]</span>
+    </p>
+    {$comment->getText()}
+    <div class="posted">
+    {assign var="commentDate" value=$comment->getTimestamp()}
+    Comment by 
+    {if $comment->getUserUrl() != "" }
+    <a href="{$comment->getUserUrl()}">{$comment->getUsername()}</a>
+    {else}
+    {$comment->getUsername()}
+    {/if}
+    ({$locale->formatDate($commentDate, "%m/%d/%Y %H:%M")})</div></div>
+  {/foreach}
+{if $post->getCommentsEnabled()}
+<p>
+<h3>{$locale->tr("add_comment")}</h3>
+{include file="$blogtemplate/commentform.template"}
+</p>
+{/if}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/Boxed-Green/posttrackbacks.template
===================================================================
--- templates/trunk/Boxed-Green/posttrackbacks.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/Boxed-Green/posttrackbacks.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,14 @@
+{include file="$blogtemplate/header.template"}
+  <p>
+    {$locale->tr("trackbacks_for_article")} "<a href="{$url->postLink($post)}">{$post->getTopic()}</a>":
+  </p>
+  <p>
+  {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> {$locale->formatDate($trackbackDate, "%d/%m/%Y %H:%M")}<br/><br/>
+  {/foreach}
+  </p>
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/Boxed-Green/resource.template
===================================================================
--- templates/trunk/Boxed-Green/resource.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/Boxed-Green/resource.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,56 @@
+{include file="$blogtemplate/header.template"}
+
+{assign var=metadata value=$resource->getMetadataReader()}
+{assign var=updated value=$resource->getTimestamp()}
+<div id="container">
+ <div class="blog">
+  <h2 class="date">{$resource->getFileName()}</h2>
+  <div class="blogbody">
+   <div class="posted">
+    <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()}
+   <a href="{$url->albumLink($album)}">{$locale->tr("back")}</a>
+  </p>
+ </div>
+</div>
+{include file="$blogtemplate/footer.template"}
+

Added: templates/trunk/Boxed-Green/screenshot.jpg
===================================================================
(Binary files differ)


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

Added: templates/trunk/Boxed-Green/searchresults.template
===================================================================
--- templates/trunk/Boxed-Green/searchresults.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/Boxed-Green/searchresults.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,15 @@
+{include file="$blogtemplate/header.template"}
+   <h2>{$locale->tr("search_results")}</h2>
+   <p>
+    {foreach from=$searchresults item=result}
+     <div class="searchresult">
+      {assign var=article value=$result->getArticle()}
+      <a href="{$url->postPermalink($article)}"><h3><b>{$article->getTopic()}</b></h3></a>
+      <p>
+      {$article->getText()|strip_tags|truncate:300:"...":false}
+      </p>
+     </div>
+     <br/>
+    {/foreach}
+   </p> 
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/Boxed-Green/style.css
===================================================================
--- templates/trunk/Boxed-Green/style.css	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/Boxed-Green/style.css	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,295 @@
+/* "Boxed-Green" written by Scott Yang of www.movablestyles.org
+   and released under the Creative Commons attribution license
+   (http://creativecommons.org/licenses/by/2.0/). 
+*/
+
+body, table {
+    font-family: arial, helvetica;
+}
+
+body {
+    background: #aeb;
+    margin: 0px;
+    padding: 0px;
+}
+
+DIV.side LI > UL > LI {
+    position: relative;
+    left: -20px;
+}
+
+a 		{ color: #697; text-decoration: none; font-weight:normal; } 
+a:link		{ color: #697; text-decoration: none; } 
+a:visited	{ color: #697; text-decoration: none; } 
+a:active	{ color: #364;  } 
+a:hover		{ color: #364;  }
+
+h1, h2, h3 {
+    margin: 0px;
+    padding: 0px;
+}
+
+#banner, #banner-commentspop {
+    background-color: #cfc;
+}
+
+#banner {
+    border: 1px dotted #697;
+    height: 65px;
+    padding: 10px 0 0 15px;
+    margin: 10px;
+}
+
+#banner-commentspop {
+    border-bottom: 1px dotted #697;
+    font-size: x-large;
+    font-weight: bold;
+    padding: 5px 0 5px 5px;
+    margin-bottom: 10px;
+}
+
+#banner a,
+#banner a:link,
+#banner a:visited,
+#banner a:active,
+#banner a:hover {
+    color: #000;
+    font-size: xx-large;
+    font-weight: bold;
+    text-decoration: none;
+}
+
+#banner .description {
+    color: #999;
+    font-family: times, serif;
+    font-size: large;
+    font-style: italic;
+    font-weight: bold;
+    margin-left: 25px;
+}	
+
+#content {
+    left: 250px;
+    right: 10px;
+    top: 95px;
+    width :700px;
+    position: absolute;
+}
+
+#container {
+    margin: 10px;
+}
+
+#links {
+    background: #cfc;
+    border: 1px dotted #697;
+    padding:10px;				
+    position: absolute;
+    top: 95px;
+    left: 10px;
+    width: 210px;
+}
+
+.blog {
+    background-color: #cfc;  							
+    border: 1px dotted #697;
+    padding: 10px;
+    margin-bottom: 10px;
+}	
+
+
+.blogbody {
+    border: 1px solid #9c9;
+    color: #666;
+    font-size: small;
+    font-weight: normal;
+    background: #fff;
+    line-height: 16px;			
+    margin-bottom: 10px;
+    padding: 5px;
+}
+
+.blogbody a,
+.blogbody a:link,
+.blogbody a:visited,
+.blogbody a:active,
+.blogbody a:hover {
+    font-weight: normal;
+    text-decoration: underline;
+}
+
+.title	{ 
+    color: #444; 	
+    font-family: times, serif;
+    font-size: large; 
+    font-style: italic;
+}			
+
+#menu {
+    background: #fff;
+    border: 1px solid #9c9;
+    font-size: small;
+    text-align:center;  							
+}		
+
+.date	{ 
+    background-color: #dfd;
+    border: 1px solid #9c9;
+    color: #888; 
+    font-size: small; 
+    font-weight: bold;
+    margin-bottom: 5px;
+    padding: 3px;
+}			
+
+.posted	{ 
+    color: #666; 
+    font-size: x-small; 
+    margin-top: 8px;
+    padding: 1px 10px;
+    text-align: right;
+}
+
+
+.calendar {
+    background-color: #dfd;
+    font-size: x-small;
+    font-weight: normal;
+    line-height: 140%;
+    padding: 2px;
+    text-align: center;	
+}
+
+.calendarToday {
+    background-color: #dfd;
+    font-size: x-small; 
+    font-weight: normal;
+    line-height: 140%;
+    padding: 2px;
+    text-align: center;
+    text-decoration: underline;
+}
+
+div.calendar {
+    border: #9c9 solid 1px;
+    padding: 3px;
+}
+
+div.calendar table {
+    width: 100%;
+}
+
+.calendarhead {	
+    background: #fff;
+    border: #9c9 dotted 1px;
+    font-size: x-small;
+    font-weight: bold;
+    line-height: 140%;
+    padding: 2px;					
+    width: 100%;
+}	
+
+.side {
+    background-color: #dfd;
+    border-color: #9c9;
+    border-style: solid;
+    border-width: 0 1px 1px 1px;
+    color: #333;
+    font-size: x-small;
+    font-weight: normal;
+    line-height: 140%;
+    padding: 3px 7px;				
+}	
+
+.sidetitle {
+    background-color: #fff;		
+    border: 1px #9c9;
+    border-style: solid solid dotted solid;
+    font-size: x-small;
+    font-weight: bold;
+    padding: 2px;
+    margin-top: 10px;
+    letter-spacing: .3em;
+    text-align:center;		  					
+}		
+
+.syndicate {
+    background-color: #dfd;  		
+    border: 1px solid #9c9;
+    font-size: x-small;
+    font-weight: bold;		
+    padding: 2px;
+    margin-top: 10px;
+    text-align: center;
+}	
+
+.powered {
+    background-color: #dfd;		
+    border: 1px solid #9c9;			
+    font-size: x-small;
+    font-weight: bold;
+    line-height:140%;
+    margin-top: 10px;
+    padding:2px;
+    text-align:center;
+}	
+
+
+.comments-body {
+    background-color: #fff;
+    border: 1px solid #9c9;
+    color: #666;
+    font-size: small;
+    font-weight: normal;
+    line-height:140%;
+    margin-bottom: 10px;
+    padding: 10px;
+}		
+
+.comments-post {
+    color: #666; 
+    font-size: x-small; 
+    margin-top: 8px;
+    padding: 1px 10px;
+    text-align: right;
+}	
+
+.trackback-url {
+    color:#666;
+    font-size:small;
+    font-weight:normal;
+    background: #fff;
+    line-height: 140%;
+    padding: 5px;	
+    border: 1px dotted #9c9; 					
+}
+
+.trackback-body {
+    background: #fff;
+    color:#666;
+    font-size: small;
+    font-weight: normal;
+    line-height: 140%;
+    padding-bottom: 10px;
+    padding-top: 10px;		
+    border-bottom: 1px dotted #9c9;
+}		
+
+.trackback-post {
+    color: #666;
+    font-size: x-small;
+    font-weight: normal;
+    background: #fff;		
+}
+
+.comments-head	{ 
+    background-color: #dfd;
+    border: #9c9 solid 1px;
+    color: #888; 
+    font-size: small; 
+    font-weight: bold;
+    margin-bottom: 5px;
+    padding: 3px;
+}		
+
+

Added: templates/trunk/andreas-2-columns/album.template
===================================================================
--- templates/trunk/andreas-2-columns/album.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/andreas-2-columns/album.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,86 @@
+{include file="$blogtemplate/header.template"}
+{include file="$blogtemplate/sidebar-l.template"}
+<div id="content">
+<h2>{$album->getName()}</h2>
+<p>
+ {$album->getDescription()}
+</p>
+
+ <!-- album contents go here -->
+<table style="border:0px;width:90%;" summary="Album Resources">
+ <tr>
+  <td style="width:25%;" align="center" >
+   <a class="nodecoration" href="{$url->parentAlbumLink($album)}">
+    <img style="border:0px" src="{$url->getUrl("/imgs/admin/icon_folder-72.png")}" 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 class="nodecoration" 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%3 == 0}
+   </tr>
+   <tr>
+  {/if}
+ {/foreach}
+
+ <!--- show the resources here -->
+
+ {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 class="nodecoration" 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%2 == 0}
+   </tr>
+   <tr>
+  {/if}
+ {/foreach}
+ <td></td></tr>
+</table>
+ <!-- end of album contents -->
+ <div style="text-align:center">{include file="$misctemplatepath/pager.template" style="links"}</div>
+ </div>
+ 
+ {include file="$blogtemplate/footer.template"}

Added: templates/trunk/andreas-2-columns/albums.template
===================================================================
--- templates/trunk/andreas-2-columns/albums.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/andreas-2-columns/albums.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,26 @@
+{include file="$blogtemplate/header.template"}
+{include file="$blogtemplate/sidebar-l.template"}
+<div id="content">
+<h2>{$locale->tr("albums")}</h2>
+ <!-- album contents go here -->
+<table style="border:0px;width:90%;" summary="Albums">
+<tr>
+  {assign var="counter" value=0}
+  {foreach from=$albums item=album}
+  <td style="width:33%;" align="center">
+   <a class="nodecoration" href="{$url->albumLink($album)}">
+   <img style="border:0px;" src="{$url->getUrl("/imgs/admin/icon_folder-72.png")}" alt="Folder" /><br/>
+   {$album->getName()} ({$album->getNumResources()})
+  </a>
+  {assign var="counter" value="`$counter+1`"}
+  </td>
+  {if $counter%3 == 0}
+   </tr>
+   <tr>
+  {/if}
+ {/foreach}
+ <td></td></tr>
+ </table>
+ <!-- end of the albums -->
+ </div>
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/andreas-2-columns/andreas01.css
===================================================================
--- templates/trunk/andreas-2-columns/andreas01.css	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/andreas-2-columns/andreas01.css	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,342 @@
+/* andreas01 - an open source xhtml/css website layout by Andreas Viklund  - http://andreasviklund.com . Free to use for any purpose as long as the proper credits are given to the original author.
+
+Version: 1.3 (Nov 28, 2005)
+
+Screen layout: */
+
+body{
+margin:0 auto;
+padding:0;
+font:76% Verdana,Tahoma,Arial,sans-serif;
+background:#f4f4f4 url(bg.gif) top center repeat-y;
+color:#303030;
+}
+
+p{
+font-size:10pt;
+letter-spacing:1px;
+line-height:1.5;
+
+}
+
+#wrap{
+background:#ffffff;
+color:#303030;
+margin:0 auto;
+width:760px;
+}
+
+#header{
+clear:both;
+margin:20px 0 0 0;
+padding:0;
+height:45px;
+}
+
+#header h1{
+width:350px;
+margin:0 0 10px 0;
+float:left;
+font-size:16pt;
+}
+
+#header a{
+text-decoration:none;
+color:black;
+}
+
+#header a:hover{
+text-decoration:underline;
+color:#286ea0;
+}
+
+#header p{
+width:400px;
+float:right;
+text-align:center;
+color:#a0a0a0;
+margin:0 0 10px 0;
+font-size:10pt;
+line-height:1.2em;
+background-color:inherit;
+}
+
+#frontphoto{
+margin:0 0 10px 0;
+border:0;
+}
+
+#avmenu{
+
+float:right;
+width:200px;
+margin:0 0 10px 0;
+padding:0;
+font-size:0.9em;
+}
+
+#avmenu ul{	
+list-style:none;
+width:200px;
+margin:0 0 20px 0;
+padding:0;
+font-size:1.1em;
+}	
+
+#avmenu li{
+margin-bottom:4px;
+}
+
+#avmenu li a{
+font-weight:bold;
+height:20px;
+text-decoration:none;
+color:#505050;
+display:block;
+padding:6px 0 0 10px;
+background:#f4f4f4;
+border-left:4px solid #cccccc;
+}	
+	
+#avmenu li a:hover{
+background:#eaeaea;
+color:#286ea0;
+border-left:4px solid #286ea0;
+}
+
+.announce{
+margin:10px 0 10px 0;
+padding:10px;
+width:180px;
+color:#505050;
+background-color:#f4f4f4;
+line-height:1.5;
+}
+
+.announce a{
+font-size:10pt;
+letter-spacing:1px;
+line-height:1.5;
+
+}
+
+#extras{
+float:right;
+width:120px;
+margin:0 0 10px 0;
+padding:0;
+font-size:0.9em;
+line-height:1.5em;
+}
+
+#extras p{
+margin:0 0 1.5em 0;
+}
+
+#content{
+margin:0 210px 20px 0px;
+border-left:1px solid #f0f0f0;
+border-right:1px solid #f0f0f0;
+padding:0 10px 0 10px;
+line-height:1.6em;
+text-align:left;
+
+}
+
+#content h2{
+font-size:1.5em;
+margin:0 0 0.5em 0;
+}
+
+#content img{
+padding:1px;
+display:inline;
+background:#cccccc;
+color:#303030;
+border:4px solid #f0f0f0;
+}
+
+h3{
+font-size:1.3em;
+margin:0 0 10px 0;
+}
+
+a{
+text-decoration:none;
+color:#286ea0;
+}
+
+a:hover{
+text-decoration:underline;
+color:#286ea0;
+}
+
+a img{
+border:0;
+}
+
+
+#footer{
+clear:both;
+margin:0 auto;
+padding:10px 0 20px 0;
+border-top:4px solid #f0f0f0;
+width:760px;
+text-align:center;
+color:#808080;
+font-size:0.9em;
+}
+
+#footer a{
+color:#808080;
+text-decoration:none;
+}
+
+#footer a:hover{
+text-decoration:underline;
+}
+
+.left{
+margin:10px 10px 5px 0;
+float:left;
+}
+
+.right{
+margin:10px 0 5px 10px;
+float:right;
+}
+
+.textright{
+text-align:right;
+}
+
+.center{
+text-align:center;
+}
+
+.small{
+font-size:0.8em;
+}
+
+.bold{
+font-weight:bold;
+}
+
+.hide{
+display:none;
+}
+
+.info {
+	BORDER-RIGHT: #e3e4e4 1px solid; PADDING-RIGHT: 3px; BORDER-TOP: #e3e4e4 1px solid; PADDING-LEFT: 8px; FONT-SIZE: 0.9em; PADDING-BOTTOM: 3px; BORDER-LEFT: #e3e4e4 1px solid; COLOR: #505050; PADDING-TOP: 3px; BORDER-BOTTOM: #e3e4e4 1px solid; BACKGROUND-COLOR: #fafbfc
+}
+
+#searchdiv
+{
+	background-color: #f9f9f9;
+	border: 1px solid #CCCCCC;
+	padding: 5px;
+	font-weight:bold;
+}
+
+#sidebar form {
+	margin: 0px;
+	padding: 0px;
+}
+label {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 11px;
+	font-weight: bold;
+	color: #000000;
+}
+/************************************************
+*	Comments													*
+************************************************/
+h2#comments{
+	text-align:center;
+	border-top:1px solid #e3e4e4;
+	background:#fafbfc;
+	padding:2px;
+	border-bottom:1px solid #e3e4e4;
+	margin-bottom:10px;
+	margin-top:80px;
+	font-size: 110%;
+}
+
+ol#commentlist {
+	margin-top:0px;
+	padding: 5px;
+	margin-left: 0px;
+	list-style-type: none;
+}
+
+#commentlist li  p{
+	margin-top: 8px;
+	margin-bottom: 16px;
+	line-height: 20px;
+}
+
+.commentname {
+	float: left;
+	margin: 0;
+	padding: 0  0 2px 0;
+	font-weight: bold;
+}
+
+.commentinfo{
+	width: 300px;
+	float: right;
+	text-align: right;
+}
+
+.commenttext {
+	clear: both;
+	margin-top: 0px;
+	margin-bottom: 30px;
+	border-top: 1px solid #ebebeb;
+	line-height:12px;
+	color: #5b5b5b;
+	background-color: #F8F8F8;
+	padding: 5px;
+}
+
+.commenttext-admin {
+	clear: both;
+	margin-top: 0px;
+	margin-bottom: 30px;
+	border-top: 1px solid #ebebeb;
+	line-height:12px;
+	color: #5b5b5b;
+	background-color: #CEE4F4;
+	padding: 5px;
+}
+
+#commentsformheader{
+	padding-left:18px;
+	font-size: 1.4em;
+}
+
+#commentsform{
+	margin-top:none;
+	text-align:center;
+	border:1px solid #ddd;
+	background:#fafbfc;
+	padding:0px 10px;
+}
+
+#commentsform form{
+	text-align:left;
+	margin:0px;
+}
+
+#commentsform p{
+	margin:5px;
+}
+
+p.comments_link  img{
+	margin: 0px;
+	padding: 0px;
+	border-top-style: none;
+	border-right-style: none;
+	border-bottom-style: none;
+	border-left-style: none;
+}
\ No newline at end of file

Added: templates/trunk/andreas-2-columns/archives.template
===================================================================
--- templates/trunk/andreas-2-columns/archives.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/andreas-2-columns/archives.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,14 @@
+{include file="$blogtemplate/header.template"} 
+{include file="$blogtemplate/sidebar-l.template"}
+		<DIV id=content>		
+			<H2>{$locale->tr("archives")}</H2>
+				<ul>
+					{foreach from=$archives item=month}
+					<li>
+						<a href="{$month->getUrl()}">{$month->getName()}</a> [{$month->getNumArticles()}]
+					</li>
+					{/foreach}
+				</ul>
+
+		</div>
+{include file="$blogtemplate/footer.template"} 
\ No newline at end of file

Added: templates/trunk/andreas-2-columns/bg.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/andreas-2-columns/bg.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/andreas-2-columns/commentarticle.template
===================================================================
--- templates/trunk/andreas-2-columns/commentarticle.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/andreas-2-columns/commentarticle.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,8 @@
+{include file="$blogtemplate/header.template"}
+{include file="$blogtemplate/sidebar-l.template"}
+
+<div id="content">
+<h2>{$locale->tr("add_comment")}</h2>
+ {include file="$blogtemplate/commentform.template"}
+ </div>
+{include file="$blogtemplate/footer.template"}
\ No newline at end of file

Added: templates/trunk/andreas-2-columns/commentform.template
===================================================================
--- templates/trunk/andreas-2-columns/commentform.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/andreas-2-columns/commentform.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,25 @@
+<div id="commentsform">
+
+<form action="{$url->getIndexUrl()}" method="post" id="commentform">
+
+
+<p><input type="text" name="userName" id="author" value="" size="22" tabindex="1" />
+<label for="author"><small>Name (required)</small></label></p>
+
+<p><input type="text" name="userEmail" id="email" value="" size="22" tabindex="2" />
+<label for="email"><small>Mail (will not be published) (required)</small></label></p>
+
+<p><input type="text" name="userUrl" id="url" value="" size="22" tabindex="3" />
+<label for="url"><small>Website</small></label></p>
+
+<p><textarea name="commentText" id="comment" cols="50" rows="10" tabindex="4"></textarea></p>
+
+<p><input name="Add" type="submit" id="submit" tabindex="5" value="Submit Comment" />
+   <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}"/>
+</p>
+
+</form>
+</div>

Added: templates/trunk/andreas-2-columns/error.template
===================================================================
--- templates/trunk/andreas-2-columns/error.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/andreas-2-columns/error.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,8 @@
+{include file="$blogtemplate/header.template"}
+{include file="$blogtemplate/sidebar-l.template"}
+<div id="content">
+ <h2>{$locale->tr("error")}</h2>
+ <p>{$locale->tr($message)}</p>
+ <p><a href="javascript:history.go(-1)">{$locale->tr("back")}</a></p>
+ </div>
+{include file="$blogtemplate/footer.template"}
\ No newline at end of file

Added: templates/trunk/andreas-2-columns/footer.template
===================================================================
--- templates/trunk/andreas-2-columns/footer.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/andreas-2-columns/footer.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,8 @@
+<div id="footer">
+Copyright &copy; 2005 {$blog->getBlog()}. Design by <a href="http://andreasviklund.com">Andreas Viklund</a>. <br>
+<center>Adapted for <a href="http://www.lifetype.net">LifeType</a> by <a href="http://phys.idv.tw/plog/">Resnick Chang</a>.</center>
+</div>
+
+</div>
+</body>
+</html>

Added: templates/trunk/andreas-2-columns/front.jpg
===================================================================
(Binary files differ)


Property changes on: templates/trunk/andreas-2-columns/front.jpg
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/andreas-2-columns/header.template
===================================================================
--- templates/trunk/andreas-2-columns/header.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/andreas-2-columns/header.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,25 @@
+<!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()}" />
+ <meta name="author" content="Your Name / Original design: Andreas Viklund - http://andreasviklund.com/" />
+ <title>{$blog->getBlog()}{$postPageTitle}</title>
+ <link rel="stylesheet" title="Default" href="{$url->getTemplateFile("andreas01.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")}" />
+ <link rel="stylesheet" type="text/css" href="{$url->getTemplateFile("print.css")}" media="print" />
+</head>
+<body><div id="wrap">
+
+<div id="header">
+<h1><a href="{$url->blogLink()}">{$blog->getBlog()}</a></h1>
+<p>{$blog->getAbout()}</p>
+</div>
+
+<img id="frontphoto" src="{$url->getTemplateFile("front.jpg")}" width="760" height="175" alt="" />
+

Added: templates/trunk/andreas-2-columns/main.template
===================================================================
--- templates/trunk/andreas-2-columns/main.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/andreas-2-columns/main.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,11 @@
+{include file="$blogtemplate/header.template"}
+{include file="$blogtemplate/sidebar-l.template"}
+
+<div id="content">
+ {foreach from=$posts item=post}
+  {include file="$blogtemplate/post.template"}
+ {/foreach}
+ </div>
+ <div style="text-align:center">{include file="$misctemplatepath/pager.template" style="links"}</div>
+ 
+{include file="$blogtemplate/footer.template"}
\ No newline at end of file

Added: templates/trunk/andreas-2-columns/post.template
===================================================================
--- templates/trunk/andreas-2-columns/post.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/andreas-2-columns/post.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,18 @@
+<a title="{$locale->tr("permalink_title")}" href="{$url->postPermalink($post)}"><h2>{$post->getTopic()}</h2></a>
+{assign var="postDate" value=$post->getDateObject()}
+{assign var="postOwner" value=$post->getUserInfo()}
+<span class="date">{$postOwner->getUsername()} | {$locale->formatDate($postDate,"%d %B, %Y %H:%M")}</span>
+<p>
+ {$post->getText()}
+</p>
+
+<p class="info">
+	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}. 
+	{$locale->tr("comment on this")}: <a href="{$url->postPermalink($post)}">({$post->getTotalComments()})</a>. 
+	{$locale->tr("trackbacks")}:<a href="{$url->postTrackbackStatsLink($post)}">({$post->getTotalTrackbacks()})</a>.
+	<a title="{$locale->tr("permalink_title")}" href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a>	
+</p>
+

Added: templates/trunk/andreas-2-columns/postandcomments.template
===================================================================
--- templates/trunk/andreas-2-columns/postandcomments.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/andreas-2-columns/postandcomments.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,59 @@
+{include file="$blogtemplate/header.template"}
+{include file="$blogtemplate/sidebar-l.template"}
+
+{assign var="postPageTitle" value=$post->getTopic()}
+{assign var="postPageTitle" value=" | $postPageTitle"}
+
+<div id="content">
+	{assign var="poster" value=$post->getUserInfo()}
+	<!-- {$url->postTrackbackLink($post)} -->
+	<a title="{$locale->tr("permalink_title")}" href="{$url->postPermalink($post)}"><h2>{$post->getTopic()}</h2></a>
+	{assign var="postDate" value=$post->getDateObject()}
+	{assign var="postOwner" value=$post->getUserInfo()}
+	<span class="date">{$postOwner->getUsername()} | {$locale->formatDate($postDate,"%d %B, %Y %H:%M")}</span>
+	<p>{$post->getText()}</p>
+	
+	<p class="info">
+	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}. 
+		{$locale->tr("comment on this")}: <a href="{$url->postPermalink($post)}">({$post->getTotalComments()})</a>. 
+		{$locale->tr("trackbacks")}:<a href="{$url->postTrackbackStatsLink($post)}">({$post->getTotalTrackbacks()})</a>.
+		<a title="{$locale->tr("permalink_title")}" href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a>	<br>
+		
+		{* I am not so keen on using if's in templates, but can't think of another way... *}
+		{assign var=nextpost value=$post->getNextArticle()}
+		{if $nextpost == true}
+			<a href="{$url->postPermalink($nextpost)}" title="Next post: {$nextpost->getTopic()}">&laquo;Next post</a> |
+		{/if}
+		{assign var=prevpost value=$post->getPrevArticle()}
+		{if $prevpost == true}
+			<a href="{$url->postPermalink($prevpost)}" title="Previous post: {$prevpost->getTopic()}">Previous post&raquo;</a>
+		{/if}
+	</p>
+
+	{if $blogsettings->getValue("comments_enabled") && $post->getCommentsEnabled()==1}
+	<h2 id="comments">Comments</h2>
+	<ol id="commentlist">
+	
+	{assign var="counter" value=1}
+	{foreach name=comment from=$comments item=comment}
+		<a name="{$comment->getId()}"></a>
+		<li id="comment-{$comment->getId()}">
+			<p class="header"><strong>{$counter}.</strong>
+			<a href="{$comment->getUserUrl()}">{$comment->getUsername()}</a> &nbsp;|&nbsp; {assign var=commentDate value=$comment->getDateObject()} {$locale->formatDate($commentDate, "%m/%d,%Y")} at {$locale->formatDate($commentDate, "%H:%M")}</p>
+			<p>{$comment->getText()}</p>
+		</li>
+		{assign var="counter" value="`$counter+1`"}
+	{/foreach}
+	</ol>
+	<a name="comments"></a>
+	
+	<h2 id="commentsformheader">Leave a Reply</h2>
+	
+		{include file="$blogtemplate/commentform.template"}
+	{/if} 
+
+</div>
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/andreas-2-columns/posttrackbacks.template
===================================================================
--- templates/trunk/andreas-2-columns/posttrackbacks.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/andreas-2-columns/posttrackbacks.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,17 @@
+{include file="$blogtemplate/header.template"}
+{include file="$blogtemplate/sidebar-l.template"}
+<div id="content">
+  <p>
+    {$locale->tr("trackbacks_for_article")} "<a href="{$url->postLink($post)}">{$post->getTopic()}</a>":
+  </p>
+  <p>
+  {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> {$locale->formatDate($trackbackDate, "%d/%m/%Y %H:%M")}<br/><br/>
+  {/foreach}
+  </p>
+ </div>
+{include file="$blogtemplate/footer.template"}
\ No newline at end of file

Added: templates/trunk/andreas-2-columns/print.css
===================================================================
--- templates/trunk/andreas-2-columns/print.css	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/andreas-2-columns/print.css	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,46 @@
+/* andreas01 - an open source xhtml/css website layout by Andreas Viklund  - http://andreasviklund.com . Free to use for any purpose as long as the proper credits are given to the original author.
+
+Version: 1.3 (Nov 28, 2005)
+
+Print layout: */
+
+body{
+margin:0 auto;
+padding:0;
+font-family:"Times New Roman",Serif;
+background:#ffffff;
+color:#000000;
+}
+	
+#wrap{
+margin:2%;
+width:auto;
+float:none !important;
+}
+
+#header h1{
+margin:0 0 10px 0;
+}
+
+#frontphoto, #avmenu ul, #extras, .announce, .hide{
+display:none;
+}
+
+#content img{
+display:none;
+}
+
+a{
+text-decoration:underline;
+color:#0000FF;
+}
+
+form{
+display:none;
+
+}
+
+.date, .info{
+display:none;
+
+}
\ No newline at end of file

Added: templates/trunk/andreas-2-columns/resource.template
===================================================================
--- templates/trunk/andreas-2-columns/resource.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/andreas-2-columns/resource.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,55 @@
+{include file="$blogtemplate/header.template"}
+
+{assign var=metadata value=$resource->getMetadataReader()}
+{assign var=updated value=$resource->getTimestamp()}
+<h2>{$resource->getFileName()}</h2>
+<br/>
+ <div id="Resource-Desc">
+    <a href="{$url->resourceDownloadLink($resource)}">{$locale->tr("download")}</a> 
+    ({$metadata->getRoundedSize()}) | {$locale->tr("created")} {$locale->formatDate($updated,"%d %b, %Y")}
+ <div id="album">    
+  <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/>
+  </div>
+  <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/footer.template"}
\ No newline at end of file

Added: templates/trunk/andreas-2-columns/screenshot.JPG
===================================================================
(Binary files differ)


Property changes on: templates/trunk/andreas-2-columns/screenshot.JPG
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/andreas-2-columns/searchresults.template
===================================================================
--- templates/trunk/andreas-2-columns/searchresults.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/andreas-2-columns/searchresults.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,23 @@
+{include file="$blogtemplate/header.template"}
+{include file="$blogtemplate/sidebar-l.template"}
+{include file="$blogtemplate/sidebar-r.template"}
+
+<div id="content">
+   <h2>{$locale->tr("search_results")}: {foreach from=$searchterms item=term}{$term} {/foreach}</h2>
+   <p>
+    {foreach from=$searchresults item=result}
+     <div class="searchresult">
+      {assign var=article value=$result->getArticle()}
+      <a href="{$url->postPermalink($article)}"><h3><b>{$article->getTopic()}</b></h3></a>
+     <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>
+      {$article->getText()|strip_tags|truncate:300:"...":false}
+      </p>
+     </div>
+     <br/>
+    {/foreach}
+   </p> 
+ </div>
+{include file="$blogtemplate/footer.template"}
\ No newline at end of file

Added: templates/trunk/andreas-2-columns/sidebar-l.template
===================================================================
--- templates/trunk/andreas-2-columns/sidebar-l.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/andreas-2-columns/sidebar-l.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,66 @@
+<div id="avmenu">
+	<h2 class="hide">Menu:</h2>
+	<ul>
+		<li><a href="{$url->blogLink()}">Home</a></li>
+		<li><a href="{$url->albumLink()}">Albums</a></li>
+		<li><a href="{$url->getAdminUrl()}">Admin</a></li>
+		<li><a title="{$locale->tr("archives")}" href="{$url->templatePage("archives")}">Archives</a></li>
+		<li><a title="{$locale->tr("summary")}" href="{$url->getUrl("/summary.php")}">Summary</a></li>
+	</ul>
+
+
+<h3>Recent Entries</h3>		
+		<ul>
+		{foreach from=$recentposts item=recentpost}
+			<li><a title="{$recentpost->getText()|truncate:150:"..."|strip_tags|escape}" href="{$url->postLink($recentpost)}">{$recentpost->getTopic()}</a></li>
+		{/foreach}
+		</ul>
+
+
+	<form method="post" action="{$url->getIndexUrl()}">
+		<LABEL for=s>Search this site:</LABEL>
+		<input type="text" name="searchTerms" value="" size="13" />
+		<input type="hidden" name="op" value="Search" />
+		<input type="hidden" name="blogId" value="{$blog->getId()}"/>
+		<input type="submit" name="Search" value="Go" />
+	</form>
+
+	{assign var=blogOwner value=$blog->getOwnerInfo()}
+	{if $blogOwner->getAboutMyself()}
+	<H3>About</H3>
+	<P>{$blogOwner->getfullName()}</P>
+	{assign var=owner value=$blog->getOwnerInfo()}
+	<P>{$blogOwner->getAboutMyself()}</P>
+	{/if}
+	
+	<h3>Categories</h3>
+	<p>
+	{foreach from=$articlecategories item=articleCategory}
+	<a href="{$url->categoryLink($articleCategory)}">{$articleCategory->getName()}</a> [{$articleCategory->getNumArticles()}]<br/>
+	{/foreach}
+	</p>
+	
+	<h3>Links</h3>
+	<p>
+	{foreach from=$mylinkscategories item=linkcategory}
+	<b>{$linkcategory->getName()}</b><br/>
+		{foreach from=$linkcategory->getLinks() item=link}
+			- <a href="{$link->getUrl()}" title="{$link->getDescription()}">{$link->getName()}</a><br/>
+		{/foreach}
+	{/foreach}
+	</p>
+	
+	<h3>Syndicate</h3>
+	<p>
+		<a class="nodecoration" title="Link to the RSS 0.90 feed." href="{$url->rssLink("rss090")}"><img src="{$url->getUrl("/imgs/rss090_logo.gif")}" style="border:0px;" alt="RSS 0.90" /></a><br/>
+		<a class="nodecoration" title="Link to the RSS 1.0 feed." href="{$url->rssLink("rss10")}"><img src="{$url->getUrl("/imgs/rss10_logo.gif")}" style="border:0px;" alt="RSS 1.0" /></a><br/>
+		<a class="nodecoration" title="Link to the RSS 2.0 feed." href="{$url->rssLink("rss20")}"><img src="{$url->getUrl("/imgs/rss20_logo.gif")}" style="border:0px;" alt="RSS 2.0" /></a><br/>
+		<a class="nodecoration" title="Link to the Atom 0.3 feed." href="{$url->rssLink("atom")}"><img src="{$url->getUrl("/imgs/atom_logo.png")}" style="border:0px;" alt="Atom 0.3" /></a><br/>	
+	</p>
+	
+	<h3>Version:</h3>
+	<p>andreas01 v1.3</p>
+
+
+
+</div>

Added: templates/trunk/andreas-2-columns/sidebar-r.template
===================================================================
--- templates/trunk/andreas-2-columns/sidebar-r.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/andreas-2-columns/sidebar-r.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,4 @@
+<div id="extras">
+</div>
+ 
+ 
\ No newline at end of file

Added: templates/trunk/andreas-2-columns/stripes.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/andreas-2-columns/stripes.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/andreas-2-columns/test.jpg
===================================================================
(Binary files differ)


Property changes on: templates/trunk/andreas-2-columns/test.jpg
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/andreas-3-columns/album.template
===================================================================
--- templates/trunk/andreas-3-columns/album.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/andreas-3-columns/album.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,87 @@
+{include file="$blogtemplate/header.template"}
+{include file="$blogtemplate/sidebar-l.template"}
+{include file="$blogtemplate/sidebar-r.template"}
+<div id="content">
+<h2>{$album->getName()}</h2>
+<p>
+ {$album->getDescription()}
+</p>
+
+ <!-- album contents go here -->
+<table style="border:0px;width:90%;" summary="Album Resources">
+ <tr>
+  <td style="width:25%;" align="center" >
+   <a class="nodecoration" href="{$url->parentAlbumLink($album)}">
+    <img style="border:0px" src="{$url->getUrl("/imgs/admin/icon_folder-72.png")}" 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 class="nodecoration" 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%3 == 0}
+   </tr>
+   <tr>
+  {/if}
+ {/foreach}
+
+ <!--- show the resources here -->
+
+ {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 class="nodecoration" 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%2 == 0}
+   </tr>
+   <tr>
+  {/if}
+ {/foreach}
+ <td></td></tr>
+</table>
+ <!-- end of album contents -->
+ <div style="text-align:center">{include file="$misctemplatepath/pager.template" style="links"}</div>
+ </div>
+ 
+ {include file="$blogtemplate/footer.template"}

Added: templates/trunk/andreas-3-columns/albums.template
===================================================================
--- templates/trunk/andreas-3-columns/albums.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/andreas-3-columns/albums.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,27 @@
+{include file="$blogtemplate/header.template"}
+{include file="$blogtemplate/sidebar-l.template"}
+{include file="$blogtemplate/sidebar-r.template"}
+<div id="content">
+<h2>{$locale->tr("albums")}</h2>
+ <!-- album contents go here -->
+<table style="border:0px;width:90%;" summary="Albums">
+<tr>
+  {assign var="counter" value=0}
+  {foreach from=$albums item=album}
+  <td style="width:33%;" align="center">
+   <a class="nodecoration" href="{$url->albumLink($album)}">
+   <img style="border:0px;" src="{$url->getUrl("/imgs/admin/icon_folder-72.png")}" alt="Folder" /><br/>
+   {$album->getName()} ({$album->getNumResources()})
+  </a>
+  {assign var="counter" value="`$counter+1`"}
+  </td>
+  {if $counter%3 == 0}
+   </tr>
+   <tr>
+  {/if}
+ {/foreach}
+ <td></td></tr>
+ </table>
+ <!-- end of the albums -->
+ </div>
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/andreas-3-columns/andreas01.css
===================================================================
--- templates/trunk/andreas-3-columns/andreas01.css	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/andreas-3-columns/andreas01.css	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,327 @@
+/* andreas01 - an open source xhtml/css website layout by Andreas Viklund  - http://andreasviklund.com . Free to use for any purpose as long as the proper credits are given to the original author.
+
+Version: 1.3 (Nov 28, 2005)
+
+Screen layout: */
+
+body{
+margin:0 auto;
+padding:0;
+font:76% Verdana,Tahoma,Arial,sans-serif;
+background:#f4f4f4 url(bg.gif) top center repeat-y;
+color:#303030;
+}
+
+#wrap{
+background:#ffffff;
+color:#303030;
+margin:0 auto;
+width:760px;
+}
+
+#header{
+clear:both;
+margin:20px 0 0 0;
+padding:0;
+height:45px;
+}
+
+#header h1{
+width:250px;
+margin:0 0 10px 0;
+float:left;
+}
+
+#header a{
+text-decoration:none;
+color:black;
+}
+
+#header a:hover{
+text-decoration:underline;
+color:#286ea0;
+}
+
+#header p{
+width:500px;
+float:right;
+text-align:center;
+color:#a0a0a0;
+margin:0 0 10px 0;
+font-size:0.8em;
+line-height:1.2em;
+background-color:inherit;
+}
+
+#frontphoto{
+margin:0 0 10px 0;
+border:0;
+}
+
+#avmenu{
+clear:left;
+float:left;
+width:150px;
+margin:0 0 10px 0;
+padding:0;
+font-size:0.9em;
+}
+
+#avmenu ul{	
+list-style:none;
+width:150px;
+margin:0 0 20px 0;
+padding:0;
+font-size:1.1em;
+}	
+
+#avmenu li{
+margin-bottom:4px;
+}
+
+#avmenu li a{
+font-weight:bold;
+height:20px;
+text-decoration:none;
+color:#505050;
+display:block;
+padding:6px 0 0 10px;
+background:#f4f4f4;
+border-left:4px solid #cccccc;
+}	
+	
+#avmenu li a:hover{
+background:#eaeaea;
+color:#286ea0;
+border-left:4px solid #286ea0;
+}
+
+.announce{
+margin:10px 0 10px 0;
+padding:10px;
+width:130px;
+color:#505050;
+background-color:#f4f4f4;
+line-height:1.3em;
+}
+
+#extras{
+float:right;
+width:120px;
+margin:0 0 10px 0;
+padding:0;
+font-size:0.9em;
+line-height:1.5em;
+}
+
+#extras p{
+margin:0 0 1.5em 0;
+}
+
+#content{
+margin:0 130px 20px 160px;
+border-left:1px solid #f0f0f0;
+border-right:1px solid #f0f0f0;
+padding:0 10px 0 10px;
+line-height:1.6em;
+text-align:left;
+
+}
+
+#content h2{
+font-size:1.5em;
+margin:0 0 0.5em 0;
+}
+
+#content img{
+padding:1px;
+display:inline;
+background:#cccccc;
+color:#303030;
+border:4px solid #f0f0f0;
+}
+
+h3{
+font-size:1.3em;
+margin:0 0 10px 0;
+}
+
+a{
+text-decoration:none;
+color:#286ea0;
+}
+
+a:hover{
+text-decoration:underline;
+color:#286ea0;
+}
+
+a img{
+border:0;
+}
+
+
+#footer{
+clear:both;
+margin:0 auto;
+padding:10px 0 20px 0;
+border-top:4px solid #f0f0f0;
+width:760px;
+text-align:center;
+color:#808080;
+font-size:0.9em;
+}
+
+#footer a{
+color:#808080;
+text-decoration:none;
+}
+
+#footer a:hover{
+text-decoration:underline;
+}
+
+.left{
+margin:10px 10px 5px 0;
+float:left;
+}
+
+.right{
+margin:10px 0 5px 10px;
+float:right;
+}
+
+.textright{
+text-align:right;
+}
+
+.center{
+text-align:center;
+}
+
+.small{
+font-size:0.8em;
+}
+
+.bold{
+font-weight:bold;
+}
+
+.hide{
+display:none;
+}
+
+.info {
+	BORDER-RIGHT: #e3e4e4 1px solid; PADDING-RIGHT: 3px; BORDER-TOP: #e3e4e4 1px solid; PADDING-LEFT: 8px; FONT-SIZE: 0.9em; PADDING-BOTTOM: 3px; BORDER-LEFT: #e3e4e4 1px solid; COLOR: #505050; PADDING-TOP: 3px; BORDER-BOTTOM: #e3e4e4 1px solid; BACKGROUND-COLOR: #fafbfc
+}
+
+#searchdiv
+{
+	background-color: #f9f9f9;
+	border: 1px solid #CCCCCC;
+	padding: 5px;
+	font-weight:bold;
+}
+
+#sidebar form {
+	margin: 0px;
+	padding: 0px;
+}
+label {
+	font-family: Verdana, Arial, Helvetica, sans-serif;
+	font-size: 11px;
+	font-weight: bold;
+	color: #000000;
+}
+/************************************************
+*	Comments													*
+************************************************/
+h2#comments{
+	text-align:center;
+	border-top:1px solid #e3e4e4;
+	background:#fafbfc;
+	padding:2px;
+	border-bottom:1px solid #e3e4e4;
+	margin-bottom:10px;
+	margin-top:80px;
+	font-size: 110%;
+}
+
+ol#commentlist {
+	margin-top:0px;
+	padding: 5px;
+	margin-left: 0px;
+	list-style-type: none;
+}
+
+#commentlist li  p{
+	margin-top: 8px;
+	margin-bottom: 16px;
+	line-height: 20px;
+}
+
+.commentname {
+	float: left;
+	margin: 0;
+	padding: 0  0 2px 0;
+	font-weight: bold;
+}
+
+.commentinfo{
+	width: 300px;
+	float: right;
+	text-align: right;
+}
+
+.commenttext {
+	clear: both;
+	margin-top: 0px;
+	margin-bottom: 30px;
+	border-top: 1px solid #ebebeb;
+	line-height:12px;
+	color: #5b5b5b;
+	background-color: #F8F8F8;
+	padding: 5px;
+}
+
+.commenttext-admin {
+	clear: both;
+	margin-top: 0px;
+	margin-bottom: 30px;
+	border-top: 1px solid #ebebeb;
+	line-height:12px;
+	color: #5b5b5b;
+	background-color: #CEE4F4;
+	padding: 5px;
+}
+
+#commentsformheader{
+	padding-left:18px;
+	font-size: 1.4em;
+}
+
+#commentsform{
+	margin-top:none;
+	text-align:center;
+	border:1px solid #ddd;
+	background:#fafbfc;
+	padding:0px 10px;
+}
+
+#commentsform form{
+	text-align:left;
+	margin:0px;
+}
+
+#commentsform p{
+	margin:5px;
+}
+
+p.comments_link  img{
+	margin: 0px;
+	padding: 0px;
+	border-top-style: none;
+	border-right-style: none;
+	border-bottom-style: none;
+	border-left-style: none;
+}
\ No newline at end of file

Added: templates/trunk/andreas-3-columns/archives.template
===================================================================
--- templates/trunk/andreas-3-columns/archives.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/andreas-3-columns/archives.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,15 @@
+{include file="$blogtemplate/header.template"} 
+{include file="$blogtemplate/sidebar-l.template"}
+{include file="$blogtemplate/sidebar-r.template"}
+		<DIV id=content>		
+			<H2>{$locale->tr("archives")}</H2>
+				<ul>
+					{foreach from=$archives item=month}
+					<li>
+						<a href="{$month->getUrl()}">{$month->getName()}</a> [{$month->getNumArticles()}]
+					</li>
+					{/foreach}
+				</ul>
+
+		</div>
+{include file="$blogtemplate/footer.template"} 
\ No newline at end of file

Added: templates/trunk/andreas-3-columns/bg.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/andreas-3-columns/bg.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/andreas-3-columns/commentarticle.template
===================================================================
--- templates/trunk/andreas-3-columns/commentarticle.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/andreas-3-columns/commentarticle.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,9 @@
+{include file="$blogtemplate/header.template"}
+{include file="$blogtemplate/sidebar-l.template"}
+{include file="$blogtemplate/sidebar-r.template"}
+
+<div id="content">
+<h2>{$locale->tr("add_comment")}</h2>
+ {include file="$blogtemplate/commentform.template"}
+ </div>
+{include file="$blogtemplate/footer.template"}
\ No newline at end of file

Added: templates/trunk/andreas-3-columns/commentform.template
===================================================================
--- templates/trunk/andreas-3-columns/commentform.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/andreas-3-columns/commentform.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,25 @@
+<div id="commentsform">
+
+<form action="{$url->getIndexUrl()}" method="post" id="commentform">
+
+
+<p><input type="text" name="userName" id="author" value="" size="22" tabindex="1" />
+<label for="author"><small>Name (required)</small></label></p>
+
+<p><input type="text" name="userEmail" id="email" value="" size="22" tabindex="2" />
+<label for="email"><small>Mail (will not be published) (required)</small></label></p>
+
+<p><input type="text" name="userUrl" id="url" value="" size="22" tabindex="3" />
+<label for="url"><small>Website</small></label></p>
+
+<p><textarea name="commentText" id="comment" cols="50" rows="10" tabindex="4"></textarea></p>
+
+<p><input name="Add" type="submit" id="submit" tabindex="5" value="Submit Comment" />
+   <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}"/>
+</p>
+
+</form>
+</div>

Added: templates/trunk/andreas-3-columns/error.template
===================================================================
--- templates/trunk/andreas-3-columns/error.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/andreas-3-columns/error.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,10 @@
+{include file="$blogtemplate/header.template"}
+{include file="$blogtemplate/sidebar-l.template"}
+{include file="$blogtemplate/sidebar-r.template"}
+
+<div id="content">
+ <h2>{$locale->tr("error")}</h2>
+ <p>{$locale->tr($message)}</p>
+ <p><a href="javascript:history.go(-1)">{$locale->tr("back")}</a></p>
+ </div>
+{include file="$blogtemplate/footer.template"}
\ No newline at end of file

Added: templates/trunk/andreas-3-columns/footer.template
===================================================================
--- templates/trunk/andreas-3-columns/footer.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/andreas-3-columns/footer.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,8 @@
+<div id="footer">
+Copyright &copy; 2005 {$blog->getBlog()}. Design by <a href="http://andreasviklund.com">Andreas Viklund</a>. <br>
+<center>Adapted for <a href="http://www.lifetype.net">LifeType</a> by <a href="http://phys.idv.tw/plog/">Resnick Chang</a>.</center>
+</div>
+
+</div>
+</body>
+</html>

Added: templates/trunk/andreas-3-columns/front.jpg
===================================================================
(Binary files differ)


Property changes on: templates/trunk/andreas-3-columns/front.jpg
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/andreas-3-columns/header.template
===================================================================
--- templates/trunk/andreas-3-columns/header.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/andreas-3-columns/header.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,25 @@
+<!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()}" />
+ <meta name="author" content="Your Name / Original design: Andreas Viklund - http://andreasviklund.com/" />
+ <title>{$blog->getBlog()}{$postPageTitle}</title>
+ <link rel="stylesheet" title="Default" href="{$url->getTemplateFile("andreas01.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")}" />
+ <link rel="stylesheet" type="text/css" href="{$url->getTemplateFile("print.css")}" media="print" />
+</head>
+<body><div id="wrap">
+
+<div id="header">
+<h1><a href="{$url->blogLink()}">{$blog->getBlog()}</a></h1>
+<p>{$blog->getAbout()}</p>
+</div>
+
+<img id="frontphoto" src="{$url->getTemplateFile("front.jpg")}" width="760" height="175" alt="" />
+

Added: templates/trunk/andreas-3-columns/main.template
===================================================================
--- templates/trunk/andreas-3-columns/main.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/andreas-3-columns/main.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,12 @@
+{include file="$blogtemplate/header.template"}
+{include file="$blogtemplate/sidebar-l.template"}
+{include file="$blogtemplate/sidebar-r.template"}
+
+<div id="content">
+ {foreach from=$posts item=post}
+  {include file="$blogtemplate/post.template"}
+ {/foreach}
+ </div>
+ <div style="text-align:center">{include file="$misctemplatepath/pager.template" style="links"}</div><br/>
+ 
+{include file="$blogtemplate/footer.template"}
\ No newline at end of file

Added: templates/trunk/andreas-3-columns/post.template
===================================================================
--- templates/trunk/andreas-3-columns/post.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/andreas-3-columns/post.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,18 @@
+<a title="{$locale->tr("permalink_title")}" href="{$url->postPermalink($post)}"><h2>{$post->getTopic()}</h2></a>
+{assign var="postDate" value=$post->getDateObject()}
+{assign var="postOwner" value=$post->getUserInfo()}
+<span class="date">{$postOwner->getUsername()} | {$locale->formatDate($postDate,"%d %B, %Y %H:%M")}</span>
+<p>
+ {$post->getText()}
+</p>
+
+<p class="info">
+	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}. 
+	{$locale->tr("comment on this")}: <a href="{$url->postPermalink($post)}">({$post->getTotalComments()})</a>. 
+	{$locale->tr("trackbacks")}:<a href="{$url->postTrackbackStatsLink($post)}">({$post->getTotalTrackbacks()})</a>.
+	<a title="{$locale->tr("permalink_title")}" href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a>	
+</p>
+

Added: templates/trunk/andreas-3-columns/postandcomments.template
===================================================================
--- templates/trunk/andreas-3-columns/postandcomments.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/andreas-3-columns/postandcomments.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,60 @@
+{include file="$blogtemplate/header.template"}
+{include file="$blogtemplate/sidebar-l.template"}
+{include file="$blogtemplate/sidebar-r.template"}
+
+{assign var="postPageTitle" value=$post->getTopic()}
+{assign var="postPageTitle" value=" | $postPageTitle"}
+
+<div id="content">
+	{assign var="poster" value=$post->getUserInfo()}
+	<!-- {$url->postTrackbackLink($post)} -->
+	<a title="{$locale->tr("permalink_title")}" href="{$url->postPermalink($post)}"><h2>{$post->getTopic()}</h2></a>
+	{assign var="postDate" value=$post->getDateObject()}
+	{assign var="postOwner" value=$post->getUserInfo()}
+	<span class="date">{$postOwner->getUsername()} | {$locale->formatDate($postDate,"%d %B, %Y %H:%M")}</span>
+	<p>{$post->getText()}</p>
+	
+	<p class="info">
+	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}. 
+		{$locale->tr("comment on this")}: <a href="{$url->postPermalink($post)}">({$post->getTotalComments()})</a>. 
+		{$locale->tr("trackbacks")}:<a href="{$url->postTrackbackStatsLink($post)}">({$post->getTotalTrackbacks()})</a>.
+		<a title="{$locale->tr("permalink_title")}" href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a>	<br>
+		
+		{* I am not so keen on using if's in templates, but can't think of another way... *}
+		{assign var=nextpost value=$post->getNextArticle()}
+		{if $nextpost == true}
+			<a href="{$url->postPermalink($nextpost)}" title="Next post: {$nextpost->getTopic()}">&laquo;Next post</a> |
+		{/if}
+		{assign var=prevpost value=$post->getPrevArticle()}
+		{if $prevpost == true}
+			<a href="{$url->postPermalink($prevpost)}" title="Previous post: {$prevpost->getTopic()}">Previous post&raquo;</a>
+		{/if}
+	</p>
+
+	{if $blogsettings->getValue("comments_enabled") && $post->getCommentsEnabled()==1}
+	<h2 id="comments">Comments</h2>
+	<ol id="commentlist">
+	
+	{assign var="counter" value=1}
+	{foreach name=comment from=$comments item=comment}
+		<a name="{$comment->getId()}"></a>
+		<li id="comment-{$comment->getId()}">
+			<p class="header"><strong>{$counter}.</strong>
+			<a href="{$comment->getUserUrl()}">{$comment->getUsername()}</a> &nbsp;|&nbsp; {assign var=commentDate value=$comment->getDateObject()} {$locale->formatDate($commentDate, "%m/%d,%Y")} at {$locale->formatDate($commentDate, "%H:%M")}</p>
+			<p>{$comment->getText()}</p>
+		</li>
+		{assign var="counter" value="`$counter+1`"}
+	{/foreach}
+	</ol>
+	<a name="comments"></a>
+	
+	<h2 id="commentsformheader">Leave a Reply</h2>
+	
+		{include file="$blogtemplate/commentform.template"}
+	{/if} 
+
+</div>
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/andreas-3-columns/posttrackbacks.template
===================================================================
--- templates/trunk/andreas-3-columns/posttrackbacks.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/andreas-3-columns/posttrackbacks.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,19 @@
+{include file="$blogtemplate/header.template"}
+{include file="$blogtemplate/sidebar-l.template"}
+{include file="$blogtemplate/sidebar-r.template"}
+
+<div id="content">
+  <p>
+    {$locale->tr("trackbacks_for_article")} "<a href="{$url->postLink($post)}">{$post->getTopic()}</a>":
+  </p>
+  <p>
+  {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> {$locale->formatDate($trackbackDate, "%d/%m/%Y %H:%M")}<br/><br/>
+  {/foreach}
+  </p>
+ </div>
+{include file="$blogtemplate/footer.template"}
\ No newline at end of file

Added: templates/trunk/andreas-3-columns/print.css
===================================================================
--- templates/trunk/andreas-3-columns/print.css	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/andreas-3-columns/print.css	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,46 @@
+/* andreas01 - an open source xhtml/css website layout by Andreas Viklund  - http://andreasviklund.com . Free to use for any purpose as long as the proper credits are given to the original author.
+
+Version: 1.3 (Nov 28, 2005)
+
+Print layout: */
+
+body{
+margin:0 auto;
+padding:0;
+font-family:"Times New Roman",Serif;
+background:#ffffff;
+color:#000000;
+}
+	
+#wrap{
+margin:2%;
+width:auto;
+float:none !important;
+}
+
+#header h1{
+margin:0 0 10px 0;
+}
+
+#frontphoto, #avmenu ul, #extras, .announce, .hide{
+display:none;
+}
+
+#content img{
+display:none;
+}
+
+a{
+text-decoration:underline;
+color:#0000FF;
+}
+
+form{
+display:none;
+
+}
+
+.date, .info{
+display:none;
+
+}
\ No newline at end of file

Added: templates/trunk/andreas-3-columns/resource.template
===================================================================
--- templates/trunk/andreas-3-columns/resource.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/andreas-3-columns/resource.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,55 @@
+{include file="$blogtemplate/header.template"}
+
+{assign var=metadata value=$resource->getMetadataReader()}
+{assign var=updated value=$resource->getTimestamp()}
+<h2>{$resource->getFileName()}</h2>
+<br/>
+ <div id="Resource-Desc">
+    <a href="{$url->resourceDownloadLink($resource)}">{$locale->tr("download")}</a> 
+    ({$metadata->getRoundedSize()}) | {$locale->tr("created")} {$locale->formatDate($updated,"%d %b, %Y")}
+ <div id="album">    
+  <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/>
+  </div>
+  <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/footer.template"}
\ No newline at end of file

Added: templates/trunk/andreas-3-columns/screenshot.JPG
===================================================================
(Binary files differ)


Property changes on: templates/trunk/andreas-3-columns/screenshot.JPG
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/andreas-3-columns/searchresults.template
===================================================================
--- templates/trunk/andreas-3-columns/searchresults.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/andreas-3-columns/searchresults.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,23 @@
+{include file="$blogtemplate/header.template"}
+{include file="$blogtemplate/sidebar-l.template"}
+{include file="$blogtemplate/sidebar-r.template"}
+
+<div id="content">
+   <h2>{$locale->tr("search_results")}: {foreach from=$searchterms item=term}{$term} {/foreach}</h2>
+   <p>
+    {foreach from=$searchresults item=result}
+     <div class="searchresult">
+      {assign var=article value=$result->getArticle()}
+      <a href="{$url->postPermalink($article)}"><h3><b>{$article->getTopic()}</b></h3></a>
+     <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>
+      {$article->getText()|strip_tags|truncate:300:"...":false}
+      </p>
+     </div>
+     <br/>
+    {/foreach}
+   </p> 
+ </div>
+{include file="$blogtemplate/footer.template"}
\ No newline at end of file

Added: templates/trunk/andreas-3-columns/sidebar-l.template
===================================================================
--- templates/trunk/andreas-3-columns/sidebar-l.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/andreas-3-columns/sidebar-l.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,26 @@
+<div id="avmenu">
+	<h2 class="hide">Menu:</h2>
+	<ul>
+		<li><a href="{$url->blogLink()}">Home</a></li>
+		<li><a href="{$url->albumLink()}">Albums</a></li>
+		<li><a href="{$url->getAdminUrl()}">Admin</a></li>
+		<li><a title="{$locale->tr("archives")}" href="{$url->templatePage("archives")}">Archives</a></li>
+		<li><a title="{$locale->tr("summary")}" href="{$url->getUrl("/summary.php")}">Summary</a></li>
+	</ul>
+
+<h3>Recent Entries</h3>		
+		<ul>
+		{foreach from=$recentposts item=recentpost}
+			<li><a title="{$recentpost->getText()|truncate:150:"..."|strip_tags|escape}" href="{$url->postLink($recentpost)}">{$recentpost->getTopic()}</a></li>
+		{/foreach}
+		</ul>
+
+	<form method="post" action="{$url->getIndexUrl()}">
+		<LABEL for=s>Search this site:</LABEL>
+		<input type="text" name="searchTerms" value="" size="13" />
+		<input type="hidden" name="op" value="Search" />
+		<input type="hidden" name="blogId" value="{$blog->getId()}"/>
+		<input type="submit" name="Search" value="Go" />
+	</form>
+
+</div>

Added: templates/trunk/andreas-3-columns/sidebar-r.template
===================================================================
--- templates/trunk/andreas-3-columns/sidebar-r.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/andreas-3-columns/sidebar-r.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,39 @@
+<div id="extras">
+	{assign var=blogOwner value=$blog->getOwnerInfo()}
+	{if $blogOwner->getAboutMyself()}
+	<H3>About</H3>
+	<P>{$blogOwner->getfullName()}</P>
+	{assign var=owner value=$blog->getOwnerInfo()}
+	<P>{$blogOwner->getAboutMyself()}</P>
+	{/if}
+	
+	<h3>Categories</h3>
+	<p>
+	{foreach from=$articlecategories item=articleCategory}
+	<a href="{$url->categoryLink($articleCategory)}">{$articleCategory->getName()}</a> [{$articleCategory->getNumArticles()}]<br/>
+	{/foreach}
+	</p>
+	
+	<h3>Links</h3>
+	<p>
+	{foreach from=$mylinkscategories item=linkcategory}
+	<b>{$linkcategory->getName()}</b><br/>
+		{foreach from=$linkcategory->getLinks() item=link}
+			- <a href="{$link->getUrl()}" title="{$link->getDescription()}">{$link->getName()}</a><br/>
+		{/foreach}
+	{/foreach}
+	</p>
+	
+	<h3>Syndicate</h3>
+	<p>
+		<a class="nodecoration" title="Link to the RSS 0.90 feed." href="{$url->rssLink("rss090")}"><img src="{$url->getUrl("/imgs/rss090_logo.gif")}" style="border:0px;" alt="RSS 0.90" /></a><br/>
+		<a class="nodecoration" title="Link to the RSS 1.0 feed." href="{$url->rssLink("rss10")}"><img src="{$url->getUrl("/imgs/rss10_logo.gif")}" style="border:0px;" alt="RSS 1.0" /></a><br/>
+		<a class="nodecoration" title="Link to the RSS 2.0 feed." href="{$url->rssLink("rss20")}"><img src="{$url->getUrl("/imgs/rss20_logo.gif")}" style="border:0px;" alt="RSS 2.0" /></a><br/>
+		<a class="nodecoration" title="Link to the Atom 0.3 feed." href="{$url->rssLink("atom")}"><img src="{$url->getUrl("/imgs/atom_logo.png")}" style="border:0px;" alt="Atom 0.3" /></a><br/>	
+	</p>
+	
+	<h3>Version:</h3>
+	<p>andreas01 v1.3</p>
+</div>
+ 
+ 
\ No newline at end of file

Added: templates/trunk/andreas-3-columns/stripes.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/andreas-3-columns/stripes.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/andreas-3-columns/test.jpg
===================================================================
(Binary files differ)


Property changes on: templates/trunk/andreas-3-columns/test.jpg
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

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


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

Added: templates/trunk/aquasoft/about.template
===================================================================
--- templates/trunk/aquasoft/about.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/aquasoft/about.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -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/aquasoft/album.template
===================================================================
--- templates/trunk/aquasoft/album.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/aquasoft/album.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,104 @@
+{include file="$blogtemplate/header.template"}
+
+<tr>
+  <td class="content" valign="top">
+
+    {assign var="postDate" value=$album->getTimestamp()}
+    <div class="blog">
+      <h2>{$album->getName()}</h2>
+      <div class="post">
+	<div class="entry">
+	  <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 -->
+
+	  {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 style="text-align:center">{include file="$misctemplatepath/pager.template" style="links"}</div>
+    </div>
+  </div>
+
+  {include file="$blogtemplate/panel.template"}
+  {include file="$blogtemplate/footer.template"}
+

Added: templates/trunk/aquasoft/albums.template
===================================================================
--- templates/trunk/aquasoft/albums.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/aquasoft/albums.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,19 @@
+{include file="$blogtemplate/header.template"}
+<tr>
+  <td class="content" valign="top">
+    <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">
+	  <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/aquasoft/bold.gif
===================================================================
(Binary files differ)


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

Added: templates/trunk/aquasoft/commentarticle.template
===================================================================
--- templates/trunk/aquasoft/commentarticle.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/aquasoft/commentarticle.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -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/aquasoft/commentform.template
===================================================================
--- templates/trunk/aquasoft/commentform.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/aquasoft/commentform.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,24 @@
+<div class="postinput">
+<form action="{$url->getIndexUrl()}" method="post">   
+        <div>
+	<input tabindex="1" id="subject" name="commentTopic" />
+	<label for="subject"><small>{$locale->tr("comment_topic")}</small></label><br /><br />
+	<input tabindex="2" id="author" name="userName" />
+	<label for="author"><small>{$locale->tr("comment_username")}</small></label><br /><br />
+	<input tabindex="3" id="email" name="userEmail" />
+	<label for="email"><small>{$locale->tr("comment_email")}</small></label><br /><br />
+	<input tabindex="4" id="url" name="userUrl" />
+	<label for="url"><small>{$locale->tr("comment_url")}</small></label><br /><br />
+  <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/aquasoft/error.gif
===================================================================
(Binary files differ)


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

Added: templates/trunk/aquasoft/error.template
===================================================================
--- templates/trunk/aquasoft/error.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/aquasoft/error.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,20 @@
+{include file="$blogtemplate/header.template"}
+<tr>
+  <td class="content" valign="top">
+
+    <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/aquasoft/footer.template
===================================================================
--- templates/trunk/aquasoft/footer.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/aquasoft/footer.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,30 @@
+	<tr>
+		<td class="footernav" colspan="2">
+		<div id="footernav">
+			<ul>
+				<li id="fcurrent"><a href="http://www.aqua-soft.org/">Home</a></li>
+				<li><img src="{$url->getTemplateFile('images/navsep.gif')}" alt="" /></li>
+				<li><a href="http://www.aqua-soft.org/board/">Forums</a></li>
+				<li><a href="http://www.aqua-soft.org/">Resources</a></li>
+				<li><a href="http://www.aqua-soft.org/">Disclaimer</a></li>
+				<li><a href="http://www.aqua-soft.org/">About</a></li>
+			</ul>
+		</div>
+		</td>
+	</tr>
+
+</table>
+
+</div>
+</div>
+</div>
+
+<div class="shadbotmid">
+	<div class="shadbotleft"> </div>
+	<div class="shadbotright"> </div>
+	&nbsp;
+</div>
+
+</div>
+</body>
+</html>
\ No newline at end of file

Added: templates/trunk/aquasoft/header.template
===================================================================
--- templates/trunk/aquasoft/header.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/aquasoft/header.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,53 @@
+<!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="container">
+      <div class="captionmid">
+	<div class="captionleft"></div>
+	<div class="captionright"></div>
+	<a href="{$url->blogLink()}">{$blog->getBlog()} - {$blog->getAbout()}</a> 
+	<div class="description"></div>
+      </div>
+      <div class="shadleft">
+	<div class="shadright">
+	  <div id="wrapper">
+
+	    <table class="tableborder" width="100%" cellpadding="3" border="0" cellspacing="1">
+	      <tr>
+		<td class="toolbar" colspan="2">
+		  <ul id="toolbar">
+		    <li style="float:right;" id="tbaero"><a href="http://www.aero-soft.com/"></a></li>
+		    <li id="tbhome"><a href="{$url->getBaseUrl(false)}"></a></li>
+
+		    <li><img src="{$url->getTemplateFile('images/navsep2.gif')}" alt="" /></li>
+		    <li id="tbres"><a href="{$url->getBaseUrl(false)}/admin.php">{$locale->tr("admin")}</a></li>
+		    <li id="tbforum"><a href="{$url->albumLink()}">{$locale->tr("albums")}</a></li>
+		    <li id="tbabout"><a href="http://www.aqua-soft.org/">{$locale->tr("about")}</a></li>
+		  </ul>
+		</td>
+	      </tr>
\ No newline at end of file

Added: templates/trunk/aquasoft/images/1_site_logo.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/aquasoft/images/1_site_logo.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

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


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

Added: templates/trunk/aquasoft/images/aqua_site_logo.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/aquasoft/images/aqua_site_logo.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/aquasoft/images/caption_left.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/aquasoft/images/caption_left.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/aquasoft/images/caption_mid.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/aquasoft/images/caption_mid.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/aquasoft/images/caption_right.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/aquasoft/images/caption_right.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/aquasoft/images/icon_html.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/aquasoft/images/icon_html.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/aquasoft/images/icon_showall.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/aquasoft/images/icon_showall.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/aquasoft/images/irc.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/aquasoft/images/irc.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/aquasoft/images/navsep.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/aquasoft/images/navsep.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/aquasoft/images/navsep2.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/aquasoft/images/navsep2.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/aquasoft/images/pin_light.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/aquasoft/images/pin_light.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/aquasoft/images/results_highlight.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/aquasoft/images/results_highlight.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/aquasoft/images/rss.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/aquasoft/images/rss.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/aquasoft/images/shad_bot_left.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/aquasoft/images/shad_bot_left.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/aquasoft/images/shad_bot_mid.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/aquasoft/images/shad_bot_mid.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/aquasoft/images/shad_bot_right.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/aquasoft/images/shad_bot_right.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/aquasoft/images/shad_left.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/aquasoft/images/shad_left.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/aquasoft/images/shad_right.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/aquasoft/images/shad_right.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/aquasoft/images/site_logo.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/aquasoft/images/site_logo.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/aquasoft/images/spotlight_bg.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/aquasoft/images/spotlight_bg.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/aquasoft/images/spotlight_clear.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/aquasoft/images/spotlight_clear.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/aquasoft/images/spotlight_left.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/aquasoft/images/spotlight_left.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/aquasoft/images/spotlight_search_bg.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/aquasoft/images/spotlight_search_bg.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/aquasoft/images/tb_about_a.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/aquasoft/images/tb_about_a.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/aquasoft/images/tb_about_b.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/aquasoft/images/tb_about_b.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/aquasoft/images/tb_aero.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/aquasoft/images/tb_aero.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/aquasoft/images/tb_bg.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/aquasoft/images/tb_bg.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/aquasoft/images/tb_disc_a.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/aquasoft/images/tb_disc_a.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/aquasoft/images/tb_forum_a.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/aquasoft/images/tb_forum_a.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/aquasoft/images/tb_res_a.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/aquasoft/images/tb_res_a.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/aquasoft/images/toolbar_bg.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/aquasoft/images/toolbar_bg.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/aquasoft/images/toolbara_bg.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/aquasoft/images/toolbara_bg.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

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


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

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


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

Added: templates/trunk/aquasoft/main.template
===================================================================
--- templates/trunk/aquasoft/main.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/aquasoft/main.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,17 @@
+{include file="$blogtemplate/header.template"}
+
+<tr>
+  <td class="content" valign="top">
+
+    <div class="post">
+      {foreach from=$posts item=post}
+      {include file="$blogtemplate/post.template"}
+      {/foreach}
+    </div>
+    
+    <div style="text-align:center">{include file="$misctemplatepath/pager.template" style="links"}</div>
+    
+  </td>
+
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/aquasoft/panel.template
===================================================================
--- templates/trunk/aquasoft/panel.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/aquasoft/panel.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,105 @@
+<td class="rightcol" valign="top">
+  <div id="search">
+    <div id="spotlight">
+      <form style="margin:0px;padding:0px;" method="post" action="{$url->getIndexUrl()}">
+	<table border="0" cellpadding="0" cellspacing="0" width="100%">
+	  <tr>
+	    <td>
+	      <img src="{$url->getTemplateFile('images/spotlight_left.gif')}" alt="" />
+	    </td>
+	    <td width="100%" class="searchbox">
+	      <input id="livesearch" name="searchTerms" 
+		     type="text" value="{$locale->tr('search')}" onclick="value=''" />
+	      <input type="hidden" name="op" value="Search" />
+	      <input type="hidden" name="blogId" value="{$blog->getId()}" />   
+	      <input type="hidden" id="submitted" name="submitted" value="yes" />
+	    </td>
+	    <td>
+	      <a href="#" onclick="document.searchform.q.value=''">
+		<img src="{$url->getTemplateFile('images/spotlight_clear.gif')}" alt="" />
+	      </a>
+	    </td>
+	  </tr>
+	</table>
+      </form>
+    </div>
+    <div id="LSResult" style="display:none;">
+      <div id="LSShadow"></div>
+    </div>
+  </div>
+
+  <div class="rc_section" style="border-top: 0px;">
+    <ul class="rc_list">
+      {assign var=blogOwner value=$blog->getOwnerInfo()}
+      {if $blogOwner->hasPicture()}
+      {assign var=picture value=$blogOwner->getPicture()}
+      <img src="{$url->resourcePreviewLink($picture)}" alt="My picture!" /><br><br>
+      {/if}
+    </ul>		
+  </div>
+
+  <div class="rc_section">
+    <p class="rc_title">{$locale->tr("recently")}</p>
+    <ul class="rc_list">
+      {foreach from=$recentposts item=post}
+      <li><a title="{$post->getText()|truncate:15:"..."|escape}" 
+      href="{$url->postLink($post)}">{$post->getTopic()} ({$post->getNumReads()})</a></li>
+      {/foreach}
+    </ul>	
+  </div>
+
+  <div class="rc_section">
+    <p class="rc_title">{$locale->tr("categories")}</p>
+    <ul class="rc_list">
+      {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>			
+  </div>
+
+  <div class="rc_section">
+    <p class="rc_title">{$locale->tr("archives")}</p>
+    <ul class="rc_list">
+      {foreach from=$archives item=archivelink}
+      <li><a href="{$archivelink->getUrl()}">{$archivelink->getName()}</a>
+      [{$archivelink->getNumArticles()}]</li>
+      {/foreach}
+    </ul>			
+  </div>
+
+  <div class="rc_section">
+    <p class="rc_title">{$locale->tr("links")}</p>
+    {foreach name=linkcategories from=$mylinkscategories item=linkcategory}
+    {if $linkcategory->getNumLinks()>0}
+    {if $smarty.foreach.linkcategories.first}<ul class="rc_list">{/if}
+    <li>
+      <b>{$linkcategory->getName()}</b>
+      {foreach name=linkcategorylinks from=$linkcategory->getLinks() item=link}
+      {if $smarty.foreach.linkcategorylinks.first}<ul class="rc_list">{/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}
+    {/if}
+    {/foreach} 
+  </div>
+
+  <div style="padding:20px;">
+    <a id="rss" title="Link to the RSS 0.90 feed." href="{$url->rssLink('rss090')}">RSS 0.90</a>
+    <a id="rss" title="Link to the RSS 1.0 feed." href="{$url->rssLink('rss10')}">RSS 1.0</a>
+    <a id="rss" title="Link to the RSS 2.0 feed." href="{$url->rssLink('rss20')}">RSS 2.0</a>
+    <a id="rss" title="Link to the Atom 0.3 feed." href="{$url->rssLink('atom')}">Atom 0.3</a>
+    <a href="{$url->getBaseUrl(false)}">
+      <img border="0" src="http://www.bokeland.com/images/bokeland_logo/bokeland_logo_88_31.gif" alt="BokeLand.com"/>
+    </a>
+    <br/>
+    </div>
+  </td>
+</tr>
+

Added: templates/trunk/aquasoft/post.template
===================================================================
--- templates/trunk/aquasoft/post.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/aquasoft/post.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,34 @@
+{assign var="postDate" value=$post->getDateObject()}
+{assign var="postOwner" value=$post->getUserInfo()}
+
+<div>
+  <div class="post">
+    <div class="heading"><a href="{$url->postPermalink($post)}">{$post->getTopic()}</a></div>
+    <small>
+      {$locale->tr("posted_by")} {$postOwner->getUsername()} | 
+      {$locale->formatDate($postDate,"%j %B, %Y")} |
+      {$locale->tr("read_nums")} ({$post->getNumReads()})
+    </small>
+    <div class="entry">
+      {$post->getText()}
+    </div>
+
+    <p class="postmetadata"> {$locale->tr("post")} {$locale->tr("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->getTotalTrackbacks()})</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/aquasoft/postandcomments.template
===================================================================
--- templates/trunk/aquasoft/postandcomments.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/aquasoft/postandcomments.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -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"}
+<tr>
+  <td class="content" valign="top">
+    
+    {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")} |
+	{$locale->tr("read_nums")} ({$post->getNumReads()})
+      </small>
+      
+      <div class="entry">
+	<ul>{$post->getText()}</ul>
+      </div>
+      <br />
+      <p class="postmetadata alt">
+	<small>
+	  {include file="$blogtemplate/postmetadata.inc"}
+	</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>
+    {if $post->getComments()}
+    <h3 id="comments">{$post->getTotalComments()} {$locale->tr("comments")}  &amp; {$post->getTotalTrackbacks()} {$locale->tr("trackbacks")} {$locale->tr("of")} "{$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}
+    {/if}
+    
+  </div>
+  {if $blogsettings->getValue("comments_enabled") && $post->getCommentsEnabled()==1}
+  <div>
+    {include file="$blogtemplate/commentform.template"}
+  </div>
+  {/if}
+</div> 
+</td>
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/aquasoft/postmetadata.inc
===================================================================
--- templates/trunk/aquasoft/postmetadata.inc	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/aquasoft/postmetadata.inc	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,8 @@
+      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.

Added: templates/trunk/aquasoft/posttrackbacks.template
===================================================================
--- templates/trunk/aquasoft/posttrackbacks.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/aquasoft/posttrackbacks.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,35 @@
+{include file="$blogtemplate/header.template"}
+<tr>
+  <td class="content" valign="top">
+
+<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/aquasoft/resource.template
===================================================================
--- templates/trunk/aquasoft/resource.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/aquasoft/resource.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,62 @@
+{include file="$blogtemplate/header.template"}
+{assign var=metadata value=$resource->getMetadataReader()}
+{assign var=updated value=$resource->getTimestamp()}
+
+<tr>
+  <td class="content" valign="top">
+
+    <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/aquasoft/rss.template
===================================================================
--- templates/trunk/aquasoft/rss.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/aquasoft/rss.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -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/aquasoft/screenshot.jpg
===================================================================
(Binary files differ)


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

Added: templates/trunk/aquasoft/searchresults.template
===================================================================
--- templates/trunk/aquasoft/searchresults.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/aquasoft/searchresults.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,37 @@
+{include file="$blogtemplate/header.template"}
+
+<tr>
+  <td class="content" valign="top">
+
+    <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/aquasoft/style.css
===================================================================
--- templates/trunk/aquasoft/style.css	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/aquasoft/style.css	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,93 @@
+/* Aqua-Soft.org Wordpress theme, made by Tim Kimberl */
+body { margin: 15px 30px 10px 30px; color: #000000; background: #3873b3; font: 11px ËÎÌå,'Lucida Grande', LucidaGrande, Lucida, Helvetica, Arial, sans-serif; }
+a:link { color: #1b4ca2; text-decoration: none; }
+a:visited { color: #1b4ca2; text-decoration: none; }
+a:hover, a:active { color: #1b4ca2; text-decoration: underline; }
+td { font: 11px 'Lucida Grande', LucidaGrande, Lucida, Helvetica, Arial, sans-serif; }
+#container { margin-left: auto; margin-right: auto; width: 99%; min-width: 770px; max-width: 1000px; }
+#wrapper { background: #ffffff; color: #000000; }
+img { border: none; vertical-align: middle; }
+p img { padding: 0; max-width: 100%; }
+img.centered { margin-left: auto; margin-right: auto; display: block; }
+img.alignright { padding: 4px; margin: 0 0 2px 7px; display: inline; }
+img.alignleft { padding: 4px; margin: 0 7px 2px 0; display: inline; }
+.subtoolbar { padding: 5px 6px 5px 6px; background: url(images/pin_dark.gif) #e4e4e4; color: #000000; }
+.rightcol { padding: 0px; width: 175px; background: #f4f4f4; color: #000000; }
+.content { padding: 10px 20px 20px 20px; background: #ffffff; color: #000000; font-size: 12px; text-align: justify; }
+.tableborder { border: 0px; margin: 0px; padding: 0px; background: url(images/tb_bg.gif) #cccccc repeat-x; color: #000000; }
+.footernav { margin: 0px; padding: 0px; background: url(images/toolbar_bg.gif) #f4f4f4; color: #000000; }
+#footernav { float: left; width: 100%; }
+#footernav ul{ margin: 0; padding: 0 0 0 6px; list-style: none; }
+#footernav li{ float: left; margin: 0 0 0 1px; padding: 0; display: inline; text-align: center; vertical-align: middle; }
+#footernav a{ margin-left: 1px; margin-right: 1px; padding: 3px 5px 3px 5px; display: block; color: #000000; text-decoration: none; }
+#footernav a:hover{ color: #000000; }
+#footernav a:active{ border-left: 1px solid #b6b6b6; border-right: 1px solid #b6b6b6; margin-left: 0px; margin-right: 0px; background: url(images/toolbara_bg.gif) #f4f4f4; color: #000000; }
+#footernav #fcurrent a{ border-left: 1px solid #b6b6b6; border-right: 1px solid #b6b6b6; margin-left: 0px; margin-right: 0px; background: url(images/toolbara_bg.gif) #f4f4f4; color: #000000; }
+.captionleft { float: left; width: 79px; background: url(images/caption_left.gif) #3873b3; height: 21px; }
+.captionmid { width: 100%; background: url(images/caption_mid.gif) #efefef repeat-x; font: 13px/21px 'Lucida Grande', LucidaGrande, Lucida, Helvetica, Arial, sans-serif; text-align: center; height: 21px; }
+.captionmid a:link,.captionmid  a:visited,.captionmid  a:active{ background: transparent; color: #000000; text-decoration: none; }
+.captionmid a:hover{ text-decoration: underline; }
+.captionright { float: right; width: 79px; background: url(images/caption_right.gif) #3873b3; height: 21px; }
+.toolbar { margin: 0px; padding: 0px 0px 0px 6px; background: url(images/toolbar_bg.gif) #f4f4f4; color: #000000; }
+#toolbar { float: left; margin: 0px; padding: 0px; width: 100%; background: url(images/toolbar_bg.gif) #f4f4f4; color: #000000; }
+#toolbar ul{ margin: 0; padding: 0px; list-style: none; }
+#toolbar li{ float: left; margin: 0 0 0 1px; padding: 0; display: inline; text-align: center; vertical-align: middle; }
+#toolbar a{ margin-left: 1px; margin-right: 1px; padding: 39px 5px 3px 5px; display: block; color: #000000; text-decoration: none; }
+#toolbar a:active{ border-left: 1px solid #b6b6b6; border-right: 1px solid #b6b6b6; margin-left: 0px; margin-right: 0px; background: url(images/toolbara_bg.gif) #f4f4f4; color: #000000; }
+#toolbar #tcurrent a{ border-left: 1px solid #b6b6b6; border-right: 1px solid #b6b6b6; margin-left: 0px; margin-right: 0px; background: url(images/toolbara_bg.gif) #f4f4f4; color: #000000; }
+#toolbar #tbhome a { padding: 0px; margin: 0px; width: 170px; border: 0px; display: block; background: url(images/site_logo.gif) no-repeat; height: 55px; }
+#toolbar #tbhome:active { border: 0px; margin: 0 0 0 1px; }
+#toolbar #tbforum:active { background: url(images/toolbara_bg.gif) #f4f4f4; }
+#toolbar #tbforum a { display: block; background: url(images/tb_forum_a.gif) no-repeat top center; }
+#toolbar #tbforum a:active { display: block; background: url(images/tb_forum_a.gif) no-repeat top center; }
+#toolbar #tbres:active { background: url(images/toolbara_bg.gif) #f4f4f4; }
+#toolbar #tbres a { display: block; background: url(images/tb_res_a.gif) no-repeat top center; }
+#toolbar #tbres a:active { display: block; background: url(images/tb_res_a.gif) no-repeat top center; }
+#toolbar #tbdisc:active { background: url(images/toolbara_bg.gif) #f4f4f4; }
+#toolbar #tbdisc a { display: block; background: url(images/tb_disc_a.gif) no-repeat top center; }
+#toolbar #tbdisc a:active { display: block; background: url(images/tb_disc_a.gif) no-repeat top center; }
+#toolbar #tbabout:active { background: url(images/toolbara_bg.gif) #f4f4f4; }
+#toolbar #tbabout a { display: block; background: url(images/tb_about_a.gif) no-repeat top center; }
+#toolbar #tbabout a:active { display: block; background: url(images/tb_about_a.gif) no-repeat top center; }
+#toolbar #tbaero a { padding: 0px; margin: 0px; width: 98px; border: 0px; display: block; background: url(images/tb_aero.gif) no-repeat; height: 55px; }
+#toolbar #tbaero:active { border: 0px; margin: 0px; }
+.shadleft { padding-left: 15px; background: url(images/shad_left.gif) repeat-y left; }
+.shadright { padding-right: 15px; background: url(images/shad_right.gif) repeat-y right; }
+.shadbotleft { float: left; width: 79px; background: url(images/shad_bot_left.gif) #3873b3; height: 24px; }
+.shadbotmid { background: url(images/shad_bot_mid.gif) repeat-x; text-align: center; height: 24px; }
+.shadbotright { float: right; width: 79px; background: url(images/shad_bot_right.gif) #3873b3; height: 24px; }
+#spotlight { background: url(images/spotlight_bg.gif) #0361e4 repeat-x; height: 31px; }
+#spotlight img { vertical-align: baseline; }
+.searchbox { background: url(images/spotlight_search_bg.gif) repeat-x; height: 31px; }
+.searchbox input { border: 0px; margin: 0px; width: 145px; background: #ffffff; color: #505050; font: 12px 'Lucida Grande', LucidaGrande, Lucida, Helvetica, Arial, sans-serif; }
+#lsresult { padding: 2px 0px 0px 0px; border-bottom: 1px solid #e1e1e1; background: url(images/pin_light.gif) #ececec; color: #000000; }
+#results { margin: 0px; padding: 2px 0px 6px 0px; list-style: none; }
+#results li img { width: 16px; vertical-align: middle; height: 16px; }
+#results li a { padding: 1px 0px 1px 5px; display: block; color: #000000; font-size: 11px; text-align: left; text-decoration: none; }
+#results li a:hover { background: url(images/results_highlight.gif) #1b4ca2; color: #ffffff; cursor: pointer; }
+#results li:hover { background: url(images/results_highlight.gif) #1b4ca2; color: #ffffff; cursor: pointer; }
+.rc_section { border-top: 1px solid #ffffff; border-bottom: 1px solid #cccccc; margin: 0px 7px 0px 4px; padding: 5px; }
+.rc_title { margin: 0px; padding: 0px; color: #000000; font-weight: bold; font-family: ËÎÌå,'Lucida Grande', Verdana, Arial, Sans-Serif;}
+.rc_title a, .rc_title a:visited { color: #000000; text-decoration: none; }
+.rc_title a:hover { color: #000000; text-decoration: underline; }
+.rc_list { margin: 0px; padding: 0px 0px 0px 4px; list-style: none; }
+.rc_section a { color: #6e6e6e; text-decoration: none; }
+.rc_section a:hover { text-decoration: underline; }
+.rc_section a:active { color: #1b4ca2; text-decoration: none; }
+.rc_section #active a { color: #1b4ca2; font-weight: bold; text-decoration: none; }
+.rc_section #active a:hover { text-decoration: underline; }
+.alignright { float: right; }
+.alignleft { float: left; }
+.post { margin: 0 0 40px; text-align: justify; }
+small { color: #6e6e6e; font-size: 11px; }
+.heading { font-size: 20px; font-weight: bold; }
+.entry p { line-height: 140%; }
+.entry p a:visited { color: #b85b5a; }
+.entry ul { margin-left: 0px; padding: 0 0 0 30px; padding-left: 10px; list-style: none; text-indent: -10px; }
+.entry li { margin: 7px 0 8px 10px; }
+.entry ol { padding: 0 0 0 35px; margin: 0; }
+.entry ol li { margin: 0; padding: 0; }
+.entry form { text-align: center; }
+.postmetadata ul, .postmetadata li { display: inline; list-style-type: none; list-style-image: none; }
+#rss { margin: 6px 0px 6px 0px; padding: 0px 0px 0px 33px; display: block; background: url(images/rss.gif) no-repeat; height: 15px; }
+#irc { margin: 6px 0px 6px 0px; padding: 0px 0px 0px 33px; display: block; background: url(images/irc.gif) no-repeat; height: 15px; }

Added: templates/trunk/aquasoft/toolbar.js
===================================================================
--- templates/trunk/aquasoft/toolbar.js	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/aquasoft/toolbar.js	2006-07-24 02:46:34 UTC (rev 3782)
@@ -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

Added: templates/trunk/aubmach/446-70.png
===================================================================
(Binary files differ)


Property changes on: templates/trunk/aubmach/446-70.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/aubmach/about.template
===================================================================
--- templates/trunk/aubmach/about.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/aubmach/about.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,13 @@
+{include file="$blogtemplate/header.template"}
+<div id="content">
+ <div class="blog">
+  <div class="blogbody">
+  <h2 class="title">{$locale->tr("about")}</h2>
+  <div class="posted"><a href="{$url->templatePage("about")}">{$locale->tr("permalink")}</a></div>
+ You can change the contents of this page by editing the templates/about.template file.
+  </div>
+  <br />
+ </div>
+</div>
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/aubmach/album.template
===================================================================
--- templates/trunk/aubmach/album.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/aubmach/album.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,103 @@
+{include file="$blogtemplate/header.template"}
+
+<div id="content">
+{assign var="postDate" value=$album->getTimestamp()}
+  <h2>{$locale->tr("album")}</h2>
+
+  <div class="post">
+    <h3 class="storytitle"><a href="{$url->albumLink($album)}">{$album->getName()}</a></h3>
+    <div class="meta">
+        {$locale->tr("created")} {$locale->formatDate($postDate,"%d %b, %Y")}
+    </div>    
+    <div class="storycontent"><p>{$album->getDescription()}</p></div>
+ 
+{** 
+    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="{$locale->tr("album")}">
+ <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 -->
+
+ {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 style="text-align:center">{include file="$misctemplatepath/pager.template" style="links"}</div>
+
+
+ </div>
+ 
+
+</div>
+
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/aubmach/albums.template
===================================================================
--- templates/trunk/aubmach/albums.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/aubmach/albums.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,26 @@
+{include file="$blogtemplate/header.template"}
+<div id="content">
+ <h2>{$locale->tr("albums")}</h2>
+{foreach from=$albums item=album}
+ {assign var="aDate" value=$album->getTimestamp()}
+ <div class="post">
+    <h3 class="storytitle"><a href="{$url->albumLink($album)}">{$album->getName()}</a></h3>
+    <div class="meta">
+        {$locale->tr("created")} {$locale->formatDate($aDate,"%d %b, %Y")}
+    </div>
+    <div class="storycontent">
+    <p>
+       {$album->getDescription()|truncate:255:"..."|escape}
+    </p>
+    </div>
+    <div class="feedback">
+      <a href="{$url->albumLink($album)}">  
+       <img src="{$url->getTemplateFile("folderblue.gif")}" width="10" height="11" style="border:0px;" />
+        {$locale->tr("view")} ({$album->getNumResources()})
+       </a>
+    </div>
+ </div>
+{/foreach}
+</div>
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/aubmach/aubmach.png
===================================================================
(Binary files differ)


Property changes on: templates/trunk/aubmach/aubmach.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/aubmach/commentarticle.template
===================================================================
--- templates/trunk/aubmach/commentarticle.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/aubmach/commentarticle.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,6 @@
+{include file="$blogtemplate/header.template"}
+ {if $blogsettings->getValue("comments_enabled")}
+    <h2>{$locale->tr("add_comment")}</h2>
+    {include file="$blogtemplate/commentform.template"}
+ {/if}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/aubmach/commentform.template
===================================================================
--- templates/trunk/aubmach/commentform.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/aubmach/commentform.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,24 @@
+<form id="commentform" name="comments_form" action="{$url->getIndexUrl()}" method="post">
+  <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}"/>
+  <p>
+	<input tabindex="2" id="author" name="userName" />
+	<label for="author">{$locale->tr("comment_username")}</label>
+    </p>
+    <p>
+	<input tabindex="3" id="email" name="userEmail" />
+	<label for="email">{$locale->tr("comment_email")}</label>
+    </p>
+    <p>
+	<input tabindex="4" id="url" name="userUrl" />
+	<label for="url">{$locale->tr("comment_url")}</label>
+    </p>
+  <p>
+    <label for="commentText">{$locale->tr("add_comment")}</label><br />
+    
+    <textarea tabindex="5" id="text" name="commentText" rows="10" cols="50" id="commentText"></textarea><br /><br />
+    <input style="font-weight: bold;" type="submit" name="post" value="&nbsp;{$locale->tr("comment_send")}&nbsp;" /><br /><br />
+  </p>
+</form>

Added: templates/trunk/aubmach/download.gif
===================================================================
(Binary files differ)


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

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


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

Added: templates/trunk/aubmach/error.template
===================================================================
--- templates/trunk/aubmach/error.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/aubmach/error.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,20 @@
+{include file="$blogtemplate/header.template"}
+
+<div id="content">
+
+    <div class="post">
+        <h3 class="storytitle">{$locale->tr("error")}</h3>
+        
+        <div class="meta">
+            {$locale->tr("generated")} {$locale->formatDate($now,"%d %b, %Y")}
+        </div>
+        
+        <div class="storycontent">
+            <img src="{$url->getTemplateFile("error.gif")}" height="32" width="32" alt="Error"/>
+            {$locale->tr($message)}
+        </div>    
+    </div>
+</div>
+
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/aubmach/folderblue.gif
===================================================================
(Binary files differ)


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

Added: templates/trunk/aubmach/footer.template
===================================================================
--- templates/trunk/aubmach/footer.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/aubmach/footer.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,6 @@
+    </div>
+    <p class="credit">
+        Powered by <a href="http://www.lifetype.net" target="_blank">LifeType</a>
+    </p>
+    </body>
+</html>

Added: templates/trunk/aubmach/header.template
===================================================================
--- templates/trunk/aubmach/header.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/aubmach/header.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,21 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.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()}</title>
+    
+    <link rel="stylesheet" title="default" type="text/css" media="screen" href="{$url->getTemplateFile("style.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")}" />
+</head>
+
+<body>
+<div id="rap">
+    <h1 id="header"><a href="{$url->blogLink()}" title="{$blog->getBlog()}">{$blog->getBlog()}</a></h1>
+
+

Added: templates/trunk/aubmach/main.template
===================================================================
--- templates/trunk/aubmach/main.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/aubmach/main.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,14 @@
+{include file="$blogtemplate/header.template"}
+
+<div id="content">
+ {foreach from=$posts item=post}
+  <div class="post">
+    {include file="$blogtemplate/post.template"}
+  </div>
+ {/foreach}
+ 
+ <div style="text-align:center">{include file="$misctemplatepath/pager.template" style="links"}</div>
+</div>
+
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}
\ No newline at end of file

Added: templates/trunk/aubmach/panel.template
===================================================================
--- templates/trunk/aubmach/panel.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/aubmach/panel.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,81 @@
+
+<div id="menu">
+<ul>
+    <li id="wordpress">
+    {$locale->tr("menu")}
+    <ul>
+     <li><a href="{$url->blogLink()}">{$locale->tr("main")}</a> </li>	
+     <li><a href="{$url->albumLink()}">{$locale->tr("albums")}</a></li>
+     <li><a href="{$url->getAdminUrl()}">{$locale->tr("admin")}</a></li>
+    </ul> 
+    </li>
+<div class="Sidetitle">
+   <h4>{$locale->tr("search")}</h4>
+</div>
+<p> 
+   <form name="search_form" method="post" action="{$url->getIndexUrl()}">
+    <input type="text" name="searchTerms" value="" size="14" /><br/>
+    <input type="hidden" name="op" value="Search" />
+    <input type="hidden" name="blogId" value="{$blog->getId()}"/>   
+    <input type="submit" name="Search" value="{$locale->tr("search")}" />
+   </form>
+  </p>
+
+ <li id="recently">
+ {$locale->tr("recently")}
+ <ul>
+    {foreach from=$recentposts item=recentpost}
+    <li><a title="{$recentpost->getText()|truncate:150:"..."|strip_tags|escape}" href="{$url->postLink($recentpost)}">{$recentpost->getTopic()}</a><br/>
+    {/foreach}
+</ul>
+</li>
+ <li id="categories">
+  {$locale->tr("categories")}
+  <ul>
+   {foreach from=$articlecategories item=articleCategory}
+    <li><a href="{$url->categoryLink($articleCategory)}">{$articleCategory->getName()} [{$articleCategory->getNumArticles()}]</a><a href="{$url->categoryRssLink($articleCategory)}"><img src="{$url->getUrl("/imgs/rss_logo_small.gif")}" style="border:0px;" alt="RSS 0.90" /></a><br/></li>
+   {/foreach}
+   </ul>
+ </li>
+  
+ <li id="archives">
+  {$locale->tr("archives")}
+  <ul>
+  {foreach from=$archives item=archivelink}
+   <li><a href="{$archivelink->getUrl()}">{$archivelink->getName()}</a></li>
+  {/foreach}
+  </ul>
+  </li>
+  <li id="calendar">
+  	{$locale->tr("calendar")}
+	{$calendar}
+  </li>
+
+    <li id="meta">
+    {$locale->tr("syndicate")}
+    <ul>
+     <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 href="http://validator.w3.org/check/referer" title="Valid XHTML 1.0 Transitional">Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr></a></li>
+     
+    </ul> 
+    </li>
+
+  <li id="style"> 
+  {$locale->tr("links")}
+  <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>
+    </li>
+</ul> 
+</div>

Added: templates/trunk/aubmach/post.template
===================================================================
--- templates/trunk/aubmach/post.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/aubmach/post.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,28 @@
+{assign var="postDate" value=$post->getDateObject()}
+{assign var="postOwner" value=$post->getUserInfo()}
+
+<h3 class="storytitle"><a href="{$url->postPermalink($post)}">{$post->getTopic()}</a></h3>
+
+<div class="meta">
+
+  {foreach name=categories from=$post->getCategories() item=postCategory}
+	<ul class="post-categories"><li><a href="{$url->categoryLink($postCategory)}" title="{$postCategory->getName()}">{$postCategory->getName()}</a></li></ul>{if !$smarty.foreach.categories.last}, {/if}
+  {/foreach}
+
+ &#8212; {$locale->tr("posted_by")} {$postOwner->getUsername()} @ {$locale->formatDate($postDate,"%H:%M")}
+</div>
+<div class="storycontent">
+	{assign var=postText value=$post->getText()}
+    {$postText} 
+    <br style="clear: both;" />
+ </div>
+<div class="feedback">
+    <a href="{$url->postPermalink($post)}#comments" title="{$locale->tr("comment on this")}">
+        {if $post->getTotalComments() eq 0}{$locale->tr("comment on this")}{else}{$post->getTotalComments()} {$locale->tr("comments")}{/if}
+    </a> |
+	{if $post->getTotalTrackbacks() > 0}
+	  <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}</a>
+	{else}
+	  {$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}
+	{/if} 
+</div>

Added: templates/trunk/aubmach/postandcomments.template
===================================================================
--- templates/trunk/aubmach/postandcomments.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/aubmach/postandcomments.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,41 @@
+{include file="$blogtemplate/header.template"}
+
+<div id="content">
+    {assign var="postDate" value=$post->getDateObject()}
+    {assign var="postOwner" value=$post->getUserInfo()}
+    <h2>{$locale->formatDate($postDate,"%d %b, %Y")}</h2>
+    
+    <div class="post">
+        {include file="$blogtemplate/post.template"}
+    
+        <h2 id="comments">{$locale->tr("comments")}</h2>
+        
+         <ol id="commentlist">
+        {foreach from=$comments item=comment}
+        {assign var=commentText value=$comment->getText()}
+            <li id="comment-{$comment->getId()}">
+                <p>{$commentText}</p>
+               
+               	<p><cite>{$locale->tr("posted_by")}
+                   {if $comment->getUserUrl() != ""}
+                    <a href="{$comment->getUserUrl()}"}>{$comment->getUsername()}</a>
+                   {else}
+                    {$comment->getUsername()}
+                   {/if} &#8212;
+                   {assign var=commentDate value=$comment->getDateObject()}
+                   {$locale->formatDate($commentDate, "%d %b %Y, %H:%M")}
+                </cite></p>
+            </li>
+        {/foreach}    
+        </ol>
+            
+        {if $blogsettings->getValue("comments_enabled") && $post->getCommentsEnabled()==1}
+            <br style="clear: both;" />
+           <h2>{$locale->tr("add_comment")}</h2>
+          {include file="$blogtemplate/commentform.template"}
+        {/if}
+    </div>
+</div>
+
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/aubmach/posttrackbacks.template
===================================================================
--- templates/trunk/aubmach/posttrackbacks.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/aubmach/posttrackbacks.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,17 @@
+{include file="$blogtemplate/header.template"}
+<div id="content">
+ <div class="blog">
+  <div class="blogbody">
+   <h2 class="title">{$locale->tr("trackbacks_for_article")} "<a href="{$url->postLink($post)}">{$post->getTopic()}</a>"</h2>
+    {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/aubmach/resource.template
===================================================================
--- templates/trunk/aubmach/resource.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/aubmach/resource.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,58 @@
+{include file="$blogtemplate/header.template"}
+{assign var=metadata value=$resource->getMetadataReader()}
+{assign var=updated value=$resource->getTimestamp()}
+<div id="content">
+  <h2>{$locale->tr("resources")}</h2>
+<div class="post">
+    <h3 class="storytitle"><a href="{$url->resourceLink($resource)}">{$resource->getFileName()}</a></h3>
+    <div class="meta">
+        {$locale->tr("created")} {$locale->formatDate($updated,"%d %b, %Y")}
+    </div>
+   <div class="storycontent"><p>{$resource->getDescription()}</p></div>
+  {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/>
+    <div class="feedback">
+        <a href="{$url->resourceDownloadLink($resource)}">
+           <img src="{$url->getTemplateFile("download.gif")}" width="10" height="11" alt="Download" style="border:0px;" />
+           {$locale->tr("download")} ({$metadata->getRoundedSize()})
+        </a> 
+    </div>
+</div>
+  <p>
+   <a href="javascript:history.go(-1);">{$locale->tr("back")}</a>
+  </p>
+</div>
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}

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


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

Added: templates/trunk/aubmach/searchresults.template
===================================================================
--- templates/trunk/aubmach/searchresults.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/aubmach/searchresults.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,18 @@
+{include file="$blogtemplate/header.template"}
+<div id="content">
+   <h2>{$locale->tr("search_results")}</h2>
+   <p>
+    {foreach from=$searchresults item=result}
+     <div class="searchresult">
+      {assign var=article value=$result->getArticle()}
+      <a href="{$url->postPermalink($article)}"><h3><b>{$article->getTopic()}</b></h3></a>
+      <p>
+      {$article->getText()|strip_tags|truncate:300:"...":false}
+      </p>
+     </div>
+     <br/>
+    {/foreach}
+   </p> 
+</div>
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/aubmach/style.css
===================================================================
--- templates/trunk/aubmach/style.css	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/aubmach/style.css	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,286 @@
+/*  Aubergine Machine WordPress stylesheet
+    Copyright 2003-2004 Ben de Groot     
+    released under the GPL                  */
+
+
+html, body {
+	background: #335 url(aubmach.png) fixed repeat;
+	color: #eef;
+	top: 0;
+	left: 0;
+	margin: 0;
+	padding: 0;
+	border: none;
+	font-family: 'Trebuchet MS', 'Bitstream Vera Sans', verdana, sans-serif;
+	}
+
+body {
+	padding: 2em 8em;
+	}
+
+#header a {
+	display: block;
+	text-decoration: none;
+	color: #bbe;
+	margin: 0;
+	padding: 0;
+	}
+
+h1 {
+	text-align: right;
+	font-size: 4em;
+	font-weight: bold;
+	font-style: italic;
+	margin: 0;
+	padding: .4em;
+	}
+
+#content {
+	margin: 2em 0;
+	padding: 0;
+	float: left;
+	width: 70%;
+	background: #446;
+	border: 1px solid #335;
+	line-height: 140%;
+	}
+
+h2 {
+	font-weight: bold;
+	font-size: 1em;
+	text-align: right;
+	margin: 1em 20px 0 20px;
+	padding: 0 0 .1em 0;
+	color: #eef;
+	border-bottom: 1px solid #99b;
+	}
+
+h3 {
+	font-weight: normal;
+	font-size: 1.8em;
+	text-align: left;
+	color: #99b;
+	margin: .3em 20px;
+	padding: 0;
+	}
+
+div.meta {
+	text-align: right;
+	font-size: .9em;
+	margin: .7em 20px;
+	}
+
+div.feedback {
+	text-align: right;
+	margin: 0em 20px 2em 20px;
+}
+
+p {
+	margin: 20px;
+	}
+
+.post p {
+	text-align: justify;
+	}
+
+#menu {
+	margin: 2em 0;
+	padding: 0;
+	float: right;
+	width: 200px;
+	line-height: 130%;
+	}
+
+#menu ul{
+	margin: .2em 0 .2em 1.6em;
+	padding: .5em 0;
+	list-style: none;
+	}
+
+#menu ul li {
+	margin: 1em 0;
+	padding: 0;
+	font-size: 1em;
+	font-weight: bold;
+	text-transform: uppercase;
+	letter-spacing: .2em;
+	}
+
+#menu ul ul {
+	list-style: square;
+	}
+
+#menu ul ul li {
+	margin: 0;
+	padding: 0;
+	font-size: 1em;
+	font-weight: normal;
+	text-transform: none;
+	letter-spacing: normal;
+	}
+
+#menu li a {
+	margin: 0;
+	padding: 0;
+	}
+
+body>div#rap>h1#header, body>div#rap>div#content, body>div#rap>div#menu {
+	background: url(446-70.png) repeat;
+	border: 1px solid #335;
+	}
+
+* html h1#header, * html div#content, * html div#menu {
+	/* star html hack for IE, because it doesn't handle PNG transparency right */
+	background: #446;
+	background-image: none;
+	border: 1px solid #335;
+	}
+
+p.credit {
+	clear: both;
+	text-align: center;
+	color: #bbd;
+	}
+
+a {
+	color: #bbe;
+	text-decoration: none;
+	}
+
+a:hover, a:focus {
+	text-decoration: underline;
+	}
+
+abbr[title], acronym[title] {
+	cursor: help;
+	color: #eef;
+	border-bottom: 1px dotted #eef;
+	}
+
+a abbr[title], a acronym[title] {
+	color: #bbe;
+	}
+
+img {
+	border: none;
+	}
+
+input[type="submit"] {
+	margin: 0;
+/*	width: 25%;*/
+	padding: 1px;
+	background: transparent;
+	color: #eef;
+	font-family: 'Bitstream Vera Sans', verdana, sans-serif;
+	font-size: .9em;
+	border: 2px outset #99b;
+}
+
+input[type="submit"]:hover, input[type="submit"]:focus {
+	cursor: pointer;
+	background: #668;
+	}
+
+#menu input {
+	width: 100px;
+	margin: 0 0 .6em 0;
+}
+
+#menu input[type="submit"] {
+	width: 60px;
+	margin: 0 0 0 50px;
+}
+	
+
+td {
+	text-align: center;
+	font-weight: normal;
+	text-transform: none;
+	letter-spacing: normal;
+	}
+
+th {
+	font-weight: normal;
+	}
+	
+ul {
+	list-style: square;
+	}
+
+blockquote, pre, var {
+	font-style: normal;
+	font-family: 'Andale Mono', monospace;
+	}
+
+input {
+	width: 60%;
+	padding: .3em;
+	border: 1px solid #99b;
+	background: transparent;
+	color: #eef;
+	font-family: 'Bitstream Vera Sans', verdana, sans-serif;
+	font-size: .9em;
+	}
+
+textarea {
+	width: 95%;
+	height: 15em;
+	padding: .3em;
+	border: 1px solid #99b;
+	background: transparent;
+	color: #eef;
+	font-family: 'Bitstream Vera Sans', verdana, sans-serif;
+	font-size: .9em;
+	}
+
+.meta ul, .meta ul li {
+	display: inline;
+	list-style: none;
+	margin: 0;
+	padding: 0;
+	}
+
+#calendar {
+	background: transparent;
+	empty-cells: show;
+	font-size: 11px;
+	width: 150px;
+	margin: 0px;
+	border: 0px;
+}
+
+#calendar a {
+	color: #00B;
+}
+#calendar .calMonthForward a, #calendar .calMonthForward{
+	padding: 0px 5px 0px 0px;
+	text-align: right;
+	font-weight:normal;
+	font-size: 22px;
+}
+
+#calendar .calMonthBackward a, #calendar .calMonthBackward{
+	padding: 0px 0px 0px 5px;
+	text-align: left;
+	font-weight:normal;
+    font-size: 22px;
+}
+
+#calendar a:hover {
+	color: #FFF;
+}
+
+
+#calendar td, #calendar th {
+	color: #FFF;
+	font-size: 11px;
+	font-weight: normal;
+	padding: 0px;
+	text-align: center;
+}
+	
+.calMonthToday {
+	background: #98ABBD;
+	color: #FFF;
+}
+

Added: templates/trunk/blorange/about.template
===================================================================
--- templates/trunk/blorange/about.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/blorange/about.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,13 @@
+{include file="$blogtemplate/header.template"}
+<div id="content">
+ <div class="blog">
+  <div class="blogbody">
+  <h2 class="title">{$locale->tr("about")}</h2>
+  <div class="posted"><a href="{$url->templatePage("about")}">{$locale->tr("permalink")}</a></div>
+ You can change the contents of this page by editing the templates/about.template file.
+  </div>
+  <br />
+ </div>
+</div>
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/blorange/album.template
===================================================================
--- templates/trunk/blorange/album.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/blorange/album.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,99 @@
+{include file="$blogtemplate/header.template"}
+
+<div id="content">
+{assign var="postDate" value=$album->getTimestamp()}
+  <h2>{$locale->tr("album")}</h2>
+
+  <div class="post">
+    <h3 class="storytitle"><a href="{$url->albumLink($album)}">{$album->getName()}</a></h3>
+    <div class="meta">
+        {$locale->tr("created")} {$locale->formatDate($postDate,"%d %b, %Y")}
+    </div>    
+    <div class="storycontent"><p>{$album->getDescription()}</p></div>
+ 
+{** 
+    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="{$locale->tr("album")}">
+ <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 -->
+
+ {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 style="text-align:center">{include file="$misctemplatepath/pager.template" style="links"}</div>
+ </div>
+</div>
+
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/blorange/albums.template
===================================================================
--- templates/trunk/blorange/albums.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/blorange/albums.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,26 @@
+{include file="$blogtemplate/header.template"}
+<div id="content">
+ <h2>{$locale->tr("albums")}</h2>
+{foreach from=$albums item=album}
+ {assign var="aDate" value=$album->getTimestamp()}
+ <div class="post">
+    <h3 class="storytitle"><a href="{$url->albumLink($album)}">{$album->getName()}</a></h3>
+    <div class="meta">
+        {$locale->tr("created")} {$locale->formatDate($aDate,"%d %b, %Y")}
+    </div>
+    <div class="storycontent">
+    <p>
+       {$album->getDescription()|truncate:255:"..."|escape}
+    </p>
+    </div>
+    <div class="feedback">
+      <a href="{$url->albumLink($album)}">  
+       <img src="{$url->getTemplateFile("folderblue.gif")}" width="10" height="11" style="border:0px;" />
+        {$locale->tr("view")} ({$album->getNumResources()})
+       </a>
+    </div>
+ </div>
+{/foreach}
+</div>
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/blorange/commentarticle.template
===================================================================
--- templates/trunk/blorange/commentarticle.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/blorange/commentarticle.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,6 @@
+{include file="$blogtemplate/header.template"}
+ {if $blogsettings->getValue("comments_enabled")}
+    <h2>{$locale->tr("add_comment")}</h2>
+    {include file="$blogtemplate/commentform.template"}
+ {/if}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/blorange/commentform.template
===================================================================
--- templates/trunk/blorange/commentform.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/blorange/commentform.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,24 @@
+<form id="commentform" name="comments_form" action="{$url->getIndexUrl()}" method="post">
+  <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}"/>
+  <p>
+	<input tabindex="2" id="author" name="userName" />
+	<label for="author">{$locale->tr("comment_username")}</label>
+    </p>
+    <p>
+	<input tabindex="3" id="email" name="userEmail" />
+	<label for="email">{$locale->tr("comment_email")}</label>
+    </p>
+    <p>
+	<input tabindex="4" id="url" name="userUrl" />
+	<label for="url">{$locale->tr("comment_url")}</label>
+    </p>
+  <p>
+    <label for="commentText">{$locale->tr("add_comment")}</label><br />
+    
+    <textarea tabindex="5" id="text" name="commentText" rows="10" cols="50" id="commentText"></textarea><br /><br />
+    <input style="font-weight: bold;" type="submit" name="post" value="&nbsp;{$locale->tr("comment_send")}&nbsp;" /><br /><br />
+  </p>
+</form>

Added: templates/trunk/blorange/download.gif
===================================================================
(Binary files differ)


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

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


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

Added: templates/trunk/blorange/error.template
===================================================================
--- templates/trunk/blorange/error.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/blorange/error.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,20 @@
+{include file="$blogtemplate/header.template"}
+
+<div id="content">
+
+    <div class="post">
+        <h3 class="storytitle">{$locale->tr("error")}</h3>
+        
+        <div class="meta">
+            {$locale->tr("generated")} {$locale->formatDate($now,"%d %b, %Y")}
+        </div>
+        
+        <div class="storycontent">
+            <img src="{$url->getTemplateFile("error.gif")}" height="32" width="32" alt="Error"/>
+            {$locale->tr($message)}
+        </div>    
+    </div>
+</div>
+
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/blorange/folderblue.gif
===================================================================
(Binary files differ)


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

Added: templates/trunk/blorange/footer.template
===================================================================
--- templates/trunk/blorange/footer.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/blorange/footer.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,6 @@
+    </div>
+    <p class="credit">
+        Powered by <a href="http://www.lifetype.net" target="_blank">LifeType</a>
+    </p>
+    </body>
+</html>

Added: templates/trunk/blorange/header.template
===================================================================
--- templates/trunk/blorange/header.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/blorange/header.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,21 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$locale->getLanguageId()}" 
+      lang="{$locale->getLanguageId()}" dir="{$locale->getDirection()}">
+<head>
+    <title>{$blog->getBlog()}</title>
+    <meta http-equiv="Content-Type" content="text/html;charset={$locale->getCharset()}" />
+    <meta name="generator" content="{$version}" />
+    <meta http-equiv="Content-Language" content="{$locale->getLanguageId()}" />
+    
+    <link rel="stylesheet" title="default" type="text/css" media="screen" href="{$url->getTemplateFile("style.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")}" />
+</head>
+
+<body>
+<div id="rap">
+    <h1 id="header"><a href="{$url->blogLink()}" title="{$blog->getBlog()}">{$blog->getBlog()}</a></h1>
+
+

Added: templates/trunk/blorange/main.template
===================================================================
--- templates/trunk/blorange/main.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/blorange/main.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,13 @@
+{include file="$blogtemplate/header.template"}
+
+<div id="content">
+ {foreach from=$posts item=post}
+  <div class="post">
+    {include file="$blogtemplate/post.template"}
+  </div>
+ {/foreach}
+ <br/><div style="text-align:center">{include file="$misctemplatepath/pager.template" style="links"}</div>
+</div>
+
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}
\ No newline at end of file

Added: templates/trunk/blorange/panel.template
===================================================================
--- templates/trunk/blorange/panel.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/blorange/panel.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,67 @@
+
+<div id="menu">
+<ul>
+    <li id="search">{$locale->tr("search")}
+	   <form name="search_form" method="post"
+	   	      action="{$url->getIndexUrl()}">
+	      <input type="text" name="searchTerms" value="" size="14" /><br/>
+		  <input type="hidden" name="op" value="Search" />
+		  <input type="hidden" name="blogId" value="{$blog->getId()}"/>
+   </form>
+    </li>
+
+    <li id="wordpress">{$locale->tr("menu")}
+    <ul>
+     <li><a href="{$url->albumLink()}">{$locale->tr("albums")}</a></li>
+    </ul> 
+    </li>
+
+ <li id="categories">
+  {$locale->tr("categories")}
+  <ul>
+   {foreach from=$articlecategories item=articleCategory}
+    <li><a href="{$url->categoryLink($articleCategory)}">{$articleCategory->getName()} [{$articleCategory->getNumArticles()}]</a></li>
+   {/foreach}
+   </ul>
+ </li>
+  
+ <li id="archives">
+  {$locale->tr("archives")}
+  <ul>
+  {foreach from=$archives item=archivelink}
+   <li><a href="{$archivelink->getUrl()}">{$archivelink->getName()}</a></li>
+  {/foreach}
+  </ul>
+  </li>
+  <li id="calendar">
+	{$calendar}
+  </li>
+
+    <li id="meta">
+    Meta
+    <ul>
+     <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 href="http://validator.w3.org/check/referer" title="Valid XHTML 1.0 Transitional">Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr></a></li>
+     
+    </ul> 
+    </li>
+
+  <li id="style"> 
+  {$locale->tr("links")}
+  <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>
+    </li>
+</ul> 
+</div>

Added: templates/trunk/blorange/post.template
===================================================================
--- templates/trunk/blorange/post.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/blorange/post.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,32 @@
+{assign var="postDate" value=$post->getDateObject()}
+{assign var="postOwner" value=$post->getUserInfo()}
+
+<h3 class="storytitle"><a href="{$url->postPermalink($post)}">{$post->getTopic()}</a></h3>
+
+{assign var=postCategory value=$post->getCategory()}
+{assign var=postText value=$post->getText()}
+<div class="meta">
+
+  {foreach name=categories from=$post->getCategories() item=postCategory} 
+    <a href="{$url->categoryLink($postCategory)}"
+		   title="{$postCategory->getName()}">
+		   {$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
+  {/foreach}
+
+ &#8212; {$locale->tr("posted_by")} {$postOwner->getUsername()} @ {$locale->formatDate($postDate,"%H:%M")}
+</div>
+<div class="storycontent">
+    {$postText} 
+    <br style="clear: both;" />
+ </div>
+<div class="feedback">
+    <a href="{$url->postPermalink($post)}#comments" title="{$locale->tr("comment on this")}">
+        {if $post->getTotalComments() eq 0}{$locale->tr("comment on this")}{else}{$post->getTotalComments()} {$locale->tr("comments")}{/if}
+    </a> |
+	{if $post->getTotalTrackbacks() > 0}
+	  <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}</a>
+	{else}
+	  {$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}
+	{/if}
+</div>    
+

Added: templates/trunk/blorange/postandcomments.template
===================================================================
--- templates/trunk/blorange/postandcomments.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/blorange/postandcomments.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,41 @@
+{include file="$blogtemplate/header.template"}
+
+<div id="content">
+    {assign var="postDate" value=$post->getDateObject()}
+    {assign var="postOwner" value=$post->getUserInfo()}
+    <h2>{$locale->formatDate($postDate,"%d %b, %Y")}</h2>
+    
+    <div class="post">
+        {include file="$blogtemplate/post.template"}
+    
+        <h2 id="comments">{$locale->tr("comments")}</h2>
+        
+         <ol id="commentlist">
+        {foreach from=$comments item=comment}
+        {assign var=commentText value=$comment->getText()}
+            <li id="comment-{$comment->getId()}">
+                <p>{$commentText}</p>
+               
+               	<p><cite>{$locale->tr("posted_by")}
+                   {if $comment->getUserUrl() != ""}
+                    <a href="{$comment->getUserUrl()}"}>{$comment->getUsername()}</a>
+                   {else}
+                    {$comment->getUsername()}
+                   {/if} &#8212;
+                   {assign var=commentDate value=$comment->getDateObject()}
+                   {$locale->formatDate($commentDate, "%d %b %Y, %H:%M")}
+                </cite></p>
+            </li>
+        {/foreach}    
+        </ol>
+            
+        {if $blogsettings->getValue("comments_enabled") && $post->getCommentsEnabled()==1}
+            <br style="clear: both;" />
+           <h2>{$locale->tr("add_comment")}</h2>
+          {include file="$blogtemplate/commentform.template"}
+        {/if}
+    </div>
+</div>
+
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/blorange/posttrackbacks.template
===================================================================
--- templates/trunk/blorange/posttrackbacks.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/blorange/posttrackbacks.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,17 @@
+{include file="$blogtemplate/header.template"}
+<div id="content">
+ <div class="blog">
+  <div class="blogbody">
+   <h2 class="title">{$locale->tr("trackbacks_for_article")} "<a href="{$url->postLink($post)}">{$post->getTopic()}</a>"</h2>
+    {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/blorange/resource.template
===================================================================
--- templates/trunk/blorange/resource.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/blorange/resource.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,58 @@
+{include file="$blogtemplate/header.template"}
+{assign var=metadata value=$resource->getMetadataReader()}
+{assign var=updated value=$resource->getTimestamp()}
+<div id="content">
+  <h2>{$locale->tr("resources")}</h2>
+<div class="post">
+    <h3 class="storytitle"><a href="{$url->resourceLink($resource)}">{$resource->getFileName()}</a></h3>
+    <div class="meta">
+        {$locale->tr("created")} {$locale->formatDate($updated,"%d %b, %Y")}
+    </div>
+   <div class="storycontent"><p>{$resource->getDescription()}</p></div>
+  {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/>
+    <div class="feedback">
+        <a href="{$url->resourceDownloadLink($resource)}">
+           <img src="{$url->getTemplateFile("download.gif")}" width="10" height="11" alt="Download" style="border:0px;" />
+           {$locale->tr("download")} ({$metadata->getRoundedSize()})
+        </a> 
+    </div>
+</div>
+  <p>
+   <a href="javascript:history.go(-1);">{$locale->tr("back")}</a>
+  </p>
+</div>
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}

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


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

Added: templates/trunk/blorange/searchresults.template
===================================================================
--- templates/trunk/blorange/searchresults.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/blorange/searchresults.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,21 @@
+{include file="$blogtemplate/header.template"}
+<div id="content">
+   <h2>{$locale->tr("search_results")}: {foreach from=$searchterms item=term}{$term} {/foreach}</h2>
+   <p>
+    {foreach from=$searchresults item=result}
+     <div class="searchresult">
+      {assign var=article value=$result->getArticle()}
+      <a href="{$url->postPermalink($article)}"><h3><b>{$article->getTopic()}</b></h3></a>
+     <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>
+      {$article->getText()|strip_tags|truncate:300:"...":false}
+      </p>
+     </div>
+     <br/>
+    {/foreach}
+   </p> 
+</div>
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/blorange/style.css
===================================================================
--- templates/trunk/blorange/style.css	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/blorange/style.css	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,308 @@
+/* 
+	Blorange (v1.1) stylesheet for Wordpress 1.0+ || http://www.wordpress.org
+	
+	Layout, Style and Design by B A Khan || http://www.3digita.com
+	
+	Get more free templates, skins and stylesheets from 3digita.com!
+
+	License : GPL - http://www.gnu.org/copyleft/gpl.html
+*/
+
+body {
+	font-family: Verdana, Arial, Serif;
+	margin: 0;
+	padding: 0;
+	color: #333333;
+	background: #0a3567;
+}
+
+/* =====| MAIN LINKS |========== */
+
+a, .feedback a, .meta a  {
+	color: #ff7f00;
+	text-decoration: none;
+	border-bottom: 1px dashed;
+}
+
+a img {
+	border: none;
+}
+
+a:visited {
+	color: #ff7f00;
+}
+
+a:hover, .feedback a:hover, .meta a:hover  {
+	color: #ff0000;
+	text-decoration: none;
+	border-bottom: 1px solid;
+}
+
+
+/* =====| HEADER |========== */
+
+#header {
+	position:relative;
+	background: #333333;
+	margin:0px;
+	padding: 15px 0px 5px 30px;
+	border-bottom: 2px solid #fff;
+
+	font: 35px Verdana, Arial, Serif;
+	letter-spacing: -1px;
+
+	height:55px !important;
+	height /**/: 77px; /* for IE5/Win */
+}
+
+#header a {
+	color: #fff;
+	text-decoration: none;
+	border:0;
+}
+
+#header a:hover {
+	color: #ff0000;
+	text-decoration: none;
+}
+
+
+/* =====| MAIN BODY |========== */
+ 
+#content {
+	position:relative;
+	top:0px;
+	width:auto;
+	margin:0px;
+	margin-right:300px;
+	height: 100%;
+	background: #fff;
+	padding:10px 20px 50px 30px;
+	font: 80% Verdana, Arial, Serif;
+
+}
+
+h2, code {
+	font-family: Verdana, Arial, Serif;
+	margin: 15px 0 2px 0;
+	padding-bottom: 5px;
+	color: #0080ff;
+}
+
+h2 {
+	font: 120% Verdana, Arial, Serif;
+}
+
+h3 {
+	margin: 0;
+}
+
+.storytitle {
+	font-size: 170%;
+	letter-spacing:-1px;
+}
+
+p, .feedback {
+}
+
+.storycontent ul {
+	list-style: square;
+}
+
+acronym, abbr {
+	border-bottom: 1px dashed #333;
+}
+
+acronym, abbr, span.caps {
+	cursor: help;
+}
+
+blockquote {
+	border-left: 5px solid #ccc;
+	margin-left: 1.5em;
+	padding-left: 5px;
+}
+
+.credit {
+	font: 80% Verdana, Arial, Serif;
+	position:relative;
+	width:auto;
+	top:0px;
+	margin:0px;
+	text-align: center;
+	background: #ffffff;	
+	margin-right:300px;
+	padding:0 20px 20px 30px;
+}
+
+.credit a:link {
+	color: #ff7f00;
+	text-decoration: none;
+}
+
+.credit a:hover {
+	color: #ff0000;
+}
+
+cite {
+	font-style: normal;
+}
+
+.feedback {
+	text-align: right;
+}
+
+.meta {
+	margin: 15px 0 0px 0;
+	color: #808080;
+}
+
+.meta ul {
+	display: inline;
+	margin: 0;
+	padding: 0;
+}
+
+.meta li {
+	display: inline;
+	list-style: none;
+	padding-left:5px;
+	padding-right:5px;
+	border-left : 1px solid #808080;
+}
+
+#commentform {
+	background: #eeeeee;
+	padding:10px;
+}
+
+#commentform p {
+	padding:5px;
+	margin:0px;
+}
+
+
+#commentform input, #commentform textarea {
+	background: #ffffff;
+	border: 1px solid #333;
+	font: 1em Verdana, Arial, Serif;
+	padding-left: 2px;
+}
+
+#commentform textarea {
+	width: 90%;
+	padding-left: 2px;
+}	
+
+
+/* =====| SIDE MENU |========== */
+
+#menu {
+	position: absolute;
+	height:100%;
+	top: 82px;
+	right:0;
+	padding: 20px;
+	width: 250px !important;
+	width /**/: 290px; /* for IE5/Win */
+}
+
+#menu form {
+	margin: 0 0 0 20px;
+}
+
+#menu input {
+	background: #ffffff;
+	border: 1px solid #333;
+	font: 60% Verdana, Arial, Serif;
+	padding-left: 2px;
+}
+
+#menu ul {
+	list-style-type: none;
+	margin: 0px;
+	padding-left: 5px;
+}
+
+#menu ul li {
+	font: 150% Verdana, Arial, Serif;
+	letter-spacing: -1px;
+	margin-bottom: 15px;
+	color: #ffffff;
+	text-transform: lowercase;
+}
+
+#menu ul ul {
+	list-style-type: none;
+	margin: 0;
+	padding: 0;
+	text-align: left;
+}
+
+#menu ul ul li {
+	letter-spacing: 0;
+	margin: 0;
+	padding-left: 20px;
+	font: 60% Verdana, Arial, Serif;
+}
+
+#menu ul ul li a {
+	color: #ff7f00;
+	text-decoration: none;
+}
+
+#menu ul ul li a:hover {
+	color: #ff0000;
+}
+
+
+/* =====| CALENDAR |========== */
+
+#calendar {
+	empty-cells: show;
+	font-size: 14px;
+	margin: 0px;
+	width: 200px;
+}
+.calMonthHeader, .calMonthNav{
+	color: #fff;
+	font: 14px Verdana, Arial, serif;
+	padding-top:10px;
+	text-align: center;
+	text-transform: uppercase;
+}
+
+#calendar .calMonthForward, #calendar .calMonthForward>a{
+	padding-left: 5px;
+	text-align: center;
+	border:0px;
+}
+
+#calendar .calMonthBackward, #calendar .calMonthBackward>a{
+	padding-right: 5px;
+	text-align: center;
+	border:0px;
+}
+
+.calDayLink {
+	display: block;
+	text-decoration: none;
+}
+
+#calendar a:hover {
+	background: #ffffff;
+	color: #ff0000;
+}
+
+#calendar td {
+	color: #808080;
+	font: normal 12px Verdana, Arial, serif;
+	padding: 1px;
+	text-align: center;
+}
+
+#calendar .calMonthToday {
+	border: 1px solid #ffffff;
+}
+
+

Added: templates/trunk/blufill/album.template
===================================================================
--- templates/trunk/blufill/album.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/blufill/album.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,101 @@
+{include file="$blogtemplate/header.template"}
+<tr> 
+<td>
+<div id="container">
+{assign var="postDate" value=$album->getTimestamp()}
+<div class="blog">
+ <h2 class="date">{$album->getName()}</h2>
+ <div class="blogbody">
+  <div class="posted">
+   <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 width="100%" align="left" style="width:25%;" colspan="2" >
+   <a href="{$url->parentAlbumLink($album)}">
+    <img style="border:0px;" src="{$url->getUrl("/imgs/folder.gif")}" alt="Folder" />..</a>
+  </td></tr>
+  {assign var="counter" value=1}
+  {assign var=children value=$album->getChildren()}
+  {foreach from=$children item=childalbum}
+  <td width="48%" align="left" style="width:25%;" >
+   <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 -->
+
+ {foreach from=$resources item=resource}
+  <td style="width:50%;" 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 style="text-align:center">{include file="$misctemplatepath/pager.template" style="links"}</div>
+ </div>
+</div>
+</td> 
+</tr>
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/blufill/albums.template
===================================================================
--- templates/trunk/blufill/albums.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/blufill/albums.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,23 @@
+{include file="$blogtemplate/header.template"}
+<tr> 
+<td>
+<div id="container">
+{foreach from=$albums item=album}
+ {assign var="aDate" value=$album->getTimestamp()}
+ <div class="blog">
+ <h2 class="album">{$album->getName()}</h2>
+ <div class="albumbody">
+  <div class="posted">
+   <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>
+ </div>
+{$album->getDescription()|truncate:255:"..."|escape}
+</div>
+{/foreach}
+</div>
+</td> 
+</tr>
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/blufill/bg.png
===================================================================
(Binary files differ)


Property changes on: templates/trunk/blufill/bg.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

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


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

Added: templates/trunk/blufill/bubble.gif
===================================================================
(Binary files differ)


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

Added: templates/trunk/blufill/commentarticle.template
===================================================================
--- templates/trunk/blufill/commentarticle.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/blufill/commentarticle.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,11 @@
+{include file="$blogtemplate/header.template"}
+   <tr> 
+      <td> 
+ <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}
+ </td> 
+</tr>
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/blufill/commentform.template
===================================================================
--- templates/trunk/blufill/commentform.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/blufill/commentform.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,34 @@
+ <div class="comments-body">
+  <form name="comments_form" action="{$url->getIndexUrl()}" method="post">
+   <div style="width:150px; margin-left:3px; padding-right:2px; margin-right:5px; 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="8" cols="38"></textarea><br />
+  <input align="right" style="margin-top: 4px; margin-right: 10px; font-size: 12px; font-weight: bold; color: #fff; background: #9DC342; float:right" 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/blufill/download.gif
===================================================================
(Binary files differ)


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

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


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

Added: templates/trunk/blufill/error.template
===================================================================
--- templates/trunk/blufill/error.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/blufill/error.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,26 @@
+{include file="$blogtemplate/header.template"}
+   <tr> 
+      <td> 
+<div id="container">
+ <div class="blog">
+  <div class="blogbody">
+   <h2 class="title">{$locale->tr("error")}</h2>
+   <div class="posted">
+    {$locale->tr("generated")} {$locale->formatDate($now,"%d %b, %Y")}
+   </div>
+   <table>
+    <tr>
+     <td>
+      <img src="{$url->getTemplateFile("error.gif")}" height="32" width="32" alt="Error"/>
+     </td>
+     <td>
+      {$locale->tr($message)}
+     </td>
+    </tr>
+   </table>   
+  </div>
+ </div>
+</div>
+   </td> 
+</tr>
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/blufill/folderblue.gif
===================================================================
(Binary files differ)


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

Added: templates/trunk/blufill/footer.template
===================================================================
--- templates/trunk/blufill/footer.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/blufill/footer.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,12 @@
+    <tr> 
+      <td colspan="2"> 
+			  <div id="footer">
+				  <div class="next" style="float:left"><a href="#top">^ {$locale->tr("back_top")}</a></div>
+					<div class="next" style="float:right"><a href="#top">{$locale->tr("back_top")} ^</a></div>
+					 Copyright © of {$blog->getBlog()}<br/>powered by <a href="http://www.lifetype.net/" target="_blank">LifeType</a>
+				</div>
+      </td>
+    </tr>
+  </table></center>
+</body>
+</html>

Added: templates/trunk/blufill/header.template
===================================================================
--- templates/trunk/blufill/header.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/blufill/header.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//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>
+ <title>{$blog->getBlog()}</title>
+ <meta http-equiv="Content-Type" content="text/html;charset={$locale->getCharset()}" />
+ <meta name="generator" content="{$version}" />
+ <meta http-equiv="Content-Language" content="{$locale->getLanguageId()}" />
+ <meta name="DESCRIPTION" content="" />
+ <meta name="ROBOTS" content="INDEX,FOLLOW" />
+ <meta name="resource-type" content="document" />
+ <meta http-equiv="expires" content="0" />
+ <meta name="template-author" content="M. Padiernos" />
+ <meta name="template-copyright" content="Copyright (c) 2003-2004 M. Padiernos, Gaby's Family Page" />
+ <meta name="distribution" content="Global" />
+ <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>
+  <center><table width="500px" border="0" cellspacing="0" cellpadding="0" style="background-color:#ffffff; text-align: left;">
+    <tr> 
+      <td colspan="2" style="background: #C4DB8D"> 
+			  <div id="banner"> 
+          <a href="{$url->blogLink()}"><img src="{$url->getTemplateFile('title.jpg')}" width="500" height="80" alt="" style="border:0"/></a>
+        </div>
+        <div id="bannertitle">
+         {$blog->getBlog()}
+        </div>
+        <div id="navbar" style="text-align:center">
+		      <span><a href="{$url->blogLink()}">{$locale->tr("main")} </a> |
+		      </span> 
+					<span><a href="{$url->albumLink()}">
+		         {$locale->tr("albums")}</a> |
+		      </span>
+		      <span><a href="{$url->getAdminUrl()}" target="blank">{$locale->tr("admin")}</a>
+		      </span>
+				</div>
+		  </td>
+    </tr>

Added: templates/trunk/blufill/icon_link.gif
===================================================================
(Binary files differ)


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

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


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

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


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

Added: templates/trunk/blufill/main.template
===================================================================
--- templates/trunk/blufill/main.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/blufill/main.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,16 @@
+{include file="$blogtemplate/header.template"}
+    <tr> 
+      <td valign="top" style="width: 350px; border-left:1px solid #EAEAEA;">
+			  <div id="content"> 
+          <div id="blog">
+					  {foreach from=$posts item=post} 
+						  {include file="$blogtemplate/post.template"} 
+            {/foreach} 
+					</div>
+                    <div style="text-align:center">{include file="$misctemplatepath/pager.template" style="links"}</div>
+        </div></td>
+      <td valign="top" style="border-right:1px solid #EAEAEA;">
+			 {include file="$blogtemplate/panel.template"}
+			</td>
+    </tr>
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/blufill/panel.template
===================================================================
--- templates/trunk/blufill/panel.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/blufill/panel.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,60 @@
+<div id="links">
+ <div class="sidetitle">
+  {$locale->tr("recently")}
+ </div>
+ <div class="side">
+  <ul>
+  {foreach from=$recentposts item=post}
+   <li><a title="{$post->getText()|truncate:15:"..."|strip_tags|escape}" href="{$url->postLink($post)}">{$post->getTopic()}</a></li>
+  {/foreach}
+  </ul>
+ </div>
+ 	  
+<div class="sidetitle">
+   {$locale->tr("search")}
+</div>
+<div class="side" style="margin-left: 5px">
+   <form name="search_form" method="post" action="{$url->getIndexUrl()}">
+    <input type="text" name="searchTerms" value="" size="14" /><br/>
+    <input type="hidden" name="op" value="Search" />
+    <input type="hidden" name="blogId" value="{$blog->getId()}"/>   
+    <input type="submit" name="Search" value="{$locale->tr("search")}" />
+   </form>
+</div>
+  	   
+ <div class="sidetitle" >
+  {$locale->tr("categories")}
+ </div>
+ <div class="side" style="margin-left: 5px">
+  <ul>
+   {foreach from=$articlecategories item=articleCategory}
+    <li> <a class="nodecoration" href="{$url->categoryRssLink($articleCategory)}"><img src="{$url->getUrl("/imgs/rss_logo_small.gif")}" style="vertical-align:middle; border:0" alt="RSS This Catgory"/></a> [{$articleCategory->getNumArticles()}] <a href="{$url->categoryLink($articleCategory)}">{$articleCategory->getName()}</a>
+    </li>
+   {/foreach}
+   </ul>
+ </div>
+
+ <div class="sidetitle">
+  {$locale->tr("archives")}
+ </div>
+ <div class="side">
+  <ul>
+  {foreach from=$archives item=archivelink}
+   <li><a href="{$archivelink->getUrl()}">{$archivelink->getName()}</a> [{$archivelink->getNumArticles()}]</li>
+  {/foreach}
+  </ul>
+ </div>
+
+ <div class="sidetitle">
+  {$locale->tr("syndicate")}
+ </div>
+ <div class="side" style="text-align:center">
+  <ul>
+   <li><a title="Link to the RSS 0.90 feed." href="{$url->rssLink("rss090")}"><img src="{$url->getUrl('/imgs/rss090_logo.gif')}" alt="Link to the RSS 0.90 feed" title="RSS 0.90" style="border:0" /></a></li>
+   <li><a title="Link to the RSS 1.0 feed." href="{$url->rssLink("rss10")}"><img src="{$url->getUrl('/imgs/rss10_logo.gif')}" alt="Link to the RSS 1.0 feed" title="RSS 1.0" style="border:0" /></a></li>
+   <li><a title="Link to the RSS 2.0 feed." href="{$url->rssLink("rss20")}"><img src="{$url->getUrl('/imgs/rss20_logo.gif')}" alt="Link to the RSS 2.0 feed" title="RSS 2.0" style="border:0" /></a></li>
+   <li><a title="Link to the Atom 0.3 feed." href="{$url->rssLink("atom")}"><img src="{$url->getUrl('/imgs/atom_logo.png')}" alt="Atom 0.3" title="Link to the Atom 0.3 feed" style="border:0" /></a></li>
+  </ul> 
+ </div>
+ 
+</div>

Added: templates/trunk/blufill/post.gif
===================================================================
(Binary files differ)


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

Added: templates/trunk/blufill/post.template
===================================================================
--- templates/trunk/blufill/post.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/blufill/post.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,21 @@
+{assign var="postDate" value=$post->getDateObject()}
+{assign var="postOwner" value=$post->getUserInfo()}
+<div class="blog">
+ <div class="blogbody">
+  <h2 class="title"><a href="#top"><img src="{$url->getTemplateFile("top.gif")}" style="border:0; padding-top: 3px; float:right; margin-right: 2px; vertical-align: bottom" alt=""/></a>{$post->getTopic()}</h2>
+  <h3 class="postby">{$locale->tr("posted_by")} {$postOwner->getUsername()} | {$locale->formatDate($postDate,"%b %d, '%y @ %H:%M")}<br /> </h3>
+   <div class="posted">
+ {$post->getText()} <br />
+	 </div>
+	 <div style="text-align:left; margin-bottom: 25px; margin-left: 6px; font-size: 10px">
+     <a href="{$url->postPermalink($post)}"><img alt="{$locale->tr("permalink")}" src="{$url->getTemplateFile("post.gif")}" width="10" height="11" style="border: 0px; vertical-align: middle" /></a> | 
+     <a href="{$url->postTrackbackStatsLink($post)}"><img alt="{$locale->tr("trackbacks")} [{$post->getTotalTrackbacks()}]" src="{$url->getTemplateFile("trackback.gif")}" width="16" height="11" style="border: 0px; vertical-align: middle" /></a> |
+		 <a href="{$url->postPermalink($post)}" style=" font-size: 10px; font-family:georgia, verdana, arial, sans-serif;"><img alt="{$locale->tr("comments")}  [{$post->getTotalComments()}]" src="{$url->getTemplateFile("bubble.gif")}" width="11" height="11" style="border: 0px; vertical-align: middle;" /> {$locale->tr("comments")}  [{$post->getTotalComments()}]</a> | 
+
+		  {foreach name=categories from=$post->getCategories() item=postCategory}
+		    <a href="{$url->categoryLink($postCategory)}">{$postCategory->getName()}</a>
+		  {if !$smarty.foreach.categories.last}, {/if}
+		  {/foreach}
+		 </div>
+	</div>
+ </div>

Added: templates/trunk/blufill/postandcomments.template
===================================================================
--- templates/trunk/blufill/postandcomments.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/blufill/postandcomments.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,39 @@
+{include file="$blogtemplate/header.template"}
+   <tr> 
+      <td> 
+{assign var="postDate" value=$post->getDateObject()}
+{assign var="postOwner" value=$post->getUserInfo()}
+<div id="container">
+ <!-- {$url->postTrackbackLink($post)} -->
+ {include file="$blogtemplate/post.template"}
+ <div class="blog">
+ <div class="comments-head">
+  <a name="comments"></a>Comments
+ </div>
+ {foreach from=$comments item=comment}
+  <div class="comments-main">
+   <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>
+  </div>
+ {/foreach}
+ </div>
+ {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"}
+  </div>
+ {/if}
+</div>
+   </td> 
+</tr>
+{include file="$blogtemplate/footer.template"}
+

Added: templates/trunk/blufill/posttrackbacks.template
===================================================================
--- templates/trunk/blufill/posttrackbacks.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/blufill/posttrackbacks.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,17 @@
+{include file="$blogtemplate/header.template"}
+<div id="content">
+ <div class="blog">
+  <div class="blogbody">
+   <h2 class="title">{$locale->tr("trackbacks_for_article")} "<a href="{$url->postLink($post)}">{$post->getTopic()}</a>"</h2>
+    {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/blufill/resource.template
===================================================================
--- templates/trunk/blufill/resource.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/blufill/resource.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,58 @@
+{include file="$blogtemplate/header.template"}
+<tr> 
+      <td>
+{assign var=metadata value=$resource->getMetadataReader()}
+{assign var=updated value=$resource->getTimestamp()}
+<div id="container">
+ <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>
+   <a href="javascript:history.go(-1);">{$locale->tr("back")}</a>
+  </p>
+ </div>
+</div>
+</td> 
+</tr>
+{include file="$blogtemplate/footer.template"}

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


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

Added: templates/trunk/blufill/searchresults.template
===================================================================
--- templates/trunk/blufill/searchresults.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/blufill/searchresults.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,23 @@
+{include file="$blogtemplate/header.template"}
+  <tr> 
+    <td valign="top" style="width: 350px; border-left:1px solid #EAEAEA;">
+	  <div id="content"> 
+   <h2>{$locale->tr("search_results")}</h2>
+   <p>
+    {foreach from=$searchresults item=result}
+     <div class="searchresult">
+      {assign var=article value=$result->getArticle()}
+      <a href="{$url->postPermalink($article)}"><h3><b>{$article->getTopic()}</b></h3></a>
+      <p>
+      {$article->getText()|strip_tags|truncate:300:"...":false}
+      </p>
+     </div>
+     <br/>
+    {/foreach}
+   </p> 
+   </div></td>
+      <td valign="top" style="border-right:1px solid #EAEAEA;">
+			 {include file="$blogtemplate/panel.template"}
+			</td>
+    </tr>
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/blufill/style.css
===================================================================
--- templates/trunk/blufill/style.css	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/blufill/style.css	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,428 @@
+body {
+ background: #73AACB repeat-y fixed center url(bg.png);
+ text-align: center;
+ margin-left: auto;
+ margin-right: auto;
+ margin-bottom: 0px;
+ margin-top: 0px;
+ padding-left:1px;
+}
+A { font-family: Arial, Helvetica, sans-serif; font-size: 12px; 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 {
+ border-top:4px solid #96C6E3;
+ background:#96C6E3;
+}
+#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;
+}
+
+#bannertitle {
+ font-family:verdana, arial, sans-serif;
+ position: absolute;
+ left: 220px;
+ top: 50px;
+ width: 480px;
+ text-align: center;
+ font-weight: bold;
+ font-size: 20px;
+ color: #ffffff;
+ letter-spacing: .2em;
+}
+
+#navbar,
+#navbar a,
+#navbar a:link,
+#navbar a:visited,
+#navbar a:active {
+ background: #96C6E3; 
+ padding-bottom: 3px; 
+ border-bottom:1px dashed #336699; 
+ font-family: Arial, Helvetica, sans-serif;
+ color: #fff;
+ font-size: 12px;
+}
+
+#navbar a:hover {
+ color: #4C93BF;
+ text-decoration: none;
+}
+#footer{
+ text-decoration: none; 
+ font-weight:bold;
+ font-family:verdana, arial, sans-serif;
+ color:#fff;
+ font-size:8px;
+ border-bottom:4px solid #96C6E3;
+ border-top: 1px dashed #336699;
+ background:#4C93BF;
+ padding:6px; 
+ text-transform:uppercase;
+ text-align: center;
+ letter-spacing: .1em;
+}
+#footer a,
+#footer a:link,
+#footer a:visited,
+#footer a:active {
+ text-decoration: none; 
+ font-weight:bold;
+ font-family:verdana, arial, sans-serif;
+ color:#fff;
+ font-size:8px;
+ background:#4C93BF;
+ padding:2px; 
+ text-transform:uppercase;
+ text-align: center;
+ letter-spacing: .1em;
+} 
+#footer a:hover {
+ font-family:verdana, arial, sans-serif;
+ font-size: 8px;
+ color: #7DD1FD;
+ text-decoration: none;
+}
+
+.description {
+ font-family:verdana, arial, sans-serif;
+ color:#003366;
+ font-size:x-small;
+ font-weight:bold;
+ background:#C9ECCB;
+ text-transform:none;
+}
+
+#content {
+ /*margin-right:0.5%;*/
+ text-align: left;
+  margin-bottom: 15px;
+}
+
+#links {
+
+ margin-left: 3px;
+ margin-right: 3px;
+ /*border-left: 1px dotted #999;*/
+ vertical-align: top;
+ width: 155px;
+ text-align: left;
+}
+.dot{
+	vertical-align: middle;
+	margin-right:7px;
+	border: 0px;
+} 
+ 
+ 
+#links ul {
+ list-style: none;
+ padding-left: 0px;
+ margin-left: 0px;
+ padding-top: 1px;
+ padding-bottom: 1px;
+ margin-top: 8px;
+ margin-bottom: 8px;
+ font-size: 10px;
+ font-family:georgia, verdana, arial, sans-serif; 
+ letter-spacing: .1em;
+} 
+
+#links ul a,
+#links ul a:link,
+#links ul a:visited,
+#links ul a:active,
+#links ul a:hover {
+ font-weight: normal;
+ text-decoration: none;
+ font-family:georgia, verdana, arial, sans-serif; 
+ font-size: 10px;
+ letter-spacing: .0em;
+}
+
+#blog {
+  padding-left:1%;
+  padding-top:0px;
+  padding-right:1%;
+  border-right:1px solid #EAEAEA;
+}
+
+.blogbody {
+ font-family:georgia, verdana, arial, sans-serif;
+ color:#333;
+ font-size:12px;
+ font-weight:normal;
+ line-height:140%;
+ padding-left:3px;
+ padding-right:3px;
+ padding-top:5px;
+}
+
+.blogbody a,
+.blogbody a:link,
+.blogbody a:visited,
+.blogbody a:active,
+.blogbody a:hover {
+ font-weight: normal;
+ text-decoration: none;
+ font-family: Arial, Helvetica, sans-serif;
+}
+
+.albumbody {
+ font-family:georgia, verdana, arial, sans-serif;
+ color:#333;
+ font-size:small;
+ font-weight:normal;
+ line-height:140%;
+ padding-left:10px;
+ padding-right:3px;
+ padding-top:0px;
+ padding-bottom: 5px;
+ border-bottom: 1px solid #999999;
+ margin-bottom: 10px;
+}
+.albumbody a,
+.albumbody a:link,
+.albumbody a:visited,
+.albumbody a:active,
+.albumbody a:hover {
+ font-weight: normal;
+ text-decoration: none;
+}
+
+
+.title{
+ font-family: Arial, Helvetica, sans-serif;
+ font-size: 10px;
+ color: #003366;
+ text-transform: uppercase;
+ font-weight:bold;
+ border-bottom: 1px solid #999;
+ margin-left: 3px;
+ margin-right: 3px;
+}
+.postby{
+font-family:georgia, verdana, arial, sans-serif; 
+font-size: 9px; 
+color: #003366;
+margin-bottom:5px; 
+margin-right: 5px;
+margin-top: 2px;
+text-align: right;
+}
+#menu {
+ margin-bottom:15px;
+}
+
+.date{ 
+ font-family:georgia, verdana, arial, sans-serif; 
+ font-size: 10px; 
+ color: #666; 
+ border-bottom:1px solid #999;
+ padding:5px;
+ margin-bottom:1px;
+ font-weight:normal;
+}
+
+.album{ 
+ font-family:georgia, verdana, arial, sans-serif; 
+ font-size: small; 
+ color: #666; 
+ padding:5px;
+ font-weight:normal;
+}
+
+.posted{ 
+font-family: Arial, Helvetica, sans-serif; 
+font-size: 12px; 
+color: #003366;
+margin-bottom:5px; 
+margin-top: 5px
+}
+
+.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;
+}
+
+.side {
+font-family:georgia, verdana, arial, sans-serif;
+color:#333;
+font-size:x-small;
+font-weight:normal;
+  line-height:100%;
+  padding:5px;
+}
+
+.sidetitle {
+font-family:verdana, arial, sans-serif;
+color:#666;
+font-size:10px;
+font-weight:bold;
+  background:#EEE;
+  line-height:160%;
+  padding:2px;
+  border-top:6px solid #e6e6e6;;
+  text-align:center;
+  text-transform:uppercase;
+letter-spacing: .1em;  
+}
+
+.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:12px;
+font-weight:normal;
+}
+.comments-main {
+font-family:georgia, verdana, arial, sans-serif;
+color:#666;
+font-size:11px;
+font-weight:normal;
+margin-left: 5px;
+margin-right: 5px;
+}
+
+.comments-post {
+font-family:verdana, arial, sans-serif;
+color:#666;
+font-size:10px;
+font-weight:normal;
+margin-right: 5px;
+}
+
+.trackback-body {
+font-family:verdana, arial, sans-serif;
+color:#666;
+font-size:small;
+font-weight:normal;
+  line-height:140%;
+  padding:10px;
+}
+
+.trackback-url {
+ font-family:verdana, arial, sans-serif;
+ color:#666;
+ font-size:small;
+ font-weight:normal;
+ 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;
+}
+
+.comments-head{ 
+ font-family: georgia, verdana, arial, sans-serif;
+ font-size: 11px;
+ color: #666;
+ border-bottom:1px solid #999;
+ padding:5px;
+ font-weight:normal;
+ margin-top:15px;
+ margin-left:5px;
+ margin-right:5px;
+ text-align: left;
+}
+
+#banner-commentspop {
+ border-top:4px solid #D5FFCB;
+ background:#C4DB8D;
+}
+
+/**
+ * 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;
+}
+.menu { 
+ text-decoration : none; 
+ font-family: arial, verdana, sans-serif; 
+ font-size: 10pt; 
+ color: #000000; }
\ No newline at end of file

Added: templates/trunk/blufill/title.jpg
===================================================================
(Binary files differ)


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

Added: templates/trunk/blufill/toolbar.js
===================================================================
--- templates/trunk/blufill/toolbar.js	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/blufill/toolbar.js	2006-07-24 02:46:34 UTC (rev 3782)
@@ -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

Added: templates/trunk/blufill/top.gif
===================================================================
(Binary files differ)


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

Added: templates/trunk/blufill/trackback.gif
===================================================================
(Binary files differ)


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

Added: templates/trunk/bubble-blue/album.template
===================================================================
--- templates/trunk/bubble-blue/album.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/bubble-blue/album.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,84 @@
+{include file="$blogtemplate/header.template"}
+<h1>{$album->getName()}</h1>
+<p>
+ {$album->getDescription()}
+</p>
+
+ <!-- album contents go here -->
+<div id="album">
+<table style="border:0px;width:100%;" summary="Album Resources">
+ <tr>
+  <td style="width:25%;" align="center" >
+   <a class="nodecoration" 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 class="nodecoration" 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%3 == 0}
+   </tr>
+   <tr>
+  {/if}
+ {/foreach}
+
+ <!--- show the resources here -->
+
+ {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 class="nodecoration" 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%3 == 0}
+   </tr>
+   <tr>
+  {/if}
+ {/foreach}
+ <td></td></tr>
+</table>
+</div>
+ <!-- end of album contents -->
+ <div style="text-align:center">{include file="$misctemplatepath/pager.template" style="links"}</div>
+ {include file="$blogtemplate/footer.template"}

Added: templates/trunk/bubble-blue/albums.template
===================================================================
--- templates/trunk/bubble-blue/albums.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/bubble-blue/albums.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,25 @@
+{include file="$blogtemplate/header.template"}
+<h1>{$locale->tr("albums")}</h1>
+ <!-- album contents go here -->
+<div id="album">
+<table style="border:0px;width:100%;" summary="Albums">
+<tr>
+  {assign var="counter" value=0}
+  {foreach from=$albums item=album}
+  <td style="width:33%;" align="center">
+   <a class="nodecoration" href="{$url->albumLink($album)}">
+   <img style="border:0px;" src="{$url->getUrl("/imgs/folder.gif")}" alt="Folder" /><br/>
+   {$album->getName()} ({$album->getNumResources()})
+  </a>
+  {assign var="counter" value="`$counter+1`"}
+  </td>
+  {if $counter%3 == 0}
+   </tr>
+   <tr>
+  {/if}
+ {/foreach}
+ <td></td></tr>
+ </table>
+ </div>
+ <!-- end of the albums -->
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/bubble-blue/bk31.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/bubble-blue/bk31.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/bubble-blue/bk31b.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/bubble-blue/bk31b.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/bubble-blue/blue_screenshot.jpg
===================================================================
(Binary files differ)


Property changes on: templates/trunk/bubble-blue/blue_screenshot.jpg
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/bubble-blue/commentarticle.template
===================================================================
--- templates/trunk/bubble-blue/commentarticle.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/bubble-blue/commentarticle.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,4 @@
+{include file="$blogtemplate/header.template"}
+<h3>{$locale->tr("add_comment")}</h3>
+ {include file="$blogtemplate/commentform.template"}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/bubble-blue/commentform.template
===================================================================
--- templates/trunk/bubble-blue/commentform.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/bubble-blue/commentform.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,14 @@
+  <form name="NewComment" action="{$url->getIndexUrl()}" method="post">
+  <p>
+   {$locale->pr("comment_topic")}<br/><input type="text" name="commentTopic" value=""/><br/>
+   {$locale->pr("comment_text")} <br/><textarea rows="10" cols="50" name="commentText"></textarea><br/>
+   {$locale->pr("comment_username")}<br/> <input type="text" name="userName" value=""/><br/>
+   {$locale->pr("comment_email")}<br/> <input type="text" name="userEmail" value=""/><br/>
+   {$locale->pr("comment_url")}<br/> <input type="text" name="userUrl" value=""/><br/>
+   <input type="submit" value="{$locale->pr("comment_send")}" name="Add"/><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}"/>
+  </p>
+  </form>

Added: templates/trunk/bubble-blue/error.template
===================================================================
--- templates/trunk/bubble-blue/error.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/bubble-blue/error.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,4 @@
+{include file="$blogtemplate/header.template"}
+ <h1>{$locale->tr("error")}</h1>
+ {$locale->tr($message)}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/bubble-blue/footer.template
===================================================================
--- templates/trunk/bubble-blue/footer.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/bubble-blue/footer.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,56 @@
+ </div>
+ <div id="Sidebar-r">
+  <div class="Sidetitle">
+   <h4>{$locale->tr("archives")}</h4>
+  </div>
+  <p>
+   {foreach from=$archives item=month}
+   <a href="{$month->getUrl()}">{$month->getName()}</a><br/>
+   {/foreach}
+  </p>
+  <div class="Sidetitle">
+   <h4>{$locale->tr("categories")}</h4>
+  </div>
+  <p>
+   {foreach from=$articlecategories item=articleCategory}
+   <a href="{$url->categoryLink($articleCategory)}">{$articleCategory->getName()}</a> [{$articleCategory->getNumArticles()}]
+   <a class="nodecoration" href="{$url->categoryRssLink($articleCategory)}"><img border="0" src="{$url->getUrl("/imgs/rss_logo_small.gif")}" alt="RSS Feed for this category." /></a><br/>
+   {/foreach}
+  </p>
+  <div class="Sidetitle">
+   <h4>{$locale->tr("my_links")}</h4>
+  </div>
+  <p>
+   {foreach from=$mylinkscategories item=linkcategory}
+    <b>{$linkcategory->getName()}</b><br/>
+    {foreach from=$linkcategory->getLinks() item=link}
+     <a href="{$link->getUrl()}" title="{$link->getDescription()}">{$link->getName()}</a><br/>
+    {/foreach}
+   {/foreach}
+  </p>
+     <div class="Sidetitle">
+    <h4>{$locale->tr("syndicate")}</h4>
+   </div>
+   <p>
+    <a class="nodecoration" title="Link to the RSS 0.90 feed." href="{$url->rssLink("rss090")}"><img src="{$url->getUrl("/imgs/rss090_logo.gif")}" border="0"/></a><br/>
+    <a class="nodecoration" title="Link to the RSS 1.0 feed." href="{$url->rssLink("rss10")}"><img src="{$url->getUrl("/imgs/rss10_logo.gif")}" border="0"/></a><br/>
+    <a class="nodecoration" title="Link to the RSS 2.0 feed." href="{$url->rssLink("rss20")}"><img src="{$url->getUrl("/imgs/rss20_logo.gif")}" border="0"/></a><br/>
+    <a class="nodecoration" title="Link to the Atom 0.3 feed." href="{$url->rssLink("atom")}"><img src="{$url->getUrl("/imgs/atom_logo.png")}" border="0"/></a><br/>	
+   </p>
+ </div>
+ </div>
+ <div id="Bottommenu">
+  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>.
+ </div>
+<!-- Please leave the credit intact. Thank you. -->
+<div id="Bottom">
+    <img alt="Valid XHTML" src="{$url->getUrl("/imgs/xhtml10_logo.gif")}" border="0"/>
+    <a title="Powered by PHP" href="http://www.php.net"><img alt="Powered by PHP" src="{$url->getUrl("/imgs/php_logo.gif")}" border="0"/></a>
+    <a title="CSS used here" href="http://www.w3.org/Style/CSS/"><img alt="Powered by PHP" src="{$url->getUrl("/imgs/css_logo.gif")}" border="0"/></a>
+    <a title="Powered by MySQL" href="http://www.mysql.com"><img alt="Powered by PHP" src="{$url->getUrl("/imgs/mysql_logo.gif")}" border="0"/></a><br/><br>
+    Powered by <a href="http://www.lifetype.net"><img alt="Powered by LifeType" src="{$url->getUrl("/imgs/plog-small.gif")}" border="0"/> LifeType</a>
+  Design by <a href="http://www.bookofstyles.org/">Book of Styles</a><br/><br>
+<a href="{$url->rssLink("rss20")}"><img src="{$url->getUrl("/imgs/rss_logo_small.gif")}" alt="[Valid RSS]" title="Validate my RSS feed" width="31" height="17" align="absmiddle" border=0>This site is RSS valid</a>
+</div>
+</body>
+</html>

Added: templates/trunk/bubble-blue/header.template
===================================================================
--- templates/trunk/bubble-blue/header.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/bubble-blue/header.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,52 @@
+<!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()}</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")}" />
+</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>
+  <div id="Container">
+  <div id="Top"><h1>{$blog->getBlog()}</a></h1></div>
+  <div id="Topmenu">
+&nbsp;<a href="{$url->blogLink()}" class="navigation">{$locale->tr("main")}</a>&nbsp;<a href="{$url->albumLink()}" class=text-link-yellow >{$locale->tr("albums")}</a> 
+  </div>
+  <div id="Main">
+  <div id="Sidebar-l">
+
+   <div class="Sidetitle">
+    <h4>{$locale->tr("search")}</h4>
+   </div>
+   <p>
+	   <form name="search_form" method="post" action="{$url->getIndexUrl()}">
+	    <input type="text" name="searchTerms" value="" size="14" /><br/>
+	    <input type="hidden" name="op" value="Search" />
+	    <input type="hidden" name="blogId" value="{$blog->getId()}"/>   
+	    <input type="submit" name="Search" value="{$locale->tr("search")}" />
+	   </form>
+   </p>
+
+   <div class="Sidetitle">
+    <h4>{$locale->tr("calendar")}</h4>
+   </div>
+   <p>
+    {$calendar}
+   </p>
+   <div class="Sidetitle">
+    <h4>{$locale->tr("recently")}</h4>
+   </div>
+   <p>
+    {foreach from=$recentposts item=post}
+    <a title="{$post->getText()|truncate:150:"..."|escape}" href="{$url->postLink($post)}">{$post->getTopic()}</a><br/>
+    {/foreach}
+   </p> 
+  </div>
+  <div id="Content">

Added: templates/trunk/bubble-blue/main.template
===================================================================
--- templates/trunk/bubble-blue/main.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/bubble-blue/main.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,7 @@
+{include file="$blogtemplate/header.template"}
+ {foreach from=$posts item=post}
+  {include file="$blogtemplate/post.template"}
+ {/foreach}
+ <br/>
+ <div style="text-align:center">{include file="$misctemplatepath/pager.template" style="links"}</div>
+{include file="$blogtemplate/footer.template"}
\ No newline at end of file

Added: templates/trunk/bubble-blue/post.template
===================================================================
--- templates/trunk/bubble-blue/post.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/bubble-blue/post.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,13 @@
+<h3>{$post->getTopic()}</h3>
+{assign var="postDate" value=$post->getDateObject()}
+{assign var="postOwner" value=$post->getUserInfo()}
+<span class="date">{$postOwner->getUsername()} | {$locale->formatDate($postDate,"%d %B, %Y %H:%M")}</span>
+<p>
+ {$post->getText()}
+</p>
+<div 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}
+ :: <a href="{$url->postPermalink($post)}">{$locale->tr("comments")} ({$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->getTotalTrackbacks()})</a> 
+</div>

Added: templates/trunk/bubble-blue/postandcomments.template
===================================================================
--- templates/trunk/bubble-blue/postandcomments.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/bubble-blue/postandcomments.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,32 @@
+{include file="$blogtemplate/header.template"}
+  <p style="text-align: center">
+   {* I am not so keen on using if's in templates, but can't think of another way... *}
+   {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}
+   </p>
+   {assign var="poster" value=$post->getUserInfo()}
+   <!-- {$url->postTrackbackLink($post)} -->
+   {include file="$blogtemplate/post.template"}
+   {foreach from=$comments item=comment}
+    <p class="commentheader">
+     <img src="{$url->getUrl("/imgs/comment_icon1.gif")}"/> {$comment->getTopic()} <span class="categoryinfo">[<a href="{$url->replyCommentLink($post,$comment)}">{$locale->tr("reply")}</a>]</span>
+    </p>
+    <p>
+      {$comment->getText()}
+    </p>
+    <span class="commentposterinfo">
+    {assign var="commentDate" value=$comment->getDateObject()}
+    {$comment->getUsername()} | {$locale->formatDate($commentDate, "%d/%m/%Y, %H:%M")}
+   </span>
+  {/foreach}
+ {if $blogsettings->getValue("comments_enabled") && $post->getCommentsEnabled()==1}
+ <h3>{$locale->tr("add_comment")}</h3>
+ {include file="$blogtemplate/commentform.template"}
+ {/if}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/bubble-blue/posttrackbacks.template
===================================================================
--- templates/trunk/bubble-blue/posttrackbacks.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/bubble-blue/posttrackbacks.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,14 @@
+{include file="$blogtemplate/header.template"}
+  <p>
+    {$locale->tr("trackbacks_for_article")} "<a href="{$url->postLink($post)}">{$post->getTopic()}</a>":
+  </p>
+  <p>
+  {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> {$locale->formatDate($trackbackDate, "%d/%m/%Y %H:%M")}<br/><br/>
+  {/foreach}
+  </p>
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/bubble-blue/resource.template
===================================================================
--- templates/trunk/bubble-blue/resource.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/bubble-blue/resource.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,63 @@
+<!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">
+ <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("style.css")}";</style>
+ </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>
+  <div id="Resource-Container">
+    <div id="Top"><h1>{$blog->getBlog()}</a></h1></div>
+  <div id="Topmenu"><a href="{$url->blogLink()}">{$locale->tr("main")}</a></div>
+{assign var=metadata value=$resource->getMetadataReader()}
+{assign var=updated value=$resource->getTimestamp()}
+<h2>{$resource->getFileName()}</h2>
+<br/>
+ <div id="Resource-Desc">
+    <a href="{$url->resourceDownloadLink($resource)}">{$locale->tr("download")}</a> 
+    ({$metadata->getRoundedSize()}) | {$locale->tr("created")} {$locale->formatDate($updated,"%d %b, %Y")}
+ <div id="album">    
+  <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/>
+  </div>
+  <p>
+   <a href="javascript:history.go(-1);">{$locale->tr("back")}</a>
+  </p>
+  </div>
+  </div>
+ </body>
+</html>

Added: templates/trunk/bubble-blue/samplerss.template
===================================================================
--- templates/trunk/bubble-blue/samplerss.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/bubble-blue/samplerss.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,17 @@
+{include file="$blogtemplate/header.template"}
+<h1>Sample template</h1>
+<p>
+ {$message}
+</p>
+<p>
+And now, some RSS feeds from Slashdot using the RSS parser included in this package:<br/>
+{if $rss->parse("http://slashdot.org/slashdot.rdf")}
+ {foreach from=$rss->getItems() item=rssItem}
+  <a href="{$rssItem->getLink()}">{$rssItem->getTitle()}</a><br/>
+ {/foreach}
+{/if}
+<hr/>
+<p>This is a sample of the plugin that gets the sinfest strip:
+</p>
+<a href="http://sinfest.net"><img src="{$sfstrip->SinfestStripUrl()}" alt="Sinfest strip" width="385"/></a>
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/bubble-blue/screenshot.jpg
===================================================================
(Binary files differ)


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

Added: templates/trunk/bubble-blue/searchresults.template
===================================================================
--- templates/trunk/bubble-blue/searchresults.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/bubble-blue/searchresults.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,15 @@
+{include file="$blogtemplate/header.template"}
+   <h2>{$locale->tr("search_results")}</h2>
+   <p>
+    {foreach from=$searchresults item=result}
+     <div class="searchresult">
+      {assign var=article value=$result->getArticle()}
+      <a href="{$url->postPermalink($article)}"><h3><b>{$article->getTopic()}</b></h3></a>
+      <p>
+      {$article->getText()|strip_tags|truncate:300:"...":false}
+      </p>
+     </div>
+     <br/>
+    {/foreach}
+   </p> 
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/bubble-blue/style.css
===================================================================
--- templates/trunk/bubble-blue/style.css	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/bubble-blue/style.css	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,245 @@
+body {
+	margin:10px 0px; 
+	padding:0px;
+	text-align:center;
+	font:12px arial, times new roman, lucida sans unicode, sans-serif;
+	color:#333;
+	background:#fff url("bk31.gif") fixed;
+	}
+
+h1 {
+	font:bold italic 20px times new roman, lucida sans unicode, sans-serif;
+	margin-top:20px;
+	background: transparent;
+	}
+
+h2 {
+	color:#FFC0C0;
+	font:bold 15px times new roman, times, sans-serif;
+	margin-top: 15px;
+	margin-bottom: 2px;
+	background-color: #FFA0A0;
+	}
+h3 {
+	color:#666;
+	font: bold 13px/18px lucida sans unicode, times new roman, times, sans-serif;
+	margin-top: 15px;
+	margin-bottom: 2px;
+	background-color: #A0A0FF;
+    border: 1px solid #666;
+    border-width: 0px 0px 1px 0px;
+	}
+
+h4 {	background-color: #FFFFA0;
+	font: 12px times new roman, arial, sans-serif;
+	letter-spacing: 0.09em;
+	text-transform: uppercase;
+	margin: 0px;
+	padding: 0px;
+	}
+
+.date {
+	font: 10px verdana, arial, helvetica, sans-serif;
+	letter-spacing: 0.09em;
+	}
+
+.footer {
+	font:10px verdana, arial, helvetica, sans-serif;
+	color: #666;
+	background: transparent;
+	text-align: right;
+	}
+
+.Upgrade {
+	display: none;
+	font-weight: bold;
+      }
+
+p {
+	line-height:1.8;
+	margin:10px 0px;
+	}
+
+ol, ul {    
+	margin-top:0;
+	margin-bottom:10px;
+	line-height:1.8;
+	}
+
+#Container {
+	width:850px;
+	margin:0px auto;
+	text-align:left;
+	padding:0px;
+	border: 1px solid #ccc;
+	background:#fff url("bk31b.gif");
+	color: #333;
+	}
+
+#Main {
+	width:808px;
+	float: left;
+	margin-right: 10px;
+	margin-left: 10px;
+	text-align:center;
+	padding:0px;
+	border: 1px solid #ccc;
+	background:#fff url("bk31b.gif");
+	color: #333;
+	}
+	
+#Resource-Container {
+	width:850px;
+	margin:0px auto;
+	text-align:left;
+	padding:0px;
+	border: 1px solid #ccc;
+	background-color:#fff;
+	color: #333;
+	}	
+	
+#Resource-Container a:link {
+ text-decoration: none;
+
+}
+	
+	
+#Resource-Main {
+	width:850px;
+	padding:0px;
+	border-top: 1px solid #ccc;
+	background-color:#fff;
+	color: #333;
+	text-decoration: none;
+	}
+	
+#Resource-Desc {
+    padding: 10px;
+    text-decoration: none;
+}
+
+#Resource-Desc a:link, 
+#Resource-Desc a,
+#Resource-Desc a:href
+#Resource-Desc a:hover {
+ text-decoration: none;
+ border: 0px;
+}
+	
+
+#Container>#Main {margin-left: 20px;}
+
+#Top {    background:#7F7FFF url('../../imgs/plog_top.gif') no-repeat;
+height: auto;
+width: 770px;
+	text-align:right;
+	padding:10px;
+	border-bottom: 0px;
+	border-right: 0px;
+	color: #333;
+	/*  background:#ddd; */
+	}
+
+#Topmenu {
+	text-align:center;
+	padding:5px 10px;
+	border-top:1px dashed #ccc;
+	border-bottom: 0px;
+	background:#fff url("bk31b.gif");
+	font:12px verdana, arial, helvetica, sans-serif;
+	color:#333;
+	text-transform: uppercase;
+	}
+
+#Content {
+	width: 485px;
+	float: left;
+	text-align:left;
+	margin:0px;
+	padding:10px;
+	border-right: 1px solid #ccc;
+	border-left: 1px solid #ccc;
+	color: #333;
+background:#fff url("bk31b.gif");
+	/* background-color:#fff; */
+	}
+
+#Sidebar-l {
+	width: 130px;
+	float: left;
+	font:12px/1.5 trebuchet ms, verdana, arial, helvetica, sans-serif;
+	color:#666;
+	text-align:left;
+	padding:10px;
+background:#fff url("bk31b.gif");
+	/* background-color:#fff; */
+	}
+
+#Sidebar-r {
+	width: 130px;
+	float: left;
+	font:12px/1.5 trebuchet ms, verdana, arial, helvetica, sans-serif;
+	color:#666;
+	text-align:left;
+	padding:10px;
+background:#fff url("bk31b.gif");
+	/* background-color:#fff; */
+	}
+
+.Sidetitle {
+	text-align: center;
+	border-top: 1px solid #ccc;
+	border-bottom: 1px solid #ccc;
+	color: #333;
+	background: #eee;
+    text-transform: uppercase;
+	}
+
+#Bottommenu {
+	text-align:center;
+	padding:10px 5px;
+	border-top:0px;
+	border-bottom:1px dashed #ccc;
+	background:#fff url("bk31b.gif");
+	font:10px verdana, arial, helvetica, sans-serif;
+	color:#333;
+	text-transform: uppercase;
+	}
+
+#Bottom {
+	text-align:center; 
+	padding:10px;
+	border-top: 0px;
+background:#fff url("bk31b.gif");
+	/* background-color:#d0d0FF; */
+	font:10px verdana, arial, helvetica, sans-serif;
+	color:#333;
+	text-transform: uppercase;
+	}
+
+a {     font:11px verdana, arial, helvetica, sans-serif;
+	color:#666;
+	text-decoration:none;
+	background-color: #FFD0D0;
+	}
+
+a:link{color: #666; border-bottom: 1px dashed #666; background-color: #FFD0D0;}
+a:visited {color: #666; border-bottom: 1px dashed #666; background-color: #D0FFD0;}
+a:hover {color: #666; border-bottom: 1px solid #666; background-color: #FFD0FF;}
+
+#album a, #album a:link, #album a:hover, #album a:active { border: 0px; text-decoration: none; }
+
+#calendar {
+font:12px/1.5 trebuchet ms, verdana, arial, helvetica, sans-serif;
+}
+
+.calMonthToday {
+ background-color: #ecdebd;
+}
+
+.commentposterinfo { 
+  	font: 10px trebuchet ms, arial, verdana, sans-serif;
+	letter-spacing: .09em;
+	text-align: left;
+    margin-top: 0px;
+}

Added: templates/trunk/buddha/about.template
===================================================================
--- templates/trunk/buddha/about.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/buddha/about.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,13 @@
+{include file="$blogtemplate/header.template"}
+<div id="content">
+ <div class="blog">
+  <div class="blogbody">
+  <h2 class="title">{$locale->tr("about")}</h2>
+  <div class="posted"><a href="{$url->templatePage("about")}">{$locale->tr("permalink")}</a></div>
+ You can change the contents of this page by editing the templates/about.template file.
+  </div>
+  <br />
+ </div>
+</div>
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/buddha/album.template
===================================================================
--- templates/trunk/buddha/album.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/buddha/album.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,99 @@
+{include file="$blogtemplate/header.template"}
+
+<div id="content">
+{assign var="postDate" value=$album->getTimestamp()}
+  <h2>{$locale->tr("album")}</h2>
+
+  <div class="post">
+    <h3 class="storytitle"><a href="{$url->albumLink($album)}">{$album->getName()}</a></h3>
+    <div class="meta">
+        {$locale->tr("created")} {$locale->formatDate($postDate,"%d %b, %Y")}
+    </div>    
+    <div class="storycontent"><p>{$album->getDescription()}</p></div>
+ 
+{** 
+    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="{$locale->tr("album")}">
+ <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 -->
+
+ {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 style="text-align:center">{include file="$misctemplatepath/pager.template" style="links"}</div>
+ </div>
+</div>
+
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/buddha/albums.template
===================================================================
--- templates/trunk/buddha/albums.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/buddha/albums.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,26 @@
+{include file="$blogtemplate/header.template"}
+<div id="content">
+ <h2>{$locale->tr("albums")}</h2>
+{foreach from=$albums item=album}
+ {assign var="aDate" value=$album->getTimestamp()}
+ <div class="post">
+    <h3 class="storytitle"><a href="{$url->albumLink($album)}">{$album->getName()}</a></h3>
+    <div class="meta">
+        {$locale->tr("created")} {$locale->formatDate($aDate,"%d %b, %Y")}
+    </div>
+    <div class="storycontent">
+    <p>
+       {$album->getDescription()|truncate:255:"..."|escape}
+    </p>
+    </div>
+    <div class="feedback">
+      <a href="{$url->albumLink($album)}">  
+       <img src="{$url->getTemplateFile("folderblue.gif")}" width="10" height="11" style="border:0px;" />
+        {$locale->tr("view")} ({$album->getNumResources()})
+       </a>
+    </div>
+ </div>
+{/foreach}
+</div>
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/buddha/commentarticle.template
===================================================================
--- templates/trunk/buddha/commentarticle.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/buddha/commentarticle.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,6 @@
+{include file="$blogtemplate/header.template"}
+ {if $blogsettings->getValue("comments_enabled")}
+    <h2>{$locale->tr("add_comment")}</h2>
+    {include file="$blogtemplate/commentform.template"}
+ {/if}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/buddha/commentform.template
===================================================================
--- templates/trunk/buddha/commentform.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/buddha/commentform.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,24 @@
+<form id="commentform" name="comments_form" action="{$url->getIndexUrl()}" method="post">
+  <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}"/>
+  <p>
+	<input tabindex="2" id="author" name="userName" />
+	<label for="author">{$locale->tr("comment_username")}</label>
+    </p>
+    <p>
+	<input tabindex="3" id="email" name="userEmail" />
+	<label for="email">{$locale->tr("comment_email")}</label>
+    </p>
+    <p>
+	<input tabindex="4" id="url" name="userUrl" />
+	<label for="url">{$locale->tr("comment_url")}</label>
+    </p>
+  <p>
+    <label for="commentText">{$locale->tr("add_comment")}</label><br />
+    
+    <textarea tabindex="5" id="text" name="commentText" rows="10" cols="50" id="commentText"></textarea><br /><br />
+    <input style="font-weight: bold;" type="submit" name="post" value="&nbsp;{$locale->tr("comment_send")}&nbsp;" /><br /><br />
+  </p>
+</form>

Added: templates/trunk/buddha/download.gif
===================================================================
(Binary files differ)


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

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


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

Added: templates/trunk/buddha/error.template
===================================================================
--- templates/trunk/buddha/error.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/buddha/error.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,20 @@
+{include file="$blogtemplate/header.template"}
+
+<div id="content">
+
+    <div class="post">
+        <h3 class="storytitle">{$locale->tr("error")}</h3>
+        
+        <div class="meta">
+            {$locale->tr("generated")} {$locale->formatDate($now,"%d %b, %Y")}
+        </div>
+        
+        <div class="storycontent">
+            <img src="{$url->getTemplateFile("error.gif")}" height="32" width="32" alt="Error"/>
+            {$locale->tr($message)}
+        </div>    
+    </div>
+</div>
+
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/buddha/folderblue copy.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/buddha/folderblue copy.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/buddha/folderblue.gif
===================================================================
(Binary files differ)


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

Added: templates/trunk/buddha/footer.template
===================================================================
--- templates/trunk/buddha/footer.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/buddha/footer.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,6 @@
+    </div>
+    <p class="credit">
+        Powered by <a href="http://www.lifetype.net" target="_blank">LifeType</a>
+    </p>
+    </body>
+</html>

Added: templates/trunk/buddha/header.template
===================================================================
--- templates/trunk/buddha/header.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/buddha/header.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,21 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$locale->getLanguageId()}" 
+      lang="{$locale->getLanguageId()}" dir="{$locale->getDirection()}">
+<head>
+    <title>{$blog->getBlog()}</title>
+    <meta http-equiv="Content-Type" content="text/html;charset={$locale->getCharset()}" />
+    <meta name="generator" content="{$version}" />
+    <meta http-equiv="Content-Language" content="{$locale->getLanguageId()}" />
+    
+    <link rel="stylesheet" title="default" type="text/css" media="screen" href="{$url->getTemplateFile("style.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")}" />
+</head>
+
+<body>
+<div id="rap">
+    <h1 id="header"><a href="{$url->blogLink()}" title="{$blog->getBlog()}">{$blog->getBlog()}</a></h1>
+
+

Added: templates/trunk/buddha/images/buddha/buddha-sm.jpg
===================================================================
(Binary files differ)


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

Added: templates/trunk/buddha/main.template
===================================================================
--- templates/trunk/buddha/main.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/buddha/main.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,13 @@
+{include file="$blogtemplate/header.template"}
+
+<div id="content">
+ {foreach from=$posts item=post}
+  <div class="post">
+    {include file="$blogtemplate/post.template"}
+  </div>
+ {/foreach}
+ <div style="text-align:center">{include file="$misctemplatepath/pager.template" style="links"}</div>
+</div>
+
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}
\ No newline at end of file

Added: templates/trunk/buddha/panel.template
===================================================================
--- templates/trunk/buddha/panel.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/buddha/panel.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,67 @@
+
+<div id="menu">
+<ul>
+    <li id="search">{$locale->tr("search")}
+	   <form name="search_form" method="post"
+	   	      action="{$url->getIndexUrl()}">
+	      <input type="text" name="searchTerms" value="" size="14" /><br/>
+		  <input type="hidden" name="op" value="Search" />
+		  <input type="hidden" name="blogId" value="{$blog->getId()}"/>
+   </form>
+    </li>
+
+    <li id="wordpress">{$locale->tr("menu")}
+    <ul>
+     <li><a href="{$url->albumLink()}">{$locale->tr("albums")}</a></li>
+    </ul> 
+    </li>
+
+ <li id="categories">
+  {$locale->tr("categories")}
+  <ul>
+   {foreach from=$articlecategories item=articleCategory}
+    <li><a href="{$url->categoryLink($articleCategory)}">{$articleCategory->getName()} [{$articleCategory->getNumArticles()}]</a></li>
+   {/foreach}
+   </ul>
+ </li>
+  
+ <li id="archives">
+  {$locale->tr("archives")}
+  <ul>
+  {foreach from=$archives item=archivelink}
+   <li><a href="{$archivelink->getUrl()}">{$archivelink->getName()}</a></li>
+  {/foreach}
+  </ul>
+  </li>
+  <li id="calendar">
+	{$calendar}
+  </li>
+
+    <li id="meta">
+    Meta
+    <ul>
+     <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 href="http://validator.w3.org/check/referer" title="Valid XHTML 1.0 Transitional">Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr></a></li>
+     
+    </ul> 
+    </li>
+
+  <li id="style"> 
+  {$locale->tr("links")}
+  <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>
+    </li>
+</ul> 
+</div>

Added: templates/trunk/buddha/post.template
===================================================================
--- templates/trunk/buddha/post.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/buddha/post.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,32 @@
+{assign var="postDate" value=$post->getDateObject()}
+{assign var="postOwner" value=$post->getUserInfo()}
+
+<h3 class="storytitle"><a href="{$url->postPermalink($post)}">{$post->getTopic()}</a></h3>
+
+{assign var=postCategory value=$post->getCategory()}
+{assign var=postText value=$post->getText()}
+<div class="meta">
+
+  {foreach name=categories from=$post->getCategories() item=postCategory} 
+    <a href="{$url->categoryLink($postCategory)}"
+		   title="{$postCategory->getName()}">
+		   {$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
+  {/foreach}
+
+ &#8212; {$locale->tr("posted_by")} {$postOwner->getUsername()} @ {$locale->formatDate($postDate,"%H:%M")}
+</div>
+<div class="storycontent">
+    {$postText} 
+    <br style="clear: both;" />
+ </div>
+<div class="feedback">
+    <a href="{$url->postPermalink($post)}#comments" title="{$locale->tr("comment on this")}">
+        {if $post->getTotalComments() eq 0}{$locale->tr("comment on this")}{else}{$post->getTotalComments()} {$locale->tr("comments")}{/if}
+    </a> |
+	{if $post->getTotalTrackbacks() > 0}
+	  <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}</a>
+	{else}
+	  {$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}
+	{/if}
+</div>    
+

Added: templates/trunk/buddha/postandcomments.template
===================================================================
--- templates/trunk/buddha/postandcomments.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/buddha/postandcomments.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,41 @@
+{include file="$blogtemplate/header.template"}
+
+<div id="content">
+    {assign var="postDate" value=$post->getDateObject()}
+    {assign var="postOwner" value=$post->getUserInfo()}
+    <h2>{$locale->formatDate($postDate,"%d %b, %Y")}</h2>
+    
+    <div class="post">
+        {include file="$blogtemplate/post.template"}
+    
+        <h2 id="comments">{$locale->tr("comments")}</h2>
+        
+         <ol id="commentlist">
+        {foreach from=$comments item=comment}
+        {assign var=commentText value=$comment->getText()}
+            <li id="comment-{$comment->getId()}">
+                <p>{$commentText}</p>
+               
+               	<p><cite>{$locale->tr("posted_by")}
+                   {if $comment->getUserUrl() != ""}
+                    <a href="{$comment->getUserUrl()}"}>{$comment->getUsername()}</a>
+                   {else}
+                    {$comment->getUsername()}
+                   {/if} &#8212;
+                   {assign var=commentDate value=$comment->getDateObject()}
+                   {$locale->formatDate($commentDate, "%d %b %Y, %H:%M")}
+                </cite></p>
+            </li>
+        {/foreach}    
+        </ol>
+            
+        {if $blogsettings->getValue("comments_enabled") && $post->getCommentsEnabled()==1}
+            <br style="clear: both;" />
+           <h2>{$locale->tr("add_comment")}</h2>
+          {include file="$blogtemplate/commentform.template"}
+        {/if}
+    </div>
+</div>
+
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/buddha/posttrackbacks.template
===================================================================
--- templates/trunk/buddha/posttrackbacks.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/buddha/posttrackbacks.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,17 @@
+{include file="$blogtemplate/header.template"}
+<div id="content">
+ <div class="blog">
+  <div class="blogbody">
+   <h2 class="title">{$locale->tr("trackbacks_for_article")} "<a href="{$url->postLink($post)}">{$post->getTopic()}</a>"</h2>
+    {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/buddha/resource.template
===================================================================
--- templates/trunk/buddha/resource.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/buddha/resource.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,58 @@
+{include file="$blogtemplate/header.template"}
+{assign var=metadata value=$resource->getMetadataReader()}
+{assign var=updated value=$resource->getTimestamp()}
+<div id="content">
+  <h2>{$locale->tr("resources")}</h2>
+<div class="post">
+    <h3 class="storytitle"><a href="{$url->resourceLink($resource)}">{$resource->getFileName()}</a></h3>
+    <div class="meta">
+        {$locale->tr("created")} {$locale->formatDate($updated,"%d %b, %Y")}
+    </div>
+   <div class="storycontent"><p>{$resource->getDescription()}</p></div>
+  {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/>
+    <div class="feedback">
+        <a href="{$url->resourceDownloadLink($resource)}">
+           <img src="{$url->getTemplateFile("download.gif")}" width="10" height="11" alt="Download" style="border:0px;" />
+           {$locale->tr("download")} ({$metadata->getRoundedSize()})
+        </a> 
+    </div>
+</div>
+  <p>
+   <a href="javascript:history.go(-1);">{$locale->tr("back")}</a>
+  </p>
+</div>
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}

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


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

Added: templates/trunk/buddha/searchresults.template
===================================================================
--- templates/trunk/buddha/searchresults.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/buddha/searchresults.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,21 @@
+{include file="$blogtemplate/header.template"}
+<div id="content">
+   <h2>{$locale->tr("search_results")}: {foreach from=$searchterms item=term}{$term} {/foreach}</h2>
+   <p>
+    {foreach from=$searchresults item=result}
+     <div class="searchresult">
+      {assign var=article value=$result->getArticle()}
+      <a href="{$url->postPermalink($article)}"><h3><b>{$article->getTopic()}</b></h3></a>
+     <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>
+      {$article->getText()|strip_tags|truncate:300:"...":false}
+      </p>
+     </div>
+     <br/>
+    {/foreach}
+   </p> 
+</div>
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/buddha/style.css
===================================================================
--- templates/trunk/buddha/style.css	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/buddha/style.css	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,190 @@
+/* Whole page
+   -------------------------------------------- */
+
+/* Image from sxc.hu (http://www.sxc.hu/browse.phtml?f=view&id=73842)
+   Thanks marcoaor! */
+	 
+body {
+	background-image: url("images/buddha/buddha-sm.jpg");
+	background-attachment: fixed;
+	background-position: bottom left;
+	background-repeat: no-repeat;
+}
+	
+#rap {
+	margin-left: 35%;
+	margin-right: 60px;
+	padding: 0.5em;
+}
+
+#rap * {
+	-moz-opacity: .999;
+}
+
+#header { 
+	position: absolute;
+	top: 10px;
+	left: 10%;
+}	
+
+#rap {margin-top: 70px;}
+
+
+
+/* Content & menu
+   -------------------------------------------- */
+
+#menu {
+	position: absolute;
+	top: 80px;
+	left: 10%;
+	width: 10em;
+	
+	border: 1px solid #F8E7B0;
+	
+	background-color: #EFD16B;
+
+	font-size: 0.85em;
+	padding: 0.5em;
+
+	-moz-opacity: 0.8;	
+	filter: Alpha(opacity=80);
+
+}
+
+#menu ul {
+	width:100%;
+}
+
+#menu ul {
+	margin-top: 0;
+	padding-left: 0;
+	margin-left: 0;
+	margin-bottom: 1em;
+	color: #7A5208;
+	list-style: none;
+	font-weight: bold;
+}
+
+
+#menu ul ul {
+	margin-left: 0;
+	font-weight: normal;
+}
+
+#menu table {
+	display: none;
+}
+
+#menu a:link, #menu a:visited {
+	padding: 1px;
+	color: black;
+	border-width: 1px;
+	border-style: none;
+	display: block;
+	width: 100%;
+}
+
+#menu a:hover {
+	background-color: #EFD16B;
+	font-weight: bold;
+}
+
+#menu form{
+	margin: 0 0 1em 0;	 
+}
+#menu form br {
+	display:none;
+}
+input {
+	width: 6em;
+	font-family: Verdana, Tahoma, Arial, sans-serif; 
+}
+
+
+
+
+
+	
+	 
+/* Post
+   -------------------------------------------- */
+
+/* date */
+#content h2 {
+	float: right;
+	margin: 0;
+	font-size: 0.85em;
+	font-weight: normal;
+	background-color: #FBF5E1;
+	padding: 0.3em;
+	margin-left: 0.4em;
+	border: 1px solid #F8E7B0;
+
+}
+
+
+.storytitle { margin: 0;}
+
+.post-categories {
+	display: inline;
+	margin: 0;
+	padding: 0;
+}
+.post-categories li {
+	display: inline;
+	margin-left: 0 3px 0 0;
+	padding: 0;
+}
+
+.post .meta {
+	font-family: Verdana, Tahoma, san-serif;
+	margin-top: 0;
+	font-size: 0.75em;
+	color: #666;
+}
+.post .meta * {
+	margin-top: 0;
+}	
+
+.post .feedback {
+	margin-bottom: 3em;
+	padding-bottom: 1px;
+}
+
+
+/* Credit
+   -------------------------------------------- */
+
+p.credit {	
+	margin-left: 35%;
+	margin-right: 60px;
+	padding: 0.5em;
+	font-size: 90%;
+}
+	 
+	 
+/* Basic typography
+   -------------------------------------------- */
+
+body {
+	font-family: "Georgia", serif;
+	font-size: 100%;
+}
+
+p, td, th, li {
+	font-size: 1em;
+	line-height: 1.65em;
+}
+
+
+a:link, a:visited {
+	text-decoration: none;
+	color: #7A5208;
+	border: 1px none white;
+}
+a:hover {
+	background-color: #FBF5E1;
+
+}
+

Added: templates/trunk/buggy/album.template
===================================================================
--- templates/trunk/buggy/album.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/buggy/album.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,84 @@
+{include file="$blogtemplate/header.template"}
+<h1>{$album->getName()}</h1>
+<p>
+ {$album->getDescription()}
+</p>
+
+ <!-- album contents go here -->
+<div id="album">
+<table style="border:0px;width:100%;" summary="Album Resources">
+ <tr>
+  <td style="width:25%;" align="center" >
+   <a class="nodecoration" 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 class="nodecoration" 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%3 == 0}
+   </tr>
+   <tr>
+  {/if}
+ {/foreach}
+
+ <!--- show the resources here -->
+
+ {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 class="nodecoration" 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%3 == 0}
+   </tr>
+   <tr>
+  {/if}
+ {/foreach}
+ <td></td></tr>
+</table>
+</div>
+ <!-- end of album contents -->
+ <div style="text-align:center">{include file="$misctemplatepath/pager.template" style="links"}</div>
+ {include file="$blogtemplate/footer.template"}

Added: templates/trunk/buggy/albums.template
===================================================================
--- templates/trunk/buggy/albums.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/buggy/albums.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,25 @@
+{include file="$blogtemplate/header.template"}
+<h1>{$locale->tr("albums")}</h1>
+ <!-- album contents go here -->
+<div id="album">
+<table style="border:0px;width:100%;" summary="Albums">
+<tr>
+  {assign var="counter" value=0}
+  {foreach from=$albums item=album}
+  <td style="width:33%;" align="center">
+   <a class="nodecoration" href="{$url->albumLink($album)}">
+   <img style="border:0px;" src="{$url->getUrl("/imgs/folder.gif")}" alt="Folder" /><br/>
+   {$album->getName()} ({$album->getNumResources()})
+  </a>
+  {assign var="counter" value="`$counter+1`"}
+  </td>
+  {if $counter%3 == 0}
+   </tr>
+   <tr>
+  {/if}
+ {/foreach}
+ <td></td></tr>
+ </table>
+ </div>
+ <!-- end of the albums -->
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/buggy/buggy.css
===================================================================
--- templates/trunk/buggy/buggy.css	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/buggy/buggy.css	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,197 @@
+/*
+  The Buggy pLog Template stylesheet
+  pLog Version: 1.0
+  
+  (c) BuggyBrain.com
+  Released under the terms of the GPL
+ */
+
+#header {
+	background: #AF1517;
+	padding: 5px 0px 0px 0px;
+}
+
+#header div.title {
+	border-top: 5px solid #FFF;
+	color: #FFF;
+	font-family: Arial, Helvetica, sans-serif;
+	font-size: 24px;
+	padding: 5px 0px 0px 10px;
+}
+
+#header div.subtitle {
+	color: #EBEBEB;
+	font-size: 10px;
+	font-weight: bold;
+	padding: 5px 0px 10px 20px;
+}
+
+#photo {
+	position: absolute;
+	left: 630px;
+	top: 20px;
+}
+
+#menu {
+	background: #F2F2F2;
+	font-size: 11px;
+	margin-top: 5px;
+	padding: 5px;
+	position: absolute;
+	text-align: right;
+	width: 615px;
+}
+
+#menu a {
+	font-weight: bold;
+	text-decoration: none;
+}
+
+#col1 {
+	left: 0px;
+	position: absolute;
+	top: 101px;
+	width: 150px;
+}
+
+#col1 .content {
+	background: #E8EBD7;
+	margin-right: 5px;
+	padding: 0px 5px 5px 5px;
+}
+
+#col2 {
+	left: 150px;
+	position: absolute;
+	top: 106px;
+	width: 475px;
+}
+
+#col2 .content {
+	font-size: 13px;
+	font-family: Trebuchet MS, Verdana, Arial, Helvetica, sans-serif;
+	padding: 5px 0px 5px 0px;
+}
+
+#colresource {
+	left: 15px;
+	position: absolute;
+	top: 106px;
+}
+
+#colresource .content {
+	font-size: 13px;
+	font-family: Trebuchet MS, Verdana, Arial, Helvetica, sans-serif;
+	padding: 5px 0px 5px 0px;
+}
+
+#col3 {
+	left: 625px;
+	position: absolute;
+	top: 215px;
+	width: 155px;
+}
+
+#col3 .content {
+	background: #E8EBD7;
+	margin-left: 5px;
+	padding: 0px 5px 5px 5px;
+}
+
+#col1 .content, #col3 .content {
+	font-family: Trebuchet MS, Arial, Helvetica, sans-serif;
+	font-size: 11px;
+}
+
+#footer {
+	background: #F2F2F2;
+	font-size: 11px;
+	line-height: 16px;
+	padding: 5px;
+	position: absolute;
+	vertical-align: bottom;
+	visibility: hidden;
+	width: 770px;
+}
+
+body {
+	background: #FFF;
+	color: #000;
+	font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
+	font-size: 12px;
+	margin: 10px 0px 0px 0px;
+	padding: 0px;
+}
+
+a:link {
+	color: #900;
+}
+
+a:visited {
+	color: #900;
+}
+
+a:hover {
+	color: Gray;
+}
+
+img {
+	border: 0px;
+}
+
+h1 {
+	color: #6B6B6B;
+	font-family: Georgia, "Times New Roman", Times, serif;
+	font-size: 16px;
+	margin: 10px 0px 2px 0px;
+}
+
+h5, h6 {
+	border-top: 5px solid #FFF;
+	color: #FFF;
+	font-family: Arial, Helvetica, sans-serif;
+	font-size: 12px;
+	font-weight: bold;
+	letter-spacing: 2px;
+	margin: 5px -5px 10px -5px;
+	padding: 3px;
+	text-align: center;
+}
+
+h5 {
+	background: #8F8D5A;
+}
+
+h6 {
+	background: #AF1517;
+}
+
+p {
+	line-height: 130%;
+}
+
+.shadelight, .shadedark {
+	font-size: 10px;
+	font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
+	padding: 2px 4px 2px 4px;
+}
+
+.shadelight {
+	background: #CCC;
+}
+
+.shadedark {
+	background: #B6B6B6;
+	color: #FFF;
+	font-weight: bold;
+}
+
+.shadedark a, .shadelight a	 {
+	font-weight: bold;
+	text-decoration: none;
+}
+
+.upgrade {
+	display: none;
+	font-weight: bold;
+}
\ No newline at end of file

Added: templates/trunk/buggy/commentarticle.template
===================================================================
--- templates/trunk/buggy/commentarticle.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/buggy/commentarticle.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,4 @@
+{include file="$blogtemplate/header.template"}
+<h3>{$locale->tr("add_comment")}</h3>
+ {include file="$blogtemplate/commentform.template"}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/buggy/error.template
===================================================================
--- templates/trunk/buggy/error.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/buggy/error.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,4 @@
+{include file="$blogtemplate/header.template"}
+ <h1>{$locale->tr("error")}</h1>
+ <p>{$locale->tr($message)}</p>
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/buggy/footer.template
===================================================================
--- templates/trunk/buggy/footer.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/buggy/footer.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,52 @@
+	</div>
+</div>
+
+<div id="col3">
+	<div class="content">
+	
+		<h6>{$locale->tr("archives")|lower}</h6>
+		{foreach from=$archives item=post}
+			<a href="{$post->getUrl()}">{$post->getName()}</a><br/>
+		{/foreach}
+		
+		<h5>{$locale->tr("categories")|lower}</h5>
+		{foreach from=$articlecategories item=articleCategory}
+			<a href="{$url->categoryLink($articleCategory)}">{$articleCategory->getName()}</a> [{$articleCategory->getNumArticles()}]<br/>
+		{/foreach}
+		
+		<h6>{$locale->tr("my_links")|lower}</h6>
+		{foreach from=$mylinkscategories item=linkcategory}
+			{$linkcategory->getName()}<br />
+      {foreach from=$linkcategory->getLinks() item=link}
+				<a href="{$link->getUrl()}" title="{$link->getDescription()}" rel="external">{$link->getName()}</a><br />
+      {/foreach}
+   {/foreach}
+		
+	</div>
+</div>
+
+<div id="footer">
+	powered by pLog, copyright &copy; the <a href="http://www.lifetype.net/" rel="external">LifeType team</a> |
+	design by <a href="http://www.buggybrain.com/" rel="external">BuggyBrain.com</a>
+</div>
+
+<!--
+    Copyright (C) 2005 Mike Paluchowski of BuggyBrain.com
+    
+    This program is free software; you can redistribute it and/or
+    modify it under the terms of the GNU General Public License
+    as published by the Free Software Foundation; either version 2
+    of the License, or (at your option) any later version.
+    
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+    
+    You should have received a copy of the GNU General Public License
+    along with this program; if not, write to the Free Software
+    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+//-->
+
+</body>
+</html>
\ No newline at end of file

Added: templates/trunk/buggy/header.template
===================================================================
--- templates/trunk/buggy/header.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/buggy/header.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,53 @@
+<!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="en">
+
+<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("buggy.css")}";</style>
+	<script type="text/javascript" src="{$url->getTemplateFile("x.js")}"></script>
+	<script type="text/javascript" src="{$url->getTemplateFile("lib.js")}"></script>
+ <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")}" />	
+</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>
+
+<div id="header">
+	<div class="title">{$blog->getBlog()|lower}</div>
+	<div class="subtitle">YOUR COOL BLOG TAG LINE</div>
+</div>
+
+<div id="photo"><img src="{$url->getTemplateFile("imgs/photo.jpg")}" width="150" height="200" alt="Your sexiest photo" /></div>
+
+<div id="menu">
+	<a href="{$url->blogLink()}">{$locale->tr("main")|upper}</a> |
+	<a href="{$url->albumLink()}">{$locale->tr("albums")|upper}</a>
+</div>
+
+<div id="col1">
+	<div class="content">
+		<h5>{$locale->tr("calendar")|lower}</h5>
+		{$calendar}
+		
+		<h6>{$locale->tr("recently")|lower}</h6>
+		{foreach from=$recentposts item=post}
+			<a title="{$post->getText()|truncate:150:"..."|escape}" href="{$url->postLink($post)}">{$post->getTopic()}</a><br/>
+		{/foreach}
+		<h5>{$locale->tr("syndicate")|lower}</h5>
+		<a title="Link to the RSS 0.90 feed." href="{$url->rssLink("rss090")}"><img src="{$url->getUrl("/imgs/rss090_logo.gif")}" style="border:0px;" alt="RSS 0.90" /></a><br/>
+    <a title="Link to the RSS 1.0 feed." href="{$url->rssLink("rss10")}"><img src="{$url->getUrl("/imgs/rss10_logo.gif")}" style="border:0px;" alt="RSS 1.0" /></a><br/>
+    <a title="Link to the RSS 2.0 feed." href="{$url->rssLink("rss20")}"><img src="{$url->getUrl("/imgs/rss20_logo.gif")}" style="border:0px;" alt="RSS 2.0" /></a><br/>
+    <a title="Link to the Atom 0.3 feed." href="{$url->rssLink("atom")}"><img src="{$url->getUrl("/imgs/atom_logo.png")}" style="border:0px;" alt="Atom 0.3" /></a>
+ 
+	</div>
+</div>
+
+<div id="col2">
+	<div class="content">
\ No newline at end of file

Added: templates/trunk/buggy/imgs/photo.jpg
===================================================================
(Binary files differ)


Property changes on: templates/trunk/buggy/imgs/photo.jpg
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/buggy/lib.js
===================================================================
--- templates/trunk/buggy/lib.js	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/buggy/lib.js	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,28 @@
+function externalLinks() {
+	if (!document.getElementsByTagName) return; 
+	var anchors = document.getElementsByTagName("a"); 
+	for (var i=0; i<anchors.length; i++) { 
+		var anchor = anchors[i]; 
+		if (anchor.getAttribute("href") && 
+			anchor.getAttribute("rel") == "external") 
+		anchor.target = "_blank"; 
+ 	}
+}
+
+function adjustlayout() {
+	var hdr = xHeight("header");
+	var men = xHeight("menu");
+	var totalhdr = men + hdr + 10;
+	var col1h = xHeight("col1");
+	var col2h = xHeight("col2");
+	var col3h = xHeight("col3") + 114;
+	if (col3h > col1h) col1h = col3h;
+	if (col1h > col2h) col2h = col1h;
+	xTop("footer", totalhdr + col2h + 5);
+	xShow("footer");
+}
+
+window.onload = function() {
+	externalLinks();
+	adjustlayout();
+}
\ No newline at end of file

Added: templates/trunk/buggy/main.template
===================================================================
--- templates/trunk/buggy/main.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/buggy/main.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,6 @@
+{include file="$blogtemplate/header.template"}
+ {foreach from=$posts item=post}
+  {include file="$blogtemplate/post.template"}
+ {/foreach}
+ <div style="text-align:center">{include file="$misctemplatepath/pager.template" style="links"}</div>
+{include file="$blogtemplate/footer.template"}
\ No newline at end of file

Added: templates/trunk/buggy/post.template
===================================================================
--- templates/trunk/buggy/post.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/buggy/post.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,11 @@
+<h1>{$post->getTopic()}</h1>
+{assign var="postDate" value=$post->getDateObject()}
+{assign var="postOwner" value=$post->getUserInfo()}
+<span class="shadedark">{$postOwner->getUsername()}</span>
+<span class="shadelight">{$locale->formatDate($postDate,"%d %B, %Y %H:%M")}</span>
+<span class="shadedark">{foreach name=categories from=$post->getCategories() item=postCategory}<a href="{$url->postCategoryLink($post)}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}{/foreach}</span>
+<span class="shadelight"><a title="{$locale->tr("permalink_title")}" href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a></span>
+<span class="shadedark"><a href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getTotalTrackbacks()})</a></span>
+<p>
+ {$post->getText()}
+</p>
\ No newline at end of file

Added: templates/trunk/buggy/postandcomments.template
===================================================================
--- templates/trunk/buggy/postandcomments.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/buggy/postandcomments.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,14 @@
+{include file="$blogtemplate/header.template"}
+	<p style="text-align: center">
+	{* I am not so keen on using if's in templates, but can't think of another way... *}
+	{if $nextpost == true}
+		<a href="{$url->postPermalink($nextpost)}" title="Next post: {$nextpost->getTopic()}">&laquo;</a> |
+	{/if}
+	{if $prevpost == true}
+		<a href="{$url->postPermalink($prevpost)}" title="Previous post: {$prevpost->getTopic()}">&raquo;</a>
+	{/if}
+	</p>
+	{assign var="poster" value=$post->getUserInfo()}
+    <!-- {$url->postTrackbackLink($post)} -->
+	{include file="$blogtemplate/post.template"}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/buggy/posttrackbacks.template
===================================================================
--- templates/trunk/buggy/posttrackbacks.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/buggy/posttrackbacks.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,14 @@
+{include file="$blogtemplate/header.template"}
+  <p>
+    {$locale->tr("trackbacks_for_article")} "<a href="{$url->postLink($post)}">{$post->getTopic()}</a>":
+  </p>
+  <p>
+  {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> {$locale->formatDate($trackbackDate, "%d/%m/%Y %H:%M")}<br/><br/>
+  {/foreach}
+  </p>
+{include file="$blogtemplate/footer.template"}
\ No newline at end of file

Added: templates/trunk/buggy/resource.template
===================================================================
--- templates/trunk/buggy/resource.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/buggy/resource.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,83 @@
+<!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="en">
+
+<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("buggy.css")}";</style>
+	<script type="text/javascript" src="scripts/x.js"></script>
+	<script type="text/javascript" src="scripts/lib.js"></script>
+</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>
+
+<div id="header">
+	<div class="title">{$blog->getBlog()|lower}</div>
+	<div class="subtitle">YOUR COOL BLOG TAG LINE</div>
+</div>
+
+<div id="menu">
+	<a href="{$url->blogLink()}">{$locale->tr("main")|upper}</a> |
+</div>
+
+<div id="colresource">
+	<div class="content">
+
+{assign var=metadata value=$resource->getMetadataReader()}
+{assign var=updated value=$resource->getTimestamp()}
+<h2>{$resource->getFileName()}</h2>
+<br/>
+ <div id="Resource-Desc">
+    <a href="{$url->resourceDownloadLink($resource)}">{$locale->tr("download")}</a> 
+    ({$metadata->getRoundedSize()}) | {$locale->tr("created")} {$locale->formatDate($updated,"%d %b, %Y")}
+ <div id="album">    
+  <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/>
+  </div>
+  <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>
+ </body>
+</html>

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


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

Added: templates/trunk/buggy/searchresults.template
===================================================================
--- templates/trunk/buggy/searchresults.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/buggy/searchresults.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,6 @@
+{include file="$blogtemplate/header.template"}
+  {foreach from=$searchresults item=result}
+    {assign var=article value=$result->getArticle()}
+    {$url->postPermalink($article)}
+  {/foreach}
+{include file="$blogtemplate/footer.template"}
\ No newline at end of file

Added: templates/trunk/buggy/x.js
===================================================================
--- templates/trunk/buggy/x.js	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/buggy/x.js	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,430 @@
+// x.js
+// X v3.10, Cross-Browser DHTML Library from Cross-Browser.com
+// Copyright (c) 2002,2003 Michael Foster (mike at cross-browser.com)
+// This library is distributed under the terms of the LGPL (gnu.org)
+
+// Variables:
+var xVersion='3.10',xOp7=false,xOp5or6=false,xIE4Up=false,xNN4=false,xUA=navigator.userAgent.toLowerCase();
+if(window.opera){
+  xOp7=(xUA.indexOf('opera 7')!=-1 || xUA.indexOf('opera/7')!=-1);
+  if (!xOp7) xOp5or6=(xUA.indexOf('opera 5')!=-1 || xUA.indexOf('opera/5')!=-1 || xUA.indexOf('opera 6')!=-1 || xUA.indexOf('opera/6')!=-1);
+}
+else if(document.layers) xNN4=true;
+else {xIE4Up=document.all && xUA.indexOf('msie')!=-1 && parseInt(navigator.appVersion)>=4;}
+
+// Appearance:
+function xShow(e) {
+  if(!(e=xGetElementById(e))) return;
+  if(e.style && xDef(e.style.visibility)) e.style.visibility='inherit';
+  else if(xDef(e.visibility)) e.visibility='show';
+}
+function xHide(e) {
+  if(!(e=xGetElementById(e))) return;
+  if(e.style && xDef(e.style.visibility)) e.style.visibility='hidden';
+  else if(xDef(e.visibility)) e.visibility='hide';
+}
+function xZIndex(e,uZ) {
+  if(!(e=xGetElementById(e))) return 0;
+  if(e.style && xDef(e.style.zIndex)) {
+    if(arguments.length>1) e.style.zIndex=uZ;
+    else uZ=e.style.zIndex;
+  }
+  else if(xDef(e.zIndex)) {
+    if(arguments.length>1) e.zIndex=uZ;
+    else uZ=e.zIndex;
+  }
+  return uZ;
+}
+function xColor(e,sColor) {
+  if(!(e=xGetElementById(e))) return "";
+  var c="";
+  if(e.style && xDef(e.style.color)) {
+    if(arguments.length>1) e.style.color=sColor;
+    c=e.style.color;
+  }
+  return c;
+}
+function xBackground(e,sColor,sImage) {
+  if(!(e=xGetElementById(e))) return "";
+  var bg="";
+  if(e.style) {
+    if(arguments.length>1) e.style.backgroundColor=sColor;
+    if(arguments.length==3) e.style.backgroundImage=(sImage && sImage!="")? "url("+sImage+")" : null;
+    bg=e.style.backgroundColor;
+  }
+  else if(xDef(e.bgColor)) {
+    if(arguments.length>1) e.bgColor=sColor;
+    bg=e.bgColor;
+    if(arguments.length==3) e.background.src=sImage;
+  }
+  return bg;
+}
+
+// Position:
+function xMoveTo(e,iX,iY) {
+  xLeft(e,iX);
+  xTop(e,iY);
+}
+function xLeft(e,iX) {
+  if(!(e=xGetElementById(e))) return 0;
+  var css=xDef(e.style);
+  if (css && xDef(e.style.left) && typeof(e.style.left)=="string") {
+    if(arguments.length>1) e.style.left=iX+"px";
+    else {
+      iX=parseInt(e.style.left);
+      if(isNaN(iX)) iX=0;
+    }
+  }
+  else if(css && xDef(e.style.pixelLeft)) {
+    if(arguments.length>1) e.style.pixelLeft=iX;
+    else iX=e.style.pixelLeft;
+  }
+  else if(xDef(e.left)) {
+    if(arguments.length>1) e.left=iX;
+    else iX=e.left;
+  }
+  return iX;
+}
+function xTop(e,iY) {
+  if(!(e=xGetElementById(e))) return 0;
+  var css=xDef(e.style);
+  if(css && xDef(e.style.top) && typeof(e.style.top)=="string") {
+    if(arguments.length>1) e.style.top=iY+"px";
+    else {
+      iY=parseInt(e.style.top);
+      if(isNaN(iY)) iY=0;
+    }
+  }
+  else if(css && xDef(e.style.pixelTop)) {
+    if(arguments.length>1) e.style.pixelTop=iY;
+    else iY=e.style.pixelTop;
+  }
+  else if(xDef(e.top)) {
+    if(arguments.length>1) e.top=iY;
+    else iY=e.top;
+  }
+  return iY;
+}
+function xPageX(e) {
+  if (!(e=xGetElementById(e))) return 0;
+  if (xDef(e.pageX)) return e.pageX;
+  var x = 0;
+  while (e) {
+    if (xDef(e.offsetLeft)) x += e.offsetLeft;
+    e = xParent(e);
+  }
+  return x;
+}
+function xPageY(e) {
+  if (!(e=xGetElementById(e))) return 0;
+  if (xDef(e.pageY)) return e.pageY;
+  var y = 0;
+  while (e) {
+    if (xDef(e.offsetTop)) y += e.offsetTop;
+    e = xParent(e);
+  }
+  return y;
+}
+function xSlideTo(e,x,y,uTime) {
+  if (!(e=xGetElementById(e))) return;
+  if (!e.timeout) e.timeout = 25;
+  e.xTarget = x; e.yTarget = y; e.slideTime = uTime; e.stop = false;
+  e.yA = e.yTarget - xTop(e); e.xA = e.xTarget - xLeft(e); // A = distance
+  e.B = Math.PI / (2 * e.slideTime); // B = period
+  e.yD = xTop(e); e.xD = xLeft(e); // D = initial position
+  var d = new Date(); e.C = d.getTime();
+  if (!e.moving) xSlide(e);
+}
+function xSlide(e) {
+  if (!(e=xGetElementById(e))) return;
+  var now, s, t, newY, newX;
+  now = new Date();
+  t = now.getTime() - e.C;
+  if (e.stop) { e.moving = false; }
+  else if (t < e.slideTime) {
+    setTimeout("xSlide('"+e.id+"')", e.timeout);
+    s = Math.sin(e.B * t);
+    newX = Math.round(e.xA * s + e.xD);
+    newY = Math.round(e.yA * s + e.yD);
+    xMoveTo(e, newX, newY);
+    e.moving = true;
+  }  
+  else {
+    xMoveTo(e, e.xTarget, e.yTarget);
+    e.moving = false;
+  }  
+}
+
+// Size:
+function xResizeTo(e,uW,uH) {
+  xWidth(e,uW);
+  xHeight(e,uH);
+}
+function xWidth(e,uW) {
+  if(!(e=xGetElementById(e)) || (uW && uW<0)) return 0;
+  uW=Math.round(uW);
+  var css=xDef(e.style);
+  if(css && xDef(e.style.width,e.offsetWidth) && typeof(e.style.width)=="string") {
+    if(arguments.length>1) xSetCW(e, uW);
+    uW=e.offsetWidth;
+  }
+  else if(css && xDef(e.style.pixelWidth)) {
+    if(arguments.length>1) e.style.pixelWidth=uW;
+    uW=e.style.pixelWidth;
+  }
+  else if(xDef(e.clip) && xDef(e.clip.right)) {
+    if(arguments.length>1) e.clip.right=uW;
+    uW=e.clip.right;
+  }
+  return uW;
+}
+function xHeight(e,uH) {
+  if(!(e=xGetElementById(e)) || (uH && uH<0)) return 0;
+  uH=Math.round(uH);
+  var css=xDef(e.style);
+  if(css && xDef(e.style.height,e.offsetHeight) && typeof(e.style.height)=="string") {
+    if(arguments.length>1) xSetCH(e, uH);
+    uH=e.offsetHeight;
+  }
+  else if(css && xDef(e.style.pixelHeight)) {
+    if(arguments.length>1) e.style.pixelHeight=uH;
+    uH=e.style.pixelHeight;
+  }
+  else if(xDef(e.clip) && xDef(e.clip.bottom)) {
+    if(arguments.length>1) e.clip.bottom=uH;
+    uH=e.clip.bottom;
+  }
+  return uH;
+}
+// thank moz for the next 2000 bytes
+function xGetCS(ele,sP){return parseInt(document.defaultView.getComputedStyle(ele,"").getPropertyValue(sP));}
+function xSetCW(ele,uW){
+  if(uW<0) return;
+  var pl=0,pr=0,bl=0,br=0;
+  if(xDef(document.defaultView) && xDef(document.defaultView.getComputedStyle)){
+    pl=xGetCS(ele,"padding-left");
+    pr=xGetCS(ele,"padding-right");
+    bl=xGetCS(ele,"border-left-width");
+    br=xGetCS(ele,"border-right-width");
+  }
+  else if(xDef(ele.currentStyle,document.compatMode)){
+    if(document.compatMode=="CSS1Compat"){
+      pl=parseInt(ele.currentStyle.paddingLeft);
+      pr=parseInt(ele.currentStyle.paddingRight);
+      bl=parseInt(ele.currentStyle.borderLeftWidth);
+      br=parseInt(ele.currentStyle.borderRightWidth);
+    }
+  }
+  else if(xDef(ele.offsetWidth,ele.style.width)){
+    ele.style.width=uW+"px";
+    pl=ele.offsetWidth-uW;
+  }
+  if(isNaN(pl)) pl=0; if(isNaN(pr)) pr=0; if(isNaN(bl)) bl=0; if(isNaN(br)) br=0;
+  var cssW=uW-(pl+pr+bl+br);
+  if(isNaN(cssW)||cssW<0) return;
+  else ele.style.width=cssW+"px";
+}
+function xSetCH(ele,uH){
+  if(uH<0) return;
+  var pt=0,pb=0,bt=0,bb=0;
+  if(xDef(document.defaultView) && xDef(document.defaultView.getComputedStyle)){
+    pt=xGetCS(ele,"padding-top");
+    pb=xGetCS(ele,"padding-bottom");
+    bt=xGetCS(ele,"border-top-width");
+    bb=xGetCS(ele,"border-bottom-width");
+  }
+  else if(xDef(ele.currentStyle,document.compatMode)){
+    if(document.compatMode=="CSS1Compat"){
+      pt=parseInt(ele.currentStyle.paddingTop);
+      pb=parseInt(ele.currentStyle.paddingBottom);
+      bt=parseInt(ele.currentStyle.borderTopWidth);
+      bb=parseInt(ele.currentStyle.borderBottomWidth);
+    }
+  }
+  else if(xDef(ele.offsetHeight,ele.style.height)){
+    ele.style.height=uH+"px";
+    pt=ele.offsetHeight-uH;
+  }
+  if(isNaN(pt)) pt=0; if(isNaN(pb)) pb=0; if(isNaN(bt)) bt=0; if(isNaN(bb)) bb=0;
+  var cssH=uH-(pt+pb+bt+bb);
+  if(isNaN(cssH)||cssH<0) return;
+  else ele.style.height=cssH+"px";
+}
+function xClip(e,iTop,iRight,iBottom,iLeft) {
+  if(!(e=xGetElementById(e))) return;
+  if(e.style) {
+    if (arguments.length == 5) e.style.clip="rect("+iTop+"px "+iRight+"px "+iBottom+"px "+iLeft+"px)";
+    else e.style.clip="rect(0 "+parseInt(e.style.width)+"px "+parseInt(e.style.height)+"px 0)";
+  }
+  else if(e.clip) {
+    if (arguments.length == 5) { e.clip.top=iTop; e.clip.right=iRight; e.clip.bottom=iBottom; e.clip.left=iLeft; }
+    else { e.clip.top=0; e.clip.right=xWidth(e); e.clip.bottom=xHeight(e); e.clip.left=0; }
+  }
+}
+
+// Event:
+function xAddEventListener(e,eventType,eventListener,useCapture) {
+  if(!(e=xGetElementById(e))) return;
+  eventType=eventType.toLowerCase();
+  if((!xIE4Up && !xOp7) && e==window) {
+    if(eventType=='resize') { window.xPCW=xClientWidth(); window.xPCH=xClientHeight(); window.xREL=eventListener; xResizeEvent(); return; }
+    if(eventType=='scroll') { window.xPSL=xScrollLeft(); window.xPST=xScrollTop(); window.xSEL=eventListener; xScrollEvent(); return; }
+  }
+  var eh="e.on"+eventType+"=eventListener";
+  if(e.addEventListener) e.addEventListener(eventType,eventListener,useCapture);
+  else if(e.attachEvent) e.attachEvent("on"+eventType,eventListener);
+  else if(e.captureEvents) {
+    if(useCapture||(eventType.indexOf('mousemove')!=-1)) { e.captureEvents(eval("Event."+eventType.toUpperCase())); }
+    eval(eh);
+  }
+  else eval(eh);
+}
+function xRemoveEventListener(e,eventType,eventListener,useCapture) {
+  if(!(e=xGetElementById(e))) return;
+  eventType=eventType.toLowerCase();
+  if((!xIE4Up && !xOp7) && e==window) {
+    if(eventType=='resize') { window.xREL=null; return; }
+    if(eventType=='scroll') { window.xSEL=null; return; }
+  }
+  var eh="e.on"+eventType+"=null";
+  if(e.removeEventListener) e.removeEventListener(eventType,eventListener,useCapture);
+  else if(e.detachEvent) e.detachEvent("on"+eventType,eventListener);
+  else if(e.releaseEvents) {
+    if(useCapture||(eventType.indexOf('mousemove')!=-1)) { e.releaseEvents(eval("Event."+eventType.toUpperCase())); }
+    eval(eh);
+  }
+  else eval(eh);
+}
+function xEvent(evt) { // cross-browser event object prototype
+  this.type = "";
+  this.target = null;
+  this.pageX = 0;
+  this.pageY = 0;
+  this.offsetX = 0;
+  this.offsetY = 0;
+  this.keyCode = 0;
+  var e = evt ? evt : window.event;
+  if(!e) return;
+  // type
+  if(e.type) this.type = e.type;
+  // target
+  if(xNN4) this.target = xLayerFromPoint(e.pageX, e.pageY);
+  else if(e.target) this.target = e.target;
+  else if(e.srcElement) this.target = e.srcElement;
+  // pageX, pageY
+  if(xOp5or6) { this.pageX = e.clientX; this.pageY = e.clientY; }
+  else if(xDef(e.pageX,e.pageY)) { this.pageX = e.pageX; this.pageY = e.pageY; }
+  else if(xDef(e.clientX,e.clientY)) { this.pageX = e.clientX + xScrollLeft(); this.pageY = e.clientY + xScrollTop(); }
+  // offsetX, offsetY
+  if(xDef(e.layerX,e.layerY)) { this.offsetX = e.layerX; this.offsetY = e.layerY; }
+  else if(xDef(e.offsetX,e.offsetY)) { this.offsetX = e.offsetX; this.offsetY = e.offsetY; }
+  else { this.offsetX = this.pageX - xPageX(this.target); this.offsetY = this.pageY - xPageY(this.target); }
+  // keycode
+  if (xDef(e.keyCode)) { this.keyCode = e.keyCode; }
+  else if (xDef(e.which)) { this.keyCode = e.which; }
+}
+function xResizeEvent() { // window resize event simulation
+  if (window.xREL) setTimeout("xResizeEvent()", 250);
+  var cw = xClientWidth(), ch = xClientHeight();
+  if (window.xPCW != cw || window.xPCH != ch) { window.xPCW = cw; window.xPCH = ch; if (window.xREL) window.xREL(); }
+}
+function xScrollEvent() { // window scroll event simulation
+  if (window.xSEL) setTimeout("xScrollEvent()", 250);
+  var sl = xScrollLeft(), st = xScrollTop();
+  if (window.xPSL != sl || window.xPST != st) { window.xPSL = sl; window.xPST = st; if (window.xSEL) window.xSEL(); }
+}
+
+// Object:
+function xGetElementById(e) {
+  if(typeof(e)!="string") return e;
+  if(document.getElementById) e=document.getElementById(e);
+  else if(document.all) e=document.all[e];
+  else if(document.layers) e=xLayer(e);
+  else e=null;
+  return e;
+}
+function xLayer(id,root) { // only for nn4
+  var i,layer,found=null;
+  if (!root) root=window;
+  for(i=0; i<root.document.layers.length; i++) {
+    layer=root.document.layers[i];
+    if(layer.id==id) return layer;
+    if(layer.document.layers.length) found=xLayer(id,layer);
+    if(found) return found;
+  }
+  return null;
+}
+function xLayerFromPoint(x,y,root) { // only for nn4
+  var i, hn=null, hz=-1, cn;
+  if (!root) root = window;
+  for (i=0; i < root.document.layers.length; ++i) {
+    cn = root.document.layers[i];
+    if (cn.visibility != "hide" && x >= cn.pageX && x <= cn.pageX + cn.clip.right && y >= cn.pageY && y <= cn.pageY + cn.clip.bottom ) {
+      if (cn.zIndex > hz) { hz = cn.zIndex; hn = cn; }
+    }
+  }
+  if (hn) {
+    cn = xLayerFromPoint(x,y,hn);
+    if (cn) hn = cn;
+  }
+  return hn;
+}
+function xParent(e){
+  if (!(e=xGetElementById(e))) return null;
+  var p=null;
+  if (e.parentLayer){if (e.parentLayer!=window) p=e.parentLayer;}
+  else{
+    if (e.offsetParent) p=e.offsetParent;
+    else if (e.parentNode) p=e.parentNode;
+    else if (e.parentElement) p=e.parentElement;
+  }
+  return p;
+}
+function xDef() {
+  for(var i=0; i<arguments.length; ++i){if(typeof(arguments[i])=="" || typeof(arguments[i])=="undefined") return false;}
+  return true;
+}
+
+// Window:
+function xScrollLeft() {
+  var offset=0;
+  if(xDef(window.pageXOffset)) offset=window.pageXOffset;
+  else if(document.documentElement && document.documentElement.scrollLeft) offset=document.documentElement.scrollLeft;
+  else if(document.body && xDef(document.body.scrollLeft)) offset=document.body.scrollLeft;
+  return offset;
+}
+function xScrollTop() {
+  var offset=0;
+  if(xDef(window.pageYOffset)) offset=window.pageYOffset;
+  else if(document.documentElement && document.documentElement.scrollTop) offset=document.documentElement.scrollTop;
+  else if(document.body && xDef(document.body.scrollTop)) offset=document.body.scrollTop;
+  return offset;
+}
+function xClientWidth() {
+  var w=0;
+  if(xOp5or6) w=window.innerWidth;
+  else if(xIE4Up && document.documentElement && document.documentElement.clientWidth)
+    w=document.documentElement.clientWidth;
+  else if(document.body && document.body.clientWidth)
+    w=document.body.clientWidth;
+  else if(xDef(window.innerWidth,window.innerHeight,document.height)) {
+    w=window.innerWidth;
+    if(document.height>window.innerHeight) w-=16;
+  }
+  return w;
+}
+function xClientHeight() {
+  var h=0;
+  if(xOp5or6) h=window.innerHeight;
+  else if(xIE4Up && document.documentElement && document.documentElement.clientHeight)
+    h=document.documentElement.clientHeight;
+  else if(document.body && document.body.clientHeight)
+    h=document.body.clientHeight;
+  else if(xDef(window.innerWidth,window.innerHeight,document.width)) {
+    h=window.innerHeight;
+    if(document.width>window.innerWidth) h-=16;
+  }
+  return h;
+}
+
+// end x.js
\ No newline at end of file

Added: templates/trunk/cab/about.template
===================================================================
--- templates/trunk/cab/about.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/cab/about.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,13 @@
+{include file="$blogtemplate/header.template"}
+<div id="content">
+ <div class="blog">
+  <div class="blogbody">
+  <h2 class="title">{$locale->tr("about")}</h2>
+  <div class="posted"><a href="{$url->templatePage("about")}">{$locale->tr("permalink")}</a></div>
+ You can change the contents of this page by editing the templates/about.template file.
+  </div>
+  <br />
+ </div>
+</div>
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/cab/album.template
===================================================================
--- templates/trunk/cab/album.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/cab/album.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,99 @@
+{include file="$blogtemplate/header.template"}
+
+<div id="content">
+{assign var="postDate" value=$album->getTimestamp()}
+  <h2>{$locale->tr("album")}</h2>
+
+  <div class="post">
+    <h3 class="storytitle"><a href="{$url->albumLink($album)}">{$album->getName()}</a></h3>
+    <div class="meta">
+        {$locale->tr("created")} {$locale->formatDate($postDate,"%d %b, %Y")}
+    </div>    
+    <div class="storycontent"><p>{$album->getDescription()}</p></div>
+ 
+{** 
+    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="{$locale->tr("album")}">
+ <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 -->
+
+ {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 style="text-align:center">{include file="$misctemplatepath/pager.template" style="links"}</div><br/>
+ </div>
+</div>
+
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/cab/albums.template
===================================================================
--- templates/trunk/cab/albums.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/cab/albums.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,26 @@
+{include file="$blogtemplate/header.template"}
+<div id="content">
+ <h2>{$locale->tr("albums")}</h2>
+{foreach from=$albums item=album}
+ {assign var="aDate" value=$album->getTimestamp()}
+ <div class="post">
+    <h3 class="storytitle"><a href="{$url->albumLink($album)}">{$album->getName()}</a></h3>
+    <div class="meta">
+        {$locale->tr("created")} {$locale->formatDate($aDate,"%d %b, %Y")}
+    </div>
+    <div class="storycontent">
+    <p>
+       {$album->getDescription()|truncate:255:"..."|escape}
+    </p>
+    </div>
+    <div class="feedback">
+      <a href="{$url->albumLink($album)}">  
+       <img src="{$url->getTemplateFile("folderblue.gif")}" width="10" height="11" style="border:0px;" />
+        {$locale->tr("view")} ({$album->getNumResources()})
+       </a>
+    </div>
+ </div>
+{/foreach}
+</div>
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/cab/cabbottom.jpg
===================================================================
(Binary files differ)


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

Added: templates/trunk/cab/cabhead.jpg
===================================================================
(Binary files differ)


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

Added: templates/trunk/cab/commentarticle.template
===================================================================
--- templates/trunk/cab/commentarticle.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/cab/commentarticle.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,6 @@
+{include file="$blogtemplate/header.template"}
+ {if $blogsettings->getValue("comments_enabled")}
+    <h2>{$locale->tr("add_comment")}</h2>
+    {include file="$blogtemplate/commentform.template"}
+ {/if}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/cab/commentform.template
===================================================================
--- templates/trunk/cab/commentform.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/cab/commentform.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,24 @@
+<form id="commentform" name="comments_form" action="{$url->getIndexUrl()}" method="post">
+  <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}"/>
+  <p>
+	<input tabindex="2" id="author" name="userName" />
+	<label for="author">{$locale->tr("comment_username")}</label>
+    </p>
+    <p>
+	<input tabindex="3" id="email" name="userEmail" />
+	<label for="email">{$locale->tr("comment_email")}</label>
+    </p>
+    <p>
+	<input tabindex="4" id="url" name="userUrl" />
+	<label for="url">{$locale->tr("comment_url")}</label>
+    </p>
+  <p>
+    <label for="commentText">{$locale->tr("add_comment")}</label><br />
+    
+    <textarea tabindex="5" id="text" name="commentText" rows="10" cols="50" id="commentText"></textarea><br /><br />
+    <input style="font-weight: bold;" type="submit" name="post" value="&nbsp;{$locale->tr("comment_send")}&nbsp;" /><br /><br />
+  </p>
+</form>

Added: templates/trunk/cab/download.gif
===================================================================
(Binary files differ)


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

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


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

Added: templates/trunk/cab/error.template
===================================================================
--- templates/trunk/cab/error.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/cab/error.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,20 @@
+{include file="$blogtemplate/header.template"}
+
+<div id="content">
+
+    <div class="post">
+        <h3 class="storytitle">{$locale->tr("error")}</h3>
+        
+        <div class="meta">
+            {$locale->tr("generated")} {$locale->formatDate($now,"%d %b, %Y")}
+        </div>
+        
+        <div class="storycontent">
+            <img src="{$url->getTemplateFile("error.gif")}" height="32" width="32" alt="Error"/>
+            {$locale->tr($message)}
+        </div>    
+    </div>
+</div>
+
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/cab/folderblue.gif
===================================================================
(Binary files differ)


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

Added: templates/trunk/cab/footer.template
===================================================================
--- templates/trunk/cab/footer.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/cab/footer.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,6 @@
+    </div>
+    <p class="credit">
+        Powered by <a href="http://www.lifetype.net" target="_blank">LifeType</a>
+    </p>
+    </body>
+</html>

Added: templates/trunk/cab/header.template
===================================================================
--- templates/trunk/cab/header.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/cab/header.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,21 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$locale->getLanguageId()}" 
+      lang="{$locale->getLanguageId()}" dir="{$locale->getDirection()}">
+<head>
+    <title>{$blog->getBlog()}</title>
+    <meta http-equiv="Content-Type" content="text/html;charset={$locale->getCharset()}" />
+    <meta name="generator" content="{$version}" />
+    <meta http-equiv="Content-Language" content="{$locale->getLanguageId()}" />
+    
+    <link rel="stylesheet" title="default" type="text/css" media="screen" href="{$url->getTemplateFile("style.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")}" />
+</head>
+
+<body>
+<div id="rap">
+    <h1 id="header"><a href="{$url->blogLink()}" title="{$blog->getBlog()}">{$blog->getBlog()}</a></h1>
+
+

Added: templates/trunk/cab/main.template
===================================================================
--- templates/trunk/cab/main.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/cab/main.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,13 @@
+{include file="$blogtemplate/header.template"}
+
+<div id="content">
+ {foreach from=$posts item=post}
+  <div class="post">
+    {include file="$blogtemplate/post.template"}
+  </div>
+ {/foreach}
+ <div style="text-align:center">{include file="$misctemplatepath/pager.template" style="links"}</div>
+</div>
+
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}
\ No newline at end of file

Added: templates/trunk/cab/panel.template
===================================================================
--- templates/trunk/cab/panel.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/cab/panel.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,67 @@
+
+<div id="menu">
+<ul>
+    <li id="search">{$locale->tr("search")}
+	   <form name="search_form" method="post"
+	   	      action="{$url->getIndexUrl()}">
+	      <input type="text" name="searchTerms" value="" size="14" /><br/>
+		  <input type="hidden" name="op" value="Search" />
+		  <input type="hidden" name="blogId" value="{$blog->getId()}"/>
+   </form>
+    </li>
+
+    <li id="wordpress">{$locale->tr("menu")}
+    <ul>
+     <li><a href="{$url->albumLink()}">{$locale->tr("albums")}</a></li>
+    </ul> 
+    </li>
+
+ <li id="categories">
+  {$locale->tr("categories")}
+  <ul>
+   {foreach from=$articlecategories item=articleCategory}
+    <li><a href="{$url->categoryLink($articleCategory)}">{$articleCategory->getName()} [{$articleCategory->getNumArticles()}]</a></li>
+   {/foreach}
+   </ul>
+ </li>
+  
+ <li id="archives">
+  {$locale->tr("archives")}
+  <ul>
+  {foreach from=$archives item=archivelink}
+   <li><a href="{$archivelink->getUrl()}">{$archivelink->getName()}</a></li>
+  {/foreach}
+  </ul>
+  </li>
+  <li id="calendar">
+	{$calendar}
+  </li>
+
+    <li id="meta">
+    Meta
+    <ul>
+     <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 href="http://validator.w3.org/check/referer" title="Valid XHTML 1.0 Transitional">Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr></a></li>
+     
+    </ul> 
+    </li>
+
+  <li id="style"> 
+  {$locale->tr("links")}
+  <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>
+    </li>
+</ul> 
+</div>

Added: templates/trunk/cab/post.template
===================================================================
--- templates/trunk/cab/post.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/cab/post.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,32 @@
+{assign var="postDate" value=$post->getDateObject()}
+{assign var="postOwner" value=$post->getUserInfo()}
+
+<h3 class="storytitle"><a href="{$url->postPermalink($post)}">{$post->getTopic()}</a></h3>
+
+{assign var=postCategory value=$post->getCategory()}
+{assign var=postText value=$post->getText()}
+<div class="meta">
+
+  {foreach name=categories from=$post->getCategories() item=postCategory} 
+    <a href="{$url->categoryLink($postCategory)}"
+		   title="{$postCategory->getName()}">
+		   {$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
+  {/foreach}
+
+ &#8212; {$locale->tr("posted_by")} {$postOwner->getUsername()} @ {$locale->formatDate($postDate,"%H:%M")}
+</div>
+<div class="storycontent">
+    {$postText} 
+    <br style="clear: both;" />
+ </div>
+<div class="feedback">
+    <a href="{$url->postPermalink($post)}#comments" title="{$locale->tr("comment on this")}">
+        {if $post->getTotalComments() eq 0}{$locale->tr("comment on this")}{else}{$post->getTotalComments()} {$locale->tr("comments")}{/if}
+    </a> |
+	{if $post->getTotalTrackbacks() > 0}
+	  <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}</a>
+	{else}
+	  {$post->getTotalTrackbacks()} {$locale->tr("trackbacks")}
+	{/if}
+</div>    
+

Added: templates/trunk/cab/postandcomments.template
===================================================================
--- templates/trunk/cab/postandcomments.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/cab/postandcomments.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,41 @@
+{include file="$blogtemplate/header.template"}
+
+<div id="content">
+    {assign var="postDate" value=$post->getDateObject()}
+    {assign var="postOwner" value=$post->getUserInfo()}
+    <h2>{$locale->formatDate($postDate,"%d %b, %Y")}</h2>
+    
+    <div class="post">
+        {include file="$blogtemplate/post.template"}
+    
+        <h2 id="comments">{$locale->tr("comments")}</h2>
+        
+         <ol id="commentlist">
+        {foreach from=$comments item=comment}
+        {assign var=commentText value=$comment->getText()}
+            <li id="comment-{$comment->getId()}">
+                <p>{$commentText}</p>
+               
+               	<p><cite>{$locale->tr("posted_by")}
+                   {if $comment->getUserUrl() != ""}
+                    <a href="{$comment->getUserUrl()}"}>{$comment->getUsername()}</a>
+                   {else}
+                    {$comment->getUsername()}
+                   {/if} &#8212;
+                   {assign var=commentDate value=$comment->getDateObject()}
+                   {$locale->formatDate($commentDate, "%d %b %Y, %H:%M")}
+                </cite></p>
+            </li>
+        {/foreach}    
+        </ol>
+            
+        {if $blogsettings->getValue("comments_enabled") && $post->getCommentsEnabled()==1}
+            <br style="clear: both;" />
+           <h2>{$locale->tr("add_comment")}</h2>
+          {include file="$blogtemplate/commentform.template"}
+        {/if}
+    </div>
+</div>
+
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/cab/posttrackbacks.template
===================================================================
--- templates/trunk/cab/posttrackbacks.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/cab/posttrackbacks.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,17 @@
+{include file="$blogtemplate/header.template"}
+<div id="content">
+ <div class="blog">
+  <div class="blogbody">
+   <h2 class="title">{$locale->tr("trackbacks_for_article")} "<a href="{$url->postLink($post)}">{$post->getTopic()}</a>"</h2>
+    {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/cab/resource.template
===================================================================
--- templates/trunk/cab/resource.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/cab/resource.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,58 @@
+{include file="$blogtemplate/header.template"}
+{assign var=metadata value=$resource->getMetadataReader()}
+{assign var=updated value=$resource->getTimestamp()}
+<div id="content">
+  <h2>{$locale->tr("resources")}</h2>
+<div class="post">
+    <h3 class="storytitle"><a href="{$url->resourceLink($resource)}">{$resource->getFileName()}</a></h3>
+    <div class="meta">
+        {$locale->tr("created")} {$locale->formatDate($updated,"%d %b, %Y")}
+    </div>
+   <div class="storycontent"><p>{$resource->getDescription()}</p></div>
+  {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/>
+    <div class="feedback">
+        <a href="{$url->resourceDownloadLink($resource)}">
+           <img src="{$url->getTemplateFile("download.gif")}" width="10" height="11" alt="Download" style="border:0px;" />
+           {$locale->tr("download")} ({$metadata->getRoundedSize()})
+        </a> 
+    </div>
+</div>
+  <p>
+   <a href="javascript:history.go(-1);">{$locale->tr("back")}</a>
+  </p>
+</div>
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}

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


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

Added: templates/trunk/cab/searchresults.template
===================================================================
--- templates/trunk/cab/searchresults.template	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/cab/searchresults.template	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,21 @@
+{include file="$blogtemplate/header.template"}
+<div id="content">
+   <h2>{$locale->tr("search_results")}: {foreach from=$searchterms item=term}{$term} {/foreach}</h2>
+   <p>
+    {foreach from=$searchresults item=result}
+     <div class="searchresult">
+      {assign var=article value=$result->getArticle()}
+      <a href="{$url->postPermalink($article)}"><h3><b>{$article->getTopic()}</b></h3></a>
+     <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>
+      {$article->getText()|strip_tags|truncate:300:"...":false}
+      </p>
+     </div>
+     <br/>
+    {/foreach}
+   </p> 
+</div>
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}

Added: templates/trunk/cab/style.css
===================================================================
--- templates/trunk/cab/style.css	2006-07-24 02:30:37 UTC (rev 3781)
+++ templates/trunk/cab/style.css	2006-07-24 02:46:34 UTC (rev 3782)
@@ -0,0 +1,308 @@
+/*
+wordpress screen master
+author: oliver temmler
+version: 020904
+released under GNU General Public License (GPL)
+*/
+
+/* ### layout ####################################################### */
+
+html body {
+	margin:0;
+	padding:0;
+	color:#000;
+	background:#666;
+	font:12px verdana,arial,helvetica,sans-serif;
+	} html>body {font-size:12px;}
+
+/* --- container including menu and entries ------------------------- */
+#rap {
+	margin:10px 20px 10px 20px;
+	border-style:solid;
+	border-color:#000;
+	border-width:1px;
+	background:#fff url("cabbottom.jpg") no-repeat bottom right;
+	}
+
+#header {
+	margin-top:0;
+	height:99px;
+	padding-left:330px;
+	text-align: right;
+	background:#c90 url("cabhead.jpg") no-repeat;
+	border-bottom:1px solid #000;
+	}
+
+#menu {
+/* IE6/Win2k, as far as I can tell, will hide a float, if 
+position:relative is not set. If you remove relative positioning below
+and the background:#fff url... above in #container the problem becomes
+more obvious. Similar behaviour is described at:
+www.evolt.org/article/MSIE6_bug_with_floating_divs_and_spacers/17/23899
+ */
+ 	position:absolute;
+    top:110px;
+    right:21px;
+	width:156px;
+	margin:0 -1px 10px 10px;
+	padding:0 0 4px 5px;
+	color:#000;
+	background-color:#666;
+	border-left:1px solid #000;
+	border-bottom:1px solid #000;
+	border-top:1px solid #000;
+/* Here is the ugly brilliant hack that protects IE5/Win from its own
+stupidity. Thanks to Tantek Celik for the hack and to Eric Costello for
+publicizing it. IE5/Win incorrectly parses the voice-family value,
+prematurely closing the style declaration. The incorrect IE5/Win 
+width-value is above, while the correct value is below. See
+http://glish.com/css/hacks.asp for details. */
+	voice-family: "\"}\"";
+	voice-family:inherit;
+	width:150px;
+	}
+/* The "be nice to Opera 5" rule. Basically, it feeds correct length
+values to user agents that exhibit the parsing error exploited above yet
+get the CSS box model right and understand the CSS2 parent-child
+selector. ALWAYS include a "be nice to Opera 5" rule every time you use
+the Tantek Celik hack (above). */
+html>body #menu {width:150px;}
+
+#menu #wordpress{
+	margin-top:-1px;
+	margin-bottom:5px;
+	padding:0 0 4px 5px;
+	background-color:#c90;
+	border-color:#000;
+	border-style:solid;
+	border-width:0 1px 1px 1px;
+	}
+
+#menu #categories{
+	margin-bottom:5px;
+	padding:0 0 4px 5px;
+	background-color:#c90;
+	border:1px solid #000;
+	}	
+
+#menu #search{
+	margin-bottom:5px;
+	padding:0 0 4px 5px;
+	background-color:#c90;
+	border:1px solid #000;
+	}
+	
+#menu #archives{
+	margin-bottom:5px;
+	padding:0 0 4px 5px;
+	background-color:#c90;
+	border:1px solid #000;
+	}
+
+#menu .calendar{
+	margin-bottom:5px;
+	padding:0 0 4px 5px;
+	background-color:#c90;
+	border:1px solid #000;
+	}
+
+#menu #other{
+	margin-bottom:5px;
+	padding:0 0 4px 5px;
+	background-color:#c90;
+	border:1px solid #000;
+	}
+
+#menu #meta{
+	margin-bottom:5px;
+	padding:0 0 4px 5px;
+	background-color:#c90;
+	border:1px solid #000;
+	}
+	
+#menu #style{
+	margin-bottom:5px;
+	padding:0 0 4px 5px;
+	background-color:#c90;
+	border:1px solid #000;
+	}
+	
+/* ### typeset ###################################################### */
+
+/* --- standard ----------------------------------------------------- */
+a {color:#000; text-decoration:none;}
+h1 {font-size:36px; text-align:left;}
+h2 {font-size:12px; text-align:left;}
+h3 {font-size:12px; text-align:left;}
+h4 {font-size:10px; text-align:left;}
+
+
+/* --- menu --------------------------------------------------------- */
+#menu {
+	text-align: left;
+	font-size:10px;
+	line-height:1.5em;
+	}
+
+#menu ul, #menu li{
+	list-style: none;
+	margin:0;
+	padding:0;
+	text-align:left;
+	}
+
+#menu #meta li{
+	list-style: none;
+	margin:0;
+	padding:2px 0;
+	text-align:left;
+	}
+
+#menu a, #menu a:visited {color:#fff; font-weight:bold; border-style:none;}
+#menu a:hover {color:#000; font-weight:bold; border-style:none;}
+
+#menu img {border:1px solid #000;}
+
+/* --- entries ------------------------------------------------------ */
+#content {
+	margin:0px 154px 50px 0px;
+	padding:0 10px 0 10px;
+	font-size:12px;
+	}
+
+.post{
+	margin-bottom:10px;
+	padding:0;
+	color:#000;
+	/*background-color:#fff;*/
+	border:1px solid #000;
+	}
+
+.post ul {
+	display:inline;
+	margin:0;
+	padding:0;
+	text-align:left;
+	}
+
+.post ul li {
+	display:inline;
+	list-style: none;
+	margin:0;
+	padding:0;
+	text-align:left;
+	}
+
+.storytitle {
+	margin:0;
+	padding:0 10px 0 10px;
+	letter-spacing:2pt;
+	text-align:left;
+	background-color:#c90;
+	}
+
+.meta {
+	margin:0 0 10px 0;
+	padding:1px 10px 1px 10px;
+	font-size:10px;
+	letter-spacing:1pt;
+	text-align:left;
+	background-color:#fc0;
+	border-bottom:1px solid #000;
+	}
+
+.storycontent {
+	margin:0;
+	padding:1px 10px 0 10px;
+	text-align:justify;
+	}
+
+blockquote {
+	margin:0;
+	padding:0 8px 0 8px;
+	text-align:justify;
+	}
+
+.feedback {
+	margin:0;
+	padding:1px 10px 5px 10px;
+	font-size:10px;
+	letter-spacing:1pt;
+	text-align:right;
+	}
+
+.trackback {
+	padding:0 10px 0 10px;
+	font-size:85%;
+	text-align:left;
+	}
+
+.credit {
+	margin:10px 20px 10px 20px;
+	padding-left:10px;
+	border-style:solid;
+	border-color:#000;
+	border-width:1px;
+	font-weight:bold;
+	font-size:10px; 
+	text-align:left;
+	background-color:#c90;
+	border-top:1px solid #000;
+	
+	}
+
+.storytitle a:link, .storytitle a:visited, .storytitle a:hover {font-weight:bold; border-style:none;}
+
+.storycontent a:link, .storycontent a:visited {border-bottom:dotted 1px #000;}
+.storycontent a:hover {border-bottom:solid 1px #000;}
+
+.feedback a:link, .feedback a:visited, .feedback a:hover {font-weight:bold;}
+
+
+#storycontent img {
+	position:relative;
+	float:left;
+	margin:5px 5px 5px 0;
+	border:1px solid #000;
+	}
+		
+/* --- comments ----------------------------------------------------- */
+.post #commentlist {
+	margin:0 10px 0 30px;
+	padding:0;
+	text-align:left;
+	}
+
+.post>p {
+	margin:0;
+	padding:0 10px 0 10px;
+	text-align:left;
+	}
+
+.post>h2 {
+	margin:0;
+	padding:0 10px 0 10px;
+	text-align:left;
+	}
+	
+#comments{
+	margin:0 0 2px 0;
+	padding:0 10px 0 10px;
+	color:#000;
+	letter-spacing:4pt;
+	background-color:#fc0;
+	border-top:1px solid #000;
+	border-bottom:1px solid #000;
+	}
+
+#commentlist {
+	margin:0;
+	padding:1px 10px 0 10px;
+	text-align:left;
+	}
+
+#commentform {
+	margin:0;
+	padding:1px 10px 5px 10px;
+	text-align:left;
+	}
\ No newline at end of file



More information about the pLog-svn mailing list