Completed
Branch master (72d684)
by Christian
13:26
created
doc/boinc_news.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -686,7 +686,7 @@  discard block
 block discarded – undo
686 686
     "
687 687
 ),
688 688
 array("July 6, 2007",
689
-     "Welcome to a new web site with cross-project BOINC statistics:
689
+        "Welcome to a new web site with cross-project BOINC statistics:
690 690
      <a href=http://statsnstones.tswb.org/>Team Starfire World BOINC Stats 'N Stones</a>."
691 691
 ),
692 692
 array("July 5, 2007",
@@ -1430,7 +1430,7 @@  discard block
 block discarded – undo
1430 1430
     for announcements of new versions of BOINC client software."
1431 1431
 ),
1432 1432
 array("November 27, 2005",
1433
-     "Check out <a href=https://uimon.cern.ch/twiki/pub/LHCAtHome/LinksAndDocs/boincciemat06.pdf>A BOINC seminar by Juan Antonio Lopez Perez of CERN</a>,
1433
+        "Check out <a href=https://uimon.cern.ch/twiki/pub/LHCAtHome/LinksAndDocs/boincciemat06.pdf>A BOINC seminar by Juan Antonio Lopez Perez of CERN</a>,
1434 1434
      presented at CIEMAT in Madrid, November 2005.
1435 1435
      Also available in a
1436 1436
      <a href=https://uimon.cern.ch/twiki/pub/LHCAtHome/LinksAndDocs/boincciematprint06.pdf>print version</a>."
Please login to merge, or discard this patch.
doc/get_platforms.inc 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -126,9 +126,9 @@  discard block
 block discarded – undo
126 126
 }
127 127
 
128 128
 function canonical_plan_class($pc) {
129
-	if (strstr($pc, "atiOpenCL")) return "opencl_ati";
130
-	if (strstr($pc, "nvidiaOpenCL")) return "opencl_nvidia";
131
-	if (strstr($pc, "intelOpenCL")) return "opencl_intel_gpu";
129
+    if (strstr($pc, "atiOpenCL")) return "opencl_ati";
130
+    if (strstr($pc, "nvidiaOpenCL")) return "opencl_nvidia";
131
+    if (strstr($pc, "intelOpenCL")) return "opencl_intel_gpu";
132 132
     return $pc;
133 133
 }
134 134
 
@@ -281,7 +281,7 @@  discard block
 block discarded – undo
281 281
     $u = urlencode($url);
282 282
     $fname = "/home/boincadm/boinc/doc/platforms/$u";
283 283
     $t = @filemtime($fname);
