From 28e70787aba51eaa39bfc8aeb02b9a5779a3868b Mon Sep 17 00:00:00 2001 From: touffies Date: Wed, 11 Dec 2013 18:47:30 +0100 Subject: [PATCH] Define close_url --- .../backOffice/default/product-edit.html | 197 ++++++++---------- 1 file changed, 92 insertions(+), 105 deletions(-) diff --git a/templates/backOffice/default/product-edit.html b/templates/backOffice/default/product-edit.html index 97f06a537..e1974e7e2 100755 --- a/templates/backOffice/default/product-edit.html +++ b/templates/backOffice/default/product-edit.html @@ -6,132 +6,119 @@ {block name="page-title"}{intl l='Edit product'}{/block} {block name="main-content"} -
-
+
- {include file="includes/catalog-breadcrumb.html" editing_category="false" editing_product="true"} +
-
- {loop name="product_edit" type="product" visible="*" id=$product_id backend_context="1" lang=$edit_language_id} -
-
-
- {intl l='Edit product %title' title=$TITLE} -
+ {include file="includes/catalog-breadcrumb.html" editing_category="false" editing_product="true"} -
+
+ {loop name="product_edit" type="product" visible="*" id=$product_id backend_context="1" lang=$edit_language_id} - {if $HAS_PREVIOUS != 0} - - {else} - - {/if} + {* Define close url *} + {assign var='close_url' value="{url path='/admin/catalog' category_id=$DEFAULT_CATEGORY}"} - +
+
+
+ {intl l='Edit product %title' title=$TITLE} +
- {if $HAS_NEXT != 0} - - {else} - - {/if} -
-
+
+ + + +
+
-
-
+
+
- +
+
{intl l="Please wait, loading"}
+
-
+ -
- {include file="includes/product-general-tab.html"} -
+
+
{intl l="Please wait, loading"}
+
-
- {form name="thelia.admin.seo"} - {include file="includes/seo-tab.html" - form = $form - formAction = "{url path='/admin/products/seo/save'}" - pageUrl = "{url path='/admin/products/update' product_id=$ID}" - closeUrl = "{url path='/admin/categories' category_id=$DEFAULT_CATEGORY}" - } - {/form} -
+
+
{intl l="Please wait, loading"}
+
-
- {include file="includes/product-details-tab.html"} -
+
+ {module_include location='product-edit'} +
-
-
{intl l="Please wait, loading"}
-
- - - -
-
{intl l="Please wait, loading"}
-
- -
-
{intl l="Please wait, loading"}
-
- -
- {module_include location='product-edit'} -
- -
+
+
-
- {/loop} -
-
-
+ {/loop} +
+
+
{/block}