FIX: fix change freq not showing up in form. (Fixes: #27)

This commit is contained in:
Will Rossiter 2012-11-07 19:47:18 +13:00
parent 706c06e8a0
commit f41fd87624
2 changed files with 2 additions and 2 deletions

View File

@ -105,7 +105,7 @@ class GoogleSitemapSiteTreeDecorator extends DataExtension {
*
* @see http://support.google.com/webmasters/bin/answer.py?hl=en&answer=183668&topic=8476&ctx=topic
*
* @return void
* @return SS_Datetime
*/
public function getChangeFrequency() {
$date = date('Y-m-d H:i:s');

View File

@ -5,7 +5,7 @@
<url>
<loc>$AbsoluteLink</loc>
<% if $LastEdited %><lastmod>$LastEdited.Format(c)</lastmod><% end_if %>
<% if $ChangeFreq %><changefreq>$ChangeFreq</changefreq><% end_if %>
<% if $ChangeFrequency %><changefreq>$ChangeFrequency</changefreq><% end_if %>
<% if $Priority %><priority>$Priority</priority><% end_if %>
</url>
<% end_loop %>