File tree 3 files changed +13
-13
lines changed
3 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 23
23
<?php echo $ this ->Html ->charset (); ?>
24
24
<title><?php echo $ page_title ; ?> </title>
25
25
26
- <?php if (Configure::read ('debug ' ) == 0 ) { ?>
26
+ <?php if (Configure::read ('debug ' ) == 0 ): ?>
27
27
<meta http-equiv="Refresh" content="<?php echo $ pause ; ?> ;url=<?php echo $ url ; ?> "/>
28
- <?php } ?>
28
+ <?php endif ; ?>
29
29
<style><!--
30
30
P { text-align:center; font:bold 1.1em sans-serif }
31
31
A { color:#444; text-decoration:none }
@@ -35,4 +35,4 @@ A:HOVER { text-decoration: underline; color:#44E }
35
35
<body>
36
36
<p><a href="<?php echo $ url ; ?> "><?php echo $ message ; ?> </a></p>
37
37
</body>
38
- </html>
38
+ </html>
Original file line number Diff line number Diff line change 1
1
<?php
2
- if (!isset ($ channel )) {
2
+ if (!isset ($ channel )):
3
3
$ channel = array ();
4
- }
5
- if (!isset ($ channel ['title ' ])) {
4
+ endif ;
5
+ if (!isset ($ channel ['title ' ])):
6
6
$ channel ['title ' ] = $ title_for_layout ;
7
- }
7
+ endif ;
8
8
9
9
echo $ this ->Rss ->document (
10
10
$ this ->Rss ->channel (
Original file line number Diff line number Diff line change @@ -101,12 +101,12 @@ if (isset($filePresent)):
101
101
} catch (Exception $ connectionError ) {
102
102
$ connected = false ;
103
103
$ errorMsg = $ connectionError ->getMessage ();
104
- if (method_exists ($ connectionError , 'getAttributes ' )) {
104
+ if (method_exists ($ connectionError , 'getAttributes ' )):
105
105
$ attributes = $ connectionError ->getAttributes ();
106
- if (isset ($ errorMsg ['message ' ])) {
106
+ if (isset ($ errorMsg ['message ' ])):
107
107
$ errorMsg .= '<br /> ' . $ attributes ['message ' ];
108
- }
109
- }
108
+ endif ;
109
+ endif ;
110
110
}
111
111
?>
112
112
<p>
@@ -127,13 +127,13 @@ if (isset($filePresent)):
127
127
<?php endif ; ?>
128
128
<?php
129
129
App::uses ('Validation ' , 'Utility ' );
130
- if (!Validation::alphaNumeric ('cakephp ' )) {
130
+ if (!Validation::alphaNumeric ('cakephp ' )):
131
131
echo '<p><span class="notice"> ' ;
132
132
echo __d ('cake_dev ' , 'PCRE has not been compiled with Unicode support. ' );
133
133
echo '<br/> ' ;
134
134
echo __d ('cake_dev ' , 'Recompile PCRE with Unicode support by adding <code>--enable-unicode-properties</code> when configuring ' );
135
135
echo '</span></p> ' ;
136
- }
136
+ endif ;
137
137
?>
138
138
139
139
<p>
You can’t perform that action at this time.
0 commit comments