@@ -70,7 +70,7 @@ |
||
| 70 | 70 | 'className' => 'btn-markItUp-Link', |
| 71 | 71 | 'key' => 'L', |
| 72 | 72 | 'openWith' => |
| 73 | - '[url=[![' . __('geshi_link_popup') . ']!]]', |
|
| 73 | + '[url=[!['.__('geshi_link_popup').']!]]', |
|
| 74 | 74 | 'closeWith' => '[/url]', |
| 75 | 75 | 'placeHolder' => __('geshi_link_placeholder'), |
| 76 | 76 | ), |
@@ -8,10 +8,10 @@ |
||
| 8 | 8 | $quoteSymbolSanitized = h($this->_sOptions['quote_symbol']); |
| 9 | 9 | $string = preg_replace( |
| 10 | 10 | // Begin of the text or a new line in the text, maybe one space afterwards |
| 11 | - '/(^|\n\r\s?)' . |
|
| 12 | - $quoteSymbolSanitized . |
|
| 11 | + '/(^|\n\r\s?)'. |
|
| 12 | + $quoteSymbolSanitized. |
|
| 13 | 13 | '\s(.*)(?!\<br)/m', |
| 14 | - "\\1<span class=\"richtext-citation\">" . $quoteSymbolSanitized . " \\2</span>", |
|
| 14 | + "\\1<span class=\"richtext-citation\">".$quoteSymbolSanitized." \\2</span>", |
|
| 15 | 15 | $string |
| 16 | 16 | ); |
| 17 | 17 | return $string; |
@@ -59,7 +59,7 @@ |
||
| 59 | 59 | } |
| 60 | 60 | |
| 61 | 61 | public function getResult() { |
| 62 | - return "<pre>" . Stopwatch::getString() . "</pre>"; |
|
| 62 | + return "<pre>".Stopwatch::getString()."</pre>"; |
|
| 63 | 63 | } |
| 64 | 64 | |
| 65 | 65 | } |
@@ -13,11 +13,11 @@ |
||
| 13 | 13 | if (empty($title) === false) { |
| 14 | 14 | $hasTitle = 1; |
| 15 | 15 | } |
| 16 | - $rand = "moh_" . md5(mt_rand(1, 10000) . $addr); |
|
| 16 | + $rand = "moh_".md5(mt_rand(1, 10000).$addr); |
|
| 17 | 17 | list($ttl, $dom) = explode('@', $addr); |
| 18 | 18 | |
| 19 | 19 | // missing style='unicode-bidi:bidi-override;direction:rtl;' |
| 20 | - $mailto = '<a id="' . $rand . '" href="#" data-ttl="' . $ttl . '" data-dom="' . $dom . '">' . $title . '</a>'; |
|
| 20 | + $mailto = '<a id="'.$rand.'" href="#" data-ttl="'.$ttl.'" data-dom="'.$dom.'">'.$title.'</a>'; |
|
| 21 | 21 | $mailto .= '<noscript><p>[You need to have Javascript enabled to see this mail address.]</p></noscript>'; |
| 22 | 22 | $mailto .= $this->Html->scriptBlock( |
| 23 | 23 | "$(function(){ |
@@ -5,7 +5,7 @@ |
||
| 5 | 5 | class MCacheSupportCachelet extends CacheSupportCachelet { |
| 6 | 6 | |
| 7 | 7 | public function clear($id = null) { |
| 8 | - touch(CakePlugin::path('M') . 'webroot/touch.txt'); |
|
| 8 | + touch(CakePlugin::path('M').'webroot/touch.txt'); |
|
| 9 | 9 | } |
| 10 | 10 | |
| 11 | 11 | } |
| 12 | 12 | \ No newline at end of file |
@@ -95,7 +95,7 @@ |
||
| 95 | 95 | if ($this->_isBot === null) { |
| 96 | 96 | $agent = env('HTTP_USER_AGENT'); |
| 97 | 97 | $imploded = implode('|', $this->_bots); |
| 98 | - $this->_isBot = (bool)preg_match('/' . $imploded . '/i', $agent); |
|
| 98 | + $this->_isBot = (bool) preg_match('/'.$imploded.'/i', $agent); |
|
| 99 | 99 | } |
| 100 | 100 | return $this->_isBot; |
| 101 | 101 | } |
@@ -36,7 +36,7 @@ |
||
| 36 | 36 | $result = $this->testAction('/sitemaps/index.xml', |
| 37 | 37 | ['method' => 'GET', 'return' => 'contents']); |
| 38 | 38 | $baseUrl = $this->controller->base; |
| 39 | - $this->assertContains($baseUrl . '/sitemaps/file/sitemap-entries-1-20000.xml', |
|
| 39 | + $this->assertContains($baseUrl.'/sitemaps/file/sitemap-entries-1-20000.xml', |
|
| 40 | 40 | $result); |
| 41 | 41 | } |
| 42 | 42 | |
@@ -5,7 +5,7 @@ |
||
| 5 | 5 | class SitemapHelper extends AppHelper { |
| 6 | 6 | |
| 7 | 7 | public function sitemapUrl() { |
| 8 | - return $this->baseUrl() . 'sitemap.xml'; |
|
| 8 | + return $this->baseUrl().'sitemap.xml'; |
|
| 9 | 9 | } |
| 10 | 10 | |
| 11 | 11 | public function baseUrl() { |
@@ -88,7 +88,7 @@ |
||
| 88 | 88 | $changefreq = 'hourly'; |
| 89 | 89 | } |
| 90 | 90 | $urls[] = [ |
| 91 | - 'loc' => 'entries/view/' . $entry['Entry']['id'], |
|
| 91 | + 'loc' => 'entries/view/'.$entry['Entry']['id'], |
|
| 92 | 92 | 'lastmod' => Date('c', $lastmod), |
| 93 | 93 | 'changefreq' => $changefreq |
| 94 | 94 | ]; |