From: <sam...@us...> - 2010-07-26 22:36:00
|
Revision: 28149 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=28149&view=rev Author: sampaioprimo Date: 2010-07-26 22:35:55 +0000 (Mon, 26 Jul 2010) Log Message: ----------- [ENH] display the date and author after the title Modified Paths: -------------- trunk/templates/tiki-view_blog_post.tpl Modified: trunk/templates/tiki-view_blog_post.tpl =================================================================== --- trunk/templates/tiki-view_blog_post.tpl 2010-07-26 22:21:33 UTC (rev 28148) +++ trunk/templates/tiki-view_blog_post.tpl 2010-07-26 22:35:55 UTC (rev 28149) @@ -13,23 +13,6 @@ <a title="{tr}Save to notepad{/tr}" href="tiki-view_blog_post.php?blogId={$smarty.request.blogId}&postId={$smarty.request.postId}&savenotepad=1">{icon _id='disk' alt='{tr}Save to notepad{/tr}'}</a> {/if} </div> - <div class="author_info"> - {if $blog_data.use_author eq 'y' || $blog_data.add_date eq 'y'} - {tr}Published {/tr} - {/if} - - {if $blog_data.use_author eq 'y'} - {tr}by{/tr} {$post_info.user|userlink} - {/if} - - {if $blog_data.add_date eq 'y'} - {$post_info.created|tiki_short_datetime} - {/if} - - {if $blog_data.show_avatar eq 'y'} - {$post_info.avatar} - {/if} - </div> </div> <div class="clearfix postbody-title"> {if $blog_data.use_title eq 'y'} @@ -37,7 +20,8 @@ <h2>{$post_info.title|escape}</h2> </div> {/if} - + + {if $prefs.feature_freetags eq 'y' and $tiki_p_view_freetags eq 'y'} {if $tags.data|@count >0} <div class="freetaglist"> @@ -50,6 +34,25 @@ {/if} {/if} </div> + + <div class="author_info"> + {if $blog_data.use_author eq 'y' || $blog_data.add_date eq 'y'} + {tr}Published {/tr} + {/if} + + {if $blog_data.use_author eq 'y'} + {tr}by{/tr} {$post_info.user|userlink} + {/if} + + {if $blog_data.add_date eq 'y'} + {$post_info.created|tiki_short_datetime} + {/if} + + {if $blog_data.show_avatar eq 'y'} + {$post_info.avatar} + {/if} + </div> + {$parsed_data} {if $pages > 1} <div align="center"> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |