mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
bug fixed: create_navigation_bar take into account clean URL if requested.
deletion: argument link_class (HTML class of links) in function create_navigation_bar was removed, useless since branch 1.5. bug fixed: rate_items are now a configuration parameter (set in config file) modification: new functions library functions_rate.inc.php to reduce picture.php length. bug fixed: categories were never expanded in the menu since clean URLs. bug fixed: changing pictures sorting order in main page was always rederecting to root category. git-svn-id: http://piwigo.org/svn/trunk@1084 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -30,8 +30,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
$rate_items = array(0,1,2,3,4,5);
|
||||
|
||||
if ($conf['rate'])
|
||||
{
|
||||
$query = '
|
||||
@@ -109,7 +107,7 @@ SELECT COUNT(rate) AS count
|
||||
)
|
||||
);
|
||||
|
||||
foreach ($rate_items as $num => $mark)
|
||||
foreach ($conf['rate_items'] as $num => $mark)
|
||||
{
|
||||
$template->assign_block_vars(
|
||||
'rate.rate_option',
|
||||
|
||||
Reference in New Issue
Block a user