- md5
- c1b56db4e8f1eb00606f8a227a9929e3
- sha1
- 76044a52f95767c1595306e0baccc473b98ce2ca
- sha256
- 4914e636e2a26bc70e8f67b6c6360afb125246ca193969df765cf8fa6c5d90c1
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
<?php
/**
* @package Joomla.Administrator
* @subpackage Template.hathor
*
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
$app = JFactory::getApplication();
$doc = JFactory::getDocument();
$lang = JFactory::getLanguage();
$input = $app->input;
$user = JFactory::getUser();
// Load optional rtl bootstrap css and bootstrap bugfixes
JHtmlBootstrap::loadCss($includeMaincss = false, $this->direction);
// Load specific language related CSS
$file = 'language/' . $lang->getTag() . '/' . $lang->getTag() . '.css';
if (is_file($file)) :
$doc->addStyleSheet($file);
endif;
// Logo file
if ($this->params->get('logoFile'))
{
$logo = JURI::root() . $this->params->get('logoFile');
}
else
{
$logo = $this->baseurl . "/templates/" . $this->template . "/images/logo.png";
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<jdoc:include type="head" />
<!-- Load system style CSS -->
<link rel="stylesheet" href="templates/system/css/system.css" type="text/css" />
<!-- Load Template CSS -->
<link href="templates/<?php echo $this->template ?>/css/template.css" rel="stylesheet" type="text/css" />
<!-- Load additional CSS styles for colors -->
<?php
if (!$this->params->get('colourChoice')) :
$colour = 'standard';
else :
$colour = htmlspecialchars($this->params->get('colourChoice'));
endif;
?>
<link href="templates/<?php echo $this->template ?>/css/colour_<?php echo $colour; ?>.css" rel="stylesheet" type="text/css" />
<!-- Load additional CSS styles for bold Text -->
<?php if ($this->params->get('boldText')) : ?>
<link href="templates/<?php echo $this->template ?>/css/boldtext.css" rel="stylesheet" type="text/css" />
<?php endif; ?>
<!-- Load additional CSS styles for Internet Explorer -->
<!--[if IE 8]>
<link href="templates/<?php echo $this->template ?>/css/ie8.css" rel="stylesheet" type="text/css" />
<![endif]-->
<!--[if IE 7]>
<link href="templates/<?php echo $this->template ?>/css/ie7.css" rel="stylesheet" type="text/css" />
<![endif]-->
<!--[if lt IE 9]>
<script src="../media/jui/js/html5.js"></script>
<![endif]-->
<!-- Load Template JavaScript -->
<script type="text/javascript" src="templates/<?php echo $this->template ?>/js/template.js"></script>
</head>
<body id="minwidth-body">
<div id="containerwrap">
<!-- Header Logo -->
<div id="header">
<!-- Site Title and Skip to Content -->
<div class="title-ua">
<h1 class="title"><?php echo $this->params->get('showSiteName') ? $app->getCfg('sitename') . " " . JText::_('JADMINISTRATION') : JText::_('JADMINISTRATION'); ?></h1>
<div id="skiplinkholder"><p><a id="skiplink" href="#skiptarget"><?php echo JText::_('TPL_HATHOR_SKIP_TO_MAIN_CONTENT'); ?></a></p></div>
</div>
</div><!-- end header -->
<!-- Main Menu Navigation -->
<div id="nav">
<div id="module-menu">
<h2 class="element-invisible"><?php echo JText::_('TPL_HATHOR_MAIN_MENU'); ?></h2>
<jdoc:include type="modules" name="menu" />
</div>
<div class="clr"></div>
</div><!-- end nav -->
<!-- Status Module -->
<div id="module-status">
<jdoc:include type="modules" name="status"/>
<?php
//Display an harcoded logout
$task = $app->input->get('task');
if ($task == 'edit' || $task == 'editA' || $app->input->getInt('hidemainmenu')) {
$logoutLink = '';
} else {
$logoutLink = JRoute::_('index.php?option=com_login&task=logout&'. JSession::getFormToken() .'=1');
}
$hideLinks = $app->input->getBool('hidemainmenu');
$output = array();
// Print the Preview link to Main site.
//$output[] = '<span class="viewsite"><a href="'.JURI::root().'" target="_blank">'.JText::_('JGLOBAL_VIEW_SITE').'</a></span>';
// Print the logout link.
//$output[] = '<span class="logout">' .($hideLinks ? '' : '<a href="'.$logoutLink.'">').JText::_('JLOGOUT').($hideLinks ? '' : '</a>').'</span>';
// Output the items.
foreach ($output as $item) :
echo $item;
endforeach;
?>
</div>
<!-- Content Area -->
<div id="content">
<!-- Component Title -->
<jdoc:include type="modules" name="title" />
<!-- System Messages -->
<jdoc:include type="message" />
<!-- Sub Menu Navigation -->
<div class="subheader">
<?php if (!$app->input->getInt('hidemainmenu')): ?>
<h3 class="element-invisible"><?php echo JText::_('TPL_HATHOR_SUB_MENU'); ?></h3>
<jdoc:include type="modules" name="submenu" style="xhtmlid" id="submenu-box" />
<?php echo " " ?>
<?php else : ?>
<div id="no-submenu"></div>
<?php endif; ?>
</div>
<!-- Toolbar Icon Buttons -->
<div class="toolbar-box">
<jdoc:include type="modules" name="toolbar" style="xhtml" />
<div class="clr"></div>
</div>
<!-- Beginning of Actual Content -->
<div id="element-box">
<div id="container-collapse" class="container-collapse"></div>
<p id="skiptargetholder"><a id="skiptarget" class="skip" tabindex="-1"></a></p>
<!-- The main component -->
<jdoc:include type="component" />
<div class="clr"></div>
</div><!-- end of element-box -->
<noscript>
<?php echo JText::_('JGLOBAL_WARNJAVASCRIPT') ?>
</noscript>
<div class="clr"></div>
</div><!-- end of content -->
<div class="clr"></div>
</div><!-- end of containerwrap -->
<!-- Footer -->
<div id="footer">
<jdoc:include type="modules" name="footer" style="none" />
<p class="copyright">
<?php $joomla = '<a href="http://www.joomla.org">Joomla!®</a>';
echo JText::sprintf('JGLOBAL_ISFREESOFTWARE', $joomla) ?>
</p>
</div>
</body>
</html>
The same content is in 2 releases, Joomla 3.0.0 to 3.0.1. See them all, or every version of this file.