accessibility_theming.module

  1. cis7 sites/all/modules/ulmus/accessibility/modules/accessibility_theming/accessibility_theming.module
  2. cle7 sites/all/modules/ulmus/accessibility/modules/accessibility_theming/accessibility_theming.module
  3. ecd7 sites/all/modules/ulmus/accessibility/modules/accessibility_theming/accessibility_theming.module
  4. elmsmedia7 sites/all/modules/ulmus/accessibility/modules/accessibility_theming/accessibility_theming.module
  5. harmony7 sites/all/modules/ulmus/accessibility/modules/accessibility_theming/accessibility_theming.module
  6. icor7 sites/all/modules/ulmus/accessibility/modules/accessibility_theming/accessibility_theming.module
  7. meedjum_blog7 sites/all/modules/ulmus/accessibility/modules/accessibility_theming/accessibility_theming.module
  8. mooc7 sites/all/modules/ulmus/accessibility/modules/accessibility_theming/accessibility_theming.module

Functions

File

sites/all/modules/ulmus/accessibility/modules/accessibility_theming/accessibility_theming.module
View source
  1. <?php
  2. /**
  3. * Implements hook_permission().
  4. */
  5. function accessibility_theming_permission() {
  6. return array('access accessibility theming' => array(
  7. 'title' => t('Access accessibility theming'),
  8. 'description' => t('Users can run accessibility tests on the entire page.'))
  9. );
  10. }
  11. /**
  12. * Implements hook_init().
  13. */
  14. function accessibility_theming_page_build(&$page) {
  15. if (!user_access('access accessibility theming')) {
  16. return;
  17. }
  18. accessibility_load();
  19. drupal_add_js(drupal_get_path('module', 'accessibility_theming') . '/js/accessibility_theming.js');
  20. drupal_add_css(drupal_get_path('module', 'accessibility_theming') . '/css/accessibility_theming.css');
  21. }
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.