Index: trunk/extensions/MetavidWiki/skins/mv_embed/example_usage/sample_page.php |
— | — | @@ -22,7 +22,7 @@ |
23 | 23 | Your embed type has been detected as: <b><span id="detect_type"></span></b> |
24 | 24 | <br /> |
25 | 25 | Here are some sample embeds:<br /> |
26 | | -<? |
| 26 | +<?php |
27 | 27 | $sample_embed = array(); |
28 | 28 | |
29 | 29 | $sample_embed[0]['tag'] = '<video id="embed_vid" |
— | — | @@ -81,19 +81,19 @@ |
82 | 82 | |
83 | 83 | ?> |
84 | 84 | <table border="1" cellpadding="6" width="600"> |
85 | | - <? foreach ( $sample_embed as $key => $aval ) { |
| 85 | + <?php foreach ( $sample_embed as $key => $aval ) { |
86 | 86 | // $key!=8 && $key!=3 $key != 0 && $key != 1 && && $key!=3 |
87 | 87 | if ( $key!=0 && $key!=8 )continue; |
88 | 88 | ?> |
89 | 89 | <tr> |
90 | | - <td valign="top"><?=$aval['tag']?></td> |
91 | | - <td valign="top"><b>Sample Embed <?=$key?></b><br /> |
92 | | - <?=$aval['desc']?><br /> |
| 90 | + <td valign="top"><?php echo $aval['tag']?></td> |
| 91 | + <td valign="top"><b>Sample Embed <?php echo $key?></b><br /> |
| 92 | + <?php echo $aval['desc'] ?><br /> |
93 | 93 | <-- code used: <br /> |
94 | | - <pre> <?= htmlentities( $aval['tag'] )?></pre> |
| 94 | + <pre> <?php echo htmlentities( $aval['tag'] )?></pre> |
95 | 95 | </td> |
96 | 96 | </tr> |
97 | | - <? // oput a separator between video and playlist |
| 97 | + <?php // oput a separator between video and playlist |
98 | 98 | if ( $key == 5 ) { |
99 | 99 | echo '<tr><td colspan="2"><b>Sample Playlists:</b></td></tr>'; |
100 | 100 | } |
— | — | @@ -102,6 +102,6 @@ |
103 | 103 | <br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /> |
104 | 104 | </body> |
105 | 105 | </html> |
106 | | -<? |
| 106 | +<?php |
107 | 107 | } |
108 | 108 | ?> |
\ No newline at end of file |
Index: trunk/extensions/MetavidWiki/skins/mv_embed/example_usage/sample_playlists.php |
— | — | @@ -61,19 +61,19 @@ |
62 | 62 | |
63 | 63 | ?> |
64 | 64 | <table border="1" cellpadding="6" width="600"> |
65 | | - <? foreach ( $sample_embed as $key => $aval ) { |
| 65 | + <?php foreach ( $sample_embed as $key => $aval ) { |
66 | 66 | // && |
67 | 67 | if ( $key != 9 && $key != 8 && $key !=4)continue; |
68 | 68 | ?> |
69 | 69 | <tr> |
70 | | - <td valign="top"><?=$aval['tag']?></td> |
71 | | - <td valign="top"><b>Sample Embed <?=$key?></b><br /> |
72 | | - <?=$aval['desc']?><br /> |
| 70 | + <td valign="top"><?php echo $aval['tag']?></td> |
| 71 | + <td valign="top"><b>Sample Embed <?php echo $key?></b><br /> |
| 72 | + <?php echo $aval['desc']?><br /> |
73 | 73 | <-- code used: <br /> |
74 | | - <pre> <?= htmlentities( $aval['tag'] )?></pre> |
| 74 | + <pre> <?php echo htmlentities( $aval['tag'] )?></pre> |
75 | 75 | </td> |
76 | 76 | </tr> |
77 | | - <? // oput a separator between video and playlist |
| 77 | + <?php // oput a separator between video and playlist |
78 | 78 | if ( $key == 5 ) { |
79 | 79 | echo '<tr><td colspan="2"><b>Sample Playlists:</b></td></tr>'; |
80 | 80 | } |
— | — | @@ -82,6 +82,6 @@ |
83 | 83 | <br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /> |
84 | 84 | </body> |
85 | 85 | </html> |
86 | | -<? |
| 86 | +<?php |
87 | 87 | } |
88 | 88 | ?> |