|
@@ 562-564 (lines=3) @@
|
| 559 |
|
} |
| 560 |
|
$this->addLanguage($type, $language); |
| 561 |
|
// Load theme localization stylesheet and scripts if available |
| 562 |
|
if (file_exists($this->path . '/language/' . $language . '/script.js')) { |
| 563 |
|
$this->addScript($this->url . '/language/' . $language . '/script.js'); |
| 564 |
|
} |
| 565 |
|
if (file_exists($this->path . '/language/' . $language . '/style.css')) { |
| 566 |
|
$this->addStylesheet($this->url . '/language/' . $language . '/style.css'); |
| 567 |
|
} |
|
@@ 565-567 (lines=3) @@
|
| 562 |
|
if (file_exists($this->path . '/language/' . $language . '/script.js')) { |
| 563 |
|
$this->addScript($this->url . '/language/' . $language . '/script.js'); |
| 564 |
|
} |
| 565 |
|
if (file_exists($this->path . '/language/' . $language . '/style.css')) { |
| 566 |
|
$this->addStylesheet($this->url . '/language/' . $language . '/style.css'); |
| 567 |
|
} |
| 568 |
|
|
| 569 |
|
return true; |
| 570 |
|
} |