[pLog-svn] r4875 - templates/branches/lifetype-1.2/unported/fblue
oscar at devel.lifetype.net
oscar at devel.lifetype.net
Sun Feb 25 09:31:05 EST 2007
Author: oscar
Date: 2007-02-25 09:31:05 -0500 (Sun, 25 Feb 2007)
New Revision: 4875
Added:
templates/branches/lifetype-1.2/unported/fblue/favicon.ico
Removed:
templates/branches/lifetype-1.2/unported/fblue/demosites.template
templates/branches/lifetype-1.2/unported/fblue/samplerss.template
Modified:
templates/branches/lifetype-1.2/unported/fblue/album.template
templates/branches/lifetype-1.2/unported/fblue/albums.template
templates/branches/lifetype-1.2/unported/fblue/archives.template
templates/branches/lifetype-1.2/unported/fblue/bookmark.template
templates/branches/lifetype-1.2/unported/fblue/footer.template
templates/branches/lifetype-1.2/unported/fblue/header.template
templates/branches/lifetype-1.2/unported/fblue/links.template
templates/branches/lifetype-1.2/unported/fblue/post.template
templates/branches/lifetype-1.2/unported/fblue/postandcomments.template
templates/branches/lifetype-1.2/unported/fblue/resource.template
templates/branches/lifetype-1.2/unported/fblue/searchresults.template
templates/branches/lifetype-1.2/unported/fblue/style.css
Log:
Ported the 'fblue' template
Modified: templates/branches/lifetype-1.2/unported/fblue/album.template
===================================================================
--- templates/branches/lifetype-1.2/unported/fblue/album.template 2007-02-25 13:36:32 UTC (rev 4874)
+++ templates/branches/lifetype-1.2/unported/fblue/album.template 2007-02-25 14:31:05 UTC (rev 4875)
@@ -2,8 +2,8 @@
<!-- Loop Start -->
<!-- album contents go here -->
- <H2>{$album->getName()}</H2>
- <H3>{$album->getDescription()}</h3>
+ <h2>{$album->getName()}</h2>
+ <h3>{$album->getDescription()}</h3>
<table style="border:0px;width:100%;" summary="Album Resources">
<tr>
<td style="width:25%;" align="center" >
@@ -77,7 +77,7 @@
</table>
<!-- end of album contents -->
<div id="pager">
-{pager style="links"}
+{pager style="links"}
</div>
{include file="$blogtemplate/links.template"}
{include file="$blogtemplate/footer.template"}
Modified: templates/branches/lifetype-1.2/unported/fblue/albums.template
===================================================================
--- templates/branches/lifetype-1.2/unported/fblue/albums.template 2007-02-25 13:36:32 UTC (rev 4874)
+++ templates/branches/lifetype-1.2/unported/fblue/albums.template 2007-02-25 14:31:05 UTC (rev 4875)
@@ -2,7 +2,7 @@
<!-- Loop Start -->
<!-- album contents go here -->
- <H2>{$locale->tr("albums")}</H2>
+ <h2>{$locale->tr("albums")}</h2>
<table style="border:0px;width:100%;" summary="Albums">
<tr>
{assign var="counter" value=0}
Modified: templates/branches/lifetype-1.2/unported/fblue/archives.template
===================================================================
--- templates/branches/lifetype-1.2/unported/fblue/archives.template 2007-02-25 13:36:32 UTC (rev 4874)
+++ templates/branches/lifetype-1.2/unported/fblue/archives.template 2007-02-25 14:31:05 UTC (rev 4875)
@@ -1,7 +1,7 @@
{include file="$blogtemplate/header.template"}
- <DIV class=entry>
- <H3 class=entrytitle>{$locale->tr("archives")}</H3>
- <DIV class=entrybody>
+ <div class=entry>
+ <h3 class=entrytitle>{$locale->tr("archives")}</h3>
+ <div class=entrybody>
<ul>
{foreach from=$archives item=month}
<li>
Modified: templates/branches/lifetype-1.2/unported/fblue/bookmark.template
===================================================================
--- templates/branches/lifetype-1.2/unported/fblue/bookmark.template 2007-02-25 13:36:32 UTC (rev 4874)
+++ templates/branches/lifetype-1.2/unported/fblue/bookmark.template 2007-02-25 14:31:05 UTC (rev 4875)
@@ -1,8 +1,8 @@
{include file="$blogtemplate/header.template"}
<!-- Loop Start -->
- <H2>{$locale->tr("my_links")}</H2>
+ <h2>{$locale->tr("my_links")}</h2>
{foreach from=$mylinkscategories item=linkcategory}
- <H3>{$linkcategory->getName()}</h3>
+ <h3>{$linkcategory->getName()}</h3>
<ul>
{foreach from=$linkcategory->getLinks() item=link}
<li>
Deleted: templates/branches/lifetype-1.2/unported/fblue/demosites.template
===================================================================
--- templates/branches/lifetype-1.2/unported/fblue/demosites.template 2007-02-25 13:36:32 UTC (rev 4874)
+++ templates/branches/lifetype-1.2/unported/fblue/demosites.template 2007-02-25 14:31:05 UTC (rev 4875)
@@ -1,15 +0,0 @@
-{include file="$blogtemplate/header.template"}
- <!-- Loop Start -->
- <p>
- The following sites are running pLog. Have a look at them if you want to see how
- pLog feels like:
- </p>
- <ul>
- <li><a href="http://www.renalias.net">Oscar's (one of the developers) own personal page</a> (Kind of slow sometimes)</li>
- <li><a href="http://www.francesc.net">Francesc's (another developer) own personal page</a> (Faster than Oscar's :))</li>
- <li><a href="http://www.lamevaweb.info">Free blogging service for the users of the #tarrega channel in the Spanish IRC network.</a>.</li>
- <li><a href="http://ireport.sourceforge.net">iReport project</a></li>
- <li><a href="http://darren.someblog.com">Darren's blog</a><br/></li>
- </ul>
-{include file="$blogtemplate/links.template"}
-{include file="$blogtemplate/footer.template"}
Added: templates/branches/lifetype-1.2/unported/fblue/favicon.ico
===================================================================
(Binary files differ)
Property changes on: templates/branches/lifetype-1.2/unported/fblue/favicon.ico
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ application/octet-stream
Modified: templates/branches/lifetype-1.2/unported/fblue/footer.template
===================================================================
--- templates/branches/lifetype-1.2/unported/fblue/footer.template 2007-02-25 13:36:32 UTC (rev 4874)
+++ templates/branches/lifetype-1.2/unported/fblue/footer.template 2007-02-25 14:31:05 UTC (rev 4875)
@@ -1,9 +1,9 @@
<!-- begin footer -->
- <DIV id=footer>
- <P>Using the fBlue theme design by <A href="http://www.fahlstad.se/">Fredrik Fahlstad </A>
- Proudly powered by <A href="http://www.lifetype.net/">LifeType</A>.
- </P>
- </DIV>
-</DIV>
-</BODY>
-</HTML>
\ No newline at end of file
+ <div id="footer">
+ <p>fBlue theme by <a href="http://www.fahlstad.se/">Fredrik Fahlstad</a>.
+ Powered by <a href="http://www.lifetype.net">Lifetype</a>.
+ </p>
+ </div>
+</div>
+</body>
+</html>
\ No newline at end of file
Modified: templates/branches/lifetype-1.2/unported/fblue/header.template
===================================================================
--- templates/branches/lifetype-1.2/unported/fblue/header.template 2007-02-25 13:36:32 UTC (rev 4874)
+++ templates/branches/lifetype-1.2/unported/fblue/header.template 2007-02-25 14:31:05 UTC (rev 4875)
@@ -5,24 +5,24 @@
<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" media=screen />
<link rel="alternate" type="text/xml" title="RSS 2.0" href="{$url->rssLink("rss20")}" />
<link rel="alternate" type="text/xml" title="RSS 1.0" href="{$url->rssLink("rss10")}" />
<link rel="alternate" type="text/xml" title="RSS 0.90" href="{$url->rssLink("rss090")}" />
<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="{$url->rssLink("atom")}" />
-
+ <link rel="shortcut icon" type="image/x-icon" href="{$url->getTemplateFile("favicon.ico")}" />
<!--[if IE]><LINK href="{$url->getTemplateFile("ie.css")}" type=text/css rel=stylesheet><![endif]-->
</head>
-<BODY class=log id=home>
-<DIV id=wrap>
- <DIV id=headtitle>
- <H1 id=title><A href="{$url->blogLink()}">{$blog->getBlog()}</A></H1>
- </DIV>
- <DIV id=subheader>
- <DIV id=description>{$blog->getAbout()}</DIV>
- </DIV>
- <DIV id=main>
- <DIV id=content>
+<body class=log id="home">
+<div id="wrap">
+ <div id="headtitle">
+ <h1 id="title"><a href="{$url->blogLink()}">{$blog->getBlog()}</a></h1>
+ </div>
+ <div id="subheader">
+ <div id="description">{$blog->getAbout()}</div>
+ </div>
+ <div id="main">
+ <div id="content">
Modified: templates/branches/lifetype-1.2/unported/fblue/links.template
===================================================================
--- templates/branches/lifetype-1.2/unported/fblue/links.template 2007-02-25 13:36:32 UTC (rev 4874)
+++ templates/branches/lifetype-1.2/unported/fblue/links.template 2007-02-25 14:31:05 UTC (rev 4875)
@@ -1,73 +1,85 @@
-</DIV>
+</div>
<!-- begin sidebar -->
-<DIV id=sidebar>
-<DIV id=searchdiv>
-<form method="post" action="{$url->getIndexUrl()}"><LABEL for=s>Search this site:</LABEL>
-<input type="text" name="searchTerms" value="" size="20" />
-<input type="hidden" name="op" value="Search" />
-<input type="hidden" name="blogId" value="{$blog->getId()}"/>
-<input type="submit" name="Search" value="Go" />
-</form>
-</DIV>
+<div id="sidebar">
-<UL>
-
-
+<ul>
+
+{assign var=blogOwner value=$blog->getOwnerInfo()}
+{assign var=AboutMyself value=$blogOwner->getAboutMyself()}
+{if $blogOwner->hasPicture() && $AboutMyself}
<li>
{assign var=blogOwner value=$blog->getOwnerInfo()}
-{if $blogOwner->getAboutMyself()}
-<H2>About</H2>
-<P>{$blogOwner->getfullName()}</P>
-<P>{$blogOwner->getAboutMyself()}</P>
-
+<h2>{$locale->tr("about_myself")}</h2>
+{assign var=picture value=$blogOwner->getPicture()}
+<p><img id="UserPicture" src="{$picture->getPreviewLink()}" alt="{$blogOwner->getUsername()}" /></p>
+<p>{$blogOwner->getfullName()}</p>
+<p>{$AboutMyself}</p>
+</li>
{/if}
-</li>
+
+<li>
+<h2>{$locale->tr("search")}</h2>
+<form method="post" action="{$url->getIndexUrl()}">
+<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="{$locale->tr("search")}" />
+</form>
+</li>
-
-<LI>
-<H2>Around here</H2>
-<UL>
+<li>
+<h2>{$locale->tr("recently")}</h2>
+<ul>
{foreach from=$recentposts item=recentpost}
-<LI class=page_item><A title="{$recentpost->getText()|truncate:150:"..."|strip_tags|escape}" href="{$url->postLink($recentpost)}">{$recentpost->getTopic()}</a><br/></LI>
+<li class=page_item><A title="{$recentpost->getText()|truncate:150:"..."|strip_tags|escape}" href="{$url->postLink($recentpost)}">{$recentpost->getTopic()}</a><br/></li>
{/foreach}
-</UL>
+</ul>
+</li>
-<LI>
-<H2>Categories</H2>
-<UL>
+<li>
+<h2>{$locale->tr("categories")}</h2>
+<ul>
{foreach from=$articlecategories item=articleCategory}
-<LI><A href="{$url->categoryLink($articleCategory)}">{$articleCategory->getName()}</A> ({$articleCategory->getNumArticles()})</LI>
+<li><a href="{$url->categoryLink($articleCategory)}">{$articleCategory->getName()}</a> ({$articleCategory->getNumArticles()})</li>
{/foreach}
-</UL>
+</ul>
+</li>
-<LI>
-<H2>Navigate</H2>
-<UL>
-<LI><a title="{$locale->tr("main")}" href="{$url->blogLink()}">{$locale->tr("main")}</a>
-<LI><a title="{$locale->tr("archives")}" href="{$url->templatePage("archives")}">{$locale->tr("archives")}</a>
-<LI><a title="{$locale->tr("links")}" href="{$url->templatePage("bookmark")}">{$locale->tr("links")}</a>
-<LI><a title="{$locale->tr("summary")}" href="{$url->getUrl("/summary.php")}">{$locale->tr("summary")}</a>
-</UL>
-</LI>
+<li>
+<h2>{$locale->tr("menu")}</h2>
+<ul>
+<li><a title="{$locale->tr("main")}" href="{$url->blogLink()}">{$locale->tr("main")}</a>
+<li><a title="{$locale->tr("admin")}" href="{$url->getAdminUrl()}">{$locale->tr("admin")}</a></li>
+<li><a title="{$locale->tr("albums")}" href="{$url->albumLink()}">{$locale->tr("albums")}</a></li>
+<li><a title="{$locale->tr("archives")}" href="{$url->templatePage("archives")}">{$locale->tr("archives")|capitalize}</a>
+<li><a title="{$locale->tr("links")}" href="{$url->templatePage("bookmark")}">{$locale->tr("links")|capitalize}</a>
+</ul>
+</li>
+<li>
+<h2>{$locale->tr("syndicate")}</h2>
+<ul>
+<li><a title="RSS 0.90" href="{$url->rssLink("rss090")}">RSS 0.90</a></li>
+<li><a title="RSS 1.0" href="{$url->rssLink("rss10")}">RSS 1.0</a></li>
+<li><a title="RSS 2.0" href="{$url->rssLink("rss20")}">RSS 2.0</a></li>
+<li><a title="Atom" href="{$url->rssLink("rss20")}">Atom</a></li>
+</ul>
+</li>
+<li>
+<h2>Meta</h2>
+<ul>
+<li><a title="This page validates as XHTML 1.0 Transitional" href="http://validator.w3.org/check/referer">Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr></a> </li>
+<li><a href="http://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a> </li>
+<li><a title="Powered by LifeType, state-of-the-art semantic personal publishing platform." href="http://www.lifetype.net/">Powered by Lifetype</a></li>
+</ul>
+</li>
-<LI>
-<H2>Meta</H2>
-<UL>
-<LI><A title="{$locale->tr("admin")}" href="{$url->getAdminUrl()}">{$locale->tr("admin")}</a></LI>
-<LI><A title="{$locale->tr("albums")}" href="{$url->albumLink()}">{$locale->tr("albums")}</a></LI>
-<LI><A title="This page validates as XHTML 1.0 Transitional" href="http://validator.w3.org/check/referer">Valid <ABBR title="eXtensible HyperText Markup Language">XHTML</ABBR></A> </LI>
-<LI><A href="http://gmpg.org/xfn/"><ABBR title="XHTML Friends Network">XFN</ABBR></A> </LI>
-<LI><A title="Powered by LifeType, state-of-the-art semantic personal publishing platform." href="http://www.lifetype.net/">LifeType</A> </LI>
-</UL>
-</LI>
-
-</UL>
-</DIV>
-<!-- The main column ends --> </DIV>
\ No newline at end of file
+</ul>
+</div>
+<!-- The main column ends --> </div>
\ No newline at end of file
Modified: templates/branches/lifetype-1.2/unported/fblue/post.template
===================================================================
--- templates/branches/lifetype-1.2/unported/fblue/post.template 2007-02-25 13:36:32 UTC (rev 4874)
+++ templates/branches/lifetype-1.2/unported/fblue/post.template 2007-02-25 14:31:05 UTC (rev 4875)
@@ -1,19 +1,17 @@
<!-- {$url->postTrackbackLink($post)} -->
{assign var="postDate" value=$post->getDateObject()}
{assign var="postOwner" value=$post->getUserInfo()}
- <DIV class=entry>
-
-
- <H3 class=entrytitle><A href="{$url->postPermalink($post)}">{$post->getTopic()}</A></H3>
- <DIV class=entrybody>
- <P>{$post->getText()}</P>
- <DIV class=entrymeta>
- {$locale->formatDate($postDate,"%m/%d,%Y")} Posted to
- {foreach name=categories from=$post->getCategories() item=postcategory}
- <a href="{$url->categoryLink($postcategory)}">{$postcategory->getName()}</a>
- {if !$smarty.foreach.categories.last}, {/if}
- {/foreach}
- </DIV>
- </DIV>
- <P class=comments_link><A href="{$url->postPermalink($post)}#comments">Comments ({$post->getTotalComments()})</A> </P>
- </DIV><br>
\ No newline at end of file
+ <div class=entry>
+ <h3 class=entrytitle><a href="{$url->postPermalink($post)}">{$post->getTopic()}</a></h3>
+ <div class=entrybody>
+ <p>{$post->getText()}</p>
+ <div class=entrymeta>
+ {$locale->formatDate($postDate,"%m/%d,%Y")}
+ {foreach name=categories from=$post->getCategories() item=postcategory}
+ <a href="{$url->categoryLink($postcategory)}">{$postcategory->getName()}</a>
+ {if !$smarty.foreach.categories.last}, {/if}
+ {/foreach}
+ </div>
+ </div>
+ <p class=comments_link><a href="{$url->postPermalink($post)}#comments">{$locale->tr("comments")} ({$post->getTotalComments()})</a></p>
+ </div><br/>
\ No newline at end of file
Modified: templates/branches/lifetype-1.2/unported/fblue/postandcomments.template
===================================================================
--- templates/branches/lifetype-1.2/unported/fblue/postandcomments.template 2007-02-25 13:36:32 UTC (rev 4874)
+++ templates/branches/lifetype-1.2/unported/fblue/postandcomments.template 2007-02-25 14:31:05 UTC (rev 4875)
@@ -3,28 +3,27 @@
{include file="$blogtemplate/header.template"}
- <DIV class=entry>
+ <div class=entry>
<!-- {$url->postTrackbackLink($post)} -->
{assign var="postDate" value=$post->getDateObject()}
{assign var="postOwner" value=$post->getUserInfo()}
- <H3 class=entrytitle><A href="{$url->postPermalink($post)}">{$post->getTopic()}</A></H3>
- <DIV class=date>Published on {$locale->formatDate($postDate,"%m/%d,%Y")}</DIV>
- <DIV class=entrybody>
- <P>{$post->getText()}</P>
- <BR clear=all>
- </DIV>
- </DIV>
- <DIV class=feedback>
- <DIV class=meta>Posted by {$postOwner->getUsername()} at
- {$locale->formatDate($postDate,"%H:%M")}
- <A class=aposted href="{$url->postPermalink($post)}#comments">{$locale->tr("comment on this")} ({$post->getTotalComments()})</A> │
- <A class=aposted href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</A> │
+ <h3 class=entrytitle><a href="{$url->postPermalink($post)}">{$post->getTopic()}</a></h3>
+ <div class=date>{$locale->formatDate($postDate,"%m/%d/%Y %H:%M")}</div>
+ <div class=entrybody>
+ <p>{$post->getText()}</p>
+ <br clear="all"/>
+ </div>
+ </div>
+ <div class=feedback>
+ <div class=meta>{$locale->tr("posted_by")} {$postOwner->getUsername()}
+ <a class=aposted href="{$url->postPermalink($post)}#comments">{$locale->tr("comment on this")} ({$post->getNumComments()})</a> |
+ <a class=aposted href="{$url->postTrackbackStatsLink($post)}">{$locale->tr("trackbacks")} ({$post->getNumTrackbacks()})</a> |
{foreach name=categories from=$post->getCategories() item=postcategory}
<a class=aposted href="{$url->categoryLink($postcategory)}">{$postcategory->getName()}</a>
{if !$smarty.foreach.categories.last}, {/if}
{/foreach}<br>
{* Prevpost and nextpost use *}
- <a href="{$url->blogLink()}">Back to Home</a>
+ <a href="{$url->blogLink()}">{$locale->tr("back")}</a>
{assign var=nextpost value=$post->getNextArticle()}
{assign var=prevpost value=$post->getPrevArticle()}
{if $nextpost == true}
@@ -34,16 +33,16 @@
<a href="{$url->postPermalink($prevpost)}" title="Next post: {$prevpost->getTopic()}">{$locale->tr("next_post")}</a>
{/if}
{* End of article_index *}
- </DIV>
- </DIV>
+ </div>
+ </div>
<a name="comments"></a>
- <h2 id="commentsformheader">Leave a Reply</h2>
+ <h2 id="commentsformheader">{$locale->tr("reply")}</h2>
{if $blogsettings->getValue("comments_enabled") && $post->getCommentsEnabled()==1}
{include file="$misctemplatepath/commentform.template"}
{/if}
- <h2 id="comments">Comments </h2>
+ <h2 id="comments">{$locale->tr("comments")|capitalize}</h2>
<ol id="commentlist">
{assign var="counter" value=1}
@@ -63,10 +62,21 @@
{assign var=commentDate value=$comment->getDateObject()} {$locale->formatDate($commentDate, "%m/%d,%Y")} | <a href="#comment-{$comment->getId()}" title="">{$locale->formatDate($commentDate, "%H:%M")}</a>
</span>
</div>
- <div class='commenttext'>{$comment->getText()}</div>
- </LI>
+ <div class='commenttext'>
+ {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()}" /><br/>
+ {/if}
+ {/if}
+ {$comment->getText()}
+ </div>
+ </li>
{assign var="counter" value="`$counter+1`"}
{/foreach}
+ {pager style="links" anchor="#comments"}
</ol>
{include file="$blogtemplate/links.template"}
Modified: templates/branches/lifetype-1.2/unported/fblue/resource.template
===================================================================
--- templates/branches/lifetype-1.2/unported/fblue/resource.template 2007-02-25 13:36:32 UTC (rev 4874)
+++ templates/branches/lifetype-1.2/unported/fblue/resource.template 2007-02-25 14:31:05 UTC (rev 4875)
@@ -11,36 +11,35 @@
<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 IE]><LINK href="{$url->getTemplateFile("ie.css")}" type=text/css rel=stylesheet><![endif]-->
</head>
-<BODY class=log id=home>
-<DIV id=wrap>
- <DIV id=headtitle>
- <H1 id=title><A href="{$url->blogLink()}">{$blog->getBlog()}</A></H1>
- </DIV>
- <DIV id=subheader>
- <DIV id=description>{$blog->getAbout()}</DIV>
- </DIV>
- <DIV id=resource-main>
- <div id=resource>
+<body class="log" id="home">
+<div id="wrap">
+ <div id="headtitle">
+ <h1 id="title"><a href="{$url->blogLink()}">{$blog->getBlog()}</a></h1>
+ </div>
+ <div id="subheader">
+ <div id="description">{$blog->getAbout()}</div>
+ </div>
+ <div id="resource-main">
+ <div id="resource">
<!-- end header -->
{assign var=metadata value=$resource->getMetadataReader()}
{assign var=updated value=$resource->getTimestamp()}
- <H4>
- Filename: {$resource->getFileName()} ({$metadata->getRoundedSize()}) |
- {$locale->tr("created")} {$locale->formatDate($updated,"%d %B, %Y")} |
+ <h4>
+ {$resource->getFileName()} ({$metadata->getRoundedSize()}) |
+ {$locale->tr("created")|capitalize} {$locale->formatDate($updated,"%d %B, %Y")} |
<a href="{$url->resourceDownloadLink($resource)}">{$locale->tr("download")}</a>
- </H4>
- <H3>{$resource->getFileName()}</H3>
+ </h4>
<br/>
<p>{$resource->getDescription()}</p>
{if $resource->isImage()}
- <center><img src="{$url->resourceMediumSizePreviewLink($resource)}" alt="{$resource->getFileName()}, {$metadata->getRoundedSize()}" /></center>
+ <img src="{$url->resourceMediumSizePreviewLink($resource)}" alt="{$resource->getFileName()}, {$metadata->getRoundedSize()}" />
{else}
<a href="{$url->resourceDownloadLink($resource)}">
@@ -80,7 +79,7 @@
<a href="{$url->albumLink($album)}">{$locale->tr("back")}</a>
{if $nextresource}| <a href="{$url->resourceLink($nextresource)}">»</a>{/if}
</p>
+ </div>
-
{include file="$blogtemplate/footer.template"}
\ No newline at end of file
Deleted: templates/branches/lifetype-1.2/unported/fblue/samplerss.template
===================================================================
--- templates/branches/lifetype-1.2/unported/fblue/samplerss.template 2007-02-25 13:36:32 UTC (rev 4874)
+++ templates/branches/lifetype-1.2/unported/fblue/samplerss.template 2007-02-25 14:31:05 UTC (rev 4875)
@@ -1,18 +0,0 @@
-{include file="$blogtemplate/header.template"}
- <!-- Loop Start -->
- <h3 class="title">Sample template</h3>
- <p>
- {$message}
- </p>
- <p>
- And now, some RSS feeds from Slashdot using the RSS parser included in this package:<br/>
- {if $rss->parse("http://slashdot.org/slashdot.rdf")}
- {foreach from=$rss->getItems() item=rssItem}
- <a href="{$rssItem->getLink()}">{$rssItem->getTitle()}</a><br/>
- {/foreach}
- {/if}
- <hr/>
- <p>This is a sample of the plugin that gets the sinfest strip:</p>
- <a href="http://sinfest.net"><img src="{$sfstrip->SinfestStripUrl()}" alt="Sinfest strip" width="385"/></a>
-{include file="$blogtemplate/links.template"}
-{include file="$blogtemplate/footer.template"}
Modified: templates/branches/lifetype-1.2/unported/fblue/searchresults.template
===================================================================
--- templates/branches/lifetype-1.2/unported/fblue/searchresults.template 2007-02-25 13:36:32 UTC (rev 4874)
+++ templates/branches/lifetype-1.2/unported/fblue/searchresults.template 2007-02-25 14:31:05 UTC (rev 4875)
@@ -1,13 +1,10 @@
{include file="$blogtemplate/header.template"}
<!-- Loop Start -->
- <H2>{$locale->tr("search_results")}: {foreach from=$searchterms item=term}{$term} {/foreach}</h2>
+ <h2>{$locale->tr("search_results")}: {foreach from=$searchterms item=term}{$term} {/foreach}</h2>
{foreach from=$searchresults item=result}
- {assign var=article value=$result->getArticle()}
- {foreach name=categories from=$article->getCategories() item=postcategory}
- <a class=aside href="{$url->categoryLink($postcategory)}">{$postcategory->getName()}</a>
- {if !$smarty.foreach.categories.last}, {/if}
- {/foreach}
- <a href="{$url->postPermalink($article)}">{$article->getTopic()}</a><br/>
+ {assign var=article value=$result->getArticle()}
+ <a href="{$url->postPermalink($article)}">{$article->getTopic()}</a><br/>
{/foreach}
+ {pager style="links"}
{include file="$blogtemplate/links.template"}
{include file="$blogtemplate/footer.template"}
Modified: templates/branches/lifetype-1.2/unported/fblue/style.css
===================================================================
--- templates/branches/lifetype-1.2/unported/fblue/style.css 2007-02-25 13:36:32 UTC (rev 4874)
+++ templates/branches/lifetype-1.2/unported/fblue/style.css 2007-02-25 14:31:05 UTC (rev 4875)
@@ -16,6 +16,7 @@
#resource {
background-color:white;
+ padding: 25px;
}
body {
background-color: #606060;
@@ -159,6 +160,7 @@
}
h1,h2,h3,h4 {
font-family:"Lucida Grande", "Lucida Sans Unicode", Verdana, Tahoma, Arial, sans-seriff;
+ text-transform: capitalize;
}
h2 {
font-size: 1.8em;
@@ -422,10 +424,44 @@
margin: 0px;
padding: 0px;
}
-label {
- font-family: Verdana, Arial, Helvetica, sans-serif;
- font-size: 11px;
- font-weight: bold;
- color: #ffffff;
+
+#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