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

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

Add css
Fix translations
Finish like box integration

  • Property svn:eol-style set to LF
File size: 3.0 KB
Line 
1<?php
2// +-----------------------------------------------------------------------+
3// | FacebookPlug - a Piwigo Plugin                                        |
4// | Copyright (C) 2010 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    'allow_fb_access_private_page' => true,
33    'async_script' => false,
34    'social_plugin_like_button' => array
35      (
36        'enabled' => true,
37        'url_type' => 'page',
38        'layout' => 'standard',
39        'show_faces' => true,
40        'action' => 'like',
41        'colorscheme' => 'dark',
42      ),
43    'social_plugin_like_box' => array
44      (
45        'enabled' => false,
46        'url' => 'http://www.facebook.com/Piwigo',
47        'url_type' => 'page',
48        'colorscheme' => 'dark',
49        'show_faces' => true,
50        'stream' => true,
51        'header' => true,
52      ),
53  ),
54  unserialize($conf['fbp'])
55  );*/
56
57$conf['fbp'] = array_merge(
58  // default values
59  array
60  (
61    'allow_fb_access_private_page' => true,
62    'async_script' => false,
63    'social_plugin_like_button' => array(),
64    'social_plugin_like_box' => array(),
65  ),
66  unserialize($conf['fbp']));
67
68$conf['fbp']['social_plugin_like_button'] = array_merge(
69  // default values
70  array
71  (
72    'enabled' => true,
73    'url_type' => 'page',
74    'layout' => 'standard',
75    'show_faces' => true,
76    'action' => 'like',
77    'colorscheme' => 'dark',
78    'width' => '',
79  ),
80  $conf['fbp']['social_plugin_like_button']);
81
82$conf['fbp']['social_plugin_like_box'] = array_merge(
83  // default values
84  array
85  (
86    'enabled' => false,
87    'url' => 'http://www.facebook.com/Piwigo',
88    'colorscheme' => 'dark',
89    'show_faces' => true,
90    'stream' => true,
91    'header' => true,
92    'width' => '210',
93  ),
94  $conf['fbp']['social_plugin_like_box']);
95
96//~ print_r($conf['fbp']);
97
98?>
Note: See TracBrowser for help on using the repository browser.