From: <oh...@us...> - 2005-03-29 20:22:08
|
Update of /cvsroot/tikiwiki/tiki/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16651/templates Modified Files: Tag: BRANCH-1-8 tiki-view_articles.tpl Log Message: fixed wrong offset variable (backport from 1.9) Index: tiki-view_articles.tpl =================================================================== RCS file: /cvsroot/tikiwiki/tiki/templates/tiki-view_articles.tpl,v retrieving revision 1.33.2.9 retrieving revision 1.33.2.10 diff -u -d -r1.33.2.9 -r1.33.2.10 --- tiki-view_articles.tpl 20 Jan 2005 17:42:41 -0000 1.33.2.9 +++ tiki-view_articles.tpl 29 Mar 2005 20:21:43 -0000 1.33.2.10 @@ -120,7 +120,7 @@ {if $direct_pagination eq 'y'} <br /> {section loop=$cant_pages name=foo} -{assign var=selector_offset value=$smarty.section.foo.index|times:$maxRecords} +{assign var=selector_offset value=$smarty.section.foo.index|times:$maxArticles} <a class="artprevnext" href="tiki-view_articles.php?find={$find}&topic={$topic}&type={$type}&offset={$selector_offset}&sort_mode={$sort_mode}"> {$smarty.section.foo.index_next}</a> {/section} |