|
6 | 6 | * @copyright Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved. |
7 | 7 | * @license GNU General Public License version 2 or later; see LICENSE.txt |
8 | 8 | */ |
9 | | - |
10 | 9 | defined('_JEXEC') or die; |
11 | 10 |
|
12 | 11 | /** @var JDocumentHtml $this */ |
13 | | - |
14 | | -$app = JFactory::getApplication(); |
| 12 | +$app = JFactory::getApplication(); |
15 | 13 | $lang = JFactory::getLanguage(); |
16 | 14 |
|
17 | 15 | // Output as HTML5 |
|
24 | 22 | JHtml::_('behavior.polyfill', array('filter'), 'lte IE 9'); |
25 | 23 |
|
26 | 24 | // Add template js |
27 | | -JHtml::_('script', 'template.js', array('version' => 'auto', 'relative' => true)); |
| 25 | +JHtml::_('script', 'isis.js', array('version' => 'auto', 'relative' => true)); |
28 | 26 |
|
29 | 27 | // Add html5 shiv |
30 | 28 | JHtml::_('script', 'jui/html5.js', array('version' => 'auto', 'relative' => true, 'conditional' => 'lt IE 9')); |
31 | 29 |
|
32 | 30 | // Add Stylesheets |
33 | | -JHtml::_('stylesheet', 'administrator/templates/isis/css/template' . ($this->direction === 'rtl' ? '-rtl' : '') . '.css', array('version' => 'auto')); |
| 31 | +JHtml::_('stylesheet', 'isis/isis.css', array('version' => 'auto', 'relative' => true)); |
34 | 32 |
|
35 | 33 | // Load optional RTL Bootstrap CSS |
36 | 34 | JHtml::_('bootstrap.loadCss', false, $this->direction); |
37 | 35 |
|
38 | 36 | // Load specific language related CSS |
39 | 37 | JHtml::_('stylesheet', 'administrator/language/' . $lang->getTag() . '/' . $lang->getTag() . '.css', array('version' => 'auto')); |
40 | | - |
41 | | -// Load custom.css |
42 | | -JHtml::_('stylesheet', 'custom.css', array('version' => 'auto', 'relative' => true)); |
43 | | - |
44 | | -// Link color |
45 | | -if ($this->params->get('linkColor')) |
46 | | -{ |
47 | | - $this->addStyleDeclaration('a { color: ' . $this->params->get('linkColor') . '; }'); |
48 | | -} |
49 | 38 | ?> |
50 | 39 | <!DOCTYPE html> |
51 | 40 | <html lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>"> |
52 | | -<head> |
53 | | - <jdoc:include type="head" /> |
| 41 | + <head> |
| 42 | + <jdoc:include type="head" /> |
54 | 43 | </head> |
55 | 44 | <body class="contentpane component"> |
56 | | - <jdoc:include type="message" /> |
57 | | - <jdoc:include type="component" /> |
| 45 | +<jdoc:include type="message" /> |
| 46 | +<jdoc:include type="component" /> |
58 | 47 | </body> |
59 | 48 | </html> |
0 commit comments