[pLog-svn] r1799 - in templates/trunk: . greenmarinee greenmarinee/images

oscar at devel.plogworld.net oscar at devel.plogworld.net
Sun Apr 10 22:18:44 GMT 2005


Author: oscar
Date: 2005-04-10 22:18:44 +0000 (Sun, 10 Apr 2005)
New Revision: 1799

Added:
   templates/trunk/greenmarinee/
   templates/trunk/greenmarinee/README.txt
   templates/trunk/greenmarinee/about.template
   templates/trunk/greenmarinee/album.template
   templates/trunk/greenmarinee/albums.template
   templates/trunk/greenmarinee/commentarticle.template
   templates/trunk/greenmarinee/commentform.template
   templates/trunk/greenmarinee/error.template
   templates/trunk/greenmarinee/favicon.ico
   templates/trunk/greenmarinee/footer.template
   templates/trunk/greenmarinee/header.template
   templates/trunk/greenmarinee/images/
   templates/trunk/greenmarinee/images/Thumbs.db
   templates/trunk/greenmarinee/images/bg_top.gif
   templates/trunk/greenmarinee/images/container.gif
   templates/trunk/greenmarinee/images/container_left.gif
   templates/trunk/greenmarinee/images/container_right.gif
   templates/trunk/greenmarinee/images/container_top.gif
   templates/trunk/greenmarinee/images/content_bullet.gif
   templates/trunk/greenmarinee/images/footer.gif
   templates/trunk/greenmarinee/images/links_bullet.gif
   templates/trunk/greenmarinee/images/search_submit.gif
   templates/trunk/greenmarinee/images/warning.gif
   templates/trunk/greenmarinee/main.template
   templates/trunk/greenmarinee/panel.template
   templates/trunk/greenmarinee/post.template
   templates/trunk/greenmarinee/postandcomments.template
   templates/trunk/greenmarinee/posttrackbacks.template
   templates/trunk/greenmarinee/resource.template
   templates/trunk/greenmarinee/rss.template
   templates/trunk/greenmarinee/screenshot.jpg
   templates/trunk/greenmarinee/searchresults.template
   templates/trunk/greenmarinee/style.css
   templates/trunk/greenmarinee/toolbar.js
Log:
another template ported by user knight, thanks a lot!


Added: templates/trunk/greenmarinee/README.txt
===================================================================
--- templates/trunk/greenmarinee/README.txt	2005-04-10 19:27:59 UTC (rev 1798)
+++ templates/trunk/greenmarinee/README.txt	2005-04-10 22:18:44 UTC (rev 1799)
@@ -0,0 +1,36 @@
+This is the readme file and change log file for "Green Marinee" template for Plog
+
+Green Marinee 1.0 - Designed by Ian Main | http://e-lusion.com
+[Theme built for WordPress 1.5 - Alex King - The WordPress 1.5 Themes Competition 2005] 
+[Licensed under GPL]
+[March 2005]
+
+Modified By Knight from http://www.ahknight.net, 
+Email me at me at ahknight.net if you found any error doe this template
+
+====================================================================
+
+
+# remove the <!-- and --> in panel.template if you wan to add a small box for self intro
+  <!--
+       <div id="author">
+	Here is a section you can use to briefly talk about yourself or your site. Uncomment and delete this line to use.
+	<p>Your description here.</p>
+       </div>
+       <div class="line"></div>
+   -->
+   
+# to add more grey box link at right hand bottom, you can edit the footer.template
+        <div class="extras">
+	<ul>
+	<li><a title="Link to the RSS 0.90 feed." href="{$url->rssLink("rss090")}">RSS</a></li>
+          <li><a href="http://www.plogworld.net/" title="Powered by pLog, multilingual multiuser multi-blog publishing platform.">pLog</a></li>
+          <li><a href="http://validator.w3.org/check/referer">XHTML 1.0 Strict</a></li>
+          <li><a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a></li>
+          <li> ADD MORE LINK HERE </li>
+        </ul>
+	</div>
+
+
+9 april 2005
+template port over
\ No newline at end of file


Property changes on: templates/trunk/greenmarinee/README.txt
___________________________________________________________________
Name: svn:executable
   + *

Added: templates/trunk/greenmarinee/about.template
===================================================================
--- templates/trunk/greenmarinee/about.template	2005-04-10 19:27:59 UTC (rev 1798)
+++ templates/trunk/greenmarinee/about.template	2005-04-10 22:18:44 UTC (rev 1799)
@@ -0,0 +1,12 @@
+{include file="$blogtemplate/header.template"}
+{include file="$blogtemplate/panel.template"}
+<div id="content">
+<div>
+  <h2><a href="{$url->templatePage("about")}">{$locale->tr("about")}</a></h2>
+  &nbsp;&nbsp;&nbsp;&nbsp;This template is a port over of 'greenmarinee' template which design by <a href='http://e-lusion.com/'>Ian Main</a>
+ <br/>
+ You can change the contents by editing the templates/greenmarinee/about.template file.
+  </div>
+  <br />
+ </div>
+{include file="$blogtemplate/footer.template"}


Property changes on: templates/trunk/greenmarinee/about.template
___________________________________________________________________
Name: svn:executable
   + *

