Completed
Push — master ( 565c08...93d030 )
by José
125:33 queued 71:22
created
main/cron/user_import/get_data_from_mail.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -20,16 +20,16 @@
 block discarded – undo
20 20
 $users = Database::get_main_table(TABLE_MAIN_USER);
21 21
 $string='';
22 22
 foreach ($list as $mail) {
23
-  $mail = trim($mail);
24
-  $sql = "SELECT user_id, official_code, firstname, lastname, email FROM $users WHERE email = '$mail'\n";
25
-  $res = Database::query($sql);
26
-  if ($res === false) { die(mysql_error());}
27
-  if (Database::num_rows($res) == 0) {
23
+    $mail = trim($mail);
24
+    $sql = "SELECT user_id, official_code, firstname, lastname, email FROM $users WHERE email = '$mail'\n";
25
+    $res = Database::query($sql);
26
+    if ($res === false) { die(mysql_error());}
27
+    if (Database::num_rows($res) == 0) {
28 28
     $string .= 'No encontrado;'.$row['email'];
29
-  } else {
29
+    } else {
30 30
     $row = Database::fetch_assoc($res);
31
-   $string .= $row['user_id'].';'.$row['email'].';'.$row['firstname'].';'.$row['lastname'].';'.$row['official_code']."\r\n";
32
-  }
31
+    $string .= $row['user_id'].';'.$row['email'].';'.$row['firstname'].';'.$row['lastname'].';'.$row['official_code']."\r\n";
32
+    }
33 33
 }
34 34
 echo $string;
35 35
 file_put_contents('/tmp/list.txt',$string);
Please login to merge, or discard this patch.
main/admin/user_export.php 1 patch
Indentation   +93 added lines, -93 removed lines patch added patch discarded remove patch
@@ -29,20 +29,20 @@  discard block
 block discarded – undo
29 29
 global $_configuration;
30 30
 
31 31
 if (api_is_multiple_url_enabled()) {
32
-	$tbl_course_rel_access_url= Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_COURSE);
33
-	$access_url_id = api_get_current_access_url_id();
34
-	if ($access_url_id != -1){
35
-	$sql = "SELECT code,visual_code,title
32
+    $tbl_course_rel_access_url= Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_COURSE);
33
+    $access_url_id = api_get_current_access_url_id();
34
+    if ($access_url_id != -1){
35
+    $sql = "SELECT code,visual_code,title
36 36
 		FROM $course_table as c
37 37
 		INNER JOIN $tbl_course_rel_access_url as course_rel_url
38 38
 		ON (c.id = course_rel_url.c_id)
39 39
 		WHERE access_url_id = $access_url_id
40 40
 		ORDER BY visual_code";
41
-	}
41
+    }
42 42
 }
43 43
 $result = Database::query($sql);
44 44
 while ($course = Database::fetch_object($result)) {
45
-	$courses[$course->code] = $course->visual_code.' - '.$course->title;
45
+    $courses[$course->code] = $course->visual_code.' - '.$course->title;
46 46
 }
47 47
 $form = new FormValidator('export_users');
48 48
 $form->addElement('header', $tool_name);
@@ -56,13 +56,13 @@  discard block
 block discarded – undo
56 56
 $form->setDefaults(array('file_type' => 'csv'));
57 57
 
58 58
 if ($form->validate()) {
59
-	$export = $form->exportValues();
60
-	$file_type = $export['file_type'];
61
-	$course_code = Database::escape_string($export['course_code']);
62
-	$courseInfo = api_get_course_info($course_code);
63
-	$courseId = $courseInfo['real_id'];
59
+    $export = $form->exportValues();
60
+    $file_type = $export['file_type'];
61
+    $course_code = Database::escape_string($export['course_code']);
62
+    $courseInfo = api_get_course_info($course_code);
63
+    $courseId = $courseInfo['real_id'];
64 64
 
65
-	$sql = "SELECT
65
+    $sql = "SELECT
66 66
 				u.user_id 	AS UserId,
67 67
 				u.lastname 	AS LastName,
68 68
 				u.firstname 	AS FirstName,
@@ -73,96 +73,96 @@  discard block
 block discarded – undo
73 73
 				u.status		AS Status,
74 74
 				u.official_code	AS OfficialCode,
75 75
 				u.phone		AS Phone";
76
-	if (strlen($course_code) > 0) {
77
-		$sql .= " FROM $user_table u, $course_user_table cu
76
+    if (strlen($course_code) > 0) {
77
+        $sql .= " FROM $user_table u, $course_user_table cu
78 78
 					WHERE
79 79
 						u.user_id = cu.user_id AND
80 80
 						cu.c_id = $courseId AND
81 81
 						cu.relation_type<>".COURSE_RELATION_TYPE_RRHH."
82 82
 					ORDER BY lastname,firstname";
83
-		$filename = 'export_users_'.$course_code.'_'.api_get_local_time();
84
-	} else {
85
-		if (api_is_multiple_url_enabled()) {
86
-			$tbl_user_rel_access_url= Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
87
-			$access_url_id = api_get_current_access_url_id();
88
-			if ($access_url_id != -1) {
89
-			$sql.= " FROM $user_table u
83
+        $filename = 'export_users_'.$course_code.'_'.api_get_local_time();
84
+    } else {
85
+        if (api_is_multiple_url_enabled()) {
86
+            $tbl_user_rel_access_url= Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);
87
+            $access_url_id = api_get_current_access_url_id();
88
+            if ($access_url_id != -1) {
89
+            $sql.= " FROM $user_table u
90 90
 					INNER JOIN $tbl_user_rel_access_url as user_rel_url
91 91
 				ON (u.user_id= user_rel_url.user_id)
92 92
 				WHERE access_url_id = $access_url_id
93 93
 				ORDER BY lastname,firstname";
94
-			}
95
-		} else {
96
-			$sql .= " FROM $user_table u ORDER BY lastname,firstname";
97
-		}
98
-		$filename = 'export_users_'.api_get_local_time();
99
-	}
100
-	$data = array();
101
-	$extra_fields = UserManager::get_extra_fields(0, 0, 5, 'ASC',false);
102
-	if ($export['addcsvheader']=='1' AND $export['file_type']=='csv') {
103
-		if ($_configuration['password_encryption'] != 'none') {
104
-			$data[] = array(
105
-				'UserId',
106
-				'LastName',
107
-				'FirstName',
108
-				'Email',
109
-				'UserName',
110
-				'AuthSource',
111
-				'Status',
112
-				'OfficialCode',
113
-				'PhoneNumber',
114
-			);
115
-		} else {
116
-			$data[] = array(
117
-				'UserId',
118
-				'LastName',
119
-				'FirstName',
120
-				'Email',
121
-				'UserName',
122
-				'Password',
123
-				'AuthSource',
124
-				'Status',
125
-				'OfficialCode',
126
-				'PhoneNumber',
127
-			);
128
-		}
129
-
130
-		foreach($extra_fields as $extra) {
131
-			$data[0][]=$extra[1];
132
-		}
133
-	}
134
-
135
-	$res = Database::query($sql);
136
-	while($user = Database::fetch_array($res,'ASSOC')) {
137
-		$student_data = UserManager:: get_extra_user_data(
138
-			$user['UserId'],
139
-			true,
140
-			false
141
-		);
142
-		foreach($student_data as $key=>$value) {
143
-			$key = substr($key, 6);
144
-			if (is_array($value)) {
145
-				$user[$key] = $value[$key];
146
-			} else {
147
-				$user[$key] = $value;
148
-			}
149
-		}
150
-		$data[] = $user	;
151
-	}
152
-
153
-	switch ($file_type) {
154
-		case 'xml':
155
-			Export::arrayToXml($data, $filename, 'Contact', 'Contacts');
156
-			exit;
157
-			break;
158
-		case 'csv':
159
-			Export::arrayToCsv($data, $filename);
160
-			exit;
161
-		case 'xls':
162
-			Export::arrayToXls($data, $filename);
163
-			exit;
164
-			break;
165
-	}
94
+            }
95
+        } else {
96
+            $sql .= " FROM $user_table u ORDER BY lastname,firstname";
97
+        }
98
+        $filename = 'export_users_'.api_get_local_time();
99
+    }
100
+    $data = array();
101
+    $extra_fields = UserManager::get_extra_fields(0, 0, 5, 'ASC',false);
102
+    if ($export['addcsvheader']=='1' AND $export['file_type']=='csv') {
103
+        if ($_configuration['password_encryption'] != 'none') {
104
+            $data[] = array(
105
+                'UserId',
106
+                'LastName',
107
+                'FirstName',
108
+                'Email',
109
+                'UserName',
110
+                'AuthSource',
111
+                'Status',
112
+                'OfficialCode',
113
+                'PhoneNumber',
114
+            );
115
+        } else {
116
+            $data[] = array(
117
+                'UserId',
118
+                'LastName',
119
+                'FirstName',
120
+                'Email',
121
+                'UserName',
122
+                'Password',
123
+                'AuthSource',
124
+                'Status',
125
+                'OfficialCode',
126
+                'PhoneNumber',
127
+            );
128
+        }
129
+
130
+        foreach($extra_fields as $extra) {
131
+            $data[0][]=$extra[1];
132
+        }
133
+    }
134
+
135
+    $res = Database::query($sql);
136
+    while($user = Database::fetch_array($res,'ASSOC')) {
137
+        $student_data = UserManager:: get_extra_user_data(
138
+            $user['UserId'],
139
+            true,
140
+            false
141
+        );
142
+        foreach($student_data as $key=>$value) {
143
+            $key = substr($key, 6);
144
+            if (is_array($value)) {
145
+                $user[$key] = $value[$key];
146
+            } else {
147
+                $user[$key] = $value;
148
+            }
149
+        }
150
+        $data[] = $user	;
151
+    }
152
+
153
+    switch ($file_type) {
154
+        case 'xml':
155
+            Export::arrayToXml($data, $filename, 'Contact', 'Contacts');
156
+            exit;
157
+            break;
158
+        case 'csv':
159
+            Export::arrayToCsv($data, $filename);
160
+            exit;
161
+        case 'xls':
162
+            Export::arrayToXls($data, $filename);
163
+            exit;
164
+            break;
165
+    }
166 166
 }
