continuation of ant_support and sav

This commit is contained in:
Marion Muszynski 2016-10-06 11:55:13 +02:00
parent e0ed73f324
commit 4f446ca296
6 changed files with 21 additions and 8 deletions

View File

@ -20,6 +20,12 @@ hr {
color: #565485; color: #565485;
background: rgba(86,84,133,0.9); 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 { .table {
border: 1px solid #565485; border: 1px solid #565485;
} }
@ -73,6 +79,11 @@ input[type="file"], textarea, select {
.button:focus{ .button:focus{
background-color: rgba(86,84,133,0.6); 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 ***/ /*** Philea ***/
.div_report { .div_report {

View File

@ -169,7 +169,7 @@ class AdminQuestions extends AdminTab
$question->status = Tools::getValue('status', 0); $question->status = Tools::getValue('status', 0);
$question->id_section = Tools::getValue('id_section', 0); $question->id_section = Tools::getValue('id_section', 0);
$question->versions = array(); $question->versions = array();
foreach(Language::getLanguages(false) as $language) { foreach(Language::getLanguages(false) as $language) {
if($title = Tools::getValue('title_'.$language['id_lang'])) { if($title = Tools::getValue('title_'.$language['id_lang'])) {
$question->title[$language['id_lang']] = $title; $question->title[$language['id_lang']] = $title;

View File

@ -14,7 +14,7 @@ class AdminSections extends AdminTab
public function __construct() public function __construct()
{ {
global $cookie; global $cookie;
$this->table = 'support_section'; $this->table = 'support_section';
$this->className = 'Section'; $this->className = 'Section';
$this->lang = true; $this->lang = true;
@ -166,7 +166,7 @@ class AdminSections extends AdminTab
$section = new Section(); $section = new Section();
$section->status = Tools::getValue('status', 0); $section->status = Tools::getValue('status', 0);
$section->versions = array(); $section->versions = array();
foreach(Language::getLanguages(false) as $language) { foreach(Language::getLanguages(false) as $language) {
if($title = Tools::getValue('title_'.$language['id_lang'])) { if($title = Tools::getValue('title_'.$language['id_lang'])) {
$section->title[$language['id_lang']] = $title; $section->title[$language['id_lang']] = $title;

View File

@ -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').'"; url_ajax_admin_support = "'.__PS_BASE_URI__.'modules/ant_support/ajax_admin_support.php?&token='.Tools::getAdminTokenLite('AdminSupport').'";
</script>'; </script>';
echo '<style type="text/css"> echo '<style type="text/css">
@import "'.__PS_BASE_URI__.'css/custom_admin.css";
.green { .green {
background : #dffad3; background : #dffad3;
} }

View File

@ -75,7 +75,7 @@
<!--[if IE 9]> <!--[if IE 9]>
<link href="{$css_dir}ie9.css" rel="stylesheet" type="text/css" media="screen" /> <link href="{$css_dir}ie9.css" rel="stylesheet" type="text/css" media="screen" />
<![endif]--> <![endif]-->
{if $cookie->id_lang == 2} {if $cookie->id_lang == 2}
{literal} {literal}
<script> <script>
@ -162,7 +162,7 @@
{/if} {/if}
{/if} {/if}
<!-- End Facebook Pixel Code --> <!-- End Facebook Pixel Code -->
<!-- crazyegg --> <!-- crazyegg -->
{literal} {literal}
<script type="text/javascript"> <script type="text/javascript">
@ -172,11 +172,11 @@
a.async=true;a.type="text/javascript";b.parentNode.insertBefore(a,b)}, 1); a.async=true;a.type="text/javascript";b.parentNode.insertBefore(a,b)}, 1);
</script> </script>
{/literal} {/literal}
</head> </head>
<body {if $page_name}id="{$page_name|escape:'htmlall':'UTF-8'}"{/if} class="{$bodyClass}{if $cookie->isLogged()} logged{/if}{if isset($smarty.get.content_only)} content_only{/if}{if isset($smarty.post.email_create) || isset($smarty.get.create_account)} create{/if} lang{$cookie->id_lang}"> <body {if $page_name}id="{$page_name|escape:'htmlall':'UTF-8'}"{/if} class="{$bodyClass}{if $cookie->isLogged()} logged{/if}{if isset($smarty.get.content_only)} content_only{/if}{if isset($smarty.post.email_create) || isset($smarty.get.create_account)} create{/if} lang{$cookie->id_lang}">
{if !$content_only} {if !$content_only}
{if isset($restricted_country_mode) && $restricted_country_mode} {if isset($restricted_country_mode) && $restricted_country_mode}
<div id="restricted-country"> <div id="restricted-country">
@ -190,7 +190,7 @@
<div class="content"> <div class="content">
<div class="top"> <div class="top">
<div class="content"> <div class="content">
<span class='help_contact'><a href="{$link->getCMSLink(14)}">{l s='Aide et contact'}</a></span> <span class='help_contact'><a href="{$base_dir_ssl}modules/ant_support/help.php">{l s='Aide et contact'}</a><!--a href="{$link->getCMSLink(14)}">{l s='Aide et contact'}</a--></span>
{$HOOK_TOP} {$HOOK_TOP}
</div> </div>
</div> </div>

View File

@ -43,5 +43,6 @@
<li><a href="{$base_dir_ssl}modules/paymentinfo/manage.php" title="{l s='Manage Payments infos'}">{l s='Manage Payments infos'}</a></li> <li><a href="{$base_dir_ssl}modules/paymentinfo/manage.php" title="{l s='Manage Payments infos'}">{l s='Manage Payments infos'}</a></li>
{$HOOK_CUSTOMER_ACCOUNT} {$HOOK_CUSTOMER_ACCOUNT}
<li><a href="{$base_dir_ssl}modules/ant_support/help.php" title="{l s='Help'}">{l s='Help'}</a></li>
</ul> </ul>
{*<p class="footer_links"><a href="{$base_dir}" title="{l s='Home'}" class="button">{l s='Home'}</a></p>*} {*<p class="footer_links"><a href="{$base_dir}" title="{l s='Home'}" class="button">{l s='Home'}</a></p>*}