PageRenderTime 37ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

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