FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » FUDforum 3.0+ » I have change the amount of Topic from 40 to 25
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: I have change the amount of Topic from 40 to 25 [message #13967 is a reply to message #13962] Sun, 02 November 2003 01:03 Go to previous messageGo to previous message
aircool5(at)bellsouth(dot)net is currently offline  aircool5(at)bellsouth(dot)net   United States
Messages: 132
Registered: March 2003
Karma:
Senior Member
I do not see that bug ,this is part of that file where I beleve is that error you mantion , if you see is out side the():

<?php
/************************************************************************** *
* copyright : (C) 2001,2002 Advanced Internet Designs Inc.
* email : forum(at)prohost(dot)org
*
* $Id: draw_pager.inc.t,v 1.5 2003/06/02 18:06:51 hackie Exp $
*************************************************************************** *

*************************************************************************** *
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
*************************************************************************** /

if ($GLOBALS['USE_PATH_INFO'] == 'N') {

function pager_replace(&$str, $s, $c)
{
$str = str_replace('%s', $s, $str);
$str = str_replace('%c', $c, $str);
}

function tmpl_create_pager($start, $count, $total, $arg, $suf='', $append=1, $js_pager=FALSE)
{
if (!$count) {
$count = $GLOBALS['POSTS_PER_PAGE'];
}
if ($total <= $count) {
return;
}

$cur_pg = ceil($start / $count);
$ttl_pg = ceil($total / $count);

$page_pager_data = '';

if (($page_start = $start - $count) > -1) {
if ($append) {
$page_first_url = $arg.'&amp;start=0'.$suf;
$page_prev_url = $arg.'&amp;start='.$page_start.$suf;
} else {
$page_first_url = $page_prev_url = $arg;
pager_replace($page_first_url, 0, $count);
pager_replace($page_prev_url, $page_start, $count);
}
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: hardcoded colors
Next Topic: If I upgrade I loos the custom config.
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Sep 17 03:22:05 GMT 2024

Total time taken to generate the page: 0.05249 seconds