284
-	if (strstr($url, "gpugrid") || ($t && $t > time() - 604800)) {
284
+    if (strstr($url, "gpugrid") || ($t && $t > time() - 604800)) {
285 285
         return json_decode(file_get_contents($fname));
286 286
     }
287 287
     $l = get_platforms($url);
Please login to merge, or discard this patch.
doc/docutil.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
 
31 31
 function html_tag() {
32 32
     global $language_in_use;
33
-     echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">
33
+        echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">
34 34
      ";
35 35
 
36 36
     // if language is arabic, go right to left
Please login to merge, or discard this patch.
doc/manager_links.php 1 patch
Indentation   +97 added lines, -97 removed lines patch added patch discarded remove patch
@@ -24,114 +24,114 @@
 block discarded – undo
24 24
 if (isset($_GET['controlid'])) $controlid = $_GET['controlid'];
25 25
 
26 26
 if ($target == "notice") {
27
-	if ($controlid == 'download') {
28
-		header('Location: https://boinc.berkeley.edu/wiki/Release_Notes');
29
-	} else if ($controlid == 'statefile') {
30
-		header('Location: https://boinc.berkeley.edu/wiki/BOINC_Help');
31
-	} else if ($controlid == 'proxy_env') {
32
-		header('Location: https://boinc.berkeley.edu/wiki/Client_configuration#Environment_variables');
33
-	} else if ($controlid == 'app_info') {
34
-		header('Location: https://boinc.berkeley.edu/wiki/Anonymous_platform');
35
-	} else if ($controlid == 'remote_hosts') {
36
-		header('Location: https://boinc.berkeley.edu/wiki/Controlling_BOINC_remotely');
37
-	} else if ($controlid == 'log_flags') {
38
-		header('Location: https://boinc.berkeley.edu/wiki/Client_configuration#Logging_flags');
39
-	} else if ($controlid == 'config') {
40
-		header('Location: https://boinc.berkeley.edu/wiki/Client_configuration#Configuration_file');
41
-	} else {
42
-		header('Location: https://boinc.berkeley.edu/wiki/BOINC_Help');
43
-	}
27
+    if ($controlid == 'download') {
28
+        header('Location: https://boinc.berkeley.edu/wiki/Release_Notes');
29
+    } else if ($controlid == 'statefile') {
30
+        header('Location: https://boinc.berkeley.edu/wiki/BOINC_Help');
31
+    } else if ($controlid == 'proxy_env') {
32
+        header('Location: https://boinc.berkeley.edu/wiki/Client_configuration#Environment_variables');
33
+    } else if ($controlid == 'app_info') {
34
+        header('Location: https://boinc.berkeley.edu/wiki/Anonymous_platform');
35
+    } else if ($controlid == 'remote_hosts') {
36
+        header('Location: https://boinc.berkeley.edu/wiki/Controlling_BOINC_remotely');
37
+    } else if ($controlid == 'log_flags') {
38
+        header('Location: https://boinc.berkeley.edu/wiki/Client_configuration#Logging_flags');
39
+    } else if ($controlid == 'config') {
40
+        header('Location: https://boinc.berkeley.edu/wiki/Client_configuration#Configuration_file');
41
+    } else {
42
+        header('Location: https://boinc.berkeley.edu/wiki/BOINC_Help');
43
+    }
44 44
 } else if  ($target == "advanced_preferences") {
45 45
     header('Location: https://boinc.berkeley.edu/wiki/Local_preferences#Advanced_view');
46 46
 } else if  ($target == "simple_preferences") {
47 47
     header('Location: https://boinc.berkeley.edu/wiki/Local_preferences#Simple_view');
48 48
 } else if (($target == "advanced") && version_compare($version, "5.10.0", ">=") && version_compare($version, "6.12.0", "<")) {
49
-	if ($controlid == "6024") {
50
-		header('Location: https://boinc.berkeley.edu');
51
-	} else if ($controlid == "6025") {
52
-		header('Location: https://boinc.berkeley.edu/wiki/Advanced_view_6_10');
53
-	} else if ($controlid == "6035") {
54
-		header('Location: https://boinc.berkeley.edu/wiki/BOINC_Help');
55
-	} else {
56
-		header('Location: https://boinc.berkeley.edu/wiki/Advanced_view_6_10');
57
-	}
49
+    if ($controlid == "6024") {
50
+        header('Location: https://boinc.berkeley.edu');
51
+    } else if ($controlid == "6025") {
52
+        header('Location: https://boinc.berkeley.edu/wiki/Advanced_view_6_10');
53
+    } else if ($controlid == "6035") {
54
+        header('Location: https://boinc.berkeley.edu/wiki/BOINC_Help');
55
+    } else {
56
+        header('Location: https://boinc.berkeley.edu/wiki/Advanced_view_6_10');
57
+    }
58 58
 } else if (($target == "simple") && version_compare($version, "5.10.0", ">=") && version_compare($version, "6.12.0", "<")) {
59
-	if ($controlid == "6024") {
60
-		header('Location: https://boinc.berkeley.edu');
61
-	} else if ($controlid == "6025") {
62
-		header('Location: https://boinc.berkeley.edu/wiki/Simple_view');
63
-	} else if ($controlid == "6035") {
64
-		header('Location: https://boinc.berkeley.edu/wiki/BOINC_Help');
65
-	} else {
66
-		header('Location: https://boinc.berkeley.edu/wiki/BOINC_Help');
67
-	}
59
+    if ($controlid == "6024") {
60
+        header('Location: https://boinc.berkeley.edu');
61
+    } else if ($controlid == "6025") {
62
+        header('Location: https://boinc.berkeley.edu/wiki/Simple_view');
63
+    } else if ($controlid == "6035") {
64
+        header('Location: https://boinc.berkeley.edu/wiki/BOINC_Help');
65
+    } else {
66
+        header('Location: https://boinc.berkeley.edu/wiki/BOINC_Help');
67
+    }
68 68
 } else if (($target == "advanced") && version_compare($version, "6.12.0", ">=") && version_compare($version, "7.0.0", "<")) {
69
-	if ($controlid == "6024") {
70
-		header('Location: https://boinc.berkeley.edu');
71
-	} else if ($controlid == "6025") {
72
-		header('Location: https://boinc.berkeley.edu/wiki/Advanced_view_6_12');
73
-	} else if ($controlid == "6035") {
74
-		header('Location: https://boinc.berkeley.edu/wiki/BOINC_Help');
75
-	} else {
76
-		header('Location: https://boinc.berkeley.edu/wiki/Advanced_view_6_12');
77
-	}
69
+    if ($controlid == "6024") {
70
+        header('Location: https://boinc.berkeley.edu');
71
+    } else if ($controlid == "6025") {
72
+        header('Location: https://boinc.berkeley.edu/wiki/Advanced_view_6_12');
73
+    } else if ($controlid == "6035") {
74
+        header('Location: https://boinc.berkeley.edu/wiki/BOINC_Help');
75
+    } else {
76
+        header('Location: https://boinc.berkeley.edu/wiki/Advanced_view_6_12');
77
+    }
78 78
 } else if (($target == "simple") && version_compare($version, "6.12.0", ">=") && version_compare($version, "7.0.0", "<")) {
79
-	if ($controlid == "6024") {
80
-		header('Location: https://boinc.berkeley.edu');
81
-	} else if ($controlid == "6025") {
82
-		header('Location: https://boinc.berkeley.edu/wiki/Simple_view_6_12');
83
-	} else if ($controlid == "6035") {
84
-		header('Location: https://boinc.berkeley.edu/wiki/BOINC_Help');
85
-	} else {
86
-		header('Location: https://boinc.berkeley.edu/wiki/BOINC_Help');
87
-	}
79
+    if ($controlid == "6024") {
80
+        header('Location: https://boinc.berkeley.edu');
81
+    } else if ($controlid == "6025") {
82
+        header('Location: https://boinc.berkeley.edu/wiki/Simple_view_6_12');
83
+    } else if ($controlid == "6035") {
84
+        header('Location: https://boinc.berkeley.edu/wiki/BOINC_Help');
85
+    } else {
86
+        header('Location: https://boinc.berkeley.edu/wiki/BOINC_Help');
87
+    }
88 88
 } else if (($target == "simple") && version_compare($version, "7.2.0", ">=") && version_compare($version, "7.4.0", "<")) {
89
-	if ($controlid == "6024") {
90
-		header('Location: https://boinc.berkeley.edu');
91
-	} else if ($controlid == "6025") {
92
-		header('Location: https://boinc.berkeley.edu/wiki/Simple_view');
93
-	} else if ($controlid == "6035") {
94
-		header('Location: https://boinc.berkeley.edu/wiki/BOINC_Help');
95
-	} else {
96
-		header('Location: https://boinc.berkeley.edu/wiki/BOINC_Help');
97
-	}
89
+    if ($controlid == "6024") {
90
+        header('Location: https://boinc.berkeley.edu');
91
+    } else if ($controlid == "6025") {
92
+        header('Location: https://boinc.berkeley.edu/wiki/Simple_view');
93
+    } else if ($controlid == "6035") {
94
+        header('Location: https://boinc.berkeley.edu/wiki/BOINC_Help');
95
+    } else {
96
+        header('Location: https://boinc.berkeley.edu/wiki/BOINC_Help');
97
+    }
98 98
 } else {
99
-  if ($target == "advanced") {
100
-		if ($controlid == "6024") {
101
-			header('Location: https://boinc.berkeley.edu');
102
-		} else if ($controlid == "6025") {
103
-			header('Location: https://boinc.berkeley.edu/wiki/Advanced_view');
104
-		} else if ($controlid == "6035") {
105
-			header('Location: https://boinc.berkeley.edu/wiki/BOINC_Help');
106
-		} else {
107
-			header('Location: https://boinc.berkeley.edu/wiki/Advanced_view');
108
-		}
109
-  } else if ($target == "simple") {
110
-		if ($controlid == "6024") {
111
-			// "Show info about BOINC" item on Mac simple-view menu
112
-			//
113
-			header('Location: https://boinc.berkeley.edu');
114
-		} else if ($controlid == "6025") {
115
-			// "Show info about BOINC manager" item on Mac simple-view menu
116
-			//
117
-			header('Location: https://boinc.berkeley.edu/wiki/Simple_view');
118
-		} else if ($controlid == "6035") {
119
-			// "Show info about BOINC and BOINC Manager"
120
-			// item on Mac simple-view menu ?? do we need this item?
121
-			//
122
-			header('Location: https://boinc.berkeley.edu/wiki/BOINC_Help');
123
-		} else if ($controlid >= "6400" && $controlid <= "6499") {
124
-			// Any control that has focus in the simple view
125
-			//
126
-			header('Location: https://boinc.berkeley.edu/wiki/Simple_view');
127
-		} else {
128
-			// the question-mark button
129
-			//
130
-			header('Location: https://boinc.berkeley.edu/wiki/BOINC_Help');
131
-		}
132
-	} else {
99
+    if ($target == "advanced") {
100
+        if ($controlid == "6024") {
101
+            header('Location: https://boinc.berkeley.edu');
102
+        } else if ($controlid == "6025") {
103
+            header('Location: https://boinc.berkeley.edu/wiki/Advanced_view');
104
+        } else if ($controlid == "6035") {
105
+            header('Location: https://boinc.berkeley.edu/wiki/BOINC_Help');
106
+        } else {
107
+            header('Location: https://boinc.berkeley.edu/wiki/Advanced_view');
108
+        }
109
+    } else if ($target == "simple") {
110
+        if ($controlid == "6024") {
111
+            // "Show info about BOINC" item on Mac simple-view menu
112
+            //
113
+            header('Location: https://boinc.berkeley.edu');
114
+        } else if ($controlid == "6025") {
115
+            // "Show info about BOINC manager" item on Mac simple-view menu
116
+            //
117
+            header('Location: https://boinc.berkeley.edu/wiki/Simple_view');
118
+        } else if ($controlid == "6035") {
119
+            // "Show info about BOINC and BOINC Manager"
120
+            // item on Mac simple-view menu ?? do we need this item?
121
+            //
122
+            header('Location: https://boinc.berkeley.edu/wiki/BOINC_Help');
123
+        } else if ($controlid >= "6400" && $controlid <= "6499") {
124
+            // Any control that has focus in the simple view
125
+            //
126
+            header('Location: https://boinc.berkeley.edu/wiki/Simple_view');
127
+        } else {
128
+            // the question-mark button
129
+            //
130
+            header('Location: https://boinc.berkeley.edu/wiki/BOINC_Help');
131
+        }
132
+    } else {
133 133
     header('Location: https://boinc.berkeley.edu/wiki/BOINC_Help');
134
-  }
134
+    }
135 135
 }
136 136
 
137 137
 ?>
Please login to merge, or discard this patch.
doc/download.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -208,23 +208,23 @@
 block discarded – undo
208 208
         show_download('win');
209 209
     }
210 210
 } else if (strstr($client_info, 'Mac')) {
211
-	if (strstr($client_info, 'PPC Mac OS X')) {
212
-		show_download('macppc');
213
-	} else {
214
-		show_download('mac');
215
-	}
211
+    if (strstr($client_info, 'PPC Mac OS X')) {
212
+        show_download('macppc');
213
+    } else {
214
+        show_download('mac');
215
+    }
216 216
 } else if (strstr($client_info, 'Android')) {
217 217
     // Check for Android before Linux,
218 218
     // since Android contains the Linux kernel and the
219 219
     // web browser user agent string lists Linux too.
220 220
     //
221
-	show_download('android');
221
+    show_download('android');
222 222
 } else if (strstr($client_info, 'Linux')) {
223
-	if (strstr($client_info, 'x86_64')) {
224
-		show_download('linuxx64');
225
-	} else {
226
-		show_download('linux');
227
-	}
223
+    if (strstr($client_info, 'x86_64')) {
224
+        show_download('linuxx64');
225
+    } else {
226
+        show_download('linux');
227
+    }
228 228
 } else {
229 229
     show_download(null);
230 230
 }
