From ae7f8eeada3e4ffd7940f85a0f40e6a373740917 Mon Sep 17 00:00:00 2001 From: aFolletete Date: Mon, 3 Oct 2011 13:19:57 +0000 Subject: [PATCH] // Rename adminAddresses template git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8971 b9a71923-0436-4b27-9f14-aed3839534dd --- admin-dev/themes/template/{address.tpl => adminAddresses.tpl} | 0 controllers/admin/AdminAddressesController.php | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename admin-dev/themes/template/{address.tpl => adminAddresses.tpl} (100%) diff --git a/admin-dev/themes/template/address.tpl b/admin-dev/themes/template/adminAddresses.tpl similarity index 100% rename from admin-dev/themes/template/address.tpl rename to admin-dev/themes/template/adminAddresses.tpl diff --git a/controllers/admin/AdminAddressesController.php b/controllers/admin/AdminAddressesController.php index 58526647c..694a98309 100644 --- a/controllers/admin/AdminAddressesController.php +++ b/controllers/admin/AdminAddressesController.php @@ -25,7 +25,7 @@ * International Registered Trademark & Property of PrestaShop SA */ //include_once(_PS_ADMIN_DIR_.'/../classes/AdminTab.php'); -if(Configuration::get('VATNUMBER_MANAGEMENT') AND file_exists(_PS_MODULE_DIR_.'vatnumber/vatnumber.php')) +if (Configuration::get('VATNUMBER_MANAGEMENT') AND file_exists(_PS_MODULE_DIR_.'vatnumber/vatnumber.php')) include_once(_PS_MODULE_DIR_.'vatnumber/vatnumber.php'); class AdminAddressesControllerCore extends AdminController @@ -64,7 +64,7 @@ class AdminAddressesControllerCore extends AdminController 'city' => array('title' => $this->l('City'), 'width' => 150), 'country' => array('title' => $this->l('Country'), 'width' => 100, 'type' => 'select', 'select' => $this->countriesArray, 'filter_key' => 'cl!id_country')); - $this->template = 'address.tpl'; + $this->template = 'adminAddresses.tpl'; parent::__construct(); }