diff --git a/classes/search/activity.php b/classes/search/activity.php new file mode 100644 index 0000000..f3c85c1 --- /dev/null +++ b/classes/search/activity.php @@ -0,0 +1,38 @@ +. + +/** + * Search area for mod_customcert activities. + * + * @package mod_customcert + * @copyright 2016 Mark Nelson + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ + +namespace mod_customcert\search; + +defined('MOODLE_INTERNAL') || die(); + +/** + * Search area for mod_customcert activities. + * + * @package mod_customcert + * @copyright 2016 Mark Nelson + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ +class activity extends \core_search\base_activity { + +} diff --git a/lang/en/customcert.php b/lang/en/customcert.php index 28e4c33..680aedd 100644 --- a/lang/en/customcert.php +++ b/lang/en/customcert.php @@ -108,6 +108,7 @@ $string['saveandclose'] = 'Save and close'; $string['saveandcontinue'] = 'Save and continue'; $string['savechangespreview'] = 'Save changes and preview'; $string['savetemplate'] = 'Save template'; +$string['search:activity'] = 'Custom certificate - activity information'; $string['setprotection'] = 'Set protection'; $string['setprotection_help'] = 'Choose the actions you wish to prevent users from performing on this certificate.'; $string['summaryofissue'] = 'Summary of issue'; diff --git a/version.php b/version.php index 1ef024a..74ef0a9 100644 --- a/version.php +++ b/version.php @@ -24,7 +24,7 @@ defined('MOODLE_INTERNAL') || die('Direct access to this script is forbidden.'); -$plugin->version = 2016052300; // The current module version (Date: YYYYMMDDXX). +$plugin->version = 2016052301; // The current module version (Date: YYYYMMDDXX). $plugin->requires = 2016052300; // Requires this Moodle version (3.1). $plugin->cron = 0; // Period for cron to check this module (secs). $plugin->component = 'mod_customcert';