Changeset 869 for trunk/category.php


Ignore:
Timestamp:
Sep 19, 2005, 12:29:17 AM (19 years ago)
Author:
plg
Message:
  • bug 111 fixed: "Can't add virtual category when cookie disabled". Correction reported from branch 1.4.
  • bug 109 fixed : "disabled "best rated" menu item when rating is not enabled". Correction reported from branch 1.4.
  • bug 95 fixed : "default maxwidth and maxheight not registered". Correction reported from branch 1.4.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/category.php

    r858 r869  
    215215    ));
    216216// best rated
    217 $template->assign_block_vars(
    218   'special_cat',
    219   array(
    220     'URL' => add_session_id(PHPWG_ROOT_PATH.'category.php?cat=best_rated'),
    221     'TITLE' => $lang['best_rated_cat_hint'],
    222     'NAME' => $lang['best_rated_cat']
    223     ));
     217if ($conf['rate'])
     218{
     219  $template->assign_block_vars(
     220    'special_cat',
     221    array(
     222      'URL' => add_session_id(PHPWG_ROOT_PATH.'category.php?cat=best_rated'),
     223      'TITLE' => $lang['best_rated_cat_hint'],
     224      'NAME' => $lang['best_rated_cat']
     225      )
     226    );
     227}
    224228// random
    225229$template->assign_block_vars(
Note: See TracChangeset for help on using the changeset viewer.