index.php 438 B

123456789101112131415161718192021222324
  1. <?php
  2. $plugin = StaticPlugin::create();
  3. $content = $plugin->get_content();
  4. $title = $plugin->get_block_title();
  5. $title = $title ? "<h4>$title</h4>" : '';
  6. $css = api_get_css('plugins/static/static.css');
  7. if (empty($content)) {
  8. echo '';
  9. }
  10. echo <<<EOT
  11. <div class="well sidebar-nav static">
  12. $css
  13. <div class="menusection">
  14. $title
  15. <div class="content">
  16. $content
  17. </div>
  18. </div>
  19. </div>
  20. EOT;