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;
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 {

View File

@ -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;

View File

@ -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;

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').'";
</script>';
echo '<style type="text/css">
@import "'.__PS_BASE_URI__.'css/custom_admin.css";
.green {
background : #dffad3;
}

View File

@ -75,7 +75,7 @@
<!--[if IE 9]>
<link href="{$css_dir}ie9.css" rel="stylesheet" type="text/css" media="screen" />
<![endif]-->
{if $cookie->id_lang == 2}
{literal}
<script>
@ -162,7 +162,7 @@
{/if}
{/if}
<!-- End Facebook Pixel Code -->
<!-- crazyegg -->
{literal}
<script type="text/javascript">
@ -172,11 +172,11 @@
a.async=true;a.type="text/javascript";b.parentNode.insertBefore(a,b)}, 1);
</script>
{/literal}
</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}">
{if !$content_only}
{if isset($restricted_country_mode) && $restricted_country_mode}
<div id="restricted-country">
@ -190,7 +190,7 @@
<div class="content">
<div class="top">
<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}
</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>
{$HOOK_CUSTOMER_ACCOUNT}
<li><a href="{$base_dir_ssl}modules/ant_support/help.php" title="{l s='Help'}">{l s='Help'}</a></li>
</ul>
{*<p class="footer_links"><a href="{$base_dir}" title="{l s='Home'}" class="button">{l s='Home'}</a></p>*}