From: <ny...@us...> - 2007-05-23 17:50:45
|
Update of /cvsroot/tikiwiki/tiki/templates In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv14535/templates Modified Files: blog-heading.tpl tiki-list_blogs.tpl Log Message: [FIX] blogs: use 'Last post' instead of 'Last Modified' to label the date used in blogs listing, since it is only updated when creating a new post and not when modifiyng an existing post (which seems to be the default behavior of other blogs). Index: blog-heading.tpl =================================================================== RCS file: /cvsroot/tikiwiki/tiki/templates/blog-heading.tpl,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- blog-heading.tpl 30 Nov 2006 12:06:51 -0000 1.4 +++ blog-heading.tpl 23 May 2007 17:50:40 -0000 1.5 @@ -2,7 +2,7 @@ <div class="blogdesc">{tr}Description:{/tr} {$description}</div> <div class="bloginfo"> {tr}Created by{/tr} {$creator|userlink}{tr} on {/tr}{$created|tiki_short_datetime}<br /> -{tr}Last modified{/tr} {$lastModif|tiki_short_datetime}<br /> +{tr}Last post{/tr} {$lastModif|tiki_short_datetime}<br /> <span style="float:right;"> {if $tiki_p_blog_post eq "y"} {if ($user and $creator eq $user) or $tiki_p_blog_admin eq "y" or $public eq "y"} Index: tiki-list_blogs.tpl =================================================================== RCS file: /cvsroot/tikiwiki/tiki/templates/tiki-list_blogs.tpl,v retrieving revision 1.38 retrieving revision 1.39 diff -u -d -r1.38 -r1.39 --- tiki-list_blogs.tpl 12 Jan 2007 17:05:43 -0000 1.38 +++ tiki-list_blogs.tpl 23 May 2007 17:50:40 -0000 1.39 @@ -31,7 +31,7 @@ <td class="heading"><a class="link" href="tiki-list_blogs.php?offset={$offset}&sort_mode={if $sort_mode eq 'created_desc'}created_asc{else}created_desc{/if}">{tr}Created{/tr}</a></td> {/if} {if $blog_list_lastmodif eq 'y'} - <td class="heading"><a class="link" href="tiki-list_blogs.php?offset={$offset}&sort_mode={if $sort_mode eq 'lastModif_desc'}lastModif_asc{else}lastModif_desc{/if}">{tr}Last Modified{/tr}</a></td> + <td class="heading"><a class="link" href="tiki-list_blogs.php?offset={$offset}&sort_mode={if $sort_mode eq 'lastModif_desc'}lastModif_asc{else}lastModif_desc{/if}">{tr}Last post{/tr}</a></td> {/if} {if $blog_list_user ne 'disabled'} <td class="heading"><a class="link" href="tiki-list_blogs.php?offset={$offset}&sort_mode={if $sort_mode eq 'user_desc'}user_asc{else}user_desc{/if}">{tr}User{/tr}</a></td> |