From 4f446ca296399448b16cb721916d7ec3658d1175 Mon Sep 17 00:00:00 2001 From: Marion Muszynski Date: Thu, 6 Oct 2016 11:55:13 +0200 Subject: [PATCH] continuation of ant_support and sav --- css/custom_admin.css | 11 +++++++++++ modules/ant_support/AdminQuestions.php | 2 +- modules/ant_support/AdminSections.php | 4 ++-- modules/ant_support/AdminSupport.php | 1 + themes/site/header.tpl | 10 +++++----- themes/site/my-account.tpl | 1 + 6 files changed, 21 insertions(+), 8 deletions(-) diff --git a/css/custom_admin.css b/css/custom_admin.css index 377d579c..f1514e03 100644 --- a/css/custom_admin.css +++ b/css/custom_admin.css @@ -20,6 +20,12 @@ hr { color: #565485; background: rgba(86,84,133,0.9); } +.bg-purple{ + background: rgba(86,84,133,0.9); +} +.bg-purple-lite{ + background: rgba(86,84,133,0.3); +} .table { border: 1px solid #565485; } @@ -73,6 +79,11 @@ input[type="file"], textarea, select { .button:focus{ background-color: rgba(86,84,133,0.6); } +.button[disabled=disabled], +input.button[disabled=disabled]:hover{ + color: #EEE; + background-color: rgba(86,84,133,0.3); +} /*** Philea ***/ .div_report { diff --git a/modules/ant_support/AdminQuestions.php b/modules/ant_support/AdminQuestions.php index 586df7d6..2395dbea 100644 --- a/modules/ant_support/AdminQuestions.php +++ b/modules/ant_support/AdminQuestions.php @@ -169,7 +169,7 @@ class AdminQuestions extends AdminTab $question->status = Tools::getValue('status', 0); $question->id_section = Tools::getValue('id_section', 0); $question->versions = array(); - + foreach(Language::getLanguages(false) as $language) { if($title = Tools::getValue('title_'.$language['id_lang'])) { $question->title[$language['id_lang']] = $title; diff --git a/modules/ant_support/AdminSections.php b/modules/ant_support/AdminSections.php index 51cfe3bd..cd431ced 100644 --- a/modules/ant_support/AdminSections.php +++ b/modules/ant_support/AdminSections.php @@ -14,7 +14,7 @@ class AdminSections extends AdminTab public function __construct() { global $cookie; - + $this->table = 'support_section'; $this->className = 'Section'; $this->lang = true; @@ -166,7 +166,7 @@ class AdminSections extends AdminTab $section = new Section(); $section->status = Tools::getValue('status', 0); $section->versions = array(); - + foreach(Language::getLanguages(false) as $language) { if($title = Tools::getValue('title_'.$language['id_lang'])) { $section->title[$language['id_lang']] = $title; diff --git a/modules/ant_support/AdminSupport.php b/modules/ant_support/AdminSupport.php index c91c5dd3..bbf9ceb5 100644 --- a/modules/ant_support/AdminSupport.php +++ b/modules/ant_support/AdminSupport.php @@ -51,6 +51,7 @@ class AdminSupport extends AdminTab url_ajax_admin_support = "'.__PS_BASE_URI__.'modules/ant_support/ajax_admin_support.php?&token='.Tools::getAdminTokenLite('AdminSupport').'"; '; echo '