// Remove nice ergonomy on BO list because there are other priorities
This commit is contained in:
@@ -86,7 +86,7 @@
|
|||||||
{/block}
|
{/block}
|
||||||
{if $field['type'] == 'select'}
|
{if $field['type'] == 'select'}
|
||||||
{if $field['list']}
|
{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}
|
{foreach $field['list'] AS $k => $option}
|
||||||
<option value="{$option[$field['identifier']]}"{if $field['value'] == $option[$field['identifier']]} selected="selected"{/if}>{$option['name']}</option>
|
<option value="{$option[$field['identifier']]}"{if $field['value'] == $option[$field['identifier']]} selected="selected"{/if}>{$option['name']}</option>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
@@ -145,7 +145,7 @@
|
|||||||
{elseif $field['type'] == 'selectLang'}
|
{elseif $field['type'] == 'selectLang'}
|
||||||
{foreach $languages as $language}
|
{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;">
|
<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}
|
{foreach $field['list'] AS $k => $v}
|
||||||
<option value="{if isset($v.cast)}{$v.cast[$v[$field.identifier]]}{else}{$v[$field.identifier]}{/if}"
|
<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}>
|
{if $field['value'][$language.id_lang] == $v['name']} selected="selected"{/if}>
|
||||||
|
|||||||
@@ -115,18 +115,21 @@ class AdminShopUrlControllerCore extends AdminController
|
|||||||
array(
|
array(
|
||||||
'type' => 'text',
|
'type' => 'text',
|
||||||
'label' => $this->l('Domain:'),
|
'label' => $this->l('Domain:'),
|
||||||
'name' => 'domain'
|
'name' => 'domain',
|
||||||
|
'size' => 50,
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'type' => 'text',
|
'type' => 'text',
|
||||||
'label' => $this->l('Domain SSL:'),
|
'label' => $this->l('Domain SSL:'),
|
||||||
'name' => 'domain_ssl'
|
'name' => 'domain_ssl',
|
||||||
|
'size' => 50,
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'type' => 'text',
|
'type' => 'text',
|
||||||
'label' => $this->l('Physical URI:'),
|
'label' => $this->l('Physical URI:'),
|
||||||
'name' => '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(
|
array(
|
||||||
'type' => 'text',
|
'type' => 'text',
|
||||||
@@ -135,7 +138,8 @@ class AdminShopUrlControllerCore extends AdminController
|
|||||||
'desc' => array(
|
'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).'),
|
$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>'
|
'<strong>'.$this->l('URL rewriting must be activated on your server to use this feature.').'</strong>'
|
||||||
)
|
),
|
||||||
|
'size' => 50,
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'type' => 'text',
|
'type' => 'text',
|
||||||
|
|||||||
+5
-1
@@ -965,7 +965,11 @@ function showErrorMessage(msg, delay)
|
|||||||
|
|
||||||
$(document).ready(function()
|
$(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 input, .isInvisible select, .isInvisible textarea').attr('disabled', true);
|
||||||
$('.isInvisible label.conf_title').addClass('isDisabled');
|
$('.isInvisible label.conf_title').addClass('isDisabled');
|
||||||
|
|||||||
Reference in New Issue
Block a user