From 40f6850900b5d68a93e9bf98dc39ba3e1e8d8736 Mon Sep 17 00:00:00 2001 From: vKham Date: Mon, 26 Dec 2011 17:26:12 +0000 Subject: [PATCH] //fix table extensible, bug --- admin-dev/themes/template/products/attachments.tpl | 3 ++- admin-dev/themes/template/products/features.tpl | 8 ++++---- admin-dev/themes/template/products/seo.tpl | 6 +++--- controllers/admin/AdminQuickAccessesController.php | 1 + controllers/admin/AdminScenesController.php | 2 +- css/admin.css | 2 ++ 6 files changed, 13 insertions(+), 9 deletions(-) diff --git a/admin-dev/themes/template/products/attachments.tpl b/admin-dev/themes/template/products/attachments.tpl index 623ac8a0f..9ce5526db 100644 --- a/admin-dev/themes/template/products/attachments.tpl +++ b/admin-dev/themes/template/products/attachments.tpl @@ -40,7 +40,7 @@

{l s='Attachment'}

-
+
{foreach $languages as $language} @@ -72,6 +72,7 @@
* {l s='Required field'}
+
 
diff --git a/admin-dev/themes/template/products/features.tpl b/admin-dev/themes/template/products/features.tpl index 63e0f69a2..e04f7a043 100644 --- a/admin-dev/themes/template/products/features.tpl +++ b/admin-dev/themes/template/products/features.tpl @@ -50,13 +50,13 @@
-
{l s='Feature'} + {l s='Feature'} {l s='Pre-defined value'} {l s='or'} {l s='Customized value'}
{foreach from=$available_features item=available_feature} - +
{$available_feature.name} @@ -95,8 +95,8 @@
-
- +
+ new_features {l s='Add a new feature'}
diff --git a/admin-dev/themes/template/products/seo.tpl b/admin-dev/themes/template/products/seo.tpl index 98b857613..209c22c54 100644 --- a/admin-dev/themes/template/products/seo.tpl +++ b/admin-dev/themes/template/products/seo.tpl @@ -49,7 +49,7 @@ languages=$languages input_name='meta_title' input_value=$product->meta_title} -

{l s='Product page title; leave blank to use product name'}

+

{l s='Product page title; leave blank to use product name'}

@@ -62,7 +62,7 @@ input_name='meta_description' input_value=$product->meta_description input_hint='{l s=\'Forbidden characters:\'\} <>;=#{\}'} -

{l s='A single sentence for HTML header'}

+

{l s='A single sentence for HTML header'}

@@ -73,7 +73,7 @@ {include file="products/input_text_lang.tpl" languages=$languages input_value=$product->meta_keywords input_name='meta_keywords'} -

{l s='Keywords for HTML header, separated by a comma'}

+

{l s='Keywords for HTML header, separated by a comma'}

diff --git a/controllers/admin/AdminQuickAccessesController.php b/controllers/admin/AdminQuickAccessesController.php index 21fb140de..4592c7033 100644 --- a/controllers/admin/AdminQuickAccessesController.php +++ b/controllers/admin/AdminQuickAccessesController.php @@ -60,6 +60,7 @@ class AdminQuickAccessesControllerCore extends AdminController ), 'new_window' => array( 'title' => $this->l('New window'), + 'width' => 70, 'align' => 'center', 'type' => 'bool', 'activeVisu' => 'new_window' diff --git a/controllers/admin/AdminScenesController.php b/controllers/admin/AdminScenesController.php index 5572ed102..e74abded0 100644 --- a/controllers/admin/AdminScenesController.php +++ b/controllers/admin/AdminScenesController.php @@ -49,11 +49,11 @@ class AdminScenesControllerCore extends AdminController ), 'name' => array( 'title' => $this->l('Image Maps'), - 'width' => 150, 'filter_key' => 'b!name' ), 'active' => array( 'title' => $this->l('Activated'), + 'width' => 70, 'align' => 'center', 'active' => 'status', 'type' => 'bool', diff --git a/css/admin.css b/css/admin.css index 3c7de3601..546528455 100644 --- a/css/admin.css +++ b/css/admin.css @@ -2026,8 +2026,10 @@ float:left; float:left; background:none; border:none; + width:24%; } #CustomerThreadContacts div#CustomerService table.table { +width:100%; } #CustomerThreadContacts div#CustomerService table.table thead{