diff options
Diffstat (limited to 'modules/lightbox/lb_defaultconfig.php')
| -rw-r--r-- | modules/lightbox/lb_defaultconfig.php | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/modules/lightbox/lb_defaultconfig.php b/modules/lightbox/lb_defaultconfig.php index fcd558670d..9f5205b720 100644 --- a/modules/lightbox/lb_defaultconfig.php +++ b/modules/lightbox/lb_defaultconfig.php @@ -52,38 +52,38 @@ try { // TODO: it will be more efficient to fetch all LB_% settings in a single DB query -$mediatab=get_site_setting('LB_ENABLED', '1'); // Individual Page Media Tab +$mediatab=get_module_setting('lightbox', 'LB_ENABLED', '1'); // Individual Page Media Tab // Set to 0 to hide Media Tab on Indi page from All Users, // Set to 1 to show Media Tab on Indi page to All Users, [Default] -$LB_AL_HEAD_LINKS=get_site_setting('LB_AL_HEAD_LINKS', 'both'); // Album Tab Page Header Links. +$LB_AL_HEAD_LINKS=get_module_setting('lightbox', 'LB_AL_HEAD_LINKS', 'both'); // Album Tab Page Header Links. // Set to 'icon' to view icon links. // Set to 'text' to view text links // Set to 'both' to view both. -$LB_TT_BALLOON=get_site_setting('LB_TT_BALLOON', 'true'); // Album Tab Page - Above Thumbnail Links. +$LB_TT_BALLOON=get_module_setting('lightbox', 'LB_TT_BALLOON', 'true'); // Album Tab Page - Above Thumbnail Links. // Set to 'true' to view Tooltip Balloon. // Set to 'false' to view Tooltip Normal. -$LB_AL_THUMB_LINKS=get_site_setting('LB_AL_THUMB_LINKS', 'text'); // Album Tab Page - Below Thumbnail Links. +$LB_AL_THUMB_LINKS=get_module_setting('lightbox', 'LB_AL_THUMB_LINKS', 'text'); // Album Tab Page - Below Thumbnail Links. // Set to 'icon' to view icon links. // Set to 'text' to view text links. [Default] -$LB_SS_SPEED=get_site_setting('LB_SS_SPEED', '6'); // SlideShow speed in seconds. [Min 2 max 25] +$LB_SS_SPEED=get_module_setting('lightbox', 'LB_SS_SPEED', '6'); // SlideShow speed in seconds. [Min 2 max 25] -$LB_MUSIC_FILE=get_site_setting('LB_MUSIC_FILE', 'modules/lightbox/music/music.mp3'); // The music file. [mp3 only] +$LB_MUSIC_FILE=get_module_setting('lightbox', 'LB_MUSIC_FILE', 'modules/lightbox/music/music.mp3'); // The music file. [mp3 only] -$LB_TRANSITION=get_site_setting('LB_TRANSITION', 'warp'); // Next or Prvious Image Transition effect +$LB_TRANSITION=get_module_setting('lightbox', 'LB_TRANSITION', 'warp'); // Next or Prvious Image Transition effect // Set to 'none' No transtion effect. // Set to 'normal' Normal transtion effect. // Set to 'double' Fast transition effect. // Set to 'warp' Stretch transtition effect. [Default] -$LB_URL_WIDTH =get_site_setting('LB_URL_WIDTH', '1000'); // URL Window width in pixels -$LB_URL_HEIGHT=get_site_setting('LB_URL_HEIGHT', '600'); // URL Window height in pixels +$LB_URL_WIDTH =get_module_setting('lightbox', 'LB_URL_WIDTH', '1000'); // URL Window width in pixels +$LB_URL_HEIGHT=get_module_setting('lightbox', 'LB_URL_HEIGHT', '600'); // URL Window height in pixels -$LB_ML_THUMB_LINKS = get_site_setting('LB_ML_THUMB_LINKS', 'text'); // MultiMedia List Page Thumbnail Links +$LB_ML_THUMB_LINKS = get_module_setting('lightbox', 'LB_ML_THUMB_LINKS', 'text'); // MultiMedia List Page Thumbnail Links // Set to 'icon' to view icon links. // Set to 'text' to view text links. [Default] // Set to 'both' to view both. @@ -92,5 +92,5 @@ $LB_ML_THUMB_LINKS = get_site_setting('LB_ML_THUMB_LINKS', 'text'); // MultiMe // End Configuration Parameters ------------------------------------------------- // Tab id no for Lightbox -$tabno=get_site_setting('GM_ENABLED') ? 8 : 7; +$tabno=get_module_setting('lightbox', 'GM_ENABLED') ? 8 : 7; ?> |
