summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorGavin Atkinson <gavin@FreeBSD.org>2014-09-27 08:42:00 +0000
committerGavin Atkinson <gavin@FreeBSD.org>2014-09-27 08:42:00 +0000
commit162a5dc16d6c8feb02d48be5a2ad1cdd3d8fa82a (patch)
tree7a9e1f5cef21555720f9adb57ed96164d9be66ba /share
parent947305e263230aa08d07e4b9761607c2592e88cf (diff)
Switch to the recommended URL for the old Google Chart API
Note that this code uses the old API which is officially deprecated, however converting this to use the new Chart API will take some time. Obtained from: https://developers.google.com/chart/image/docs/making_charts Missed in: r45633
Notes
svn path=/head/; revision=45681
Diffstat (limited to 'share')
-rw-r--r--share/xml/templates.events.xsl2
-rw-r--r--share/xml/templates.pastevents.xsl2
2 files changed, 2 insertions, 2 deletions
diff --git a/share/xml/templates.events.xsl b/share/xml/templates.events.xsl
index 3d85ff391a..34b41093d4 100644
--- a/share/xml/templates.events.xsl
+++ b/share/xml/templates.events.xsl
@@ -59,7 +59,7 @@
enddate/day &gt;= date:day-in-month()))]"
use="location/country" />
- <xsl:variable name="charturl" select="'http://chart.apis.google.com/chart?cht=t&amp;chs=400x200&amp;chtm=world&amp;chco=ffffff,ffbe38,600000&amp;chf=bg,s,4D89F9'" />
+ <xsl:variable name="charturl" select="'https://chart.googleapis.com/chart?cht=t&amp;chs=400x200&amp;chtm=world&amp;chco=ffffff,ffbe38,600000&amp;chf=bg,s,4D89F9'" />
<xsl:variable name="title">&title;</xsl:variable>
diff --git a/share/xml/templates.pastevents.xsl b/share/xml/templates.pastevents.xsl
index 66e41bb30c..1bf97f6312 100644
--- a/share/xml/templates.pastevents.xsl
+++ b/share/xml/templates.pastevents.xsl
@@ -61,7 +61,7 @@
enddate/day &gt;= date:day-in-month()))]"
use="location/country" />
- <xsl:variable name="charturl" select="'http://chart.apis.google.com/chart?cht=t&amp;chs=400x200&amp;chtm=world&amp;chco=ffffff,ffbe38,600000&amp;chf=bg,s,4D89F9'" />
+ <xsl:variable name="charturl" select="'https://chart.googleapis.com/chart?cht=t&amp;chs=400x200&amp;chtm=world&amp;chco=ffffff,ffbe38,600000&amp;chf=bg,s,4D89F9'" />
<xsl:variable name="title">&title;</xsl:variable>