From 69facb09b458d5259b60d24e7314d784fd83ee6b Mon Sep 17 00:00:00 2001 From: Diego Najar Date: Fri, 13 Oct 2017 23:40:23 +0200 Subject: [PATCH] Sitemap settings --- bl-plugins/sitemap/languages/en.json | 2 +- bl-plugins/sitemap/plugin.php | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/bl-plugins/sitemap/languages/en.json b/bl-plugins/sitemap/languages/en.json index cbba8ef7..9be89f24 100644 --- a/bl-plugins/sitemap/languages/en.json +++ b/bl-plugins/sitemap/languages/en.json @@ -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." } } diff --git a/bl-plugins/sitemap/plugin.php b/bl-plugins/sitemap/plugin.php index 45c5448d..784a62b0 100644 --- a/bl-plugins/sitemap/plugin.php +++ b/bl-plugins/sitemap/plugin.php @@ -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 = '
'; + $html .= ''; + $html .= ''.Theme::sitemapUrl().''; + $html .= '
'; + + return $html; + } + private function createXML() { global $Site;