Line | |
---|
1 | <?php |
---|
2 | $default = array( |
---|
3 | 'viewport_width' => 100, |
---|
4 | 'viewport_height' => 500, |
---|
5 | 'min_viewport_width' => 720, |
---|
6 | 'max_viewport_width' => 1500, |
---|
7 | 'speed' => 45, |
---|
8 | 'direction' => 'left', |
---|
9 | 'control_display' => 'auto', |
---|
10 | 'start_position' => 50, |
---|
11 | 'auto_start' => 1, |
---|
12 | 'mode_360' => 0, |
---|
13 | 'loop_180' => 1, |
---|
14 | 'Dir' => ASP_DIR, |
---|
15 | 'Path' => ASP_PATH, |
---|
16 | 'in_mode_360' => '_360', |
---|
17 | 'in_mode_180' => '_180', |
---|
18 | 'In_name_display_removal' => 1, |
---|
19 | 'cont_border' => 2, |
---|
20 | 'cont_border_color' => '#000000', |
---|
21 | 'footer_display' => 'visible', |
---|
22 | 'footer_color' => '#000000', |
---|
23 | 'caption_color' => '#000000', |
---|
24 | 'footer_control_color' => '#FFFFFF' |
---|
25 | ); |
---|
26 | if (!isset($conf['AS_panorama'])) $conf['AS_panorama'] = $default; |
---|
27 | else $conf['AS_panorama'] = array_merge( $default, unserialize($conf['AS_panorama'])); |
---|
28 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.