Added: templates/trunk/greenmarinee/album.template
===================================================================
--- templates/trunk/greenmarinee/album.template	2005-04-10 19:27:59 UTC (rev 1798)
+++ templates/trunk/greenmarinee/album.template	2005-04-10 22:18:44 UTC (rev 1799)
@@ -0,0 +1,98 @@
+{include file="$blogtemplate/header.template"}
+{include file="$blogtemplate/panel.template"}
+<div id="content">
+{assign var="postDate" value=$album->getTimestamp()}
+<div>
+ <h2>{$album->getName()}</h2>
+ &nbsp;&nbsp;&nbsp;&nbsp;{$album->getDescription()}
+  <div class=meta>
+    <a href="{$url->albumLink($album)}">
+     {$locale->tr("resources")} ({$album->getNumResources()})
+    </a> | {$locale->tr("created")} {$locale->formatDate($postDate,"%d %b, %Y")}
+  </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="Album Resources">
+ <tr>
+  <td style="width:25%;" align="center" >
+   <a href="{$url->parentAlbumLink($album)}">
+    <img style="border:0px;" src="{$url->getUrl("/imgs/folder.gif")}" alt="Folder" /><br/>
+    ..
+   </a>
+  </td>
+  {assign var="counter" value=1}
+  {assign var=children value=$album->getChildren()}
+  {foreach from=$children item=childalbum}
+  <td style="width:25%;" align="center" >
+   <a href="{$url->albumLink($childalbum)}">
+   <img style="border:0px;" src="{$url->getUrl("/imgs/folder.gif")}" alt="Folder" /><br/>
+   {$childalbum->getName()} ({$childalbum->getNumResources()})
+  </a>
+  <br/><br/>
+  {assign var="counter" value="`$counter+1`"}
+  </td>
+  {if $counter%4}
+   </tr>
+   <tr>
+  {/if}
+ {/foreach}
+
+ <!--- show the resources here -->
+
+ {assign var=resources value=$album->getResources()}
+ {foreach from=$resources item=resource}
+  <td style="width:25%;" align="center" >
+  {if $resource->hasPreview()}
+   {*<a target="_blank" href="resserver.php?blogId={$blog->getId()}&amp;resource={$resource->getFileName()}">*}
+   <a href="{$url->resourceLink($resource)}">
+    <img alt="{$resource->getDescription()}" style="border:0px;" src="{$url->resourcePreviewLink($resource)}" />
+    <br/>{$resource->getFileName()}
+   </a>
+  {else}
+   <a href="{$url->resourceLink($resource)}">
+   {if $resource->isSound()}
+    <img alt="Sound" src="{$url->getUrl("/imgs/sound.gif")}" height="64" width="64" style="border:0px;" />
+   {elseif $resource->isVideo()}
+    <img alt="Video" src="{$url->getUrl("/imgs/video.gif")}" height="64" width="64" style="border:0px;" />
+   {elseif $resource->isZip()}
+    <img alt="Zip" src="{$url->getUrl("/imgs/compressed.gif")}" height="64" width="64" style="border:0px;" />   
+   {else}
+    <img alt="File" src="{$url->getUrl("/imgs/file.gif")}" height="64" width="64" style="border:0px;" />    
+   {/if}
+   <br/>{$resource->getFileName()}
+   </a>
+  {/if}
+  <br/>
+  {assign var=metadata value=$resource->getMetadataReader()}
+  {$metadata->getRoundedSize()}<br/>
+  {if $resource->isImage()}
+   {$metadata->getWidth()} x {$metadata->getHeight()}<br/>
+  {elseif $resource->isSound()}
+   {$metadata->getFormat()|upper} {$metadata->getSampleRate()} bps<br/>
+  {elseif $resource->isVideo()}
+   {$metadata->getFormat()|upper}
+   {$metadata->getWidth()} x {$metadata->getHeight()}, 
+   {$metadata->getLengthString()}<br/>
+  {elseif $resource->isZip()}
+   {$metadata->getTotalFiles()} {$locale->tr("files")}<br/>
+  {/if}
+  {assign var="counter" value="`$counter+1`"}
+  </td>
+  {if $counter%4 == 0}
+   </tr>
+   <tr>
+  {/if}
+ {/foreach}
+ <td></td></tr>
+</table>  
+ <!-- end of album contents -->
+ 
+ </div>
+</div>
+{include file="$blogtemplate/footer.template"}


Property changes on: templates/trunk/greenmarinee/album.template
___________________________________________________________________
Name: svn:executable
   + *

Added: templates/trunk/greenmarinee/albums.template
===================================================================
--- templates/trunk/greenmarinee/albums.template	2005-04-10 19:27:59 UTC (rev 1798)
+++ templates/trunk/greenmarinee/albums.template	2005-04-10 22:18:44 UTC (rev 1799)
@@ -0,0 +1,17 @@
+{include file="$blogtemplate/header.template"}
+{include file="$blogtemplate/panel.template"}
+<div id="content">
+{foreach from=$albums item=album}
+ {assign var="aDate" value=$album->getTimestamp()}
+ <div>
+ <h2>{$album->getName()}</h2>
+ &nbsp;&nbsp;&nbsp;&nbsp;{$album->getDescription()|truncate:255:"..."|escape}
+  <div class="meta">
+   <a href="{$url->albumLink($album)}">  
+     {$locale->tr("view")} ({$album->getNumResources()})
+    </a> | {$locale->tr("created")} {$locale->formatDate($aDate,"%d %b, %Y")}
+  </div>
+</div>
+{/foreach}
+</div>
+{include file="$blogtemplate/footer.template"}


