' . 34 | get_string('welcomegettingstarted', 'hvp', array( 35 | 'moodle_tutorial' => 'href="https://h5p.org/moodle" target="_blank"', 36 | 'example_content' => 'href="https://h5p.org/content-types-and-applications" target="_blank"' 37 | )) . 38 | '
' . 39 | '' . 40 | get_string('welcomecommunity', 'hvp', array( 41 | 'forums' => 'href="https://h5p.org/forum" target="_blank"' 42 | )) . 43 | '
' . 44 | '' . get_string('welcomecontactus', 'hvp', 45 | 'href="https://h5p.org/contact" target="_blank"') . 46 | '
'; 47 | 48 | // Notify of communication with H5P Hub. 49 | // @codingStandardsIgnoreLine 50 | echo "H5P fetches content types directly from the H5P Hub. In order to do this the H5P plugin will communicate with the Hub once a day to fetch information about new and updated content types. It will send in anonymous data to the Hub about H5P usage. Read more at the plugin communication page at H5P.org.
"; 51 | 52 | \mod_hvp\framework::printMessages('info', \mod_hvp\framework::messages('info')); 53 | \mod_hvp\framework::printMessages('error', \mod_hvp\framework::messages('error')); 54 | } 55 | -------------------------------------------------------------------------------- /db/messages.php: -------------------------------------------------------------------------------- 1 | . 16 | 17 | /** 18 | * Defines message providers (types of message sent) for the hvp module. 19 | * 20 | * @package mod_hvp 21 | * @copyright 2020 Joubel AS