first commit
27
templates/system/component.php
Normal file
@ -0,0 +1,27 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage Template.system
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
?>
|
||||
<!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>
|
||||
<jdoc:include type="head" />
|
||||
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/general.css" type="text/css" />
|
||||
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/css/template.css" type="text/css" />
|
||||
|
||||
<?php if ($this->direction == 'rtl') : ?>
|
||||
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/template_rtl.css" type="text/css" />
|
||||
<?php endif; ?>
|
||||
</head>
|
||||
<body class="contentpane">
|
||||
<jdoc:include type="message" />
|
||||
<jdoc:include type="component" />
|
||||
</body>
|
||||
</html>
|
57
templates/system/css/editor.css
Normal file
@ -0,0 +1,57 @@
|
||||
/**
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
body {
|
||||
background: #fff;
|
||||
font-family: Tahoma,Helvetica,Arial,sans-serif;
|
||||
line-height: 1.3em;
|
||||
font-size: 76%;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-family:Helvetica ,Arial,sans-serif;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-family: Arial, Helvetica,sans-serif;
|
||||
font-size: 14px;
|
||||
font-weight: normal;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-weight: bold;
|
||||
font-family: Helvetica,Arial,sans-serif;
|
||||
font-size: 13px;
|
||||
color: #135cae;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-weight: bold;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
a:link, a:visited {
|
||||
color: #1B57B1; text-decoration: none;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #00c; text-decoration: underline;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
div.caption { padding: 0 10px 0 10px; }
|
||||
div.caption img { border: 1px solid #CCC; }
|
||||
div.caption p { font-size: .90em; color: #666; text-align: center; }
|
||||
|
||||
/* STYLES FOR JOOMLA! EDITOR */
|
||||
hr#system-readmore { border: red dashed 1px; color: red; }
|
||||
hr.system-pagebreak { border: gray dashed 1px; color: gray; }
|
80
templates/system/css/error.css
Normal file
@ -0,0 +1,80 @@
|
||||
/**
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
/* Start Common Styles */
|
||||
* {
|
||||
font-family: helvetica, arial, sans-serif;
|
||||
font-size: 11px;
|
||||
color: #5F6565;
|
||||
}
|
||||
|
||||
html {
|
||||
height: 100%;
|
||||
margin-bottom: 1px;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
height: 100%;
|
||||
margin-bottom: 1px;
|
||||
background: #FFFFFF;
|
||||
font-family: helvetica, arial, sans-serif;
|
||||
font-weight: normal;
|
||||
padding-top: 0px;
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
||||
.error {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
table, td, th, div, pre, blockquote, ul, ol, dl, address,.componentheading,.contentheading,.contentpagetitle,.sectiontableheader,.newsfeedheading {
|
||||
font-family: helvetica, arial, sans-serif;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
#outline {
|
||||
width: 900px;
|
||||
margin: 0 auto;
|
||||
padding: 0px;
|
||||
padding-top: 60px;
|
||||
padding-bottom: 60px;
|
||||
background: #FFFFFF;
|
||||
}
|
||||
#errorboxoutline {
|
||||
width: 900px;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
border: 1px solid #000000;
|
||||
}
|
||||
#errorboxheader {
|
||||
width: 900px;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
background: #E44249;
|
||||
color: #FFFFFF;
|
||||
font-weight: bold;
|
||||
font-size: 12px;
|
||||
line-height: 22px;
|
||||
text-align: center;
|
||||
border-bottom: 1px solid #000000;
|
||||
}
|
||||
#errorboxbody {
|
||||
margin: 0px;
|
||||
padding: 10px;
|
||||
text-align: left;
|
||||
}
|
||||
#techinfo {
|
||||
margin: 10px;
|
||||
padding: 10px;
|
||||
text-align: left;
|
||||
border: 1px solid #CCCCCC;
|
||||
color: #CCCCCC;
|
||||
}
|
||||
#techinfo p {
|
||||
color: #CCCCCC;
|
||||
}
|
21
templates/system/css/error_rtl.css
Normal file
@ -0,0 +1,21 @@
|
||||
/**
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
/* Start Common Styles */
|
||||
|
||||
body {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.TD{
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
#errorboxbody {
|
||||
text-align: right;
|
||||
}
|
||||
#techinfo {
|
||||
text-align: right;
|
||||
}
|
164
templates/system/css/general.css
Normal file
@ -0,0 +1,164 @@
|
||||
/**
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
/* Form validation */
|
||||
.invalid { border-color: #ff0000; }
|
||||
label.invalid { color: #ff0000; }
|
||||
|
||||
/* Buttons */
|
||||
#editor-xtd-buttons {
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.button2-left,
|
||||
.button2-right,
|
||||
.button2-left div,
|
||||
.button2-right div {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.button2-left a,
|
||||
.button2-right a,
|
||||
.button2-left span,
|
||||
.button2-right span {
|
||||
display: block;
|
||||
height: 22px;
|
||||
float: left;
|
||||
line-height: 22px;
|
||||
font-size: 11px;
|
||||
color: #666;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.button2-left span,
|
||||
.button2-right span {
|
||||
cursor: default;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.button2-left .page a,
|
||||
.button2-right .page a,
|
||||
.button2-left .page span,
|
||||
.button2-right .page span {
|
||||
padding: 0 6px;
|
||||
}
|
||||
|
||||
.page span {
|
||||
color: #000;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.button2-left a:hover,
|
||||
.button2-right a:hover {
|
||||
text-decoration: none;
|
||||
color: #0B55C4;
|
||||
}
|
||||
|
||||
.button2-left a,
|
||||
.button2-left span {
|
||||
padding: 0 24px 0 6px;
|
||||
}
|
||||
|
||||
.button2-right a,
|
||||
.button2-right span {
|
||||
padding: 0 6px 0 24px;
|
||||
}
|
||||
|
||||
.button2-left {
|
||||
background: url(../images/j_button2_left.png) no-repeat;
|
||||
float: left;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
.button2-right {
|
||||
background: url(../images/j_button2_right.png) 100% 0 no-repeat;
|
||||
float: left;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
.button2-left .image {
|
||||
background: url(../images/j_button2_image.png) 100% 0 no-repeat;
|
||||
}
|
||||
|
||||
.button2-left .readmore,
|
||||
.button2-left .article {
|
||||
background: url(../images/j_button2_readmore.png) 100% 0 no-repeat;
|
||||
}
|
||||
|
||||
.button2-left .pagebreak {
|
||||
background: url(../images/j_button2_pagebreak.png) 100% 0 no-repeat;
|
||||
}
|
||||
|
||||
.button2-left .blank {
|
||||
background: url(../images/j_button2_blank.png) 100% 0 no-repeat;
|
||||
}
|
||||
|
||||
/* Tooltips */
|
||||
div.tooltip {
|
||||
float: left;
|
||||
background: #ffc;
|
||||
border: 1px solid #D4D5AA;
|
||||
padding: 5px;
|
||||
max-width: 200px;
|
||||
z-index:13000;
|
||||
}
|
||||
|
||||
div.tooltip h4 {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
font-size: 95%;
|
||||
font-weight: bold;
|
||||
margin-top: -15px;
|
||||
padding-top: 15px;
|
||||
padding-bottom: 5px;
|
||||
background: url(../images/selector-arrow.png) no-repeat;
|
||||
}
|
||||
|
||||
div.tooltip p {
|
||||
font-size: 90%;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Caption fixes */
|
||||
/* Caption fixes */
|
||||
.img_caption .left {
|
||||
float: left;
|
||||
margin-right: 1em;
|
||||
}
|
||||
|
||||
.img_caption .right {
|
||||
float: right;
|
||||
margin-left: 1em;
|
||||
}
|
||||
|
||||
.img_caption .left p {
|
||||
clear: left;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.img_caption .right p {
|
||||
clear: right;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.img_caption {
|
||||
text-align: center!important;
|
||||
}
|
||||
|
||||
.img_caption.none {
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
}
|
||||
|
||||
|
||||
/* Calendar */
|
||||
a img.calendar {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
margin-left: 3px;
|
||||
background: url(../images/calendar.png) no-repeat;
|
||||
cursor: pointer;
|
||||
vertical-align: middle;
|
||||
}
|
1
templates/system/css/index.html
Normal file
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
66
templates/system/css/offline.css
Normal file
@ -0,0 +1,66 @@
|
||||
/**
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
body {
|
||||
margin: 0; padding: 0;
|
||||
font-family: Arial, Helvetica, Sans Serif; font-size: 78%;
|
||||
color: #333333;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
img {
|
||||
border: 0 none;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
/* -- id styles ------------------------------------- */
|
||||
|
||||
#frame {
|
||||
margin: 20px auto;
|
||||
width: 400px;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
#frame img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
#frame form {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
/* -- class styles ---------------------------------- */
|
||||
|
||||
.outline {
|
||||
border: 1px solid #cccccc;
|
||||
background: #ffffff;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
/* -- form styles ----------------------------------- */
|
||||
|
||||
form { margin: auto; }
|
||||
form p { margin: 0; padding: 0; }
|
||||
form fieldset { border: 0 none; margin: 0em; padding: 0.2em;}
|
||||
label { display: block; float: left; }
|
||||
input { padding: 1px; }
|
||||
input.button { width: auto; height: 1.8em; cursor: pointer; }
|
||||
|
||||
label { margin: 5px 0px 2px 0px; width: 10em;}
|
||||
form p { padding: 0.2em 0 0.2em 0; }
|
||||
form br { display: none; }
|
||||
input { border: 1px solid #0E67A1; }
|
||||
input.button { background-color: white; }
|
||||
input.button:hover { border-color: #FC902E; }
|
||||
|
||||
|
||||
|
||||
#frmlogin { margin: 0 10px 0 10px; }
|
||||
#frmlogin fieldset.button { text-align: right; }
|
||||
|
||||
|
||||
|
15
templates/system/css/offline_rtl.css
Normal file
@ -0,0 +1,15 @@
|
||||
/**
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
/**
|
||||
* Joomla! 1.5 Offline RTL css file
|
||||
*
|
||||
* @package Joomla
|
||||
* @since 1.5
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
#frame form{ text-align: right; }
|
||||
label { float:right; }
|
50
templates/system/css/system.css
Normal file
@ -0,0 +1,50 @@
|
||||
/**
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
/* Import project-level system CSS */
|
||||
@import url(../../../media/system/css/system.css);
|
||||
|
||||
/* Unpublished */
|
||||
.system-unpublished, tr.system-unpublished {
|
||||
background: #e8edf1;
|
||||
border-top: 4px solid #c4d3df;
|
||||
border-bottom: 4px solid #c4d3df;
|
||||
}
|
||||
|
||||
span.highlight {
|
||||
background-color:#FFFFCC;
|
||||
font-weight:bold;
|
||||
padding:1px 4px;
|
||||
}
|
||||
|
||||
.img-fulltext-float-right {
|
||||
float: right;
|
||||
margin-left: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.img-fulltext-float-left {
|
||||
float: left;
|
||||
margin-right: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.img-fulltext-float-none {
|
||||
}
|
||||
|
||||
.img-intro-float-right {
|
||||
float: right;
|
||||
margin-left: 5px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.img-intro-float-left {
|
||||
float: left;
|
||||
margin-right: 5px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.img-intro-float-none {
|
||||
}
|
30
templates/system/css/toolbar.css
Normal file
@ -0,0 +1,30 @@
|
||||
/**
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
div.toolbar-list {
|
||||
margin-right: 10px;
|
||||
float: right;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
div.toolbar-list a {
|
||||
color : #808080;
|
||||
text-decoration : none;
|
||||
display: block;
|
||||
float: left;
|
||||
border: 1px solid #DDD;
|
||||
width: 40px;
|
||||
padding: 2px 5px 2px 5px;
|
||||
}
|
||||
div.toolbar-list a:hover {
|
||||
color : #C64934;
|
||||
cursor: pointer;
|
||||
border: 1px solid #c24733;
|
||||
background-color: #f1e8e6;
|
||||
padding: 3px 5px 1px 5px;
|
||||
}
|
||||
div.toolbar-list a:active {
|
||||
color : #FF9900;
|
||||
}
|
74
templates/system/error.php
Normal file
@ -0,0 +1,74 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage Template.system
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
if (!isset($this->error))
|
||||
{
|
||||
$this->error = JError::raiseWarning(404, JText::_('JERROR_ALERTNOAUTHOR'));
|
||||
$this->debug = false;
|
||||
}
|
||||
//get language and direction
|
||||
$doc = JFactory::getDocument();
|
||||
$this->language = $doc->language;
|
||||
$this->direction = $doc->direction;
|
||||
?>
|
||||
<!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>
|
||||
<title><?php echo $this->error->getCode(); ?> - <?php echo $this->title; ?></title>
|
||||
<link rel="stylesheet" href="<?php echo $this->baseurl; ?>/templates/system/css/error.css" type="text/css" />
|
||||
<?php if ($this->direction == 'rtl') : ?>
|
||||
<link rel="stylesheet" href="<?php echo $this->baseurl; ?>/templates/system/css/error_rtl.css" type="text/css" />
|
||||
<?php endif; ?>
|
||||
<?php
|
||||
$debug = JFactory::getConfig()->get('debug_lang');
|
||||
if (JDEBUG || $debug)
|
||||
{
|
||||
?>
|
||||
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/media/cms/css/debug.css" type="text/css" />
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</head>
|
||||
<body>
|
||||
<div class="error">
|
||||
<div id="outline">
|
||||
<div id="errorboxoutline">
|
||||
<div id="errorboxheader"><?php echo $this->error->getCode(); ?> - <?php echo $this->error->getMessage(); ?></div>
|
||||
<div id="errorboxbody">
|
||||
<p><strong><?php echo JText::_('JERROR_LAYOUT_NOT_ABLE_TO_VISIT'); ?></strong></p>
|
||||
<ol>
|
||||
<li><?php echo JText::_('JERROR_LAYOUT_AN_OUT_OF_DATE_BOOKMARK_FAVOURITE'); ?></li>
|
||||
<li><?php echo JText::_('JERROR_LAYOUT_SEARCH_ENGINE_OUT_OF_DATE_LISTING'); ?></li>
|
||||
<li><?php echo JText::_('JERROR_LAYOUT_MIS_TYPED_ADDRESS'); ?></li>
|
||||
<li><?php echo JText::_('JERROR_LAYOUT_YOU_HAVE_NO_ACCESS_TO_THIS_PAGE'); ?></li>
|
||||
<li><?php echo JText::_('JERROR_LAYOUT_REQUESTED_RESOURCE_WAS_NOT_FOUND'); ?></li>
|
||||
<li><?php echo JText::_('JERROR_LAYOUT_ERROR_HAS_OCCURRED_WHILE_PROCESSING_YOUR_REQUEST'); ?></li>
|
||||
</ol>
|
||||
<p><strong><?php echo JText::_('JERROR_LAYOUT_PLEASE_TRY_ONE_OF_THE_FOLLOWING_PAGES'); ?></strong></p>
|
||||
|
||||
<ul>
|
||||
<li><a href="<?php echo $this->baseurl; ?>/index.php" title="<?php echo JText::_('JERROR_LAYOUT_GO_TO_THE_HOME_PAGE'); ?>"><?php echo JText::_('JERROR_LAYOUT_HOME_PAGE'); ?></a></li>
|
||||
</ul>
|
||||
|
||||
<p><?php echo JText::_('JERROR_LAYOUT_PLEASE_CONTACT_THE_SYSTEM_ADMINISTRATOR'); ?>.</p>
|
||||
<div id="techinfo">
|
||||
<p><?php echo $this->error->getMessage(); ?></p>
|
||||
<p>
|
||||
<?php if ($this->debug) :
|
||||
echo $this->renderBacktrace();
|
||||
endif; ?>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
1
templates/system/html/index.html
Normal file
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
138
templates/system/html/modules.php
Normal file
@ -0,0 +1,138 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage Template.system
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
/*
|
||||
* none (output raw module content)
|
||||
*/
|
||||
function modChrome_none($module, &$params, &$attribs)
|
||||
{
|
||||
echo $module->content;
|
||||
}
|
||||
|
||||
/*
|
||||
* html5 (chosen html5 tag and font headder tags)
|
||||
*/
|
||||
function modChrome_html5($module, &$params, &$attribs)
|
||||
{
|
||||
$moduleTag = $params->get('module_tag', 'div');
|
||||
$headerTag = htmlspecialchars($params->get('header_tag', 'h3'));
|
||||
$bootstrapSize = (int) $params->get('bootstrap_size', 0);
|
||||
$moduleClass = $bootstrapSize != 0 ? ' span' . $bootstrapSize : '';
|
||||
|
||||
if (!empty ($module->content)) : ?>
|
||||
<<?php echo $moduleTag; ?> class="moduletable<?php echo htmlspecialchars($params->get('moduleclass_sfx')); ?><?php echo $moduleClass; ?>">
|
||||
|
||||
<?php if ((bool) $module->showtitle) :?>
|
||||
<<?php echo $headerTag; ?> class="<?php echo $params->get('header_class'); ?>"><?php echo $module->title; ?></<?php echo $headerTag; ?>>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php echo $module->content; ?>
|
||||
|
||||
</<?php echo $moduleTag; ?>>
|
||||
|
||||
<?php endif;
|
||||
}
|
||||
|
||||
/*
|
||||
* Module chrome that wraps the module in a table
|
||||
*/
|
||||
function modChrome_table($module, &$params, &$attribs)
|
||||
{ ?>
|
||||
<table cellpadding="0" cellspacing="0" class="moduletable<?php echo htmlspecialchars($params->get('moduleclass_sfx')); ?>">
|
||||
<?php if ((bool) $module->showtitle) : ?>
|
||||
<tr>
|
||||
<th>
|
||||
<?php echo $module->title; ?>
|
||||
</th>
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo $module->content; ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<?php
|
||||
}
|
||||
|
||||
/*
|
||||
* Module chrome that wraps the tabled module output in a <td> tag of another table
|
||||
*/
|
||||
function modChrome_horz($module, &$params, &$attribs)
|
||||
{ ?>
|
||||
<table cellspacing="1" cellpadding="0" width="100%">
|
||||
<tr>
|
||||
<td>
|
||||
<?php modChrome_table($module, $params, $attribs); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<?php
|
||||
}
|
||||
|
||||
/*
|
||||
* xhtml (divs and font headder tags)
|
||||
*/
|
||||
function modChrome_xhtml($module, &$params, &$attribs)
|
||||
{
|
||||
if (!empty ($module->content)) : ?>
|
||||
<div class="moduletable<?php echo htmlspecialchars($params->get('moduleclass_sfx')); ?>">
|
||||
<?php if ((bool) $module->showtitle) : ?>
|
||||
<h3><?php echo $module->title; ?></h3>
|
||||
<?php endif; ?>
|
||||
<?php echo $module->content; ?>
|
||||
</div>
|
||||
<?php endif;
|
||||
}
|
||||
|
||||
/*
|
||||
* Module chrome that allows for rounded corners by wrapping in nested div tags
|
||||
*/
|
||||
function modChrome_rounded($module, &$params, &$attribs)
|
||||
{ ?>
|
||||
<div class="module<?php echo htmlspecialchars($params->get('moduleclass_sfx')); ?>">
|
||||
<div>
|
||||
<div>
|
||||
<div>
|
||||
<?php if ((bool) $module->showtitle) : ?>
|
||||
<h3><?php echo $module->title; ?></h3>
|
||||
<?php endif; ?>
|
||||
<?php echo $module->content; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
|
||||
/*
|
||||
* Module chrome that add preview information to the module
|
||||
*/
|
||||
function modChrome_outline($module, &$params, &$attribs)
|
||||
{
|
||||
static $css = false;
|
||||
if (!$css)
|
||||
{
|
||||
$css = true;
|
||||
$doc = JFactory::getDocument();
|
||||
|
||||
$doc->addStyleDeclaration(".mod-preview-info { padding: 2px 4px 2px 4px; border: 1px solid black; position: absolute; background-color: white; color: red;}");
|
||||
$doc->addStyleDeclaration(".mod-preview-wrapper { background-color:#eee; border: 1px dotted black; color:#700;}");
|
||||
}
|
||||
?>
|
||||
<div class="mod-preview">
|
||||
<div class="mod-preview-info"><?php echo 'Position: ' . $module->position . ' [ Style: ' . $module->style . ']'; ?></div>
|
||||
<div class="mod-preview-wrapper">
|
||||
<?php echo $module->content; ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
}
|
BIN
templates/system/images/calendar.png
Normal file
After Width: | Height: | Size: 619 B |
1
templates/system/images/index.html
Normal file
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
BIN
templates/system/images/j_button2_blank.png
Normal file
After Width: | Height: | Size: 172 B |
BIN
templates/system/images/j_button2_image.png
Normal file
After Width: | Height: | Size: 806 B |
BIN
templates/system/images/j_button2_left.png
Normal file
After Width: | Height: | Size: 178 B |
BIN
templates/system/images/j_button2_pagebreak.png
Normal file
After Width: | Height: | Size: 554 B |
BIN
templates/system/images/j_button2_readmore.png
Normal file
After Width: | Height: | Size: 625 B |
BIN
templates/system/images/j_button2_right.png
Normal file
After Width: | Height: | Size: 227 B |
BIN
templates/system/images/selector-arrow.png
Normal file
After Width: | Height: | Size: 198 B |
1
templates/system/index.html
Normal file
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
12
templates/system/index.php
Normal file
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage Template.system
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
include __DIR__ . '/component.php';
|
64
templates/system/offline.php
Normal file
@ -0,0 +1,64 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage Template.system
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 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();
|
||||
?>
|
||||
<!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>
|
||||
<jdoc:include type="head" />
|
||||
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/offline.css" type="text/css" />
|
||||
<?php if ($this->direction == 'rtl') : ?>
|
||||
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/offline_rtl.css" type="text/css" />
|
||||
<?php endif; ?>
|
||||
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/general.css" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<jdoc:include type="message" />
|
||||
<div id="frame" class="outline">
|
||||
<?php if ($app->getCfg('offline_image')) : ?>
|
||||
<img src="<?php echo $app->getCfg('offline_image'); ?>" alt="<?php echo htmlspecialchars($app->getCfg('sitename')); ?>" />
|
||||
<?php endif; ?>
|
||||
<h1>
|
||||
<?php echo htmlspecialchars($app->getCfg('sitename')); ?>
|
||||
</h1>
|
||||
<?php if ($app->getCfg('display_offline_message', 1) == 1 && str_replace(' ', '', $app->getCfg('offline_message')) != '') : ?>
|
||||
<p>
|
||||
<?php echo $app->getCfg('offline_message'); ?>
|
||||
</p>
|
||||
<?php elseif ($app->getCfg('display_offline_message', 1) == 2 && str_replace(' ', '', JText::_('JOFFLINE_MESSAGE')) != '') : ?>
|
||||
<p>
|
||||
<?php echo JText::_('JOFFLINE_MESSAGE'); ?>
|
||||
</p>
|
||||
<?php endif; ?>
|
||||
<form action="<?php echo JRoute::_('index.php', true); ?>" method="post" id="form-login">
|
||||
<fieldset class="input">
|
||||
<p id="form-login-username">
|
||||
<label for="username"><?php echo JText::_('JGLOBAL_USERNAME') ?></label>
|
||||
<input name="username" id="username" type="text" class="inputbox" alt="<?php echo JText::_('JGLOBAL_USERNAME') ?>" size="18" />
|
||||
</p>
|
||||
<p id="form-login-password">
|
||||
<label for="passwd"><?php echo JText::_('JGLOBAL_PASSWORD') ?></label>
|
||||
<input type="password" name="password" class="inputbox" size="18" alt="<?php echo JText::_('JGLOBAL_PASSWORD') ?>" id="passwd" />
|
||||
</p>
|
||||
<p id="form-login-remember">
|
||||
<label for="remember"><?php echo JText::_('JGLOBAL_REMEMBER_ME') ?></label>
|
||||
<input type="checkbox" name="remember" class="inputbox" value="yes" alt="<?php echo JText::_('JGLOBAL_REMEMBER_ME') ?>" id="remember" />
|
||||
</p>
|
||||
<input type="submit" name="Submit" class="button" value="<?php echo JText::_('JLOGIN') ?>" />
|
||||
<input type="hidden" name="option" value="com_users" />
|
||||
<input type="hidden" name="task" value="user.login" />
|
||||
<input type="hidden" name="return" value="<?php echo base64_encode(JUri::base()) ?>" />
|
||||
<?php echo JHtml::_('form.token'); ?>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|