aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2012-04-03 18:18:26 +0000
committerrvelices <rv-github@modusoptimus.com>2012-04-03 18:18:26 +0000
commit5a05371627321ac2ac79815c5acde85b1369ae44 (patch)
treeabb253b5b01bfe604b1f3acfb3172838e6dde65a /include
parent7f9c121049211feb1019796cfee6084fa7a6fdd0 (diff)
- 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
Diffstat (limited to 'include')
-rw-r--r--include/section_init.inc.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/section_init.inc.php b/include/section_init.inc.php
index 954561a2f..2bfb1e9b5 100644
--- a/include/section_init.inc.php
+++ b/include/section_init.inc.php
@@ -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();
}