[pLog-svn] r2160 - plugins/trunk/mobile/templates/html-nokia

oscar at devel.plogworld.net oscar at devel.plogworld.net
Sat Jun 4 16:10:42 GMT 2005


Author: oscar
Date: 2005-06-04 16:10:42 +0000 (Sat, 04 Jun 2005)
New Revision: 2160

Modified:
   plugins/trunk/mobile/templates/html-nokia/header.template
   plugins/trunk/mobile/templates/html-nokia/pager.template
   plugins/trunk/mobile/templates/html-nokia/post.template
Log:
improved version of the light html templates


Modified: plugins/trunk/mobile/templates/html-nokia/header.template
===================================================================
--- plugins/trunk/mobile/templates/html-nokia/header.template	2005-06-03 13:21:02 UTC (rev 2159)
+++ plugins/trunk/mobile/templates/html-nokia/header.template	2005-06-04 16:10:42 UTC (rev 2160)
@@ -2,4 +2,8 @@
 <HEAD>
  <TITLE>{$blog->getBlog()}</TITLE>
 </HEAD> 
-<BODY BGCOLOR="#C8CFC8" TEXT="#000000" LINK="#669900" VLINK="#669900" TOPMARGIN="0" MARGINHEIGHT="0" MARGINWIDTH="0" LEFTMARGIN="0" RIGHTMARGIN="0">
\ No newline at end of file
+<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#004CA1" VLINK="#669900" TOPMARGIN="0" MARGINHEIGHT="0" MARGINWIDTH="0" LEFTMARGIN="0" RIGHTMARGIN="0">
+<TABLE WIDTH="100%" CELLSPACING=0 CELPADDING=0 BORDER=0>
+ <TR BGCOLOR="#004CA1"><TD><FONT FACE="Arial" SIZE=3 COLOR="#FFFFFF">{$blog->getBlog()}</FONT></TD></TR>
+ <TR><TD BGCOLOR="#002f64"><FONT FACE="Arial" SIZE=1 COLOR="#FFFFFF">{$blog->getABOUT()}</FONT></TD></TR>
+</TABLE>
\ No newline at end of file

Modified: plugins/trunk/mobile/templates/html-nokia/pager.template
===================================================================
--- plugins/trunk/mobile/templates/html-nokia/pager.template	2005-06-03 13:21:02 UTC (rev 2159)
+++ plugins/trunk/mobile/templates/html-nokia/pager.template	2005-06-04 16:10:42 UTC (rev 2160)
@@ -1,7 +1,5 @@
-<CENTER><TABLE CELLPADDING=1 CELLSPACING=0 BORDER=1 BORDERCOLOR="#C0C0C0" WIDTH="100%">
-<TR>
-<TD bgcolor="#DDDDDD"><center><B><FONT SIZE=2 FACE="Arial">
-
+<TABLE CELLPADDING=1 CELLSPACING=0 BORDER=0 WIDTH="100%">
+<TR><TD><B><FONT SIZE=2 FACE="Arial">
 	{if !$pager->isFirstPage() && !$pager->isEmpty()}
 	   <A HREF="{$pager->getPrevPageLink()}">&laquo;</a>&nbsp;</A>
 	{/if}	
@@ -14,8 +12,6 @@
 	{/foreach}
 	{if !$pager->isLastPage() && !$pager->isEmpty()}
 	    <A HREF="{$pager->getNextPageLink()}">&raquo;</A>&nbsp;
-	{/if}
-	
-</FONT></B></center></TD></TR>
-</TABLE></center>
+	{/if}	
+</FONT></B></TD></TR></TABLE>
 

Modified: plugins/trunk/mobile/templates/html-nokia/post.template
===================================================================
--- plugins/trunk/mobile/templates/html-nokia/post.template	2005-06-03 13:21:02 UTC (rev 2159)
+++ plugins/trunk/mobile/templates/html-nokia/post.template	2005-06-04 16:10:42 UTC (rev 2160)
@@ -1,5 +1,12 @@
-<TABLE WIDTH="100%" CELLPADDING="1" CELLSPACING="0" BORDER=1 BGCOLOR="#FFFFFF" BORDERCOLOR="#C0C0C0">
- <tr><td width="100%" BGCOLOR="#CCCCCC"><FONT FACE="Arial" SIZE=2  color="#990000"><B><A HREF="{$murl->postPermalink($post)}">{$post->getTopic()}</a></b></font></td></tr>
- <TR><TD WIDTH="100%" BGCOLOR="#FFFFFF" VALIGN="TOP"><FONT FACE="Arial" SIZE=2 color="#000000">{$post->getIntroText()}</td></tr>
- <TR><TD WIDTH="100%" HEIGHT=18 ALIGN="CENTER" BGCOLOR="#EFEDED"><A HREF="{$murl->postPermalink($post)}" class="non"><FONT FACE="Arial" SIZE=1><A HREF="{$murl->postPermalink($post)}">{$post->getTotalComments()}</FONT> <IMG SRC="{$url->getUrl("/imgs/face.gif")}" ALT="Comments" WIDTH=8 HEIGHT=10></A></TD></TR>
+{assign var=postOwner value=$post->getUserInfo()}
+{assign var=postDate value=$post->getDateObject()}
+<BR>
+<TABLE WIDTH="100%" CELLPADDING=0 CELLSPACING="0" BORDER=0 BGCOLOR="#FFFFFF">
+ <TR><TD WIDTH="100%">
+  <FONT FACE="Arial" SIZE=2 COLOR="#B8B2AC"><B>{$post->getTopic()}</B></FONT><BR>
+  <FONT FACE="Arial" SIZE=2><B>{$postOwner->getUsername()} | {$locale->formatDate($postDate,"%d %B, %Y %H:%M")}</B></FONT><BR>
+ </TD></TR>
+ <TR><TD WIDTH="100%" VALIGN="TOP"><FONT FACE="Arial" SIZE=2 COLOR="#000000">{$post->getIntroText()}<BR></TD></TR>
+ <TR><TD WIDTH="100%"><FONT FACE="Arial" SIZE=1>
+<A HREF="{$murl->postPermalink($post)}" class="non">{$locale->tr("comment on this")} ({$post->getTotalComments()})</FONT></A></TD></TR>
 </TABLE>
\ No newline at end of file




More information about the pLog-svn mailing list