From 267a408cdfa14cbb768f750b31c71b1783a0ddc8 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 git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17088 b9a71923-0436-4b27-9f14-aed3839534dd --- .../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, );