167 167
 
168 168
 Display :: display_header($tool_name);
Please login to merge, or discard this patch.
main/webservices/soap_session.php 1 patch
Indentation   +60 added lines, -60 removed lines patch added patch discarded remove patch
@@ -13,19 +13,19 @@  discard block
 block discarded – undo
13 13
 $s->register(
14 14
     'WSSession.CreateSession',
15 15
     array(
16
-	'secret_key' => 'xsd:string',
17
-	'name' => 'xsd:string',
18
-	'start_date' => 'xsd:string',
19
-	'end_date' => 'xsd:string',
20
-	'nb_days_access_before' => 'xsd:int',
21
-	'nb_days_access_after' => 'xsd:int',
22
-	'nolimit' => 'xsd:int',
23
-	'visibility' => 'xsd:int',
24
-	'user_id_field_name' => 'xsd:string',
25
-	'user_id_value' => 'xsd:string',
26
-	'session_id_field_name' => 'xsd:string',
27
-	'session_id_value' => 'xsd:string',
28
-	'extras' => 'tns:extra_field'
16
+    'secret_key' => 'xsd:string',
17
+    'name' => 'xsd:string',
18
+    'start_date' => 'xsd:string',
19
+    'end_date' => 'xsd:string',
20
+    'nb_days_access_before' => 'xsd:int',
21
+    'nb_days_access_after' => 'xsd:int',
22
+    'nolimit' => 'xsd:int',
23
+    'visibility' => 'xsd:int',
24
+    'user_id_field_name' => 'xsd:string',
25
+    'user_id_value' => 'xsd:string',
26
+    'session_id_field_name' => 'xsd:string',
27
+    'session_id_value' => 'xsd:string',
28
+    'extras' => 'tns:extra_field'
29 29
     ),
30 30
     array('return' => 'xsd:int')
31 31
 );
@@ -33,50 +33,50 @@  discard block
 block discarded – undo
33 33
 $s->register(
34 34
     'WSSession.DeleteSession',
35 35
     array(
36
-	'secret_key' => 'xsd:string',
37
-	'session_id_field_name' => 'xsd:string',
38
-	'session_id_value' => 'xsd:string'
36
+    'secret_key' => 'xsd:string',
37
+    'session_id_field_name' => 'xsd:string',
38
+    'session_id_value' => 'xsd:string'
39 39
     )
40 40
 );
41 41
 
42 42
 $s->register(
43 43
     'WSSession.EditSession',
44 44
     array(
45
-	'secret_key' => 'xsd:string',
46
-	'name' => 'xsd:string',
47
-	'start_date' => 'xsd:string',
48
-	'end_date' => 'xsd:string',
49
-	'nb_days_access_before' => 'xsd:int',
50
-	'nb_days_access_after' => 'xsd:int',
51
-	'nolimit' => 'xsd:int',
52
-	'visibility' => 'xsd:int',
53
-	'user_id_field_name' => 'xsd:string',
54
-	'user_id_value' => 'xsd:string',
55
-	'session_id_field_name' => 'xsd:string',
56
-	'session_id_value' => 'xsd:string',
57
-	'extras' => 'tns:extra_field'
45
+    'secret_key' => 'xsd:string',
46
+    'name' => 'xsd:string',
47
+    'start_date' => 'xsd:string',
48
+    'end_date' => 'xsd:string',
49
+    'nb_days_access_before' => 'xsd:int',
50
+    'nb_days_access_after' => 'xsd:int',
51
+    'nolimit' => 'xsd:int',
52
+    'visibility' => 'xsd:int',
53
+    'user_id_field_name' => 'xsd:string',
54
+    'user_id_value' => 'xsd:string',
55
+    'session_id_field_name' => 'xsd:string',
56
+    'session_id_value' => 'xsd:string',
57
+    'extras' => 'tns:extra_field'
58 58
     )
59 59
 );
60 60
 
61 61
 $s->register(
62 62
     'WSSession.SubscribeUserToSession',
63 63
     array(
64
-	'secret_key' => 'xsd:string',
65
-	'user_id_field_name' => 'xsd:string',
66
-	'user_id_value' => 'xsd:string',
67
-	'session_id_field_name' => 'xsd:string',
68
-	'session_id_value' => 'xsd:string'
64
+    'secret_key' => 'xsd:string',
65
+    'user_id_field_name' => 'xsd:string',
66
+    'user_id_value' => 'xsd:string',
67
+    'session_id_field_name' => 'xsd:string',
68
+    'session_id_value' => 'xsd:string'
69 69
     )
70 70
 );