Property changes on: templates/trunk/greenmarinee/albums.template
___________________________________________________________________
Name: svn:executable
   + *

Added: templates/trunk/greenmarinee/commentarticle.template
===================================================================
--- templates/trunk/greenmarinee/commentarticle.template	2005-04-10 19:27:59 UTC (rev 1798)
+++ templates/trunk/greenmarinee/commentarticle.template	2005-04-10 22:18:44 UTC (rev 1799)
@@ -0,0 +1,7 @@
+{include file="$blogtemplate/header.template"}
+ <div class="comments-head"><a name="comments"></a>{$locale->tr("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"}


Property changes on: templates/trunk/greenmarinee/commentarticle.template
___________________________________________________________________
Name: svn:executable
   + *

Added: templates/trunk/greenmarinee/commentform.template
===================================================================
--- templates/trunk/greenmarinee/commentform.template	2005-04-10 19:27:59 UTC (rev 1798)
+++ templates/trunk/greenmarinee/commentform.template	2005-04-10 22:18:44 UTC (rev 1799)
@@ -0,0 +1,21 @@
+<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>


Property changes on: templates/trunk/greenmarinee/commentform.template
___________________________________________________________________
Name: svn:executable
   + *

Added: templates/trunk/greenmarinee/error.template
===================================================================
--- templates/trunk/greenmarinee/error.template	2005-04-10 19:27:59 UTC (rev 1798)
+++ templates/trunk/greenmarinee/error.template	2005-04-10 22:18:44 UTC (rev 1799)
@@ -0,0 +1,14 @@
+{include file="$blogtemplate/header.template"}
+{include file="$blogtemplate/panel.template"}
+<div id="content">
+  <div>
+   <h2 class="title">{$locale->tr("error")}</h2>
+   <div class="posted">
+    {$locale->tr("generated")} {$locale->formatDate($now,"%d %b, %Y")}
+   </div>
+    {$locale->tr($message)}
+    <br/><br/>
+  <a href="javascript:history.go(-1)">{$locale->tr("back")}</a> 
+  </div>
+</div>
+{include file="$blogtemplate/footer.template"}


Property changes on: templates/trunk/greenmarinee/error.template
___________________________________________________________________
Name: svn:executable
   + *

Added: templates/trunk/greenmarinee/favicon.ico
===================================================================
(Binary files differ)


Property changes on: templates/trunk/greenmarinee/favicon.ico
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/greenmarinee/footer.template
===================================================================
--- templates/trunk/greenmarinee/footer.template	2005-04-10 19:27:59 UTC (rev 1798)
+++ templates/trunk/greenmarinee/footer.template	2005-04-10 22:18:44 UTC (rev 1799)
@@ -0,0 +1,21 @@
+ <hr />
+ </div>
+      <div id="footer">
+      <p>Original Design By <a href="http://e-lusion.com" title="Ian Main - e-lusion.com">Ian Main</a>  modified for <a href="http://www.plogworld.net/" title="Powered by pLog, multilingual multiuser multi-blog publishing platform.">pLog</a> by <a href="http://www.ahknight.net">Knight</a></p>
+        <div class="extras">
+	<ul>
+	<li><a title="Link to the RSS 0.90 feed." href="{$url->rssLink("rss090")}">RSS</a></li>
+          <li><a href="http://www.plogworld.net/" title="Powered by pLog, multilingual multiuser multi-blog publishing platform.">pLog</a></li>
+          <li><a href="http://validator.w3.org/check/referer">XHTML 1.0 Strict</a></li>
+          <li><a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a></li>
+        </ul>
+	</div>
+      </div>
+      </div>
+      </div>
+      </div>
+      </div>
+</div>
+</body>
+</html>
+


Property changes on: templates/trunk/greenmarinee/footer.template
___________________________________________________________________
Name: svn:executable
   + *

Added: templates/trunk/greenmarinee/header.template
===================================================================
--- templates/trunk/greenmarinee/header.template	2005-04-10 19:27:59 UTC (rev 1798)
+++ templates/trunk/greenmarinee/header.template	2005-04-10 22:18:44 UTC (rev 1799)
@@ -0,0 +1,42 @@
+<!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">
+   <h1><a href="{$url->blogLink()}">{$blog->getBlog()}</a></h1>
+   <!-- Tag line description is off by default. Please see readme.txt or CSS(h1,tagline) for more info
+   		<div class="tagline"><?php // remove bloginfo('description'); ?></div> 
+	-->
+ 	<div id="content_bg">
+ 	<!-- Needed for dropshadows -->
+ 	<div class="container_left">
+ 	<div class="container_right">
+ 	<div class="topline">
+ 	<!-- Start float clearing -->
+	<div class="clearfix">


Property changes on: templates/trunk/greenmarinee/header.template
___________________________________________________________________
Name: svn:executable
   + *

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


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

Added: templates/trunk/greenmarinee/images/bg_top.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/greenmarinee/images/bg_top.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/greenmarinee/images/container.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/greenmarinee/images/container.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/greenmarinee/images/container_left.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/greenmarinee/images/container_left.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/greenmarinee/images/container_right.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/greenmarinee/images/container_right.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/greenmarinee/images/container_top.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/greenmarinee/images/container_top.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/greenmarinee/images/content_bullet.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/greenmarinee/images/content_bullet.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/greenmarinee/images/footer.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/greenmarinee/images/footer.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/greenmarinee/images/links_bullet.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/greenmarinee/images/links_bullet.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/greenmarinee/images/search_submit.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/greenmarinee/images/search_submit.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/greenmarinee/images/warning.gif
===================================================================
(Binary files differ)


Property changes on: templates/trunk/greenmarinee/images/warning.gif
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + application/octet-stream

Added: templates/trunk/greenmarinee/main.template
===================================================================
--- templates/trunk/greenmarinee/main.template	2005-04-10 19:27:59 UTC (rev 1798)
+++ templates/trunk/greenmarinee/main.template	2005-04-10 22:18:44 UTC (rev 1799)
@@ -0,0 +1,11 @@
+
+{include file="$blogtemplate/header.template"}
+{include file="$blogtemplate/panel.template"}
+<div id="content">
+  {foreach from=$posts item=post}
+    {include file="$blogtemplate/post.template"}
+  {/foreach}
+</div>
+
+
+{include file="$blogtemplate/footer.template"}


Property changes on: templates/trunk/greenmarinee/main.template
___________________________________________________________________
Name: svn:executable
   + *

Added: templates/trunk/greenmarinee/panel.template
===================================================================
--- templates/trunk/greenmarinee/panel.template	2005-04-10 19:27:59 UTC (rev 1798)
+++ templates/trunk/greenmarinee/panel.template	2005-04-10 22:18:44 UTC (rev 1799)
@@ -0,0 +1,98 @@
+<div id="right">
+<!--
+ <div id="author">
+	Here is a section you can use to briefly talk about yourself or your site. Uncomment and delete this line to use.
+	<p>Your description here.</p>
+ </div>
+ <div class="line"></div>
+-->
+<div id="links">
+
+ <h3>{$locale->tr("search")|capitalize}</h3>
+ <div id="search">
+   <div id="search_area">
+     <form method="post" action="{$url->getIndexUrl()}">
+       <div>
+         <input type="text" name="searchTerms" value="" />
+         <input type="hidden" name="op" value="Search" />
+         <input type="hidden" name="blogId" value="{$blog->getId()}"/>   
+         <input type="submit" name="Search" 
+			  value="{$locale->tr("search")|capitalize}" />
+       </div>
+     </form>
+   </div>
+ </div> 
+ 
+<div class="line"></div>
+ 
+<h3>{$locale->tr("recently")|capitalize}</h3>
+  <ul>
+  {foreach from=$recentposts item=post}
+   <li><a title="{$post->getText()|truncate:15:"..."|escape}" 
+		  href="{$url->postLink($post)}">{$post->getTopic()}</a></li>
+  {/foreach}
+  </ul>
+
+<div class="line"></div>
+
+ <h3>{$locale->tr("categories")|capitalize}</h3>
+  <ul>
+   {foreach from=$articlecategories item=articleCategory}
+    <li>
+	  <a href="{$url->categoryLink($articleCategory)}">
+		 {$articleCategory->getName()}</a>
+		 [{$articleCategory->getNumArticles()}]
+      <a class="nodecoration" 
+		href="{$url->categoryRssLink($articleCategory)}"> RSS </a></li>
+   {/foreach}
+   </ul>
+ 
+ <div class="line"></div>
+ 
+ <h3>{$locale->tr("archives")|capitalize}</h3>
+  <ul>
+  {foreach from=$archives item=archivelink}
+   <li><a href="{$archivelink->getUrl()}">{$archivelink->getName()}</a>
+		[{$archivelink->getNumArticles()}]</li>
+  {/foreach}
+  </ul>
+ 
+ <div class="line"></div>
+
+ <h3>{$locale->tr("links")|capitalize}</h3>
+ <ul>
+   {foreach name=linkcategories from=$mylinkscategories item=linkcategory}
+     {if $linkcategory->getNumLinks()>0}
+     <li>
+        <b>{$linkcategory->getName()}</b>
+        
+        {foreach name=linkcategorylinks from=$linkcategory->getLinks() item=link}
+          {if $smarty.foreach.linkcategorylinks.first}<ul>{/if}
+          <li><a href="{$link->getUrl()}" 
+          title="{$link->getDescription()}">{$link->getName()}</a></li>
+          {if $smarty.foreach.linkcategorylinks.last}</ul>{/if}
+        {/foreach}
+        
+     </li>
+     {/if}
+   {/foreach} 
+</ul>
+ 
+ <div class="line"></div>
+
+ <h3>{$locale->tr("menu")|capitalize}</h3>
+  <ul>
+   <li><a href="{$url->templatePage("about")}">{$locale->tr("about")}</a></li>
+   <li><a href="{$url->albumLink()}">{$locale->tr("albums")}</a></li>
+   <li><a title="Link to the RSS 0.90 feed."
+		  href="{$url->rssLink("rss090")}">RSS 0.90</a></li>
+   <li><a title="Link to the RSS 1.0 feed."
+		  href="{$url->rssLink("rss10")}">RSS 1.0</a></li>
+   <li><a title="Link to the RSS 2.0 feed."
+		  href="{$url->rssLink("rss20")}">RSS 2.0</a></li>
+   <li><a title="Link to the Atom 0.3 feed."
+		  href="{$url->rssLink("atom")}">Atom 0.3</a></li>
+  </ul> 
+ 
+</div>
+</div>
\ No newline at end of file


Property changes on: templates/trunk/greenmarinee/panel.template
___________________________________________________________________
Name: svn:executable
   + *

Added: templates/trunk/greenmarinee/post.template
===================================================================
--- templates/trunk/greenmarinee/post.template	2005-04-10 19:27:59 UTC (rev 1798)
+++ templates/trunk/greenmarinee/post.template	2005-04-10 22:18:44 UTC (rev 1799)
@@ -0,0 +1,23 @@
+<!-- {$url->postTrackbackLink($post)} -->
+{assign var="postDate" value=$post->getDateObject()}
+{assign var="postOwner" value=$post->getUserInfo()}
+<div>
+ <h2>{$post->getTopic()}</h2>
+<div class="meta">{$locale->tr("posted_by")} {$postOwner->getUsername()}  {$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} - 
+  {$locale->formatDate($postDate,"%j %b, %Y")}
+</div>
+<br />
+<div class="main">
+  {$post->getText()}
+</div>
+<br />
+<div class="comments">
+   <a href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a> /
+   <a href="{$url->postPermalink($post)}">({$post->getTotalComments()}) {$locale->tr("Comments")} </a> /
+   <a href="{$url->postTrackbackStatsLink($post)}">({$post->getNumTrackbacks()}) {$locale->tr("trackbacks")} </a>
+   <?php echo "$url" ?>
+</div>   
+</div>
\ No newline at end of file


Property changes on: templates/trunk/greenmarinee/post.template
___________________________________________________________________
Name: svn:executable
   + *

Added: templates/trunk/greenmarinee/postandcomments.template
===================================================================
--- templates/trunk/greenmarinee/postandcomments.template	2005-04-10 19:27:59 UTC (rev 1798)
+++ templates/trunk/greenmarinee/postandcomments.template	2005-04-10 22:18:44 UTC (rev 1799)
@@ -0,0 +1,48 @@
+{include file="$blogtemplate/header.template"}
+{include file="$blogtemplate/panel.template"}
+{assign var="postPageTitle" value=$post->getTopic()}
+{assign var="postPageTitle" value=" | $postPageTitle"}
+{assign var="postDate" value=$post->getDateObject()}
+{assign var="postOwner" value=$post->getUserInfo()}
+{assign var="oddcomment" value='alt'}
+
+<div id="content">
+ {include file="$blogtemplate/post.template"}
+
+ <div>
+ {if $post->getComments()}
+ <ol class="commentlist">
+ {foreach from=$post->getComments() item=comment}
+  <li class={$oddcomment}>
+    <div class="comment_author">
+      {if $comment->getUserUrl() != ""}
+        <a href="{$comment->getUserUrl()}"}>{$comment->getUsername()}</a>
+      {else}
+        {$comment->getUsername()}
+      {/if}{$locale->tr("comment on this")}
+    </div>
+    <p class="metadate">
+       	{assign var=commentDate value=$comment->getDateObject()}
+        {$locale->formatDate($commentDate, "%d %b %Y, %H:%M")}
+    </p>
+   <a name="{$comment->getId()}"></a><p>{$comment->getText()}</p>  
+  </li>
+  {if $oddcomment == 'alt'}
+  {assign var="oddcomment" value=''}
+  {else}
+  {assign var="oddcomment" value='alt'}
+  {/if}
+  {/foreach}
+ </ol>
+ {/if}
+ </div>
+ 
+ {if $blogsettings->getValue("comments_enabled") && $post->getCommentsEnabled()==1}
+  <div>
+   <div>{$locale->tr("add_comment")}</div>
+     {include file="$blogtemplate/commentform.template"}
+  </div>
+ {/if}
+</div> 
+
+{include file="$blogtemplate/footer.template"}


