Chamilo is a learning management system focused on ease of use and accessibility
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
chamilo-lms/plugin/hello_world/index.php

18 lines
387 B

<?php
/**
* @package chamilo.plugin.hello_world
*/
// See also the share_user_info plugin
echo '<div class="well">';
if (!empty($plugin_info['settings']['hello_world_show_type'])) {
echo "<h2>".$plugin_info['settings']['hello_world_show_type']."</h2>";
} else {
echo "<h2>Hello world</h2>";
}
//Using get_lang inside a plugin
echo get_lang('HelloPlugin');
echo '</div>';