summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lightbox2.module3
1 files changed, 3 insertions, 0 deletions
diff --git a/lightbox2.module b/lightbox2.module
index a3fc6f8..aef89a5 100644
--- a/lightbox2.module
+++ b/lightbox2.module
@@ -329,6 +329,9 @@ function lightbox2_add_files() {
// Lightbox2 Plus
if (!variable_get('lightbox2_lite', false)) {
$css = $path .'/css/lightbox.css';
+ if (variable_get('lightbox2_use_alt_layout', false)) {
+ $css = $path .'/css/lightbox_alt.css';
+ }
if (function_exists('drupal_add_css')) {
drupal_add_css($css);
}