function theme_shoutbox_external_files in Shoutbox 7.2
Same name and namespace in other branches
- 6.2 shoutbox.theme.inc \theme_shoutbox_external_files()
- 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_library('system', 'jquery.form');
drupal_add_js(drupal_get_path('module', 'shoutbox') . '/shoutbox-form.js');
}