| [ Index ] |
PHP Cross Reference of Joomla 1.5.26 DE |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved. 4 * @license GNU/GPL, see LICENSE.php 5 * Joomla! is free software. This version may have been modified pursuant 6 * to the GNU General Public License, and as distributed it includes or 7 * is derivative of works licensed under the GNU General Public License or 8 * other free or open source software licenses. 9 * See COPYRIGHT.php for copyright notices and details. 10 */ 11 12 // no direct access 13 defined( '_JEXEC' ) or die( 'Restricted access' ); 14 ?> 15 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 16 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>"> 17 <head> 18 <jdoc:include type="head" /> 19 <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/general.css" type="text/css" /> 20 <?php 21 $db = & JFactory::getDbo(); 22 $query = 'SELECT template' 23 . ' FROM #__templates_menu' 24 . ' WHERE client_id = 0 AND menuid = 0'; 25 26 $db->setQuery($query); 27 $template = $db->loadResult(); 28 29 if($this->direction == 'rtl' && (!file_exists(JPATH_THEMES.DS.$template.DS.'css/template_rtl.css') || !file_exists(JPATH_THEMES.DS.$template.DS.'css/template.css'))) : ?> 30 <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/template_rtl.css" type="text/css" /> 31 <?php elseif($this->direction == 'rtl' ) : ?> 32 <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $template; ?>/css/template.css" type="text/css" /> 33 <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $template; ?>/css/template_rtl.css" type="text/css" /> 34 <?php elseif($this->direction == 'ltr' && !file_exists(JPATH_THEMES.DS.$template.DS.'css/template.css')) : ?> 35 <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/template.css" type="text/css" /> 36 <?php elseif($this->direction == 'ltr' ) : ?> 37 <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $template; ?>/css/template.css" type="text/css" /> 38 <?php endif; ?> 39 </head> 40 <body class="contentpane"> 41 <jdoc:include type="message" /> 42 <jdoc:include type="component" /> 43 </body> 44 </html>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Wed Mar 28 15:54:07 2012 | Cross-referenced by PHPXref 0.7.1 |