@@ -433,7 +433,7 @@ |
||
433 | 433 | $form->addElement( |
434 | 434 | 'checkbox', |
435 | 435 | 'confirmation', |
436 | - null, |
|
436 | + null, |
|
437 | 437 | $plugin->get_lang('RequestConfirmation') |
438 | 438 | ); |
439 | 439 | } |
@@ -563,7 +563,7 @@ |
||
563 | 563 | $photo = '<img src="' . $userPicture. '" alt="' . api_get_person_name($user[2], $user[3]) . '" title="' . api_get_person_name($user[2], $user[3]) . '" />'; |
564 | 564 | $button = '<a href="javascript:void(0)" onclick="load_course_list(\'div_' . $user_id . '\',' . $user_id . ', \'' . $user[5] . '\')">' |
565 | 565 | . Display::return_icon('view_more_stats.gif', get_lang('Info')) . |
566 | - '</a> '; |
|
566 | + '</a> '; |
|
567 | 567 | $users[] = array( |
568 | 568 | $photo, |
569 | 569 | $user_id, |
@@ -293,7 +293,7 @@ discard block |
||
293 | 293 | Display::return_icon('add.png', $plugin->get_lang('TckNew'), '', '32') . '</a>' . |
294 | 294 | '<a href="' . api_get_self() . '?action=export' . $get_parameter . $get_parameter2 . '">' . |
295 | 295 | Display::return_icon('export_excel.png', get_lang('Export'), '', '32') . '</a>' . |
296 | - '</span>'; |
|
296 | + '</span>'; |
|
297 | 297 | } |
298 | 298 | $form->display(); |
299 | 299 | echo '</div>'; |
@@ -385,7 +385,7 @@ discard block |
||
385 | 385 | '<a href="' . api_get_path(WEB_PLUGIN_PATH) . 'ticket/src/new_ticket.php">' . |
386 | 386 | Display::return_icon('add.png', $plugin->get_lang('TckNew'), '', '32') . |
387 | 387 | '</a>' . |
388 | - '</span>'; |
|
388 | + '</span>'; |
|
389 | 389 | echo '<span style="float:right;">' . |
390 | 390 | '</span>'; |
391 | 391 | echo '</div>'; |
@@ -94,9 +94,9 @@ |
||
94 | 94 | return '"' . addcslashes($s, "\0..\37\"\\") . '"'; |
95 | 95 | } |
96 | 96 | /** |
97 | - * This function is to show the ticket form |
|
98 | - * @global array $tools |
|
99 | - */ |
|
97 | + * This function is to show the ticket form |
|
98 | + * @global array $tools |
|
99 | + */ |
|
100 | 100 | function show_form() |
101 | 101 | { |
102 | 102 | global $tools; |
@@ -7,15 +7,15 @@ |
||
7 | 7 | * Initialization |
8 | 8 | */ |
9 | 9 | $convert_lang_to_code = array( |
10 | - "english" => "en_US", |
|
11 | - "french" => "fr_BE", |
|
12 | - "dutch" => "nl_NL", |
|
13 | - "german" => "de_DE", |
|
14 | - "japanese" => "ja_JP", |
|
15 | - "danish" => "da_DK", |
|
10 | + "english" => "en_US", |
|
11 | + "french" => "fr_BE", |
|
12 | + "dutch" => "nl_NL", |
|
13 | + "german" => "de_DE", |
|
14 | + "japanese" => "ja_JP", |
|
15 | + "danish" => "da_DK", |
|
16 | 16 | ); |
17 | 17 | if(!empty($_SESSION['user_language_choice']) && !empty($convert_lang_to_code[$_SESSION['user_language_choice']])){ |
18 | - $code = $convert_lang_to_code[$_SESSION['user_language_choice']]; |
|
19 | - $locale = setlocale(LC_TIME,$code); |
|
18 | + $code = $convert_lang_to_code[$_SESSION['user_language_choice']]; |
|
19 | + $locale = setlocale(LC_TIME,$code); |
|
20 | 20 | } |
21 | 21 | $date = strftime('%c'); |
@@ -1,10 +1,10 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Controller for example date plugin |
|
4 | - * @package chamilo.plugin.date |
|
5 | - */ |
|
3 | + * Controller for example date plugin |
|
4 | + * @package chamilo.plugin.date |
|
5 | + */ |
|
6 | 6 | /** |
7 | - * Code |
|
8 | - */ |
|
7 | + * Code |
|
8 | + */ |
|
9 | 9 | require('index.act.php'); |
10 | 10 | require('index.dsp.php'); |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Display script for example date plugin |
|
4 | - * @package chamilo.plugin.date |
|
5 | - */ |
|
3 | + * Display script for example date plugin |
|
4 | + * @package chamilo.plugin.date |
|
5 | + */ |
|
6 | 6 | /** |
7 | - * Display |
|
8 | - */ |
|
7 | + * Display |
|
8 | + */ |
|
9 | 9 | echo '<div class="well">'.strip_tags($date).'</div>'; |
10 | 10 | \ No newline at end of file |
@@ -1,13 +1,13 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * 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). |
|
4 | - * These settings will be used in the administration interface for plugins (Chamilo configuration settings->Plugins) |
|
5 | - * @package chamilo.plugin |
|
6 | - * @author Yannick Warnier <[email protected]> |
|
7 | - */ |
|
3 | + * 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). |
|
4 | + * These settings will be used in the administration interface for plugins (Chamilo configuration settings->Plugins) |
|
5 | + * @package chamilo.plugin |
|
6 | + * @author Yannick Warnier <[email protected]> |
|
7 | + */ |
|
8 | 8 | /** |
9 | - * Plugin details (must be present) |
|
10 | - */ |
|
9 | + * Plugin details (must be present) |
|
10 | + */ |
|
11 | 11 | //the plugin title |
12 | 12 | $plugin_info['title']='Date'; |
13 | 13 | //the comments that go with the plugin |
@@ -33,7 +33,7 @@ |
||
33 | 33 | $list = $this->get_blacklist_options(); |
34 | 34 | foreach ($list as $k => $v) { |
35 | 35 | $this->course_settings[] = |
36 | - array('group'=> 'olpc_peru_filter_filter', 'name' => $k, 'type' => 'checkbox', 'init_value' => $v); |
|
36 | + array('group'=> 'olpc_peru_filter_filter', 'name' => $k, 'type' => 'checkbox', 'init_value' => $v); |
|
37 | 37 | } |
38 | 38 | require_once dirname(__FILE__).'/../config.php'; |
39 | 39 | if (!empty($blacklist_enabled_file)) { |