[pLog-svn] r1592 - in templates/trunk: . reic1 reic1/images
jondaley at devel.plogworld.net
jondaley at devel.plogworld.net
Wed Mar 23 22:02:58 GMT 2005
Author: jondaley
Date: 2005-03-23 22:02:57 +0000 (Wed, 23 Mar 2005)
New Revision: 1592
Added:
templates/trunk/reic1/
templates/trunk/reic1/about.template
templates/trunk/reic1/about.zh_TW.template
templates/trunk/reic1/album.template
templates/trunk/reic1/albums.template
templates/trunk/reic1/commentarticle.template
templates/trunk/reic1/commentform.template
templates/trunk/reic1/error.template
templates/trunk/reic1/footer.template
templates/trunk/reic1/header.template
templates/trunk/reic1/images/
templates/trunk/reic1/images/bg.gif
templates/trunk/reic1/images/compressed.gif
templates/trunk/reic1/images/con1.gif
templates/trunk/reic1/images/con2.gif
templates/trunk/reic1/images/file.gif
templates/trunk/reic1/images/folder.gif
templates/trunk/reic1/images/footer.gif
templates/trunk/reic1/images/footer.jpg
templates/trunk/reic1/images/frameborder.gif
templates/trunk/reic1/images/header.gif
templates/trunk/reic1/images/links1.gif
templates/trunk/reic1/images/links2.gif
templates/trunk/reic1/images/nav_bar.gif
templates/trunk/reic1/images/parentfolder.gif
templates/trunk/reic1/images/sidetitle.gif
templates/trunk/reic1/images/sound.gif
templates/trunk/reic1/images/video.gif
templates/trunk/reic1/main.template
templates/trunk/reic1/nav_bar.inc
templates/trunk/reic1/panel.template
templates/trunk/reic1/post.template
templates/trunk/reic1/postandcomments.template
templates/trunk/reic1/postsummary.template
templates/trunk/reic1/posttrackbacks.template
templates/trunk/reic1/reic.css
templates/trunk/reic1/reic.psd
templates/trunk/reic1/resource.template
templates/trunk/reic1/screenshot.jpg
templates/trunk/reic1/searchresults.template
Log:
reic1 template added
Added: templates/trunk/reic1/about.template
===================================================================
--- templates/trunk/reic1/about.template 2005-03-23 22:01:02 UTC (rev 1591)
+++ templates/trunk/reic1/about.template 2005-03-23 22:02:57 UTC (rev 1592)
@@ -0,0 +1,30 @@
+{include file="$blogtemplate/header.template"}
+<div id="outcon">
+<div id="content">
+<div class="blog">
+<h3 class="title">Reic Template User Guide</h3>
+<p><a href="{$url->templatePage("about")}">English Version</a> | <a href="{$url->templatePage("about.zh_TW")}">中文版本</a></p>
+<p>"Reic Template" is a based on the embeded template of blueish. The template now is suitable for plog 1.0.
+</p>
+<p>How to customize the template?
+<ol>
+<li>Modify the background images method:
+ <ul>
+ <li>Open — Open the 'reic.psd' file with Photoshop.</li>
+ <li>Change — Change whatever you want, such as for instance the background color.</li>
+ <li>Save — Go to File » Save For Web. Press Save when the dialog appears. Choose a place to save it.</li>
+ <li>Upload — Photoshop has now created a directory called 'images', where you saved the images. Upload this directory to the root of your WordPress installation, overwriting the files already there.</li>
+ </ul>
+</li>
+<li>Modify the reic.css to change the css style.</li>
+</ol>
+ <p style="text-align:right;font-style:italic;">by reic</p>
+ <hr />
+ <p>※ You can change the contents of this page by editing the about.template file.</p>
+
+</div>
+<div class="clear"> </div>
+</div>
+</div>
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}
\ No newline at end of file
Added: templates/trunk/reic1/about.zh_TW.template
===================================================================
--- templates/trunk/reic1/about.zh_TW.template 2005-03-23 22:01:02 UTC (rev 1591)
+++ templates/trunk/reic1/about.zh_TW.template 2005-03-23 22:02:57 UTC (rev 1592)
@@ -0,0 +1,31 @@
+{include file="$blogtemplate/header.template"}
+<div id="outcon">
+<div id="content">
+<div class="blog">
+<h3 class="title">Reic 模版使用說明</h3>
+<p><a href="{$url->templatePage("about")}">English Version</a> | <a href="{$url->templatePage("about.zh_TW")}">中文版本</a></p>
+<p>"Reic 模版" 是由內建模版 blueish 所發展的版本. 目前本版為 plog 1.0 的使用模版.
+</p>
+<p>如何去更改模版呢?
+<ol>
+<li>編輯影像法:
+ <ul>
+ <li>Open — 在 Photoshop 中開啟 "reic.psd".</li>
+ <li>Change — 在 Photoshop 修改或新增你所想要增加的部分.</li>
+ <li>Save — 在儲存時,選擇 "儲存為網頁用",並選擇一個地方放置.</li>
+ <li>Upload — Photoshop 會建立一個 'images' 的目錄來儲放影像.
+ 上傳這一個 'images' 目錄到 "Reic 模版" 所在路徑即可.</li>
+ </ul>
+</li>
+<li>修改 reic.css 來調整顏色的配置。</li>
+</ol>
+ <p style="text-align:right;font-style:italic;">by reic</p>
+ <hr />
+ <p>※修改 about.zh_TW.template 即可修改此頁面的內容</p>
+
+</div>
+<div class="clear"> </div>
+</div>
+</div>
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}
\ No newline at end of file
Added: templates/trunk/reic1/album.template
===================================================================
--- templates/trunk/reic1/album.template 2005-03-23 22:01:02 UTC (rev 1591)
+++ templates/trunk/reic1/album.template 2005-03-23 22:02:57 UTC (rev 1592)
@@ -0,0 +1,79 @@
+{include file="$blogtemplate/header.template"}
+<div id="outcon">
+<div id="container">
+{assign var="postDate" value=$album->getTimestamp()}
+<div class="blog">
+ <h2 class="date">{$locale->tr("albums")}</h2>
+ <div class="blogbody">
+ <h3 class="title">{$album->getName()}</h3>
+ <div class="posted">
+ <a href="{$url->albumLink($album)}">
+ {$locale->tr("resources")} ({$album->getNumResources()})
+ </a> | {$locale->tr("created")} {$locale->formatDate($postDate,"%d %b, %Y")}
+ </div>
+ <p>{$album->getDescription()}</p><br/>
+ </div>
+ <div class="clear"> </div>
+
+ <div class="album">
+ <a href="{$url->parentAlbumLink($album)}">
+ <img src="{$url->getTemplateFile("images/parentfolder.gif")}" alt="{$locale->tr("parent")}" /></a>
+ <p>{$locale->tr("parent")}</p>
+ </div>
+
+
+ {assign var=children value=$album->getChildren()}
+ {foreach from=$children item=childalbum}
+ <div class="album">
+ <a href="{$url->albumLink($childalbum)}">
+ <img src="{$url->getTemplateFile("images/folder.gif")}" alt="{$childalbum->getName()}" /></a>
+ <p>{$childalbum->getName()} ({$childalbum->getNumResources()})</p>
+ </div>
+ {/foreach}
+
+<!-- show the resources here -->
+
+ {assign var=resources value=$album->getResources()}
+ {foreach from=$resources item=resource}
+ <div class="album">
+ {if $resource->hasPreview()}
+ {*<a target="_blank" href="resserver.php?blogId={$blog->getId()}&resource={$resource->getFileName()}">*}
+ <a href="{$url->resourceLink($resource)}" title="{$resource->getFileName()}">
+ <img alt="{$resource->getDescription()}" src="{$url->resourcePreviewLink($resource)}" /></a>
+ <p>{$resource->getFileName()}</p>
+ {else}
+ <a href="{$url->resourceLink($resource)}" title="{$resource->getFileName()}">
+ {if $resource->isSound()}
+ <img alt="Sound" src="{$url->getTemplateFile("images/sound.gif")}" /></a>
+ {elseif $resource->isVideo()}
+ <img alt="Video" src="{$url->getTemplateFile("images/video.gif")}" /></a>
+ {elseif $resource->isZip()}
+ <img alt="Zip" src="{$url->getTemplateFile("images/compressed.gif")}" /></a>
+ {else}
+ <img alt="File" src="{$url->getTemplateFile("images/file.gif")}" /></a>
+ {/if}
+ <p>{$resource->getFileName()}</p>
+ {/if}
+ {assign var=metadata value=$resource->getMetadataReader()}
+ <p>{$metadata->getRoundedSize()}</p>
+ {if $resource->isImage()}
+ <p>{$metadata->getWidth()} x {$metadata->getHeight()}</p>
+ {elseif $resource->isSound()}
+ <p>{$metadata->getFormat()|upper} {$metadata->getSampleRate()} bps</p>
+ {elseif $resource->isVideo()}
+ <p>{$metadata->getFormat()|upper} {$metadata->getWidth()} x {$metadata->getHeight()}, {$metadata->getLengthString()}</p>
+ {elseif $resource->isZip()}
+ <p>{$metadata->getTotalFiles()} {$locale->tr("files")}</p>
+ {/if}
+
+ </div>
+ {/foreach}
+
+ <div class="clearer"> </div>
+
+ </div>
+<div class="clear"> </div>
+</div>
+</div>
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}
Added: templates/trunk/reic1/albums.template
===================================================================
--- templates/trunk/reic1/albums.template 2005-03-23 22:01:02 UTC (rev 1591)
+++ templates/trunk/reic1/albums.template 2005-03-23 22:02:57 UTC (rev 1592)
@@ -0,0 +1,26 @@
+{include file="$blogtemplate/header.template"}
+<div id="outcon">
+<div id="content">
+ <div class="blog">
+ <div class="blogbody">
+ <h2 class="date">{$locale->tr("albums")}</h2>
+ <div class="clear"> </div>
+
+
+ {foreach from=$albums item=album}
+ <div class="album">
+ <a href="{$url->albumLink($album)}"><img src="{$url->getTemplateFile("images/folder.gif")}" alt="{$album->getName()}" /></a>
+ <p>{$album->getName()} ({$album->getNumResources()})</p>
+
+ </div>
+ {/foreach}
+
+ <div class="clear"> </div>
+
+</div>
+</div>
+<div class="clear"> </div>
+</div>
+</div>
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}
Added: templates/trunk/reic1/commentarticle.template
===================================================================
--- templates/trunk/reic1/commentarticle.template 2005-03-23 22:01:02 UTC (rev 1591)
+++ templates/trunk/reic1/commentarticle.template 2005-03-23 22:02:57 UTC (rev 1592)
@@ -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/reic1/commentform.template
===================================================================
--- templates/trunk/reic1/commentform.template 2005-03-23 22:01:02 UTC (rev 1591)
+++ templates/trunk/reic1/commentform.template 2005-03-23 22:02:57 UTC (rev 1592)
@@ -0,0 +1,25 @@
+<a name="comments_form"></a> <div class="comments-body">
+ <form name="NewComment" action="{$url->getBaseUrl()}/index.php" method="post">
+ <div style="width:150px; padding-right:15px; margin-right:15px; float:left; text-align:left; border-right:1px dotted #bbb;">
+ <label for="subject">{$locale->tr("comment_topic")}:</label><br />
+ <input tabindex="1" id="subject" name="commentTopic" /><br /><br />
+ <label for="author">{$locale->tr("comment_username")}:</label><br />
+ <input tabindex="2" id="author" name="userName" /><br /><br />
+ <label for="email">{$locale->tr("comment_email")}:</label><br />
+ <input tabindex="3" id="email" name="userEmail" /><br /><br />
+ <label for="url">{$locale->tr("comment_url")}:</label><br />
+ <input tabindex="4" id="url" name="userUrl" /><br /><br /><br /><br />
+ </div>
+ <div>
+ <label for="text">{$locale->tr("add_comment")}:</label><br />
+ <textarea tabindex="5" id="text" name="commentText" rows="10" cols="40"></textarea><br />
+ <br />
+ <input style="font-weight: bold;" type="submit" name="post" value=" {$locale->tr("comment_send")} " />
+ <input style="font-weight: bold;" type="reset"><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/reic1/error.template
===================================================================
--- templates/trunk/reic1/error.template 2005-03-23 22:01:02 UTC (rev 1591)
+++ templates/trunk/reic1/error.template 2005-03-23 22:02:57 UTC (rev 1592)
@@ -0,0 +1,14 @@
+{include file="$blogtemplate/header.template"}
+<div id="outcon">
+<div id="container">
+<div class="blog">
+<div class="blogbody">
+<h2 class="title">{$locale->tr("error")}</h2>
+<p>{$locale->tr($message)}</p>
+</div>
+</div>
+<div class="clear"> </div>
+</div>
+</div>
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}
\ No newline at end of file
Added: templates/trunk/reic1/footer.template
===================================================================
--- templates/trunk/reic1/footer.template 2005-03-23 22:01:02 UTC (rev 1591)
+++ templates/trunk/reic1/footer.template 2005-03-23 22:02:57 UTC (rev 1592)
@@ -0,0 +1,9 @@
+<div class="clear"> </div>
+<div id="footer">
+<div id="credits">
+<p>Designed by <a href="http://reic.twbbs.org">reic</a> | Powered by <a href="http://www.plogworld.net">plog</a> | Valid <a href="http://validator.w3.org/check/referer">XHTML</a> and <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a></p>
+</div>
+</div>
+</div>
+</body>
+</html>
\ No newline at end of file
Added: templates/trunk/reic1/header.template
===================================================================
--- templates/trunk/reic1/header.template 2005-03-23 22:01:02 UTC (rev 1591)
+++ templates/trunk/reic1/header.template 2005-03-23 22:02:57 UTC (rev 1592)
@@ -0,0 +1,24 @@
+<!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()}" />
+ <title>{$blog->getBlog()}</title>
+ <meta name="generator" content="{$version}" />
+ <meta http-equiv="Content-Language" content="{$locale->getLanguageId()}" />
+ <link rel="stylesheet" title="Default" href="{$url->getTemplateFile("reic.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>
+<div id="outframe">
+<div id="header">
+<div id="title"><a href="{$url->blogLink()}" accesskey="1">{$blog->getBlog()}</a><br /><span class="description">{$blog->getAbout()}</span>
+</div>
+</div>
+
+ <div id="nav_r">
+ {include file="$blogtemplate/nav_bar.inc"}
+ </div>
Added: templates/trunk/reic1/images/bg.gif
===================================================================
(Binary files differ)
Property changes on: templates/trunk/reic1/images/bg.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: templates/trunk/reic1/images/compressed.gif
===================================================================
(Binary files differ)
Property changes on: templates/trunk/reic1/images/compressed.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: templates/trunk/reic1/images/con1.gif
===================================================================
(Binary files differ)
Property changes on: templates/trunk/reic1/images/con1.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: templates/trunk/reic1/images/con2.gif
===================================================================
(Binary files differ)
Property changes on: templates/trunk/reic1/images/con2.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: templates/trunk/reic1/images/file.gif
===================================================================
(Binary files differ)
Property changes on: templates/trunk/reic1/images/file.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: templates/trunk/reic1/images/folder.gif
===================================================================
(Binary files differ)
Property changes on: templates/trunk/reic1/images/folder.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: templates/trunk/reic1/images/footer.gif
===================================================================
(Binary files differ)
Property changes on: templates/trunk/reic1/images/footer.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: templates/trunk/reic1/images/footer.jpg
===================================================================
(Binary files differ)
Property changes on: templates/trunk/reic1/images/footer.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: templates/trunk/reic1/images/frameborder.gif
===================================================================
(Binary files differ)
Property changes on: templates/trunk/reic1/images/frameborder.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: templates/trunk/reic1/images/header.gif
===================================================================
(Binary files differ)
Property changes on: templates/trunk/reic1/images/header.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: templates/trunk/reic1/images/links1.gif
===================================================================
(Binary files differ)
Property changes on: templates/trunk/reic1/images/links1.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: templates/trunk/reic1/images/links2.gif
===================================================================
(Binary files differ)
Property changes on: templates/trunk/reic1/images/links2.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: templates/trunk/reic1/images/nav_bar.gif
===================================================================
(Binary files differ)
Property changes on: templates/trunk/reic1/images/nav_bar.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: templates/trunk/reic1/images/parentfolder.gif
===================================================================
(Binary files differ)
Property changes on: templates/trunk/reic1/images/parentfolder.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: templates/trunk/reic1/images/sidetitle.gif
===================================================================
(Binary files differ)
Property changes on: templates/trunk/reic1/images/sidetitle.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: templates/trunk/reic1/images/sound.gif
===================================================================
(Binary files differ)
Property changes on: templates/trunk/reic1/images/sound.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: templates/trunk/reic1/images/video.gif
===================================================================
(Binary files differ)
Property changes on: templates/trunk/reic1/images/video.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: templates/trunk/reic1/main.template
===================================================================
--- templates/trunk/reic1/main.template 2005-03-23 22:01:02 UTC (rev 1591)
+++ templates/trunk/reic1/main.template 2005-03-23 22:02:57 UTC (rev 1592)
@@ -0,0 +1,23 @@
+{include file="$blogtemplate/header.template"}
+<div id="outcon">
+ <div id="content">
+
+ <div class="blogout">
+ <div class="blog">
+ {foreach from=$posts item=post}
+ {if $showAll}
+ {include file="$blogtemplate/postsummary.template"}
+ {else}
+ {include file="$blogtemplate/post.template"}
+ {/if}
+ {/foreach}
+
+ </div>
+ </div>
+ <div class="clear"> </div>
+ </div>
+
+
+</div>
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}
\ No newline at end of file
Added: templates/trunk/reic1/nav_bar.inc
===================================================================
--- templates/trunk/reic1/nav_bar.inc 2005-03-23 22:01:02 UTC (rev 1591)
+++ templates/trunk/reic1/nav_bar.inc 2005-03-23 22:02:57 UTC (rev 1592)
@@ -0,0 +1,6 @@
+
+ <a href="{$url->blogLink()}">{$locale->tr("main")}</a> |
+ <a href="admin.php" accesskey="2">{$locale->tr("dashboard")}</a> |
+ <a href="{$url->albumLink()}">{$locale->tr("albums")}</a> |
+ <a href="{$url->templatePage("about")}">About</a>
+
\ No newline at end of file
Added: templates/trunk/reic1/panel.template
===================================================================
--- templates/trunk/reic1/panel.template 2005-03-23 22:01:02 UTC (rev 1591)
+++ templates/trunk/reic1/panel.template 2005-03-23 22:02:57 UTC (rev 1592)
@@ -0,0 +1,80 @@
+<div id="linksout">
+<div id="links">
+<div class="sidetitle">
+ {$locale->tr("calendar")}
+ </div>
+ <div class="side">
+ {$calendar}
+ </div>
+<div class="sidetitle">
+{$locale->tr("search")}
+</div>
+ <div class="side" id="Search">
+ <form id="search_form" name="search_form" method="post" action="{$url->getIndexUrl()}">
+ <fieldset>
+ <label for="searchTerms"><input type="text" id="searchTerms" name="searchTerms" value="" /></label>
+ <input type="submit" name="Search" value="{$locale->tr("search_s")}" class="button" />
+ <input type="hidden" name="op" value="Search" />
+ <input type="hidden" name="blogId" value="{$blog->getId()}" />
+ </fieldset>
+ </form>
+ </div>
+ <div class="sidetitle">
+ {$locale->tr("recently")|capitalize}
+ </div>
+ <div class="side">
+ <ul>
+ {foreach from=$recentposts item=post}
+<li><a title="{$post->getText()|truncate:15:"..."|escape}" href="{$url->postLink($post)}">{$post->getTopic()}</a></li>
+ {/foreach}
+ </ul>
+ </div>
+
+ <div class="sidetitle">
+ {$locale->tr("categories")|capitalize}
+ </div>
+ <div class="side">
+<ul>
+ {foreach from=$articlecategories item=articleCategory}
+<li><a href="{$url->categoryLink($articleCategory)}">{$articleCategory->getName()}</a> [{$articleCategory->getNumArticles()}]
+<a class="nodecoration" href="{$url->categoryRssLink($articleCategory)}"><img border="0" src="{$url->getUrl("/imgs/rss_logo_small.gif")}" alt="RSS Feed for this category." height="12" /></a></li>
+ {/foreach}
+</ul>
+ </div>
+
+ <div class="sidetitle">
+ {$locale->tr("archives")|capitalize}
+ </div>
+ <div class="side">
+<ul>
+ {foreach from=$archives item=archivelink}
+<li><a href="{$archivelink->getUrl()}">{$archivelink->getName()}</a> [{$archivelink->getNumArticles()}]</li>
+ {/foreach}
+</ul>
+ </div>
+ <div class="sidetitle">
+ {$locale->tr("links")|capitalize}
+ </div>
+ <div class="side">
+
+ {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}
+ </div>
+ <div class="sidetitle">
+ {$locale->tr("syndicate")}
+ </div>
+ <div class="side">
+<ul>
+<li><a title="Link to the RSS 0.90 feed." href="{$url->rssLink("rss090")}"><img border="0" src="{$url->getUrl("/imgs/rss090_logo.gif")}" alt="" /></a></li>
+<li><a title="Link to the RSS 1.0 feed." href="{$url->rssLink("rss10")}"><img border="0" src="{$url->getUrl("/imgs/rss10_logo.gif")}" alt="" /></a></li>
+<li><a title="Link to the RSS 2.0 feed." href="{$url->rssLink("rss20")}"><img border="0" src="{$url->getUrl("/imgs/rss20_logo.gif")}" alt="" /></a></li>
+<li><a title="Link to the Atom 0.3 feed." href="{$url->rssLink("atom")}"><img border="0" src="{$url->getUrl("/imgs/atom_logo.png")}" alt="" /></a></li>
+</ul>
+ </div>
+
+</div>
+</div>
\ No newline at end of file
Added: templates/trunk/reic1/post.template
===================================================================
--- templates/trunk/reic1/post.template 2005-03-23 22:01:02 UTC (rev 1591)
+++ templates/trunk/reic1/post.template 2005-03-23 22:02:57 UTC (rev 1592)
@@ -0,0 +1,23 @@
+<!--{$url->postTrackbackLink($post)}-->
+{assign var="postDate" value=$post->getDateObject()}
+{assign var="postOwner" value=$post->getUserInfo()}
+
+
+ <div class="blogbody">
+<h3 class="title"><a href="{$url->postPermalink($post)}">{$post->getTopic()}</a></h3>
+ <div class="posted">{$postOwner->getUsername()} | {$locale->formatDate($postDate,"%d %b, %Y")}, {$locale->formatDate($postDate,"%H:%M")} |
+ {foreach name=categories from=$post->getCategories() item=postCategory}
+ <a href="{$url->categoryLink($postCategory)}">{$postCategory->getName()}</a>
+ {if !$smarty.foreach.categories.last}, {/if}
+ {/foreach}
+
+| ({$post->getNumReads()} Reads)
+ </div>
+ {$post->getText()}
+ <blockquote class="mt">Trackback URL: {$url->getTrackbackUrl()}?id={$post->getId()}</blockquote>
+ <div class="posted">
+ <a href="{$url->postPermalink($post)}">{$locale->tr("permalink")}</a> | <a href="{$url->postPermalink($post)}">{$locale->tr("comments")} ({$post->getTotalComments()})</a> |
+ <a href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a>
+ </div>
+ </div>
+
Added: templates/trunk/reic1/postandcomments.template
===================================================================
--- templates/trunk/reic1/postandcomments.template 2005-03-23 22:01:02 UTC (rev 1591)
+++ templates/trunk/reic1/postandcomments.template 2005-03-23 22:02:57 UTC (rev 1592)
@@ -0,0 +1,60 @@
+{include file="$blogtemplate/header.template"}
+{assign var="postDate" value=$post->getDateObject()}
+{assign var="postOwner" value=$post->getUserInfo()}
+<div id="outcon">
+<div id="container">
+{* Prevpost and nextpost use *}
+<div id="article_index">
+ {assign var=nextpost value=$post->getNextArticle()}
+ {assign var=prevpost value=$post->getPrevArticle()}
+ {if $prevpost == true}
+ <a href="{$url->postPermalink($prevpost)}" title="Previous post: {$prevpost->getTopic()}">« {$locale->tr("previous_post")}</a> |
+ {/if}
+ {if $nextpost == true}
+ <a href="{$url->postPermalink($nextpost)}" title="Next post: {$nextpost->getTopic()}">{$locale->tr("next_post")}»</a>
+ {/if}
+ </div>
+{* End of article_index *}
+
+
+<div class="blog">
+ {include file="$blogtemplate/post.template"}
+</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 class="blog">
+ <div class="comments-head">
+ <a name="comments"></a>Comments
+ </div>
+ {foreach name=comment from=$comments item=comment}
+ <div class="comments-body">
+ <a name="{$comment->getId()}"></a>
+
+ <div class="com_countandpost"><span class="comments-count">[{$smarty.foreach.comment.total-$smarty.foreach.comment.iteration+1}]</span>
+ <span style="padding-left:10px;float:left;"><strong>{$comment->getTopic()}</strong></span><span class="comments-post">[<a href="{$url->postPermalink($post)}#comments_form">{$locale->tr("comments")}</a>]|
+ {$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>
+
+ {$comment->getText()}
+
+ </div>
+ {/foreach}
+ </div>
+
+<div class="clear"> </div>
+</div>
+</div>
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}
Added: templates/trunk/reic1/postsummary.template
===================================================================
--- templates/trunk/reic1/postsummary.template 2005-03-23 22:01:02 UTC (rev 1591)
+++ templates/trunk/reic1/postsummary.template 2005-03-23 22:02:57 UTC (rev 1592)
@@ -0,0 +1,5 @@
+
+ <div class="blogbody">
+ <a href="{$url->postPermalink($post)}">{$post->getTopic()}</a>
+ </div>
+
Added: templates/trunk/reic1/posttrackbacks.template
===================================================================
--- templates/trunk/reic1/posttrackbacks.template 2005-03-23 22:01:02 UTC (rev 1591)
+++ templates/trunk/reic1/posttrackbacks.template 2005-03-23 22:02:57 UTC (rev 1592)
@@ -0,0 +1,21 @@
+{include file="$blogtemplate/header.template"}
+<div id="outcon">
+<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 class="clear"> </div>
+</div>
+</div>
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}
Added: templates/trunk/reic1/reic.css
===================================================================
--- templates/trunk/reic1/reic.css 2005-03-23 22:01:02 UTC (rev 1591)
+++ templates/trunk/reic1/reic.css 2005-03-23 22:02:57 UTC (rev 1592)
@@ -0,0 +1,323 @@
+/* frame setting
+This part is good to keep unchange unless you change the position of the slince at the reic.psd.
+ */
+html {
+ /* IE Horizontal scrollbar fix */
+ overflow-y: scroll;
+ /* force scrollbars in moz */
+ height: 100%;
+ margin-bottom: 1px;
+ }
+
+body {
+margin: 0;
+padding: 0;
+background: transparent url(images/bg.gif) repeat scroll;
+}
+
+#outframe {
+background: transparent url(images/frameborder.gif) repeat-y scroll;
+width:760px;
+margin: 10px auto;
+padding: 0px;
+
+}
+
+#header {
+padding: 0px;
+margin: 0px auto;
+height: 128px;
+width: 100%;
+background: transparent url(images/header.gif) no-repeat scroll top;
+color: #666666;
+}
+
+#title {
+padding-left:35px;
+padding-top:25px;
+}
+
+
+#nav_r{
+width: 760px;
+height:37px;
+padding:22px 0px 0px 0px;
+text-align: center;
+background: transparent url(images/nav_bar.gif) no-repeat scroll left top;
+color: #558800;
+font: 12px georgia, times new roman, times, serif;
+}
+
+
+
+
+#outcon{
+float: left;
+width: 530px;
+
+background: transparent url(images/con1.gif) repeat-y scroll left;
+}
+
+#content, #container {
+color: #666666;
+
+ padding-bottom: 20px;
+ background: transparent url(images/con2.gif) no-repeat scroll bottom;
+text-align: left;
+
+}
+
+#links {
+padding-left:543px;
+padding-right:33px;
+padding-bottom: 20px;
+background: transparent url(images/links2.gif) no-repeat scroll right bottom;
+}
+#linksout {
+background: transparent url(images/links1.gif) repeat-y scroll right;
+}
+#article_index{
+background: transparent url(images/blogbg.gif) repeat-y scroll left;
+}
+.blog{
+width:500px;
+padding: 0px 15px 0px 15px;
+}
+
+.comments-head{
+width: 480px;
+margin:10px 0px 0px 10px;
+}
+
+.comments-body {
+width: 480px;
+margin: 0px 0px 0px 10px;
+}
+
+#footer {
+width: 760px;
+height: 39px;
+background: transparent url(images/footer.gif) no-repeat scroll;
+}
+
+.clear{
+ clear: both;
+}
+/* end of frame setting */
+
+/* fonts, color, and paragraph describe part */
+/* main part */
+body{
+font: normal normal normal 12px/normal lucida grande, verdana, arial, sans-serif;;
+color: black;
+}
+
+img{
+ border: 0px;
+}
+
+#title {
+font-size:28px;
+font-weight: bold;
+}
+.description{
+ font-size:14px;
+ color: white;
+}
+
+
+#nav_bar{
+ text-align: center;
+}
+
+#content, #container
+{
+ text-align: left;
+}
+
+/* fonts, color, and paragraph describe part */
+/* The css tag is set for pre_post and next_post.
+The colomun is blocked by div tag which is named as article_index */
+#article_index{
+text-align:center;
+font-size:11px;
+}
+
+/* fonts, color, and paragraph describe part */
+/* entries part, which is often filled with article or picture */
+.blog {
+
+}
+
+.blogbody {
+margin: 10px 0px 5px 10px;
+line-height: 140%;
+}
+
+h3.title {
+font-size: large;
+text-transform: capitalize;
+margin: 15px 0px 0px;
+}
+
+div.posted {
+margin: 0px;
+padding: 0px 5px 10px 5px;
+text-align: right;
+text-align: right;
+}
+
+blockquote {
+color: #666;
+border: #777777 1px solid;
+background-color: #eee;
+margin: 20px 25px;
+padding: 0px 10px;
+font-size:12px;
+line-height:150%;
+width: auto;
+}
+
+
+blockquote.mt {
+border: 1px solid White;
+text-align: center;
+font-size:smaller;
+padding: 2px 0px;
+}
+
+/* fonts, color, and paragraph describe part */
+/* comment part */
+.comments-head{
+background: White;
+font-size: 14px;
+border:1px solid #999;
+padding:5px;
+}
+
+.comments-body {
+line-height:140%;
+padding:5px;
+border-left:1px dotted;
+border-right:1px dotted;
+border-bottom:1px dotted;
+}
+
+.com_countandpost{
+border-top:2px solid;
+height:14px;
+}
+.comments-count{
+float:left;
+background: #666;
+color:white;
+width:35px;
+text-align:center;
+}
+
+.comments-post {
+float:right;
+font-size:x-small;
+}
+
+/* fonts, color, and paragraph describe part */
+/* links part */
+#links li, #links ul{
+margin: 1px 3px;
+padding:1px 3px;
+}
+#links ul{
+ list-style: none;
+}
+
+.sidetitle{
+
+ font-size:14px;
+ background: transparent url(images/sidetitle.gif) no-repeat scroll center top;
+
+ text-align: center;
+ height: 20px;
+ color: #DCDCDC;
+ padding:2px 0px 1px;
+}
+.side{
+ margin-bottom:10px;
+}
+
+table.calMonth{
+margin: 0px auto;
+}
+.calMonthHeader
+{
+font-weight: bold;
+}
+.calMonthToday{
+border:1px dotted #669933;
+}
+
+/* fonts, color, and paragraph describe part */
+/* footer part */
+#footer {
+
+}
+
+#credits {
+margin: 0px;
+padding: 5px;
+color: gray;
+text-align: center;
+}
+
+#credits p {
+font-size: 11px;
+margin: 0px;
+padding-top: 10px;
+}
+
+/* end of */
+/* fonts, color, and paragraph describe part */
+
+
+/* hyperlinks setting */
+a { text-decoration: none;}
+a:hover { text-decoration: underline;}
+
+#title a{
+ text-decoration: none;
+ color: #581085;
+}
+#title a:hover{
+ text-decoration: none;
+ color: White;
+}
+
+#nav_r a { color: #558800; background: transparent; text-decoration: none;}
+#nav_r a:link { color: #558800; background: transparent; }
+#nav_r a:visited { color: #558800; background: transparent; }
+#nav_r a:active { color: #558800; background: transparent; }
+#nav_r a:hover { color: white; background: transparent;text-decoration: underline; }
+
+h3.title a{
+ border-bottom: 1px solid black;
+ display: block;
+ padding-bottom:2px;
+}
+h3.title a:hover{
+ display: block; text-decoration: none; background-color: Gray;}
+
+
+/* ****************** albums *************** */
+
+div.album {
+ text-align: center;
+ float:left;
+ width:150px;
+ margin-bottom:20px;
+ }
+
+.album p {
+ text-align: center;
+ padding:0;
+ margin:0;
+ width:150px;
+ }
\ No newline at end of file
Added: templates/trunk/reic1/reic.psd
===================================================================
(Binary files differ)
Property changes on: templates/trunk/reic1/reic.psd
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: templates/trunk/reic1/resource.template
===================================================================
--- templates/trunk/reic1/resource.template 2005-03-23 22:01:02 UTC (rev 1591)
+++ templates/trunk/reic1/resource.template 2005-03-23 22:02:57 UTC (rev 1592)
@@ -0,0 +1,59 @@
+{include file="$blogtemplate/header.template"}
+{assign var=metadata value=$resource->getMetadataReader()}
+{assign var=updated value=$resource->getTimestamp()}
+<div id="outcon">
+<div id="container">
+ <div class="blog">
+ <div class="blogbody">
+ <h3 class="title">{$resource->getFileName()}</h3>
+ <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->getTemplateFile("images/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->getTemplateFile("images/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->getTemplateFile("images/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->getTemplateFile("images/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("parent")}</a>
+ </p>
+ </div>
+ <div class="clear"> </div>
+</div>
+</div>
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}
Added: templates/trunk/reic1/screenshot.jpg
===================================================================
(Binary files differ)
Property changes on: templates/trunk/reic1/screenshot.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: templates/trunk/reic1/searchresults.template
===================================================================
--- templates/trunk/reic1/searchresults.template 2005-03-23 22:01:02 UTC (rev 1591)
+++ templates/trunk/reic1/searchresults.template 2005-03-23 22:02:57 UTC (rev 1592)
@@ -0,0 +1,31 @@
+{include file="$blogtemplate/header.template"}
+<div id="outcon">
+<div id="container">
+ <div class="blog">
+
+ <h2>{$locale->tr("search_results")}: {foreach from=$searchterms item=term}{$term} {/foreach}</h2>
+ <div id="SearchResults">
+ {foreach from=$searchresults item=result}
+ <div class="blogbody">
+
+ {assign var=article value=$result->getArticle()}
+ <h3 class="title"><a href="{$url->postPermalink($article)}">{$article->getTopic()}</a></h3>
+ <div class="posted">{foreach name=categories from=$article->getCategories() item=articleCategory}
+ {$locale->tr("categories")}: <a href="{$url->categoryLink($articleCategory)}">{$articleCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
+ {/foreach}</div>
+
+
+
+ {$article->getText()|strip_tags|truncate:300:"...":false}
+
+ </div>
+ {/foreach}
+
+ </div>
+ </div>
+ <div class="clear"> </div>
+</div>
+</div>
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}
+
More information about the pLog-svn
mailing list