@@ -24,7 +24,7 @@ |
||
24 | 24 | public function setTemplate($template) |
25 | 25 | { |
26 | 26 | if ((Mage::getConfig()->getModuleConfig('Mage_Poll')->is('active', 'true')) && |
27 | - (!Mage::getStoreConfig('advanced/modules_disable_output/Mage_Poll'))) |
|
27 | + ( ! Mage::getStoreConfig('advanced/modules_disable_output/Mage_Poll'))) |
|
28 | 28 | { |
29 | 29 | $this->_template = $template; |
30 | 30 | $this->setPollTemplate('turpentine/ajax.phtml', 'poll'); |
@@ -29,8 +29,7 @@ |
||
29 | 29 | $this->_template = $template; |
30 | 30 | $this->setPollTemplate('turpentine/ajax.phtml', 'poll'); |
31 | 31 | $this->setPollTemplate('turpentine/ajax.phtml', 'results'); |
32 | - } |
|
33 | - else |
|
32 | + } else |
|
34 | 33 | { |
35 | 34 | // Mage_Poll is disabled, so do nothing |
36 | 35 | } |
@@ -790,7 +790,7 @@ discard block |
||
790 | 790 | $tpl = <<<EOS |
791 | 791 | set req.http.X-Normalized-User-Agent = "other"; |
792 | 792 | EOS; |
793 | - if(!empty($mobileRegexp)){ |
|
793 | + if ( ! empty($mobileRegexp)) { |
|
794 | 794 | $tplContent = ' |
795 | 795 | if (req.http.User-Agent ~ "'.$mobileRegexp.'") { |
796 | 796 | set req.http.X-Normalized-User-Agent = "mobile"; |
@@ -1006,7 +1006,7 @@ discard block |
||
1006 | 1006 | } |
1007 | 1007 | } |
1008 | 1008 | EOS; |
1009 | - } else{ |
|
1009 | + } else { |
|
1010 | 1010 | $tpl_750 = ' |
1011 | 1011 | sub vcl_synth { |
1012 | 1012 | if (resp.status == 750) { |