Completed
Push — 1.10.x ( 123d3d...a32a3a )
by
unknown
52:30
created
main/inc/lib/formvalidator/Element/SelectTheme.php 2 patches
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -6,19 +6,19 @@
 block discarded – undo
6 6
 */
7 7
 class SelectTheme extends HTML_QuickForm_select
8 8
 {
9
-	/**
10
-	 * Class constructor
11
-	 */
9
+    /**
10
+     * Class constructor
11
+     */
12 12
     public function __construct($elementName = null, $elementLabel = null, $options = null, $attributes = null)
13 13
     {
14
-		parent::__construct($elementName, $elementLabel, $options, $attributes);
15
-		// Get all languages
16
-		$themes = api_get_themes();
17
-		$this->_options = array();
18
-		$this->_values = array();
19
-		$this->addOption('--',''); // no theme select
20
-		for ($i=0; $i < count($themes[0]); $i++) {
21
-			$this->addOption($themes[1][$i],$themes[0][$i]);
22
-		}
23
-	}
14
+        parent::__construct($elementName, $elementLabel, $options, $attributes);
15
+        // Get all languages
16
+        $themes = api_get_themes();
17
+        $this->_options = array();
18
+        $this->_values = array();
19
+        $this->addOption('--',''); // no theme select
20
+        for ($i=0; $i < count($themes[0]); $i++) {
21
+            $this->addOption($themes[1][$i],$themes[0][$i]);
22
+        }
23
+    }
24 24
 }
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -16,9 +16,9 @@
 block discarded – undo
16 16
 		$themes = api_get_themes();
17 17
 		$this->_options = array();
18 18
 		$this->_values = array();
19
-		$this->addOption('--',''); // no theme select
20
-		for ($i=0; $i < count($themes[0]); $i++) {
21
-			$this->addOption($themes[1][$i],$themes[0][$i]);
19
+		$this->addOption('--', ''); // no theme select
20
+		for ($i = 0; $i < count($themes[0]); $i++) {
21
+			$this->addOption($themes[1][$i], $themes[0][$i]);
22 22
 		}
23 23
 	}
24 24
 }
Please login to merge, or discard this patch.