[pLog-svn] r4880 - templates/branches/lifetype-1.2/unported/MinimaPlus
oscar at devel.lifetype.net
oscar at devel.lifetype.net
Sun Feb 25 10:15:00 EST 2007
Author: oscar
Date: 2007-02-25 10:15:00 -0500 (Sun, 25 Feb 2007)
New Revision: 4880
Added:
templates/branches/lifetype-1.2/unported/MinimaPlus/favicon.ico
Modified:
templates/branches/lifetype-1.2/unported/MinimaPlus/comments.template
templates/branches/lifetype-1.2/unported/MinimaPlus/footer.template
templates/branches/lifetype-1.2/unported/MinimaPlus/header.template
templates/branches/lifetype-1.2/unported/MinimaPlus/links.template
templates/branches/lifetype-1.2/unported/MinimaPlus/main.template
templates/branches/lifetype-1.2/unported/MinimaPlus/postandcomments.template
templates/branches/lifetype-1.2/unported/MinimaPlus/searchresults.template
templates/branches/lifetype-1.2/unported/MinimaPlus/style.css
Log:
Ported the MinimaPlus template to LT 1.2
Modified: templates/branches/lifetype-1.2/unported/MinimaPlus/comments.template
===================================================================
--- templates/branches/lifetype-1.2/unported/MinimaPlus/comments.template 2007-02-25 14:57:50 UTC (rev 4879)
+++ templates/branches/lifetype-1.2/unported/MinimaPlus/comments.template 2007-02-25 15:15:00 UTC (rev 4880)
@@ -12,6 +12,15 @@
<div class="commentBox" style="background-color: #e5e5e5; padding: 5px;">
{/if}
<p>
+ {if $comment->IsPosterAuthenticated()}
+ {assign var=poster value=$comment->getUser()}
+ {if $poster->hasPicture()}
+ {assign var=posterimg value=$poster->getPicture()}
+ {assign var=commenter value=$comment->getUser()}
+ <img src="{$posterimg->getPreviewLink()}" alt="{$commenter->getUserName()}" />
+ {/if}
+ {/if}
+ <br/>
{$comment->getText()}
</p>
<br>
@@ -20,6 +29,8 @@
</div>
{assign var="counter" value="`$counter+1`"}
{/foreach}
+
+ {pager style="links" anchor="#comments"}
</dd>
</dl>
Added: templates/branches/lifetype-1.2/unported/MinimaPlus/favicon.ico
===================================================================
(Binary files differ)
Property changes on: templates/branches/lifetype-1.2/unported/MinimaPlus/favicon.ico
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ application/octet-stream
Modified: templates/branches/lifetype-1.2/unported/MinimaPlus/footer.template
===================================================================
--- templates/branches/lifetype-1.2/unported/MinimaPlus/footer.template 2007-02-25 14:57:50 UTC (rev 4879)
+++ templates/branches/lifetype-1.2/unported/MinimaPlus/footer.template 2007-02-25 15:15:00 UTC (rev 4880)
@@ -3,13 +3,9 @@
<!-- Begin #footer -->
<div id="footer"><hr />
- <P>{$blog->getBlog()} is proudly powered by <A href="http://www.lifetype.net/">LifeType</A>
-<BR>Syndicate <A href="{$url->rssLink("rss10")}">Entries (RSS)</A> <A class=alignright href="#top">Back to the top.</A></p>
-
+ <p>Powered by <a href="http://www.lifetype.net/">Lifetype</a></p>
</div>
<!-- End #footer -->
-
-
</body>
</html>
\ No newline at end of file
Modified: templates/branches/lifetype-1.2/unported/MinimaPlus/header.template
===================================================================
--- templates/branches/lifetype-1.2/unported/MinimaPlus/header.template 2007-02-25 14:57:50 UTC (rev 4879)
+++ templates/branches/lifetype-1.2/unported/MinimaPlus/header.template 2007-02-25 15:15:00 UTC (rev 4880)
@@ -5,16 +5,17 @@
<meta http-equiv="Content-Type" content="text/html;charset={$locale->getCharset()}" />
<meta name="generator" content="{$version}" />
<meta http-equiv="Content-Language" content="{$locale->getLanguageId()}" />
- <title>{$blog->getBlog()}{$postPageTitle}</title>
+ <title>{$pageTitle|escape:"html"}</title>
<link rel="stylesheet" title="Default" href="{$url->getTemplateFile("style.css")}" type="text/css" />
<link rel="alternate" type="text/xml" title="RSS 2.0" href="{$url->rssLink("rss20")}" />
<link rel="alternate" type="text/xml" title="RSS 1.0" href="{$url->rssLink("rss10")}" />
<link rel="alternate" type="text/xml" title="RSS 0.90" href="{$url->rssLink("rss090")}" />
<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="{$url->rssLink("atom")}" />
+ <link rel="shortcut icon" type="image/x-icon" href="{$url->getTemplateFile("favicon.ico")}" />
<script type="text/javascript" src="{$url->getTemplateFile("nicetitle.js")}"></script>
<link rel="stylesheet" href="{$url->getTemplateFile("nicetitle.css")}" />
</head>
-<BODY>
+<body>
<div id="menu">
<br />
Modified: templates/branches/lifetype-1.2/unported/MinimaPlus/links.template
===================================================================
--- templates/branches/lifetype-1.2/unported/MinimaPlus/links.template 2007-02-25 14:57:50 UTC (rev 4879)
+++ templates/branches/lifetype-1.2/unported/MinimaPlus/links.template 2007-02-25 15:15:00 UTC (rev 4880)
@@ -6,38 +6,41 @@
<!-- Begin #sidebar -->
<div id="sidebar"><div id="sidebar2">
<!-- Begin #profile-container -->
- <H2 class="sidebar-title">About {$blog->getBlog()}</H2>
- {$blog->getAbout()}
- {assign var=blogOwner value=$blog->getOwnerInfo()}
- {if $blogOwner->getAboutMyself()}
- <H2 class="sidebar-title">About {$blogOwner->getfullName()}</H2>
- <P>{$blogOwner->getAboutMyself()}</P>
- {/if}
+ {assign var=blogOwner value=$blog->getOwnerInfo()}
+ {assign var=AboutMyself value=$blogOwner->getAboutMyself()}
+ {if $blogOwner->hasPicture() && $AboutMyself}
+ <h2 class="sidebar-title">{$locale->tr("about_myself")}</h2>
+ {assign var=picture value=$blogOwner->getPicture()}
+ <img id="UserPicture" src="{$picture->getPreviewLink()}" alt="{$blogOwner->getUsername()}" />
+ <p>{$AboutMyself}</p>
+ {/if}
+
+
<!-- End #profile -->
<ul><li></li></ul>
- <h2 class="sidebar-title">Search</h2>
+ <h2 class="sidebar-title">{$locale->tr("search")}</h2>
<form style="padding: 0px; margin-top: 0px; margin-bottom: 0px;" method="post" action="{$url->getIndexUrl()}">
<input class =input type="text" name="searchTerms" value="" size="15" />
<input type="hidden" name="op" value="Search" />
<input type="hidden" name="blogId" value="{$blog->getId()}"/>
- <input type="submit" name="Search" value="Go" />
+ <input type="submit" name="Search" value="{$locale->tr("search")}" />
</form>
<ul><li></li></ul>
- <h2 class="sidebar-title">Categories</h2>
+ <h2 class="sidebar-title">{$locale->tr("categories")}</h2>
{foreach from=$articlecategories item=articleCategory}
<A href="{$url->categoryLink($articleCategory)}">{$articleCategory->getName()}</A> ({$articleCategory->getNumArticles()})<br>
{/foreach}<BR>
- <h2 class="sidebar-title">Archives</h2>
+ <h2 class="sidebar-title">{$locale->tr("archives")}</h2>
<form id="archiveform" action="" method="post">
<p style="margin: 0px; padding: 0px;">
<select id="archive_chrono">
- <option value="">Archives by Month</option>
+ <option value="">-- {$locale->tr("select")|capitalize} --</option>
{foreach from=$archives item=month}
<option value='{$month->getUrl()}'>{$month->getName()} [{$month->getNumArticles()}]</option>
{/foreach}
@@ -45,7 +48,7 @@
<input type="button" value="Go" onclick="window.location = (document.forms.archiveform.archive_chrono[document.forms.archiveform.archive_chrono.selectedIndex].value);" /></p>
</form>
- <h2 class="sidebar-title">Links</h2>
+ <h2 class="sidebar-title">{$locale->tr("my_links")}</h2>
{foreach from=$mylinkscategories item=linkcategory}
<b>{$linkcategory->getName()}</b><br>
{foreach from=$linkcategory->getLinks() item=link}
@@ -56,16 +59,18 @@
<ul><li></li></ul>
-
+
+ <h2 class="sidebar-title">{$locale->tr("syndicate")}</h2>
<p class="post-footer">
- <em><a href="http://www.thoughtmechanics.com/blog/2005/02/18/not-so-minima/">Minima Plus</a> is based on blogger template <a href="http://www.stopdesign.com/portfolio/web_interface/blogger_templates.html?fs=1">Minima</a>, originally by <a href="http://www.stopdesign.com">Douglas Bowman</a>. Enhanced and ported to Wordpress by Theron Parlin.
+ <em>
+ <a href="{$url->rssLink("rss10")}" title="RSS 1.0">RSS 1.0</a><br/>
+ <a href="{$url->rssLink("rss20")}" title="RSS 2.0">RSS 2.0</a><br/>
+ <a href="{$url->rssLink("atom")}" title="Atom">Atom</a><br/>
+ <a href="http://validator.w3.org/check/referer">XHTML</a><br/>
+ <a class="footerLink" href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a>
</em>
</p>
-
- <ul><li></li></ul>
- <p class="post-footer"><em><a href="{$url->rssLink("rss10")}" title="Syndicate this site using RSS">RSS</a> <a href="http://validator.w3.org/check/referer">XHTML</a> <a class="footerLink" href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a> <a href="http://www.contentquality.com/mynewtester/cynthia.exe?Url1=http://phys.idv.tw/wp">508</a></em></p>
-
<ul><li></li></ul>
Modified: templates/branches/lifetype-1.2/unported/MinimaPlus/main.template
===================================================================
--- templates/branches/lifetype-1.2/unported/MinimaPlus/main.template 2007-02-25 14:57:50 UTC (rev 4879)
+++ templates/branches/lifetype-1.2/unported/MinimaPlus/main.template 2007-02-25 15:15:00 UTC (rev 4880)
@@ -3,6 +3,6 @@
{foreach from=$posts item=post}
{include file="$blogtemplate/post.template"}
{/foreach}
- {pager style="links"}
+{pager style="links"}
{include file="$blogtemplate/links.template"}
{include file="$blogtemplate/footer.template"}
\ No newline at end of file
Modified: templates/branches/lifetype-1.2/unported/MinimaPlus/postandcomments.template
===================================================================
--- templates/branches/lifetype-1.2/unported/MinimaPlus/postandcomments.template 2007-02-25 14:57:50 UTC (rev 4879)
+++ templates/branches/lifetype-1.2/unported/MinimaPlus/postandcomments.template 2007-02-25 15:15:00 UTC (rev 4880)
@@ -1,5 +1,3 @@
-{assign var="postPageTitle" value=$post->getTopic()}
-{assign var="postPageTitle" value=" | $postPageTitle"}
{include file="$blogtemplate/header.template"}
{assign var="postDate" value=$post->getDateObject()}
{assign var="postOwner" value=$post->getUserInfo()}
Modified: templates/branches/lifetype-1.2/unported/MinimaPlus/searchresults.template
===================================================================
--- templates/branches/lifetype-1.2/unported/MinimaPlus/searchresults.template 2007-02-25 14:57:50 UTC (rev 4879)
+++ templates/branches/lifetype-1.2/unported/MinimaPlus/searchresults.template 2007-02-25 15:15:00 UTC (rev 4880)
@@ -4,11 +4,13 @@
<div class="post">
<h3 class="post-title">{$locale->tr("search_results")}: {foreach from=$searchterms item=term}{$term} {/foreach}</h3>
<br>
- <OL>
+ <ul>
{foreach from=$searchresults item=result}
{assign var=article value=$result->getArticle()}
<LI><a href="{$url->postPermalink($article)}">{$article->getTopic()}</a><br/>
- {/foreach}</OL>
+ {/foreach}
+ {pager style="links"}
+ </ul>
</div>
{include file="$blogtemplate/links.template"}
{include file="$blogtemplate/footer.template"}
Modified: templates/branches/lifetype-1.2/unported/MinimaPlus/style.css
===================================================================
--- templates/branches/lifetype-1.2/unported/MinimaPlus/style.css 2007-02-25 14:57:50 UTC (rev 4879)
+++ templates/branches/lifetype-1.2/unported/MinimaPlus/style.css 2007-02-25 15:15:00 UTC (rev 4880)
@@ -387,3 +387,44 @@
background: #fff;
color: #FF0084;
}
+
+#CommentForm fieldset {
+ border:2px solid #d4d0cd;
+ padding-top:10px;
+ margin-top:10px;
+ padding-left:10px;
+ padding-bottom:10px;
+}
+
+#CommentForm legend {
+ color:#525150;
+ padding:2px 4px 2px 4px;
+ background-color: #ffffff;
+ font-weight : bold;
+}
+
+#CommentForm label {
+ width:13em;
+ float:left;
+ display:block;
+ clear:both;
+ float:left;
+ margin-top:8px;
+ margin-bottom:0px;
+}
+
+#CommentForm input {
+ margin-top:
+ 8px;margin-bottom:8px;
+}
+
+#Submit {
+ margin-top:8px;
+ margin-bottom:8px;
+ margin-left:6em;
+}
+
+#CommentForm textarea {
+ margin-top:8px;
+ margin-bottom:0px;
+}
\ No newline at end of file
More information about the pLog-svn
mailing list