Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions classes/settingstools.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,10 @@ public static function fetch_template_pages($conf) {
get_string('templateinstructions', 'filter_generico', $tindex),
get_string('templateinstructions_desc', 'filter_generico'),
'', PARAM_RAW));
// Template hidden.
$settingspage->add(new \admin_setting_configcheckbox('filter_generico/templatehidden_' . $tindex,
get_string('templatehidden', 'filter_generico', $tindex),
get_string('templatehidden_desc', 'filter_generico'), 0));

// Template body.
$settingspage->add(new \admin_setting_configtextarea('filter_generico/template_' . $tindex,
Expand Down
2 changes: 2 additions & 0 deletions lang/en/filter_generico.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@
$string['templateheading'] = 'Settings for Generico Template {$a}';
$string['templateheadingcss'] = 'CSS/Style Settings.';
$string['templateheadingjs'] = 'Javascript Settings.';
$string['templatehidden'] = 'Hidden (template {$a})';
$string['templatehidden_desc'] = 'Hide this template from the Generico editor plugin.';
$string['templateinstructions'] = 'Instructions (template {$a})';
$string['templateinstructions_desc'] = 'Any instructions entered here will be displayed on the Generic atto form for this template is displayed. Keep them short or it will look bad.';
$string['templatekey'] = 'The key that identifies template {$a}';
Expand Down
6 changes: 3 additions & 3 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
*/

defined('MOODLE_INTERNAL') || die();

$plugin->version = 2025100500; // The current plugin version (Date: YYYYMMDDXX).
$plugin->version = 2026070700; // The current plugin version (Date: YYYYMMDDXX).
$plugin->requires = 2022112800; // Requires this Moodle version.
$plugin->component = 'filter_generico'; // Full name of the plugin (used for diagnostics).
$plugin->maturity = MATURITY_STABLE;
$plugin->release = 'Version 1.4.25 (Build 2025100500)';
$plugin->release = 'Version 1.4.26 (Build 2026070700)';
$plugin->supported = [401, 405];
Loading