Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dev: NON_FUNCTIONING! Started to implement settings as xml configurat…
…ion files
- Loading branch information
Showing
10 changed files
with
218 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
application/views/admin/survey/settings/generalsettings.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
This is a config file for a menu entry in the survey settings. | ||
All Entries in the surveysettings will need to have xml-files | ||
This Entries can either point to a general template file, or to a newly created user template | ||
--> | ||
<config core="true"> | ||
<name>generalsettings</name> | ||
<title>Edit survey settings</title> | ||
<menu> | ||
<title>General settings</title> | ||
<description>General survey settings</description> | ||
<classes></classes> | ||
<icon type="fontawesome">fa-gears</icon> | ||
</menu> | ||
<version>1.0.0</version> | ||
<action>updatesurveylocalesettings</action> | ||
<!-- This is currently necessary, though the generation of the admin pages is not finished at all --> | ||
<template>/admin/survey/editLocalSettings_main_view</template> | ||
<!-- Hopefully we will have time to recreate the genearion of the admin pages through a.e. TWIG --> | ||
<partial>/admin/survey/subview/accordion/_generaloptions_panel</partial> | ||
<language></language> | ||
<permission>surveysettings</permission> | ||
<permissionGrade>read</permissionGrade> | ||
<classes>col-sm-12 col-md-5</classes> | ||
<!-- Hopefully we can define some standardized methods to fill the data soon. | ||
For now we will define a method in surveyadmin | ||
<data></data> | ||
--> | ||
<getdatamethod>_generalTabEditSurvey</getdatamethod> | ||
</config> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
This is a config file for a menu entry in the survey settings. | ||
All Entries in the surveysettings will need to have xml-files | ||
This Entries can either point to a general template file, or to a newly created user template | ||
--> | ||
<config core="true"> | ||
<name>generalsettings</name> | ||
<title>Edit survey text elements</title> | ||
<menu> | ||
<title>General settings</title> | ||
<description>Survey texts</description> | ||
<classes></classes> | ||
<icon type="fontawesome">fa-file-text-o</icon> | ||
</menu> | ||
<version>1.0.0</version> | ||
<action>surveygeneralsettings</action> | ||
<!-- This is currently necessary, though the generation of the admin pages is not finished at all --> | ||
<template>/admin/survey/editLocalSettings_main_view</template> | ||
<!-- Hopefully we will have time to recreate the geneartion of the admin pages through a.e. TWIG --> | ||
<partial>/admin/survey/subview/tab_edit_view</partial> | ||
<language> | ||
<partial>/admin/survey/editLocalSettings_view</partial> | ||
</language> | ||
<permission>surveylocale</permission> | ||
<permissionGrade>read</permissionGrade> | ||
<classes>col-sm-12 col-md-7 content-right</classes> | ||
<!-- Hopefully we can define some standardized methods to fill the data soon. | ||
For now we will define a method in surveyadmin | ||
<data></data> | ||
--> | ||
<getdatamethod>_generalTabEditSurvey</getdatamethod> | ||
</config> |
Oops, something went wrong.