BUG 9216 Al cambiar el idioma por system settings... SOLVED

- By selecting the language in settings the Dropdown shows no language predefined.
- was add posts to language in the login and system for more information, and was modified the Dropdown for show the language predefined.
This commit is contained in:
Marco Antonio Nina
2012-07-10 17:55:22 -04:00
parent 5b420d115a
commit 8c44e21c1c
5 changed files with 41 additions and 25 deletions

View File

@@ -82,7 +82,7 @@ Ext.onReady(function(){
}
}
});
cmbTimeZone.setValue(sysConf.time_zone);
saveButton = new Ext.Action({
@@ -90,12 +90,10 @@ Ext.onReady(function(){
disabled : true,
handler : saveSettings
});
xfields = new Ext.form.FieldSet({
xfieldsUp = new Ext.form.FieldSet({
title: _('ID_SYSTEM_SETTINGS'),
items : [
cmbSkins,
cmbLang,
cmbTimeZone,
{
xtype: 'numberfield',
@@ -109,23 +107,29 @@ Ext.onReady(function(){
changeSettings();
}
}
}/*,
{
name: 'forgotPasswd',
xtype: 'checkbox',
checked: false, //forgotPasswd,
fieldLabel: _('ID_ENABLE_FOTGOT_PASSWORD'),
listeners:{
check:function(){
changeSettings();
}
}
}*/
],
buttons : [saveButton]
}
]
});
xfieldsBelow = new Ext.form.FieldSet({
title: '',
items : [
cmbSkins,
cmbLang,
{
xtype: 'panel',
anchor: '100%',
bodyStyle:'padding:5px',
frame: true,
height: 'auto',
html:'The language that is set by default applies directly when the domain is entered '+
' (eg.- http://127.0.0.1:8081), the system reads the configuration and redirects '+
' the link to the selected language (eg.- http://127.0.0.1:8081/sys/en/classic/login/login),'+
' it should be emphasized that this configuration is for all environments.'
}
]
});
var frm = new Ext.FormPanel({
title: '&nbsp',
id:'frm',
@@ -133,7 +137,7 @@ Ext.onReady(function(){
width:460,
labelAlign:'right',
autoScroll: true,
bodyStyle:'padding:2px',
bodyStyle:'padding:5px',
waitMsgTarget : true,
frame: true,
@@ -142,7 +146,8 @@ Ext.onReady(function(){
msgTarget: 'side',
align:'center'
},
items:[ xfields ]
items:[ xfieldsUp, xfieldsBelow ],
buttons : [saveButton]
});
//render to process-panel