';
}
}
diff --git a/bl-plugins/static-pages/languages/en.json b/bl-plugins/static-pages/languages/en.json
new file mode 100644
index 00000000..74e0663c
--- /dev/null
+++ b/bl-plugins/static-pages/languages/en.json
@@ -0,0 +1,9 @@
+{
+ "plugin-data":
+ {
+ "name": "Static Pages",
+ "description": "Create your own navigation menu with static pages."
+ },
+ "home-link": "Home link",
+ "show-the-home-link-on-the-sidebar": "Show the home link on the sidebar."
+}
\ No newline at end of file
diff --git a/bl-plugins/static-pages/metadata.json b/bl-plugins/static-pages/metadata.json
new file mode 100644
index 00000000..6cad204f
--- /dev/null
+++ b/bl-plugins/static-pages/metadata.json
@@ -0,0 +1,10 @@
+{
+ "author": "Bludit",
+ "email": "",
+ "website": "https://plugins.bludit.com",
+ "version": "2.3",
+ "releaseDate": "2018-03-07",
+ "license": "MIT",
+ "compatible": "2.3",
+ "notes": ""
+}
\ No newline at end of file
diff --git a/bl-plugins/static-pages/plugin.php b/bl-plugins/static-pages/plugin.php
new file mode 100644
index 00000000..709f04b8
--- /dev/null
+++ b/bl-plugins/static-pages/plugin.php
@@ -0,0 +1,79 @@
+dbFields = array(
+ 'label'=>'Static Pages',
+ 'homeLink'=>true
+ );
+ }
+
+ // Method called on the settings of the plugin on the admin area
+ public function form()
+ {
+ global $Language;
+
+ $html = '
';
+ $html .= '';
+ $html .= '';
+ $html .= ''.$Language->get('This title is almost always used in the sidebar of the site').'';
+ $html .= '
';
+
+ $html .= '
';
+ $html .= '';
+ $html .= '';
+ $html .= '
';
+
+ return $html;
+ }
+
+ // Method called on the sidebar of the website
+ public function siteSidebar()
+ {
+ global $Language;
+ global $Url;
+ global $Site;
+ global $dbPages;
+
+ // HTML for sidebar
+ $html = '
';
+
+ // Print the label if not empty
+ $label = $this->getValue('label');
+ if (!empty($label)) {
+ $html .= '
'.$label.'
';
+ }
+
+ $html .= '
';
+ $html .= '
';
+
+ // Show Home page link
+ if ($this->getValue('homeLink')) {
+ $html .= '