function galleria_set_message in Galleria 6
Helper function to only display messages if the admin option is checked.
3 calls to galleria_set_message()
- galleria_is_valid in ./
galleria.module - Check that the node is a valid Galleria.
- galleria_nodeapi in ./
galleria.module - Implementation of hook_nodeapi().
- theme_galleria_lightbox_link in ./
galleria.module - Theme the link that opens a lightbox with a Galleria in it. Currently only supports Gallerias built from attached files, not imagefield.
File
- ./
galleria.module, line 52 - Turns a node into a Galleria image gallery.
Code
function galleria_set_message($message, $severity) {
if (variable_get('galleria_show_page_warning', 1)) {
drupal_set_message($message, $severity);
}
}