[pLog-svn] r3712 - plog/trunk/templates/summary

BalearWeb balearweb at balearweb.com
Mon Jul 10 12:53:08 GMT 2006


Thank you, mark. But what about the bloglist.template?

If you have a look at 
http://lifetype.mallorcaweb.info/summary.php?op=BlogList&page=15
you cans see a blog called Xarxa Pescadora which has several users
http://lifetype.mallorcaweb.info/summary.php?op=BlogProfile&blogId=52
and these users are not displayed on the bloglist.

Kind regards,

Elena


mark at devel.lifetype.net wrote:

>Author: mark
>Date: 2006-07-10 12:09:01 +0000 (Mon, 10 Jul 2006)
>New Revision: 3712
>
>Modified:
>   plog/trunk/templates/summary/blogprofile.template
>Log:
>Fixed bug http://bugs.lifetype.net/view.php?id=979.
>
>Modified: plog/trunk/templates/summary/blogprofile.template
>===================================================================
>--- plog/trunk/templates/summary/blogprofile.template	2006-07-10 10:50:18 UTC (rev 3711)
>+++ plog/trunk/templates/summary/blogprofile.template	2006-07-10 12:09:01 UTC (rev 3712)
>@@ -17,10 +17,11 @@
> 		 <p>
>             {$locale->tr("users")}
> 			{assign var=blogUsers value=$blog->getUsersInfo()}
>-			<a
>-            href="?op=UserProfile&amp;userId={$owner->getId()}">{$owner->getUsername()|strip_tags}</a>{if $blogUsers},{/if}
>+			<a href="?op=UserProfile&amp;userId={$owner->getId()}">{$owner->getUsername()|strip_tags}</a>
> 			{foreach from=$blogUsers item=blogUser name=blogUsersLoop}
>-			 <a href="?op=UserProfile&amp;userId={$blogUser->getId()}">{$blogUser->getUsername()}</a>{if !$smarty.foreach.blogUsersLoop.last}, {/if}			 
>+				{if $blogOwner->getId() != $blogUser->getId()}
>+					, <a href="?op=UserProfile&amp;userId={$blogUser->getId()}">{$blogUser->getUsername()|strip_tags}</a>
>+				{/if}
> 			{/foreach}			
> 		  </p>
> 		  <h4>&raquo; {$locale->tr("latest_posts")}</h4>
>
>_______________________________________________
>pLog-svn mailing list
>pLog-svn at devel.lifetype.net
>http://devel.lifetype.net/mailman/listinfo/plog-svn
>
>  
>



More information about the pLog-svn mailing list