Applied fixes from StyleCI

This commit is contained in:
Sujit Prasad
2016-02-19 02:20:12 -05:00
committed by StyleCI Bot
parent be5df5334f
commit d637c2b23f
439 changed files with 19063 additions and 19210 deletions

View File

@@ -25,24 +25,27 @@ For licensing, see LICENSE.md or http://ckeditor.com/license
</thead>
<?php
if (!empty($_POST))
{
foreach ( $_POST as $key => $value )
{
if ( ( !is_string($value) && !is_numeric($value) ) || !is_string($key) )
continue;
if (!empty($_POST)) {
foreach ($_POST as $key => $value) {
if ((!is_string($value) && !is_numeric($value)) || !is_string($key)) {
continue;
}
if ( get_magic_quotes_gpc() )
$value = htmlspecialchars( stripslashes((string)$value) );
else
$value = htmlspecialchars( (string)$value );
?>
if (get_magic_quotes_gpc()) {
$value = htmlspecialchars(stripslashes((string) $value));
} else {
$value = htmlspecialchars((string) $value);
}
?>
<tr>
<th style="vertical-align: top"><?php echo htmlspecialchars( (string)$key ); ?></th>
<td><pre class="samples"><?php echo $value; ?></pre></td>
<th style="vertical-align: top"><?php echo htmlspecialchars((string) $key);
?></th>
<td><pre class="samples"><?php echo $value;
?></pre></td>
</tr>
<?php
}
}
}
?>
</table>

View File

@@ -13,4 +13,4 @@
For licensing, see LICENSE.md or http://ckeditor.com/license
-------------------------------------------------------------------------------------------
</pre><div style="display:none"></body> */ include "assets/posteddata.php"; ?>
</pre><div style="display:none"></body> */ include 'assets/posteddata.php';