2 namespace wcf\system\form\element
;
5 * Provides a password input form element.
7 * @author Alexander Ebert
8 * @copyright 2001-2016 WoltLab GmbH
9 * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
10 * @package com.woltlab.wcf
11 * @subpackage system.form.element
12 * @category Community Framework
14 class PasswordInputFormElement
extends AbstractNamedFormElement
{
18 public function getHTML($formName) {
20 <dl{$this->getErrorClass()}>
21 <dt><label for="{$this->getName()}">{$this->getLabel()}</label></dt>
23 <input type="password" id="{$this->getName()}" name="{$formName}{$this->getName()}" value="{$this->getValue()}" class="medium">
24 <small>{$this->getDescription()}</small>
25 {$this->getErrorField()}