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

oscar at devel.lifetype.net oscar at devel.lifetype.net
Fri Dec 29 14:56:32 GMT 2006


Author: oscar
Date: 2006-12-29 14:56:32 +0000 (Fri, 29 Dec 2006)
New Revision: 4451

Added:
   plog/trunk/templates/summary/nouser.gif
Modified:
   plog/trunk/templates/summary/blog.template
   plog/trunk/templates/summary/post.template
Log:
added a picture that is shown whenever the user does not have a user picture selected (by default it will be a mini LT logo)


Modified: plog/trunk/templates/summary/blog.template
===================================================================
--- plog/trunk/templates/summary/blog.template	2006-12-29 14:44:40 UTC (rev 4450)
+++ plog/trunk/templates/summary/blog.template	2006-12-29 14:56:32 UTC (rev 4451)
@@ -10,7 +10,7 @@
 	{assign var=picture value=$owner->getPicture()}
 	<div style="border:solid #cccccc 1px;width:58px;height:58px;background:url({$request->resourcePreviewLink($picture)}) no-repeat center" class="postgrav">&nbsp;</div>
     {else}
-        <img src="templates/summary/user.gif" class="postgrav" width="60" height="60" alt="{$owner->getUsername()|strip_tags}" />
+        <img src="templates/summary/nouser.gif" class="postgrav" width="60" height="60" alt="{$owner->getUsername()|strip_tags}" />
 	
     {/if} 
     <h3>

Added: plog/trunk/templates/summary/nouser.gif
===================================================================
(Binary files differ)


Property changes on: plog/trunk/templates/summary/nouser.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Modified: plog/trunk/templates/summary/post.template
===================================================================
--- plog/trunk/templates/summary/post.template	2006-12-29 14:44:40 UTC (rev 4450)
+++ plog/trunk/templates/summary/post.template	2006-12-29 14:56:32 UTC (rev 4451)
@@ -10,7 +10,7 @@
 	<div style="border:solid #cccccc 1px;width:58px;height:58px;background:url({$request->resourcePreviewLink($picture)}) no-repeat center" class="postgrav">&nbsp;</div>
 	<!--<img src="{$request->resourcePreviewLink($picture)}" class="postgrav" width="60" height="60" alt="{$postOwner->getUsername()|strip_tags}" />-->
     {else}
-        <img src="templates/summary/user.gif" class="postgrav" width="60" height="60" alt="{$postOwner->getUsername()|strip_tags}" />
+        <img src="templates/summary/nouser.gif" class="postgrav" width="60" height="60" alt="{$postOwner->getUsername()|strip_tags}" />
 	
     {/if}    
     <h3>



More information about the pLog-svn mailing list