mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
- 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:
+11
-7
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user