diff --git a/classes/Display/Smarty.php b/classes/Display/Smarty.php index 6641fd8..b72448e 100644 --- a/classes/Display/Smarty.php +++ b/classes/Display/Smarty.php @@ -95,9 +95,10 @@ class Display_Smarty extends Display_Common { if (!file_exists($template)) { $shared_template = PICKLES_PATH . 'common/templates/' . ($this->shared_module_filename == false ? $this->module_filename : $this->shared_module_filename) . '.tpl'; - + // $shared_template = PICKLES_PATH . 'common/templates/' . ($this->shared_filname == false ? $this->module_filename : $this->shared_filename) . '.tpl'; + // @todo SUPER HACKINSHIT - if ($this->module_filename == 'store/admin') { + if (strstr($this->module_filename, 'store/admin')) { $shared_template = PICKLES_PATH . 'common/templates/store/admin.tpl'; } diff --git a/common/templates/store/admin/discounts/edit.tpl b/common/templates/store/admin/discounts/edit.tpl index d00d787..be88f48 100644 --- a/common/templates/store/admin/discounts/edit.tpl +++ b/common/templates/store/admin/discounts/edit.tpl @@ -95,6 +95,9 @@ to {html_select_date prefix='valid_to_'} +