Added global settings to plugin #18
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I'm making this pull request on behalf of Alexander Bias.
This is a fix to issues #16 and #17.
I added a setting possibility to decide if the titles should be forced
to use or not (then the summary would be taken if the default title is
set and the summary is not empty). This should fix issue #17
And then I added a settings.php to enable global settings. There the
admin can set the default value and is able to lock the settings so
that teachers cannot change value anymore. This setting simply will not
be presented to the teacher in the individual block settings. This
should fix and extent issue #16.
Concerning the strings: I tried my best with it. If you have a better idea for naming or description texts, feel free to change them.