[pLog-svn] r6422 - in templates/branches/lifetype-1.2: . unported zen
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Tue Apr 29 10:23:48 EDT 2008
Author: jondaley
Date: 2008-04-29 10:23:47 -0400 (Tue, 29 Apr 2008)
New Revision: 6422
Added:
templates/branches/lifetype-1.2/zen/
templates/branches/lifetype-1.2/zen/about.template
templates/branches/lifetype-1.2/zen/album.template
templates/branches/lifetype-1.2/zen/albums.template
templates/branches/lifetype-1.2/zen/commentarticle.template
templates/branches/lifetype-1.2/zen/download.gif
templates/branches/lifetype-1.2/zen/error.template
templates/branches/lifetype-1.2/zen/favicon.ico
templates/branches/lifetype-1.2/zen/folderblue.gif
templates/branches/lifetype-1.2/zen/footer.template
templates/branches/lifetype-1.2/zen/header.template
templates/branches/lifetype-1.2/zen/images/
templates/branches/lifetype-1.2/zen/main.template
templates/branches/lifetype-1.2/zen/panel.template
templates/branches/lifetype-1.2/zen/post.template
templates/branches/lifetype-1.2/zen/postandcomments.template
templates/branches/lifetype-1.2/zen/posttrackbacks.template
templates/branches/lifetype-1.2/zen/resource.template
templates/branches/lifetype-1.2/zen/sample.gif
templates/branches/lifetype-1.2/zen/screenshot.jpg
templates/branches/lifetype-1.2/zen/searchresults.template
templates/branches/lifetype-1.2/zen/style.css
Removed:
templates/branches/lifetype-1.2/unported/zen/
templates/branches/lifetype-1.2/zen/about.template
templates/branches/lifetype-1.2/zen/album.template
templates/branches/lifetype-1.2/zen/albums.template
templates/branches/lifetype-1.2/zen/commentarticle.template
templates/branches/lifetype-1.2/zen/download.gif
templates/branches/lifetype-1.2/zen/error.template
templates/branches/lifetype-1.2/zen/favicon.ico
templates/branches/lifetype-1.2/zen/folderblue.gif
templates/branches/lifetype-1.2/zen/footer.template
templates/branches/lifetype-1.2/zen/header.template
templates/branches/lifetype-1.2/zen/images/
templates/branches/lifetype-1.2/zen/main.template
templates/branches/lifetype-1.2/zen/panel.template
templates/branches/lifetype-1.2/zen/post.template
templates/branches/lifetype-1.2/zen/postandcomments.template
templates/branches/lifetype-1.2/zen/posttrackbacks.template
templates/branches/lifetype-1.2/zen/resource.template
templates/branches/lifetype-1.2/zen/sample.gif
templates/branches/lifetype-1.2/zen/screenshot.jpg
templates/branches/lifetype-1.2/zen/searchresults.template
templates/branches/lifetype-1.2/zen/style.css
Log:
ported to 1.2
Copied: templates/branches/lifetype-1.2/zen (from rev 6419, templates/branches/lifetype-1.2/unported/zen)
Deleted: templates/branches/lifetype-1.2/zen/about.template
===================================================================
--- templates/branches/lifetype-1.2/unported/zen/about.template 2008-04-29 13:02:19 UTC (rev 6419)
+++ templates/branches/lifetype-1.2/zen/about.template 2008-04-29 14:23:47 UTC (rev 6422)
@@ -1,13 +0,0 @@
-{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"}
Copied: templates/branches/lifetype-1.2/zen/about.template (from rev 6421, templates/branches/lifetype-1.2/unported/zen/about.template)
===================================================================
--- templates/branches/lifetype-1.2/zen/about.template (rev 0)
+++ templates/branches/lifetype-1.2/zen/about.template 2008-04-29 14:23:47 UTC (rev 6422)
@@ -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"}
Deleted: templates/branches/lifetype-1.2/zen/album.template
===================================================================
--- templates/branches/lifetype-1.2/unported/zen/album.template 2008-04-29 13:02:19 UTC (rev 6419)
+++ templates/branches/lifetype-1.2/zen/album.template 2008-04-29 14:23:47 UTC (rev 6422)
@@ -1,105 +0,0 @@
-{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()}&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>
-{pager style="links"}
-
- <!-- end of album contents -->
-
-
-
- </div>
-
-
-</div>
-
-{include file="$blogtemplate/footer.template"}
Copied: templates/branches/lifetype-1.2/zen/album.template (from rev 6421, templates/branches/lifetype-1.2/unported/zen/album.template)
===================================================================
--- templates/branches/lifetype-1.2/zen/album.template (rev 0)
+++ templates/branches/lifetype-1.2/zen/album.template 2008-04-29 14:23:47 UTC (rev 6422)
@@ -0,0 +1,105 @@
+{include file="$blogtemplate/header.template"}
+
+<div id="content">
+{assign var="postDate" value=$album->getTimestamp()}
+ <h2>{$locale->tr("albums")}</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()}&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>
+{pager style="links"}
+
+ <!-- end of album contents -->
+
+
+
+ </div>
+
+
+</div>
+
+{include file="$blogtemplate/footer.template"}
Deleted: templates/branches/lifetype-1.2/zen/albums.template
===================================================================
--- templates/branches/lifetype-1.2/unported/zen/albums.template 2008-04-29 13:02:19 UTC (rev 6419)
+++ templates/branches/lifetype-1.2/zen/albums.template 2008-04-29 14:23:47 UTC (rev 6422)
@@ -1,26 +0,0 @@
-{include file="$blogtemplate/header.template"}
-<div id="content">
- <h2>{$locale->tr("root_album")}</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()|strip_tags|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"}
Copied: templates/branches/lifetype-1.2/zen/albums.template (from rev 6421, templates/branches/lifetype-1.2/unported/zen/albums.template)
===================================================================
--- templates/branches/lifetype-1.2/zen/albums.template (rev 0)
+++ templates/branches/lifetype-1.2/zen/albums.template 2008-04-29 14:23:47 UTC (rev 6422)
@@ -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()|strip_tags|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"}
Deleted: templates/branches/lifetype-1.2/zen/commentarticle.template
===================================================================
--- templates/branches/lifetype-1.2/unported/zen/commentarticle.template 2008-04-29 13:02:19 UTC (rev 6419)
+++ templates/branches/lifetype-1.2/zen/commentarticle.template 2008-04-29 14:23:47 UTC (rev 6422)
@@ -1,6 +0,0 @@
-{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"}
Copied: templates/branches/lifetype-1.2/zen/commentarticle.template (from rev 6421, templates/branches/lifetype-1.2/unported/zen/commentarticle.template)
===================================================================
--- templates/branches/lifetype-1.2/zen/commentarticle.template (rev 0)
+++ templates/branches/lifetype-1.2/zen/commentarticle.template 2008-04-29 14:23:47 UTC (rev 6422)
@@ -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"}
Deleted: templates/branches/lifetype-1.2/zen/download.gif
===================================================================
(Binary files differ)
Copied: templates/branches/lifetype-1.2/zen/download.gif (from rev 6421, templates/branches/lifetype-1.2/unported/zen/download.gif)
===================================================================
(Binary files differ)
Deleted: templates/branches/lifetype-1.2/zen/error.template
===================================================================
--- templates/branches/lifetype-1.2/unported/zen/error.template 2008-04-29 13:02:19 UTC (rev 6419)
+++ templates/branches/lifetype-1.2/zen/error.template 2008-04-29 14:23:47 UTC (rev 6422)
@@ -1,20 +0,0 @@
-{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->getUrl("/imgs/error.gif")}" height="32" width="32" alt="Error"/>
- {$locale->tr($message)}<br /><a href="javascript:history.go(-1)">{$locale->tr("back")}</a>
- </div>
- </div>
-</div>
-
-{include file="$blogtemplate/panel.template"}
-{include file="$blogtemplate/footer.template"}
Copied: templates/branches/lifetype-1.2/zen/error.template (from rev 6421, templates/branches/lifetype-1.2/unported/zen/error.template)
===================================================================
--- templates/branches/lifetype-1.2/zen/error.template (rev 0)
+++ templates/branches/lifetype-1.2/zen/error.template 2008-04-29 14:23:47 UTC (rev 6422)
@@ -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->getUrl("/imgs/error.gif")}" height="32" width="32" alt="Error"/>
+ {$locale->tr($message)}<br /><a href="javascript:history.go(-1)">{$locale->tr("back")}</a>
+ </div>
+ </div>
+</div>
+
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}
Deleted: templates/branches/lifetype-1.2/zen/favicon.ico
===================================================================
(Binary files differ)
Copied: templates/branches/lifetype-1.2/zen/favicon.ico (from rev 6421, templates/branches/lifetype-1.2/unported/zen/favicon.ico)
===================================================================
(Binary files differ)
Deleted: templates/branches/lifetype-1.2/zen/folderblue.gif
===================================================================
(Binary files differ)
Copied: templates/branches/lifetype-1.2/zen/folderblue.gif (from rev 6421, templates/branches/lifetype-1.2/unported/zen/folderblue.gif)
===================================================================
(Binary files differ)
Deleted: templates/branches/lifetype-1.2/zen/footer.template
===================================================================
--- templates/branches/lifetype-1.2/unported/zen/footer.template 2008-04-29 13:02:19 UTC (rev 6419)
+++ templates/branches/lifetype-1.2/zen/footer.template 2008-04-29 14:23:47 UTC (rev 6422)
@@ -1,3 +0,0 @@
- </div>
- </body>
-</html>
Copied: templates/branches/lifetype-1.2/zen/footer.template (from rev 6421, templates/branches/lifetype-1.2/unported/zen/footer.template)
===================================================================
--- templates/branches/lifetype-1.2/zen/footer.template (rev 0)
+++ templates/branches/lifetype-1.2/zen/footer.template 2008-04-29 14:23:47 UTC (rev 6422)
@@ -0,0 +1,3 @@
+ </div>
+ </body>
+</html>
Deleted: templates/branches/lifetype-1.2/zen/header.template
===================================================================
--- templates/branches/lifetype-1.2/unported/zen/header.template 2008-04-29 13:02:19 UTC (rev 6419)
+++ templates/branches/lifetype-1.2/zen/header.template 2008-04-29 14:23:47 UTC (rev 6422)
@@ -1,25 +0,0 @@
-<!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>{$pageTitle|escape:"html"}</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")}" />
- <link rel="shortcut icon" type="image/x-icon" href="{$url->getTemplateFile("favicon.ico")}" />
-{if $badbehavior}
- {$badbehavior->showBB2JavaScript()}
-{/if}
-</head>
-
-<body>
-<div id="rap">
- <h1 id="header"><a href="{$url->blogLink()}" title="{$blog->getBlog()}">{$blog->getBlog()}</a></h1>
-
-
Copied: templates/branches/lifetype-1.2/zen/header.template (from rev 6421, templates/branches/lifetype-1.2/unported/zen/header.template)
===================================================================
--- templates/branches/lifetype-1.2/zen/header.template (rev 0)
+++ templates/branches/lifetype-1.2/zen/header.template 2008-04-29 14:23:47 UTC (rev 6422)
@@ -0,0 +1,25 @@
+<!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>{$pageTitle|escape:"html"}</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")}" />
+ <link rel="shortcut icon" type="image/x-icon" href="{$url->getTemplateFile("favicon.ico")}" />
+{if $badbehavior}
+ {$badbehavior->showBB2JavaScript()}
+{/if}
+</head>
+
+<body>
+<div id="rap">
+ <h1 id="header"><a href="{$url->blogLink()}" title="{$blog->getBlog()}">{$blog->getBlog()}</a></h1>
+
+
Copied: templates/branches/lifetype-1.2/zen/images (from rev 6421, templates/branches/lifetype-1.2/unported/zen/images)
Deleted: templates/branches/lifetype-1.2/zen/main.template
===================================================================
--- templates/branches/lifetype-1.2/unported/zen/main.template 2008-04-29 13:02:19 UTC (rev 6419)
+++ templates/branches/lifetype-1.2/zen/main.template 2008-04-29 14:23:47 UTC (rev 6422)
@@ -1,16 +0,0 @@
-{include file="$blogtemplate/header.template"}
-
-<div id="content">
- {foreach from=$posts item=post}
- <div class="post">
- {include file="$blogtemplate/post.template"}
- </div>
- {/foreach}
- <div class="post">{pager style="links"}</div>
- <p class="credit">
- Powered by <a href="http://www.lifetype.net" target="_blank">LifeType</a>
- </p>
-</div>
-
-{include file="$blogtemplate/panel.template"}
-{include file="$blogtemplate/footer.template"}
Copied: templates/branches/lifetype-1.2/zen/main.template (from rev 6421, templates/branches/lifetype-1.2/unported/zen/main.template)
===================================================================
--- templates/branches/lifetype-1.2/zen/main.template (rev 0)
+++ templates/branches/lifetype-1.2/zen/main.template 2008-04-29 14:23:47 UTC (rev 6422)
@@ -0,0 +1,16 @@
+{include file="$blogtemplate/header.template"}
+
+<div id="content">
+ {foreach from=$posts item=post}
+ <div class="post">
+ {include file="$blogtemplate/post.template"}
+ </div>
+ {/foreach}
+ <div class="post">{pager style="links"}</div>
+ <p class="credit">
+ Powered by <a href="http://www.lifetype.net" target="_blank">LifeType</a>
+ </p>
+</div>
+
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}
Deleted: templates/branches/lifetype-1.2/zen/panel.template
===================================================================
--- templates/branches/lifetype-1.2/unported/zen/panel.template 2008-04-29 13:02:19 UTC (rev 6419)
+++ templates/branches/lifetype-1.2/zen/panel.template 2008-04-29 14:23:47 UTC (rev 6422)
@@ -1,91 +0,0 @@
-
-<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>
-{assign var=blogOwner value=$blog->getOwnerInfo()}
-{assign var=AboutMyself value=$blogOwner->getAboutMyself()}
-{if $blogOwner->hasPicture() && $AboutMyself}
- <li id="about_myself">{$locale->tr("about_myself")}
- <ul>
- {assign var=picture value=$blogOwner->getPicture()}
- <li><img id="UserPicture" src="{$picture->getPreviewLink()}" alt="{$blogOwner->getUsername()}" /></li>
- <p>{$AboutMyself}</p>
- </ul>
- </li>
-{/if}
- <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>
Copied: templates/branches/lifetype-1.2/zen/panel.template (from rev 6421, templates/branches/lifetype-1.2/unported/zen/panel.template)
===================================================================
--- templates/branches/lifetype-1.2/zen/panel.template (rev 0)
+++ templates/branches/lifetype-1.2/zen/panel.template 2008-04-29 14:23:47 UTC (rev 6422)
@@ -0,0 +1,91 @@
+
+<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>
+{assign var=blogOwner value=$blog->getOwnerInfo()}
+{assign var=AboutMyself value=$blogOwner->getAboutMyself()}
+{if $blogOwner->hasPicture() && $AboutMyself}
+ <li id="about_myself">{$locale->tr("about_myself")}
+ <ul>
+ {assign var=picture value=$blogOwner->getPicture()}
+ <li><img id="UserPicture" src="{$picture->getPreviewLink()}" alt="{$blogOwner->getUsername()}" /></li>
+ <p>{$AboutMyself}</p>
+ </ul>
+ </li>
+{/if}
+ <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>
Deleted: templates/branches/lifetype-1.2/zen/post.template
===================================================================
--- templates/branches/lifetype-1.2/unported/zen/post.template 2008-04-29 13:02:19 UTC (rev 6419)
+++ templates/branches/lifetype-1.2/zen/post.template 2008-04-29 14:23:47 UTC (rev 6422)
@@ -1,29 +0,0 @@
-{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}
-
- — {$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->getNumComments() eq 0}{$locale->tr("comment on this")}{else}{$post->getNumComments()} {$locale->tr("comments")}{/if}
- </a> |
- {if $post->getNumTrackbacks() > 0}
- <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getNumTrackbacks()} {$locale->tr("trackbacks")}</a>
- {else}
- {$post->getNumTrackbacks()} {$locale->tr("trackbacks")}
- {/if}
-</div>
\ No newline at end of file
Copied: templates/branches/lifetype-1.2/zen/post.template (from rev 6421, templates/branches/lifetype-1.2/unported/zen/post.template)
===================================================================
--- templates/branches/lifetype-1.2/zen/post.template (rev 0)
+++ templates/branches/lifetype-1.2/zen/post.template 2008-04-29 14:23:47 UTC (rev 6422)
@@ -0,0 +1,29 @@
+{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}
+
+ — {$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->getNumComments() eq 0}{$locale->tr("comment on this")}{else}{$post->getNumComments()} {$locale->tr("comments")}{/if}
+ </a> |
+ {if $post->getNumTrackbacks() > 0}
+ <a href="{$url->postTrackbackStatsLink($post)}" title="{$locale->tr("trackbacks")}">{$post->getNumTrackbacks()} {$locale->tr("trackbacks")}</a>
+ {else}
+ {$post->getNumTrackbacks()} {$locale->tr("trackbacks")}
+ {/if}
+</div>
\ No newline at end of file
Deleted: templates/branches/lifetype-1.2/zen/postandcomments.template
===================================================================
--- templates/branches/lifetype-1.2/unported/zen/postandcomments.template 2008-04-29 13:02:19 UTC (rev 6419)
+++ templates/branches/lifetype-1.2/zen/postandcomments.template 2008-04-29 14:23:47 UTC (rev 6422)
@@ -1,49 +0,0 @@
-{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">
- <!-- {$url->postTrackbackLink($post)} -->
- {include file="$blogtemplate/post.template"}
- {pager style="links"}
- <h2 id="comments">{$locale->tr("comments")}</h2>
-
- <ol id="commentlist">
- {foreach from=$comments item=comment}
- {assign var=commentText value=$comment->getText()}
- {if $comment->IsPosterAuthenticated()}
- {assign var=poster value=$comment->getUser()}
- {if $poster->hasPicture()}
- {assign var=posterimg value=$poster->getPicture()}
- <img src="{$posterimg->getPreviewLink()}" alt="{$poster->getUserName()}" align="right" class="poster_avatar"/>
- {/if}
- {/if}
- <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} —
- {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"}
Copied: templates/branches/lifetype-1.2/zen/postandcomments.template (from rev 6421, templates/branches/lifetype-1.2/unported/zen/postandcomments.template)
===================================================================
--- templates/branches/lifetype-1.2/zen/postandcomments.template (rev 0)
+++ templates/branches/lifetype-1.2/zen/postandcomments.template 2008-04-29 14:23:47 UTC (rev 6422)
@@ -0,0 +1,49 @@
+{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">
+ <!-- {$url->postTrackbackLink($post)} -->
+ {include file="$blogtemplate/post.template"}
+ {pager style="links"}
+ <h2 id="comments">{$locale->tr("comments")}</h2>
+
+ <ol id="commentlist">
+ {foreach from=$comments item=comment}
+ {assign var=commentText value=$comment->getText()}
+ {if $comment->IsPosterAuthenticated()}
+ {assign var=poster value=$comment->getUser()}
+ {if $poster->hasPicture()}
+ {assign var=posterimg value=$poster->getPicture()}
+ <img src="{$posterimg->getPreviewLink()}" alt="{$poster->getUserName()}" align="right" class="poster_avatar"/>
+ {/if}
+ {/if}
+ <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} —
+ {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"}
Deleted: templates/branches/lifetype-1.2/zen/posttrackbacks.template
===================================================================
--- templates/branches/lifetype-1.2/unported/zen/posttrackbacks.template 2008-04-29 13:02:19 UTC (rev 6419)
+++ templates/branches/lifetype-1.2/zen/posttrackbacks.template 2008-04-29 14:23:47 UTC (rev 6422)
@@ -1,17 +0,0 @@
-{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> {$locale->formatDate($trackbackDate, "%d/%m/%Y %H:%M")}<br/><br/>
- {/foreach}
- </div>
- </div>
-</div>
-{include file="$blogtemplate/panel.template"}
-{include file="$blogtemplate/footer.template"}
Copied: templates/branches/lifetype-1.2/zen/posttrackbacks.template (from rev 6421, templates/branches/lifetype-1.2/unported/zen/posttrackbacks.template)
===================================================================
--- templates/branches/lifetype-1.2/zen/posttrackbacks.template (rev 0)
+++ templates/branches/lifetype-1.2/zen/posttrackbacks.template 2008-04-29 14:23:47 UTC (rev 6422)
@@ -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> {$locale->formatDate($trackbackDate, "%d/%m/%Y %H:%M")}<br/><br/>
+ {/foreach}
+ </div>
+ </div>
+</div>
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}
Deleted: templates/branches/lifetype-1.2/zen/resource.template
===================================================================
--- templates/branches/lifetype-1.2/unported/zen/resource.template 2008-04-29 13:02:19 UTC (rev 6419)
+++ templates/branches/lifetype-1.2/zen/resource.template 2008-04-29 14:23:47 UTC (rev 6422)
@@ -1,57 +0,0 @@
-{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/footer.template"}
Copied: templates/branches/lifetype-1.2/zen/resource.template (from rev 6421, templates/branches/lifetype-1.2/unported/zen/resource.template)
===================================================================
--- templates/branches/lifetype-1.2/zen/resource.template (rev 0)
+++ templates/branches/lifetype-1.2/zen/resource.template 2008-04-29 14:23:47 UTC (rev 6422)
@@ -0,0 +1,57 @@
+{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/footer.template"}
Deleted: templates/branches/lifetype-1.2/zen/sample.gif
===================================================================
(Binary files differ)
Copied: templates/branches/lifetype-1.2/zen/sample.gif (from rev 6421, templates/branches/lifetype-1.2/unported/zen/sample.gif)
===================================================================
(Binary files differ)
Deleted: templates/branches/lifetype-1.2/zen/screenshot.jpg
===================================================================
(Binary files differ)
Copied: templates/branches/lifetype-1.2/zen/screenshot.jpg (from rev 6421, templates/branches/lifetype-1.2/unported/zen/screenshot.jpg)
===================================================================
(Binary files differ)
Deleted: templates/branches/lifetype-1.2/zen/searchresults.template
===================================================================
--- templates/branches/lifetype-1.2/unported/zen/searchresults.template 2008-04-29 13:02:19 UTC (rev 6419)
+++ templates/branches/lifetype-1.2/zen/searchresults.template 2008-04-29 14:23:47 UTC (rev 6422)
@@ -1,20 +0,0 @@
-{include file="$blogtemplate/header.template"}
-<div id="content">
- <h2>{$locale->tr("search_matching_results")}{foreach from=$searchterms item=term}{$term} {/foreach}</h2>
- <div id="SearchResults">
- {foreach from=$searchresults item=result}
- <div class="post">
- {assign var=article value=$result->getArticle()}
- <h3><a href="{$url->postPermalink($article)}">{$article->getTopic()}</a></h3>
- <p class="searchArticle">
- {$article->getText()|strip_tags|truncate:300:"...":false}
- </p>
- <p class="footer"">{foreach name=categories from=$article->getCategories() item=postCategory}
- <a href="{$url->categoryLink($postCategory)}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
- {/foreach}</p>
- </div>
- {/foreach}
- </div>
-</div>
-{include file="$blogtemplate/panel.template"}
-{include file="$blogtemplate/footer.template"}
Copied: templates/branches/lifetype-1.2/zen/searchresults.template (from rev 6421, templates/branches/lifetype-1.2/unported/zen/searchresults.template)
===================================================================
--- templates/branches/lifetype-1.2/zen/searchresults.template (rev 0)
+++ templates/branches/lifetype-1.2/zen/searchresults.template 2008-04-29 14:23:47 UTC (rev 6422)
@@ -0,0 +1,20 @@
+{include file="$blogtemplate/header.template"}
+<div id="content">
+ <h2>{$locale->tr("search_matching_results")}{foreach from=$searchterms item=term}{$term} {/foreach}</h2>
+ <div id="SearchResults">
+ {foreach from=$searchresults item=result}
+ <div class="post">
+ {assign var=article value=$result->getArticle()}
+ <h3><a href="{$url->postPermalink($article)}">{$article->getTopic()}</a></h3>
+ <p class="searchArticle">
+ {$article->getText()|strip_tags|truncate:300:"...":false}
+ </p>
+ <p class="footer"">{foreach name=categories from=$article->getCategories() item=postCategory}
+ <a href="{$url->categoryLink($postCategory)}">{$postCategory->getName()}</a>{if !$smarty.foreach.categories.last}, {/if}
+ {/foreach}</p>
+ </div>
+ {/foreach}
+ </div>
+</div>
+{include file="$blogtemplate/panel.template"}
+{include file="$blogtemplate/footer.template"}
Deleted: templates/branches/lifetype-1.2/zen/style.css
===================================================================
--- templates/branches/lifetype-1.2/unported/zen/style.css 2008-04-29 13:02:19 UTC (rev 6419)
+++ templates/branches/lifetype-1.2/zen/style.css 2008-04-29 14:23:47 UTC (rev 6422)
@@ -1,321 +0,0 @@
-/*
- "Zen" by Michee Rose (www.michee.vrtisworks.com, michee at vrtisworks.com)
- 02/06/04
-
- based on the Default WordPress by Dave Shea || http://mezzoblue.com
- Modifications by Matthew Mullenweg || http://photomatt.net
-*/
-
-/*overall*/
-a {
- color: #666;
- text-decoration:none;
- border-bottom: 1px dashed #999;
-}
-
-a img {
- border: none;
-}
-
-a:visited {
- color: #444;
-}
-
-a:hover {
- color: #000;
- text-decoration: none;
-}
-
-acronym, abbr {
- border-bottom: 1px dashed #333;
-}
-
-acronym, abbr, span.caps {
- font-size: 90%;
- letter-spacing: .07em;
- cursor: help;
-}
-
-blockquote {
- border-left: 3px solid #ccc;
- margin-left: 1.5em;
- padding-left: 5px;
-}
-
-body {
- background: #fff url("images/grass.jpg") left top no-repeat;
- color: #000
- font-size: 100%;
- font-family: 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
- margin: 0;
- padding: 0;
-
-}
-
-cite {
- font-size: 90%;
- font-style: normal;
-}
-
-h2 {
- font: 80% "Times New Roman", Times, serif;
- letter-spacing: 0.2em;
- border-bottom: 1px dotted #ccc;
- margin: 15px 0 2px 0;
- padding-bottom: 2px;
-}
-
-h3 {
- font-family: "Times New Roman", Times, serif;
- border-bottom: dotted 1px #eee;
- margin-top: 0;
-}
-
-ol#comments li p {
- font-size: 100%;
-}
-
-p, li, .feedback {
- font: 90%/175% 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
- letter-spacing: -1px;
-}
-
-/*header*/
-#header {
- font-family: Palatino, Garamond, serif;
- text-align: left;
- letter-spacing: 0.2em;
- line-height: 80%;
- margin: 0;
- margin-left:350px;
- padding-top: 5px;
- height:100px;
-}
-#header a {
- color:#000;
- font-family: Palatino, Garamond, serif;
- font-size: 1.2em;
- text-decoration: none;
- border: none;
- padding:0;
-}
-#header a:hover {
- text-decoration: underline;
-}
-
-/*content*/
-#content {
- border-left: 2px solid #666;
- padding-left: 2px;
- margin: 50px 12em 0px 190px;
- floart:left;
- width: 600px;
-}
-.post {
- margin-right: 8em;
-}
-.feedback {
- color: #ccc;
- text-align: right;
-}
-.meta {
- font-size: .75em;
- border: none;
-}
-.meta, .meta a {
- color: #808080;
- font-weight: normal;
- letter-spacing: 0;
-}
-.meta ul {
- display: inline;
- list-style: none;
- margin: 0;
- padding: 0;
-}
-
-.meta li {
- display: inline;
-}
-.storytitle {
- margin: 0;
-}
-.storytitle a {
- border: none;
-}
-
-#commentform input, #commentform textarea {
- background: #fff;
- border: 1px solid #333;
-}
-
-#commentform textarea {
- width: 100%;
-}
-
-/*menu*/
-#menu {
- background: #fff;
- border-bottom: 1px solid #666;
- border-left: 1px dotted #ccc;
- padding: 10px 0 5px 15px;
- float:right;
- position: absolute;
- left: 680px;
- top: 50px;
- width: 200px;
-}
-#menu form {
- margin: 0 0 0 13px;
-}
-#menu input {
- background: #eee;
- letter-spacing: -0.05em;
- border: 1px solid #999;
- width: 80%;
-}
-#menu ul {
- color: #ccc;
- font-weight: bold;
- text-transform: lowercase;
- list-style-type: none;
- margin: 0;
- padding-left: 3px;
-}
-#menu ul li {
- font: italic normal 110% 'Times New Roman', Times, serif;
- letter-spacing: 0.1em;
- margin-top: 10px;
- padding-bottom: 2px; /*border-bottom: dotted 1px #ccc;*/
-}
-#menu ul ul {
- font-variant: normal;
- font-weight: normal;
- line-height: 100%;
- text-align: left;
- list-style-type: none;
- margin: 0;
- padding: 0;
-}
-#menu ul ul li {
- font: normal normal 70%/115% 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
- letter-spacing: 0;
- border: 0;
- margin-top: 0;
- padding: 0;
- padding-left: 12px;
-}
-#menu ul ul li a {
- color: #000;
- text-decoration: none;
-}
-#menu ul ul li a:hover {
- border-bottom: 1px solid #809080;
-}
-#cam {
- font-size: .5em;
- text-align: center;
-}
-#calendar {
- font-size: 14px;
- border: 0px;
- margin: 0;
- width: 90%;
- empty-cells: show;
-}
-
-.calMonthHeader, .calMonthNav{
- color: #000;
- font: 11px Verdana, Arial, serif;
- padding-top:10px;
- text-align: center;
- text-transform: lowercase;
-}
-
-#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: #e0e6e0;
- color: #333;
-}
-
-#calendar td {
- color: #000;
- font: normal 10px 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
- text-align: center;
- letter-spacing: normal;
- padding: 0px;
-
-}
-#calendar td.pad:hover {
- background: #fff;
-}
-#calendar td:hover, .calMonthToday {
- background: #eee;
- color: #bbb;
-}
-
-
-/*footer/credit*/
-.credit {
- background: #666666;
- color: #fff;
- font-size: .9em;
- text-align: center;
- margin: 0px;
- padding: 3px;
- border-top: double 3px #999;
- clear:both;
-}
-
-.credit a:link, .credit a:hover {
- color: #fff;
-}
-.pager {
- clear:all;
- text-align: center;
- margin-bottom: 20px;
- margin-top: 20px;
- font-size: 12px;
- padding-top: 10px;
- padding-bottom: 10px;
-}
-.pager a, .pager a:link, .pager a:href, .pager a:hover {
- text-decoration: none;
- border: 0px;
-}
-
-.pager .pagerLinkPrevPage, .pagerLink, .pagerLinkNextPage{
- padding: 2px 6px;
-}
-
-.pager .pagerLinkPrevPage{
- margin-right:20px;
-}
-.pager .pagerLinkNextPage {
- margin-left:20px;
-}
-
-.pager .pagerCurrent {
- padding: 2px 6px;
- border-color: #999;
- font-weight: bold;
- font-size: 13px;
- vertical-align: top;
- background: #fff;
- color: #FF0084;
-}
Copied: templates/branches/lifetype-1.2/zen/style.css (from rev 6421, templates/branches/lifetype-1.2/unported/zen/style.css)
===================================================================
--- templates/branches/lifetype-1.2/zen/style.css (rev 0)
+++ templates/branches/lifetype-1.2/zen/style.css 2008-04-29 14:23:47 UTC (rev 6422)
@@ -0,0 +1,321 @@
+/*
+ "Zen" by Michee Rose (www.michee.vrtisworks.com, michee at vrtisworks.com)
+ 02/06/04
+
+ based on the Default WordPress by Dave Shea || http://mezzoblue.com
+ Modifications by Matthew Mullenweg || http://photomatt.net
+*/
+
+/*overall*/
+a {
+ color: #666;
+ text-decoration:none;
+ border-bottom: 1px dashed #999;
+}
+
+a img {
+ border: none;
+}
+
+a:visited {
+ color: #444;
+}
+
+a:hover {
+ color: #000;
+ text-decoration: none;
+}
+
+acronym, abbr {
+ border-bottom: 1px dashed #333;
+}
+
+acronym, abbr, span.caps {
+ font-size: 90%;
+ letter-spacing: .07em;
+ cursor: help;
+}
+
+blockquote {
+ border-left: 3px solid #ccc;
+ margin-left: 1.5em;
+ padding-left: 5px;
+}
+
+body {
+ background: #fff url("images/grass.jpg") left top no-repeat;
+ color: #000
+ font-size: 100%;
+ font-family: 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
+ margin: 0;
+ padding: 0;
+
+}
+
+cite {
+ font-size: 90%;
+ font-style: normal;
+}
+
+h2 {
+ font: 80% "Times New Roman", Times, serif;
+ letter-spacing: 0.2em;
+ border-bottom: 1px dotted #ccc;
+ margin: 15px 0 2px 0;
+ padding-bottom: 2px;
+}
+
+h3 {
+ font-family: "Times New Roman", Times, serif;
+ border-bottom: dotted 1px #eee;
+ margin-top: 0;
+}
+
+ol#comments li p {
+ font-size: 100%;
+}
+
+p, li, .feedback {
+ font: 90%/175% 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
+ letter-spacing: -1px;
+}
+
+/*header*/
+#header {
+ font-family: Palatino, Garamond, serif;
+ text-align: left;
+ letter-spacing: 0.2em;
+ line-height: 80%;
+ margin: 0;
+ margin-left:350px;
+ padding-top: 5px;
+ height:100px;
+}
+#header a {
+ color:#000;
+ font-family: Palatino, Garamond, serif;
+ font-size: 1.2em;
+ text-decoration: none;
+ border: none;
+ padding:0;
+}
+#header a:hover {
+ text-decoration: underline;
+}
+
+/*content*/
+#content {
+ border-left: 2px solid #666;
+ padding-left: 2px;
+ margin: 50px 12em 0px 190px;
+ floart:left;
+ width: 600px;
+}
+.post {
+ margin-right: 8em;
+}
+.feedback {
+ color: #ccc;
+ text-align: right;
+}
+.meta {
+ font-size: .75em;
+ border: none;
+}
+.meta, .meta a {
+ color: #808080;
+ font-weight: normal;
+ letter-spacing: 0;
+}
+.meta ul {
+ display: inline;
+ list-style: none;
+ margin: 0;
+ padding: 0;
+}
+
+.meta li {
+ display: inline;
+}
+.storytitle {
+ margin: 0;
+}
+.storytitle a {
+ border: none;
+}
+
+#commentform input, #commentform textarea {
+ background: #fff;
+ border: 1px solid #333;
+}
+
+#commentform textarea {
+ width: 100%;
+}
+
+/*menu*/
+#menu {
+ background: #fff;
+ border-bottom: 1px solid #666;
+ border-left: 1px dotted #ccc;
+ padding: 10px 0 5px 15px;
+ float:right;
+ position: absolute;
+ left: 680px;
+ top: 50px;
+ width: 200px;
+}
+#menu form {
+ margin: 0 0 0 13px;
+}
+#menu input {
+ background: #eee;
+ letter-spacing: -0.05em;
+ border: 1px solid #999;
+ width: 80%;
+}
+#menu ul {
+ color: #ccc;
+ font-weight: bold;
+ text-transform: lowercase;
+ list-style-type: none;
+ margin: 0;
+ padding-left: 3px;
+}
+#menu ul li {
+ font: italic normal 110% 'Times New Roman', Times, serif;
+ letter-spacing: 0.1em;
+ margin-top: 10px;
+ padding-bottom: 2px; /*border-bottom: dotted 1px #ccc;*/
+}
+#menu ul ul {
+ font-variant: normal;
+ font-weight: normal;
+ line-height: 100%;
+ text-align: left;
+ list-style-type: none;
+ margin: 0;
+ padding: 0;
+}
+#menu ul ul li {
+ font: normal normal 70%/115% 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
+ letter-spacing: 0;
+ border: 0;
+ margin-top: 0;
+ padding: 0;
+ padding-left: 12px;
+}
+#menu ul ul li a {
+ color: #000;
+ text-decoration: none;
+}
+#menu ul ul li a:hover {
+ border-bottom: 1px solid #809080;
+}
+#cam {
+ font-size: .5em;
+ text-align: center;
+}
+#calendar {
+ font-size: 14px;
+ border: 0px;
+ margin: 0;
+ width: 90%;
+ empty-cells: show;
+}
+
+.calMonthHeader, .calMonthNav{
+ color: #000;
+ font: 11px Verdana, Arial, serif;
+ padding-top:10px;
+ text-align: center;
+ text-transform: lowercase;
+}
+
+#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: #e0e6e0;
+ color: #333;
+}
+
+#calendar td {
+ color: #000;
+ font: normal 10px 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
+ text-align: center;
+ letter-spacing: normal;
+ padding: 0px;
+
+}
+#calendar td.pad:hover {
+ background: #fff;
+}
+#calendar td:hover, .calMonthToday {
+ background: #eee;
+ color: #bbb;
+}
+
+
+/*footer/credit*/
+.credit {
+ background: #666666;
+ color: #fff;
+ font-size: .9em;
+ text-align: center;
+ margin: 0px;
+ padding: 3px;
+ border-top: double 3px #999;
+ clear:both;
+}
+
+.credit a:link, .credit a:hover {
+ color: #fff;
+}
+.pager {
+ clear:all;
+ text-align: center;
+ margin-bottom: 20px;
+ margin-top: 20px;
+ font-size: 12px;
+ padding-top: 10px;
+ padding-bottom: 10px;
+}
+.pager a, .pager a:link, .pager a:href, .pager a:hover {
+ text-decoration: none;
+ border: 0px;
+}
+
+.pager .pagerLinkPrevPage, .pagerLink, .pagerLinkNextPage{
+ padding: 2px 6px;
+}
+
+.pager .pagerLinkPrevPage{
+ margin-right:20px;
+}
+.pager .pagerLinkNextPage {
+ margin-left:20px;
+}
+
+.pager .pagerCurrent {
+ padding: 2px 6px;
+ border-color: #999;
+ font-weight: bold;
+ font-size: 13px;
+ vertical-align: top;
+ background: #fff;
+ color: #FF0084;
+}
More information about the pLog-svn
mailing list