mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-10 10:42:59 +02:00
- is_homepage not set for flat view/calendar modes
- added require jquery for some footer_script - removed unused/unnecesary css (hope I'm done for now) - if page[start] is greater than number of items than page not found (google+bing bots automatically detect patterns and increment start parameter) git-svn-id: http://piwigo.org/svn/trunk@13872 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -288,6 +288,7 @@ SELECT id
|
||||
}
|
||||
else
|
||||
{
|
||||
unset($page['is_homepage']);
|
||||
$where_sql = '1=1';
|
||||
}
|
||||
}
|
||||
@@ -545,6 +546,7 @@ SELECT DISTINCT(id)
|
||||
|
||||
if (isset($page['chronology_field']))
|
||||
{
|
||||
unset($page['is_homepage']);
|
||||
include_once( PHPWG_ROOT_PATH.'include/functions_calendar.inc.php' );
|
||||
initialize_calendar();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user