|
@@ 245-249 (lines=5) @@
|
| 242 |
|
} |
| 243 |
|
if ( !isset( $this->imageObjects[$skin] ) ) { |
| 244 |
|
$this->imageObjects[$skin] = []; |
| 245 |
|
if ( !isset( $this->images[$skin] ) ) { |
| 246 |
|
$this->images[$skin] = isset( $this->images['default'] ) ? |
| 247 |
|
$this->images['default'] : |
| 248 |
|
[]; |
| 249 |
|
} |
| 250 |
|
foreach ( $this->images[$skin] as $name => $options ) { |
| 251 |
|
$fileDescriptor = is_string( $options ) ? $options : $options['file']; |
| 252 |
|
|
|
@@ 294-298 (lines=5) @@
|
| 291 |
|
} |
| 292 |
|
if ( !isset( $this->globalVariants[$skin] ) ) { |
| 293 |
|
$this->globalVariants[$skin] = []; |
| 294 |
|
if ( !isset( $this->variants[$skin] ) ) { |
| 295 |
|
$this->variants[$skin] = isset( $this->variants['default'] ) ? |
| 296 |
|
$this->variants['default'] : |
| 297 |
|
[]; |
| 298 |
|
} |
| 299 |
|
foreach ( $this->variants[$skin] as $name => $config ) { |
| 300 |
|
if ( isset( $config['global'] ) && $config['global'] ) { |
| 301 |
|
$this->globalVariants[$skin][] = $name; |