71 71
 
72 72
 $s->register(
73 73
     'WSSession.UnsubscribeUserFromSession',
74 74
     array(
75
-	'secret_key' => 'xsd:string',
76
-	'user_id_field_name' => 'xsd:string',
77
-	'user_id_value' => 'xsd:string',
78
-	'session_id_field_name' => 'xsd:string',
79
-	'session_id_value' => 'xsd:string'
75
+    'secret_key' => 'xsd:string',
76
+    'user_id_field_name' => 'xsd:string',
77
+    'user_id_value' => 'xsd:string',
78
+    'session_id_field_name' => 'xsd:string',
79
+    'session_id_value' => 'xsd:string'
80 80
     )
81 81
 );
82 82
 
@@ -84,46 +84,46 @@  discard block
 block discarded – undo
84 84
     'WSSession.SubscribeTeacherToSessionCourse',
85 85
     array(
86 86
         'secret_key' => 'xsd:string',
87
-	'user_id_field_name' => 'xsd:string',
88
-	'user_id_value' => 'xsd:string',
89
-	'session_id_field_name' => 'xsd:string',
90
-	'session_id_value' => 'xsd:string',
87
+    'user_id_field_name' => 'xsd:string',
88
+    'user_id_value' => 'xsd:string',
89
+    'session_id_field_name' => 'xsd:string',
90
+    'session_id_value' => 'xsd:string',
91 91
         'course_id_field_name' => 'xsd:string',
92
-	'course_id_value' => 'xsd:string'
92
+    'course_id_value' => 'xsd:string'
93 93
     )
94 94
 );
95 95
 
96 96
 $s->register(
97 97
     'WSSession.UnsubscribeTeacherFromSessionCourse',
98 98
     array(
99
-	'secret_key' => 'xsd:string',
100
-	'user_id_field_name' => 'xsd:string',
101
-	'user_id_value' => 'xsd:string',
102
-	'session_id_field_name' => 'xsd:string',
103
-	'session_id_value' => 'xsd:string',
99
+    'secret_key' => 'xsd:string',
100
+    'user_id_field_name' => 'xsd:string',
101
+    'user_id_value' => 'xsd:string',
102
+    'session_id_field_name' => 'xsd:string',
103
+    'session_id_value' => 'xsd:string',
104 104
         'course_id_field_name' => 'xsd:string',
105
-	'course_id_value' => 'xsd:string'
105
+    'course_id_value' => 'xsd:string'
106 106
     )
107 107
 );
108 108
 
109 109
 $s->register(
110 110
     'WSSession.SubscribeCourseToSession',
111 111
     array(
112
-	'secret_key' => 'xsd:string',
113
-	'course_id_field_name' => 'xsd:string',
114
-	'course_id_value' => 'xsd:string',
115
-	'session_id_field_name' => 'xsd:string',
116
-	'session_id_value' => 'xsd:string'
112
+    'secret_key' => 'xsd:string',
113
+    'course_id_field_name' => 'xsd:string',
114
+    'course_id_value' => 'xsd:string',
115
+    'session_id_field_name' => 'xsd:string',
116
+    'session_id_value' => 'xsd:string'
117 117
     )
118 118
 );
119 119
 
120 120
 $s->register(
121 121
     'WSSession.UnsubscribeCourseFromSession',
122 122
     array(
123
-	'secret_key' => 'xsd:string',
124
-	'course_id_field_name' => 'xsd:string',
125
-	'course_id_value' => 'xsd:string',
126
-	'session_id_field_name' => 'xsd:string',
127
-	'session_id_value' => 'xsd:string'
123
+    'secret_key' => 'xsd:string',
124
+    'course_id_field_name' => 'xsd:string',
125
+    'course_id_value' => 'xsd:string',
126
+    'session_id_field_name' => 'xsd:string',
127
+    'session_id_value' => 'xsd:string'
128 128
     )
129 129
 );
Please login to merge, or discard this patch.
main/mySpace/lp_tracking.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -11,10 +11,10 @@  discard block
 block discarded – undo
11 11
 $from_myspace = false;
12 12
 $from_link = '';
13 13
 if (isset($_GET['from']) && $_GET['from'] == 'myspace') {
14
-	$from_link = '&from=myspace';
15
-	$this_section = SECTION_TRACKING;
14
+    $from_link = '&from=myspace';
15
+    $this_section = SECTION_TRACKING;
16 16
 } else {
17
-	$this_section = SECTION_COURSES;
17
+    $this_section = SECTION_COURSES;
18 18
 }
19 19
 
20 20
 $session_id  = isset($_REQUEST['id_session']) && !empty($_REQUEST['id_session']) ? intval($_REQUEST['id_session']) : api_get_session_id();
@@ -35,19 +35,19 @@  discard block
 block discarded – undo
35 35
 if (!api_is_platform_admin(true) &&
36 36
     !CourseManager :: is_course_teacher(api_get_user_id(), $courseCode) &&
37 37
     !Tracking :: is_allowed_to_coach_student(api_get_user_id(), $user_id) && !api_is_drh() && !api_is_course_tutor()) {
38
-	api_not_allowed();
38
+    api_not_allowed();
39 39
 }
40 40
 
41 41
 if ($origin == 'user_course') {
42
-	$interbreadcrumb[] = array ("url" => api_get_path(WEB_COURSE_PATH).$course_info['directory'], 'name' => $course_info['name']);
43
-	$interbreadcrumb[] = array ("url" => "../user/user.php?cidReq=".$courseCode, "name" => get_lang("Users"));
42
+    $interbreadcrumb[] = array ("url" => api_get_path(WEB_COURSE_PATH).$course_info['directory'], 'name' => $course_info['name']);
43
+    $interbreadcrumb[] = array ("url" => "../user/user.php?cidReq=".$courseCode, "name" => get_lang("Users"));
44 44
 } else if($origin == 'tracking_course') {
45
-	$interbreadcrumb[] = array ("url" => "../tracking/courseLog.php?cidReq=".$courseCode.'&id_session='.$session_id, "name" => get_lang("Tracking"));
45
+    $interbreadcrumb[] = array ("url" => "../tracking/courseLog.php?cidReq=".$courseCode.'&id_session='.$session_id, "name" => get_lang("Tracking"));
46 46
 } else {
47
-	$interbreadcrumb[] = array ("url" => "index.php", "name" => get_lang('MySpace'));
48
-	$interbreadcrumb[] = array ("url" => "student.php", "name" => get_lang("MyStudents"));
49
- 	$interbreadcrumb[] = array ("url" => "myStudents.php?student=".$user_id, "name" => get_lang("StudentDetails"));
50
- 	$nameTools=get_lang("DetailsStudentInCourse");
47
+    $interbreadcrumb[] = array ("url" => "index.php", "name" => get_lang('MySpace'));
48
+    $interbreadcrumb[] = array ("url" => "student.php", "name" => get_lang("MyStudents"));
49
+        $interbreadcrumb[] = array ("url" => "myStudents.php?student=".$user_id, "name" => get_lang("StudentDetails"));
50
+        $nameTools=get_lang("DetailsStudentInCourse");
51 51
 }
52 52
 
53 53
 $interbreadcrumb[] = array("url" => "myStudents.php?student=".$user_id."&course=".$courseCode."&details=true&origin=".$origin , "name" => get_lang("DetailsStudentInCourse"));