Please login to merge, or discard this patch.
doc/versions.inc 1 patch
Indentation   +28 added lines, -28 removed lines patch added patch discarded remove patch
@@ -118,11 +118,11 @@  discard block
 block discarded – undo
118 118
 );
119 119
 
120 120
 $m74 = array(
121
-	"num"=>"7.4.42",
122
-	"status"=>"Older version (standard GUI)",
123
-	"file"=>"boinc_7.4.42_macOSX_x86_64.zip",
124
-	"date"=>"12 Mar 2015",
125
-	"type"=>"mac_advanced",
121
+    "num"=>"7.4.42",
122
+    "status"=>"Older version (standard GUI)",
123
+    "file"=>"boinc_7.4.42_macOSX_x86_64.zip",
124
+    "date"=>"12 Mar 2015",
125
+    "type"=>"mac_advanced",
126 126
 );
127 127
 
128 128
 $m72 = array(
@@ -158,11 +158,11 @@  discard block
 block discarded – undo
158 158
 );
159 159
 
160 160
 $m74c = array(
161
-	"num"=>"7.4.42",
162
-	"status"=>"Older version (Unix command-line version)",
163
-	"file"=>"boinc_7.4.42_x86_64-apple-darwin.zip",
164
-	"date"=>"12 Mar 2015",
165
-	"type"=>"bare_core",
161
+    "num"=>"7.4.42",
162
+    "status"=>"Older version (Unix command-line version)",
163
+    "file"=>"boinc_7.4.42_x86_64-apple-darwin.zip",
164
+    "date"=>"12 Mar 2015",
165
+    "type"=>"bare_core",
166 166
 );
