Bug #2240 » view.user.patch
administrator/components/com_comprofiler/view/view.user.php | ||
---|---|---|
?>
|
||
var errorMSG = '';
|
||
var iserror=0;
|
||
var gid = '';
|
||
if (cbDefaultFieldbackgroundColor === undefined) cbDefaultFieldbackgroundColor = ((me['username'].style.getPropertyValue) ? me['username'].style.getPropertyValue("backgroundColor") : me['username'].style.backgroundColor);
|
||
<?php echo $tabs->fieldJS; ?>
|
||
if (me['username'].value == "") {
|
||
... | ... | |
if (me['password'].style.backgroundColor.slice(0,3)=="red") me['password'].style.backgroundColor = cbDefaultFieldbackgroundColor;
|
||
if (me['password__verify'].style.backgroundColor.slice(0,3)=="red") me['password__verify'].style.backgroundColor = cbDefaultFieldbackgroundColor;
|
||
}
|
||
if (me['gid'].value == "") {
|
||
<?php if ( checkJversion() == 2 ) { ?>
|
||
gid = me['gid[]'].value;
|
||
<?php } else { ?>
|
||
gid = me['gid'].value;
|
||
<?php } ?>
|
||
if (gid == "") {
|
||
errorMSG += '<?php echo addslashes( CBTxt::T('You must assign user to a group.') ); ?>' + "\n";
|
||
iserror=1;
|
||
}
|
- « Previous
- 1
- …
- 3
- 4
- 5
- Next »