| @@ -1,11 +1,22 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @var Input $input | |
| 3 | + * Input.php | |
| 4 | + * | |
| 5 | + * Input form field. | |
| 6 | + * | |
| 7 | + * PHP versions 5 | |
| 8 | + * | |
| 9 | + * @author Alexander Schneider <[email protected]> | |
| 10 | + * @copyright 2008-2017 Alexander Schneider | |
| 11 | + * @license http://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2 | |
| 12 | + * @version SVN: $id$ | |
| 13 | + * @link http://wordpress.org/extend/plugins/user-access-manager/ | |
| 4 | 14 | */ |
| 5 | 15 | |
| 6 | -use UserAccessManager\Form\Element\Input; | |
| 7 | - | |
| 16 | +/** | |
| 17 | + * @var \UserAccessManager\Form\Input $input | |
| 18 | + */ | |
| 8 | 19 | ?> |
| 9 | 20 | <th scope="row"> |
| 10 | 21 | <label for="uam_<?php echo $input->getId(); ?>"> |
| 11 | 22 | <?php echo $input->getLabel(); ?> |
| @@ -12,10 +23,9 @@ | ||
| 12 | 23 | </label> |
| 13 | 24 | </th> |
| 14 | 25 | <td> |
| 15 | 26 | <input id="uam_<?php echo $input->getId(); ?>" |
| 16 | - type="text" | |
| 17 | 27 | name="config_parameters[<?php echo $input->getId(); ?>]" |
| 18 | 28 | value="<?php echo $input->getValue(); ?>"/> |
| 19 | 29 | <br/> |
| 20 | - <p class="description"><?php echo $input->getDescription(); ?></p> | |
| 30 | + <p><?php echo $input->getDescription(); ?></p> | |
| 21 | 31 | </td> |