Property changes on: templates/trunk/greenmarinee/postandcomments.template
___________________________________________________________________
Name: svn:executable
   + *

Added: templates/trunk/greenmarinee/posttrackbacks.template
===================================================================
--- templates/trunk/greenmarinee/posttrackbacks.template	2005-04-10 19:27:59 UTC (rev 1798)
+++ templates/trunk/greenmarinee/posttrackbacks.template	2005-04-10 22:18:44 UTC (rev 1799)
@@ -0,0 +1,15 @@
+{include file="$blogtemplate/header.template"}
+{include file="$blogtemplate/panel.template"}
+<div id="content">
+  <div>
+   <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>
+{include file="$blogtemplate/footer.template"}


Property changes on: templates/trunk/greenmarinee/posttrackbacks.template
___________________________________________________________________
Name: svn:executable
   + *

Added: templates/trunk/greenmarinee/resource.template
===================================================================
--- templates/trunk/greenmarinee/resource.template	2005-04-10 19:27:59 UTC (rev 1798)
+++ templates/trunk/greenmarinee/resource.template	2005-04-10 22:18:44 UTC (rev 1799)
@@ -0,0 +1,55 @@
+{include file="$blogtemplate/header.template"}
+{assign var=metadata value=$resource->getMetadataReader()}
+{assign var=updated value=$resource->getTimestamp()}
+{include file="$blogtemplate/panel.template"}
+<div id="content">
+ <div>
+  <h2>{$resource->getFileName()}</h2>
+   <div>
+     <a href="{$url->resourceDownloadLink($resource)}">{$locale->tr("download")}</a> 
+    ({$metadata->getRoundedSize()}) | {$locale->tr("created")} {$locale->formatDate($updated,"%d %b, %Y")}
+   </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/footer.template"}


