From 62b0e8ec56e09a8a0457b0f9aa2d802f20341d6b Mon Sep 17 00:00:00 2001
From: lLefevre
Date: Thu, 30 Aug 2012 09:13:36 +0000
Subject: [PATCH] [*] BO : #PSCFV-3710 : select a current theme in
AdminTranslations
---
.../controllers/translations/helpers/view/main.tpl | 9 +++++----
controllers/admin/AdminTranslationsController.php | 1 +
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/admin-dev/themes/default/template/controllers/translations/helpers/view/main.tpl b/admin-dev/themes/default/template/controllers/translations/helpers/view/main.tpl
index 16aa065bf..31199e6e1 100644
--- a/admin-dev/themes/default/template/controllers/translations/helpers/view/main.tpl
+++ b/admin-dev/themes/default/template/controllers/translations/helpers/view/main.tpl
@@ -68,7 +68,8 @@
{foreach $languages as $language}
@@ -152,7 +153,7 @@
@@ -176,7 +177,7 @@
*
@@ -190,7 +191,7 @@
diff --git a/controllers/admin/AdminTranslationsController.php b/controllers/admin/AdminTranslationsController.php
index fa8c90c76..624acced2 100644
--- a/controllers/admin/AdminTranslationsController.php
+++ b/controllers/admin/AdminTranslationsController.php
@@ -197,6 +197,7 @@ class AdminTranslationsControllerCore extends AdminController
'packs_to_update' => $packs_to_update,
'url_submit' => self::$currentIndex.'&token='.$this->token,
'themes' => $this->themes,
+ 'id_theme_current' => $this->context->shop->id_theme,
'url_create_language' => 'index.php?controller=AdminLanguages&addlang&token='.$token,
);