@@ 532-534 (lines=3) @@ | ||
529 | } |
|
530 | $this->addLanguage($type, $language); |
|
531 | // Load theme localization stylesheet and scripts if available |
|
532 | if (file_exists($this->path . '/language/' . $language . '/script.js')) { |
|
533 | $this->addScript($this->url . '/language/' . $language . '/script.js'); |
|
534 | } |
|
535 | if (file_exists($this->path . '/language/' . $language . '/style.css')) { |
|
536 | $this->addStylesheet($this->url . '/language/' . $language . '/style.css'); |
|
537 | } |
|
@@ 535-537 (lines=3) @@ | ||
532 | if (file_exists($this->path . '/language/' . $language . '/script.js')) { |
|
533 | $this->addScript($this->url . '/language/' . $language . '/script.js'); |
|
534 | } |
|
535 | if (file_exists($this->path . '/language/' . $language . '/style.css')) { |
|
536 | $this->addStylesheet($this->url . '/language/' . $language . '/style.css'); |
|
537 | } |
|
538 | ||
539 | return true; |
|
540 | } |