Property changes on: templates/trunk/greenmarinee/resource.template
___________________________________________________________________
Name: svn:executable
   + *

Added: templates/trunk/greenmarinee/rss.template
===================================================================
--- templates/trunk/greenmarinee/rss.template	2005-04-10 19:27:59 UTC (rev 1798)
+++ templates/trunk/greenmarinee/rss.template	2005-04-10 22:18:44 UTC (rev 1799)
@@ -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


Property changes on: templates/trunk/greenmarinee/rss.template
___________________________________________________________________
Name: svn:executable
   + *

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


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

Added: templates/trunk/greenmarinee/searchresults.template
===================================================================
--- templates/trunk/greenmarinee/searchresults.template	2005-04-10 19:27:59 UTC (rev 1798)
+++ templates/trunk/greenmarinee/searchresults.template	2005-04-10 22:18:44 UTC (rev 1799)
@@ -0,0 +1,35 @@
+{include file="$blogtemplate/header.template"}
+{include file="$blogtemplate/panel.template"}
+
+<div id="content">
+  <h2>{$locale->tr("search_results")}: 
+    {foreach from=$searchterms item=term}{$term} {/foreach}
+  </h2>
+  {foreach from=$searchresults item=result}
+    <div>
+      {assign var=article value=$result->getArticle()}
+      {assign var="postDate" value=$article->getDateObject()}
+      {assign var="postOwner" value=$article->getUserInfo()}
+
+      <div>
+        <h2>
+          <a href="{$url->postPermalink($article)}">
+				{$article->getTopic()}</a>
+	</h2>
+        <div class="meta">{$locale->tr("posted_by")}
+          {$postOwner->getUsername()} {$locale->formatDate($postDate,"%j %b, %Y")}
+
+		  | {foreach name=categories 
+				 from=$article->getCategories() item=postcategory}
+			   <a href="{$url->categoryLink($postcategory)}">
+			     {$postcategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
+          {/foreach}
+        </div>
+      </div>
+      {$article->getText()|strip_tags|truncate:300:"...":false}
+    </div>
+  {/foreach}
+</div>
+
+
+{include file="$blogtemplate/footer.template"}


Property changes on: templates/trunk/greenmarinee/searchresults.template
___________________________________________________________________
Name: svn:executable
   + *

Added: templates/trunk/greenmarinee/style.css
===================================================================
--- templates/trunk/greenmarinee/style.css	2005-04-10 19:27:59 UTC (rev 1798)
+++ templates/trunk/greenmarinee/style.css	2005-04-10 22:18:44 UTC (rev 1799)
@@ -0,0 +1,512 @@
+/*
+Theme Name: Green Marinée
+Theme URI: http://e-lusion.com/
+Description: Green Marinée was designed and built specially for <a href="http://alexking.org">Alex King's</a> WordPress 1.5 themes competition.
+Version: 1.0
+Author: <a href="http://e-lusion.com">Ian Main</a>
+
+For the WordPress community (GPL), enjoy it guys.
+by Ian Main - e-lusion.com
+*/
+
+/*
+
+	1) General selectors - body,h1/h3,a,blockquote,code,p
+	2) Structure - container,content,tagline
+	3) Left selectors - main,meta,comments
+	4) Right selectors - author,links,line,search,themes
+	5) Footer - extras
+	6) Forms - input,textarea
+	7) Accessibility - skip,hr
+	8) Hacks - clearfix
+
+*/
+
+/* 1) -=-=-=- General selectors -=-=-=- */
+
+body {
+	background: #FCFEF4 url(images/bg_top.gif) repeat-x;
+	margin: 68px 0 20px 0;
+	font-family: Arial, Verdana, Helvetica;
+	font-size: 76%;
+	color: #3F3F3F;
+	text-align: center;
+	}
+
+h1 {
+	color: #FCFEF4;
+	margin: -35px 0 0 7px;
+	position: absolute;
+	font-size: 2.2em;
+	}
+	
+/* Uncomment if you want to use the tagline feature (make sure you uncomment .tagline below) - off by default
+h1 {
+	color: #FCFEF4;
+	margin: -45px 0 0 7px;
+	position: absolute;
+	font-size: 2.2em;
+	}
+*/
+	
+h1 a:link, h1 a:visited {
+	color: #FCFEF4;
+	text-decoration: none;
+	}
+	
+h1 a:hover, h1 a:active {
+	background: none;
+	color: #DAED9C;
+	text-decoration: none;
+	}
+	
+h2 {
+	color: #7DA721;
+	font-weight: normal;
+	font-size: 1.8em;
+	margin: 20px 0 0 0;
+	}
+	
+h2 a:link, h2 a:visited {
+	color: #7DA721;
+	font-weight: normal;
+	text-decoration: none;
+	}
+
+h2 a:hover, h2 a:active {
+	color: #3F3F3F;
+	background: none;
+	font-weight: normal;
+	text-decoration: none;
+	}
+	
+h3 {
+	color: #7DA721;
+	font-size: 1.2em;
+	margin: 20px 0 -10px 0;
+	font-weight: bold;
+	}
+	
+a:link {
+	color: #78A515;
+	font-weight: bold;
+	text-decoration: none;
+	}
+	
+a:visited {
+	color: #999;
+	}
+	
+a:hover, a:active {
+	background: #78A515;
+	color: #fff;
+	text-decoration: none;
+	}
+	
+td a:hover, a:active  { 
+        background: #FFF;
+        color: #000;
+	text-decoration: none;
+	}
+	
+blockquote {
+	border-left: 4px solid #3F3F3F;
+	padding: 0 10px;
+	margin: 0 0 0 10px;
+	font-style: italic;
+	}
+	
+code {
+	display: block;
+	padding: 10px;
+	color: #444E1F;
+	background: #F5F8E8;
+	font-size: 1.2em;
+	border-top: 2px solid #D0EC98;
+	}
+
+p {
+	line-height: 1.4;
+	}
+	
+/* 2)-=-=-=- Structure -=-=-=- */
+		
+#container {
+	width: 765px;
+	margin: 0 auto;
+	text-align: left;
+	}
+	
+.container_left {
+	background: url(images/container_left.gif) no-repeat;
+	}
+	
+.container_right {
+	background: url(images/container_right.gif) no-repeat top right;
+	}
+	
+.topline {
+	background: url(images/container_top.gif) no-repeat;
+	}
+	
+#content {
+	padding-top: 30px;
+	margin: 20px;
+	width: 480px;
+	}
+	
+#content_bg {
+	background: #fff url(images/container.gif) repeat-y;
+	}
+	
+/* Uncomment if you want to use the tagline feature (make sure you uncomment h1 above and comment the original h1) - off by default */
+.tagline {
+	color: #888;
+	margin: 10px 0px 0 30px;
+	position: absolute;
+	font-size: 1em;
+	}
+
+	
+/* 3)-=-=-=- Left selectors -=-=-=- */	
+	
+.main li {
+	background: url(images/content_bullet.gif) no-repeat 0 7px;
+	padding: 2px 0 0 10px;
+	list-style: none;
+	}
+	
+.main ul {
+	padding: 0 0 20px 10px;
+	margin: 0;
+	}
+	
+.main img {
+	padding: 3px;
+	border: 1px solid #ACE149;
+	}
+	
+.meta {
+	background: #F5F5F5;
+	font-size: .9em;
+	padding: 2px;
+	}
+	
+.meta:hover {
+	background: #F7FEDC;
+	}
+	
+.highlight { /* Basic highlight for text */
+	background: #F7FEDC;
+	}
+	
+.comments {
+	font-size: 1.2em;
+	padding-bottom: 25px;
+	border-bottom: 3px double #eee;
+	}
+	
+.comments a:link, .comments a:visited {
+	color: #78A515;
+	font-weight: bold;
+	text-decoration: none;
+	}
+	
+.comments a:hover, .comments a:active {
+	background: #78A515;
+	color: #fff;
+	text-decoration: none;
+	}	
+	
+.alt {
+	background: #EAF8CF !important; 
+	border: 1px solid #D5F0A4 !important;
+	padding: 10px 10px 0 10px !important;
+	}
+	
+.alt:hover {
+	border: 1px solid #ACE149 !important;
+	}
+	
+.commentlist li:hover {
+	border: 1px solid #ACE149;
+	}
+	
+.commentlist {
+	padding: 0;
+	margin: 0;
+	}
+	
+.commentlist li {
+	list-style: none;
+	padding: 10px 10px 0 10px;
+	background: #F6FCEB;
+	border: 1px solid #DEF3B6;
+	margin: 10px;
+	color: #3C452D;
+	}
+	
+p.metadate {
+	font-size: .8em;
+	margin: 0;
+	text-transform: uppercase;
+	}
+	
+p.comment_meta {
+	margin: 0 0 10px 10px;
+	font-size: .9em;
+	}
+	
+.comment_author a:visited {
+	font-weight: bold;
+	text-decoration: none;
+	}
+	
+.reply {
+	font-weight: bold;
+	font-size: 1.2em;
+	margin: 10px 0 0 10px;
+	}
+	
+.warning p { /* Used on the search page (image will appear if no result is found) */
+	background: url(images/warning.gif) no-repeat left;
+	height: 160px;
+	padding: 20px 0 0 90px;
+	font-size: 1.5em;
+	margin: 0 0 0 10px;
+	}
+	
+.postinput {
+	margin-left: 10px;
+	}
+	
+/* 4)-=-=-=- Right selectors -=-=-=- */	
+	
+#right {
+	float: right;
+	width: 250px;
+	padding: 10px 15px;
+	
+	/* Box model hack used for IE5.5/5 */
+	voice-family: "\"}\""; 
+  	voice-family: inherit;
+  	width: 230px;
+	}
+	
+#author li {
+	list-style: none;
+	margin: 0;
+	padding: 0 5px 20px 0;
+	font-size: .9em;
+	line-height: 1.4;
+	}
+	
+#author ul {
+	padding: 20px 0 0 0;
+	margin: 0;
+	}
+	
+#links li {
+	list-style: none;
+	background: url(images/links_bullet.gif) no-repeat 0 50%;
+	padding: 2px 0 2px 20px;
+	}
+	
+	
+#links ul {
+	padding: 20px 10px 30px 10px;
+	margin: 0;
+	}
+	
+#links ul ul{
+	padding: 0;
+	margin: 0;
+	}
+
+#links ul li{
+        list-style: none;
+	background: url(images/links_bullet.gif) no-repeat 0 0%;
+	padding: 0px 0 2px 20px;
+	}
+	
+#links a {
+	font-size: .9em;
+	text-decoration: none;
+	}
+	
+#links a:link {
+	color: #565D4A;
+	font-weight: normal;
+	}
+	
+#links a:visited {
+	color: #aaa;
+	}
+	
+#links a:hover, #links a:active {
+	background: #80BE14;
+	color: #fff;
+	}
+	
+.line {
+	border-top: 3px solid #ACE149;
+	margin-top: -5px;
+	}
+	
+#search {
+	background: url(images/search.gif) no-repeat;
+	height: 56px;
+	margin: 0 auto;
+	padding-top: 22px;
+	}
+	
+#search h3 {
+	font-size: 1.4em;
+	margin: 20px 0 -10px 0;
+	font-weight: normal;
+	}
+	
+p.searchinfo {
+	margin: 2px 0 -8px 2px;
+	font-size: .9em;
+	color: #999;
+	}
+	
+.searchfield {
+	background: #fff;
+	border: 1px solid #ACE149;
+	color: #7DA721;
+	padding: 2px 5px 1px 5px;
+	width: 160px;
+	}
+	
+.searchfield:hover {
+	border: 1px solid #BFBFBF;
+	color: #949494;
+	}
+	
+.submit {
+	background: url(images/search_submit.gif) no-repeat;
+	height: 20px;
+	width: 52px;
+	border: 0;
+	margin-left: 2px;
+	text-indent: -9999px;
+	cursor: pointer;
+	}
+	
+.submit:hover {
+	background: url(images/search_submit.gif) no-repeat 0 -20px;
+	height: 20px;
+	width: 52px;
+	border: 0;
+	margin-left: 2px;
+	cursor: pointer;
+	}
+	
+.themes {
+	font-size: .9em;
+	}
+	
+/* 5)-=-=-=- Footer -=-=-=- */	
+	
+#footer {
+	background: url(images/footer.gif) no-repeat;
+	height: 80px;
+	}
+	
+#footer p {
+	padding: 20px 0 0 50px;
+	float: left;
+	font-size: .9em;
+	color: #777;
+	}
+	
+.extras {
+	float: right;
+	padding: 33px 18px 0 0;
+	}
+	
+.extras a {
+	text-decoration: none;
+	font-weight: bold;
+	}
+	
+.extras a:link, .extras a:visited {
+	background: #ccc;
+	color: #fff;
+	padding: 5px;
+	border: 2px solid #fff;
+	}
+	
+.extras a:hover, .extras a:active {
+	background: #DEEEA4;
+	color: #7AB90C;
+	padding: 5px;
+	border: 2px solid #C9E979;
+	}
+	
+.extras li {
+	display: inline;
+	}
+	
+.extras ul {
+	padding: 0 0 10px 0;
+	margin: 0;
+	}
+	
+/* 6)-=-=-=- Forms -=-=-=- */
+	
+input {
+	border: 1px solid #BFBFBF;
+	color: #949494;
+	background: #fff;
+	padding: 2px 5px 1px 5px;
+	font-size: 1em;
+	}
+	
+input:hover {
+	background: #fff;
+	border: 1px solid #ACE149;
+	color: #7DA721;
+	font-size: 1em;
+	}
+	
+textarea {
+	font-family: Arial, Verdana, Helvetica;
+	font-size: 1.1em;
+	border: 1px solid #BFBFBF;
+	color: #949494;
+	padding: 2px 5px 1px 5px;
+	width: 450px;
+	}
+	
+textarea:hover {
+	background: #fff;
+	border: 1px solid #ACE149;
+	color: #7DA721;
+	}
+	
+/* 7)-=-=-=- Accessibility -=-=-=- */
+	
+#skip {
+	display: none;
+	}
+	
+hr { /* Simple style when CSS not in use */
+	display: none;
+	}
+	
+/* 8)-=-=-=- Hacks -=-=-=- */
+	
+.clearfix:after { /* float hack used to float content correctly */
+    content: "."; 
+   	display: block; 
+   	height: 0; 
+   	clear: both; 
+    visibility: hidden;
+	}
+
+/* Hides from IE-mac \*/
+* html .clearfix {height: 1%;}
+/* End hide from IE-mac */	


Property changes on: templates/trunk/greenmarinee/style.css
___________________________________________________________________
Name: svn:executable
   + *

Added: templates/trunk/greenmarinee/toolbar.js
===================================================================
--- templates/trunk/greenmarinee/toolbar.js	2005-04-10 19:27:59 UTC (rev 1798)
+++ templates/trunk/greenmarinee/toolbar.js	2005-04-10 22:18:44 UTC (rev 1799)
@@ -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


Property changes on: templates/trunk/greenmarinee/toolbar.js
___________________________________________________________________
Name: svn:executable
   + *




More information about the pLog-svn mailing list