167 167
 
168 168
 $m72c = array(
@@ -278,10 +278,10 @@  discard block
 block discarded – undo
278 278
     "description"=>"XP/Vista/7/8/8.1/10",
279 279
     "dbname" => "windows_intelx86",
280 280
     "versions"=>array(
281
-          $w76,
282
-          $w74,
283
-          $w66,
284
-          $w5816,
281
+            $w76,
282
+            $w74,
283
+            $w66,
284
+            $w5816,
285 285
     )
286 286
 );
287 287
 
@@ -290,8 +290,8 @@  discard block
 block discarded – undo
290 290
     "description"=>"XP/Vista/7/8/8.1/10",
291 291
     "dbname" => "windows_x86_64",
292 292
     "versions"=>array(
293
-          $w76x64,
294
-          $w74x64,
293
+            $w76x64,
294
+            $w74x64,
295 295
     )
296 296
 );
297 297
 
@@ -300,10 +300,10 @@  discard block
 block discarded – undo
300 300
     "description"=>"Version 10.6.0+",
301 301
     "dbname" => "x86_64-apple-darwin",
302 302
     "versions"=>array(
303
-          $m76,
304
-          $m76c,
305
-          $m74,
306
-          $m74c,
303
+            $m76,
304
+            $m76c,
305
+            $m74,
306
+            $m74c,
307 307
     )
