You are here

function theme_shoutbox_external_files in Shoutbox 6.2

Same name and namespace in other branches
  1. 7.2 shoutbox.theme.inc \theme_shoutbox_external_files()
  2. 7 shoutbox.theme.inc \theme_shoutbox_external_files()

Load external files (JS & CSS)

4 theme calls to theme_shoutbox_external_files()
shoutbox_delete_form in ./shoutbox.pages.inc
Shout delete confirmation form
shoutbox_publish_form in ./shoutbox.pages.inc
Shout publish confirmation form
shoutbox_unpublish_form in ./shoutbox.pages.inc
Shout unpublish confirmation form
shoutbox_view in ./shoutbox.module
View the shoutbox

File

./shoutbox.theme.inc, line 11
Theme callbacks for the shoutbox module.

Code

function theme_shoutbox_external_files() {
  drupal_add_css(drupal_get_path('module', 'shoutbox') . '/shoutbox.css');
  drupal_add_js('misc/jquery.form.js');
  drupal_add_js(drupal_get_path('module', 'shoutbox') . '/shoutbox-form.js', 'module');
}