@@ -113,13 +113,13 @@ discard block |
||
| 113 | 113 | */ |
| 114 | 114 | public function m62FileSize($string, $html = true) |
| 115 | 115 | { |
| 116 | - if( $string == '' ) |
|
| 116 | + if ($string == '') |
|
| 117 | 117 | { |
| 118 | 118 | return $this->m62Lang('na'); |
| 119 | 119 | } |
| 120 | 120 | $formatted_size = $this->file->filesizeFormat($string); |
| 121 | 121 | $return = ''; |
| 122 | - if( $html ) |
|
| 122 | + if ($html) |
|
| 123 | 123 | { |
| 124 | 124 | $return = '<span class="backup_pro_filesize" title="' . number_format($string) . ' bytes">' . $formatted_size . '</span>'; |
| 125 | 125 | } |
@@ -261,15 +261,15 @@ discard block |
||
| 261 | 261 | */ |
| 262 | 262 | public function m62Options($type, $translate = true) |
| 263 | 263 | { |
| 264 | - if( !isset($this->options[$type]) ) |
|
| 264 | + if (!isset($this->options[$type])) |
|
| 265 | 265 | { |
| 266 | 266 | return array(); //@todo add exception |
| 267 | 267 | } |
| 268 | 268 | |
| 269 | 269 | $options = $this->options[$type]; |
| 270 | - if( $translate ) |
|
| 270 | + if ($translate) |
|
| 271 | 271 | { |
| 272 | - foreach($options As $key => $value) |
|
| 272 | + foreach ($options As $key => $value) |
|
| 273 | 273 | { |
| 274 | 274 | $options[$key] = $this->m62Lang($value); |
| 275 | 275 | } |