From: <var...@us...> - 2015-04-01 13:31:32
|
Revision: 9635 http://sourceforge.net/p/phpwiki/code/9635 Author: vargenau Date: 2015-04-01 13:31:30 +0000 (Wed, 01 Apr 2015) Log Message: ----------- No parameter for calendarInit Modified Paths: -------------- trunk/lib/WikiTheme.php trunk/themes/Sidebar/themeinfo.php trunk/themes/blog/themeinfo.php Modified: trunk/lib/WikiTheme.php =================================================================== --- trunk/lib/WikiTheme.php 2015-04-01 08:04:48 UTC (rev 9634) +++ trunk/lib/WikiTheme.php 2015-04-01 13:31:30 UTC (rev 9635) @@ -1629,7 +1629,7 @@ return $UserCalPageTitle; } - function calendarInit($force = false) + function calendarInit() { /** * @var WikiRequest $request @@ -1638,7 +1638,7 @@ $dbi = $request->getDbh(); // display flat calender dhtml in the sidebar - if ($force or $dbi->isWikiPage($this->calendarBase())) { + if ($dbi->isWikiPage($this->calendarBase())) { $jslang = @$GLOBALS['LANG']; $this->addMoreHeaders ( Modified: trunk/themes/Sidebar/themeinfo.php =================================================================== --- trunk/themes/Sidebar/themeinfo.php 2015-04-01 08:04:48 UTC (rev 9634) +++ trunk/themes/Sidebar/themeinfo.php 2015-04-01 13:31:30 UTC (rev 9635) @@ -11,7 +11,6 @@ * which can be used as parent class for all sidebar themes. See MonoBook and blog. * It is now an extension of the MonoBook theme. * - * This uses the dynamic jscalendar, which doesn't need extra requests per month/year change. * This is a complete rewrite and not related to the old Sidebar theme. * It is derived from MonoBook, includes the calendar and can derive from wikilens. * Modified: trunk/themes/blog/themeinfo.php =================================================================== --- trunk/themes/blog/themeinfo.php 2015-04-01 08:04:48 UTC (rev 9634) +++ trunk/themes/blog/themeinfo.php 2015-04-01 13:31:30 UTC (rev 9635) @@ -39,7 +39,7 @@ function __construct($theme_name = 'blog') { $this->WikiTheme($theme_name); - $this->calendarInit(true); + $this->calendarInit(); } /* overload to load from Sidebar */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |