Merged in jennydmz/processmaker/dashbFixAppDel (pull request #1820)

Fixing conflicts
This commit is contained in:
Dante Loayza
2015-03-27 18:03:43 -04:00
2 changed files with 34 additions and 115 deletions

View File

@@ -1,4 +1,13 @@
<?php <?php
G::LoadSystem('inputfilter');
$filter = new InputFilter();
$_POST = $filter->xssFilterHard($_POST);
if(isset($_SESSION['USER_LOGGED'])) {
$_SESSION['USER_LOGGED'] = $filter->xssFilterHard($_SESSION['USER_LOGGED']);
}
if(isset($_SESSION['USR_USERNAME'])) {
$_SESSION['USR_USERNAME'] = $filter->xssFilterHard($_SESSION['USR_USERNAME']);
}
global $RBAC; global $RBAC;
$result = new StdClass(); $result = new StdClass();

View File

@@ -383,7 +383,7 @@ Ext.onReady(function () {
] ]
}) })
}); });
comboRole = new Ext.form.ComboBox({ comboRole = new Ext.form.ComboBox({
fieldLabel : _('ID_ROLE'), fieldLabel : _('ID_ROLE'),
hiddenName : 'USR_ROLE', hiddenName : 'USR_ROLE',
@@ -449,7 +449,6 @@ Ext.onReady(function () {
Ext.getCmp('usernameReview').setVisible(true); Ext.getCmp('usernameReview').setVisible(true);
} }
} }
<<<<<<< HEAD
}, },
{ {
xtype: 'label', xtype: 'label',
@@ -478,58 +477,28 @@ Ext.onReady(function () {
id : 'USR_ZIP_CODE', id : 'USR_ZIP_CODE',
fieldLabel : _('ID_ZIP_CODE'), fieldLabel : _('ID_ZIP_CODE'),
xtype : 'textfield', xtype : 'textfield',
======= width : 260
} },
}, comboCountry,
{ comboRegion,
xtype: 'label', comboLocation,
fieldLabel: ' ', {
id:'usernameReview', id : 'USR_PHONE',
width: 300, fieldLabel : _('ID_PHONE'),
labelSeparator: '' xtype : 'textfield',
}, width : 260
{ },
id : 'USR_EMAIL', {
fieldLabel : '<span style=\"color:red;\" ext:qtip="'+ _('ID_FIELD_REQUIRED', _('ID_EMAIL')) +'"> * </span>' + _('ID_EMAIL'), id : 'USR_POSITION',
vtype : 'email', fieldLabel : _('ID_POSITION'),
xtype : 'textfield', xtype : 'textfield',
width : 260, width : 260
allowBlank : false },
}, comboReplacedBy,
{ dateField,
xtype : 'textarea', comboCalendar,
name : 'USR_ADDRESS', comboStatus,
fieldLabel : _('ID_ADDRESS'), comboRole
labelSeparator : '',
height : 50,
width : 260
},
{
id : 'USR_ZIP_CODE',
fieldLabel : _('ID_ZIP_CODE'),
xtype : 'textfield',
width : 260
},
comboCountry,
comboRegion,
comboLocation,
{
id : 'USR_PHONE',
fieldLabel : _('ID_PHONE'),
xtype : 'textfield',
width : 260
},
{
id : 'USR_POSITION',
fieldLabel : _('ID_POSITION'),
xtype : 'textfield',
width : 260
},
comboReplacedBy,
dateField,
comboCalendar,
comboStatus,
comboRole
] ]
}); });
/*----------------------------------********---------------------------------*/ /*----------------------------------********---------------------------------*/
@@ -564,68 +533,9 @@ Ext.onReady(function () {
fieldLabel : _("ID_PASSWORD_CURRENT"), fieldLabel : _("ID_PASSWORD_CURRENT"),
inputType : "password", inputType : "password",
hidden : (typeof EDITPROFILE != "undefined" && EDITPROFILE == 1)? false : true, hidden : (typeof EDITPROFILE != "undefined" && EDITPROFILE == 1)? false : true,
>>>>>>> upstream/dashboards
width : 260 width : 260
}, },
comboCountry, {
comboRegion,
comboLocation,
{
id : 'USR_PHONE',
fieldLabel : _('ID_PHONE'),
xtype : 'textfield',
width : 260
},
{
id : 'USR_POSITION',
fieldLabel : _('ID_POSITION'),
xtype : 'textfield',
width : 260
},
comboReplacedBy,
dateField,
comboCalendar,
comboStatus,
comboRole
]
});
/*----------------------------------********---------------------------------*/
var costByHour = new Ext.form.FieldSet({
title : _('ID_COSTS'),
items : [
{
id : 'USR_COST_BY_HOUR',
fieldLabel : _('ID_COST_BY_HOUR'),
xtype : 'numberfield',
decimalSeparator : '.',
maxLength : 13,
width : 80
},
{
id : 'USR_UNIT_COST',
fieldLabel : _('ID_UNITS'),
xtype : 'textfield',
maxLength : 50,
width : 80
}
]
});
/*----------------------------------********---------------------------------*/
var passwordFields = new Ext.form.FieldSet({
title : _('ID_CHANGE_PASSWORD'),
items : [
{
xtype : "textfield",
id : "currentPassword",
name : "currentPassword",
fieldLabel : _("ID_PASSWORD_CURRENT"),
inputType : "password",
hidden : (typeof EDITPROFILE != "undefined" && EDITPROFILE == 1)? false : true,
width : 260
},
{
id : 'USR_NEW_PASS', id : 'USR_NEW_PASS',
fieldLabel : MODE == 'edit' ? _('ID_NEW_PASSWORD') : '<span style=\"color:red;\" ext:qtip="'+ _('ID_FIELD_REQUIRED', _('ID_NEW_PASSWORD')) +'"> * </span>' + _('ID_NEW_PASSWORD'), fieldLabel : MODE == 'edit' ? _('ID_NEW_PASSWORD') : '<span style=\"color:red;\" ext:qtip="'+ _('ID_FIELD_REQUIRED', _('ID_NEW_PASSWORD')) +'"> * </span>' + _('ID_NEW_PASSWORD'),
xtype : 'textfield', xtype : 'textfield',