This repository was archived by the owner on Oct 30, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 14
14
// Define relative shortcut for current template directory
15
15
$ template = 'templates/ ' . $ this ->template ;
16
16
17
+ $ doc ->addStyleSheet ($ template . '/css/print.css ' , 'text/css ' , 'print ' );
18
+ if ($ this ->direction == 'rtl ' ) {
19
+ $ doc ->addStyleSheet ($ template . '/css/rtl.css ' , 'screen ' );
20
+ }
21
+
17
22
// Check for layout override
18
23
if (JFile::exists ($ template . '/layouts/component.php ' )) {
19
24
include_once $ template . '/layouts/component.php ' ;
20
25
}
21
26
else {
22
- ?>
23
-
27
+ ?>
24
28
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
25
29
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $ this ->language ?> " lang="<?php echo $ this ->language ?> " dir="<?php echo $ this ->direction ?> ">
26
30
<head>
27
31
<jdoc:include type="head" />
28
- <?php
29
- $ doc ->addStyleSheet ($ template . '/css/print.css ' , 'text/css ' , 'print ' );
30
- if ($ this ->direction == 'rtl ' )
31
- $ doc ->addStyleSheet ($ template . '/css/rtl.css ' , 'screen ' );
32
- ?>
33
32
</head>
34
33
<body class="contentpane">
35
34
<?php if ($ this ->countModules ('print-popup ' )) : ?>
You can’t perform that action at this time.
0 commit comments