source: extensions/FacebookPlug/Plugin/include/conf.inc.php @ 8425

Last change on this file since 8425 was 8425, checked in by rub, 13 years ago

Happy new year!

Change header of maintained extensions

  • Property svn:eol-style set to LF
File size: 3.6 KB
Line 
1<?php
2// +-----------------------------------------------------------------------+
3// | FacebookPlug - a Piwigo Plugin                                        |
4// | Copyright (C) 2010-2011 Ruben ARNAUD - rub@piwigo.org                 |
5// +-----------------------------------------------------------------------+
6// | This program is free software; you can redistribute it and/or modify  |
7// | it under the terms of the GNU General Public License as published by  |
8// | the Free Software Foundation                                          |
9// |                                                                       |
10// | This program is distributed in the hope that it will be useful, but   |
11// | WITHOUT ANY WARRANTY; without even the implied warranty of            |
12// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
13// | General Public License for more details.                              |
14// |                                                                       |
15// | You should have received a copy of the GNU General Public License     |
16// | along with this program; if not, write to the Free Software           |
17// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
18// | USA.                                                                  |
19// +-----------------------------------------------------------------------+
20
21if (!defined('PHPWG_ROOT_PATH'))
22{
23  die('Hacking attempt!');
24}
25
26global $conf;
27
28$conf['fbp'] = array_merge(
29  // default values
30  array
31  (
32    'facebook_app_id' => null,
33    'async_script' => false,
34    'force_facebook_init' => false,
35    'add_about_informations' => true,
36    'add_group_footer' => true,
37    'add_application_footer' => true,
38    'picture_url_type' => 'page',
39    'allow_fb_access_private_page' => true,
40    'social_plugin_like_button' => array(),
41    'social_plugin_facepile' => array(),
42    'social_plugin_comments' => array(),
43    'social_plugin_like_box' => array(),
44    'social_plugin_activity_feed' => array(),
45  ),
46  unserialize($conf['fbp']));
47
48$conf['fbp']['social_plugin_like_button'] = array_merge(
49  // default values
50  array
51  (
52    'enabled' => true,
53    'layout' => 'standard',
54    'show_faces' => true,
55    'action' => 'like',
56    'colorscheme' => 'dark',
57    'width' => null,
58    'font' => null,
59    'ref' => null,
60  ),
61  $conf['fbp']['social_plugin_like_button']);
62
63$conf['fbp']['social_plugin_facepile'] = array_merge(
64  // default values
65  array
66  (
67    'enabled' => true,
68    'max_rows' => 1,
69    'width' => null,
70  ),
71  $conf['fbp']['social_plugin_facepile']);
72
73$conf['fbp']['social_plugin_comments'] = array_merge(
74  // default values
75  array
76  (
77    'enabled' => false,
78    'numposts' => 3,
79    'css' => null,
80    'title' => null,
81    'simple' => true,
82    'reverse' => false,
83    'publish_feed' => true,
84    'width' => null,
85  ),
86  $conf['fbp']['social_plugin_comments']);
87
88$conf['fbp']['social_plugin_activity_feed'] = array_merge(
89  // default values
90  array
91  (
92    'enabled' => true,
93    'site' => null,
94    'colorscheme' => 'dark',
95    'recommendations' => false,
96    'header' => true,
97    'width' => 210,
98    'height' => null,
99    'border_color' => null,
100    'filter' => null,
101    'ref' => null,
102  ),
103  $conf['fbp']['social_plugin_activity_feed']);
104
105$conf['fbp']['social_plugin_like_box'] = array_merge(
106  // default values
107  array
108  (
109    'enabled' => false,
110    'url' => 'http://www.facebook.com/Piwigo',
111    'colorscheme' => 'dark',
112    'show_faces' => true,
113    'stream' => true,
114    'header' => true,
115    'width' => 210,
116    'height' => null,
117  ),
118  $conf['fbp']['social_plugin_like_box']);
119
120//~ print_r($conf['fbp']);
121
122?>
Note: See TracBrowser for help on using the repository browser.