Piwigo Bugtracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000109Piwigonavigationpublic2005.04.30 13:352005.09.18 22:14
Reporterdamien 
Assigned Toplg 
PrioritynormalSeveritytrivialReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version1.4.0 
Target VersionFixed in Version1.4.1 
Summary0000109: disabled "best rated" menu item when rating is not enabled
Descriptionhi,
the "best rated" menu item appear when rating is disabled.

Damien
Additional Informationjust replace in category.php:
        
// best rated
$template->assign_block_vars(
  'special_cat',
  array(
    'URL' => add_session_id(PHPWG_ROOT_PATH.'category.php?cat=best_rated'),
    'TITLE' => $lang['best_rated_cat_hint'],
    'NAME' => $lang['best_rated_cat']
));

by:

if ( $conf['rate'] )
{
  $template->assign_block_vars(
  'special_cat',
  array(
    'URL' => add_session_id(PHPWG_ROOT_PATH.'category.php?cat=best_rated'),
    'TITLE' => $lang['best_rated_cat_hint'],
    'NAME' => $lang['best_rated_cat']
    ));
}
TagsNo tags attached.
browserany
Database engine and version
PHP version
Web serverApache 1.3.x
Attached Files

- Relationships

-  Notes
(0000121)
plg (manager)
2005.04.30 15:22

Easy :-)
(0000125)
plg (manager)
2005.04.30 20:18
edited on: 2005.04.30 20:35

See http://cvs.gna.org/viewcvs/phpwebgallery/phpwebgallery/category.php?r1=1.67&r2=1.67.2.1 [^]

(0000245)
plg (manager)
2005.09.18 22:14

Correction reported on BSF

- Issue History
Date Modified Username Field Change
2005.04.30 13:35 damien New Issue
2005.04.30 13:35 damien browser => any
2005.04.30 13:35 damien Web server => Apache 1.3.x
2005.04.30 15:21 plg Assigned To => plg
2005.04.30 15:21 plg Status new => assigned
2005.04.30 15:21 plg Resolution open => fixed
2005.04.30 15:22 plg Status assigned => resolved
2005.04.30 15:22 plg Fixed in Version => 1.4.1
2005.04.30 15:22 plg Note Added: 0000121
2005.04.30 20:18 plg Note Added: 0000125
2005.04.30 20:35 plg Note Edited: 0000125
2005.09.18 22:14 plg Note Added: 0000245
2005.09.18 22:14 plg Status resolved => closed


Copyright © 2000 - 2015 MantisBT Team
Contact
Powered by Mantis Bugtracker