PageRenderTime 25ms CodeModel.GetById 22ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 1ms

/joomla-sites/first-try/templates/beez_20/component.php

http://chunksofcode.googlecode.com/
PHP | 80 lines | 53 code | 20 blank | 7 comment | 4 complexity | 2d23ec68b20afa61ae7453ac28531ca7 MD5 | raw file
 1<!-- *********** debug:START of file:   templates/beez_20/component.php   -->
 2
 3<?php
 4
 5    /**
 6     * @package                Joomla.Site
 7     * @subpackage    Templates.beez_20
 8     * @copyright        Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
 9     * @license                GNU General Public License version 2 or later; see LICENSE.txt
10     */
11
12    // No direct access.
13    defined('_JEXEC') or die;
14
15    $color = $this->params->get('templatecolor');
16
17?>
18<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
19
20<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">
21<head>
22
23    <!-- *********** debug:INCLUDE_START type="head"   in file: templates/breez_20/component.php -->
24    <jdoc:include type="head"  />
25    <!-- *********** debug:INCLUDE_END type="head"   in file: templates/breez_20/component.php -->
26
27    <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/system.css" type="text/css" />
28    <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/template.css" type="text/css" />
29    <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/position.css" type="text/css" />
30    <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/layout.css" type="text/css" media="screen,projection" />
31    <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/print.css" type="text/css" media="Print" />
32    <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/<?php echo $color; ?>.css" type="text/css" />
33
34<?php
35
36    $files = JHtml::_('stylesheet', 'templates/'.$this->template.'/css/general.css', null, false, true);
37
38    if ($files):
39        if (!is_array($files)):
40            $files = array($files);
41        endif;
42        foreach($files as $file):
43
44?>
45            <link rel="stylesheet" href="<?php echo $file;?>" type="text/css" />
46<?php
47
48        endforeach;
49    endif;
50
51    if($this->direction == 'rtl') : 
52
53?>
54    <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/template_rtl.css" type="text/css" />
55<?php 
56        
57    endif; 
58
59?>
60    <!--[if lte IE 6]>
61        <link href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/ieonly.css" rel="stylesheet" type="text/css" />
62    <![endif]-->
63</head>
64<body class="contentpane">
65    <div id="all">
66        <div id="main">
67            <!-- *********** debug:INCLUDE_START type="message"   in file: templates/breez_20/component.php -->
68            <jdoc:include type="message"  />
69            <!-- *********** debug:INCLUDE_END type="message"   in file: templates/breez_20/component.php -->
70
71            <!-- *********** debug:INCLUDE_START type="component"   in file: templates/breez_20/component.php -->
72            <jdoc:include type="component"  />
73            <!-- *********** debug:INCLUDE_END type="component"   in file: templates/breez_20/component.php -->
74        </div>
75    </div>
76</body>
77</html>
78
79<!-- *********** debug:END of file:   templates/beez_20/component.php    -->
80