adminimal-status-check.inc 524 B

12345678910111213141516171819
  1. <?php
  2. /**
  3. * @file
  4. * This file adds a warning message if the theme is beeing used disabled.
  5. */
  6. // Define the base site url.
  7. global $base_url;
  8. // Display the warning in its own div.
  9. print theme('html_tag', array(
  10. 'element' => array(
  11. '#tag' => 'div',
  12. '#attributes' => array(
  13. 'class' => 'messages theme-disabled',
  14. ),
  15. '#value' => t('Adminimal Theme must be enabled to work properly. Please enable it from the <a href="@link">Appearance page</a>.', array('@link' => $base_url . '/admin/appearance')),
  16. ),
  17. ));