You've already forked joomla_test
first commit
This commit is contained in:
21
administrator/templates/system/component.php
Normal file
21
administrator/templates/system/component.php
Normal file
@ -0,0 +1,21 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @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" />
|
||||
</head>
|
||||
<body class="contentpane">
|
||||
<jdoc:include type="message" />
|
||||
<jdoc:include type="component" />
|
||||
</body>
|
||||
</html>
|
53
administrator/templates/system/css/error.css
Normal file
53
administrator/templates/system/css/error.css
Normal file
@ -0,0 +1,53 @@
|
||||
/**
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
.outline {
|
||||
border: 1px solid #cccccc;
|
||||
background: #ffffff;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 15px;
|
||||
height: 100%;
|
||||
padding: 0;
|
||||
font-family: Arial, Helvetica, Sans Serif;
|
||||
font-size: 11px;
|
||||
color: #333333;
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
.frame {
|
||||
background-color: #FEFCF3;
|
||||
padding: 8px;
|
||||
border: solid 1px #000000;
|
||||
margin-top: 13px;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: #cc3333;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.table {
|
||||
border-collapse: collapse;
|
||||
margin-top: 13px;
|
||||
}
|
||||
|
||||
td {
|
||||
padding: 3px;
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
border: solid 1px #bbbbbb;
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.type {
|
||||
background-color: #cc0000;
|
||||
color: #ffffff;
|
||||
font-weight: bold;
|
||||
padding: 3px;
|
||||
}
|
1
administrator/templates/system/css/index.html
Normal file
1
administrator/templates/system/css/index.html
Normal file
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
7
administrator/templates/system/css/system.css
Normal file
7
administrator/templates/system/css/system.css
Normal file
@ -0,0 +1,7 @@
|
||||
/**
|
||||
* @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);
|
39
administrator/templates/system/error.php
Normal file
39
administrator/templates/system/error.php
Normal file
@ -0,0 +1,39 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @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>
|
||||
<link rel="stylesheet" href="templates/system/css/error.css" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<table width="550" align="center" class="outline">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<h1>
|
||||
<?php echo $this->error->getCode() ?> - <?php echo JText::_('JERROR_AN_ERROR_HAS_OCCURRED') ?>
|
||||
</h1>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="39%" align="center">
|
||||
<p><?php echo $this->error->getMessage(); ?></p>
|
||||
<p><a href="index.php"><?php echo JText::_('JGLOBAL_TPL_CPANEL_LINK_TEXT') ?></a></p>
|
||||
<p>
|
||||
<?php if ($this->debug) :
|
||||
echo $this->renderBacktrace();
|
||||
endif; ?>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
1
administrator/templates/system/html/index.html
Normal file
1
administrator/templates/system/html/index.html
Normal file
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
110
administrator/templates/system/html/modules.php
Normal file
110
administrator/templates/system/html/modules.php
Normal file
@ -0,0 +1,110 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @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');
|
||||
$headerTag = htmlspecialchars($params->get('header_tag'));
|
||||
$headerClass = $params->get('header_class');
|
||||
$bootstrapSize = $params->get('bootstrap_size');
|
||||
$moduleClass = !empty($bootstrapSize) ? ' span' . (int) $bootstrapSize . '' : '';
|
||||
$moduleClassSfx = htmlspecialchars($params->get('moduleclass_sfx'));
|
||||
|
||||
if (!empty ($module->content))
|
||||
{
|
||||
$html = "<{$moduleTag} class=\"moduletable{$moduleClassSfx} {$moduleClass}\">";
|
||||
|
||||
if ((bool) $module->showtitle)
|
||||
{
|
||||
$html .= "<{$headerTag} class=\"{$headerClass}\">{$module->title}</{$headerTag}>";
|
||||
}
|
||||
|
||||
$html .= $module->content;
|
||||
$html .= "</{$moduleTag}>";
|
||||
|
||||
echo $html;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* xhtml (divs and font header tags)
|
||||
*/
|
||||
function modChrome_xhtml($module, &$params, &$attribs)
|
||||
{
|
||||
$content = trim($module->content);
|
||||
if (!empty ($content)) : ?>
|
||||
<div class="module<?php echo htmlspecialchars($params->get('moduleclass_sfx')); ?>">
|
||||
<?php if ($module->showtitle != 0) : ?>
|
||||
<h3><?php echo $module->title; ?></h3>
|
||||
<?php endif; ?>
|
||||
<?php echo $content; ?>
|
||||
</div>
|
||||
<?php endif;
|
||||
}
|
||||
|
||||
/*
|
||||
* allows sliders
|
||||
*/
|
||||
function modChrome_sliders($module, &$params, &$attribs)
|
||||
{
|
||||
$content = trim($module->content);
|
||||
if (!empty($content))
|
||||
{
|
||||
if ($params->get('automatic_title', '0') == '0')
|
||||
{
|
||||
echo JHtml::_('sliders.panel', $module->title, 'module' . $module->id);
|
||||
}
|
||||
elseif (method_exists('mod' . $module->name . 'Helper', 'getTitle'))
|
||||
{
|
||||
echo JHtml::_('sliders.panel', call_user_func_array(array('mod' . $module->name . 'Helper', 'getTitle'), array($params, $module)), 'module' . $module->id);
|
||||
}
|
||||
else
|
||||
{
|
||||
echo JHtml::_('sliders.panel', JText::_('MOD_' . $module->name . '_TITLE'), 'module' . $module->id);
|
||||
}
|
||||
echo $content;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* allows tabs
|
||||
*/
|
||||
function modChrome_tabs($module, &$params, &$attribs)
|
||||
{
|
||||
$content = trim($module->content);
|
||||
if (!empty($content))
|
||||
{
|
||||
if ($params->get('automatic_title', '0') == '0')
|
||||
{
|
||||
echo JHtml::_('tabs.panel', $module->title, 'module' . $module->id);
|
||||
}
|
||||
elseif (method_exists('mod' . $module->name . 'Helper', 'getTitle'))
|
||||
{
|
||||
echo JHtml::_('tabs.panel', call_user_func_array(array('mod' . $module->name . 'Helper', 'getTitle'), array($params)), 'module' . $module->id);
|
||||
}
|
||||
else
|
||||
{
|
||||
echo JHtml::_('tabs.panel', JText::_('MOD_' . $module->name . '_TITLE'), 'module' . $module->id);
|
||||
}
|
||||
echo $content;
|
||||
}
|
||||
}
|
BIN
administrator/templates/system/images/calendar.png
Normal file
BIN
administrator/templates/system/images/calendar.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 619 B |
1
administrator/templates/system/images/index.html
Normal file
1
administrator/templates/system/images/index.html
Normal file
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
1
administrator/templates/system/index.html
Normal file
1
administrator/templates/system/index.html
Normal file
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
12
administrator/templates/system/index.php
Normal file
12
administrator/templates/system/index.php
Normal file
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @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';
|
Reference in New Issue
Block a user