[pLog-svn] r2278 - plugins/trunk/mobile/templates/html-light

oscar at devel.plogworld.net oscar at devel.plogworld.net
Wed Jun 29 10:24:00 GMT 2005


Author: oscar
Date: 2005-06-29 10:24:00 +0000 (Wed, 29 Jun 2005)
New Revision: 2278

Modified:
   plugins/trunk/mobile/templates/html-light/post.template
Log:
fixed issue 609 (http://bugs.plogworld.net/view.php?id=609) -- I haven't
got adsl access at home yet, could anybody upload this plugin to sf.net
as well some other new plugins such as the 'sitemap' plugin? (I haven't
got ftp access from my office either :P)


Modified: plugins/trunk/mobile/templates/html-light/post.template
===================================================================
--- plugins/trunk/mobile/templates/html-light/post.template	2005-06-29 08:19:43 UTC (rev 2277)
+++ plugins/trunk/mobile/templates/html-light/post.template	2005-06-29 10:24:00 UTC (rev 2278)
@@ -6,7 +6,15 @@
   <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/%m/%Y %H:%M")}</B></FONT><BR>
  </TD></TR>
- <TR><TD WIDTH="100%" VALIGN="TOP"><FONT FACE="Arial" SIZE=2 COLOR="#000000">{if $postIntroOnly}{$post->getIntroText()}{else}{$post->getText()}{/if}</TD></TR>
+ <TR><TD WIDTH="100%" VALIGN="TOP"><FONT FACE="Arial" SIZE=2 COLOR="#000000">
+   {if $postIntroOnly}
+    {$post->getIntroText()}
+    {if $post->hasExtendedText()}
+     &nbsp;<a href="{$murl->postPermalink($post)}">{$locale->tr("read_more")}</a>
+    {/if}
+   {else}
+    {$post->getText()}
+  {/if}</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