Пример #1
0
 /**
  * Prints a combined password input and password
  * confirmation input inside a table row
  *
  * @param string $name      the string used in the 'name' attribute
  * @param string $title     the string used as the label
  * @param mixed  $default   a default value for the element
  * @param int    $size      an integer used in the 'size' attribute
  * @param int    $maxlength an integer used in the 'maxlength' attribute
  * @param string $attr      a string of additional attributes to be put
  *                           in the element (example: 'id="foo"')
  * @param string $thattr    a string of additional attributes to be put
  *                           in the <th> element (example: 'class="foo"')
  * @param string $tdattr    a string of additional attributes to be put
  *                           in the <td> element (example: 'class="foo"')
  * @return void
  *
  * @access public
  * @static
  * @see HTML_Form::displayPasswordOneRow(),
  *      HTML_Form::displayPassword(), HTML_Form::addPassword(),
  *      HTML_Form::returnPassword(), HTML_Form::returnPasswordRow()
  */
 function displayPasswordRow($name, $title, $default = null, $size = HTML_FORM_PASSWD_SIZE, $maxlength = 0, $attr = '', $thattr = HTML_FORM_TH_ATTR, $tdattr = HTML_FORM_TD_ATTR)
 {
     print HTML_Form::returnPasswordRow($name, $title, $default, $size, $maxlength, $attr, $thattr, $tdattr);
 }