@@ -39,7 +39,7 @@ |
||
39 | 39 | |
40 | 40 | foreach ($sendTo as $receiver) { |
41 | 41 | $receiver = trim($receiver); |
42 | - echo ++ $n . "/$total: $receiver"; |
|
42 | + echo ++$n . "/$total: $receiver"; |
|
43 | 43 | mail( |
44 | 44 | $receiver, |
45 | 45 | $subject, |
@@ -14,14 +14,14 @@ |
||
14 | 14 | |
15 | 15 | public function push_pos(&$pos) |
16 | 16 | { |
17 | - $this->stack[count($this->stack)] =& $pos; |
|
18 | - $this->stack_ref =& $pos; |
|
17 | + $this->stack[count($this->stack)] = & $pos; |
|
18 | + $this->stack_ref = & $pos; |
|
19 | 19 | } |
20 | 20 | |
21 | 21 | public function pop_pos() |
22 | 22 | { |
23 | 23 | unset($this->stack[count($this->stack) - 1]); |
24 | - $this->stack_ref =& $this->stack[count($this->stack) - 1]; |
|
24 | + $this->stack_ref = & $this->stack[count($this->stack) - 1]; |
|
25 | 25 | } |
26 | 26 | |
27 | 27 | /** |
@@ -142,7 +142,7 @@ |
||
142 | 142 | |
143 | 143 | /* default locale |
144 | 144 | */ |
145 | -$opt['template']['default']['locale'] = 'DE'; // can be overwritten by $opt['domain'][<domain>]['locale'] |
|
145 | +$opt['template']['default']['locale'] = 'DE'; // can be overwritten by $opt['domain'][<domain>]['locale'] |
|
146 | 146 | |
147 | 147 | // include all locale settings |
148 | 148 | require_once __DIR__ . '/../config2/locale.inc.php'; |
@@ -18,7 +18,7 @@ |
||
18 | 18 | |
19 | 19 | // database names |
20 | 20 | $dbname = 'opencaching'; |
21 | -$tmpdbname = 'octmp'; // empty db with CREATE and DROP privileges |
|
21 | +$tmpdbname = 'octmp'; // empty db with CREATE and DROP privileges |
|
22 | 22 | |
23 | 23 | // common developer system settings |
24 | 24 | require 'settings-dev.inc.php'; |
@@ -11,7 +11,7 @@ |
||
11 | 11 | * language specific vars |
12 | 12 | ****************************************************************************/ |
13 | 13 | |
14 | - $error_wrong_node = t('this description was created on another Opencaching-webserver and can only be deleted there.'); |
|
14 | + $error_wrong_node = t('this description was created on another Opencaching-webserver and can only be deleted there.'); |
|
15 | 15 | |
16 | - $commit = t('the cache description has been deleted'); |
|
17 | - $commit_title = t('delete this cache-description'); |
|
16 | + $commit = t('the cache description has been deleted'); |
|
17 | + $commit_title = t('delete this cache-description'); |
@@ -79,7 +79,7 @@ |
||
79 | 79 | ); |
80 | 80 | |
81 | 81 | $opt['page']['develsystem'] = true; |
82 | -$opt['page']['max_logins_per_hour'] = 1000; // for development ... |
|
82 | +$opt['page']['max_logins_per_hour'] = 1000; // for development ... |
|
83 | 83 | |
84 | 84 | $opt['mail']['from'] = 'root'; |
85 | 85 | $opt['mail']['subject'] = '[local.team-opencaching.de] '; |
@@ -19,7 +19,7 @@ |
||
19 | 19 | public $main_template = 'sys_main'; |
20 | 20 | public $bench = null; |
21 | 21 | public $compile_id = null; |
22 | - public $cache_id = null; // This is a smarty caching ID, not a caches.cache_id. |
|
22 | + public $cache_id = null; // This is a smarty caching ID, not a caches.cache_id. |
|
23 | 23 | public $title = ''; |
24 | 24 | public $menuitem = null; |
25 | 25 | public $nowpsearch = false; |
@@ -134,7 +134,7 @@ |
||
134 | 134 | $errorlog_dir = __DIR__ . '/../var/errorlog'; |
135 | 135 | $errorlog_path = $errorlog_dir . '/errorlog-' . date('Y-m-d'); |
136 | 136 | |
137 | - $error_mail_limit = 32768; // send max 32 KB = ca. 5-20 errors per day/logfile |
|
137 | + $error_mail_limit = 32768; // send max 32 KB = ca. 5-20 errors per day/logfile |
|
138 | 138 | |
139 | 139 | // All errors which may happen here are ignored, to avoid error recursions. |
140 | 140 |
@@ -608,7 +608,7 @@ |
||
608 | 608 | $pid_daemon = fgets($pidfile, 20); |
609 | 609 | fclose($pidfile); |
610 | 610 | |
611 | - $pid_daemon = (int) $pid_daemon; |
|
611 | + $pid_daemon = (int)$pid_daemon; |
|
612 | 612 | |
613 | 613 | // process running? |
614 | 614 | if (posix_kill($pid_daemon, 0)) { |
@@ -504,6 +504,9 @@ |
||
504 | 504 | ); |
505 | 505 | } |
506 | 506 | |
507 | +/** |
|
508 | + * @param string $watchtext |
|
509 | + */ |
|
507 | 510 | function insert_recommendation($rLog, $language, $watchtext) |
508 | 511 | { |
509 | 512 | global $translate; |