projects
/
project/lightbox2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
e8b3345
)
added in drupal_add_css() call for alternative lightbox layout
author
Stella Power
Mon, 26 Nov 2007 14:36:03 +0000 (14:36 +0000)
committer
Stella Power
Mon, 26 Nov 2007 14:36:03 +0000 (14:36 +0000)
lightbox2.module
patch
|
blob
|
blame
|
history
diff --git
a/lightbox2.module
b/lightbox2.module
index
a3fc6f8
..
aef89a5
100644
(file)
--- 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);
}