Completed
Push — master ( c46095...7a2a91 )
by Federico
02:37
created
dist/jate/modules/Html/Html.php 1 patch
Braces   +9 added lines, -6 removed lines patch added patch discarded remove patch
@@ -30,18 +30,21 @@
 block discarded – undo
30 30
 			$tempStr = "";
31 31
 			$timeParameter = "?t=".time();
32 32
 			$time = ($this->parameters["app"]->cache->css == true) ? "" : $timeParameter;
33
-			foreach ($this->tags["css"] as $i)
34
-				$tempStr .= "<link rel='stylesheet' href='$i$time'>";
33
+			foreach ($this->tags["css"] as $i) {
34
+							$tempStr .= "<link rel='stylesheet' href='$i$time'>";
35
+			}
35 36
 			$this->tags["css"] = $tempStr;
36 37
 			$tempStr = "";
37 38
 			$time = ($this->parameters["app"]->cache->js == true) ? "" : $timeParameter;
38
-			foreach ($this->tags["js"] as $i)
39
-				$tempStr .= "<script src='$i$time'></script>";
39
+			foreach ($this->tags["js"] as $i) {
40
+							$tempStr .= "<script src='$i$time'></script>";
41
+			}
40 42
 			$this->tags["js"] = $tempStr;
41 43
 			$tempStr = "";
42 44
 			$tempStr .= "<script type='text/javascript'>";
43
-			foreach ($this->tags["jsVariables"] as $i)
44
-				$tempStr .= " $i[0] = $i[1];\n";
45
+			foreach ($this->tags["jsVariables"] as $i) {
46
+							$tempStr .= " $i[0] = $i[1];\n";
47
+			}
45 48
 			$tempStr .= "</script>";
46 49
 			$this->tags["jsVariables"] = $tempStr;
47 50
 		}
Please login to merge, or discard this patch.