@@ -67,7 +67,7 @@ |
||
67 | 67 | WHERE option_id=6 AND user_id='&1'", true, $login->userid)) |
68 | 68 | ) { |
69 | 69 | $fullscreen = true; |
70 | - $tpl->popup = true; // disables page header and -frame |
|
70 | + $tpl->popup = true; // disables page header and -frame |
|
71 | 71 | $tpl->popupmargin = false; |
72 | 72 | } else { |
73 | 73 | $fullscreen = false; |
@@ -109,7 +109,7 @@ |
||
109 | 109 | if ((trim($line, " \n") != '' || substr($line, -1) != "\n") |
110 | 110 | && !preg_match("/^ *(\\*|\/\/|#) *\n$/", $line)) { |
111 | 111 | $old_line = $line; |
112 | - $line = rtrim($line); # trims " \t\n\r\0\x0B" |
|
112 | + $line = rtrim($line); # trims " \t\n\r\0\x0B" |
|
113 | 113 | $line = $this->expandTabs($line); |
114 | 114 | $line .= "\n"; |
115 | 115 |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | $year = substr($cache['date_created'], 0, 4); |
27 | 27 | if ($year >= 2005 && $year <= date('Y') && ($lat != 0 || $long != 0)) { |
28 | 28 | $years[$year] = true; |
29 | - $liste[$lat][$long]['caches'][$year] ++; |
|
29 | + $liste[$lat][$long]['caches'][$year]++; |
|
30 | 30 | } |
31 | 31 | } |
32 | 32 | mysql_free_result($rs); |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | $year = substr($cache['date'], 0, 4); |
51 | 51 | if ($year >= 2005 && $year <= date('Y') && ($lat != 0 || $long != 0)) { |
52 | 52 | $years[$year] = true; |
53 | - $liste[$lat][$long]['logs'][$year] ++; |
|
53 | + $liste[$lat][$long]['logs'][$year]++; |
|
54 | 54 | } |
55 | 55 | } |
56 | 56 | mysql_free_result($rs); |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | while ($cache = sql_fetch_assoc($rs)) { |
68 | 68 | $lat = floor($cache['latitude'] / $grid); |
69 | 69 | $long = floor($cache['longitude'] / $grid); |
70 | - $liste[$lat][$long]['caches']['all'] ++; |
|
70 | + $liste[$lat][$long]['caches']['all']++; |
|
71 | 71 | $liste[$lat][$long]['logs']['all'] += $cache['logs']; |
72 | 72 | } |
73 | 73 | mysql_free_result($rs); |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | * |
54 | 54 | * @return string |
55 | 55 | */ |
56 | -function smarty_prefilter_t($source, \Smarty_Compiler &$smarty) |
|
56 | +function smarty_prefilter_t($source, \Smarty_Compiler & $smarty) |
|
57 | 57 | { |
58 | 58 | $output = ''; |
59 | 59 | $output_start = 0; |
@@ -95,7 +95,7 @@ discard block |
||
95 | 95 | * |
96 | 96 | * @return string |
97 | 97 | */ |
98 | -function smarty_prefilter_t_process_block($block, $message, \Smarty_Compiler &$smarty, $line) |
|
98 | +function smarty_prefilter_t_process_block($block, $message, \Smarty_Compiler & $smarty, $line) |
|
99 | 99 | { |
100 | 100 | if ($message != '') { |
101 | 101 | $start_attr = mb_strpos($block, ' '); |
@@ -155,7 +155,7 @@ discard block |
||
155 | 155 | * |
156 | 156 | * @return array |
157 | 157 | */ |
158 | -function smarty_prefilter_t_parse_attrs($tag_args, \Smarty_Compiler &$smarty) |
|
158 | +function smarty_prefilter_t_parse_attrs($tag_args, \Smarty_Compiler & $smarty) |
|
159 | 159 | { |
160 | 160 | |
161 | 161 | /* Tokenize tag attributes. */ |
@@ -300,7 +300,7 @@ discard block |
||
300 | 300 | * |
301 | 301 | * @return string |
302 | 302 | */ |
303 | -function smarty_prefilter_t_gettext($message, array $attrs, \Smarty_Compiler &$smarty, $line) |
|
303 | +function smarty_prefilter_t_gettext($message, array $attrs, \Smarty_Compiler & $smarty, $line) |
|
304 | 304 | { |
305 | 305 | global $opt, $translate; |
306 | 306 |