diff --git a/Controller/BackendController.php b/Controller/BackendController.php index e19624f..6f63c2c 100755 --- a/Controller/BackendController.php +++ b/Controller/BackendController.php @@ -34,7 +34,7 @@ use phpOMS\Views\View; final class BackendController extends Controller { /** - * Routing end-point for application behaviour. + * Routing end-point for application behavior. * * @param RequestAbstract $request Request * @param ResponseAbstract $response Response @@ -52,7 +52,7 @@ final class BackendController extends Controller } /** - * Routing end-point for application behaviour. + * Routing end-point for application behavior. * * @param RequestAbstract $request Request * @param ResponseAbstract $response Response @@ -87,7 +87,7 @@ final class BackendController extends Controller } /** - * Routing end-point for application behaviour. + * Routing end-point for application behavior. * * @param RequestAbstract $request Request * @param ResponseAbstract $response Response @@ -108,7 +108,7 @@ final class BackendController extends Controller } /** - * Routing end-point for application behaviour. + * Routing end-point for application behavior. * * @param RequestAbstract $request Request * @param ResponseAbstract $response Response @@ -148,7 +148,7 @@ final class BackendController extends Controller } /** - * Routing end-point for application behaviour. + * Routing end-point for application behavior. * * @param RequestAbstract $request Request * @param ResponseAbstract $response Response diff --git a/Models/PermissionCategory.php b/Models/PermissionCategory.php index c261c9c..a74e2c2 100755 --- a/Models/PermissionCategory.php +++ b/Models/PermissionCategory.php @@ -17,7 +17,7 @@ namespace Modules\Surveys\Models; use phpOMS\Stdlib\Base\Enum; /** - * Permision state enum. + * Permission category enum. * * @package Modules\Surveys\Models * @license OMS License 2.0 diff --git a/Theme/Backend/Lang/de.lang.php b/Theme/Backend/Lang/de.lang.php index 9dabc3f..15190ea 100755 --- a/Theme/Backend/Lang/de.lang.php +++ b/Theme/Backend/Lang/de.lang.php @@ -49,4 +49,8 @@ return ['Surveys' => [ 'Type' => 'Typ', 'User' => 'Nutzer', 'UserGroup' => 'Benutzergruppe', + 'Headline' => 'Headline', + 'Textfield' => 'Textfeld', + 'Textarea' => 'Textblock', + 'Numeric' => 'Zahl', ]]; diff --git a/Theme/Backend/Lang/en.lang.php b/Theme/Backend/Lang/en.lang.php index 6dab99b..68b0602 100755 --- a/Theme/Backend/Lang/en.lang.php +++ b/Theme/Backend/Lang/en.lang.php @@ -49,4 +49,8 @@ return ['Surveys' => [ 'Type' => 'Type', 'User' => 'User', 'UserGroup' => 'User/Group', + 'Headline' => 'Headline', + 'Textfield' => 'Textfield', + 'Textarea' => 'Textarea', + 'Numeric' => 'Numeric', ]]; diff --git a/Theme/Backend/surveys-create.tpl.php b/Theme/Backend/surveys-create.tpl.php index 82f81d5..00aca1f 100755 --- a/Theme/Backend/surveys-create.tpl.php +++ b/Theme/Backend/surveys-create.tpl.php @@ -35,27 +35,51 @@ echo $this->data['nav']->render(); ?>
getHtml('Survey'); ?>
- -
-
-
-
-
-
- -
-
-
+
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+
+ +
+
+ +
+ + +
+ +
+ + +
+ +
+
@@ -65,23 +89,38 @@ echo $this->data['nav']->render(); ?>
-
-

getHtml('Element'); ?>

-
- - -
-
-
-
-
- -
+
+
+
getHtml('Element'); ?>
+
+
+ + +
+ +
+ + +
+ +
+ + +
+
+
+ +
+
diff --git a/Theme/Backend/surveys-list.tpl.php b/Theme/Backend/surveys-list.tpl.php index 17b1eab..746716c 100755 --- a/Theme/Backend/surveys-list.tpl.php +++ b/Theme/Backend/surveys-list.tpl.php @@ -34,38 +34,6 @@ $next = empty($surveys) ? '{/base}/survey/list' : '{/base}/survey/list?{?}&i echo $this->data['nav']->render(); ?> -
-
-
- -
-
-
-
@@ -128,33 +96,6 @@ echo $this->data['nav']->render(); ?> filter_alt - - - - folder_open - .. - - - - - - $value) : ++$count; - $url = UriFactory::build('{/base}/survey/list?path=' . \rtrim($value->getVirtualPath(), '/') . '/' . $value->name); - ?> - - - folder_open - printHtml($value->name); ?> - - printHtml($this->renderUserName('%3$s %2$s %1$s', [$value->createdBy->name1, $value->createdBy->name2, $value->createdBy->name3, $value->createdBy->login ?? ''])); ?> - printHtml($value->createdAt->format('Y-m-d')); ?> - $value) : ++$count;