aboutsummaryrefslogtreecommitdiffstats
path: root/public/catalog/controller/extension/module/html.php
diff options
context:
space:
mode:
Diffstat (limited to 'public/catalog/controller/extension/module/html.php')
-rw-r--r--public/catalog/controller/extension/module/html.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/public/catalog/controller/extension/module/html.php b/public/catalog/controller/extension/module/html.php
new file mode 100644
index 0000000..bf32060
--- /dev/null
+++ b/public/catalog/controller/extension/module/html.php
@@ -0,0 +1,11 @@
+<?php
+class ControllerExtensionModuleHTML extends Controller {
+ public function index($setting) {
+ if (isset($setting['module_description'][$this->config->get('config_language_id')])) {
+ $data['heading_title'] = html_entity_decode($setting['module_description'][$this->config->get('config_language_id')]['title'], ENT_QUOTES, 'UTF-8');
+ $data['html'] = html_entity_decode($setting['module_description'][$this->config->get('config_language_id')]['description'], ENT_QUOTES, 'UTF-8');
+
+ return $this->load->view('extension/module/html', $data);
+ }
+ }
+} \ No newline at end of file