| @@ -1,6 +1,20 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | + * UserGroupEditForm.php | |
| 4 | + * | |
| 5 | + * Shows the user group edit form at the admin panel. | |
| 6 | + * | |
| 7 | + * PHP versions 5 | |
| 8 | + * | |
| 9 | + * @author Alexander Schneider <alexanderschneider85@gmail.com> | |
| 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/ | |
| 14 | + */ | |
| 15 | + | |
| 16 | +/** | |
| 3 | 17 | * @var UserGroupController $controller |
| 4 | 18 | */ |
| 5 | 19 | |
| 6 | 20 | use UserAccessManager\Controller\Backend\UserGroupController; |
| @@ -23,9 +37,9 @@ | ||
| 23 | 37 | <tbody> |
| 24 | 38 | <tr class="form-field form-required"> |
| 25 | 39 | <th valign="top"><label for="userGroupName"><?php echo TXT_UAM_GROUP_NAME; ?></label></th> |
| 26 | 40 | <td> |
| 27 | - <input size="40" value="<?php echo htmlentities($userGroup->getName() ?? ''); ?>" | |
| 41 | + <input size="40" value="<?php echo htmlentities($userGroup->getName()); ?>" | |
| 28 | 42 | id="userGroupName" name="userGroupName"/><br/> |
| 29 | 43 | <?php echo TXT_UAM_GROUP_NAME_DESC; ?> |
| 30 | 44 | </td> |
| 31 | 45 | </tr> |
| @@ -32,9 +46,9 @@ | ||
| 32 | 46 | <tr class="form-field form-required"> |
| 33 | 47 | <th valign="top"><label for="userGroupDescription"><?php echo TXT_UAM_GROUP_DESC; ?></label> |
| 34 | 48 | </th> |
| 35 | 49 | <td> |
| 36 | - <input size="40" value="<?php echo htmlentities($userGroup->getDescription() ?? ''); ?>" | |
| 50 | + <input size="40" value="<?php echo htmlentities($userGroup->getDescription()); ?>" | |
| 37 | 51 | id="userGroupDescription" name="userGroupDescription"/><br/> |
| 38 | 52 | <?php echo TXT_UAM_GROUP_DESC_DESC; ?> |
| 39 | 53 | </td> |
| 40 | 54 | </tr> |
| @@ -39,9 +53,9 @@ | ||
| 39 | 53 | </td> |
| 40 | 54 | </tr> |
| 41 | 55 | <tr class="form-field form-required"> |
| 42 | 56 | <th valign="top"><label for="ipRange"><?php echo TXT_UAM_GROUP_IP_RANGE; ?></label></th> |
| 43 | - <td><input size="40" value="<?php echo htmlentities($userGroup->getIpRange() ?? ''); ?>" | |
| 57 | + <td><input size="40" value="<?php echo htmlentities($userGroup->getIpRange()); ?>" | |
| 44 | 58 | id="ipRange" name="ipRange"/><br/> |
| 45 | 59 | <?php echo TXT_UAM_GROUP_IP_RANGE_DESC; ?> |
| 46 | 60 | </td> |
| 47 | 61 | </tr> |