|
@@ 546-548 (lines=3) @@
|
| 543 |
|
} |
| 544 |
|
$this->addLanguage($type, $language); |
| 545 |
|
// Load theme localization stylesheet and scripts if available |
| 546 |
|
if (file_exists($this->path . '/language/' . $language . '/script.js')) { |
| 547 |
|
$this->addScript($this->url . '/language/' . $language . '/script.js'); |
| 548 |
|
} |
| 549 |
|
if (file_exists($this->path . '/language/' . $language . '/style.css')) { |
| 550 |
|
$this->addStylesheet($this->url . '/language/' . $language . '/style.css'); |
| 551 |
|
} |
|
@@ 549-551 (lines=3) @@
|
| 546 |
|
if (file_exists($this->path . '/language/' . $language . '/script.js')) { |
| 547 |
|
$this->addScript($this->url . '/language/' . $language . '/script.js'); |
| 548 |
|
} |
| 549 |
|
if (file_exists($this->path . '/language/' . $language . '/style.css')) { |
| 550 |
|
$this->addStylesheet($this->url . '/language/' . $language . '/style.css'); |
| 551 |
|
} |
| 552 |
|
|
| 553 |
|
return true; |
| 554 |
|
} |