Test Setup Failed
Push — master ( b82aef...e4f80c )
by Angel Fernando Quiroz
345:44 queued 291:34
created
plugin/jcapture/applet.php 1 patch
Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -1,31 +1,31 @@
 block discarded – undo
1 1
 <?php 
2 2
 
3
-	//fix for Opera XMLHttpRequests
4
-	if(!count($_POST) && $HTTP_RAW_POST_DATA){
5
-	  parse_str($HTTP_RAW_POST_DATA, $_POST);
6
-	}
3
+    //fix for Opera XMLHttpRequests
4
+    if(!count($_POST) && $HTTP_RAW_POST_DATA){
5
+        parse_str($HTTP_RAW_POST_DATA, $_POST);
6
+    }
7 7
 	
8
-	if(!defined('DOKU_INC')) define('DOKU_INC',dirname(__FILE__).'/../../../');
9
-	require_once(DOKU_INC.'inc/init.php');
10
-	require_once(DOKU_INC.'inc/common.php');
11
-	require_once(DOKU_INC.'inc/pageutils.php');
12
-	require_once(DOKU_INC.'inc/auth.php');
13
-	//close sesseion
14
-	session_write_close();
8
+    if(!defined('DOKU_INC')) define('DOKU_INC',dirname(__FILE__).'/../../../');
9
+    require_once(DOKU_INC.'inc/init.php');
10
+    require_once(DOKU_INC.'inc/common.php');
11
+    require_once(DOKU_INC.'inc/pageutils.php');
12
+    require_once(DOKU_INC.'inc/auth.php');
13
+    //close sesseion
14
+    session_write_close();
15 15
 	
16
-	header('Content-Type: text/html; charset=utf-8');
16
+    header('Content-Type: text/html; charset=utf-8');
17 17
 	
18
-	$hostName = "http".($_SERVER['HTTPS'] ? 's' : null).'://'.$_SERVER['HTTP_HOST']; 
18
+    $hostName = "http".($_SERVER['HTTPS'] ? 's' : null).'://'.$_SERVER['HTTP_HOST']; 
19 19
 	
20
-	$imageFormat = "PNG";
20
+    $imageFormat = "PNG";
21 21
 
22
-	$cookies;
23
-	foreach (array_keys($_COOKIE) as $cookieName) {
24
-		$cookies.=bin2hex($cookieName)."=".bin2hex($_COOKIE[$cookieName]).";";
25
-	} 
22
+    $cookies;
23
+    foreach (array_keys($_COOKIE) as $cookieName) {
24
+        $cookies.=bin2hex($cookieName)."=".bin2hex($_COOKIE[$cookieName]).";";
25
+    } 
26 26
 	
27
-	$pageName = $_GET["pageName"];
28
-	$edid = $_GET["edid"];
27
+    $pageName = $_GET["pageName"];
28
+    $edid = $_GET["edid"];
29 29
 ?>
30 30
 
31 31
 <script language="JavaScript" type="text/javascript"><!--
Please login to merge, or discard this patch.
plugin/ticket/src/ticket_details.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -433,7 +433,7 @@
 block discarded – undo
433 433
         $form->addElement(
434 434
             'checkbox',
435 435
             'confirmation',
436
-             null,
436
+                null,
437 437
             $plugin->get_lang('RequestConfirmation')
438 438
         );
439 439
     }
Please login to merge, or discard this patch.
plugin/ticket/src/new_ticket.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -563,7 +563,7 @@
 block discarded – undo
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>&nbsp;&nbsp;';
566
+                    '</a>&nbsp;&nbsp;';
567 567
         $users[] = array(
568 568
             $photo,
569 569
             $user_id,
Please login to merge, or discard this patch.
plugin/ticket/src/myticket.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -293,7 +293,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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>';
Please login to merge, or discard this patch.
plugin/ticket/src/report.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -94,9 +94,9 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
plugin/ticket/src/assign_tickets.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,16 +1,16 @@
 block discarded – undo
1 1
 <?php
2 2
 /* For licensing terms, see /license.txt */
3 3
 /**
4
- *
5
- * @package chamilo.plugin.ticket
6
- */
4
+     *
5
+     * @package chamilo.plugin.ticket
6
+     */
7 7
 
8 8
 require_once '../config.php';
9 9
 $plugin = TicketPlugin::create();
10 10
 
11 11
 api_protect_course_script();
12 12
 if (!api_is_allowed_to_edit()) {
13
-	api_not_allowed();
13
+    api_not_allowed();
14 14
 }
15 15
 $course_info = api_get_course_info();
16 16
 $course_code = $course_info['code'];
Please login to merge, or discard this patch.
plugin/date/index.act.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -7,15 +7,15 @@
 block discarded – undo
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');
Please login to merge, or discard this patch.
plugin/date/index.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
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');
Please login to merge, or discard this patch.
plugin/date/plugin.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
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
Please login to merge, or discard this patch.