diff --git a/modules/widget/tpl/widget_generate_code.include.html b/modules/widget/tpl/widget_generate_code.include.html index 5e7656d04..d59d6c9f5 100644 --- a/modules/widget/tpl/widget_generate_code.include.html +++ b/modules/widget/tpl/widget_generate_code.include.html @@ -37,15 +37,15 @@ -{@$suggestion_id = 0} +{@ $group = ''; $not_first = false; $suggestion_id = 0; } - {@$suggestion_id++} + {@ $suggestion_id++; }

{$var->group}

- {@$group = $var->group} + {@ $group = $var->group; } {@$not_first = true} @@ -53,21 +53,21 @@
- + - + - + {@$inits = array_keys($var->init_options)} @@ -76,7 +76,7 @@

@@ -84,7 +84,7 @@

diff --git a/modules/widget/tpl/widget_generate_code_in_page.html b/modules/widget/tpl/widget_generate_code_in_page.html index 9fc0f407c..d30ca6c56 100644 --- a/modules/widget/tpl/widget_generate_code_in_page.html +++ b/modules/widget/tpl/widget_generate_code_in_page.html @@ -21,7 +21,7 @@

{$widget_info->description} {$lang->about_widget_code_in_page}

-
+ diff --git a/modules/widget/tpl/widget_style_generate_code_in_page.html b/modules/widget/tpl/widget_style_generate_code_in_page.html index b7127a8e0..72c7fc132 100644 --- a/modules/widget/tpl/widget_style_generate_code_in_page.html +++ b/modules/widget/tpl/widget_style_generate_code_in_page.html @@ -28,9 +28,9 @@
- {$widgetStyle->title} + {$widgetStyle->title} - +

{$widgetstyle_info->title} ver {$widgetstyle_info->version}

@@ -52,45 +52,46 @@ {zdate($widgetstyle_info->date,'Y-m-d')}
- + + {@ $group = ''; $not_first = false; $suggestion_id = 0; } - {@$suggestion_id++} + {@ $suggestion_id++; }

{$var->group}

- {@$group = $var->group} + {@ $group = $var->group; } - {@$not_first = true} + {@ $not_first = true; }
- +
- - - + + +
- +
- + - + {$lang->cmd_select} {@$use_filebox = TRUE} -