source: extensions/Panoramas/AS_Panorama_default.php @ 20461

Last change on this file since 20461 was 19535, checked in by Klarsfeld, 11 years ago
File size: 814 bytes
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        'Ver' => ASP_VER,
17        'in_mode_360' => '_360',
18        'in_mode_180' => '_180',
19        'In_name_display_removal' => 1,
20        'cont_border' => 2,
21        'cont_border_color' => '#000000',
22        'footer_display' => 'visible',
23        'footer_color' => '#000000',
24        'caption_color' => '#000000',
25        'footer_control_color' => '#FFFFFF'
26  );
27  if (!isset($conf['AS_panorama'])) $conf['AS_panorama'] = $default;
28  else $conf['AS_panorama'] = array_merge( $default, unserialize($conf['AS_panorama']));
29?>
Note: See TracBrowser for help on using the repository browser.