[ PHPXref.com ] [ Generated: Sun Jul 20 19:46:00 2008 ] [ phpMyAdmin 2.9.0.3 ]
[ Index ]     [ Variables ]     [ Functions ]     [ Classes ]     [ Constants ]     [ Statistics ]

title

Body

[close]

/js/ -> user_password.js (summary)

(no description)

File Size: 192 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 6 functions

  checkPassword()
  checkAddUser()
  checkUpdProfile()
  getSelected()
  change()
  checkForm()

Functions
Functions that are not part of a class:

checkPassword(the_form)   X-Ref
Validates the password field in a form

param: object   the form
return: boolean  whether the field value is valid or not

checkAddUser()   X-Ref
Validates the "add an user" form

return: boolean  whether the form is validated or not

checkUpdProfile()   X-Ref
Validates the "update a profile" form

return: boolean  whether the form is validated or not

getSelected(the_field)   X-Ref
Gets the list of selected options in combo

param: object  the form to check
return: string  the list of selected options

change(the_field)   X-Ref
Reloads the page to get tables names in a database or fields names in a
table

param: object  the input text box to build the query from

checkForm(the_form, do_check)   X-Ref
Checks/unchecks all privileges

param: string   the form name
param: boolean  whether to check or to uncheck the element
return: boolean  always true



[ Powered by PHPXref - Served by Debian GNU/Linux ]