mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 01:03:31 +02:00
fix: php 5 errors and warnings
improve: put back update remote site from local listing.xml functionality (allow_url_fopen is false on several ISPs) git-svn-id: http://piwigo.org/svn/trunk@1107 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -5,9 +5,9 @@
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | branch : BSF (Best So Far)
|
||||
// | file : $RCSfile$
|
||||
// | last update : $Date: 2006-01-27 02:11:43 +0100 (ven, 27 jan 2006) $
|
||||
// | last modifier : $Author: rvelices $
|
||||
// | revision : $Revision: 1014 $
|
||||
// | last update : $Date$
|
||||
// | last modifier : $Author$
|
||||
// | revision : $Revision$
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | This program is free software; you can redistribute it and/or modify |
|
||||
// | it under the terms of the GNU General Public License as published by |
|
||||
@@ -181,7 +181,7 @@ class CalendarBase
|
||||
{
|
||||
$nav_bar .= '<span class="'.$class_prefix.'">';
|
||||
$url = duplicate_index_url(
|
||||
array('chronology_date'=>array_merge($date_components,$item)),
|
||||
array('chronology_date'=>array_merge($date_components,array($item))),
|
||||
array( 'start' )
|
||||
);
|
||||
$nav_bar .= '<a href="'.$url.'">';
|
||||
@@ -207,7 +207,7 @@ class CalendarBase
|
||||
{
|
||||
$nav_bar .= '<span class="'.$class_prefix.'">';
|
||||
$url = duplicate_index_url(
|
||||
array('chronology_date'=>array_merge($date_components,'any')),
|
||||
array('chronology_date'=>array_merge($date_components,array('any'))),
|
||||
array( 'start' )
|
||||
);
|
||||
$nav_bar .= '<a href="'.$url.'">';
|
||||
|
||||
Reference in New Issue
Block a user