[-] BO : #PSCFV-2606 - Fix bug with FastCGI/CGI and url multishopping (we cannot be sure the mod_rewrite is enable or disable)
This commit is contained in:
1 parent
e4e0758853
commit
52d054e006
3 files changed
+81
-77
No files matched your search
@@ -103,7 +103,7 @@ class AdminShopUrlControllerCore extends AdminController
|
|||||||
$this->multiple_fieldsets = true;
|
$this->multiple_fieldsets = true;
|
||||||
if (!$update_htaccess)
|
if (!$update_htaccess)
|
||||||
$desc_virtual_uri = array(
|
$desc_virtual_uri = array(
|
||||||
$this->l('You need to activate the URL Rewriting if you want to add a virtual URI.')
|
'<span class="warning_mod_rewrite">'.$this->l('You need to activate the URL Rewriting if you want to add a virtual URI.').'</span>'
|
||||||
);
|
);
|
||||||
else
|
else
|
||||||
$desc_virtual_uri = array(
|
$desc_virtual_uri = array(
|
||||||
@@ -219,9 +219,9 @@ class AdminShopUrlControllerCore extends AdminController
|
|||||||
'type' => 'text',
|
'type' => 'text',
|
||||||
'label' => $this->l('Virtual URI:'),
|
'label' => $this->l('Virtual URI:'),
|
||||||
'name' => 'virtual_uri',
|
'name' => 'virtual_uri',
|
||||||
'disabled' => !$update_htaccess,
|
|
||||||
'desc' => $desc_virtual_uri,
|
'desc' => $desc_virtual_uri,
|
||||||
'size' => 50,
|
'size' => 50,
|
||||||
|
'hint' => (!$update_htaccess) ? $this->l('Warning: The URL rewriting (mod_rewrite) seems to be disable.') : '',
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'type' => 'text',
|
'type' => 'text',
|
||||||
|
|||||||
+78
-75
@@ -161,11 +161,11 @@ form .simulate-disable-input{
|
|||||||
|
|
||||||
.mails_field h3{
|
.mails_field h3{
|
||||||
background: -moz-linear-gradient(center top , #F9F9F9, #ECECEC) repeat-x scroll left top #ECECEC;
|
background: -moz-linear-gradient(center top , #F9F9F9, #ECECEC) repeat-x scroll left top #ECECEC;
|
||||||
color: #333333;
|
color: #333333;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
padding: 4px 6px;
|
padding: 4px 6px;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
text-shadow: 0 1px 0 #FFFFFF;
|
text-shadow: 0 1px 0 #FFFFFF;
|
||||||
margin:0;
|
margin:0;
|
||||||
font-size:1em;
|
font-size:1em;
|
||||||
padding: 10px 5px;
|
padding: 10px 5px;
|
||||||
@@ -866,22 +866,22 @@ table tr th .hint {
|
|||||||
|
|
||||||
/* The pointer image is added by using another span */
|
/* The pointer image is added by using another span */
|
||||||
.hint .hint-pointer {
|
.hint .hint-pointer {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: -10px;
|
left: -10px;
|
||||||
top: 5px;
|
top: 5px;
|
||||||
width: 10px;
|
width: 10px;
|
||||||
height: 19px;
|
height: 19px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#flagsLanguage img {
|
#flagsLanguage img {
|
||||||
padding: 3px;
|
padding: 3px;
|
||||||
margin-bottom: -4px;
|
margin-bottom: -4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#flagsLanguage .selected_language {
|
#flagsLanguage .selected_language {
|
||||||
border: 1px solid #BBB;
|
border: 1px solid #BBB;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
margin-bottom: -4px;
|
margin-bottom: -4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.disable, .disable:hover {
|
.disable, .disable:hover {
|
||||||
@@ -938,9 +938,9 @@ a.confirm_no {
|
|||||||
/* tab: AdminImport */
|
/* tab: AdminImport */
|
||||||
|
|
||||||
form#import_form {
|
form#import_form {
|
||||||
padding-bottom:22px;
|
padding-bottom:22px;
|
||||||
margin-left:15px;
|
margin-left:15px;
|
||||||
margin-bottom:20px;
|
margin-bottom:20px;
|
||||||
}
|
}
|
||||||
.table_overflow {
|
.table_overflow {
|
||||||
width:900px;
|
width:900px;
|
||||||
@@ -1023,11 +1023,11 @@ table.permissions td {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#header_shoplist{
|
#header_shoplist{
|
||||||
background-image: url("../img/t/AdminShop.gif");
|
background-image: url("../img/t/AdminShop.gif");
|
||||||
background-position: 0 3px;
|
background-position: 0 3px;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
padding-left: 17px;
|
padding-left: 17px;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#header_shoplist select.shopList option{
|
#header_shoplist select.shopList option{
|
||||||
@@ -1723,14 +1723,14 @@ a.blue:hover {
|
|||||||
margin-left: -10px;
|
margin-left: -10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.multishop_config div{
|
.multishop_config div{
|
||||||
background-color: #DFFAD3;
|
background-color: #DFFAD3;
|
||||||
border: 1px solid #DFD5C3;
|
border: 1px solid #DFD5C3;
|
||||||
display: none;
|
display: none;
|
||||||
margin-top: 2px;
|
margin-top: 2px;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
width: 200px;
|
width: 200px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.multishop_product_checkbox{
|
.multishop_product_checkbox{
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@@ -1760,28 +1760,28 @@ a.action_module_delete {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fieldset .optionsDescription, fieldset p.description, .info{
|
fieldset .optionsDescription, fieldset p.description, .info{
|
||||||
background: url("../img/admin/icon-info.png") no-repeat scroll 6px 6px #BDE5F8;
|
background: url("../img/admin/icon-info.png") no-repeat scroll 6px 6px #BDE5F8;
|
||||||
border: 1px solid #00529B;
|
border: 1px solid #00529B;
|
||||||
color: #00529B;
|
color: #00529B;
|
||||||
font-family: Arial,Verdana,Helvetica,sans-serif;
|
font-family: Arial,Verdana,Helvetica,sans-serif;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
padding: 10px 5px 5px 40px;
|
padding: 10px 5px 5px 40px;
|
||||||
border-radius:3px;
|
border-radius:3px;
|
||||||
min-height:32px;
|
min-height:32px;
|
||||||
}
|
}
|
||||||
|
|
||||||
fieldset .optionsDescription ul li {
|
fieldset .optionsDescription ul li {
|
||||||
color: #00529B;
|
color: #00529B;
|
||||||
margin:0;
|
margin:0;
|
||||||
padding:0;
|
padding:0;
|
||||||
}
|
}
|
||||||
|
|
||||||
p.product_description {
|
p.product_description {
|
||||||
font-family:Georgia, Arial, 'sans-serif';
|
font-family:Georgia, Arial, 'sans-serif';
|
||||||
font-style:italic;
|
font-style:italic;
|
||||||
clear: both;
|
clear: both;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
color:#7F7F7F;
|
color:#7F7F7F;
|
||||||
text-align:right;
|
text-align:right;
|
||||||
}
|
}
|
||||||
@@ -1789,11 +1789,11 @@ font-family:Georgia, Arial, 'sans-serif';
|
|||||||
p.preference_description{
|
p.preference_description{
|
||||||
font-family:Georgia, Arial, 'sans-serif';
|
font-family:Georgia, Arial, 'sans-serif';
|
||||||
font-style:italic;
|
font-style:italic;
|
||||||
clear: both;
|
clear: both;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
width: 500px;
|
width: 500px;
|
||||||
color:#7F7F7F;
|
color:#7F7F7F;
|
||||||
font-size:11px;
|
font-size:11px;
|
||||||
}
|
}
|
||||||
|
|
||||||
p.preference_description .light-warning {
|
p.preference_description .light-warning {
|
||||||
@@ -1808,21 +1808,24 @@ p.preference_description .light-warning {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.multishop_warning {
|
.multishop_warning {
|
||||||
background-image: url("../img/admin/warning.gif");
|
background-image: url("../img/admin/warning.gif");
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
color: #FE2744;
|
color: #FE2744;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
padding-left: 22px;
|
padding-left: 22px;
|
||||||
padding-top: 1px;
|
padding-top: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.warning_mod_rewrite{
|
.warning_mod_rewrite{
|
||||||
background: #FEEFB3 url(../img/admin/warning.gif) no-repeat;
|
background: #FEEFB3 url(../img/admin/warning.gif) 2px 0 no-repeat;
|
||||||
color: #9E6014;
|
color: #9E6014;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
padding-left: 22px;
|
padding-left: 22px;
|
||||||
padding-top: 1px;
|
padding-top: 2px;
|
||||||
height:20px;
|
padding-bottom: 2px;
|
||||||
|
padding-right: 5px;
|
||||||
|
height:20px;
|
||||||
|
line-height: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -1839,41 +1842,41 @@ input.disable_me[disabled=disabled]{
|
|||||||
|
|
||||||
div.progressBarImage
|
div.progressBarImage
|
||||||
{
|
{
|
||||||
float: left;
|
float: left;
|
||||||
height: 15px;
|
height: 15px;
|
||||||
margin-left: 3px;
|
margin-left: 3px;
|
||||||
width: 233px;
|
width: 233px;
|
||||||
}
|
}
|
||||||
#showCounter
|
#showCounter
|
||||||
{
|
{
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
float: left;
|
float: left;
|
||||||
margin-left: 25px;
|
margin-left: 25px;
|
||||||
margin-top: 1px;
|
margin-top: 1px;
|
||||||
}
|
}
|
||||||
#listImage
|
#listImage
|
||||||
{
|
{
|
||||||
list-style: none outside none;
|
list-style: none outside none;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#listImage li
|
#listImage li
|
||||||
{
|
{
|
||||||
clear: both;
|
clear: both;
|
||||||
float: left;
|
float: left;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
margin-top: 10px;
|
margin-top: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#listImage li p.errorImg
|
#listImage li p.errorImg
|
||||||
{
|
{
|
||||||
background: none repeat scroll 0 0 #FAE2E3;
|
background: none repeat scroll 0 0 #FAE2E3;
|
||||||
border: 1px solid #EC9B9B;
|
border: 1px solid #EC9B9B;
|
||||||
clear: both;
|
clear: both;
|
||||||
margin-bottom: 18px;
|
margin-bottom: 18px;
|
||||||
padding: 6px;
|
padding: 6px;
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
#progressBarImage div.ui-progressbar-value
|
#progressBarImage div.ui-progressbar-value
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -3195,6 +3195,7 @@ $_LANGADM['AdminShopUrl37d00f4554dc3c0baeb34a9c22d787d9'] = 'URL de la boutique'
|
|||||||
$_LANGADM['AdminShopUrl3cbc37f94997d23bfe2824165dc45549'] = 'Ajouter une URL';
|
$_LANGADM['AdminShopUrl3cbc37f94997d23bfe2824165dc45549'] = 'Ajouter une URL';
|
||||||
$_LANGADM['AdminShopUrl676e457154510d142765d535fbf11df0'] = 'URL principale';
|
$_LANGADM['AdminShopUrl676e457154510d142765d535fbf11df0'] = 'URL principale';
|
||||||
$_LANGADM['AdminShopUrl873646ada13763eda1a5393d99973204'] = 'Domaine SSL :';
|
$_LANGADM['AdminShopUrl873646ada13763eda1a5393d99973204'] = 'Domaine SSL :';
|
||||||
|
$_LANGADM['AdminShopUrl8d3057653243d8dc92ef854144b299cc'] = 'Attention : La réécriture d\'url (mod_rewrite) semble être desactivée.';
|
||||||
$_LANGADM['AdminShopUrl9b5ee5e0b5aed007f4192b3252a0eccf'] = 'Vous devez activer la réécriture d\'url si vous voulez ajouter une URL virtuelle.';
|
$_LANGADM['AdminShopUrl9b5ee5e0b5aed007f4192b3252a0eccf'] = 'Vous devez activer la réécriture d\'url si vous voulez ajouter une URL virtuelle.';
|
||||||
$_LANGADM['AdminShopUrl9c8417aa5dbcccb5b4c48b4176ae1e8a'] = 'URI physique :';
|
$_LANGADM['AdminShopUrl9c8417aa5dbcccb5b4c48b4176ae1e8a'] = 'URI physique :';
|
||||||
$_LANGADM['AdminShopUrl9efaaad2d5b51cd643529cd6872e169a'] = 'URL principale :';
|
$_LANGADM['AdminShopUrl9efaaad2d5b51cd643529cd6872e169a'] = 'URL principale :';
|
||||||
|
|||||||
Reference in new issue
Block a user