[-] 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:
mDeflotte
2012-05-30 07:54:12 +00:00
parent e4e0758853
commit 52d054e006
3 changed files with 81 additions and 77 deletions
+2 -2
View File
@@ -103,7 +103,7 @@ class AdminShopUrlControllerCore extends AdminController
$this->multiple_fieldsets = true;
if (!$update_htaccess)
$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
$desc_virtual_uri = array(
@@ -219,9 +219,9 @@ class AdminShopUrlControllerCore extends AdminController
'type' => 'text',
'label' => $this->l('Virtual URI:'),
'name' => 'virtual_uri',
'disabled' => !$update_htaccess,
'desc' => $desc_virtual_uri,
'size' => 50,
'hint' => (!$update_htaccess) ? $this->l('Warning: The URL rewriting (mod_rewrite) seems to be disable.') : '',
),
array(
'type' => 'text',
+78 -75
View File
@@ -161,11 +161,11 @@ form .simulate-disable-input{
.mails_field h3{
background: -moz-linear-gradient(center top , #F9F9F9, #ECECEC) repeat-x scroll left top #ECECEC;
color: #333333;
font-size: 13px;
padding: 4px 6px;
text-align: left;
text-shadow: 0 1px 0 #FFFFFF;
color: #333333;
font-size: 13px;
padding: 4px 6px;
text-align: left;
text-shadow: 0 1px 0 #FFFFFF;
margin:0;
font-size:1em;
padding: 10px 5px;
@@ -866,22 +866,22 @@ table tr th .hint {
/* The pointer image is added by using another span */
.hint .hint-pointer {
position: absolute;
left: -10px;
top: 5px;
width: 10px;
height: 19px;
position: absolute;
left: -10px;
top: 5px;
width: 10px;
height: 19px;
}
#flagsLanguage img {
padding: 3px;
margin-bottom: -4px;
padding: 3px;
margin-bottom: -4px;
}
#flagsLanguage .selected_language {
border: 1px solid #BBB;
padding: 2px;
margin-bottom: -4px;
border: 1px solid #BBB;
padding: 2px;
margin-bottom: -4px;
}
.disable, .disable:hover {
@@ -938,9 +938,9 @@ a.confirm_no {
/* tab: AdminImport */
form#import_form {
padding-bottom:22px;
margin-left:15px;
margin-bottom:20px;
padding-bottom:22px;
margin-left:15px;
margin-bottom:20px;
}
.table_overflow {
width:900px;
@@ -1023,11 +1023,11 @@ table.permissions td {
}
#header_shoplist{
background-image: url("../img/t/AdminShop.gif");
background-position: 0 3px;
background-repeat: no-repeat;
padding-left: 17px;
height: 20px;
background-image: url("../img/t/AdminShop.gif");
background-position: 0 3px;
background-repeat: no-repeat;
padding-left: 17px;
height: 20px;
}
#header_shoplist select.shopList option{
@@ -1723,14 +1723,14 @@ a.blue:hover {
margin-left: -10px;
}
.multishop_config div{
background-color: #DFFAD3;
border: 1px solid #DFD5C3;
display: none;
margin-top: 2px;
padding: 5px;
width: 200px;
}
.multishop_config div{
background-color: #DFFAD3;
border: 1px solid #DFD5C3;
display: none;
margin-top: 2px;
padding: 5px;
width: 200px;
}
.multishop_product_checkbox{
position: absolute;
@@ -1760,28 +1760,28 @@ a.action_module_delete {
}
fieldset .optionsDescription, fieldset p.description, .info{
background: url("../img/admin/icon-info.png") no-repeat scroll 6px 6px #BDE5F8;
border: 1px solid #00529B;
color: #00529B;
font-family: Arial,Verdana,Helvetica,sans-serif;
font-size: 12px;
margin-bottom: 15px;
padding: 10px 5px 5px 40px;
background: url("../img/admin/icon-info.png") no-repeat scroll 6px 6px #BDE5F8;
border: 1px solid #00529B;
color: #00529B;
font-family: Arial,Verdana,Helvetica,sans-serif;
font-size: 12px;
margin-bottom: 15px;
padding: 10px 5px 5px 40px;
border-radius:3px;
min-height:32px;
}
fieldset .optionsDescription ul li {
color: #00529B;
margin:0;
padding:0;
color: #00529B;
margin:0;
padding:0;
}
p.product_description {
font-family:Georgia, Arial, 'sans-serif';
font-style:italic;
clear: both;
text-align: left;
clear: both;
text-align: left;
color:#7F7F7F;
text-align:right;
}
@@ -1789,11 +1789,11 @@ font-family:Georgia, Arial, 'sans-serif';
p.preference_description{
font-family:Georgia, Arial, 'sans-serif';
font-style:italic;
clear: both;
text-align: left;
width: 500px;
color:#7F7F7F;
font-size:11px;
clear: both;
text-align: left;
width: 500px;
color:#7F7F7F;
font-size:11px;
}
p.preference_description .light-warning {
@@ -1808,21 +1808,24 @@ p.preference_description .light-warning {
}
.multishop_warning {
background-image: url("../img/admin/warning.gif");
background-repeat: no-repeat;
color: #FE2744;
font-weight: bold;
padding-left: 22px;
padding-top: 1px;
background-image: url("../img/admin/warning.gif");
background-repeat: no-repeat;
color: #FE2744;
font-weight: bold;
padding-left: 22px;
padding-top: 1px;
}
.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;
font-weight: bold;
padding-left: 22px;
padding-top: 1px;
height:20px;
font-weight: bold;
padding-left: 22px;
padding-top: 2px;
padding-bottom: 2px;
padding-right: 5px;
height:20px;
line-height: 20px;
}
@@ -1839,41 +1842,41 @@ input.disable_me[disabled=disabled]{
div.progressBarImage
{
float: left;
height: 15px;
margin-left: 3px;
width: 233px;
float: left;
height: 15px;
margin-left: 3px;
width: 233px;
}
#showCounter
{
font-weight: bold;
float: left;
margin-left: 25px;
margin-top: 1px;
margin-left: 25px;
margin-top: 1px;
}
#listImage
{
list-style: none outside none;
margin-bottom: 10px;
margin-top: 10px;
list-style: none outside none;
margin-bottom: 10px;
margin-top: 10px;
}
#listImage li
{
clear: both;
float: left;
font-weight: bold;
margin-top: 10px;
float: left;
font-weight: bold;
margin-top: 10px;
}
#listImage li p.errorImg
{
background: none repeat scroll 0 0 #FAE2E3;
border: 1px solid #EC9B9B;
clear: both;
border: 1px solid #EC9B9B;
clear: both;
margin-bottom: 18px;
padding: 6px;
display: none;
padding: 6px;
display: none;
}
#progressBarImage div.ui-progressbar-value
{
+1
View File
@@ -3195,6 +3195,7 @@ $_LANGADM['AdminShopUrl37d00f4554dc3c0baeb34a9c22d787d9'] = 'URL de la boutique'
$_LANGADM['AdminShopUrl3cbc37f94997d23bfe2824165dc45549'] = 'Ajouter une URL';
$_LANGADM['AdminShopUrl676e457154510d142765d535fbf11df0'] = 'URL principale';
$_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['AdminShopUrl9c8417aa5dbcccb5b4c48b4176ae1e8a'] = 'URI physique :';
$_LANGADM['AdminShopUrl9efaaad2d5b51cd643529cd6872e169a'] = 'URL principale :';