Sitemap settings
This commit is contained in:
parent
0ebee8526a
commit
69facb09b4
@ -2,6 +2,6 @@
|
||||
"plugin-data":
|
||||
{
|
||||
"name": "Sitemap",
|
||||
"description": "This plugin generates a Sitemap.xml of your site."
|
||||
"description": "This plugin generates a sitemap.xml of your site."
|
||||
}
|
||||
}
|
||||
|
@ -2,6 +2,19 @@
|
||||
|
||||
class pluginSitemap extends Plugin {
|
||||
|
||||
// Method called on the settings of the plugin on the admin area
|
||||
public function form()
|
||||
{
|
||||
global $Language;
|
||||
|
||||
$html = '<div>';
|
||||
$html .= '<label>'.$Language->get('Sitemap URL').'</label>';
|
||||
$html .= '<a href="'.Theme::sitemapUrl().'">'.Theme::sitemapUrl().'</a>';
|
||||
$html .= '</div>';
|
||||
|
||||
return $html;
|
||||
}
|
||||
|
||||
private function createXML()
|
||||
{
|
||||
global $Site;
|
||||
|
Loading…
Reference in New Issue
Block a user