// Remove nice ergonomy on BO list because there are other priorities

This commit is contained in:
rMalie
2012-02-15 15:39:51 +00:00
parent 8bdc31d932
commit 75a91f6f1b
3 changed files with 15 additions and 7 deletions
@@ -86,7 +86,7 @@
{/block}
{if $field['type'] == 'select'}
{if $field['list']}
<select name="{$key}"{if isset($field['js'])} onchange="{$field['js']}"{/if} id="{$key}" class="chosen">
<select name="{$key}"{if isset($field['js'])} onchange="{$field['js']}"{/if} id="{$key}">
{foreach $field['list'] AS $k => $option}
<option value="{$option[$field['identifier']]}"{if $field['value'] == $option[$field['identifier']]} selected="selected"{/if}>{$option['name']}</option>
{/foreach}
@@ -145,7 +145,7 @@
{elseif $field['type'] == 'selectLang'}
{foreach $languages as $language}
<div id="{$key}_{$language.id_lang}" style="margin-bottom:8px; display: {if $language.id_lang == $current_id_lang}block{else}none{/if}; float: left; vertical-align: top;">
<select name="{$key}_{$language.iso_code|upper}" class="chosen">
<select name="{$key}_{$language.iso_code|upper}">
{foreach $field['list'] AS $k => $v}
<option value="{if isset($v.cast)}{$v.cast[$v[$field.identifier]]}{else}{$v[$field.identifier]}{/if}"
{if $field['value'][$language.id_lang] == $v['name']} selected="selected"{/if}>
+8 -4
View File
@@ -115,18 +115,21 @@ class AdminShopUrlControllerCore extends AdminController
array(
'type' => 'text',
'label' => $this->l('Domain:'),
'name' => 'domain'
'name' => 'domain',
'size' => 50,
),
array(
'type' => 'text',
'label' => $this->l('Domain SSL:'),
'name' => 'domain_ssl'
'name' => 'domain_ssl',
'size' => 50,
),
array(
'type' => 'text',
'label' => $this->l('Physical URI:'),
'name' => 'physical_uri',
'desc' => $this->l('Physical folder of your store on your server. Leave this field empty if your store is installed on root path. E.g. if your store is available from www.my-prestashop.com/my-store/, you have to set my-store/ in this field.')
'desc' => $this->l('Physical folder of your store on your server. Leave this field empty if your store is installed on root path. E.g. if your store is available from www.my-prestashop.com/my-store/, you have to set my-store/ in this field.'),
'size' => 50,
),
array(
'type' => 'text',
@@ -135,7 +138,8 @@ class AdminShopUrlControllerCore extends AdminController
'desc' => array(
$this->l('You can use this option if you want to create a store with an URI that doesn\'t exist on your server. E.g. if you want your store to be available with url www.my-prestashop.com/my-store/shoes/, you have to set shoes/ in this field (we considere that my-store/ is your physical URI).'),
'<strong>'.$this->l('URL rewriting must be activated on your server to use this feature.').'</strong>'
)
),
'size' => 50,
),
array(
'type' => 'text',
+5 -1
View File
@@ -965,7 +965,11 @@ function showErrorMessage(msg, delay)
$(document).ready(function()
{
$('select.chosen').chosen();
$('select.chosen').each(function(k, item){
$(item).chosen();
if ($(item).hasClass('no-search'))
$(item).next().find('.chzn-search').hide();
});
$('.isInvisible input, .isInvisible select, .isInvisible textarea').attr('disabled', true);
$('.isInvisible label.conf_title').addClass('isDisabled');