- 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.


git-svn-id: http://piwigo.org/svn/trunk@869 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall
2005-09-18 22:29:17 +00:00
parent b1c5e25b5e
commit 541c302c40
4 changed files with 42 additions and 9 deletions
+11 -7
View File
@@ -214,13 +214,17 @@ $template->assign_block_vars(
'NAME' => $lang['most_visited_cat']
));
// 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']
));
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']
)
);
}
// random
$template->assign_block_vars(
'special_cat',