@@ -89,21 +89,21 @@ |
||
| 89 | 89 | <?php |
| 90 | 90 | $font = new \crocodicstudio\crudbooster\helpers\FontAwesome(); |
| 91 | 91 | $fontData = [ |
| 92 | - ["data"=>$font->text(),"label"=>"Text"], |
|
| 93 | - ["data"=>$font->web(),"label"=>"Web"], |
|
| 94 | - ["data"=>$font->video(),"label"=>"Video"], |
|
| 95 | - ["data"=>$font->transportation(),"label"=>"Transportation"], |
|
| 96 | - ["data"=>$font->payment(),"label"=>"Payment"], |
|
| 97 | - ["data"=>$font->medical(),"label"=>"Medical"], |
|
| 98 | - ["data"=>$font->hand(),"label"=>"Hand"], |
|
| 99 | - ["data"=>$font->fileType(),"label"=>"File Type"], |
|
| 100 | - ["data"=>$font->directional(),"label"=>"Directional"], |
|
| 101 | - ["data"=>$font->currency(),"label"=>"Currency"], |
|
| 102 | - ["data"=>$font->chart(),"label"=>"Chart"], |
|
| 103 | - ["data"=>$font->brands(),"label"=>"Brand"], |
|
| 104 | - ["data"=>$font->gender(),"label"=>"Gender"], |
|
| 105 | - ["data"=>$font->form(),"label"=>"Form"], |
|
| 106 | - ["data"=>$font->spinner(),"label"=>"Spinner"] |
|
| 92 | + ["data"=>$font->text(), "label"=>"Text"], |
|
| 93 | + ["data"=>$font->web(), "label"=>"Web"], |
|
| 94 | + ["data"=>$font->video(), "label"=>"Video"], |
|
| 95 | + ["data"=>$font->transportation(), "label"=>"Transportation"], |
|
| 96 | + ["data"=>$font->payment(), "label"=>"Payment"], |
|
| 97 | + ["data"=>$font->medical(), "label"=>"Medical"], |
|
| 98 | + ["data"=>$font->hand(), "label"=>"Hand"], |
|
| 99 | + ["data"=>$font->fileType(), "label"=>"File Type"], |
|
| 100 | + ["data"=>$font->directional(), "label"=>"Directional"], |
|
| 101 | + ["data"=>$font->currency(), "label"=>"Currency"], |
|
| 102 | + ["data"=>$font->chart(), "label"=>"Chart"], |
|
| 103 | + ["data"=>$font->brands(), "label"=>"Brand"], |
|
| 104 | + ["data"=>$font->gender(), "label"=>"Gender"], |
|
| 105 | + ["data"=>$font->form(), "label"=>"Form"], |
|
| 106 | + ["data"=>$font->spinner(), "label"=>"Spinner"] |
|
| 107 | 107 | ]; |
| 108 | 108 | ?> |
| 109 | 109 | @foreach($fontData as $f) |
@@ -27,22 +27,22 @@ |
||
| 27 | 27 | |
| 28 | 28 | if (!empty($_POST)) |
| 29 | 29 | { |
| 30 | - foreach ( $_POST as $key => $value ) |
|
| 31 | - { |
|
| 32 | - if ( ( !is_string($value) && !is_numeric($value) ) || !is_string($key) ) |
|
| 33 | - continue; |
|
| 30 | + foreach ( $_POST as $key => $value ) |
|
| 31 | + { |
|
| 32 | + if ( ( !is_string($value) && !is_numeric($value) ) || !is_string($key) ) |
|
| 33 | + continue; |
|
| 34 | 34 | |
| 35 | - if ( get_magic_quotes_gpc() ) |
|
| 36 | - $value = htmlspecialchars( stripslashes((string)$value) ); |
|
| 37 | - else |
|
| 38 | - $value = htmlspecialchars( (string)$value ); |
|
| 35 | + if ( get_magic_quotes_gpc() ) |
|
| 36 | + $value = htmlspecialchars( stripslashes((string)$value) ); |
|
| 37 | + else |
|
| 38 | + $value = htmlspecialchars( (string)$value ); |
|
| 39 | 39 | ?> |
| 40 | 40 | <tr> |
| 41 | 41 | <th style="vertical-align: top"><?php echo htmlspecialchars( (string)$key ); ?></th> |
| 42 | 42 | <td><pre class="samples"><?php echo $value; ?></pre></td> |
| 43 | 43 | </tr> |
| 44 | 44 | <?php |
| 45 | - } |
|
| 45 | + } |
|
| 46 | 46 | } |
| 47 | 47 | ?> |
| 48 | 48 | </table> |
@@ -27,18 +27,18 @@ |
||
| 27 | 27 | |
| 28 | 28 | if (!empty($_POST)) |
| 29 | 29 | { |
| 30 | - foreach ( $_POST as $key => $value ) |
|
| 30 | + foreach ($_POST as $key => $value) |
|
| 31 | 31 | { |
| 32 | - if ( ( !is_string($value) && !is_numeric($value) ) || !is_string($key) ) |
|
| 32 | + if ((!is_string($value) && !is_numeric($value)) || !is_string($key)) |
|
| 33 | 33 | continue; |
| 34 | 34 | |
| 35 | - if ( get_magic_quotes_gpc() ) |
|
| 36 | - $value = htmlspecialchars( stripslashes((string)$value) ); |
|
| 35 | + if (get_magic_quotes_gpc()) |
|
| 36 | + $value = htmlspecialchars(stripslashes((string) $value)); |
|
| 37 | 37 | else |
| 38 | - $value = htmlspecialchars( (string)$value ); |
|
| 38 | + $value = htmlspecialchars((string) $value); |
|
| 39 | 39 | ?> |
| 40 | 40 | <tr> |
| 41 | - <th style="vertical-align: top"><?php echo htmlspecialchars( (string)$key ); ?></th> |
|
| 41 | + <th style="vertical-align: top"><?php echo htmlspecialchars((string) $key); ?></th> |
|
| 42 | 42 | <td><pre class="samples"><?php echo $value; ?></pre></td> |
| 43 | 43 | </tr> |
| 44 | 44 | <?php |
@@ -29,14 +29,16 @@ |
||
| 29 | 29 | { |
| 30 | 30 | foreach ( $_POST as $key => $value ) |
| 31 | 31 | { |
| 32 | - if ( ( !is_string($value) && !is_numeric($value) ) || !is_string($key) ) |
|
| 33 | - continue; |
|
| 32 | + if ( ( !is_string($value) && !is_numeric($value) ) || !is_string($key) ) { |
|
| 33 | + continue; |
|
| 34 | + } |
|
| 34 | 35 | |
| 35 | - if ( get_magic_quotes_gpc() ) |
|
| 36 | - $value = htmlspecialchars( stripslashes((string)$value) ); |
|
| 37 | - else |
|
| 38 | - $value = htmlspecialchars( (string)$value ); |
|
| 39 | -?> |
|
| 36 | + if ( get_magic_quotes_gpc() ) { |
|
| 37 | + $value = htmlspecialchars( stripslashes((string)$value) ); |
|
| 38 | + } else { |
|
| 39 | + $value = htmlspecialchars( (string)$value ); |
|
| 40 | + } |
|
| 41 | + ?> |
|
| 40 | 42 | <tr> |
| 41 | 43 | <th style="vertical-align: top"><?php echo htmlspecialchars( (string)$key ); ?></th> |
| 42 | 44 | <td><pre class="samples"><?php echo $value; ?></pre></td> |