diff --git a/Models/PermissionState.php b/Models/PermissionState.php index b185938..2ef3619 100755 --- a/Models/PermissionState.php +++ b/Models/PermissionState.php @@ -27,5 +27,6 @@ use phpOMS\Stdlib\Base\Enum; abstract class PermissionState extends Enum { public const CHECKLIST = 1; + public const TEMPLATE = 2; } diff --git a/Theme/Backend/checklist-list.tpl.php b/Theme/Backend/checklist-list.tpl.php index 3d9c1f2..25a3e30 100755 --- a/Theme/Backend/checklist-list.tpl.php +++ b/Theme/Backend/checklist-list.tpl.php @@ -28,24 +28,24 @@ echo $this->getData('nav')->render(); ?>
| = $this->getHtml('ID', '0', '0'); ?> - | = $this->getHtml('Status') ?> - | = $this->getHtml('Name') ?> - | = $this->getHtml('Creator') ?> - | = $this->getHtml('Created') ?> + | = $this->getHtml('Status'); ?> + | = $this->getHtml('Name'); ?> + | = $this->getHtml('Creator'); ?> + | = $this->getHtml('Created'); ?> | |
| = $this->printHtml($value->getId()); ?> - | = $this->printHtml($value->getName()); ?> - | = $this->printHtml($value->getParent()); ?> - | = $this->printHtml($value->getUnit()); ?> - | = $this->printHtml($value->getUnit()); ?> + | = $this->printHtml($value->getId()); ?> + | = $this->printHtml($value->getName()); ?> + | = $this->printHtml($value->getParent()); ?> + | = $this->printHtml($value->getUnit()); ?> + | = $this->printHtml($value->getUnit()); ?> |