308 308
 );
309 309
 
@@ -312,8 +312,8 @@  discard block
 block discarded – undo
312 312
     "description"=>"Version 10.4.0+",
313 313
     "dbname" => "x86_64-apple-darwin",
314 314
     "versions"=>array(
315
-          $m72,
316
-          $m72c,
315
+            $m72,
316
+            $m72c,
317 317
     )
318 318
 );
319 319
 
@@ -334,9 +334,9 @@  discard block
 block discarded – undo
334 334
     "description"=> linux_info(),
335 335
     "dbname" => "i686-pc-linux-gnu",
336 336
     "versions"=>array(
337
-          $l74ubuntudev,
338
-          $l72ubuntu,
339
-          $l70ubuntu,
337
+            $l74ubuntudev,
338
+            $l72ubuntu,
339
+            $l70ubuntu,
340 340
     )
341 341
 );
342 342
 
@@ -345,9 +345,9 @@  discard block
 block discarded – undo
345 345
     "description"=> linux_info(),
346 346
     "dbname" => "x86_64-pc-linux-gnu",
347 347
     "versions"=>array(
348
-          $l74ubuntux64dev,
349
-          $l72ubuntux64,
350
-          $l70ubuntux64,
348
+            $l74ubuntux64dev,
349
+            $l72ubuntux64,
350
+            $l70ubuntux64,
351 351
     )
352 352
 );
353 353
 
Please login to merge, or discard this patch.
doc/addons.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 }
34 34
 
35 35
 function show_group($name, $list, $short_name) {
36
-	echo "
36
+    echo "
37 37
 		<h2>$name</h2>
38 38
 		<table border=1 cellpadding=6 width=100%>
39 39
 		<tr>
@@ -41,19 +41,19 @@  discard block
 block discarded – undo
41 41
 			<th>Description</th>
42 42
 		</tr>
43 43
 	";
44
-	shuffle($list);
45
-	foreach ($list as $item) {
46
-		$file = $item[0];
47
-		$itemname = $item[1];
48
-		$desc = $item[3];
44
+    shuffle($list);
45
+    foreach ($list as $item) {
46
+        $file = $item[0];
47
+        $itemname = $item[1];
48
+        $desc = $item[3];
49 49
         $iname = urlencode($file);
50
-		echo "
50
+        echo "
51 51
 			<tr><td><a href=http://boinc.berkeley.edu/addon_item.php?platform=$short_name&item=$iname>$itemname</a></td>
52 52
 				<td>$desc</td>
53 53
 			</tr>
54 54
 		";
55
-	}
56
-	echo "</table>
55
+    }
56
+    echo "</table>
57 57
 	";
58 58
 }
59 59
 
Please login to merge, or discard this patch.
doc/index.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
             echo "</center>";
43 43
             include("piecharts/$i.html");
44 44
         }
45
-     );
45
+        );
46 46
 }
47 47
 
48 48
 function show_totals() {
Please login to merge, or discard this patch.
doc/build_client.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,5 +52,5 @@
 block discarded – undo
52 52
 This should also build libraries and screensaver.
53 53
 
54 54
 ";
55
-   page_tail();
55
+    page_tail();
56 56
 ?>
Please login to merge, or discard this patch.