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

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

Add share icon on picture and album page

Rename footer.lang.php to common.lang.php
Remove use of target to open a new window

  • 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    'share_picture' => true,
40    'share_album' => true,
41    'allow_fb_access_private_page' => true,
42    'social_plugin_like_button' => array(),
43    'social_plugin_facepile' => array(),
44    'social_plugin_comments' => array(),
45    'social_plugin_like_box' => array(),
46    'social_plugin_activity_feed' => array(),
47  ),
48  unserialize($conf['fbp']));
49
50$conf['fbp']['social_plugin_like_button'] = array_merge(
51  // default values
52  array
53  (
54    'enabled' => true,
55    'layout' => 'standard',
56    'show_faces' => true,
57    'action' => 'like',
58    'colorscheme' => 'dark',
59    'width' => null,
60    'font' => null,
61    'ref' => null,
62  ),
63  $conf['fbp']['social_plugin_like_button']);
64
65$conf['fbp']['social_plugin_facepile'] = array_merge(
66  // default values
67  array
68  (
69    'enabled' => true,
70    'max_rows' => 1,
71    'width' => null,
72  ),
73  $conf['fbp']['social_plugin_facepile']);
74
75$conf['fbp']['social_plugin_comments'] = array_merge(
76  // default values
77  array
78  (
79    'enabled' => false,
80    'numposts' => 3,
81    'css' => null,
82    'title' => null,
83    'simple' => true,
84    'reverse' => false,
85    'publish_feed' => true,
86    'width' => null,
87  ),
88  $conf['fbp']['social_plugin_comments']);
89
90$conf['fbp']['social_plugin_activity_feed'] = array_merge(
91  // default values
92  array
93  (
94    'enabled' => true,
95    'site' => null,
96    'colorscheme' => 'dark',
97    'recommendations' => false,
98    'header' => true,
99    'width' => 210,
100    'height' => null,
101    'border_color' => null,
102    'filter' => null,
103    'ref' => null,
104  ),
105  $conf['fbp']['social_plugin_activity_feed']);
106
107$conf['fbp']['social_plugin_like_box'] = array_merge(
108  // default values
109  array
110  (
111    'enabled' => false,
112    'url' => 'http://www.facebook.com/Piwigo',
113    'colorscheme' => 'dark',
114    'show_faces' => true,
115    'stream' => true,
116    'header' => true,
117    'width' => 210,
118    'height' => null,
119  ),
120  $conf['fbp']['social_plugin_like_box']);
121
122//~ print_r($conf['fbp']);
123
124?>
Note: See TracBrowser for help on using the repository browser.