From bde82402bf48230887b5fba180fc0498b2de64b1 Mon Sep 17 00:00:00 2001 From: Franck Allimant Date: Wed, 16 Apr 2014 23:06:13 +0200 Subject: [PATCH] Factorized the module tab code. --- .../default/includes/module-tab-content.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 templates/backOffice/default/includes/module-tab-content.html diff --git a/templates/backOffice/default/includes/module-tab-content.html b/templates/backOffice/default/includes/module-tab-content.html new file mode 100644 index 000000000..f5d11d0be --- /dev/null +++ b/templates/backOffice/default/includes/module-tab-content.html @@ -0,0 +1,15 @@ +{capture name="module_include"} + {module_include location=$location countvar='module_count'} +{/capture} + +{if trim($smarty.capture.module_include) == ''} +
+ +
+

+

{intl l="There is currently no active module here."}

+
+ +{else} + x="{$smarty.capture.module_include nofilter}" +{/if} \ No newline at end of file