[grisbi-cvs] grisbi-web/newsportal/lib thread.inc.php,1.1,1.2

NIEL GĂ©rald gegeweb at users.sourceforge.net
Tue May 25 22:21:04 CEST 2010


Update of /cvsroot/grisbi/grisbi-web/newsportal/lib
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv14840/newsportal/lib

Modified Files:
	thread.inc.php 
Log Message:

site integration

Index: thread.inc.php
===================================================================
RCS file: /cvsroot/grisbi/grisbi-web/newsportal/lib/thread.inc.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- thread.inc.php	24 May 2010 15:03:50 -0000	1.1
+++ thread.inc.php	25 May 2010 20:21:02 -0000	1.2
@@ -26,7 +26,7 @@
  * Shows the little menu on the thread.php where you can select the
  * different pages with the articles on it
  */
-function thread_pageselect($group,$article_count,$first) {
+function thread_pageselect($group,$article_count,$first,$lang) {
   global $articles_per_page,$file_thread,$file_framethread,$name;
   global $text_thread,$thread_show;
   $pages=ceil($article_count / $articles_per_page);
@@ -38,9 +38,9 @@
         echo '<a class="np_pages_unselected" href="'.
              $file_thread.'?group='.$group.
              '&amp;first='.($i*$articles_per_page+1).'&amp;last='.
-             ($i+1)*$articles_per_page.'">';
+             ($i+1)*$articles_per_page.'&amp;lang='.$lang.'">';
       else
-        ; //echo '<span class="np_pages_selected">';
+        echo '<span class="np_pages_selected">';
       // echo ($i*$articles_per_page+1).'-';
       echo $i+1;
       if ($i == $pages-1) {
@@ -51,7 +51,7 @@
       if ($first != $i*$articles_per_page+1)
         echo '</a>';
       else
-        ; //echo '</span>';
+        echo '</span>';
       // echo '] ';
     }
 }



More information about the cvs mailing list