@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | // Show the FACEBOOK login button |
3 | -$_template['show_message'] = false; |
|
3 | +$_template['show_message'] = false; |
|
4 | 4 | |
5 | 5 | //if (api_is_anonymous() && api_get_setting('facebook_login_activate') == 'true') { |
6 | 6 | if (api_is_anonymous()) { |
7 | 7 | require_once api_get_path(SYS_CODE_PATH)."auth/external_login/facebook.inc.php"; |
8 | - $_template['show_message'] = true; |
|
8 | + $_template['show_message'] = true; |
|
9 | 9 | // the default title |
10 | 10 | $button_url = api_get_path(WEB_PLUGIN_PATH)."add_facebook_login_button/img/cnx_fb.png"; |
11 | 11 | $href_link = facebookGetLoginUrl(); |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | // Show the FACEBOOK login button |
3 | -$_template['show_message'] = false; |
|
3 | +$_template['show_message'] = false; |
|
4 | 4 | |
5 | 5 | //if (api_is_anonymous() && api_get_setting('facebook_login_activate') == 'true') { |
6 | 6 | if (api_is_anonymous()) { |
7 | 7 | require_once api_get_path(SYS_CODE_PATH)."auth/external_login/facebook.inc.php"; |
8 | - $_template['show_message'] = true; |
|
8 | + $_template['show_message'] = true; |
|
9 | 9 | // the default title |
10 | 10 | $button_url = api_get_path(WEB_PLUGIN_PATH)."add_facebook_login_button/img/cnx_fb.png"; |
11 | 11 | $href_link = facebookGetLoginUrl(); |
@@ -8,7 +8,7 @@ |
||
8 | 8 | /** |
9 | 9 | * Initialization |
10 | 10 | */ |
11 | -require_once dirname(__FILE__) . '/config.php'; |
|
11 | +require_once dirname(__FILE__).'/config.php'; |
|
12 | 12 | if (!api_is_platform_admin()) { |
13 | 13 | die ('You must have admin permissions to install plugins'); |
14 | 14 | } |
@@ -8,7 +8,7 @@ |
||
8 | 8 | /** |
9 | 9 | * Initialization |
10 | 10 | */ |
11 | -require_once dirname(__FILE__) . '/config.php'; |
|
11 | +require_once dirname(__FILE__).'/config.php'; |
|
12 | 12 | if (!api_is_platform_admin()) { |
13 | 13 | die ('You must have admin permissions to install plugins'); |
14 | 14 | } |
@@ -7,7 +7,7 @@ |
||
7 | 7 | * @package chamilo.plugin.clockworksms |
8 | 8 | * @author Imanol Losada <[email protected]> |
9 | 9 | */ |
10 | -require_once __DIR__ . '/../../main/inc/global.inc.php'; |
|
10 | +require_once __DIR__.'/../../main/inc/global.inc.php'; |
|
11 | 11 | |
12 | 12 | require_once 'lib/clockworksms.lib.php'; |
13 | 13 | require_once 'vendor/clockworksms_api.php'; |
@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | /* For license terms, see /license.txt */ |
3 | 3 | |
4 | -require_once dirname(__FILE__) . '/config.php'; |
|
4 | +require_once dirname(__FILE__).'/config.php'; |
|
5 | 5 | |
6 | 6 | if (!api_is_platform_admin()) { |
7 | 7 | die ('You must have admin permissions to install plugins'); |
@@ -16,54 +16,54 @@ |
||
16 | 16 | * along with php-pens. If not, see <http://www.gnu.org/licenses/>. |
17 | 17 | */ |
18 | 18 | |
19 | - /** |
|
20 | - * PENSConfig |
|
21 | - * |
|
22 | - * Provides the PENSConfig class |
|
23 | - * |
|
24 | - * @package PENS |
|
25 | - * @author Guillaume Viguier-Just <[email protected]> |
|
26 | - * @licence http://www.gnu.org/licenses/gpl.txt |
|
27 | - */ |
|
19 | + /** |
|
20 | + * PENSConfig |
|
21 | + * |
|
22 | + * Provides the PENSConfig class |
|
23 | + * |
|
24 | + * @package PENS |
|
25 | + * @author Guillaume Viguier-Just <[email protected]> |
|
26 | + * @licence http://www.gnu.org/licenses/gpl.txt |
|
27 | + */ |
|
28 | 28 | |
29 | - /** |
|
30 | - * PENSConfig |
|
31 | - * |
|
32 | - * This class provides different static variables to configure php-pens. |
|
33 | - * |
|
34 | - * @package PENS |
|
35 | - * @author Guillaume Viguier-Just <[email protected]> |
|
36 | - * @licence http://www.gnu.org/licenses/gpl.txt |
|
37 | - */ |
|
29 | + /** |
|
30 | + * PENSConfig |
|
31 | + * |
|
32 | + * This class provides different static variables to configure php-pens. |
|
33 | + * |
|
34 | + * @package PENS |
|
35 | + * @author Guillaume Viguier-Just <[email protected]> |
|
36 | + * @licence http://www.gnu.org/licenses/gpl.txt |
|
37 | + */ |
|
38 | 38 | class PENSConfig { |
39 | 39 | |
40 | - /** |
|
41 | - * PENS version |
|
42 | - * @var string |
|
43 | - */ |
|
44 | - public static $version = "1.0.0"; |
|
40 | + /** |
|
41 | + * PENS version |
|
42 | + * @var string |
|
43 | + */ |
|
44 | + public static $version = "1.0.0"; |
|
45 | 45 | |
46 | - /** |
|
47 | - * Allowed commands |
|
48 | - * @var array |
|
49 | - */ |
|
50 | - public static $allowed_commands = array("collect", "receipt", "alert"); |
|
46 | + /** |
|
47 | + * Allowed commands |
|
48 | + * @var array |
|
49 | + */ |
|
50 | + public static $allowed_commands = array("collect", "receipt", "alert"); |
|
51 | 51 | |
52 | - /** |
|
53 | - * Allowed package types |
|
54 | - * @var array |
|
55 | - */ |
|
56 | - public static $allowed_package_types = array("aicc-pkg", "scorm-pif", "ims-qti"); |
|
52 | + /** |
|
53 | + * Allowed package types |
|
54 | + * @var array |
|
55 | + */ |
|
56 | + public static $allowed_package_types = array("aicc-pkg", "scorm-pif", "ims-qti"); |
|
57 | 57 | |
58 | - /** |
|
59 | - * Allowed package formats |
|
60 | - * @var array |
|
61 | - */ |
|
62 | - public static $allowed_package_formats = array("zip", "url", "jar", "war", "xml"); |
|
58 | + /** |
|
59 | + * Allowed package formats |
|
60 | + * @var array |
|
61 | + */ |
|
62 | + public static $allowed_package_formats = array("zip", "url", "jar", "war", "xml"); |
|
63 | 63 | |
64 | - /** |
|
65 | - * End of line as specified by the PENS specification |
|
66 | - * @var string |
|
67 | - */ |
|
68 | - public static $eol = "\r\n"; |
|
64 | + /** |
|
65 | + * End of line as specified by the PENS specification |
|
66 | + * @var string |
|
67 | + */ |
|
68 | + public static $eol = "\r\n"; |
|
69 | 69 | } |
@@ -5,6 +5,6 @@ |
||
5 | 5 | * @author Imanol Losada Oriol <[email protected]> |
6 | 6 | * @package chamilo.plugin.skype |
7 | 7 | */ |
8 | -require_once __DIR__ . '/config.php'; |
|
8 | +require_once __DIR__.'/config.php'; |
|
9 | 9 | |
10 | 10 | Skype::create()->install(); |
@@ -6,4 +6,4 @@ |
||
6 | 6 | * @package chamilo.plugin.skype |
7 | 7 | */ |
8 | 8 | |
9 | -require_once api_get_path(SYS_PATH) . 'main/inc/global.inc.php'; |
|
9 | +require_once api_get_path(SYS_PATH).'main/inc/global.inc.php'; |