|
From: Eloi G. <ada...@us...> - 2008-09-12 07:12:31
|
Update of /cvsroot/phpwebsite-comm/modules/phpwsbb/class In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7644/class Modified Files: Forum.php BB_Lists.php Topic.php Log Message: I think the initial commit was of an older version... This fixes stuff. Index: BB_Lists.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/class/BB_Lists.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** BB_Lists.php 23 Aug 2008 04:19:14 -0000 1.1 --- BB_Lists.php 12 Sep 2008 07:12:03 -0000 1.2 *************** *** 247,251 **** $tpl['VIEWS_LBL'] = dgettext('phpwsbb', 'Views'); $tpl['TOTAL_VIEWS'] = $data['times_viewed']; ! //test($tpl); return $tpl; } --- 247,251 ---- $tpl['VIEWS_LBL'] = dgettext('phpwsbb', 'Views'); $tpl['TOTAL_VIEWS'] = $data['times_viewed']; ! return $tpl; } Index: Topic.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/class/Topic.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Topic.php 23 Aug 2008 04:19:14 -0000 1.1 --- Topic.php 12 Sep 2008 07:12:03 -0000 1.2 *************** *** 306,311 **** /* Construct editform tags */ ! $form = new PHPWS_Form; ! $form->addHidden('module', 'phpwsbb'); if ($this->id) $form->addHidden('topic', $this->id); --- 306,311 ---- /* Construct editform tags */ ! $form = new PHPWS_Form; ! $form->setAction('index.php?module=phpwsbb'); if ($this->id) $form->addHidden('topic', $this->id); Index: Forum.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/phpwsbb/class/Forum.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Forum.php 23 Aug 2008 04:19:14 -0000 1.1 --- Forum.php 12 Sep 2008 07:12:03 -0000 1.2 *************** *** 262,266 **** $pager->setLink($link); ! $pager->addPageTags($this->getStatusTags()); $content = $pager->get(); if (PHPWS_Error::logIfError($content)) --- 262,266 ---- $pager->setLink($link); ! $pager->addPageTags($this->_get_tags() + $this->getStatusTags()); $content = $pager->get(); if (PHPWS_Error::logIfError($content)) |