@@ -1,10 +1,10 @@ |
||
1 | 1 | <?php |
2 | 2 | /* For licensing terms, see /license.txt */ |
3 | 3 | /** |
4 | - * Get the intro steps for the web page |
|
5 | - * @author Angel Fernando Quiroz Campos <[email protected]> |
|
6 | - * @package chamilo.plugin.tour |
|
7 | - */ |
|
4 | + * Get the intro steps for the web page |
|
5 | + * @author Angel Fernando Quiroz Campos <[email protected]> |
|
6 | + * @package chamilo.plugin.tour |
|
7 | + */ |
|
8 | 8 | require_once __DIR__.'/../../../main/inc/global.inc.php'; |
9 | 9 | require_once api_get_path(LIBRARY_PATH) . 'plugin.class.php'; |
10 | 10 | require_once api_get_path(PLUGIN_PATH) . 'tour/src/tour_plugin.class.php'; |
@@ -1,10 +1,10 @@ |
||
1 | 1 | <?php |
2 | 2 | /* For licensing terms, see /license.txt */ |
3 | 3 | /** |
4 | - * Show the JavaScript template in the web pages |
|
5 | - * @author Angel Fernando Quiroz Campos <[email protected]> |
|
6 | - * @package chamilo.plugin.tour |
|
7 | - */ |
|
4 | + * Show the JavaScript template in the web pages |
|
5 | + * @author Angel Fernando Quiroz Campos <[email protected]> |
|
6 | + * @package chamilo.plugin.tour |
|
7 | + */ |
|
8 | 8 | require_once __DIR__.'/config.php'; |
9 | 9 | |
10 | 10 | $plugin_info = Tour::create()->get_info(); |
@@ -1069,7 +1069,7 @@ |
||
1069 | 1069 | */ |
1070 | 1070 | public function getStatusMessage($status, $isAble = true) |
1071 | 1071 | { |
1072 | - $message = ''; |
|
1072 | + $message = ''; |
|
1073 | 1073 | switch ($status) { |
1074 | 1074 | case ADVANCED_SUBSCRIPTION_QUEUE_STATUS_NO_QUEUE: |
1075 | 1075 | if ($isAble) { |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | /* For license terms, see /license.txt */ |
3 | 3 | /** |
4 | - * This script generates session fields needed for this plugin |
|
5 | - * @package chamilo.plugin.advanced_subscription |
|
6 | - */ |
|
4 | + * This script generates session fields needed for this plugin |
|
5 | + * @package chamilo.plugin.advanced_subscription |
|
6 | + */ |
|
7 | 7 | |
8 | 8 | //exit; |
9 | 9 |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | /* For license terms, see /license.txt */ |
3 | 3 | /** |
4 | - * A script to render all mails templates |
|
5 | - * @package chamilo.plugin.advanced_subscription |
|
6 | - */ |
|
4 | + * A script to render all mails templates |
|
5 | + * @package chamilo.plugin.advanced_subscription |
|
6 | + */ |
|
7 | 7 | |
8 | 8 | require_once __DIR__ . '/../config.php'; |
9 | 9 |
@@ -1,13 +1,13 @@ |
||
1 | 1 | <?php |
2 | 2 | /* For licensing terms, see /license.txt */ |
3 | 3 | /** |
4 | - * Script to receipt request to subscribe and confirmation action to queue |
|
5 | - * @author Daniel Alejandro Barreto Alva <[email protected]> |
|
6 | - * @package chamilo.plugin.advanced_subscription |
|
7 | - */ |
|
4 | + * Script to receipt request to subscribe and confirmation action to queue |
|
5 | + * @author Daniel Alejandro Barreto Alva <[email protected]> |
|
6 | + * @package chamilo.plugin.advanced_subscription |
|
7 | + */ |
|
8 | 8 | /** |
9 | - * Init |
|
10 | - */ |
|
9 | + * Init |
|
10 | + */ |
|
11 | 11 | require_once __DIR__ . '/../config.php'; |
12 | 12 | |
13 | 13 | $plugin = AdvancedSubscriptionPlugin::create(); |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | /* For license terms, see /license.txt */ |
3 | 3 | /** |
4 | - * This script is a configuration file for the date plugin. You can use it as a master for other platform plugins (course plugins are slightly different). |
|
5 | - * These settings will be used in the administration interface for plugins (Chamilo configuration settings->Plugins) |
|
6 | - * @package chamilo.plugin.advanced_subscription |
|
7 | - */ |
|
4 | + * This script is a configuration file for the date plugin. You can use it as a master for other platform plugins (course plugins are slightly different). |
|
5 | + * These settings will be used in the administration interface for plugins (Chamilo configuration settings->Plugins) |
|
6 | + * @package chamilo.plugin.advanced_subscription |
|
7 | + */ |
|
8 | 8 | /** |
9 | - * Plugin details (must be present) |
|
10 | - */ |
|
9 | + * Plugin details (must be present) |
|
10 | + */ |
|
11 | 11 | require_once __DIR__ . '/config.php'; |
12 | 12 | $plugin_info = AdvancedSubscriptionPlugin::create()->get_info(); |
@@ -1,10 +1,10 @@ |
||
1 | 1 | <?php |
2 | 2 | /* For license terms, see /license.txt */ |
3 | 3 | /** |
4 | - * This script is included by main/admin/settings.lib.php and generally |
|
5 | - * includes things to execute in the main database (settings_current table) |
|
6 | - * @package chamilo.plugin.advanced_subscription |
|
7 | - */ |
|
4 | + * This script is included by main/admin/settings.lib.php and generally |
|
5 | + * includes things to execute in the main database (settings_current table) |
|
6 | + * @package chamilo.plugin.advanced_subscription |
|
7 | + */ |
|
8 | 8 | |
9 | 9 | /** |
10 | 10 | * Initialization |
@@ -31,7 +31,7 @@ |
||
31 | 31 | |
32 | 32 | $resubscriptionLimit = Resubscription::create()->get('resubscription_limit'); |
33 | 33 | |
34 | - // Initialize variables as a calendar year by default |
|
34 | + // Initialize variables as a calendar year by default |
|
35 | 35 | $limitDateFormat = 'Y-01-01'; |
36 | 36 | $limitDate = gmdate($limitDateFormat); |
37 | 37 | $resubscriptionOffset = "1 year"; |