index.php 385 B

12345678910111213141516171819
  1. <?php
  2. /**
  3. * @package chamilo.plugin.hello_world
  4. */
  5. // See also the share_user_info plugin
  6. echo '<div class="well">';
  7. if (!empty($plugin_info['settings']['hello_world_show_type'])) {
  8. echo "<h2>".$plugin_info['settings']['hello_world_show_type']."</h2>";
  9. } else {
  10. echo "<h2>Hello world</h2>";
  11. }
  12. //Using get_lang inside a plugin
  13. echo get_lang('HelloPlugin');
  14. echo '</div>';