Please login to merge, or discard this patch.
plugin/openmeetings/lib/openmeetings.class.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
             return false;
127 127
         }
128 128
     }
129
-    */
129
+     */
130 130
 
131 131
     /*
132 132
      * Creating a Room for the meeting
@@ -256,10 +256,10 @@  discard block
 block discarded – undo
256 256
         return true;
257 257
     }
258 258
 
259
-     /**
260
-     * Gets the password for a specific meeting for the current user
261
-     * @return string A moderator password if user is teacher, or the course code otherwise
262
-     */
259
+        /**
260
+         * Gets the password for a specific meeting for the current user
261
+         * @return string A moderator password if user is teacher, or the course code otherwise
262
+         */
263 263
     public function getMeetingUserPassword()
264 264
     {
265 265
         if ($this->isTeacher()) {
@@ -538,7 +538,7 @@  discard block
 block discarded – undo
538 538
     //
539 539
     //            }
540 540
     //
541
-                 //$item['created_at'] = api_convert_and_format_date($meetingDb['created_at']);
541
+                    //$item['created_at'] = api_convert_and_format_date($meetingDb['created_at']);
542 542
     //            //created_at
543 543
     //
544 544
     //            $item['publish_url'] = api_get_self().'?action=publish&id='.$meetingDb['id'];
Please login to merge, or discard this patch.
inc/lib/internationalization_database/conversion/character_map_selector.php 1 patch
Indentation   +189 added lines, -189 removed lines patch added patch discarded remove patch
@@ -9,194 +9,194 @@
 block discarded – undo
9 9
 // See http://demo.icu-project.org/icu-bin/convexp
10 10
 return array(
11 11
 
12
-	// UTF-8 multibyte encoding
13
-
14
-	'UTF-8' => 'UTF-8',
15
-	'WINDOWS-65001' => 'UTF-8',
16
-	'CP65001' => 'UTF-8',
17
-	'WIN-65001' => 'UTF-8',
18
-	'WIN65001' => 'UTF-8',
19
-	'65001' => 'UTF-8',
20
-
21
-	// HTML entities
22
-
23
-	'HTML-ENTITIES' => 'HTML-ENTITIES',
24
-
25
-	// Singlebyte encodings
26
-
27
-	'US-ASCII' => 'US-ASCII',
28
-	'US' => 'US-ASCII',
29
-	'ASCII' => 'US-ASCII',
30
-	'CP367' => 'US-ASCII',
31
-	'ISO646-US' => 'US-ASCII',
32
-
33
-	'ISO-8859-1' => '8859-1',
34
-	'ISO8859-1' => '8859-1',
35
-	'8859-1' => '8859-1',
36
-	'LATIN1' => '8859-1',
37
-	'CP819' => '8859-1',
38
-
39
-	'ISO-8859-2' => '8859-2',
40
-	'ISO8859-2' => '8859-2',
41
-	'8859-2' => '8859-2',
42
-	'LATIN2' => '8859-2',
43
-	'CP912' => '8859-2',
44
-
45
-	'ISO-8859-3' => '8859-3',
46
-	'ISO8859-3' => '8859-3',
47
-	'8859-3' => '8859-3',
48
-	'LATIN3' => '8859-3',
49
-	'CP913' => '8859-3',
50
-
51
-	'ISO-8859-4' => '8859-4',
52
-	'ISO8859-4' => '8859-4',
53
-	'8859-4' => '8859-4',
54
-	'LATIN4' => '8859-4',
55
-	'CP914' => '8859-4',
56
-
57
-	'ISO-8859-5' => '8859-5',
58
-	'ISO8859-5' => '8859-5',
59
-	'8859-5' => '8859-5',
60
-	'CYRILLIC' => '8859-5',
61
-	'CP915' => '8859-5',
62
-
63
-	'ISO-8859-6' => '8859-6',
64
-	'ISO8859-6' => '8859-6',
65
-	'8859-6' => '8859-6',
66
-	'ARABIC' => '8859-6',
67
-	'CP1089' => '8859-6',
68
-
69
-	'ISO-8859-7' => '8859-7',
70
-	'ISO8859-7' => '8859-7',
71
-	'8859-7' => '8859-7',
72
-	'GREEK' => '8859-7',
73
-
74
-	'ISO-8859-8' => '8859-8',
75
-	'ISO8859-8' => '8859-8',
76
-	'8859-8' => '8859-8',
77
-	'HEBREW' => '8859-8',
78
-
79
-	'ISO-8859-9' => '8859-9',
80
-	'ISO8859-9' => '8859-9',
81
-	'8859-9' => '8859-9',
82
-	'LATIN5' => '8859-9',
83
-	'TURKISH' => '8859-9',
84
-	'CP920' => '8859-9',
85
-
86
-	'ISO-8859-10' => '8859-10',
87
-	'ISO8859-10' => '8859-10',
88
-	'8859-10' => '8859-10',
89
-	'LATIN6' => '8859-10',
90
-
91
-	'ISO-8859-11' => '8859-11',
92
-	'ISO8859-11' => '8859-11',
93
-	'8859-11' => '8859-11',
94
-	'THAI8' => '8859-11',
95
-
96
-	'ISO-8859-13' => '8859-13',
97
-	'ISO8859-13' => '8859-13',
98
-	'8859-13' => '8859-13',
99
-	'CP921' => '8859-13',
100
-
101
-	'ISO-8859-14' => '8859-14',
102
-	'ISO8859-14' => '8859-14',
103
-	'8859-14' => '8859-14',
104
-	'LATIN8' => '8859-14',
105
-	'ISO-CELTIC' => '8859-14',
106
-
107
-	'ISO-8859-15' => '8859-15',
108
-	'ISO8859-15' => '8859-15',
109
-	'8859-15' => '8859-15',
110
-	'LATIN0' => '8859-15',
111
-	'LATIN-9' => '8859-15',
112
-	'CP923' => '8859-15',
113
-
114
-	'WINDOWS-855' => 'CP855',
115
-	'CP855' => 'CP855',
116
-	'WINDOWS-855' => 'CP855',
117
-	'WIN-855' => 'CP855',
118
-	'WIN855' => 'CP855',
119
-	'855' => 'CP855',
120
-	'IBM-855' => 'CP855',
121
-	'IBM855' => 'CP855',
122
-
123
-	'WINDOWS-866' => 'CP866',
124
-	'CP866' => 'CP866',
125
-	'WINDOWS-866' => 'CP866',
126
-	'WIN-866' => 'CP866',
127
-	'WIN866' => 'CP866',
128
-	'866' => 'CP866',
129
-	'IBM-866' => 'CP866',
130
-	'IBM866' => 'CP866',
131
-
132
-	'WINDOWS-874' => 'CP874',
133
-	'TIS-620' => 'CP874',
134
-	'CP874' => 'CP874',
135
-	'EUCTH' => 'CP874',
136
-	'WIN-874' => 'CP874',
137
-	'WIN874' => 'CP874',
138
-	'874' => 'CP874',
139
-
140
-	'WINDOWS-1250' => 'CP1250',
141
-	'CP1250' => 'CP1250',
142
-	'WIN-1250' => 'CP1250',
143
-	'WIN1250' => 'CP1250',
144
-	'1250' => 'CP1250',
145
-
146
-	'WINDOWS-1251' => 'CP1251',
147
-	'CP1251' => 'CP1251',
148
-	'ANSI1251' => 'CP1251',
149
-	'WIN-1251' => 'CP1251',
150
-	'WIN1251' => 'CP1251',
151
-	'1251' => 'CP1251',
152
-
153
-	'WINDOWS-1252' => 'CP1252',
154
-	'CP1252' => 'CP1252',
155
-	'WIN-1252' => 'CP1252',
156
-	'WIN1252' => 'CP1252',
157
-	'1252' => 'CP1252',
158
-
159
-	'WINDOWS-1253' => 'CP1253',
160
-	'CP1253' => 'CP1253',
161
-	'WIN-1253' => 'CP1253',
162
-	'WIN1253' => 'CP1253',
163
-	'1253' => 'CP1253',
164
-
165
-	'WINDOWS-1254' => 'CP1254',
166
-	'CP1254' => 'CP1254',
167
-	'WIN-1254' => 'CP1254',
168
-	'WIN1254' => 'CP1254',
169
-	'1254' => 'CP1254',
170
-
171
-	'WINDOWS-1255' => 'CP1255',
172
-	'CP1255' => 'CP1255',
173
-	'WIN-1255' => 'CP1255',
174
-	'WIN1255' => 'CP1255',
175
-	'1255' => 'CP1255',
176
-
177
-	'WINDOWS-1256' => 'CP1256',
178
-	'CP1256' => 'CP1256',
179
-	'WIN-1256' => 'CP1256',
180
-	'WIN1256' => 'CP1256',
181
-	'1256' => 'CP1256',
182
-
183
-	'WINDOWS-1257' => 'CP1257',
184
-	'CP1257' => 'CP1257',
185
-	'WIN-1257' => 'CP1257',
186
-	'WIN1257' => 'CP1257',
187
-	'1257' => 'CP1257',
188
-
189
-	'WINDOWS-1258' => 'CP1258',
190
-	'CP1258' => 'CP1258',
191
-	'WIN-1258' => 'CP1258',
192
-	'WIN1258' => 'CP1258',
193
-	'1258' => 'CP1258',
194
-
195
-	'KOI8-R' => 'KOI8-R',
196
-	'CP878' => 'KOI8-R',
197
-	'KOI8R' => 'KOI8-R',
198
-	'KOI8-RU' => 'KOI8-R',
199
-
200
-	'KOI8-U' => 'KOI8-U',
12
+    // UTF-8 multibyte encoding
13
+
14
+    'UTF-8' => 'UTF-8',
15
+    'WINDOWS-65001' => 'UTF-8',
16
+    'CP65001' => 'UTF-8',
17
+    'WIN-65001' => 'UTF-8',
18
+    'WIN65001' => 'UTF-8',
19
+    '65001' => 'UTF-8',
20
+
21
+    // HTML entities
22
+
23
+    'HTML-ENTITIES' => 'HTML-ENTITIES',
24
+
25
+    // Singlebyte encodings
26
+
27
+    'US-ASCII' => 'US-ASCII',
28
+    'US' => 'US-ASCII',
29
+    'ASCII' => 'US-ASCII',
30
+    'CP367' => 'US-ASCII',
31
+    'ISO646-US' => 'US-ASCII',
32
+
33
+    'ISO-8859-1' => '8859-1',
34
+    'ISO8859-1' => '8859-1',
35
+    '8859-1' => '8859-1',
36
+    'LATIN1' => '8859-1',
37
+    'CP819' => '8859-1',
38
+
39
+    'ISO-8859-2' => '8859-2',
40
+    'ISO8859-2' => '8859-2',
41
+    '8859-2' => '8859-2',
42
+    'LATIN2' => '8859-2',
43
+    'CP912' => '8859-2',
44
+
45
+    'ISO-8859-3' => '8859-3',
46
+    'ISO8859-3' => '8859-3',
47
+    '8859-3' => '8859-3',
48
+    'LATIN3' => '8859-3',
49
+    'CP913' => '8859-3',
50
+
51
+    'ISO-8859-4' => '8859-4',
52
+    'ISO8859-4' => '8859-4',
53
+    '8859-4' => '8859-4',
54
+    'LATIN4' => '8859-4',
55
+    'CP914' => '8859-4',
56
+
57
+    'ISO-8859-5' => '8859-5',
58
+    'ISO8859-5' => '8859-5',
59
+    '8859-5' => '8859-5',
60
+    'CYRILLIC' => '8859-5',
61
+    'CP915' => '8859-5',
62
+
63
+    'ISO-8859-6' => '8859-6',
64
+    'ISO8859-6' => '8859-6',
65
+    '8859-6' => '8859-6',
66
+    'ARABIC' => '8859-6',
67
+    'CP1089' => '8859-6',
68
+
69
+    'ISO-8859-7' => '8859-7',
70
+    'ISO8859-7' => '8859-7',
71
+    '8859-7' => '8859-7',
72
+    'GREEK' => '8859-7',
73
+
74
+    'ISO-8859-8' => '8859-8',
75
+    'ISO8859-8' => '8859-8',
76
+    '8859-8' => '8859-8',
77
+    'HEBREW' => '8859-8',
78
+
79
+    'ISO-8859-9' => '8859-9',
80
+    'ISO8859-9' => '8859-9',
81
+    '8859-9' => '8859-9',
82
+    'LATIN5' => '8859-9',
83
+    'TURKISH' => '8859-9',
84
+    'CP920' => '8859-9',
85
+
86
+    'ISO-8859-10' => '8859-10',
87
+    'ISO8859-10' => '8859-10',
88
+    '8859-10' => '8859-10',
89
+    'LATIN6' => '8859-10',
90
+
91
+    'ISO-8859-11' => '8859-11',
92
+    'ISO8859-11' => '8859-11',
93
+    '8859-11' => '8859-11',
94
+    'THAI8' => '8859-11',
95
+
96
+    'ISO-8859-13' => '8859-13',
97
+    'ISO8859-13' => '8859-13',
98
+    '8859-13' => '8859-13',
99
+    'CP921' => '8859-13',
100
+
101
+    'ISO-8859-14' => '8859-14',
102
+    'ISO8859-14' => '8859-14',
103
+    '8859-14' => '8859-14',
104
+    'LATIN8' => '8859-14',
105
+    'ISO-CELTIC' => '8859-14',
106
+
107
+    'ISO-8859-15' => '8859-15',
108
+    'ISO8859-15' => '8859-15',
109
+    '8859-15' => '8859-15',
110
+    'LATIN0' => '8859-15',
111
+    'LATIN-9' => '8859-15',
112
+    'CP923' => '8859-15',
113
+
114
+    'WINDOWS-855' => 'CP855',
115
+    'CP855' => 'CP855',
116
+    'WINDOWS-855' => 'CP855',
117
+    'WIN-855' => 'CP855',
118
+    'WIN855' => 'CP855',
119
+    '855' => 'CP855',
120
+    'IBM-855' => 'CP855',
121
+    'IBM855' => 'CP855',
122
+
123
+    'WINDOWS-866' => 'CP866',
124
+    'CP866' => 'CP866',
125
+    'WINDOWS-866' => 'CP866',
126
+    'WIN-866' => 'CP866',
127
+    'WIN866' => 'CP866',
128
+    '866' => 'CP866',
129
+    'IBM-866' => 'CP866',
130
+    'IBM866' => 'CP866',
131
+
132
+    'WINDOWS-874' => 'CP874',
133
+    'TIS-620' => 'CP874',
134
+    'CP874' => 'CP874',
135
+    'EUCTH' => 'CP874',
136
+    'WIN-874' => 'CP874',
137
+    'WIN874' => 'CP874',
138
+    '874' => 'CP874',
139
+
140
+    'WINDOWS-1250' => 'CP1250',
141
+    'CP1250' => 'CP1250',
142
+    'WIN-1250' => 'CP1250',
143
+    'WIN1250' => 'CP1250',
144
+    '1250' => 'CP1250',
145
+
146
+    'WINDOWS-1251' => 'CP1251',
147
+    'CP1251' => 'CP1251',
148
+    'ANSI1251' => 'CP1251',
149
+    'WIN-1251' => 'CP1251',
150
+    'WIN1251' => 'CP1251',
151
+    '1251' => 'CP1251',
152
+
153
+    'WINDOWS-1252' => 'CP1252',
154
+    'CP1252' => 'CP1252',
155
+    'WIN-1252' => 'CP1252',
156
+    'WIN1252' => 'CP1252',
157
+    '1252' => 'CP1252',
158
+
159
+    'WINDOWS-1253' => 'CP1253',
160
+    'CP1253' => 'CP1253',
161
+    'WIN-1253' => 'CP1253',
162
+    'WIN1253' => 'CP1253',
163
+    '1253' => 'CP1253',
164
+
165
+    'WINDOWS-1254' => 'CP1254',
166
+    'CP1254' => 'CP1254',
167
+    'WIN-1254' => 'CP1254',
168
+    'WIN1254' => 'CP1254',
169
+    '1254' => 'CP1254',
170
+
171
+    'WINDOWS-1255' => 'CP1255',
172
+    'CP1255' => 'CP1255',
173
+    'WIN-1255' => 'CP1255',
174
+    'WIN1255' => 'CP1255',
175
+    '1255' => 'CP1255',
176
+
177
+    'WINDOWS-1256' => 'CP1256',
178
+    'CP1256' => 'CP1256',
179
+    'WIN-1256' => 'CP1256',
180
+    'WIN1256' => 'CP1256',
181
+    '1256' => 'CP1256',
182
+
183
+    'WINDOWS-1257' => 'CP1257',
184
+    'CP1257' => 'CP1257',
185
+    'WIN-1257' => 'CP1257',
186
+    'WIN1257' => 'CP1257',
187
+    '1257' => 'CP1257',
188
+
189
+    'WINDOWS-1258' => 'CP1258',
190
+    'CP1258' => 'CP1258',
191
+    'WIN-1258' => 'CP1258',
192
+    'WIN1258' => 'CP1258',
193
+    '1258' => 'CP1258',
194
+
195
+    'KOI8-R' => 'KOI8-R',
196
+    'CP878' => 'KOI8-R',
197
+    'KOI8R' => 'KOI8-R',
198
+    'KOI8-RU' => 'KOI8-R',
199
+
200
+    'KOI8-U' => 'KOI8-U',
201 201
 
202 202
 );
Please login to merge, or discard this patch.
main/webservices/soap_user.php 1 patch
Indentation   +165 added lines, -165 removed lines patch added patch discarded remove patch
@@ -14,223 +14,223 @@
 block discarded – undo
14 14
 $s = WSSoapServer::singleton();
15 15
 
16 16
 $s->wsdl->addComplexType(
17
-	'user_id',
18
-	'complexType',
19
-	'struct',
20
-	'all',
21
-	'',
22
-	array(
23
-		'user_id_field_name' => array('name' => 'user_id_field_name', 'type' => 'xsd:string'),
24
-		'user_id_value' => array('name' => 'user_id_value', 'type' => 'xsd:string')
25
-	)
17
+    'user_id',
18
+    'complexType',
19
+    'struct',
20
+    'all',
21
+    '',
22
+    array(
23
+        'user_id_field_name' => array('name' => 'user_id_field_name', 'type' => 'xsd:string'),
24
+        'user_id_value' => array('name' => 'user_id_value', 'type' => 'xsd:string')
25
+    )
26 26
 );
27 27
 
28 28
 $s->wsdl->addComplexType(
29
-	'user_result',
30
-	'complexType',
31
-	'struct',
32
-	'all',
33
-	'',
34
-	array(
35
-		'user_id_value' => array('name' => 'user_id_value', 'type' => 'xsd:string'),
36
-		'result' => array('name' => 'result', 'type' => 'tns:result')
37
-	)
29
+    'user_result',
30
+    'complexType',
31
+    'struct',
32
+    'all',
33
+    '',
34
+    array(
35
+        'user_id_value' => array('name' => 'user_id_value', 'type' => 'xsd:string'),
36
+        'result' => array('name' => 'result', 'type' => 'tns:result')
37
+    )
38 38
 );
39 39
 
40 40
 $s->wsdl->addComplexType(
41
-	'user_result_array',
42
-	'complexType',
43
-	'array',
44
-	'',
45
-	'SOAP-ENC:Array',
46
-	array(),
47
-	array(array('ref'=>'SOAP-ENC:arrayType', 'wsdl:arrayType' => 'tns:user_result[]')),
48
-	'tns:user_result'
41
+    'user_result_array',
42
+    'complexType',
43
+    'array',
44
+    '',
45
+    'SOAP-ENC:Array',
46
+    array(),
47
+    array(array('ref'=>'SOAP-ENC:arrayType', 'wsdl:arrayType' => 'tns:user_result[]')),
48
+    'tns:user_result'
49 49
 );
50 50
 
51 51
 $s->register(
52
-	'WSUser.DisableUser',
53
-	array('secret_key' => 'xsd:string', 'user_id_field_name' => 'xsd:string', 'user_id_value' => 'xsd:string')
52
+    'WSUser.DisableUser',
53
+    array('secret_key' => 'xsd:string', 'user_id_field_name' => 'xsd:string', 'user_id_value' => 'xsd:string')
54 54
 );
55 55
 
56 56
 $s->register(
57
-	'WSUser.DisableUsers',
58
-	array('secret_key' => 'xsd:string', 'users' => 'tns:user_id[]'),
59
-	array('return' => 'tns:user_result_array')
57
+    'WSUser.DisableUsers',
58
+    array('secret_key' => 'xsd:string', 'users' => 'tns:user_id[]'),
59
+    array('return' => 'tns:user_result_array')
60 60
 );
61 61
 
62 62
 $s->register(
63
-	'WSUser.EnableUser',
64
-	array('secret_key' => 'xsd:string', 'user_id_field_name' => 'xsd:string', 'user_id_value' => 'xsd:string')
63
+    'WSUser.EnableUser',
64
+    array('secret_key' => 'xsd:string', 'user_id_field_name' => 'xsd:string', 'user_id_value' => 'xsd:string')
65 65
 );
66 66
 
67 67
 $s->register(
68
-	'WSUser.EnableUsers',
69
-	array('secret_key' => 'xsd:string', 'users' => 'tns:user_id[]'),
70
-	array('return' => 'tns:user_result_array')
68
+    'WSUser.EnableUsers',
69
+    array('secret_key' => 'xsd:string', 'users' => 'tns:user_id[]'),
70
+    array('return' => 'tns:user_result_array')
71 71
 );
72 72
 
73 73
 $s->register(
74
-	'WSUser.DeleteUser',
75
-	array('secret_key' => 'xsd:string', 'user_id_field_name' => 'xsd:string', 'user_id_value' => 'xsd:string')
74
+    'WSUser.DeleteUser',
75
+    array('secret_key' => 'xsd:string', 'user_id_field_name' => 'xsd:string', 'user_id_value' => 'xsd:string')
76 76
 );
77 77
 
78 78
 $s->register(
79
-	'WSUser.DeleteUsers',
80
-	array('secret_key' => 'xsd:string', 'users' => 'tns:user_id[]'),
81
-	array('return' => 'tns:user_result_array')
79
+    'WSUser.DeleteUsers',
80
+    array('secret_key' => 'xsd:string', 'users' => 'tns:user_id[]'),
81
+    array('return' => 'tns:user_result_array')
82 82
 );
83 83
 
84 84
 $s->register(
85
-	'WSUser.CreateUser',
86
-	array(
87
-		'secret_key' => 'xsd:string',
88
-		'firstname' => 'xsd:string',
89
-		'lastname' => 'xsd:string',
90
-		'status' => 'xsd:int',
91
-		'loginname' => 'xsd:string',
92
-		'password' => 'xsd:string',
93
-		'encrypt_method' => 'xsd:string',
94
-		'user_id_field_name' => 'xsd:string',
95
-		'user_id_value' => 'xsd:string',
96
-		'visibility' => 'xsd:int',
97
-		'email' => 'xsd:string',
98
-		'language' => 'xsd:string',
99
-		'phone' => 'xsd:string',
100
-		'expiration_date' => 'xsd:string',
101
-		'extras' => 'tns:extra_field'
102
-	),
103
-	array('return' => 'xsd:int')
85
+    'WSUser.CreateUser',
86
+    array(
87
+        'secret_key' => 'xsd:string',
88
+        'firstname' => 'xsd:string',
89
+        'lastname' => 'xsd:string',
90
+        'status' => 'xsd:int',
91
+        'loginname' => 'xsd:string',
92
+        'password' => 'xsd:string',
93
+        'encrypt_method' => 'xsd:string',
94
+        'user_id_field_name' => 'xsd:string',
95
+        'user_id_value' => 'xsd:string',
96
+        'visibility' => 'xsd:int',
97
+        'email' => 'xsd:string',
98
+        'language' => 'xsd:string',
99
+        'phone' => 'xsd:string',
100
+        'expiration_date' => 'xsd:string',
101
+        'extras' => 'tns:extra_field'
102
+    ),
103
+    array('return' => 'xsd:int')
104 104
 );
105 105
 
106 106
 $s->wsdl->addComplexType(
107
-	'user_create',
108
-	'complexType',
109
-	'struct',
110
-	'all',
111
-	'',
112
-	array(
113
-		'firstname' => array('name' => 'firstname', 'type' => 'xsd:string'),
114
-		'lastname' => array('name' => 'lastname', 'type' => 'xsd:string'),
115
-		'status' => array('name' => 'status', 'type' => 'xsd:int'),
116
-		'loginname' => array('name' => 'loginname', 'type' => 'xsd:string'),
117
-		'password' => array('name' => 'password', 'type' => 'xsd:string'),
118
-		'encrypt_method' => array('name' => 'encrypt_method', 'type' => 'xsd:string'),
119
-		'user_id_field_name' => array('name' => 'user_id_field_name', 'type' => 'xsd:string'),
120
-		'user_id_value' => array('name' => 'user_id_value', 'type' => 'xsd:string'),
121
-		'visibility' => array('name' => 'visibility', 'type' => 'xsd:int'),
122
-		'email' => array('name' => 'email', 'type' => 'xsd:string'),
123
-		'language' => array('name' => 'language', 'type' => 'xsd:string'),
124
-		'phone' => array('name' => 'phone', 'type' => 'xsd:string'),
125
-		'expiration_date' => array('name' => 'expiration_date', 'type' => 'xsd:string'),
126
-		'extras' => array('name' => 'extras', 'type' => 'tns:extra_field')
127
-	)
107
+    'user_create',
108
+    'complexType',
109
+    'struct',
110
+    'all',
111
+    '',
112
+    array(
113
+        'firstname' => array('name' => 'firstname', 'type' => 'xsd:string'),
114
+        'lastname' => array('name' => 'lastname', 'type' => 'xsd:string'),
115
+        'status' => array('name' => 'status', 'type' => 'xsd:int'),
116
+        'loginname' => array('name' => 'loginname', 'type' => 'xsd:string'),
117
+        'password' => array('name' => 'password', 'type' => 'xsd:string'),
118
+        'encrypt_method' => array('name' => 'encrypt_method', 'type' => 'xsd:string'),
119
+        'user_id_field_name' => array('name' => 'user_id_field_name', 'type' => 'xsd:string'),
120
+        'user_id_value' => array('name' => 'user_id_value', 'type' => 'xsd:string'),
121
+        'visibility' => array('name' => 'visibility', 'type' => 'xsd:int'),
122
+        'email' => array('name' => 'email', 'type' => 'xsd:string'),
123
+        'language' => array('name' => 'language', 'type' => 'xsd:string'),
124
+        'phone' => array('name' => 'phone', 'type' => 'xsd:string'),
125
+        'expiration_date' => array('name' => 'expiration_date', 'type' => 'xsd:string'),
126
+        'extras' => array('name' => 'extras', 'type' => 'tns:extra_field')
127
+    )
128 128
 );
129 129
 
130 130
 $s->wsdl->addComplexType(
131
-	'user_create_result',
132
-	'complexType',
133
-	'struct',
134
-	'all',
135
-	'',
136
-	array(
137
-		'user_id_value' => array('name' => 'user_id_value', 'type' => 'xsd:string'),
138
-		'user_id_generated' => array('name' => 'user_id_generated', 'type' => 'xsd:int'),
139
-		'result' => array('name' => 'result', 'type' => 'tns:result')
140
-	)
131
+    'user_create_result',
132
+    'complexType',
133
+    'struct',
134
+    'all',
135
+    '',
136
+    array(
137
+        'user_id_value' => array('name' => 'user_id_value', 'type' => 'xsd:string'),
138
+        'user_id_generated' => array('name' => 'user_id_generated', 'type' => 'xsd:int'),
139
+        'result' => array('name' => 'result', 'type' => 'tns:result')
140
+    )
141 141
 );
142 142
 
143 143
 $s->wsdl->addComplexType(
144
-	'user_create_result_array',
145
-	'complexType',
146
-	'array',
147
-	'',
148
-	'SOAP-ENC:Array',
149
-	array(),
150
-	array(array('ref'=>'SOAP-ENC:arrayType', 'wsdl:arrayType' => 'tns:user_create_result[]')),
151
-	'tns:user_create_result'
144
+    'user_create_result_array',
145
+    'complexType',
146
+    'array',
147
+    '',
148
+    'SOAP-ENC:Array',
149
+    array(),
150
+    array(array('ref'=>'SOAP-ENC:arrayType', 'wsdl:arrayType' => 'tns:user_create_result[]')),
151
+    'tns:user_create_result'
152 152
 );
153 153
 
154 154
 $s->register(
155
-	'WSUser.CreateUsers',
156
-	array(
157
-		'secret_key' => 'xsd:string',
158
-		'users' => 'tns:user_create[]'
159
-	),
160
-	array('return' => 'tns:user_create_result_array')
155
+    'WSUser.CreateUsers',
156
+    array(
157
+        'secret_key' => 'xsd:string',
158
+        'users' => 'tns:user_create[]'
159
+    ),
160
+    array('return' => 'tns:user_create_result_array')
161 161
 );
162 162
 
163 163
 $s->register(
164
-	'WSUser.EditUser',
165
-	array(
166
-		'secret_key' => 'xsd:string',
167
-		'user_id_field_name' => 'xsd:string',
168
-		'user_id_value' => 'xsd:string',
169
-		'firstname' => 'xsd:string',
170
-		'lastname' => 'xsd:string',
171
-		'status' => 'xsd:int',
172
-		'loginname' => 'xsd:string',
173
-		'password' => 'xsd:string',
174
-		'encrypt_method' => 'xsd:string',
175
-		'email' => 'xsd:string',
176
-		'language' => 'xsd:string',
177
-		'phone' => 'xsd:string',
178
-		'expiration_date' => 'xsd:string',
179
-		'extras' => 'tns:extra_field'
180
-	)
164
+    'WSUser.EditUser',
165
+    array(
166
+        'secret_key' => 'xsd:string',
167
+        'user_id_field_name' => 'xsd:string',
168
+        'user_id_value' => 'xsd:string',
169
+        'firstname' => 'xsd:string',
170
+        'lastname' => 'xsd:string',
171
+        'status' => 'xsd:int',
172
+        'loginname' => 'xsd:string',
173
+        'password' => 'xsd:string',
174
+        'encrypt_method' => 'xsd:string',
175
+        'email' => 'xsd:string',
176
+        'language' => 'xsd:string',
177
+        'phone' => 'xsd:string',
178
+        'expiration_date' => 'xsd:string',
179
+        'extras' => 'tns:extra_field'
180
+    )
181 181
 );
182 182
 
183 183
 $s->wsdl->addComplexType(
184
-	'user_edit',
185
-	'complexType',
186
-	'struct',
187
-	'all',
188
-	'',
189
-	array(
190
-		'user_id_field_name' => array('name' => 'user_id_field_name', 'type' => 'xsd:string'),
191
-		'user_id_value' => array('name' => 'user_id_value', 'type' => 'xsd:string'),
192
-		'firstname' => array('name' => 'firstname', 'type' => 'xsd:string'),
193
-		'lastname' => array('name' => 'lastname', 'type' => 'xsd:string'),
194
-		'status' => array('name' => 'status', 'type' => 'xsd:int'),
195
-		'loginname' => array('name' => 'loginname', 'type' => 'xsd:string'),
196
-		'password' => array('name' => 'password', 'type' => 'xsd:string'),
197
-		'encrypt_method' => array('name' => 'encrypt_method', 'type' => 'xsd:string'),
198
-		'email' => array('name' => 'email', 'type' => 'xsd:string'),
199
-		'language' => array('name' => 'language', 'type' => 'xsd:string'),
200
-		'phone' => array('name' => 'phone', 'type' => 'xsd:string'),
201
-		'expiration_date' => array('name' => 'expiration_date', 'type' => 'xsd:string'),
202
-		'extras' => array('name' => 'extras', 'type' => 'tns:extra_field')
203
-	)
184
+    'user_edit',
185
+    'complexType',
186
+    'struct',
187
+    'all',
188
+    '',
189
+    array(
190
+        'user_id_field_name' => array('name' => 'user_id_field_name', 'type' => 'xsd:string'),
191
+        'user_id_value' => array('name' => 'user_id_value', 'type' => 'xsd:string'),
192
+        'firstname' => array('name' => 'firstname', 'type' => 'xsd:string'),
193
+        'lastname' => array('name' => 'lastname', 'type' => 'xsd:string'),
194
+        'status' => array('name' => 'status', 'type' => 'xsd:int'),
195
+        'loginname' => array('name' => 'loginname', 'type' => 'xsd:string'),
196
+        'password' => array('name' => 'password', 'type' => 'xsd:string'),
197
+        'encrypt_method' => array('name' => 'encrypt_method', 'type' => 'xsd:string'),
198
+        'email' => array('name' => 'email', 'type' => 'xsd:string'),
199
+        'language' => array('name' => 'language', 'type' => 'xsd:string'),
200
+        'phone' => array('name' => 'phone', 'type' => 'xsd:string'),
201
+        'expiration_date' => array('name' => 'expiration_date', 'type' => 'xsd:string'),
202
+        'extras' => array('name' => 'extras', 'type' => 'tns:extra_field')
203
+    )
204 204
 );
205 205
 
206 206
 $s->wsdl->addComplexType(
207
-	'user_edit_result',
208
-	'complexType',
209
-	'struct',
210
-	'all',
211
-	'',
212
-	array(
213
-		'user_id_value' => array('name' => 'user_id_value', 'type' => 'xsd:string'),
214
-		'result' => array('name' => 'result', 'type' => 'tns:result')
215
-	)
207
+    'user_edit_result',
208
+    'complexType',
209
+    'struct',
210
+    'all',
211
+    '',
212
+    array(
213
+        'user_id_value' => array('name' => 'user_id_value', 'type' => 'xsd:string'),
214
+        'result' => array('name' => 'result', 'type' => 'tns:result')
215
+    )
216 216
 );
217 217
 
218 218
 $s->wsdl->addComplexType(
219
-	'user_edit_result_array',
220
-	'complexType',
221
-	'array',
222
-	'',
223
-	'SOAP-ENC:Array',
224
-	array(),
225
-	array(array('ref'=>'SOAP-ENC:arrayType', 'wsdl:arrayType' => 'tns:user_edit_result[]')),
226
-	'tns:user_edit_result'
219
+    'user_edit_result_array',
220
+    'complexType',
221
+    'array',
222
+    '',
223
+    'SOAP-ENC:Array',
224
+    array(),
225
+    array(array('ref'=>'SOAP-ENC:arrayType', 'wsdl:arrayType' => 'tns:user_edit_result[]')),
226
+    'tns:user_edit_result'
227 227
 );
228 228
 
229 229
 $s->register(
230
-	'WSUser.EditUsers',
231
-	array(
232
-		'secret_key' => 'xsd:string',
233
-		'users' => 'tns:user_edit[]'
234
-	),
235
-	array('return' => 'tns:user_edit_result_array')
230
+    'WSUser.EditUsers',
231
+    array(
232
+        'secret_key' => 'xsd:string',
233
+        'users' => 'tns:user_edit[]'
234
+    ),
235
+    array('return' => 'tns:user_edit_result_array')
236 236
 );
Please login to merge, or discard this patch.
main/tracking/logins_details.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,6 @@
 block discarded – undo
16 16
  * @author Patrick Cool
17 17
  * @author René Haentjens, added CSV file import (October 2004)
18 18
  * @package chamilo.link
19
-
20 19
  */
21 20
 
22 21
 // Including libraries
Please login to merge, or discard this patch.
main/inc/ajax/skill.ajax.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
                     //$gradebook['name'] = $gradebook['name'];
56 56
                     //$gradebook_list[]  = $gradebook;
57 57
                 } else {
58
-                  //  $gradebook['name'] = $gradebook_list[$gradebook['parent_id']]['name'].' > '.$gradebook['name'];
58
+                    //  $gradebook['name'] = $gradebook_list[$gradebook['parent_id']]['name'].' > '.$gradebook['name'];
59 59
                     //$gradebook_list[]  = $gradebook;
60 60
                 }
61 61
             }
Please login to merge, or discard this patch.