Test Setup Failed
Pull Request — master (#495)
by
unknown
02:16
created
lib/PageCustomize.php 1 patch
Braces   +8 added lines, -4 removed lines patch added patch discarded remove patch
@@ -8,7 +8,8 @@  discard block
 block discarded – undo
8 8
 
9 9
 class PageCustomize extends Page
10 10
 {
11
-    private function isChecked ($key, $testedValue = 1) {
11
+    private function isChecked ($key, $testedValue = 1)
12
+    {
12 13
         $value = getCurrentOption ($key);
13 14
         if (is_array ($value)) {
14 15
             if (in_array ($testedValue, $value)) {
@@ -22,14 +23,16 @@  discard block
 block discarded – undo
22 23
         return "";
23 24
     }
24 25
 
25
-    private function isSelected ($key, $value) {
26
+    private function isSelected ($key, $value)
27
+    {
26 28
         if (getCurrentOption ($key) == $value) {
27 29
             return "selected='selected'";
28 30
         }
29 31
         return "";
30 32
     }
31 33
 
32
-    private function getTemplateList () {
34
+    private function getTemplateList ()
35
+    {
33 36
         $result = array ();
34 37
         foreach (glob ("templates/*") as $filename) {
35 38
             if (preg_match ('/templates\/(.*)/', $filename, $m)) {
@@ -39,7 +42,8 @@  discard block
 block discarded – undo
39 42
         return $result;
40 43
     }    
41 44
 
42
-    private function getStyleList () {
45
+    private function getStyleList ()
46
+    {
43 47
         $result = array ();
44 48
         foreach (glob ("templates/" . getCurrentTemplate () . "/styles/style-*.css") as $filename) {
45 49
             if (preg_match ('/styles\/style-(.*?)\.css/', $filename, $m)) {
Please login to merge, or discard this patch.