Source for file Password.php
Documentation is available at Password.php
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at
* http://formagic.weasle.de/licence.txt
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to licence@weasle.de so we can send you a copy immediately.
* @author Florian Sonnenburg
* @copyright Copyright (c) 2007 Florian Sonnenburg
* @license http://formagic.weasle.de/licence.txt New BSD License
* @revision $Revision: 11 $
* Password type input field für formagic formgenerator
* @author Florian Sonnenburg
* @copyright Copyright (c) 2007
* @version $Id: Password.php 11 2007-08-12 20:02:57Z meweasle $
* Returns string representation of password item.
* Will not render clear text password to HTML
// if ($this->isPostItem) {
// $str .= '<input type="hidden" name="' . $this->name . '" value="' . $val . '" />';
// $str = '<input type="password" name="' . $this->name . '" id="' . $this->id .
// '" value="' . $val . '"' . $this->_getAttributeStr() . ' />';
$str = "<input type=\"password\" name=\"{$this->name}\" id=\"{ $this->id}\" " .
|