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

oscar at devel.plogworld.net oscar at devel.plogworld.net
Thu Jun 9 13:34:52 GMT 2005


Author: oscar
Date: 2005-06-09 13:34:52 +0000 (Thu, 09 Jun 2005)
New Revision: 2185

Modified:
   plugins/trunk/mobile/templates/html-light/main.template
   plugins/trunk/mobile/templates/html-light/post.template
Log:
fixed an issue where the whole post text wasn't being shown at all.


Modified: plugins/trunk/mobile/templates/html-light/main.template
===================================================================
--- plugins/trunk/mobile/templates/html-light/main.template	2005-06-09 07:29:37 UTC (rev 2184)
+++ plugins/trunk/mobile/templates/html-light/main.template	2005-06-09 13:34:52 UTC (rev 2185)
@@ -1,6 +1,6 @@
 {include file="html-light/header.template"}
 {foreach from=$posts item=post}
-{include file="html-light/post.template"}
+{include file="html-light/post.template" postIntroOnly=1}
 {/foreach}
 {include file="html-light/pager.template"}
 {include file="html-light/footer.template"}
\ No newline at end of file

Modified: plugins/trunk/mobile/templates/html-light/post.template
===================================================================
--- plugins/trunk/mobile/templates/html-light/post.template	2005-06-09 07:29:37 UTC (rev 2184)
+++ plugins/trunk/mobile/templates/html-light/post.template	2005-06-09 13:34:52 UTC (rev 2185)
@@ -6,7 +6,7 @@
   <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">{$post->getIntroText()}</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%"><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