You've already forked joomla_test
first commit
This commit is contained in:
340
administrator/templates/hathor/LICENSE.txt
Normal file
340
administrator/templates/hathor/LICENSE.txt
Normal file
@ -0,0 +1,340 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
||||
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
License is intended to guarantee your freedom to share and change free
|
||||
software--to make sure the software is free for all its users. This
|
||||
General Public License applies to most of the Free Software
|
||||
Foundation's software and to any other program whose authors commit to
|
||||
using it. (Some other Free Software Foundation software is covered by
|
||||
the GNU Library General Public License instead.) You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
this service if you wish), that you receive source code or can get it
|
||||
if you want it, that you can change the software or use pieces of it
|
||||
in new free programs; and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
anyone to deny you these rights or to ask you to surrender the rights.
|
||||
These restrictions translate to certain responsibilities for you if you
|
||||
distribute copies of the software, or if you modify it.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must give the recipients all the rights that
|
||||
you have. You must make sure that they, too, receive or can get the
|
||||
source code. And you must show them these terms so they know their
|
||||
rights.
|
||||
|
||||
We protect your rights with two steps: (1) copyright the software, and
|
||||
(2) offer you this license which gives you legal permission to copy,
|
||||
distribute and/or modify the software.
|
||||
|
||||
Also, for each author's protection and ours, we want to make certain
|
||||
that everyone understands that there is no warranty for this free
|
||||
software. If the software is modified by someone else and passed on, we
|
||||
want its recipients to know that what they have is not the original, so
|
||||
that any problems introduced by others will not reflect on the original
|
||||
authors' reputations.
|
||||
|
||||
Finally, any free program is threatened constantly by software
|
||||
patents. We wish to avoid the danger that redistributors of a free
|
||||
program will individually obtain patent licenses, in effect making the
|
||||
program proprietary. To prevent this, we have made it clear that any
|
||||
patent must be licensed for everyone's free use or not licensed at all.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License applies to any program or other work which contains
|
||||
a notice placed by the copyright holder saying it may be distributed
|
||||
under the terms of this General Public License. The "Program", below,
|
||||
refers to any such program or work, and a "work based on the Program"
|
||||
means either the Program or any derivative work under copyright law:
|
||||
that is to say, a work containing the Program or a portion of it,
|
||||
either verbatim or with modifications and/or translated into another
|
||||
language. (Hereinafter, translation is included without limitation in
|
||||
the term "modification".) Each licensee is addressed as "you".
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running the Program is not restricted, and the output from the Program
|
||||
is covered only if its contents constitute a work based on the
|
||||
Program (independent of having been made by running the Program).
|
||||
Whether that is true depends on what the Program does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Program's
|
||||
source code as you receive it, in any medium, provided that you
|
||||
conspicuously and appropriately publish on each copy an appropriate
|
||||
copyright notice and disclaimer of warranty; keep intact all the
|
||||
notices that refer to this License and to the absence of any warranty;
|
||||
and give any other recipients of the Program a copy of this License
|
||||
along with the Program.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and
|
||||
you may at your option offer warranty protection in exchange for a fee.
|
||||
|
||||
2. You may modify your copy or copies of the Program or any portion
|
||||
of it, thus forming a work based on the Program, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) You must cause the modified files to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
b) You must cause any work that you distribute or publish, that in
|
||||
whole or in part contains or is derived from the Program or any
|
||||
part thereof, to be licensed as a whole at no charge to all third
|
||||
parties under the terms of this License.
|
||||
|
||||
c) If the modified program normally reads commands interactively
|
||||
when run, you must cause it, when started running for such
|
||||
interactive use in the most ordinary way, to print or display an
|
||||
announcement including an appropriate copyright notice and a
|
||||
notice that there is no warranty (or else, saying that you provide
|
||||
a warranty) and that users may redistribute the program under
|
||||
these conditions, and telling the user how to view a copy of this
|
||||
License. (Exception: if the Program itself is interactive but
|
||||
does not normally print such an announcement, your work based on
|
||||
the Program is not required to print an announcement.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Program,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Program, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Program.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Program
|
||||
with the Program (or with a work based on the Program) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may copy and distribute the Program (or a work based on it,
|
||||
under Section 2) in object code or executable form under the terms of
|
||||
Sections 1 and 2 above provided that you also do one of the following:
|
||||
|
||||
a) Accompany it with the complete corresponding machine-readable
|
||||
source code, which must be distributed under the terms of Sections
|
||||
1 and 2 above on a medium customarily used for software interchange; or,
|
||||
|
||||
b) Accompany it with a written offer, valid for at least three
|
||||
years, to give any third party, for a charge no more than your
|
||||
cost of physically performing source distribution, a complete
|
||||
machine-readable copy of the corresponding source code, to be
|
||||
distributed under the terms of Sections 1 and 2 above on a medium
|
||||
customarily used for software interchange; or,
|
||||
|
||||
c) Accompany it with the information you received as to the offer
|
||||
to distribute corresponding source code. (This alternative is
|
||||
allowed only for noncommercial distribution and only if you
|
||||
received the program in object code or executable form with such
|
||||
an offer, in accord with Subsection b above.)
|
||||
|
||||
The source code for a work means the preferred form of the work for
|
||||
making modifications to it. For an executable work, complete source
|
||||
code means all the source code for all modules it contains, plus any
|
||||
associated interface definition files, plus the scripts used to
|
||||
control compilation and installation of the executable. However, as a
|
||||
special exception, the source code distributed need not include
|
||||
anything that is normally distributed (in either source or binary
|
||||
form) with the major components (compiler, kernel, and so on) of the
|
||||
operating system on which the executable runs, unless that component
|
||||
itself accompanies the executable.
|
||||
|
||||
If distribution of executable or object code is made by offering
|
||||
access to copy from a designated place, then offering equivalent
|
||||
access to copy the source code from the same place counts as
|
||||
distribution of the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
4. You may not copy, modify, sublicense, or distribute the Program
|
||||
except as expressly provided under this License. Any attempt
|
||||
otherwise to copy, modify, sublicense or distribute the Program is
|
||||
void, and will automatically terminate your rights under this License.
|
||||
However, parties who have received copies, or rights, from you under
|
||||
this License will not have their licenses terminated so long as such
|
||||
parties remain in full compliance.
|
||||
|
||||
5. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Program or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Program (or any work based on the
|
||||
Program), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Program or works based on it.
|
||||
|
||||
6. Each time you redistribute the Program (or any work based on the
|
||||
Program), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute or modify the Program subject to
|
||||
these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties to
|
||||
this License.
|
||||
|
||||
7. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Program at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Program by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Program.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under
|
||||
any particular circumstance, the balance of the section is intended to
|
||||
apply and the section as a whole is intended to apply in other
|
||||
circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system, which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
8. If the distribution and/or use of the Program is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Program under this License
|
||||
may add an explicit geographical distribution limitation excluding
|
||||
those countries, so that distribution is permitted only in or among
|
||||
countries not thus excluded. In such case, this License incorporates
|
||||
the limitation as if written in the body of this License.
|
||||
|
||||
9. The Free Software Foundation may publish revised and/or new versions
|
||||
of the General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Program
|
||||
specifies a version number of this License which applies to it and "any
|
||||
later version", you have the option of following the terms and conditions
|
||||
either of that version or of any later version published by the Free
|
||||
Software Foundation. If the Program does not specify a version number of
|
||||
this License, you may choose any version ever published by the Free Software
|
||||
Foundation.
|
||||
|
||||
10. If you wish to incorporate parts of the Program into other free
|
||||
programs whose distribution conditions are different, write to the author
|
||||
to ask for permission. For software which is copyrighted by the Free
|
||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||
make exceptions for this. Our decision will be guided by the two goals
|
||||
of preserving the free status of all derivatives of our free software and
|
||||
of promoting the sharing and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||
REPAIR OR CORRECTION.
|
||||
|
||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
convey the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program is interactive, make it output a short notice like this
|
||||
when it starts in an interactive mode:
|
||||
|
||||
Gnomovision version 69, Copyright (C) year name of author
|
||||
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, the commands you use may
|
||||
be called something other than `show w' and `show c'; they could even be
|
||||
mouse-clicks or menu items--whatever suits your program.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||
|
||||
<signature of Ty Coon>, 1 April 1989
|
||||
Ty Coon, President of Vice
|
||||
|
||||
This General Public License does not permit incorporating your program into
|
||||
proprietary programs. If your program is a subroutine library, you may
|
||||
consider it more useful to permit linking proprietary applications with the
|
||||
library. If this is what you want to do, use the GNU Library General
|
||||
Public License instead of this License.
|
91
administrator/templates/hathor/component.php
Normal file
91
administrator/templates/hathor/component.php
Normal file
@ -0,0 +1,91 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @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;
|
||||
|
||||
// Get additional language strings prefixed with TPL_HATHOR
|
||||
$lang = JFactory::getLanguage();
|
||||
$lang->load('tpl_hathor', JPATH_ADMINISTRATOR)
|
||||
|| $lang->load('tpl_hathor', JPATH_ADMINISTRATOR . '/templates/hathor/language');
|
||||
|
||||
$app = JFactory::getApplication();
|
||||
$doc = JFactory::getDocument();
|
||||
|
||||
// Load optional RTL Bootstrap CSS
|
||||
JHtml::_('bootstrap.loadCss', false, $this->direction);
|
||||
|
||||
// Load system style CSS
|
||||
$doc->addStyleSheet('templates/system/css/system.css');
|
||||
|
||||
// Loadtemplate CSS
|
||||
$doc->addStyleSheet('templates/'.$this->template.'/css/template.css');
|
||||
|
||||
// Load additional CSS styles for colors
|
||||
if (!$this->params->get('colourChoice')) :
|
||||
$colour = 'standard';
|
||||
else :
|
||||
$colour = htmlspecialchars($this->params->get('colourChoice'));
|
||||
endif;
|
||||
$doc->addStyleSheet('templates/'.$this->template.'/css/colour_'.$colour.'.css');
|
||||
|
||||
// Load specific language related CSS
|
||||
$file = 'language/' . $lang->getTag() . '/' . $lang->getTag() . '.css';
|
||||
if (is_file($file))
|
||||
{
|
||||
$doc->addStyleSheet($file);
|
||||
}
|
||||
|
||||
// Load additional CSS styles for rtl sites
|
||||
if ($this->direction == 'rtl')
|
||||
{
|
||||
$doc->addStyleSheet('templates/'.$this->template.'/css/template_rtl.css');
|
||||
$doc->addStyleSheet('templates/'.$this->template.'/css/colour_'.$colour.'_rtl.css');
|
||||
}
|
||||
|
||||
// Load specific language related CSS
|
||||
$file = 'language/'.$lang->getTag().'/'.$lang->getTag().'.css';
|
||||
if (JFile::exists($file))
|
||||
{
|
||||
$doc->addStyleSheet($file);
|
||||
}
|
||||
|
||||
// Load additional CSS styles for bold Text
|
||||
if ($this->params->get('boldText'))
|
||||
{
|
||||
$doc->addStyleSheet('templates/'.$this->template.'/css/boldtext.css');
|
||||
}
|
||||
|
||||
// Load template javascript
|
||||
$doc->addScript('templates/'.$this->template.'/js/template.js', 'text/javascript');
|
||||
// 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>
|
||||
<jdoc:include type="head" />
|
||||
|
||||
<!--[if lt IE 9]>
|
||||
<script src="../media/jui/js/html5.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
<body class="contentpane">
|
||||
<jdoc:include type="message" />
|
||||
<jdoc:include type="component" />
|
||||
</body>
|
||||
</html>
|
199
administrator/templates/hathor/cpanel.php
Normal file
199
administrator/templates/hathor/cpanel.php
Normal file
@ -0,0 +1,199 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @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;
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
$app = JFactory::getApplication();
|
||||
$doc = JFactory::getDocument();
|
||||
$lang = JFactory::getLanguage();
|
||||
$input = $app->input;
|
||||
$user = JFactory::getUser();
|
||||
|
||||
// Load optional RTL Bootstrap CSS
|
||||
JHtml::_('bootstrap.loadCss', false, $this->direction);
|
||||
|
||||
// Load system style CSS
|
||||
$doc->addStyleSheet('templates/system/css/system.css');
|
||||
|
||||
// Loadtemplate CSS
|
||||
$doc->addStyleSheet('templates/'.$this->template.'/css/template.css');
|
||||
|
||||
// Load additional CSS styles for colors
|
||||
if (!$this->params->get('colourChoice')) :
|
||||
$colour = 'standard';
|
||||
else :
|
||||
$colour = htmlspecialchars($this->params->get('colourChoice'));
|
||||
endif;
|
||||
$doc->addStyleSheet('templates/'.$this->template.'/css/colour_'.$colour.'.css');
|
||||
|
||||
// Load specific language related CSS
|
||||
$file = 'language/' . $lang->getTag() . '/' . $lang->getTag() . '.css';
|
||||
if (is_file($file))
|
||||
{
|
||||
$doc->addStyleSheet($file);
|
||||
}
|
||||
|
||||
// Load additional CSS styles for rtl sites
|
||||
if ($this->direction == 'rtl')
|
||||
{
|
||||
$doc->addStyleSheet('templates/'.$this->template.'/css/template_rtl.css');
|
||||
$doc->addStyleSheet('templates/'.$this->template.'/css/colour_'.$colour.'_rtl.css');
|
||||
}
|
||||
|
||||
// Load specific language related CSS
|
||||
$file = 'language/'.$lang->getTag().'/'.$lang->getTag().'.css';
|
||||
if (JFile::exists($file))
|
||||
{
|
||||
$doc->addStyleSheet($file);
|
||||
}
|
||||
|
||||
// Load additional CSS styles for bold Text
|
||||
if ($this->params->get('boldText'))
|
||||
{
|
||||
$doc->addStyleSheet('templates/'.$this->template.'/css/boldtext.css');
|
||||
}
|
||||
|
||||
// Load template javascript
|
||||
$doc->addScript('templates/'.$this->template.'/js/template.js', 'text/javascript');
|
||||
// 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>
|
||||
<jdoc:include type="head" />
|
||||
|
||||
|
||||
<!-- 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]-->
|
||||
|
||||
</head>
|
||||
<body id="minwidth" class="cpanel-page">
|
||||
<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 id="no-submenu"></div>
|
||||
<div class="clr"></div>
|
||||
|
||||
<!-- Beginning of Actual Content -->
|
||||
<div id="element-box">
|
||||
<p id="skiptargetholder"><a id="skiptarget" class="skip" tabindex="-1"></a></p>
|
||||
|
||||
<div class="adminform">
|
||||
|
||||
<!-- Display the Quick Icon Shortcuts -->
|
||||
<div class="cpanel-icons">
|
||||
<?php if ($this->countModules('icon') > 1):?>
|
||||
<?php echo JHtml::_('sliders.start', 'position-icon', array('useCookie' => 1));?>
|
||||
<jdoc:include type="modules" name="icon" />
|
||||
<?php echo JHtml::_('sliders.end');?>
|
||||
<?php else:?>
|
||||
<jdoc:include type="modules" name="icon" />
|
||||
<?php endif;?>
|
||||
</div>
|
||||
|
||||
<!-- Display Admin Information Panels -->
|
||||
<div class="cpanel-component">
|
||||
<jdoc:include type="component" />
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="clr"></div>
|
||||
|
||||
</div><!-- end element-box -->
|
||||
|
||||
<noscript>
|
||||
<?php echo JText::_('JGLOBAL_WARNJAVASCRIPT') ?>
|
||||
</noscript>
|
||||
<div class="clr"></div>
|
||||
|
||||
</div><!-- end content -->
|
||||
<div class="clr"></div>
|
||||
</div><!-- end 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>
|
18
administrator/templates/hathor/css/boldtext.css
Normal file
18
administrator/templates/hathor/css/boldtext.css
Normal file
@ -0,0 +1,18 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage templates.hathor
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
* @since 1.6
|
||||
*
|
||||
* Changes to use bold text as the default
|
||||
*/
|
||||
|
||||
/**
|
||||
* Default to bold text
|
||||
*/
|
||||
body {
|
||||
font-weight: bold;
|
||||
}
|
1768
administrator/templates/hathor/css/colour_blue.css
Normal file
1768
administrator/templates/hathor/css/colour_blue.css
Normal file
File diff suppressed because it is too large
Load Diff
374
administrator/templates/hathor/css/colour_blue_rtl.css
Normal file
374
administrator/templates/hathor/css/colour_blue_rtl.css
Normal file
@ -0,0 +1,374 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage templates.hathor
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
* @since 1.6
|
||||
*
|
||||
* RTL CSS file for the color standard
|
||||
*/
|
||||
|
||||
/**
|
||||
* Overall Styles
|
||||
*/
|
||||
#header {
|
||||
background: #ffffff url(../images/j_logo.png) no-repeat top right;
|
||||
}
|
||||
|
||||
#element-box {
|
||||
border-left: 1px solid #738498;
|
||||
border-right: 1px solid #738498;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Various Styles
|
||||
*/
|
||||
|
||||
div.checkin-tick {
|
||||
background: url(../images/admin/tick.png) 20px 50% no-repeat;
|
||||
}
|
||||
|
||||
/**
|
||||
* Subheader, toolbar, page title
|
||||
*/
|
||||
|
||||
div.toolbar-box {
|
||||
border-left: 1px solid #738498;
|
||||
border-right: 1px solid #738498;
|
||||
}
|
||||
|
||||
div.toolbar-list li.divider {
|
||||
border-left: 1px dotted #e5d9c3;
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
div.toolbar-list a:hover {
|
||||
border-right: 1px solid #e5d9c3;
|
||||
border-left: 1px solid #738498;
|
||||
}
|
||||
|
||||
/**
|
||||
* Pane Slider pane Toggler styles
|
||||
*/
|
||||
.pane-toggler span {
|
||||
background: transparent url(../images/j_arrow_left.png) right 50% no-repeat;
|
||||
}
|
||||
|
||||
.pane-toggler-down span {
|
||||
background: transparent url(../images/j_arrow_down.png) right 50% no-repeat;
|
||||
}
|
||||
|
||||
/**
|
||||
* Cpanel Settings
|
||||
*/
|
||||
|
||||
#cpanel div.icon a:hover,
|
||||
#cpanel div.icon a:focus {
|
||||
border-right: 1px solid #e5d9c3;
|
||||
border-left: 1px solid #738498;
|
||||
}
|
||||
|
||||
fieldset#filter-bar {
|
||||
border-left: none;
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* Admintable Styles
|
||||
*/
|
||||
|
||||
table.admintable td.key,table.admintable td.paramlist_key {
|
||||
border-left: 1px solid #738498;
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
table.paramlist td.paramlist_description {
|
||||
border-left: 1px solid #738498;
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* Admin Form Styles
|
||||
*/
|
||||
table.adminform tr {
|
||||
border-left: 1px solid #738498;
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* Adminlist Table layout
|
||||
*/
|
||||
|
||||
table.adminlist.modal {
|
||||
border-right: 1px solid #738498;
|
||||
border-left: 1px solid #738498;
|
||||
}
|
||||
|
||||
/* Table row styles */
|
||||
|
||||
table.adminlist tbody tr td,
|
||||
table.adminlist tbody tr th {
|
||||
border-left: 1px solid #738498;
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
table.adminlist tbody tr td:last-child {
|
||||
border-left: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* Saving order icon styling in admin tables
|
||||
*/
|
||||
a.saveorder {
|
||||
background: url(../images/admin/filesave.png) no-repeat;
|
||||
}
|
||||
|
||||
a.saveorder.inactive {
|
||||
background-position: 0 -16px;
|
||||
}
|
||||
|
||||
/**
|
||||
* Button styling
|
||||
*/
|
||||
|
||||
/* Button 1 Type */
|
||||
|
||||
/* Use this if you add images to the buttons such as directional arrows */
|
||||
|
||||
.button1 a {
|
||||
/* add padding if you are using the directional images */
|
||||
/* padding: 0 6px 0 30px; */
|
||||
}
|
||||
|
||||
/* Button 2 Type */
|
||||
|
||||
.button2-right .prev {
|
||||
background-image: url(../images/j_button2_prev.png);
|
||||
background-position: right center;
|
||||
}
|
||||
|
||||
.button2-right.off .prev {
|
||||
background: url(../images/j_button2_prev_off.png) no-repeat;
|
||||
}
|
||||
|
||||
.button2-right .start {
|
||||
background-image: url(../images/j_button2_first.png);
|
||||
background-position: right center;
|
||||
}
|
||||
|
||||
.button2-left .next {
|
||||
background-image: url(../images/j_button2_next.png);
|
||||
background-position: left center;
|
||||
}
|
||||
|
||||
.button2-left.off .next { /* @TODO check the x position */
|
||||
background: url(../images/j_button2_next_off.png) 100% 0 no-repeat;
|
||||
}
|
||||
|
||||
.button2-left .end {
|
||||
background-image: url(../images/j_arrow_left.png);
|
||||
background-position: left center;
|
||||
}
|
||||
|
||||
.button2-left.off .end { /* @TODO check the x position */
|
||||
background: url(../images/j_button2_last_off.png) 100% 0 no-repeat;
|
||||
}
|
||||
|
||||
.button2-left .image {
|
||||
background: url(../images/j_button2_image.png) 100% 0 no-repeat;
|
||||
}
|
||||
|
||||
.button2-left .readmore {
|
||||
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;
|
||||
}
|
||||
|
||||
/**
|
||||
* Tooltips
|
||||
*/
|
||||
|
||||
/**
|
||||
* System Standard Messages
|
||||
*/
|
||||
#system-message dd.message ul {
|
||||
background: #C3D2E5 url(../images/notice-info.png) 99.5% center no-repeat;
|
||||
}
|
||||
|
||||
/**
|
||||
* System Error Messages
|
||||
*/
|
||||
#system-message dd.error ul {
|
||||
background: #E6C0C0 url(../images/notice-alert.png) 99.5% top no-repeat;
|
||||
}
|
||||
|
||||
/**
|
||||
* System Notice Messages
|
||||
*/
|
||||
#system-message dd.notice ul {
|
||||
background: #EFE7B8 url(../images/notice-note.png) 99%.5 top no-repeat;
|
||||
}
|
||||
|
||||
/**
|
||||
* JGrid styles
|
||||
*/
|
||||
|
||||
/**
|
||||
* Menu Icons
|
||||
* These icons are used on the Administrator menu
|
||||
* The classes are constructed dynamically when the menu is generated
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* Toolbar icons
|
||||
* These icons are used for the toolbar buttons
|
||||
* The classes are constructed dynamically when the toolbar is created
|
||||
*/
|
||||
|
||||
/**
|
||||
* Quick Icons
|
||||
* Also knows as Header Icons
|
||||
* These are used for the Quick Icons on the Control Panel
|
||||
* The same classes are also assigned the Component Title
|
||||
*/
|
||||
|
||||
/**
|
||||
* General styles
|
||||
*/
|
||||
|
||||
.helpFrame {
|
||||
border-right: 0 solid #738498;
|
||||
border-left: none;
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
/* -- ACL STYLES relocated from com_users/media/grid.css ----------- */
|
||||
|
||||
/* -- ACL PANEL STYLES ----------- */
|
||||
|
||||
|
||||
/* All Tabs */
|
||||
|
||||
table.aclsummary-table td.col2,
|
||||
table.aclsummary-table th.col2,
|
||||
table.aclsummary-table td.col3,
|
||||
table.aclsummary-table th.col3,
|
||||
table.aclsummary-table td.col4,
|
||||
table.aclsummary-table th.col4,
|
||||
table.aclsummary-table td.col5,
|
||||
table.aclsummary-table th.col5,
|
||||
table.aclsummary-table td.col6,
|
||||
table.aclsummary-table th.col6
|
||||
table.aclmodify-table td.col2,
|
||||
table.aclmodify-table th.col2 {
|
||||
border-right: 1px solid #738498;
|
||||
border-left: none;
|
||||
}
|
||||
|
||||
/* Icons */
|
||||
|
||||
ul.acllegend li.acl-allowed {
|
||||
background:url(../images/admin/icon-16-allow.png) no-repeat right;
|
||||
}
|
||||
ul.acllegend li.acl-denied {
|
||||
background:url(../images/admin/icon-16-deny.png) no-repeat right;
|
||||
}
|
||||
|
||||
table#acl-config th.acl-groups {
|
||||
border-left: 1px solid #738498;
|
||||
}
|
||||
|
||||
table#acl-config th.acl-groups {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.acl-action {
|
||||
margin: auto 0;
|
||||
}
|
||||
|
||||
/* Icons */
|
||||
|
||||
span.icon-16-unset {
|
||||
background: url(../images/admin/icon-16-denyinactive.png) no-repeat right;
|
||||
}
|
||||
|
||||
span.icon-16-allowed {
|
||||
background: url(../images/admin/icon-16-allow.png) no-repeat right;
|
||||
}
|
||||
|
||||
span.icon-16-denied {
|
||||
background: url(../images/admin/icon-16-deny.png) no-repeat right;
|
||||
}
|
||||
|
||||
span.icon-16-locked {
|
||||
background: url(../images/admin/checked_out.png) no-repeat right;
|
||||
}
|
||||
|
||||
/**
|
||||
* Mod_rewrite Warning
|
||||
*/
|
||||
#jform_sef_rewrite-lbl {
|
||||
background: url(../images/admin/icon-16-notice-note.png) left top no-repeat;
|
||||
}
|
||||
|
||||
/**
|
||||
* Modal S-Box overrides
|
||||
*/
|
||||
|
||||
#sbox-window {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
/**
|
||||
* Permission Rules
|
||||
*/
|
||||
|
||||
#permissions-sliders ul#rules table.group-rules td
|
||||
{
|
||||
border-left: solid 1px #738498;
|
||||
border-right: solid 0 #738498;
|
||||
}
|
||||
|
||||
#permissions-sliders ul#rules table.group-rules th
|
||||
{
|
||||
border-left: solid 1px #738498;
|
||||
border-right: solid 0 #738498;
|
||||
}
|
||||
|
||||
/**
|
||||
* Menu Styling
|
||||
*/
|
||||
|
||||
#menu ul li.node {
|
||||
background-image: url(../images/j_arrow_left.png);
|
||||
background-repeat: no-repeat;
|
||||
background-position: left 50%;
|
||||
}
|
||||
|
||||
#menu a {
|
||||
background-position: right 50%;
|
||||
}
|
||||
|
||||
#menu li {
|
||||
border-left: 1px solid #738498;
|
||||
border-right: 0 solid #738498;
|
||||
}
|
||||
|
||||
#menu li li li a:focus {
|
||||
border-right: 1px solid #fafafa;
|
||||
}
|
||||
|
||||
/* Installer Database */
|
||||
#installer-database p.warning {
|
||||
background-position: center right;
|
||||
}
|
||||
|
||||
#installer-database p.nowarning {
|
||||
background-position: center right;
|
||||
}
|
1768
administrator/templates/hathor/css/colour_brown.css
Normal file
1768
administrator/templates/hathor/css/colour_brown.css
Normal file
File diff suppressed because it is too large
Load Diff
316
administrator/templates/hathor/css/colour_brown_rtl.css
Normal file
316
administrator/templates/hathor/css/colour_brown_rtl.css
Normal file
@ -0,0 +1,316 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage templates.hathor
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
* @since 1.6
|
||||
*
|
||||
* RTL CSS file for the color standard
|
||||
*/
|
||||
|
||||
/**
|
||||
* Overall Styles
|
||||
*/
|
||||
#header {
|
||||
background: #ffffff url(../images/j_logo.png) no-repeat top right;
|
||||
}
|
||||
|
||||
/**
|
||||
* Various Styles
|
||||
*/
|
||||
div.checkin-tick {
|
||||
background: url(../images/admin/tick.png) 20px 50% no-repeat;
|
||||
}
|
||||
|
||||
/**
|
||||
* Pane Slider pane Toggler styles
|
||||
*/
|
||||
.pane-toggler span {
|
||||
background: transparent url(../images/j_arrow_left.png) right 50% no-repeat;
|
||||
}
|
||||
|
||||
.pane-toggler-down span {
|
||||
background: transparent url(../images/j_arrow_down.png) right 50% no-repeat;
|
||||
}
|
||||
|
||||
/**
|
||||
* Cpanel Settings
|
||||
*/
|
||||
fieldset#filter-bar {
|
||||
border-left: none;
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* Admintable Styles
|
||||
*/
|
||||
|
||||
table.admintable td.key,table.admintable td.paramlist_key {
|
||||
border-left: 1px solid #e9e9e9;
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
table.paramlist td.paramlist_description {
|
||||
border-left: 1px solid #e9e9e9;
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* Admin Form Styles
|
||||
*/
|
||||
table.adminform tr {
|
||||
border-left: 1px solid #000000;
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* Adminlist Table layout
|
||||
*/
|
||||
|
||||
table.adminlist.modal {
|
||||
border-right: 1px solid #000000;
|
||||
border-left: 1px solid #000000;
|
||||
}
|
||||
|
||||
/* Table row styles */
|
||||
table.adminlist tbody tr td:last-child {
|
||||
border-left: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* Saving order icon styling in admin tables
|
||||
*/
|
||||
a.saveorder {
|
||||
background: url(../images/admin/filesave.png) no-repeat;
|
||||
}
|
||||
|
||||
a.saveorder.inactive {
|
||||
background-position: 0 -16px;
|
||||
}
|
||||
|
||||
/**
|
||||
* Button styling
|
||||
*/
|
||||
|
||||
/* Button 1 Type */
|
||||
|
||||
/* Use this if you add images to the buttons such as directional arrows */
|
||||
|
||||
.button1 a {
|
||||
/* add padding if you are using the directional images */
|
||||
/* padding: 0 6px 0 30px; */
|
||||
}
|
||||
|
||||
/* Button 2 Type */
|
||||
|
||||
.button2-right .prev {
|
||||
background-image: url(../images/j_button2_prev.png);
|
||||
background-position: right center;
|
||||
}
|
||||
|
||||
.button2-right.off .prev {
|
||||
background: url(../images/j_button2_prev_off.png) no-repeat;
|
||||
}
|
||||
|
||||
.button2-right .start {
|
||||
background-image: url(../images/j_button2_first.png);
|
||||
background-position: right center;
|
||||
}
|
||||
|
||||
.button2-left .next {
|
||||
background-image: url(../images/j_button2_next.png);
|
||||
background-position: left center;
|
||||
}
|
||||
|
||||
.button2-left.off .next { /* @TODO check the x position */
|
||||
background: url(../images/j_button2_next_off.png) 100% 0 no-repeat;
|
||||
}
|
||||
|
||||
.button2-left .end {
|
||||
background-image: url(../images/j_arrow_left.png);
|
||||
background-position: left center;
|
||||
}
|
||||
|
||||
.button2-left.off .end { /* @TODO check the x position */
|
||||
background: url(../images/j_button2_last_off.png) 100% 0 no-repeat;
|
||||
}
|
||||
|
||||
.button2-left .image {
|
||||
background: url(../images/j_button2_image.png) 100% 0 no-repeat;
|
||||
}
|
||||
|
||||
.button2-left .readmore {
|
||||
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;
|
||||
}
|
||||
|
||||
/**
|
||||
* Tooltips
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* System Standard Messages
|
||||
*/
|
||||
#system-message dd.message ul {
|
||||
background: #C3D2E5 url(../images/notice-info.png) 99.5% center no-repeat;
|
||||
}
|
||||
|
||||
/**
|
||||
* System Error Messages
|
||||
*/
|
||||
#system-message dd.error ul {
|
||||
background: #E6C0C0 url(../images/notice-alert.png) 99.5% top no-repeat;
|
||||
}
|
||||
|
||||
/**
|
||||
* System Notice Messages
|
||||
*/
|
||||
#system-message dd.notice ul {
|
||||
background: #EFE7B8 url(../images/notice-note.png) 99%.5 top no-repeat;
|
||||
}
|
||||
|
||||
/**
|
||||
* JGrid styles
|
||||
*/
|
||||
|
||||
/**
|
||||
* Menu Icons
|
||||
* These icons are used on the Administrator menu
|
||||
* The classes are constructed dynamically when the menu is generated
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* Toolbar icons
|
||||
* These icons are used for the toolbar buttons
|
||||
* The classes are constructed dynamically when the toolbar is created
|
||||
*/
|
||||
|
||||
/**
|
||||
* Quick Icons
|
||||
* Also knows as Header Icons
|
||||
* These are used for the Quick Icons on the Control Panel
|
||||
* The same classes are also assigned the Component Title
|
||||
*/
|
||||
|
||||
/**
|
||||
* General styles
|
||||
*/
|
||||
|
||||
.helpFrame {
|
||||
border-right: 0 solid #222;
|
||||
border-left: none;
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
/* -- ACL STYLES relocated from com_users/media/grid.css ----------- */
|
||||
|
||||
/* -- ACL PANEL STYLES ----------- */
|
||||
|
||||
|
||||
/* All Tabs */
|
||||
|
||||
table.aclsummary-table td.col2,
|
||||
table.aclsummary-table th.col2,
|
||||
table.aclsummary-table td.col3,
|
||||
table.aclsummary-table th.col3,
|
||||
table.aclsummary-table td.col4,
|
||||
table.aclsummary-table th.col4,
|
||||
table.aclsummary-table td.col5,
|
||||
table.aclsummary-table th.col5,
|
||||
table.aclsummary-table td.col6,
|
||||
table.aclsummary-table th.col6
|
||||
table.aclmodify-table td.col2,
|
||||
table.aclmodify-table th.col2 {
|
||||
border-right: 1px solid #cbcbcb;
|
||||
border-left: none;
|
||||
}
|
||||
|
||||
/* Icons */
|
||||
|
||||
ul.acllegend li.acl-allowed {
|
||||
background: url(../images/admin/icon-16-allow.png) no-repeat right;
|
||||
}
|
||||
ul.acllegend li.acl-denied {
|
||||
background: url(../images/admin/icon-16-deny.png) no-repeat right;
|
||||
}
|
||||
|
||||
table#acl-config th.acl-groups {
|
||||
border-left: 1px solid #000000;
|
||||
}
|
||||
|
||||
table#acl-config th.acl-groups {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.acl-action {
|
||||
margin: auto 0;
|
||||
}
|
||||
|
||||
/* Icons */
|
||||
|
||||
span.icon-16-unset {
|
||||
background: url(../images/admin/icon-16-denyinactive.png) no-repeat right;
|
||||
}
|
||||
|
||||
span.icon-16-allowed {
|
||||
background: url(../images/admin/icon-16-allow.png) no-repeat right;
|
||||
}
|
||||
|
||||
span.icon-16-denied {
|
||||
background: url(../images/admin/icon-16-deny.png) no-repeat right;
|
||||
}
|
||||
|
||||
span.icon-16-locked {
|
||||
background: url(../images/admin/checked_out.png) no-repeat right;
|
||||
}
|
||||
|
||||
/**
|
||||
* Mod_rewrite Warning
|
||||
*/
|
||||
#jform_sef_rewrite-lbl {
|
||||
background: url(../images/admin/icon-16-notice-note.png) left top no-repeat;
|
||||
}
|
||||
|
||||
/**
|
||||
* Permission Rules
|
||||
*/
|
||||
|
||||
#permissions-sliders ul#rules table.group-rules td {
|
||||
border-left: solid 1px #000000;
|
||||
border-right: solid 0 #000000;
|
||||
}
|
||||
|
||||
#permissions-sliders ul#rules table.group-rules th {
|
||||
border-left: solid 1px #000000;
|
||||
border-right: solid 0 #000000;
|
||||
}
|
||||
|
||||
/**
|
||||
* Menu Styling
|
||||
*/
|
||||
|
||||
#menu ul li.node {
|
||||
background-image: url(../images/j_arrow_left.png);
|
||||
background-repeat: no-repeat;
|
||||
background-position: left 50%;
|
||||
}
|
||||
|
||||
#menu a {
|
||||
background-position: right 50%;
|
||||
}
|
||||
|
||||
/* Installer Database */
|
||||
#installer-database p.warning {
|
||||
background-position: center right;
|
||||
}
|
||||
|
||||
#installer-database p.nowarning {
|
||||
background-position: center right;
|
||||
}
|
2131
administrator/templates/hathor/css/colour_highcontrast.css
Normal file
2131
administrator/templates/hathor/css/colour_highcontrast.css
Normal file
File diff suppressed because it is too large
Load Diff
422
administrator/templates/hathor/css/colour_highcontrast_rtl.css
Normal file
422
administrator/templates/hathor/css/colour_highcontrast_rtl.css
Normal file
@ -0,0 +1,422 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage templates.hathor
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
* @since 1.6
|
||||
*
|
||||
* RTL CSS file for the color standard
|
||||
*/
|
||||
|
||||
/**
|
||||
* Overall Styles
|
||||
*/
|
||||
#header {
|
||||
background: #ffffff url(../images/j_logo.png) no-repeat top right;
|
||||
}
|
||||
|
||||
#element-box {
|
||||
border-left: 1px solid #1b3f7c;
|
||||
border-right: 1px solid #1b3f7c;
|
||||
}
|
||||
|
||||
/**
|
||||
* Various Styles
|
||||
*/
|
||||
|
||||
div.checkin-tick {
|
||||
background: url(../images/admin/tick.png) 20px 50% no-repeat;
|
||||
}
|
||||
|
||||
/**
|
||||
* Subheader, toolbar, page title
|
||||
*/
|
||||
|
||||
div.toolbar-box {
|
||||
border-left: 1px solid #10254a;
|
||||
border-right: 1px solid #10254a;
|
||||
}
|
||||
|
||||
div.toolbar-list li.divider {
|
||||
border-left:1px dotted #1b3f7c;
|
||||
border-right:none;
|
||||
}
|
||||
|
||||
div.toolbar-list a:hover {
|
||||
border-right: 1px solid #000000;
|
||||
border-left: 1px solid #1b3f7c;
|
||||
}
|
||||
|
||||
/**
|
||||
* Pane Slider pane Toggler styles
|
||||
*/
|
||||
.pane-toggler span {
|
||||
background: transparent url(../images/j_arrow_left.png) right 50% no-repeat;
|
||||
}
|
||||
|
||||
.pane-toggler-down span {
|
||||
background: transparent url(../images/j_arrow_down.png) right 50% no-repeat;
|
||||
}
|
||||
|
||||
/**
|
||||
* Cpanel Settings
|
||||
*/
|
||||
|
||||
#cpanel div.icon a:hover,
|
||||
#cpanel div.icon a:focus {
|
||||
border-right: 1px solid #000000;
|
||||
border-left: 1px solid #1b3f7c;
|
||||
}
|
||||
|
||||
|
||||
fieldset#filter-bar {
|
||||
border-left: none;
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* Admintable Styles
|
||||
*/
|
||||
|
||||
table.admintable td.key,table.admintable td.paramlist_key {
|
||||
border-left: 1px solid #10254a;
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
table.paramlist td.paramlist_description {
|
||||
border-left: 1px solid #10254a;
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* Admin Form Styles
|
||||
*/
|
||||
table.adminform tr {
|
||||
border-left: 1px solid #1b3f7c;
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* Adminlist Table layout
|
||||
*/
|
||||
|
||||
table.adminlist.modal {
|
||||
border-right: 1px solid #1b3f7c;
|
||||
border-left: 1px solid #1b3f7c;
|
||||
}
|
||||
|
||||
|
||||
/* Table row styles */
|
||||
|
||||
table.adminlist tbody tr td,
|
||||
table.adminlist tbody tr th {
|
||||
border-left: 1px solid #1b3f7c;
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
table.adminlist tbody tr td:last-child {
|
||||
border-left: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* Saving order icon styling in admin tables
|
||||
*/
|
||||
a.saveorder {
|
||||
background: url(../images/admin/filesave.png) no-repeat;
|
||||
}
|
||||
|
||||
a.saveorder.inactive {
|
||||
background-position: 0 -16px;
|
||||
}
|
||||
|
||||
/**
|
||||
* Button styling
|
||||
*/
|
||||
|
||||
/* Button 1 Type */
|
||||
|
||||
/* Use this if you add images to the buttons such as directional arrows */
|
||||
|
||||
.button1 a {
|
||||
/* add padding if you are using the directional images */
|
||||
/* padding: 0 6px 0 30px; */
|
||||
}
|
||||
|
||||
/* Button 2 Type */
|
||||
|
||||
.button2-right .prev {
|
||||
background-image: url(../images/j_button2_prev.png);
|
||||
background-position: right center;
|
||||
}
|
||||
|
||||
.button2-right.off .prev {
|
||||
background: url(../images/j_button2_prev_off.png) no-repeat;
|
||||
}
|
||||
|
||||
.button2-right .start {
|
||||
background-image: url(../images/j_button2_first.png);
|
||||
background-position: right center;
|
||||
}
|
||||
|
||||
.button2-left .next {
|
||||
background-image: url(../images/j_button2_next.png);
|
||||
background-position: left center;
|
||||
}
|
||||
|
||||
.button2-left.off .next { /* @TODO check the x position */
|
||||
background: url(../images/j_button2_next_off.png) 100% 0 no-repeat;
|
||||
}
|
||||
|
||||
.button2-left .end {
|
||||
background-image: url(../images/j_arrow_left.png);
|
||||
background-position: left center;
|
||||
}
|
||||
|
||||
.button2-left.off .end { /* @TODO check the x position */
|
||||
background: url(../images/j_button2_last_off.png) 100% 0 no-repeat;
|
||||
}
|
||||
|
||||
.button2-left .image {
|
||||
background: url(../images/j_button2_image.png) 100% 0 no-repeat;
|
||||
}
|
||||
|
||||
.button2-left .readmore {
|
||||
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;
|
||||
}
|
||||
|
||||
/**
|
||||
* Tooltips
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* System Standard Messages
|
||||
*/
|
||||
#system-message dd.message ul {
|
||||
background: #10254a url(../images/notice-info.png) 99.5% center no-repeat;
|
||||
}
|
||||
|
||||
/**
|
||||
* System Error Messages
|
||||
*/
|
||||
#system-message dd.error ul {
|
||||
background: #1c4181 url(../images/notice-alert.png) 99.5% top no-repeat;
|
||||
}
|
||||
|
||||
/**
|
||||
* System Notice Messages
|
||||
*/
|
||||
#system-message dd.notice ul {
|
||||
background: #10254a url(../images/notice-note.png) 99%.5 top no-repeat;
|
||||
}
|
||||
|
||||
/**
|
||||
* JGrid styles
|
||||
*/
|
||||
|
||||
/**
|
||||
* Menu Icons
|
||||
* These icons are used on the Administrator menu
|
||||
* The classes are constructed dynamically when the menu is generated
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* Toolbar icons
|
||||
* These icons are used for the toolbar buttons
|
||||
* The classes are constructed dynamically when the toolbar is created
|
||||
*/
|
||||
|
||||
/**
|
||||
* Quick Icons
|
||||
* Also knows as Header Icons
|
||||
* These are used for the Quick Icons on the Control Panel
|
||||
* The same classes are also assigned the Component Title
|
||||
*/
|
||||
|
||||
/**
|
||||
* General styles
|
||||
*/
|
||||
|
||||
.helpFrame {
|
||||
border-right: 0 solid #1b3f7c;
|
||||
border-left: none;
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
/* -- ACL STYLES relocated from com_users/media/grid.css ----------- */
|
||||
|
||||
/* -- ACL PANEL STYLES ----------- */
|
||||
|
||||
|
||||
/* All Tabs */
|
||||
|
||||
table.aclsummary-table td.col2,
|
||||
table.aclsummary-table th.col2,
|
||||
table.aclsummary-table td.col3,
|
||||
table.aclsummary-table th.col3,
|
||||
table.aclsummary-table td.col4,
|
||||
table.aclsummary-table th.col4,
|
||||
table.aclsummary-table td.col5,
|
||||
table.aclsummary-table th.col5,
|
||||
table.aclmodify-table td.col2,
|
||||
table.aclmodify-table th.col2 {
|
||||
border-right: 1px solid #cbcbcb;
|
||||
border-left: none;
|
||||
}
|
||||
|
||||
/* Icons */
|
||||
|
||||
ul.acllegend li.acl-allowed {
|
||||
background:url(../images/admin/icon-16-allow.png) no-repeat right;
|
||||
}
|
||||
ul.acllegend li.acl-denied {
|
||||
background:url(../images/admin/icon-16-deny.png) no-repeat right;
|
||||
}
|
||||
|
||||
table#acl-config th.acl-groups {
|
||||
border-left: 1px solid #c7c8b2;
|
||||
}
|
||||
|
||||
table#acl-config th.acl-groups {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.acl-action {
|
||||
margin: auto 0;
|
||||
}
|
||||
|
||||
/* Icons */
|
||||
|
||||
span.icon-16-unset {
|
||||
background: url(../images/admin/icon-16-denyinactive.png) no-repeat right;
|
||||
}
|
||||
|
||||
span.icon-16-allowed {
|
||||
background: url(../images/admin/icon-16-allow.png) no-repeat right;
|
||||
}
|
||||
|
||||
span.icon-16-denied {
|
||||
background: url(../images/admin/icon-16-deny.png) no-repeat right;
|
||||
}
|
||||
|
||||
span.icon-16-locked {
|
||||
background: url(../images/admin/checked_out.png) no-repeat right;
|
||||
}
|
||||
|
||||
/**
|
||||
* Mod_rewrite Warning
|
||||
*/
|
||||
#jform_sef_rewrite-lbl {
|
||||
background: url(../images/admin/icon-16-notice-note.png) left top no-repeat;
|
||||
}
|
||||
|
||||
/**
|
||||
* Modal S-Box overrides
|
||||
*/
|
||||
|
||||
#sbox-window {
|
||||
text-align:right;
|
||||
}
|
||||
|
||||
/* *
|
||||
* Permission Rules
|
||||
*/
|
||||
|
||||
#permissions-sliders ul#rules table.group-rules td {
|
||||
border-left:solid 1px #1b3f7c;
|
||||
border-right:solid 0 #1b3f7c;
|
||||
}
|
||||
|
||||
#permissions-sliders ul#rules table.group-rules th {
|
||||
border-left:solid 1px #1b3f7c;
|
||||
border-right:solid 0 #1b3f7c;
|
||||
}
|
||||
|
||||
/**
|
||||
* Menu Styling
|
||||
*/
|
||||
|
||||
#menu ul li.node {
|
||||
background-image: url(../images/j_arrow_left.png);
|
||||
background-repeat: no-repeat;
|
||||
background-position: left 50%;
|
||||
}
|
||||
|
||||
#menu a {
|
||||
background-position: right 50%;
|
||||
}
|
||||
|
||||
#menu li {
|
||||
border-left: 1px solid #000000;
|
||||
}
|
||||
|
||||
#menu li a:hover, #menu li a:active, #menu li a:focus {
|
||||
border-left: 1px solid #1b3f7c;
|
||||
border-right: 1px solid #000000;
|
||||
}
|
||||
|
||||
#menu li.disabled a:hover,#menu li.disabled a:focus,#menu li.disabled a
|
||||
{
|
||||
border-right: 1px solid #10254a;
|
||||
border-left: 1px solid #10254a;
|
||||
}
|
||||
|
||||
#menu li:hover ul,#menu li.sfhover ul {
|
||||
/* lists nested under hovered list items */
|
||||
border-right: 1px solid #122b56;
|
||||
border-left: 1px solid #122b56;
|
||||
}
|
||||
|
||||
#menu li li:hover ul,#menu li li.sfhover ul {
|
||||
border-right: 1px solid #122b56;
|
||||
border-left: 1px solid #122b56;
|
||||
}
|
||||
|
||||
/**
|
||||
* Styling parents
|
||||
*/
|
||||
|
||||
/* 1 level - sfhover */
|
||||
#menu li.sfhover a {
|
||||
border-left: 1px solid #1b3f7c;
|
||||
border-right: 1px solid #000000;
|
||||
}
|
||||
|
||||
/* 2 level - hover */
|
||||
#menu li.sfhover li.sfhover a,#menu li li a:focus {
|
||||
border-left: 1px solid #1b3f7c;
|
||||
border-right: 1px solid #000000;
|
||||
}
|
||||
|
||||
/* 3 level - hover */
|
||||
#menu li.sfhover li.sfhover li.sfhover a,#menu li li li a:focus {
|
||||
border-left: 1px solid #1b3f7c;
|
||||
border-right: 1px solid #000000;
|
||||
}
|
||||
|
||||
/* bring back the focus elements into view */
|
||||
#menu li li a:focus {
|
||||
border-left: 1px solid #1b3f7c;
|
||||
border-right: 1px solid #000000;
|
||||
}
|
||||
|
||||
#menu li li li a:focus {
|
||||
border-left: 1px solid #1b3f7c;
|
||||
border-right: 1px solid #000000;
|
||||
}
|
||||
|
||||
/* Installer Database */
|
||||
#installer-database p.warning {
|
||||
background-position: center right;
|
||||
}
|
||||
|
||||
#installer-database p.nowarning {
|
||||
background-position: center right;
|
||||
}
|
1768
administrator/templates/hathor/css/colour_standard.css
Normal file
1768
administrator/templates/hathor/css/colour_standard.css
Normal file
File diff suppressed because it is too large
Load Diff
370
administrator/templates/hathor/css/colour_standard_rtl.css
Normal file
370
administrator/templates/hathor/css/colour_standard_rtl.css
Normal file
@ -0,0 +1,370 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage templates.hathor
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
* @since 1.6
|
||||
*
|
||||
* RTL CSS file for the color standard
|
||||
*/
|
||||
|
||||
/**
|
||||
* Overall Styles
|
||||
*/
|
||||
#header {
|
||||
background: #ffffff url(../images/j_logo.png) no-repeat top right;
|
||||
}
|
||||
|
||||
#element-box {
|
||||
border-left: 1px solid #c7c8b2;
|
||||
border-right: 1px solid #c7c8b2;
|
||||
}
|
||||
|
||||
/**
|
||||
* Various Styles
|
||||
*/
|
||||
|
||||
div.checkin-tick {
|
||||
background: url(../images/admin/tick.png) 20px 50% no-repeat;
|
||||
}
|
||||
|
||||
/**
|
||||
* Subheader, toolbar, page title
|
||||
*/
|
||||
div.toolbar-box {
|
||||
border-left: 1px solid #c7c8b2;
|
||||
border-right: 1px solid #c7c8b2;
|
||||
}
|
||||
|
||||
div.toolbar-list li.divider {
|
||||
border-left:1px dotted #e3e4ca;
|
||||
border-right:none;
|
||||
}
|
||||
|
||||
div.toolbar-list a:hover {
|
||||
border-right: 1px solid #e3e4ca;
|
||||
border-left: 1px solid #c7c8b2;
|
||||
}
|
||||
|
||||
/**
|
||||
* Pane Slider pane Toggler styles
|
||||
*/
|
||||
.pane-toggler span {
|
||||
background: transparent url(../images/j_arrow_left.png) right 50% no-repeat;
|
||||
}
|
||||
|
||||
.pane-toggler-down span {
|
||||
background: transparent url(../images/j_arrow_down.png) right 50%
|
||||
no-repeat;
|
||||
}
|
||||
|
||||
/**
|
||||
* Cpanel Settings
|
||||
*/
|
||||
#cpanel div.icon a:hover,
|
||||
#cpanel div.icon a:focus {
|
||||
border-right: 1px solid #e3e4ca;
|
||||
border-left: 1px solid #c7c8b2;
|
||||
}
|
||||
|
||||
fieldset#filter-bar {
|
||||
border-left: none;
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* Admintable Styles
|
||||
*/
|
||||
table.admintable td.key,table.admintable td.paramlist_key {
|
||||
border-left: 1px solid #c7c8b2;
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
table.paramlist td.paramlist_description {
|
||||
border-left: 1px solid #c7c8b2;
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* Admin Form Styles
|
||||
*/
|
||||
table.adminform tr {
|
||||
border-left: 1px solid #c7c8b2;
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* Adminlist Table layout
|
||||
*/
|
||||
|
||||
table.adminlist.modal {
|
||||
border-right: 1px solid #c7c8b2;
|
||||
border-left: 1px solid #c7c8b2;
|
||||
}
|
||||
|
||||
|
||||
/* Table row styles */
|
||||
|
||||
table.adminlist tbody tr td,
|
||||
table.adminlist tbody tr th {
|
||||
border-left: 1px solid #c7c8b2;
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
table.adminlist tbody tr td:last-child {
|
||||
border-left: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* Saving order icon styling in admin tables
|
||||
*/
|
||||
a.saveorder {
|
||||
background: url(../images/admin/filesave.png) no-repeat;
|
||||
}
|
||||
|
||||
a.saveorder.inactive {
|
||||
background-position: 0 -16px;
|
||||
}
|
||||
|
||||
/**
|
||||
* Button styling
|
||||
*/
|
||||
|
||||
/* Button 1 Type */
|
||||
|
||||
/* Use this if you add images to the buttons such as directional arrows */
|
||||
|
||||
.button1 a {
|
||||
/* add padding if you are using the directional images */
|
||||
/* padding: 0 6px 0 30px; */
|
||||
}
|
||||
|
||||
/* Button 2 Type */
|
||||
|
||||
.button2-right .prev {
|
||||
background-image: url(../images/j_button2_prev.png);
|
||||
background-position: right center;
|
||||
}
|
||||
|
||||
.button2-right.off .prev {
|
||||
background: url(../images/j_button2_prev_off.png) no-repeat;
|
||||
}
|
||||
|
||||
.button2-right .start {
|
||||
background-image: url(../images/j_button2_first.png);
|
||||
background-position: right center;
|
||||
}
|
||||
|
||||
.button2-left .next {
|
||||
background-image: url(../images/j_button2_next.png);
|
||||
background-position: left center;
|
||||
}
|
||||
|
||||
.button2-left.off .next { /* @TODO check the x position */
|
||||
background: url(../images/j_button2_next_off.png) 100% 0 no-repeat;
|
||||
}
|
||||
|
||||
.button2-left .end {
|
||||
background-image: url(../images/j_arrow_left.png);
|
||||
background-position: left center;
|
||||
}
|
||||
|
||||
.button2-left.off .end { /* @TODO check the x position */
|
||||
background: url(../images/j_button2_last_off.png) 100% 0 no-repeat;
|
||||
}
|
||||
|
||||
.button2-left .image {
|
||||
background: url(../images/j_button2_image.png) 100% 0 no-repeat;
|
||||
}
|
||||
|
||||
.button2-left .readmore {
|
||||
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;
|
||||
}
|
||||
|
||||
/**
|
||||
* Tooltips
|
||||
*/
|
||||
|
||||
/**
|
||||
* System Standard Messages
|
||||
*/
|
||||
#system-message dd.message ul {
|
||||
background: #C3D2E5 url(../images/notice-info.png) 99.5% center no-repeat;
|
||||
}
|
||||
|
||||
/**
|
||||
* System Error Messages
|
||||
*/
|
||||
#system-message dd.error ul {
|
||||
background: #E6C0C0 url(../images/notice-alert.png) 99.5% top no-repeat;
|
||||
}
|
||||
|
||||
/**
|
||||
* System Notice Messages
|
||||
*/
|
||||
#system-message dd.notice ul {
|
||||
background: #EFE7B8 url(../images/notice-note.png) 99%.5 top no-repeat;
|
||||
}
|
||||
|
||||
/**
|
||||
* JGrid styles
|
||||
*/
|
||||
|
||||
/**
|
||||
* Menu Icons
|
||||
* These icons are used on the Administrator menu
|
||||
* The classes are constructed dynamically when the menu is generated
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* Toolbar icons
|
||||
* These icons are used for the toolbar buttons
|
||||
* The classes are constructed dynamically when the toolbar is created
|
||||
*/
|
||||
|
||||
/**
|
||||
* Quick Icons
|
||||
* Also knows as Header Icons
|
||||
* These are used for the Quick Icons on the Control Panel
|
||||
* The same classes are also assigned the Component Title
|
||||
*/
|
||||
|
||||
/**
|
||||
* General styles
|
||||
*/
|
||||
|
||||
.helpFrame {
|
||||
border-right: 0 solid #c7c8b2;
|
||||
border-left: none;
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
/* -- ACL STYLES relocated from com_users/media/grid.css ----------- */
|
||||
|
||||
/* -- ACL PANEL STYLES ----------- */
|
||||
|
||||
|
||||
/* All Tabs */
|
||||
|
||||
table.aclsummary-table td.col2,
|
||||
table.aclsummary-table th.col2,
|
||||
table.aclsummary-table td.col3,
|
||||
table.aclsummary-table th.col3,
|
||||
table.aclsummary-table td.col4,
|
||||
table.aclsummary-table th.col4,
|
||||
table.aclsummary-table td.col5,
|
||||
table.aclsummary-table th.col5,
|
||||
table.aclsummary-table td.col6,
|
||||
table.aclsummary-table th.col6
|
||||
table.aclmodify-table td.col2,
|
||||
table.aclmodify-table th.col2 {
|
||||
border-right: 1px solid #c7c8b2;
|
||||
border-left: none;
|
||||
}
|
||||
|
||||
/* Icons */
|
||||
|
||||
ul.acllegend li.acl-allowed {
|
||||
background:url(../images/admin/icon-16-allow.png) no-repeat right;
|
||||
}
|
||||
ul.acllegend li.acl-denied {
|
||||
background:url(../images/admin/icon-16-deny.png) no-repeat right;
|
||||
}
|
||||
|
||||
table#acl-config th.acl-groups {
|
||||
border-left: 1px solid #c7c8b2;
|
||||
}
|
||||
|
||||
table#acl-config th.acl-groups {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.acl-action {
|
||||
margin: auto 0;
|
||||
}
|
||||
|
||||
/* Icons */
|
||||
|
||||
span.icon-16-unset {
|
||||
background: url(../images/admin/icon-16-denyinactive.png) no-repeat right;
|
||||
}
|
||||
|
||||
span.icon-16-allowed {
|
||||
background: url(../images/admin/icon-16-allow.png) no-repeat right;
|
||||
}
|
||||
|
||||
span.icon-16-denied {
|
||||
background: url(../images/admin/icon-16-deny.png) no-repeat right;
|
||||
}
|
||||
|
||||
span.icon-16-locked {
|
||||
background: url(../images/admin/checked_out.png) no-repeat right;
|
||||
}
|
||||
|
||||
/**
|
||||
* Mod_rewrite Warning
|
||||
*/
|
||||
#jform_sef_rewrite-lbl {
|
||||
background: url(../images/admin/icon-16-notice-note.png) left top no-repeat;
|
||||
}
|
||||
|
||||
/**
|
||||
* Modal S-Box overrides
|
||||
*/
|
||||
|
||||
#sbox-window {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
/**
|
||||
* Permission Rules
|
||||
*/
|
||||
|
||||
#permissions-sliders ul#rules table.group-rules td {
|
||||
border-left: solid 1px #c7c8b2;
|
||||
border-right: solid 0 #c7c8b2;
|
||||
}
|
||||
|
||||
#permissions-sliders ul#rules table.group-rules th {
|
||||
border-left: solid 1px #c7c8b2;
|
||||
border-right: solid 0 #c7c8b2;
|
||||
}
|
||||
|
||||
/**
|
||||
* Menu Styling
|
||||
*/
|
||||
|
||||
#menu ul li.node {
|
||||
background-image: url(../images/j_arrow_left.png);
|
||||
background-repeat: no-repeat;
|
||||
background-position: left 50%;
|
||||
}
|
||||
|
||||
#menu a {
|
||||
background-position: right 50%;
|
||||
}
|
||||
|
||||
#menu li {
|
||||
border-left: 1px solid #c7c8b2;
|
||||
border-right: 0 solid #c7c8b2;
|
||||
}
|
||||
|
||||
#menu li li li a:focus {
|
||||
border-right: 1px solid #fafafa;
|
||||
}
|
||||
|
||||
/* Installer Database */
|
||||
#installer-database p.warning {
|
||||
background-position: center right;
|
||||
}
|
||||
|
||||
#installer-database p.nowarning {
|
||||
background-position: center right;
|
||||
}
|
74
administrator/templates/hathor/css/error.css
Normal file
74
administrator/templates/hathor/css/error.css
Normal file
@ -0,0 +1,74 @@
|
||||
/**
|
||||
* @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 {
|
||||
height: 100%;
|
||||
padding: 0;
|
||||
font-family: Arial, Helvetica, Sans Serif;
|
||||
font-size: 11px;
|
||||
color: #2c2c2c;
|
||||
background: #ffffff;
|
||||
width: 80%;
|
||||
min-width: 400px;
|
||||
margin: 15px auto;
|
||||
}
|
||||
|
||||
div {
|
||||
background-color: #f9fade;
|
||||
padding: 8px;
|
||||
border: solid 1px #c7c8b2;
|
||||
margin-top: 13px;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
|
||||
.frame {
|
||||
background-color: #f9fade;
|
||||
padding: 8px;
|
||||
border: solid 1px #c7c8b2;
|
||||
margin-top: 13px;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
|
||||
.table {
|
||||
border-collapse: collapse;
|
||||
margin-top: 13px;
|
||||
}
|
||||
|
||||
a {
|
||||
border: 1px solid #c7c8b2;
|
||||
-moz-border-radius: 3px;
|
||||
-webkit-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
background-color: #ffffff;
|
||||
color: #2c2c2c;
|
||||
padding: 3px 20px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover, a:focus, a:active {
|
||||
background-color: #e3e4ca;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
td {
|
||||
padding: 3px;
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
border: solid 1px #c7c8b2;
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.type {
|
||||
background-color: #cc0000;
|
||||
color: #ffffff;
|
||||
font-weight: bold;
|
||||
padding: 3px;
|
||||
}
|
121
administrator/templates/hathor/css/ie7.css
Normal file
121
administrator/templates/hathor/css/ie7.css
Normal file
@ -0,0 +1,121 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage templates.hathor
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
* @since 1.6
|
||||
*
|
||||
* CSS file for IE7
|
||||
*/
|
||||
|
||||
/**
|
||||
* Special Styles for Internet Explorer 7
|
||||
*/
|
||||
|
||||
input {
|
||||
border-width: expression(this.type == "radio" ? '0px' : this.type == "checkbox" ? '0px' : '1px');
|
||||
}
|
||||
|
||||
div.toolbar-box {
|
||||
height: 65px;
|
||||
}
|
||||
|
||||
div.toolbar-list span {
|
||||
margin: 0;
|
||||
position: relative
|
||||
}
|
||||
|
||||
div.toolbar-list a {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
div#subheader {
|
||||
height: 2em;
|
||||
}
|
||||
|
||||
#login-page .pagetitle h2 {
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
*:first-child+html .clearfix {
|
||||
min-height: 1px;
|
||||
}
|
||||
|
||||
.menu-links li,
|
||||
.menu-links li label {
|
||||
height: 2em;
|
||||
}
|
||||
|
||||
div.article-edit,
|
||||
div.category-edit {
|
||||
zoom: 1;
|
||||
}
|
||||
|
||||
div.pane-sliders,
|
||||
div.panel,
|
||||
div.pane-slider,
|
||||
div.rules-section,
|
||||
div.mypanel,
|
||||
div.containerpg,
|
||||
div.pagination,
|
||||
div.upload-queue {
|
||||
zoom: 1;
|
||||
}
|
||||
|
||||
div.width-20 fieldset.adminform,
|
||||
div.width-30 fieldset.adminform,
|
||||
div.width-35 fieldset.adminform,
|
||||
div.width-40 fieldset.adminform,
|
||||
div.width-45 fieldset.adminform,
|
||||
div.width-50 fieldset.adminform,
|
||||
div.width-55 fieldset.adminform,
|
||||
div.width-60 fieldset.adminform,
|
||||
div.width-65 fieldset.adminform,
|
||||
div.width-70 fieldset.adminform,
|
||||
div.width-80 fieldset.adminform,
|
||||
div.width-100 fieldset.adminform {
|
||||
zoom: 1;
|
||||
margin-bottom:10px;
|
||||
}
|
||||
|
||||
div.toggle-editor {
|
||||
margin-top: -5px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
table.adminlist {
|
||||
border-bottom-width: 1px;
|
||||
}
|
||||
|
||||
div.current dd {
|
||||
width: 100%;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#permissions-sliders ul#rules table.group-rules caption span {
|
||||
height: 0;
|
||||
overflow: hidden;
|
||||
position: absolute;
|
||||
padding:0;
|
||||
margin:0;
|
||||
}
|
||||
|
||||
div.current ul.menu-links {
|
||||
zoom: 1;
|
||||
width: 25%;
|
||||
margin: 0;
|
||||
padding:0;
|
||||
list-style-position: inside;
|
||||
}
|
||||
|
||||
div#position-icon.pane-sliders div.pane-down div.icon-wrapper {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
fieldset.panelform fieldset.checkboxes.impunlimited {
|
||||
float: none;
|
||||
width: 170px;
|
||||
}
|
21
administrator/templates/hathor/css/ie8.css
Normal file
21
administrator/templates/hathor/css/ie8.css
Normal file
@ -0,0 +1,21 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage templates.hathor
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
* @since 1.6
|
||||
*
|
||||
* CSS file for IE8
|
||||
*/
|
||||
|
||||
/**
|
||||
* Special Styles for Internet Explorer 8
|
||||
*/
|
||||
|
||||
/* Accessibility: css in template.css for slider keyboard
|
||||
* has to be reversed here or the mouse does not work for ie */
|
||||
.pane-toggler + div.pane-slider {
|
||||
/*display: block;*/
|
||||
}
|
1
administrator/templates/hathor/css/index.html
Normal file
1
administrator/templates/hathor/css/index.html
Normal file
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
3332
administrator/templates/hathor/css/template.css
Normal file
3332
administrator/templates/hathor/css/template.css
Normal file
File diff suppressed because it is too large
Load Diff
1297
administrator/templates/hathor/css/template_rtl.css
Normal file
1297
administrator/templates/hathor/css/template_rtl.css
Normal file
File diff suppressed because it is too large
Load Diff
297
administrator/templates/hathor/css/theme.css
Normal file
297
administrator/templates/hathor/css/theme.css
Normal file
@ -0,0 +1,297 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage templates.hathor
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
* @since 1.6
|
||||
*/
|
||||
|
||||
/* ThemeOfficeMenu Style Sheet */
|
||||
|
||||
.ThemeOfficeMenu,
|
||||
.ThemeOfficeSubMenuTable {
|
||||
font-family: Arial, Verdana, sans-serif;
|
||||
font-size: 13px;
|
||||
padding: 0;
|
||||
white-space: nowrap;
|
||||
cursor: default;
|
||||
height: 25px;
|
||||
}
|
||||
|
||||
.ThemeOfficeSubMenu {
|
||||
position: absolute;
|
||||
visibility: hidden;
|
||||
/*
|
||||
Netscape/Mozilla renders borders by increasing
|
||||
their z-index. The following line is necessary
|
||||
to cover any borders underneath
|
||||
*/
|
||||
z-index: 100;
|
||||
border: 0;
|
||||
padding: 0;
|
||||
overflow: visible;
|
||||
border: 1px solid #8C867B;
|
||||
filter:progid:DXImageTransform.Microsoft.Shadow(color=#BDC3BD, Direction=135, Strength=4);
|
||||
}
|
||||
|
||||
.ThemeOfficeSubMenuTable {
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.ThemeOfficeMainItem,
|
||||
.ThemeOfficeMainItemHover,
|
||||
.ThemeOfficeMainItemActive,
|
||||
.ThemeOfficeMenuItem,
|
||||
.ThemeOfficeMenuItemHover,
|
||||
.ThemeOfficeMenuItemActive {
|
||||
border: 0;
|
||||
cursor: default;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.ThemeOfficeMainItem {
|
||||
/*background-color: #EFEBDE;*/
|
||||
}
|
||||
|
||||
.ThemeOfficeMainItemHover,
|
||||
.ThemeOfficeMainItemActive {
|
||||
background-color: #e7eddf;
|
||||
}
|
||||
|
||||
.ThemeOfficeMenuItem {
|
||||
background-color: #F1F3F5;
|
||||
}
|
||||
|
||||
.ThemeOfficeMenuItemHover,
|
||||
.ThemeOfficeMenuItemActive {
|
||||
background-color: #e7eddf;
|
||||
}
|
||||
|
||||
|
||||
/* horizontal main menu */
|
||||
|
||||
.ThemeOfficeMainItem {
|
||||
padding: 4px 1px 4px 1px;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
td.ThemeOfficeMainItemHover,
|
||||
td.ThemeOfficeMainItemActive {
|
||||
padding: 0;
|
||||
border-right: 1px solid #6d9d2e;
|
||||
border-left: 1px solid #6d9d2e;
|
||||
}
|
||||
|
||||
.ThemeOfficeMainFolderLeft,
|
||||
.ThemeOfficeMainItemLeft,
|
||||
.ThemeOfficeMainFolderText,
|
||||
.ThemeOfficeMainItemText,
|
||||
.ThemeOfficeMainFolderRight,
|
||||
.ThemeOfficeMainItemRight {
|
||||
background-color: inherit;
|
||||
}
|
||||
|
||||
/* vertical main menu sub components */
|
||||
|
||||
td.ThemeOfficeMainFolderLeft,
|
||||
td.ThemeOfficeMainItemLeft {
|
||||
padding-top: 2px;
|
||||
padding-bottom: 2px;
|
||||
padding-left: 0;
|
||||
padding-right: 2px;
|
||||
|
||||
border-top: 1px solid #6d9d2e;
|
||||
border-bottom: 1px solid #6d9d2e;
|
||||
border-left: 1px solid #6d9d2e;
|
||||
|
||||
background-color: inherit;
|
||||
}
|
||||
|
||||
td.ThemeOfficeMainFolderText,
|
||||
td.ThemeOfficeMainItemText {
|
||||
padding-top: 2px;
|
||||
padding-bottom: 2px;
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
|
||||
border-top: 1px solid #6d9d2e;
|
||||
border-bottom: 1px solid #6d9d2e;
|
||||
|
||||
background-color: inherit;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
td.ThemeOfficeMainFolderRight,
|
||||
td.ThemeOfficeMainItemRight {
|
||||
padding-top: 2px;
|
||||
padding-bottom: 2px;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
|
||||
border-top: 1px solid #6d9d2e;
|
||||
border-bottom: 1px solid #6d9d2e;
|
||||
border-right: 1px solid #6d9d2e;
|
||||
|
||||
background-color: inherit;
|
||||
}
|
||||
|
||||
tr.ThemeOfficeMainItem td.ThemeOfficeMainFolderLeft,
|
||||
tr.ThemeOfficeMainItem td.ThemeOfficeMainItemLeft {
|
||||
padding-top: 3px;
|
||||
padding-bottom: 3px;
|
||||
padding-left: 1px;
|
||||
padding-right: 2px;
|
||||
white-space: nowrap;
|
||||
border: 0;
|
||||
background-color: inherit;
|
||||
}
|
||||
|
||||
tr.ThemeOfficeMainItem td.ThemeOfficeMainFolderText,
|
||||
tr.ThemeOfficeMainItem td.ThemeOfficeMainItemText {
|
||||
padding-top: 3px;
|
||||
padding-bottom: 3px;
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
border: 0;
|
||||
background-color: inherit;
|
||||
}
|
||||
|
||||
tr.ThemeOfficeMainItem td.ThemeOfficeMainItemRight,
|
||||
tr.ThemeOfficeMainItem td.ThemeOfficeMainFolderRight {
|
||||
padding-top: 3px;
|
||||
padding-bottom: 3px;
|
||||
padding-left: 0;
|
||||
padding-right: 1px;
|
||||
border: 0;
|
||||
background-color: inherit;
|
||||
}
|
||||
|
||||
/* sub menu sub components */
|
||||
|
||||
.ThemeOfficeMenuFolderLeft,
|
||||
.ThemeOfficeMenuItemLeft {
|
||||
padding-top: 2px;
|
||||
padding-bottom: 2px;
|
||||
padding-left: 1px;
|
||||
padding-right: 3px;
|
||||
border-top: 1px solid #6d9d2e;
|
||||
border-bottom: 1px solid #6d9d2e;
|
||||
border-left: 1px solid #6d9d2e;
|
||||
background-color: inherit;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.ThemeOfficeMenuFolderText,
|
||||
.ThemeOfficeMenuItemText {
|
||||
padding-top: 2px;
|
||||
padding-bottom: 2px;
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
|
||||
border-top: 1px solid #6d9d2e;
|
||||
border-bottom: 1px solid #6d9d2e;
|
||||
|
||||
background-color: inherit;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.ThemeOfficeMenuFolderRight,
|
||||
.ThemeOfficeMenuItemRight {
|
||||
padding-top: 2px;
|
||||
padding-bottom: 2px;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
|
||||
border-top: 1px solid #6d9d2e;
|
||||
border-bottom: 1px solid #6d9d2e;
|
||||
border-right: 1px solid #6d9d2e;
|
||||
background-color: inherit;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.ThemeOfficeMenuItem .ThemeOfficeMenuFolderLeft,
|
||||
.ThemeOfficeMenuItem .ThemeOfficeMenuItemLeft {
|
||||
padding-top: 3px;
|
||||
padding-bottom: 3px;
|
||||
padding-left: 2px;
|
||||
padding-right: 3px;
|
||||
white-space: nowrap;
|
||||
border: 0;
|
||||
background-color: #DDE1E6;
|
||||
}
|
||||
|
||||
.ThemeOfficeMenuItem .ThemeOfficeMenuFolderText,
|
||||
.ThemeOfficeMenuItem .ThemeOfficeMenuItemText {
|
||||
padding-top: 3px;
|
||||
padding-bottom: 3px;
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
border: 0;
|
||||
background-color: inherit;
|
||||
}
|
||||
|
||||
.ThemeOfficeMenuItem .ThemeOfficeMenuFolderRight,
|
||||
.ThemeOfficeMenuItem .ThemeOfficeMenuItemRight {
|
||||
padding-top: 3px;
|
||||
padding-bottom: 3px;
|
||||
padding-left: 0;
|
||||
padding-right: 1px;
|
||||
border: 0;
|
||||
background-color: inherit;
|
||||
}
|
||||
|
||||
/* menu splits */
|
||||
|
||||
.ThemeOfficeMenuSplit {
|
||||
margin: 2px;
|
||||
height: 1px;
|
||||
overflow: hidden;
|
||||
background-color: inherit;
|
||||
border-top: 1px solid #C6C3BD;
|
||||
}
|
||||
|
||||
/* image shadow animation */
|
||||
/*
|
||||
seq1: image for normal
|
||||
seq2: image for hover and active
|
||||
To use, in the icon field, input the following:
|
||||
<img class="seq1" src="normal.gif" /><img class="seq2" src="hover.gif" />
|
||||
*/
|
||||
|
||||
.ThemeOfficeMenuItem img.seq1 {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.ThemeOfficeMenuItemHover seq2,
|
||||
.ThemeOfficeMenuItemActive seq2 {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.ThemeOfficeMenuItem .seq2,
|
||||
.ThemeOfficeMenuItemHover .seq1,
|
||||
.ThemeOfficeMenuItemActive .seq1 {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* inactive settings */
|
||||
div.inactive td.ThemeOfficeMainItemHover,
|
||||
div.inactive td.ThemeOfficeMainItemActive {
|
||||
border-top: 0;
|
||||
border-right: 1px solid #f1f3f5;
|
||||
border-left: 1px solid #f1f3f5;
|
||||
}
|
||||
|
||||
div.inactive .ThemeOfficeMainItem {
|
||||
color: #bbb;
|
||||
}
|
||||
|
||||
div.inactive span.ThemeOfficeMainItemText {
|
||||
color: #aaa;
|
||||
}
|
||||
|
||||
div.inactive .ThemeOfficeMainItemHover,
|
||||
div.inactive .ThemeOfficeMainItemActive {
|
||||
background-color: #f1f3f5;
|
||||
}
|
48
administrator/templates/hathor/error.php
Normal file
48
administrator/templates/hathor/error.php
Normal file
@ -0,0 +1,48 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @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/<?php echo $this->template ?>/css/error.css" type="text/css" />
|
||||
<?php // If debug mode
|
||||
$debug = JFactory::getConfig()->get('debug_lang');
|
||||
if ((defined('JDEBUG') && JDEBUG) || $debug) : ?>
|
||||
<!-- Load additional CSS styles for debug mode-->
|
||||
<link rel="stylesheet" href="<?php echo JUri::root() ?>/media/cms/css/debug.css" type="text/css" />
|
||||
<?php endif; ?>
|
||||
|
||||
<!-- Load additional CSS styles for rtl sites -->
|
||||
<?php if ($this->direction == 'rtl') : ?>
|
||||
<link href="templates/<?php echo $this->template ?>/css/template_rtl.css" rel="stylesheet" type="text/css" />
|
||||
<?php endif; ?>
|
||||
|
||||
</head>
|
||||
<body class="errors">
|
||||
<div>
|
||||
<h1>
|
||||
<?php echo $this->error->getCode() ?> - <?php echo JText::_('JERROR_AN_ERROR_HAS_OCCURRED') ?>
|
||||
</h1>
|
||||
</div>
|
||||
<div>
|
||||
<p><?php echo $this->error->getMessage(); ?></p>
|
||||
<p><a href="index.php"><?php echo JText::_('JGLOBAL_TPL_CPANEL_LINK_TEXT') ?></a></p>
|
||||
<?php if ($this->debug) :
|
||||
echo $this->renderBacktrace();
|
||||
endif; ?>
|
||||
</div>
|
||||
<div class="clr"></div>
|
||||
<noscript>
|
||||
<?php echo JText::_('JGLOBAL_WARNJAVASCRIPT') ?>
|
||||
</noscript>
|
||||
</body>
|
||||
</html>
|
BIN
administrator/templates/hathor/favicon.ico
Normal file
BIN
administrator/templates/hathor/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
@ -0,0 +1,58 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @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;
|
||||
|
||||
jimport('joomla.language.help');
|
||||
?>
|
||||
<form action="<?php echo JRoute::_('index.php?option=com_admin&view=help'); ?>" method="post" name="adminForm" id="adminForm">
|
||||
<div class="width-40 fltlft">
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo JText::_('COM_ADMIN_SEARCH'); ?></legend>
|
||||
<input class="textarea" type="hidden" name="option" value="com_admin" />
|
||||
<input type="text" name="helpsearch" size="40" value="<?php echo $this->escape($this->help_search);?>" class="inputbox" />
|
||||
<input type="submit" value="<?php echo JText::_('COM_ADMIN_GO'); ?>" class="button" />
|
||||
<input type="button" value="<?php echo JText::_('COM_ADMIN_CLEAR_RESULTS'); ?>" class="button" onclick="f=document.adminForm;f.helpsearch.value='';f.submit()" />
|
||||
</fieldset>
|
||||
</div>
|
||||
<div class="width-50 fltrt helplinks">
|
||||
<ul class="helpmenu">
|
||||
<li><?php echo JHtml::_('link', JHelp::createUrl('JHELP_GLOSSARY'), JText::_('COM_ADMIN_GLOSSARY'), array('target' => 'helpFrame')) ?></li>
|
||||
<li><?php echo JHtml::_('link', 'http://www.gnu.org/licenses/gpl-2.0.html', JText::_('COM_ADMIN_LICENSE'), array('target' => 'helpFrame')) ?></li>
|
||||
<li><?php echo JHtml::_('link', $this->latest_version_check, JText::_('COM_ADMIN_LATEST_VERSION_CHECK'), array('target' => 'helpFrame')) ?></li>
|
||||
<li><?php echo JHtml::_('link', JHelp::createUrl('JHELP_START_HERE'), JText::_('COM_ADMIN_START_HERE'), array('target' => 'helpFrame')) ?></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="clr"> </div>
|
||||
<div id="treecellhelp" class="width-20 fltleft">
|
||||
<fieldset class="adminform whitebg" title="<?php echo JText::_('COM_ADMIN_ALPHABETICAL_INDEX'); ?>">
|
||||
<legend><?php echo JText::_('COM_ADMIN_ALPHABETICAL_INDEX'); ?></legend>
|
||||
|
||||
<div class="helpIndex">
|
||||
<ul class="subext">
|
||||
<?php foreach ($this->toc as $k => $v):?>
|
||||
<li>
|
||||
<?php $url = JHelp::createUrl('JHELP_'.strtoupper($k)); ?>
|
||||
<?php echo JHtml::_('link', $url, $v, array('target' => 'helpFrame'));?>
|
||||
</li>
|
||||
<?php endforeach;?>
|
||||
</ul>
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
<div id="datacellhelp" class="width-80 fltrt">
|
||||
<fieldset title="<?php echo JText::_('COM_ADMIN_VIEW'); ?>">
|
||||
<legend>
|
||||
<?php echo JText::_('COM_ADMIN_VIEW'); ?>
|
||||
</legend>
|
||||
<iframe name="helpFrame" src="<?php echo $this->page;?>" class="helpFrame"></iframe>
|
||||
</fieldset>
|
||||
</div>
|
||||
</form>
|
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
1
administrator/templates/hathor/html/com_admin/index.html
Normal file
1
administrator/templates/hathor/html/com_admin/index.html
Normal file
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
@ -0,0 +1,72 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @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 the component HTML helpers.
|
||||
JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
|
||||
|
||||
JHtml::_('behavior.formvalidation');
|
||||
|
||||
// Get the form fieldsets.
|
||||
$fieldsets = $this->form->getFieldsets();
|
||||
?>
|
||||
|
||||
<script type="text/javascript">
|
||||
Joomla.submitbutton = function(task)
|
||||
{
|
||||
if (task == 'profile.cancel' || document.formvalidator.isValid(document.id('profile-form')))
|
||||
{
|
||||
Joomla.submitform(task, document.getElementById('profile-form'));
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<form action="<?php echo JRoute::_('index.php?option=com_admin&view=profile&layout=edit&id='.$this->item->id); ?>" method="post" name="adminForm" id="profile-form" class="form-validate" enctype="multipart/form-data">
|
||||
<div class="col main-section">
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo JText::_('COM_ADMIN_USER_ACCOUNT_DETAILS'); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset('user_details') as $field) : ?>
|
||||
<li><?php echo $field->label; ?>
|
||||
<?php echo $field->input; ?></li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
<div class="col options-section">
|
||||
<?php
|
||||
echo JHtml::_('sliders.start');
|
||||
foreach ($fieldsets as $fieldset) :
|
||||
if ($fieldset->name == 'user_details') :
|
||||
continue;
|
||||
endif;
|
||||
echo JHtml::_('sliders.panel', JText::_($fieldset->label), $fieldset->name);
|
||||
?>
|
||||
<fieldset class="panelform">
|
||||
<legend class="element-invisible"><?php echo JText::_($fieldset->label); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset($fieldset->name) as $field) : ?>
|
||||
<?php if ($field->hidden) : ?>
|
||||
<?php echo $field->input; ?>
|
||||
<?php else: ?>
|
||||
<li><?php echo $field->label; ?>
|
||||
<?php echo $field->input; ?></li>
|
||||
<?php endif; ?>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
<?php endforeach; ?>
|
||||
<?php echo JHtml::_('sliders.end'); ?>
|
||||
|
||||
<input type="hidden" name="task" value="" />
|
||||
<?php echo JHtml::_('form.token'); ?>
|
||||
</div>
|
||||
</form>
|
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
@ -0,0 +1,62 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @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;
|
||||
|
||||
// Add specific helper files for html generation
|
||||
JHtml::addIncludePath(JPATH_COMPONENT . '/helpers/html');
|
||||
// Load switcher behavior
|
||||
JHtml::_('behavior.switcher');
|
||||
?>
|
||||
|
||||
<form action="<?php echo JRoute::_('index.php'); ?>" method="post" name="adminForm" id="adminForm">
|
||||
<div id="config-document">
|
||||
<div id="page-site" class="tab">
|
||||
<div class="noshow">
|
||||
<div class="width-100">
|
||||
<?php echo $this->loadTemplate('system'); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="page-phpsettings" class="tab">
|
||||
<div class="noshow">
|
||||
<div class="width-60">
|
||||
<?php echo $this->loadTemplate('phpsettings'); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="page-config" class="tab">
|
||||
<div class="noshow">
|
||||
<div class="width-60">
|
||||
<?php echo $this->loadTemplate('config'); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="page-directory" class="tab">
|
||||
<div class="noshow">
|
||||
<div class="width-60">
|
||||
<?php echo $this->loadTemplate('directory'); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="page-phpinfo" class="tab">
|
||||
<div class="noshow">
|
||||
<div class="width-100">
|
||||
<?php echo $this->loadTemplate('phpinfo'); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="clr"></div>
|
||||
</form>
|
@ -0,0 +1,43 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @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;
|
||||
?>
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo JText::_('COM_ADMIN_CONFIGURATION_FILE'); ?></legend>
|
||||
<table class="adminlist">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="300">
|
||||
<?php echo JText::_('COM_ADMIN_SETTING'); ?>
|
||||
</th>
|
||||
<th>
|
||||
<?php echo JText::_('COM_ADMIN_VALUE'); ?>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="2"> </td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
<tbody>
|
||||
<?php foreach ($this->config as $key => $value):?>
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo $key;?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo htmlspecialchars($value, ENT_QUOTES);?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach;?>
|
||||
</tbody>
|
||||
</table>
|
||||
</fieldset>
|
@ -0,0 +1,43 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @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;
|
||||
?>
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo JText::_('COM_ADMIN_DIRECTORY_PERMISSIONS'); ?></legend>
|
||||
<table class="adminlist">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="650">
|
||||
<?php echo JText::_('COM_ADMIN_DIRECTORY'); ?>
|
||||
</th>
|
||||
<th>
|
||||
<?php echo JText::_('COM_ADMIN_STATUS'); ?>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="2"> </td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
<tbody>
|
||||
<?php foreach ($this->directory as $dir => $info) : ?>
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo JHtml::_('directory.message', $dir, $info['message']);?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo JHtml::_('directory.writable', $info['writable']);?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</fieldset>
|
@ -0,0 +1,41 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @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;
|
||||
?>
|
||||
<div id="submenu-box">
|
||||
<div class="submenu-box">
|
||||
<div class="submenu-pad">
|
||||
<ul id="submenu" class="information nav nav-list">
|
||||
<li>
|
||||
<a href="#" onclick="return false;" id="site" class="active">
|
||||
<?php echo JText::_('COM_ADMIN_SYSTEM_INFORMATION'); ?></a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" onclick="return false;" id="phpsettings">
|
||||
<?php echo JText::_('COM_ADMIN_PHP_SETTINGS'); ?></a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" onclick="return false;" id="config">
|
||||
<?php echo JText::_('COM_ADMIN_CONFIGURATION_FILE'); ?></a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" onclick="return false;" id="directory">
|
||||
<?php echo JText::_('COM_ADMIN_DIRECTORY_PERMISSIONS'); ?></a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" onclick="return false;" id="phpinfo">
|
||||
<?php echo JText::_('COM_ADMIN_PHP_INFORMATION'); ?></a>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="clr"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clr"></div>
|
||||
</div>
|
@ -0,0 +1,162 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @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;
|
||||
?>
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo JText::_('COM_ADMIN_RELEVANT_PHP_SETTINGS'); ?></legend>
|
||||
<table class="adminlist">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="250">
|
||||
<?php echo JText::_('COM_ADMIN_SETTING'); ?>
|
||||
</th>
|
||||
<th>
|
||||
<?php echo JText::_('COM_ADMIN_VALUE'); ?>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="2"> 
|
||||
</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo JText::_('COM_ADMIN_SAFE_MODE'); ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo JHtml::_('phpsetting.boolean', $this->php_settings['safe_mode']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo JText::_('COM_ADMIN_OPEN_BASEDIR'); ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo JHtml::_('phpsetting.string', $this->php_settings['open_basedir']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo JText::_('COM_ADMIN_DISPLAY_ERRORS'); ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo JHtml::_('phpsetting.boolean', $this->php_settings['display_errors']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo JText::_('COM_ADMIN_SHORT_OPEN_TAGS'); ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo JHtml::_('phpsetting.boolean', $this->php_settings['short_open_tag']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo JText::_('COM_ADMIN_FILE_UPLOADS'); ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo JHtml::_('phpsetting.boolean', $this->php_settings['file_uploads']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo JText::_('COM_ADMIN_MAGIC_QUOTES'); ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo JHtml::_('phpsetting.boolean', $this->php_settings['magic_quotes_gpc']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo JText::_('COM_ADMIN_REGISTER_GLOBALS'); ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo JHtml::_('phpsetting.boolean', $this->php_settings['register_globals']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo JText::_('COM_ADMIN_OUTPUT_BUFFERING'); ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo JHtml::_('phpsetting.boolean', $this->php_settings['output_buffering']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo JText::_('COM_ADMIN_SESSION_SAVE_PATH'); ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo JHtml::_('phpsetting.string', $this->php_settings['session.save_path']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo JText::_('COM_ADMIN_SESSION_AUTO_START'); ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo JHtml::_('phpsetting.integer', $this->php_settings['session.auto_start']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo JText::_('COM_ADMIN_XML_ENABLED'); ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo JHtml::_('phpsetting.set', $this->php_settings['xml']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo JText::_('COM_ADMIN_ZLIB_ENABLED'); ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo JHtml::_('phpsetting.set', $this->php_settings['zlib']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo JText::_('COM_ADMIN_ZIP_ENABLED'); ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo JHtml::_('phpsetting.set', $this->php_settings['zip']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo JText::_('COM_ADMIN_DISABLED_FUNCTIONS'); ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo JHtml::_('phpsetting.string', $this->php_settings['disable_functions']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo JText::_('COM_ADMIN_MBSTRING_ENABLED'); ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo JHtml::_('phpsetting.set', $this->php_settings['mbstring']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<?php echo JText::_('COM_ADMIN_ICONV_AVAILABLE'); ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo JHtml::_('phpsetting.set', $this->php_settings['iconv']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</fieldset>
|
@ -0,0 +1,106 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @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;
|
||||
?>
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo JText::_('COM_ADMIN_SYSTEM_INFORMATION'); ?></legend>
|
||||
<table class="adminlist">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="250">
|
||||
<?php echo JText::_('COM_ADMIN_SETTING'); ?>
|
||||
</th>
|
||||
<th>
|
||||
<?php echo JText::_('COM_ADMIN_VALUE'); ?>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="2"> 
|
||||
</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<strong><?php echo JText::_('COM_ADMIN_PHP_BUILT_ON'); ?></strong>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo $this->info['php'];?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<strong><?php echo JText::_('COM_ADMIN_DATABASE_VERSION'); ?></strong>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo $this->info['dbversion'];?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<strong><?php echo JText::_('COM_ADMIN_DATABASE_COLLATION'); ?></strong>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo $this->info['dbcollation'];?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<strong><?php echo JText::_('COM_ADMIN_PHP_VERSION'); ?></strong>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo $this->info['phpversion'];?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<strong><?php echo JText::_('COM_ADMIN_WEB_SERVER'); ?></strong>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo JHtml::_('system.server', $this->info['server']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<strong><?php echo JText::_('COM_ADMIN_WEBSERVER_TO_PHP_INTERFACE'); ?></strong>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo $this->info['sapi_name'];?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<strong><?php echo JText::_('COM_ADMIN_JOOMLA_VERSION'); ?></strong>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo $this->info['version'];?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<strong><?php echo JText::_('COM_ADMIN_PLATFORM_VERSION'); ?></strong>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo $this->info['platform'];?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<strong><?php echo JText::_('COM_ADMIN_USER_AGENT'); ?></strong>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo $this->info['useragent'];?>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</fieldset>
|
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
133
administrator/templates/hathor/html/com_banners/banner/edit.php
Normal file
133
administrator/templates/hathor/html/com_banners/banner/edit.php
Normal file
@ -0,0 +1,133 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @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;
|
||||
|
||||
JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
|
||||
|
||||
JHtml::_('behavior.formvalidation');
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
Joomla.submitbutton = function(task)
|
||||
{
|
||||
if (task == 'banner.cancel' || document.formvalidator.isValid(document.id('banner-form')))
|
||||
{
|
||||
Joomla.submitform(task, document.getElementById('banner-form'));
|
||||
}
|
||||
}
|
||||
window.addEvent('domready', function()
|
||||
{
|
||||
document.id('jform_type0').addEvent('click', function(e){
|
||||
document.id('image').setStyle('display', 'block');
|
||||
document.id('url').setStyle('display', 'block');
|
||||
document.id('custom').setStyle('display', 'none');
|
||||
});
|
||||
document.id('jform_type1').addEvent('click', function(e){
|
||||
document.id('image').setStyle('display', 'none');
|
||||
document.id('url').setStyle('display', 'none');
|
||||
document.id('custom').setStyle('display', 'block');
|
||||
});
|
||||
|
||||
if (document.id('jform_type0').checked==true)
|
||||
{
|
||||
document.id('jform_type0').fireEvent('click');
|
||||
}
|
||||
else
|
||||
{
|
||||
document.id('jform_type1').fireEvent('click');
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<form action="<?php echo JRoute::_('index.php?option=com_banners&layout=edit&id='.(int) $this->item->id); ?>" method="post" name="adminForm" id="banner-form" class="form-validate">
|
||||
<div class="col main-section">
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo empty($this->item->id) ? JText::_('COM_BANNERS_NEW_BANNER') : JText::sprintf('COM_BANNERS_BANNER_DETAILS', $this->item->id); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<li><?php echo $this->form->getLabel('name'); ?>
|
||||
<?php echo $this->form->getInput('name'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('alias'); ?>
|
||||
<?php echo $this->form->getInput('alias'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('access'); ?>
|
||||
<?php echo $this->form->getInput('access'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('catid'); ?>
|
||||
<?php echo $this->form->getInput('catid'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('state'); ?>
|
||||
<?php echo $this->form->getInput('state'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('type'); ?>
|
||||
<?php echo $this->form->getInput('type'); ?></li>
|
||||
|
||||
<?php foreach ($this->form->getFieldset('image') as $field) : ?>
|
||||
<li><?php echo $field->label; ?>
|
||||
<?php echo $field->input; ?></li>
|
||||
<?php endforeach; ?>
|
||||
|
||||
<li><div id="custom">
|
||||
<?php echo $this->form->getLabel('custombannercode'); ?>
|
||||
<?php echo $this->form->getInput('custombannercode'); ?>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li><div id="url">
|
||||
<?php echo $this->form->getLabel('clickurl'); ?>
|
||||
<?php echo $this->form->getInput('clickurl'); ?>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('description'); ?>
|
||||
<?php echo $this->form->getInput('description'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('language'); ?>
|
||||
<?php echo $this->form->getInput('language'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('id'); ?>
|
||||
<?php echo $this->form->getInput('id'); ?></li>
|
||||
</ul>
|
||||
<div class="clr"> </div>
|
||||
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
<div class="col options-section">
|
||||
<?php echo JHtml::_('sliders.start', 'banner-sliders-' . $this->item->id, array('useCookie' => 1)); ?>
|
||||
|
||||
<?php echo JHtml::_('sliders.panel', JText::_('COM_BANNERS_GROUP_LABEL_PUBLISHING_DETAILS'), 'publishing-details'); ?>
|
||||
<fieldset class="panelform">
|
||||
<legend class="element-invisible"><?php echo JText::_('JGLOBAL_FIELDSET_PUBLISHING'); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset('publish') as $field) : ?>
|
||||
<li><?php echo $field->label; ?>
|
||||
<?php echo $field->input; ?></li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
|
||||
<?php echo JHtml::_('sliders.panel', JText::_('JGLOBAL_FIELDSET_METADATA_OPTIONS'), 'metadata'); ?>
|
||||
<fieldset class="panelform">
|
||||
<legend class="element-invisible"><?php echo JText::_('JGLOBAL_FIELDSET_METADATA_OPTIONS'); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset('metadata') as $field) : ?>
|
||||
<li><?php echo $field->label; ?>
|
||||
<?php echo $field->input; ?></li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
|
||||
<?php echo JHtml::_('sliders.end'); ?>
|
||||
<input type="hidden" name="task" value="" />
|
||||
<?php echo JHtml::_('form.token'); ?>
|
||||
</div>
|
||||
|
||||
<div class="clr"></div>
|
||||
</form>
|
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
@ -0,0 +1,228 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @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;
|
||||
|
||||
JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
|
||||
|
||||
JHtml::_('behavior.multiselect');
|
||||
JHtml::_('behavior.modal');
|
||||
|
||||
$user = JFactory::getUser();
|
||||
$userId = $user->get('id');
|
||||
$listOrder = $this->escape($this->state->get('list.ordering'));
|
||||
$listDirn = $this->escape($this->state->get('list.direction'));
|
||||
$canOrder = $user->authorise('core.edit.state', 'com_banners.category');
|
||||
$saveOrder = $listOrder == 'ordering';
|
||||
?>
|
||||
<form action="<?php echo JRoute::_('index.php?option=com_banners&view=banners'); ?>" method="post" name="adminForm" id="adminForm">
|
||||
<?php if (!empty( $this->sidebar)) : ?>
|
||||
<div id="j-sidebar-container" class="span2">
|
||||
<?php echo $this->sidebar; ?>
|
||||
</div>
|
||||
<div id="j-main-container" class="span10">
|
||||
<?php else : ?>
|
||||
<div id="j-main-container">
|
||||
<?php endif;?>
|
||||
<fieldset id="filter-bar">
|
||||
<legend class="element-invisible"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?></legend>
|
||||
<div class="filter-search">
|
||||
<label class="filter-search-lbl" for="filter_search"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?></label>
|
||||
<input type="text" name="filter_search" id="filter_search" value="<?php echo $this->escape($this->state->get('filter.search')); ?>" title="<?php echo JText::_('Banners_Search_in_title'); ?>" />
|
||||
<button type="submit"><?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button>
|
||||
<button type="button" onclick="document.id('filter_search').value='';this.form.submit();"><?php echo JText::_('JSEARCH_FILTER_CLEAR'); ?></button>
|
||||
</div>
|
||||
|
||||
<div class="filter-select">
|
||||
<label class="selectlabel" for="filter_state">
|
||||
<?php echo JText::_('JOPTION_SELECT_PUBLISHED'); ?>
|
||||
</label>
|
||||
<select name="filter_state" class="inputbox" id="filter_state">
|
||||
<option value=""><?php echo JText::_('JOPTION_SELECT_PUBLISHED');?></option>
|
||||
<?php echo JHtml::_('select.options', JHtml::_('jgrid.publishedOptions'), 'value', 'text', $this->state->get('filter.state'), true);?>
|
||||
</select>
|
||||
|
||||
<label class="selectlabel" for="filter_client_id">
|
||||
<?php echo JText::_('COM_BANNERS_SELECT_CLIENT'); ?>
|
||||
</label>
|
||||
<select name="filter_client_id" class="inputbox" id="filter_client_id">
|
||||
<option value=""><?php echo JText::_('COM_BANNERS_SELECT_CLIENT');?></option>
|
||||
<?php echo JHtml::_('select.options', BannersHelper::getClientOptions(), 'value', 'text', $this->state->get('filter.client_id'));?>
|
||||
</select>
|
||||
|
||||
<label class="selectlabel" for="filter_category_id">
|
||||
<?php echo JText::_('JOPTION_SELECT_CATEGORY'); ?>
|
||||
</label>
|
||||
<select name="filter_category_id" class="inputbox" id="filter_category_id">
|
||||
<option value=""><?php echo JText::_('JOPTION_SELECT_CATEGORY');?></option>
|
||||
<?php echo JHtml::_('select.options', JHtml::_('category.options', 'com_banners'), 'value', 'text', $this->state->get('filter.category_id'));?>
|
||||
</select>
|
||||
|
||||
<label class="selectlabel" for="filter_language">
|
||||
<?php echo JText::_('JOPTION_SELECT_LANGUAGE'); ?>
|
||||
</label>
|
||||
<select name="filter_language" class="inputbox" id="filter_language">
|
||||
<option value=""><?php echo JText::_('JOPTION_SELECT_LANGUAGE');?></option>
|
||||
<?php echo JHtml::_('select.options', JHtml::_('contentlanguage.existing', true, true), 'value', 'text', $this->state->get('filter.language'));?>
|
||||
</select>
|
||||
|
||||
<button type="submit" id="filter-go">
|
||||
<?php echo JText::_('JSUBMIT'); ?></button>
|
||||
</div>
|
||||
</fieldset>
|
||||
<div class="clr"> </div>
|
||||
|
||||
<table class="adminlist">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="checkmark-col">
|
||||
<input type="checkbox" name="checkall-toggle" value="" title="<?php echo JText::_('JGLOBAL_CHECK_ALL'); ?>" onclick="Joomla.checkAll(this)" />
|
||||
</th>
|
||||
<th class="title">
|
||||
<?php echo JHtml::_('grid.sort', 'COM_BANNERS_HEADING_NAME', 'name', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="nowrap state-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JSTATUS', 'state', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="nowrap width-5">
|
||||
<?php echo JHtml::_('grid.sort', 'COM_BANNERS_HEADING_STICKY', 'sticky', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="nowrap width-10">
|
||||
<?php echo JHtml::_('grid.sort', 'COM_BANNERS_HEADING_CLIENT', 'client_name', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="nowrap title category-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JCATEGORY', 'category_title', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="nowrap ordering-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ORDERING', 'ordering', $listDirn, $listOrder); ?>
|
||||
<?php if ($canOrder && $saveOrder) : ?>
|
||||
<?php echo JHtml::_('grid.order', $this->items, 'filesave.png', 'banners.saveorder'); ?>
|
||||
<?php endif;?>
|
||||
</th>
|
||||
<th class="nowrap width-5">
|
||||
<?php echo JHtml::_('grid.sort', 'COM_BANNERS_HEADING_IMPRESSIONS', 'impmade', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="nowrap width-10">
|
||||
<?php echo JHtml::_('grid.sort', 'COM_BANNERS_HEADING_CLICKS', 'clicks', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="nowrap width-5">
|
||||
<?php echo JText::_('COM_BANNERS_HEADING_METAKEYWORDS'); ?>
|
||||
</th>
|
||||
<th class="width-10">
|
||||
<?php echo JText::_('COM_BANNERS_HEADING_PURCHASETYPE'); ?>
|
||||
</th>
|
||||
<th class="language-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JGRID_HEADING_LANGUAGE', 'a.language', $this->state->get('list.direction'), $this->state->get('list.ordering')); ?>
|
||||
</th>
|
||||
<th class="nowrap id-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ID', 'id', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<?php foreach ($this->items as $i => $item) :
|
||||
$ordering = ($listOrder == 'ordering');
|
||||
$item->cat_link = JRoute::_('index.php?option=com_categories&extension=com_banners&task=edit&type=other&cid[]=' . $item->catid);
|
||||
$canCreate = $user->authorise('core.create', 'com_banners.category.' . $item->catid);
|
||||
$canEdit = $user->authorise('core.edit', 'com_banners.category.' . $item->catid);
|
||||
$canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $userId || $item->checked_out == 0;
|
||||
$canChange = $user->authorise('core.edit.state', 'com_banners.category.' . $item->catid) && $canCheckin;
|
||||
?>
|
||||
<tr class="row<?php echo $i % 2; ?>">
|
||||
<td>
|
||||
<?php echo JHtml::_('grid.id', $i, $item->id); ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php if ($item->checked_out) : ?>
|
||||
<?php echo JHtml::_('jgrid.checkedout', $i, $item->editor, $item->checked_out_time, 'banners.', $canCheckin); ?>
|
||||
<?php endif; ?>
|
||||
<?php if ($canEdit) : ?>
|
||||
<a href="<?php echo JRoute::_('index.php?option=com_banners&task=banner.edit&id='.(int) $item->id); ?>">
|
||||
<?php echo $this->escape($item->name); ?></a>
|
||||
<?php else : ?>
|
||||
<?php echo $this->escape($item->name); ?>
|
||||
<?php endif; ?>
|
||||
<p class="smallsub">
|
||||
<?php echo JText::sprintf('JGLOBAL_LIST_ALIAS', $this->escape($item->alias));?></p>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php echo JHtml::_('jgrid.published', $item->state, $i, 'banners.', $canChange, 'cb', $item->publish_up, $item->publish_down); ?>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php echo JHtml::_('banner.pinned', $item->sticky, $i, $canChange);?>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php echo $item->client_name;?>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php echo $this->escape($item->category_title); ?>
|
||||
</td>
|
||||
<td class="order">
|
||||
<?php if ($canChange) : ?>
|
||||
<?php if ($saveOrder) : ?>
|
||||
<?php if ($listDirn == 'asc') : ?>
|
||||
<span><?php echo $this->pagination->orderUpIcon($i, (@$this->items[$i - 1]->catid == $item->catid), 'banners.orderup', 'JLIB_HTML_MOVE_UP', $ordering); ?></span>
|
||||
<span><?php echo $this->pagination->orderDownIcon($i, $this->pagination->total, (@$this->items[$i + 1]->catid == $item->catid), 'banners.orderdown', 'JLIB_HTML_MOVE_DOWN', $ordering); ?></span>
|
||||
<?php elseif ($listDirn == 'desc') : ?>
|
||||
<span><?php echo $this->pagination->orderUpIcon($i, (@$this->items[$i - 1]->catid == $item->catid), 'banners.orderdown', 'JLIB_HTML_MOVE_UP', $ordering); ?></span>
|
||||
<span><?php echo $this->pagination->orderDownIcon($i, $this->pagination->total, (@$this->items[$i + 1]->catid == $item->catid), 'banners.orderup', 'JLIB_HTML_MOVE_DOWN', $ordering); ?></span>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php $disabled = $saveOrder ? '' : 'disabled="disabled"'; ?>
|
||||
<input type="text" name="order[]" value="<?php echo $item->ordering;?>" <?php echo $disabled; ?> class="text-area-order" title="<?php echo $item->name; ?> order" />
|
||||
<?php else : ?>
|
||||
<?php echo $item->ordering; ?>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php echo JText::sprintf('COM_BANNERS_IMPRESSIONS', $item->impmade, $item->imptotal ? $item->imptotal : JText::_('COM_BANNERS_UNLIMITED'));?>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php echo $item->clicks;?> -
|
||||
<?php echo sprintf('%.2f%%', $item->impmade ? 100 * $item->clicks / $item->impmade : 0);?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo $item->metakey; ?>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php if ($item->purchase_type < 0):?>
|
||||
<?php echo JText::sprintf('COM_BANNERS_DEFAULT', ($item->client_purchase_type > 0) ? JText::_('COM_BANNERS_FIELD_VALUE_'.$item->client_purchase_type) : JText::_('COM_BANNERS_FIELD_VALUE_'.$this->state->params->get('purchase_type')));?>
|
||||
<?php else:?>
|
||||
<?php echo JText::_('COM_BANNERS_FIELD_VALUE_'.$item->purchase_type);?>
|
||||
<?php endif;?>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php if ($item->language == '*'):?>
|
||||
<?php echo JText::alt('JALL', 'language'); ?>
|
||||
<?php else:?>
|
||||
<?php echo $item->language_title ? $this->escape($item->language_title) : JText::_('JUNDEFINED'); ?>
|
||||
<?php endif;?>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php echo $item->id; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<?php echo $this->pagination->getListFooter(); ?>
|
||||
<div class="clr"> </div>
|
||||
|
||||
<?php //Load the batch processing form. ?>
|
||||
<?php echo $this->loadTemplate('batch'); ?>
|
||||
|
||||
<input type="hidden" name="task" value="" />
|
||||
<input type="hidden" name="boxchecked" value="0" />
|
||||
<input type="hidden" name="filter_order" value="<?php echo $listOrder; ?>" />
|
||||
<input type="hidden" name="filter_order_Dir" value="<?php echo $listDirn; ?>" />
|
||||
<?php echo JHtml::_('form.token'); ?>
|
||||
</div>
|
||||
</form>
|
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
101
administrator/templates/hathor/html/com_banners/client/edit.php
Normal file
101
administrator/templates/hathor/html/com_banners/client/edit.php
Normal file
@ -0,0 +1,101 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @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;
|
||||
|
||||
JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
|
||||
|
||||
JHtml::_('behavior.formvalidation');
|
||||
$canDo = BannersHelper::getActions();
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
Joomla.submitbutton = function(task)
|
||||
{
|
||||
if (task == 'client.cancel' || document.formvalidator.isValid(document.id('client-form')))
|
||||
{
|
||||
Joomla.submitform(task, document.getElementById('client-form'));
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<form action="<?php echo JRoute::_('index.php?option=com_banners&layout=edit&id='.(int) $this->item->id); ?>" method="post" name="adminForm" id="client-form" class="form-validate">
|
||||
|
||||
<div class="col main-section">
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo empty($this->item->id) ? JText::_('COM_BANNERS_NEW_CLIENT') : JText::sprintf('COM_BANNERS_EDIT_CLIENT', $this->item->id); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<li><?php echo $this->form->getLabel('name'); ?>
|
||||
<?php echo $this->form->getInput('name'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('contact'); ?>
|
||||
<?php echo $this->form->getInput('contact'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('email'); ?>
|
||||
<?php echo $this->form->getInput('email'); ?></li>
|
||||
|
||||
<?php if ($canDo->get('core.edit.state')) : ?>
|
||||
<li><?php echo $this->form->getLabel('state'); ?>
|
||||
<?php echo $this->form->getInput('state'); ?></li>
|
||||
<?php endif; ?>
|
||||
|
||||
<li><?php echo $this->form->getLabel('purchase_type'); ?>
|
||||
<?php echo $this->form->getInput('purchase_type'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('track_impressions'); ?>
|
||||
<?php echo $this->form->getInput('track_impressions'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('track_clicks'); ?>
|
||||
<?php echo $this->form->getInput('track_clicks'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('id'); ?>
|
||||
<?php echo $this->form->getInput('id'); ?></li>
|
||||
</ul>
|
||||
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
<div class="col options-section">
|
||||
<?php echo JHtml::_('sliders.start', 'banner-client-sliders-' . $this->item->id, array('useCookie' => 1)); ?>
|
||||
|
||||
<?php echo JHtml::_('sliders.panel', JText::_('JGLOBAL_FIELDSET_METADATA_OPTIONS'), 'metadata'); ?>
|
||||
<fieldset class="panelform">
|
||||
<legend class="element-invisible"><?php echo JText::_('JGLOBAL_FIELDSET_METADATA_OPTIONS'); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset('metadata') as $field) : ?>
|
||||
<li>
|
||||
<?php if (!$field->hidden) : ?>
|
||||
<?php echo $field->label; ?>
|
||||
<?php endif; ?>
|
||||
<?php echo $field->input; ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
|
||||
<?php echo JHtml::_('sliders.panel', JText::_('COM_BANNERS_EXTRA'), 'extra'); ?>
|
||||
<fieldset class="panelform">
|
||||
<legend class="element-invisible"><?php echo JText::_('COM_BANNERS_EXTRA'); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset('extra') as $field) : ?>
|
||||
<li><?php if (!$field->hidden) : ?>
|
||||
<?php echo $field->label; ?>
|
||||
<?php endif; ?>
|
||||
<?php echo $field->input; ?></li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
|
||||
<?php echo JHtml::_('sliders.end'); ?>
|
||||
|
||||
<input type="hidden" name="task" value="" />
|
||||
<?php echo JHtml::_('form.token'); ?>
|
||||
</div>
|
||||
|
||||
<div class="clr"></div>
|
||||
</form>
|
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
@ -0,0 +1,143 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @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;
|
||||
|
||||
JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
|
||||
|
||||
JHtml::_('behavior.multiselect');
|
||||
|
||||
$user = JFactory::getUser();
|
||||
$userId = $user->get('id');
|
||||
$listOrder = $this->escape($this->state->get('list.ordering'));
|
||||
$listDirn = $this->escape($this->state->get('list.direction'));
|
||||
?>
|
||||
|
||||
<form action="<?php echo JRoute::_('index.php?option=com_banners&view=clients'); ?>" method="post" name="adminForm" id="adminForm">
|
||||
<?php if (!empty( $this->sidebar)) : ?>
|
||||
<div id="j-sidebar-container" class="span2">
|
||||
<?php echo $this->sidebar; ?>
|
||||
</div>
|
||||
<div id="j-main-container" class="span10">
|
||||
<?php else : ?>
|
||||
<div id="j-main-container">
|
||||
<?php endif;?>
|
||||
<fieldset id="filter-bar">
|
||||
<legend class="element-invisible"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?></legend>
|
||||
<div class="filter-search">
|
||||
<label class="filter-search-lbl" for="filter_search"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?></label>
|
||||
<input type="text" name="filter_search" id="filter_search" value="<?php echo $this->escape($this->state->get('filter.search')); ?>" title="<?php echo JText::_('COM_BANNERS_SEARCH_IN_TITLE'); ?>" />
|
||||
<button type="submit"><?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button>
|
||||
<button type="button" onclick="document.id('filter_search').value='';this.form.submit();"><?php echo JText::_('JSEARCH_FILTER_CLEAR'); ?></button>
|
||||
</div>
|
||||
|
||||
<div class="filter-select">
|
||||
<label class="selectlabel" for="filter_state">
|
||||
<?php echo JText::_('JOPTION_SELECT_PUBLISHED'); ?>
|
||||
</label>
|
||||
<select name="filter_state" class="inputbox" id="filter_state">
|
||||
<option value=""><?php echo JText::_('JOPTION_SELECT_PUBLISHED');?></option>
|
||||
<?php echo JHtml::_('select.options', JHtml::_('jgrid.publishedOptions'), 'value', 'text', $this->state->get('filter.state'), true);?>
|
||||
</select>
|
||||
|
||||
<button type="submit" id="filter-go">
|
||||
<?php echo JText::_('JSUBMIT'); ?></button>
|
||||
</div>
|
||||
</fieldset>
|
||||
<div class="clr"> </div>
|
||||
|
||||
<table class="adminlist">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="checkmark-col">
|
||||
<input type="checkbox" name="checkall-toggle" value="" title="<?php echo JText::_('JGLOBAL_CHECK_ALL'); ?>" onclick="Joomla.checkAll(this)" />
|
||||
</th>
|
||||
<th>
|
||||
<?php echo JHtml::_('grid.sort', 'COM_BANNERS_HEADING_CLIENT', 'name', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="width-30">
|
||||
<?php echo JHtml::_('grid.sort', 'COM_BANNERS_HEADING_CONTACT', 'contact', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="nowrap state-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JSTATUS', 'state', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="width-5">
|
||||
<?php echo JHtml::_('grid.sort', 'COM_BANNERS_HEADING_ACTIVE', 'nbanners', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="nowrap width-5">
|
||||
<?php echo JText::_('COM_BANNERS_HEADING_METAKEYWORDS'); ?>
|
||||
</th>
|
||||
<th class="width-10">
|
||||
<?php echo JText::_('COM_BANNERS_HEADING_PURCHASETYPE'); ?>
|
||||
</th>
|
||||
<th class="nowrap id-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ID', 'id', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<?php foreach ($this->items as $i => $item) :
|
||||
$ordering = ($listOrder == 'ordering');
|
||||
$canCreate = $user->authorise('core.create', 'com_banners');
|
||||
$canEdit = $user->authorise('core.edit', 'com_banners');
|
||||
$canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $user->get('id') || $item->checked_out == 0;
|
||||
$canChange = $user->authorise('core.edit.state', 'com_banners') && $canCheckin;
|
||||
?>
|
||||
<tr class="row<?php echo $i % 2; ?>">
|
||||
<td class="center">
|
||||
<?php echo JHtml::_('grid.id', $i, $item->id); ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php if ($item->checked_out) : ?>
|
||||
<?php echo JHtml::_('jgrid.checkedout', $i, $item->editor, $item->checked_out_time, 'clients.', $canCheckin); ?>
|
||||
<?php endif; ?>
|
||||
<?php if ($canEdit) : ?>
|
||||
<a href="<?php echo JRoute::_('index.php?option=com_banners&task=client.edit&id='.(int) $item->id); ?>">
|
||||
<?php echo $this->escape($item->name); ?></a>
|
||||
<?php else : ?>
|
||||
<?php echo $this->escape($item->name); ?>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php echo $item->contact;?>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php echo JHtml::_('jgrid.published', $item->state, $i, 'clients.', $canChange);?>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php echo $item->nbanners; ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo $item->metakey; ?>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php if ($item->purchase_type < 0):?>
|
||||
<?php echo JText::sprintf('COM_BANNERS_DEFAULT', JText::_('COM_BANNERS_FIELD_VALUE_'.$this->state->params->get('purchase_type')));?>
|
||||
<?php else:?>
|
||||
<?php echo JText::_('COM_BANNERS_FIELD_VALUE_'.$item->purchase_type);?>
|
||||
<?php endif;?>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php echo $item->id; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<?php echo $this->pagination->getListFooter(); ?>
|
||||
|
||||
<input type="hidden" name="task" value="" />
|
||||
<input type="hidden" name="boxchecked" value="0" />
|
||||
<input type="hidden" name="filter_order" value="<?php echo $listOrder; ?>" />
|
||||
<input type="hidden" name="filter_order_Dir" value="<?php echo $listDirn; ?>" />
|
||||
<?php echo JHtml::_('form.token'); ?>
|
||||
</div>
|
||||
</form>
|
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
@ -0,0 +1,130 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @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;
|
||||
|
||||
JHtml::addIncludePath(JPATH_COMPONENT . '/helpers/html');
|
||||
|
||||
JHtml::_('behavior.multiselect');
|
||||
JHtml::_('behavior.modal', 'a.modal');
|
||||
|
||||
$user = JFactory::getUser();
|
||||
$userId = $user->get('id');
|
||||
$listOrder = $this->escape($this->state->get('list.ordering'));
|
||||
$listDirn = $this->escape($this->state->get('list.direction'));
|
||||
?>
|
||||
<form action="<?php echo JRoute::_('index.php?option=com_banners&view=tracks'); ?>" method="post" name="adminForm" id="adminForm">
|
||||
<?php if (!empty( $this->sidebar)) : ?>
|
||||
<div id="j-sidebar-container" class="span2">
|
||||
<?php echo $this->sidebar; ?>
|
||||
</div>
|
||||
<div id="j-main-container" class="span10">
|
||||
<?php else : ?>
|
||||
<div id="j-main-container">
|
||||
<?php endif;?>
|
||||
<fieldset id="filter-bar">
|
||||
<legend class="element-invisible"><?php echo JText::_('COM_BANNERS_BEGIN_LABEL'); ?></legend>
|
||||
<div class="filter-search">
|
||||
<label class="filter-hide-lbl" for="filter_begin"><?php echo JText::_('COM_BANNERS_BEGIN_LABEL'); ?></label>
|
||||
<?php echo JHtml::_('calendar', $this->state->get('filter.begin'), 'filter_begin', 'filter_begin', '%Y-%m-%d', array('size' => 10));?>
|
||||
|
||||
<label class="filter-hide-lbl" for="filter_end"><?php echo JText::_('COM_BANNERS_END_LABEL'); ?></label>
|
||||
<?php echo JHtml::_('calendar', $this->state->get('filter.end'), 'filter_end', 'filter_end', '%Y-%m-%d', array('size' => 10));?>
|
||||
</div>
|
||||
|
||||
<div class="filter-select">
|
||||
<label class="selectlabel" for="filter_client_id">
|
||||
<?php echo JText::_('COM_BANNERS_SELECT_CLIENT'); ?>
|
||||
</label>
|
||||
<select name="filter_client_id" class="inputbox" id="filter_client_id">
|
||||
<option value=""><?php echo JText::_('COM_BANNERS_SELECT_CLIENT');?></option>
|
||||
<?php echo JHtml::_('select.options', BannersHelper::getClientOptions(), 'value', 'text', $this->state->get('filter.client_id'));?>
|
||||
</select>
|
||||
|
||||
<label class="selectlabel" for="filter_category_id">
|
||||
<?php echo JText::_('JOPTION_SELECT_CATEGORY'); ?>
|
||||
</label>
|
||||
<?php $category = $this->state->get('filter.category_id');?>
|
||||
<select name="filter_category_id" class="inputbox" id="filter_category_id">
|
||||
<option value=""><?php echo JText::_('JOPTION_SELECT_CATEGORY');?></option>
|
||||
<?php echo JHtml::_('select.options', JHtml::_('category.options', 'com_banners'), 'value', 'text', $category);?>
|
||||
</select>
|
||||
|
||||
<label class="selectlabel" for="filter_type">
|
||||
<?php echo JText::_('BANNERS_SELECT_TYPE'); ?>
|
||||
</label>
|
||||
<select name="filter_type" class="inputbox" id="filter_type">
|
||||
<?php echo JHtml::_('select.options', array(JHtml::_('select.option', '0', JText::_('COM_BANNERS_SELECT_TYPE')), JHtml::_('select.option', 1, JText::_('COM_BANNERS_IMPRESSION')), JHtml::_('select.option', 2, JText::_('COM_BANNERS_CLICK'))), 'value', 'text', $this->state->get('filter.type'));?>
|
||||
</select>
|
||||
|
||||
<button type="submit" id="filter-go">
|
||||
<?php echo JText::_('JSUBMIT'); ?></button>
|
||||
</div>
|
||||
</fieldset>
|
||||
<div class="clr"> </div>
|
||||
|
||||
<table class="adminlist">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="title">
|
||||
<?php echo JHtml::_('grid.sort', 'COM_BANNERS_HEADING_NAME', 'name', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="nowrap width-20">
|
||||
<?php echo JHtml::_('grid.sort', 'COM_BANNERS_HEADING_CLIENT', 'client_name', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="width-20">
|
||||
<?php echo JHtml::_('grid.sort', 'JCATEGORY', 'category_title', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="nowrap width-10">
|
||||
<?php echo JHtml::_('grid.sort', 'COM_BANNERS_HEADING_TYPE', 'track_type', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="nowrap width-10">
|
||||
<?php echo JHtml::_('grid.sort', 'COM_BANNERS_HEADING_COUNT', 'count', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="nowrap width-10">
|
||||
<?php echo JHtml::_('grid.sort', 'JDATE', 'track_date', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<?php foreach ($this->items as $i => $item) :?>
|
||||
<tr class="row<?php echo $i % 2; ?>">
|
||||
<td>
|
||||
<?php echo $item->name;?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo $item->client_name;?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo $item->category_title;?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo $item->track_type == 1 ? JText::_('COM_BANNERS_IMPRESSION'): JText::_('COM_BANNERS_CLICK');?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo $item->count;?>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo JHtml::_('date', $item->track_date, JText::_('DATE_FORMAT_LC4').' H:i');?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<?php echo $this->pagination->getListFooter(); ?>
|
||||
|
||||
<input type="hidden" name="task" value="" />
|
||||
<input type="hidden" name="boxchecked" value="0" />
|
||||
<input type="hidden" name="filter_order" value="<?php echo $listOrder; ?>" />
|
||||
<input type="hidden" name="filter_order_Dir" value="<?php echo $listDirn; ?>" />
|
||||
<?php echo JHtml::_('form.token'); ?>
|
||||
</div>
|
||||
</form>
|
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
91
administrator/templates/hathor/html/com_cache/cache/default.php
vendored
Normal file
91
administrator/templates/hathor/html/com_cache/cache/default.php
vendored
Normal file
@ -0,0 +1,91 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @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;
|
||||
|
||||
$listOrder = $this->escape($this->state->get('list.ordering'));
|
||||
$listDirn = $this->escape($this->state->get('list.direction'));
|
||||
?>
|
||||
|
||||
<form action="<?php echo JRoute::_('index.php?option=com_cache'); ?>" method="post" name="adminForm" id="adminForm">
|
||||
<?php if (!empty( $this->sidebar)) : ?>
|
||||
<div id="j-sidebar-container" class="span2">
|
||||
<?php echo $this->sidebar; ?>
|
||||
</div>
|
||||
<div id="j-main-container" class="span10">
|
||||
<?php else : ?>
|
||||
<div id="j-main-container">
|
||||
<?php endif;?>
|
||||
<fieldset id="filter-bar">
|
||||
<legend class="element-invisible"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?></legend>
|
||||
<div class="filter-select fltrt">
|
||||
<label class="selectlabel" for="filter_client_id">
|
||||
<?php echo JText::_('COM_CACHE_SELECT_CLIENT'); ?>
|
||||
</label>
|
||||
<select name="filter_client_id" class="inputbox" id="filter_client_id">
|
||||
<?php echo JHtml::_('select.options', CacheHelper::getClientOptions(), 'value', 'text', $this->state->get('clientId'));?>
|
||||
</select>
|
||||
|
||||
<button type="submit" id="filter-go">
|
||||
<?php echo JText::_('JSUBMIT'); ?></button>
|
||||
</div>
|
||||
</fieldset>
|
||||
<div class="clr"> </div>
|
||||
<table class="adminlist">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="checkmark-col">
|
||||
<input type="checkbox" name="checkall-toggle" value="" title="<?php echo JText::_('JGLOBAL_CHECK_ALL'); ?>" onclick="Joomla.checkAll(this)" />
|
||||
</th>
|
||||
<th class="title nowrap">
|
||||
<?php echo JHtml::_('grid.sort', 'COM_CACHE_GROUP', 'group', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="width-5 center nowrap">
|
||||
<?php echo JHtml::_('grid.sort', 'COM_CACHE_NUMBER_OF_FILES', 'count', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="width-10 center">
|
||||
<?php echo JHtml::_('grid.sort', 'COM_CACHE_SIZE', 'size', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<?php
|
||||
$i = 0;
|
||||
foreach ($this->data as $folder => $item) : ?>
|
||||
<tr class="row<?php echo $i % 2; ?>">
|
||||
<td>
|
||||
<input type="checkbox" id="cb<?php echo $i;?>" name="cid[]" value="<?php echo $item->group; ?>" onclick="Joomla.isChecked(this.checked);" />
|
||||
</td>
|
||||
<td>
|
||||
<span class="bold">
|
||||
<?php echo $item->group; ?>
|
||||
</span>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php echo $item->count; ?>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php echo JHtml::_('number.bytes', $item->size*1024); ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php $i++; endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<?php echo $this->pagination->getListFooter(); ?>
|
||||
|
||||
<input type="hidden" name="task" value="" />
|
||||
<input type="hidden" name="boxchecked" value="0" />
|
||||
<input type="hidden" name="client" value="<?php echo $this->client->id;?>" />
|
||||
<input type="hidden" name="filter_order" value="<?php echo $listOrder; ?>" />
|
||||
<input type="hidden" name="filter_order_Dir" value="<?php echo $listDirn; ?>" />
|
||||
<?php echo JHtml::_('form.token'); ?>
|
||||
</div>
|
||||
</form>
|
1
administrator/templates/hathor/html/com_cache/cache/index.html
vendored
Normal file
1
administrator/templates/hathor/html/com_cache/cache/index.html
vendored
Normal file
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
1
administrator/templates/hathor/html/com_cache/index.html
Normal file
1
administrator/templates/hathor/html/com_cache/index.html
Normal file
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
@ -0,0 +1,45 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage com_cache
|
||||
*
|
||||
* @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;
|
||||
?>
|
||||
|
||||
<form action="<?php echo JRoute::_('index.php?option=com_cache'); ?>" method="post" name="adminForm" id="adminForm">
|
||||
<?php if (!empty( $this->sidebar)) : ?>
|
||||
<div id="j-sidebar-container" class="span2">
|
||||
<?php echo $this->sidebar; ?>
|
||||
</div>
|
||||
<div id="j-main-container" class="span10">
|
||||
<?php else : ?>
|
||||
<div id="j-main-container">
|
||||
<?php endif;?>
|
||||
<table class="adminlist">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>
|
||||
<?php echo JText::_('COM_CACHE_PURGE_EXPIRED_ITEMS'); ?>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<p class="mod-purge-instruct"><?php echo JText::_('COM_CACHE_PURGE_INSTRUCTIONS'); ?></p>
|
||||
<p class="warning"><?php echo JText::_('COM_CACHE_RESOURCE_INTENSIVE_WARNING'); ?></p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div>
|
||||
<input type="hidden" name="task" value="" />
|
||||
<?php echo JHtml::_('form.token'); ?>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
@ -0,0 +1,202 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @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 the component HTML helpers.
|
||||
JHtml::addIncludePath(JPATH_COMPONENT . '/helpers/html');
|
||||
|
||||
JHtml::_('behavior.multiselect');
|
||||
JHtml::_('behavior.modal');
|
||||
|
||||
$app = JFactory::getApplication();
|
||||
$user = JFactory::getUser();
|
||||
$userId = $user->get('id');
|
||||
$extension = $this->escape($this->state->get('filter.extension'));
|
||||
$listOrder = $this->escape($this->state->get('list.ordering'));
|
||||
$listDirn = $this->escape($this->state->get('list.direction'));
|
||||
$ordering = ($listOrder == 'a.lft');
|
||||
$saveOrder = ($listOrder == 'a.lft' && $listDirn == 'asc');
|
||||
$assoc = isset($app->item_associations) ? $app->item_associations : 0;
|
||||
?>
|
||||
<div class="categories">
|
||||
<form action="<?php echo JRoute::_('index.php?option=com_categories&view=categories'); ?>" method="post" name="adminForm" id="adminForm">
|
||||
<?php if (!empty($this->sidebar)) : ?>
|
||||
<div id="j-sidebar-container" class="span2">
|
||||
<?php echo $this->sidebar; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<div id="j-main-container"<?php echo !empty($this->sidebar) ? ' class="span10"' : ''; ?>>
|
||||
<fieldset id="filter-bar">
|
||||
<legend class="element-invisible"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?></legend>
|
||||
<div class="filter-search">
|
||||
<label class="filter-search-lbl" for="filter_search"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?></label>
|
||||
<input type="text" name="filter_search" id="filter_search" value="<?php echo $this->escape($this->state->get('filter.search')); ?>" title="<?php echo JText::_('COM_CATEGORIES_ITEMS_SEARCH_FILTER'); ?>" />
|
||||
|
||||
<button type="submit"><?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button>
|
||||
<button type="button" onclick="document.id('filter_search').value='';this.form.submit();"><?php echo JText::_('JSEARCH_FILTER_CLEAR'); ?></button>
|
||||
</div>
|
||||
|
||||
<div class="filter-select">
|
||||
<label class="selectlabel" for="filter_level"><?php echo JText::_('JOPTION_SELECT_MAX_LEVELS'); ?></label>
|
||||
<select name="filter_level" class="inputbox" id="filter_level">
|
||||
<option value=""><?php echo JText::_('JOPTION_SELECT_MAX_LEVELS'); ?></option>
|
||||
<?php echo JHtml::_('select.options', $this->f_levels, 'value', 'text', $this->state->get('filter.level')); ?>
|
||||
</select>
|
||||
|
||||
<label class="selectlabel" for="filter_published"><?php echo JText::_('JOPTION_SELECT_PUBLISHED'); ?></label>
|
||||
<select name="filter_published" class="inputbox" id="filter_published">
|
||||
<option value=""><?php echo JText::_('JOPTION_SELECT_PUBLISHED'); ?></option>
|
||||
<?php echo JHtml::_('select.options', JHtml::_('jgrid.publishedOptions'), 'value', 'text', $this->state->get('filter.published'), true); ?>
|
||||
</select>
|
||||
|
||||
<label class="selectlabel" for="filter_access"><?php echo JText::_('JOPTION_SELECT_ACCESS'); ?></label>
|
||||
<select name="filter_access" class="inputbox" id="filter_access">
|
||||
<option value=""><?php echo JText::_('JOPTION_SELECT_ACCESS'); ?></option>
|
||||
<?php echo JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text', $this->state->get('filter.access')); ?>
|
||||
</select>
|
||||
|
||||
<label class="selectlabel" for="filter_language"><?php echo JText::_('JOPTION_SELECT_LANGUAGE'); ?></label>
|
||||
<select name="filter_language" class="inputbox" id="filter_language">
|
||||
<option value=""><?php echo JText::_('JOPTION_SELECT_LANGUAGE'); ?></option>
|
||||
<?php echo JHtml::_('select.options', JHtml::_('contentlanguage.existing', true, true), 'value', 'text', $this->state->get('filter.language')); ?>
|
||||
</select>
|
||||
|
||||
<button type="submit" id="filter-go">
|
||||
<?php echo JText::_('JSUBMIT'); ?></button>
|
||||
</div>
|
||||
</fieldset>
|
||||
<div class="clr"></div>
|
||||
|
||||
<table class="adminlist">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="checkmark-col">
|
||||
<input type="checkbox" name="checkall-toggle" value="" title="<?php echo JText::_('JGLOBAL_CHECK_ALL'); ?>" onclick="Joomla.checkAll(this)" />
|
||||
</th>
|
||||
<th class="title">
|
||||
<?php echo JHtml::_('grid.sort', 'JGLOBAL_TITLE', 'a.title', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="nowrap state-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JSTATUS', 'a.published', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="nowrap ordering-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ORDERING', 'a.lft', $listDirn, $listOrder); ?>
|
||||
<?php if ($saveOrder) : ?>
|
||||
<?php echo JHtml::_('grid.order', $this->items, 'filesave.png', 'categories.saveorder'); ?>
|
||||
<?php endif; ?>
|
||||
</th>
|
||||
<th class="access-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ACCESS', 'access_level', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<?php if ($assoc) : ?>
|
||||
<th width="5%">
|
||||
<?php echo JHtml::_('grid.sort', 'COM_CATEGORY_HEADING_ASSOCIATION', 'association', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<?php endif; ?>
|
||||
<th class="language-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JGRID_HEADING_LANGUAGE', 'language', $this->state->get('list.direction'), $this->state->get('list.ordering')); ?>
|
||||
</th>
|
||||
<th class="nowrap id-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ID', 'a.id', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<?php $originalOrders = array(); ?>
|
||||
<?php foreach ($this->items as $i => $item) : ?>
|
||||
<?php
|
||||
$orderkey = array_search($item->id, $this->ordering[$item->parent_id]);
|
||||
$canEdit = $user->authorise('core.edit', $extension . '.category.' . $item->id);
|
||||
$canCheckin = $user->authorise('core.admin', 'com_checkin') || $item->checked_out == $userId || $item->checked_out == 0;
|
||||
$canEditOwn = $user->authorise('core.edit.own', $extension . '.category.' . $item->id) && $item->created_user_id == $userId;
|
||||
$canChange = $user->authorise('core.edit.state', $extension . '.category.' . $item->id) && $canCheckin;
|
||||
?>
|
||||
<tr class="row<?php echo $i % 2; ?>">
|
||||
<th class="center">
|
||||
<?php echo JHtml::_('grid.id', $i, $item->id); ?>
|
||||
</th>
|
||||
<td>
|
||||
<?php echo str_repeat('<span class="gi">|—</span>', $item->level - 1) ?>
|
||||
<?php if ($item->checked_out) : ?>
|
||||
<?php echo JHtml::_('jgrid.checkedout', $i, $item->editor, $item->checked_out_time, 'categories.', $canCheckin); ?>
|
||||
<?php endif; ?>
|
||||
<?php if ($canEdit || $canEditOwn) : ?>
|
||||
<a href="<?php echo JRoute::_('index.php?option=com_categories&task=category.edit&id=' . $item->id . '&extension=' . $extension); ?>">
|
||||
<?php echo $this->escape($item->title); ?></a>
|
||||
<?php else : ?>
|
||||
<?php echo $this->escape($item->title); ?>
|
||||
<?php endif; ?>
|
||||
<p class="smallsub" title="<?php echo $this->escape($item->path); ?>">
|
||||
<?php echo str_repeat('<span class="gtr">|—</span>', $item->level - 1) ?>
|
||||
<?php if (empty($item->note)) : ?>
|
||||
<?php echo JText::sprintf('JGLOBAL_LIST_ALIAS', $this->escape($item->alias)); ?>
|
||||
<?php else : ?>
|
||||
<?php echo JText::sprintf('JGLOBAL_LIST_ALIAS_NOTE', $this->escape($item->alias), $this->escape($item->note)); ?>
|
||||
<?php endif; ?></p>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php echo JHtml::_('jgrid.published', $item->published, $i, 'categories.', $canChange); ?>
|
||||
</td>
|
||||
<td class="order">
|
||||
<?php if ($canChange) : ?>
|
||||
<?php if ($saveOrder) : ?>
|
||||
<span><?php echo $this->pagination->orderUpIcon($i, isset($this->ordering[$item->parent_id][$orderkey - 1]), 'categories.orderup', 'JLIB_HTML_MOVE_UP', $ordering); ?></span>
|
||||
<span><?php echo $this->pagination->orderDownIcon($i, $this->pagination->total, isset($this->ordering[$item->parent_id][$orderkey + 1]), 'categories.orderdown', 'JLIB_HTML_MOVE_DOWN', $ordering); ?></span>
|
||||
<?php endif; ?>
|
||||
<?php $disabled = $saveOrder ? '' : 'disabled="disabled"'; ?>
|
||||
<input type="text" name="order[]" value="<?php echo $orderkey + 1; ?>" <?php echo $disabled ?> class="text-area-order" title="<?php echo $item->title; ?> order" />
|
||||
<?php $originalOrders[] = $orderkey + 1; ?>
|
||||
<?php else : ?>
|
||||
<?php echo $orderkey + 1; ?>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php echo $this->escape($item->access_level); ?>
|
||||
</td>
|
||||
<?php if ($assoc) : ?>
|
||||
<td class="center">
|
||||
<?php if ($item->association): ?>
|
||||
<?php echo JHtml::_('CategoriesAdministrator.association', $item->id, $extension); ?>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<?php endif; ?>
|
||||
<td class="center nowrap">
|
||||
<?php if ($item->language == '*'): ?>
|
||||
<?php echo JText::alt('JALL', 'language'); ?>
|
||||
<?php else: ?>
|
||||
<?php echo $item->language_title ? $this->escape($item->language_title) : JText::_('JUNDEFINED'); ?>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<td class="center">
|
||||
<span title="<?php echo sprintf('%d-%d', $item->lft, $item->rgt); ?>">
|
||||
<?php echo (int) $item->id; ?></span>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<?php echo $this->pagination->getListFooter(); ?>
|
||||
<div class="clr"></div>
|
||||
|
||||
<?php //Load the batch processing form. ?>
|
||||
<?php echo $this->loadTemplate('batch'); ?>
|
||||
|
||||
<input type="hidden" name="extension" value="<?php echo $extension; ?>" />
|
||||
<input type="hidden" name="task" value="" />
|
||||
<input type="hidden" name="boxchecked" value="0" />
|
||||
<input type="hidden" name="filter_order" value="<?php echo $listOrder; ?>" />
|
||||
<input type="hidden" name="filter_order_Dir" value="<?php echo $listDirn; ?>" />
|
||||
<input type="hidden" name="original_order_values" value="<?php echo implode($originalOrders, ','); ?>" />
|
||||
<?php echo JHtml::_('form.token'); ?>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
@ -0,0 +1,63 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage com_categories
|
||||
*
|
||||
* @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;
|
||||
|
||||
$options = array(
|
||||
JHtml::_('select.option', 'c', JText::_('JLIB_HTML_BATCH_COPY')),
|
||||
JHtml::_('select.option', 'm', JText::_('JLIB_HTML_BATCH_MOVE'))
|
||||
);
|
||||
$published = $this->state->get('filter.published');
|
||||
$extension = $this->escape($this->state->get('filter.extension'));
|
||||
?>
|
||||
<div class="modal hide fade" id="collapseModal">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal">x</button>
|
||||
<h3><?php echo JText::_('COM_CATEGORIES_BATCH_OPTIONS'); ?></h3>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p><?php echo JText::_('COM_CATEGORIES_BATCH_TIP'); ?></p>
|
||||
|
||||
<div class="control-group">
|
||||
<div class="controls">
|
||||
<?php echo JHtml::_('batch.access'); ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<div class="controls">
|
||||
<?php echo JHtml::_('batch.language'); ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php if ($published >= 0) : ?>
|
||||
<div class="control-group">
|
||||
<label id="batch-choose-action-lbl" for="batch-category-id" class="control-label">
|
||||
<?php echo JText::_('COM_CATEGORIES_BATCH_CATEGORY_LABEL'); ?>
|
||||
</label>
|
||||
|
||||
<div id="batch-choose-action" class="combo controls">
|
||||
<select name="batch[category_id]" class="inputbox" id="batch-category-id">
|
||||
<option value=""><?php echo JText::_('JSELECT') ?></option>
|
||||
<?php echo JHtml::_('select.options', JHtml::_('category.categories', $extension, array('filter.published' => $published))); ?>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group radio">
|
||||
<?php echo JHtml::_('select.radiolist', $options, 'batch[move_copy]', '', 'value', 'text', 'm'); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button class="btn" type="button" onclick="document.id('batch-category-id').value='';document.id('batch-access').value='';document.id('batch-language-id').value=''" data-dismiss="modal">
|
||||
<?php echo JText::_('JCANCEL'); ?>
|
||||
</button>
|
||||
<button class="btn btn-primary" type="submit" onclick="Joomla.submitbutton('category.batch');">
|
||||
<?php echo JText::_('JGLOBAL_BATCH_PROCESS'); ?>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
@ -0,0 +1,185 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @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 the component HTML helpers.
|
||||
JHtml::addIncludePath(JPATH_COMPONENT . '/helpers/html');
|
||||
|
||||
$input = JFactory::getApplication()->input;
|
||||
|
||||
JHtml::_('behavior.formvalidation');
|
||||
JHtml::_('behavior.keepalive');
|
||||
?>
|
||||
|
||||
<script type="text/javascript">
|
||||
Joomla.submitbutton = function(task)
|
||||
{
|
||||
if (task == 'category.cancel' || document.formvalidator.isValid(document.id('item-form'))) {
|
||||
<?php echo $this->form->getField('description')->save(); ?>
|
||||
Joomla.submitform(task, document.getElementById('item-form'));
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<div class="category-edit">
|
||||
<form action="<?php echo JRoute::_('index.php?option=com_categories&extension=' . $input->getCmd('extension', 'com_content') . '&layout=edit&id=' . (int) $this->item->id); ?>" method="post" name="adminForm" id="item-form" class="form-validate">
|
||||
<div class="col main-section">
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo JText::_('COM_CATEGORIES_FIELDSET_DETAILS'); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<li>
|
||||
<?php echo $this->form->getLabel('title'); ?>
|
||||
<?php echo $this->form->getInput('title'); ?>
|
||||
</li>
|
||||
<li>
|
||||
<?php echo $this->form->getLabel('alias'); ?>
|
||||
<?php echo $this->form->getInput('alias'); ?>
|
||||
</li>
|
||||
<li>
|
||||
<?php echo $this->form->getLabel('extension'); ?>
|
||||
<?php echo $this->form->getInput('extension'); ?>
|
||||
</li>
|
||||
<li>
|
||||
<?php echo $this->form->getLabel('parent_id'); ?>
|
||||
<?php echo $this->form->getInput('parent_id'); ?>
|
||||
</li>
|
||||
<li>
|
||||
<?php echo $this->form->getLabel('published'); ?>
|
||||
<?php echo $this->form->getInput('published'); ?>
|
||||
</li>
|
||||
<li>
|
||||
<?php echo $this->form->getLabel('access'); ?>
|
||||
<?php echo $this->form->getInput('access'); ?>
|
||||
</li>
|
||||
<?php if ($this->canDo->get('core.admin')) : ?>
|
||||
<li>
|
||||
<span class="faux-label"><?php echo JText::_('JGLOBAL_ACTION_PERMISSIONS_LABEL'); ?></span>
|
||||
<button type="button" onclick="document.location.href='#access-rules';">
|
||||
<?php echo JText::_('JGLOBAL_PERMISSIONS_ANCHOR'); ?></button>
|
||||
|
||||
</li>
|
||||
<?php endif; ?>
|
||||
<li>
|
||||
<?php echo $this->form->getLabel('language'); ?>
|
||||
<?php echo $this->form->getInput('language'); ?>
|
||||
</li>
|
||||
<!-- Tag field -->
|
||||
<li>
|
||||
<?php if ($this->checkTags) : ?>
|
||||
<?php echo $this->form->getLabel('tags'); ?>
|
||||
<div class="is-tagbox">
|
||||
<?php echo $this->form->getInput('tags'); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</li>
|
||||
<li>
|
||||
<?php echo $this->form->getLabel('id'); ?>
|
||||
<?php echo $this->form->getInput('id'); ?>
|
||||
</li>
|
||||
<li>
|
||||
<?php echo $this->form->getLabel('hits'); ?>
|
||||
<?php echo $this->form->getInput('hits'); ?>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div class="clr"></div>
|
||||
<?php echo $this->form->getLabel('description'); ?>
|
||||
<div class="clr"></div>
|
||||
<?php echo $this->form->getInput('description'); ?>
|
||||
<div class="clr"></div>
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
<div class="col options-section">
|
||||
|
||||
<?php echo JHtml::_('sliders.start', 'categories-sliders-' . $this->item->id, array('useCookie' => 1)); ?>
|
||||
<?php echo $this->loadTemplate('options'); ?>
|
||||
<div class="clr"></div>
|
||||
|
||||
<?php echo JHtml::_('sliders.panel', JText::_('JGLOBAL_FIELDSET_METADATA_OPTIONS'), 'meta-options'); ?>
|
||||
<fieldset class="panelform">
|
||||
<legend class="element-invisible"><?php echo JText::_('JGLOBAL_FIELDSET_METADATA_OPTIONS'); ?></legend>
|
||||
<?php echo $this->loadTemplate('metadata'); ?>
|
||||
</fieldset>
|
||||
|
||||
<?php $fieldSets = $this->form->getFieldsets('attribs'); ?>
|
||||
<?php foreach ($fieldSets as $name => $fieldSet) : ?>
|
||||
<?php if ($name != 'editorConfig' && $name != 'basic-limited') : ?>
|
||||
<?php
|
||||
$label = !empty($fieldSet->label) ? $fieldSet->label : 'COM_CATEGORIES_' . $name . '_FIELDSET_LABEL';
|
||||
echo JHtml::_('sliders.panel', JText::_($label), $name . '-options');
|
||||
if (isset($fieldSet->description) && trim($fieldSet->description))
|
||||
{
|
||||
echo '<p class="tip">' . $this->escape(JText::_($fieldSet->description)) . '</p>';
|
||||
}
|
||||
?>
|
||||
<div class="clr"></div>
|
||||
<fieldset class="panelform">
|
||||
<ul class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset($name) as $field) : ?>
|
||||
<li>
|
||||
<?php echo $field->label; ?>
|
||||
<?php echo $field->input; ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
<?php endif; ?>
|
||||
<?php endforeach; ?>
|
||||
|
||||
<?php $fieldSets = $this->form->getFieldsets('associations'); ?>
|
||||
<?php foreach ($fieldSets as $name => $fieldSet) : ?>
|
||||
<?php
|
||||
$label = !empty($fieldSet->label) ? $fieldSet->label : 'COM_CATEGORIES_' . $name . '_FIELDSET_LABEL';
|
||||
echo JHtml::_('sliders.panel', JText::_($label), $name . '-options');
|
||||
if (isset($fieldSet->description) && trim($fieldSet->description))
|
||||
{
|
||||
echo '<p class="tip">' . $this->escape(JText::_($fieldSet->description)) . '</p>';
|
||||
}
|
||||
?>
|
||||
<div class="clr"></div>
|
||||
<fieldset class="panelform">
|
||||
<ul class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset($name) as $field) : ?>
|
||||
<li>
|
||||
<?php echo $field->label; ?>
|
||||
<?php echo $field->input; ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
<?php endforeach;?>
|
||||
|
||||
<?php echo JHtml::_('sliders.end'); ?>
|
||||
</div>
|
||||
<div class="clr"></div>
|
||||
|
||||
<?php if ($this->canDo->get('core.admin')) : ?>
|
||||
<div class="col rules-section">
|
||||
|
||||
<?php echo JHtml::_('sliders.start', 'permissions-sliders-' . $this->item->id, array('useCookie' => 1)); ?>
|
||||
|
||||
<?php echo JHtml::_('sliders.panel', JText::_('COM_CATEGORIES_FIELDSET_RULES'), 'access-rules'); ?>
|
||||
<fieldset class="panelform">
|
||||
<legend class="element-invisible"><?php echo JText::_('COM_CATEGORIES_FIELDSET_RULES'); ?></legend>
|
||||
<?php echo $this->form->getLabel('rules'); ?>
|
||||
<?php echo $this->form->getInput('rules'); ?>
|
||||
</fieldset>
|
||||
|
||||
<?php echo JHtml::_('sliders.end'); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<div>
|
||||
<input type="hidden" name="task" value="" />
|
||||
<?php echo JHtml::_('form.token'); ?>
|
||||
</div>
|
||||
</form>
|
||||
<div class="clr"></div>
|
||||
</div>
|
@ -0,0 +1,67 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @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; ?>
|
||||
|
||||
<?php echo JHtml::_('sliders.panel', JText::_('JGLOBAL_FIELDSET_PUBLISHING'), 'publishing-details'); ?>
|
||||
|
||||
<fieldset class="panelform">
|
||||
<legend class="element-invisible"><?php echo JText::_('COM_CONTENT_FIELDSET_PUBLISHING'); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<li>
|
||||
<?php echo $this->form->getLabel('created_user_id'); ?>
|
||||
<?php echo $this->form->getInput('created_user_id'); ?>
|
||||
</li>
|
||||
<?php if ((int) $this->item->created_time) : ?>
|
||||
<li>
|
||||
<?php echo $this->form->getLabel('created_time'); ?>
|
||||
<?php echo $this->form->getInput('created_time'); ?>
|
||||
</li>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->item->modified_user_id) : ?>
|
||||
<li>
|
||||
<?php echo $this->form->getLabel('modified_user_id'); ?>
|
||||
<?php echo $this->form->getInput('modified_user_id'); ?>
|
||||
</li>
|
||||
<li>
|
||||
<?php echo $this->form->getLabel('modified_time'); ?>
|
||||
<?php echo $this->form->getInput('modified_time'); ?>
|
||||
</li>
|
||||
<?php endif; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
|
||||
<?php $fieldSets = $this->form->getFieldsets('params'); ?>
|
||||
<?php foreach ($fieldSets as $name => $fieldSet) : ?>
|
||||
<?php
|
||||
$label = !empty($fieldSet->label) ? $fieldSet->label : 'COM_CATEGORIES_' . $name . '_FIELDSET_LABEL';
|
||||
echo JHtml::_('sliders.panel', JText::_($label), $name . '-options');
|
||||
if (isset($fieldSet->description) && trim($fieldSet->description))
|
||||
{
|
||||
echo '<p class="tip">' . $this->escape(JText::_($fieldSet->description)) . '</p>';
|
||||
}
|
||||
?>
|
||||
<fieldset class="panelform">
|
||||
<legend class="element-invisible"><?php echo JText::_($label); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset($name) as $field) : ?>
|
||||
<li>
|
||||
<?php echo $field->label; ?>
|
||||
<?php echo $field->input; ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
<?php if ($name == 'basic'): ?>
|
||||
<li>
|
||||
<?php echo $this->form->getLabel('note'); ?>
|
||||
<?php echo $this->form->getInput('note'); ?>
|
||||
</li>
|
||||
<?php endif; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
<?php endforeach; ?>
|
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
@ -0,0 +1,65 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage com_checkin
|
||||
*
|
||||
* @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;
|
||||
$listOrder = $this->escape($this->state->get('list.ordering'));
|
||||
$listDirn = $this->escape($this->state->get('list.direction'));
|
||||
?>
|
||||
<form action="<?php echo JRoute::_('index.php?option=com_checkin'); ?>" method="post" name="adminForm" id="adminForm">
|
||||
<?php if (!empty($this->sidebar)) : ?>
|
||||
<div id="j-sidebar-container" class="span2">
|
||||
<?php echo $this->sidebar; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<div id="j-main-container"<?php echo !empty($this->sidebar) ? ' class="span10"' : ''; ?>>
|
||||
<fieldset id="filter-bar">
|
||||
<div class="filter-search fltlft">
|
||||
<label class="filter-search-lbl" for="filter_search"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?></label>
|
||||
<input type="text" name="filter_search" id="filter_search" value="<?php echo $this->escape($this->state->get('filter.search')); ?>" title="<?php echo JText::_('COM_CHECKIN_FILTER_SEARCH_DESC'); ?>" />
|
||||
|
||||
<button type="submit" class="btn"><?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button>
|
||||
<button type="button" onclick="document.id('filter_search').value='';this.form.submit();"><?php echo JText::_('JSEARCH_FILTER_CLEAR'); ?></button>
|
||||
</div>
|
||||
</fieldset>
|
||||
<div class="clr"></div>
|
||||
|
||||
<table id="global-checkin" class="adminlist">
|
||||
<thead>
|
||||
<tr>
|
||||
<th width="1%">
|
||||
<input type="checkbox" name="checkall-toggle" value="" title="<?php echo JText::_('JGLOBAL_CHECK_ALL'); ?>" onclick="Joomla.checkAll(this)" />
|
||||
</th>
|
||||
<th class="left"><?php echo JHtml::_('grid.sort', 'COM_CHECKIN_DATABASE_TABLE', 'table', $listDirn, $listOrder); ?></th>
|
||||
<th><?php echo JHtml::_('grid.sort', 'COM_CHECKIN_ITEMS_TO_CHECK_IN', 'count', $listDirn, $listOrder); ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach ($this->items as $table => $count): $i = 0; ?>
|
||||
<tr class="row<?php echo $i % 2; ?>">
|
||||
<td class="center"><?php echo JHtml::_('grid.id', $i, $table); ?></td>
|
||||
<td><?php echo JText::sprintf('COM_CHECKIN_TABLE', $table); ?></td>
|
||||
<td width="200" class="center"><?php echo $count; ?></td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td colspan="15">
|
||||
<?php echo $this->pagination->getListFooter(); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
<input type="hidden" name="task" value="" />
|
||||
<input type="hidden" name="boxchecked" value="0" />
|
||||
<input type="hidden" name="filter_order" value="<?php echo $listOrder; ?>" />
|
||||
<input type="hidden" name="filter_order_Dir" value="<?php echo $listDirn; ?>" />
|
||||
<?php echo JHtml::_('form.token'); ?>
|
||||
</div>
|
||||
</form>
|
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
@ -0,0 +1,84 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage com_config
|
||||
*
|
||||
* @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;
|
||||
|
||||
JHtml::_('behavior.formvalidation');
|
||||
JHtml::_('behavior.switcher');
|
||||
|
||||
// Load submenu template, using element id 'submenu' as needed by behavior.switcher
|
||||
$this->document->setBuffer($this->loadTemplate('navigation'), 'modules', 'submenu');
|
||||
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
Joomla.submitbutton = function(task)
|
||||
{
|
||||
if (task == 'application.cancel' || document.formvalidator.isValid(document.id('application-form'))) {
|
||||
Joomla.submitform(task, document.getElementById('application-form'));
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<form action="<?php echo JRoute::_('index.php?option=com_config'); ?>" id="application-form" method="post" name="adminForm" class="form-validate">
|
||||
<?php if ($this->ftp) : ?>
|
||||
<?php echo $this->loadTemplate('ftplogin'); ?>
|
||||
<?php endif; ?>
|
||||
<div id="config-document">
|
||||
<div id="page-site" class="tab">
|
||||
<div class="noshow">
|
||||
<div class="width-60 fltlft">
|
||||
<?php echo $this->loadTemplate('site'); ?>
|
||||
<?php echo $this->loadTemplate('metadata'); ?>
|
||||
</div>
|
||||
<div class="width-40 fltrt">
|
||||
<?php echo $this->loadTemplate('seo'); ?>
|
||||
<?php echo $this->loadTemplate('cookie'); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="page-system" class="tab">
|
||||
<div class="noshow">
|
||||
<div class="width-60 fltlft">
|
||||
<?php echo $this->loadTemplate('system'); ?>
|
||||
</div>
|
||||
<div class="width-40 fltrt">
|
||||
<?php echo $this->loadTemplate('debug'); ?>
|
||||
<?php echo $this->loadTemplate('cache'); ?>
|
||||
<?php echo $this->loadTemplate('session'); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="page-server" class="tab">
|
||||
<div class="noshow">
|
||||
<div class="width-60 fltlft">
|
||||
<?php echo $this->loadTemplate('server'); ?>
|
||||
<?php echo $this->loadTemplate('locale'); ?>
|
||||
<?php echo $this->loadTemplate('ftp'); ?>
|
||||
</div>
|
||||
<div class="width-40 fltrt">
|
||||
<?php echo $this->loadTemplate('database'); ?>
|
||||
<?php echo $this->loadTemplate('mail'); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="page-permissions" class="tab">
|
||||
<div class="noshow">
|
||||
<?php echo $this->loadTemplate('permissions'); ?>
|
||||
</div>
|
||||
</div>
|
||||
<div id="page-filters" class="tab">
|
||||
<div class="noshow">
|
||||
<?php echo $this->loadTemplate('filters'); ?>
|
||||
</div>
|
||||
</div>
|
||||
<input type="hidden" name="task" value="" />
|
||||
<?php echo JHtml::_('form.token'); ?>
|
||||
</div>
|
||||
<div class="clr"></div>
|
||||
</form>
|
@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage com_config
|
||||
*
|
||||
* @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;
|
||||
?>
|
||||
<div class="width-100">
|
||||
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo JText::_('COM_CONFIG_CACHE_SETTINGS'); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset('cache') as $field): ?>
|
||||
<li>
|
||||
<?php echo $field->label; ?>
|
||||
<?php echo $field->input; ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
<?php if (isset($this->data['cache_handler']) && $this->data['cache_handler'] == 'memcache' || $this->data['session_handler'] == 'memcache') : ?>
|
||||
|
||||
<?php foreach ($this->form->getFieldset('memcache') as $mfield): ?>
|
||||
<li>
|
||||
<?php echo $mfield->label; ?>
|
||||
<?php echo $mfield->input; ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
||||
</ul>
|
||||
|
||||
</fieldset>
|
||||
</div>
|
@ -0,0 +1,26 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage com_config
|
||||
*
|
||||
* @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;
|
||||
?>
|
||||
|
||||
<div class="width-100">
|
||||
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo JText::_('COM_CONFIG_COOKIE_SETTINGS'); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset('cookie') as $field): ?>
|
||||
<li>
|
||||
<?php echo $field->label; ?>
|
||||
<?php echo $field->input; ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
</div>
|
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage com_config
|
||||
*
|
||||
* @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;
|
||||
?>
|
||||
<div class="width-100">
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo JText::_('COM_CONFIG_DATABASE_SETTINGS'); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset('database') as $field): ?>
|
||||
<li>
|
||||
<?php echo $field->label; ?>
|
||||
<?php echo $field->input; ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
</div>
|
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage com_config
|
||||
*
|
||||
* @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;
|
||||
?>
|
||||
<div class="width-100">
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo JText::_('COM_CONFIG_DEBUG_SETTINGS'); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset('debug') as $field): ?>
|
||||
<li>
|
||||
<?php echo $field->label; ?>
|
||||
<?php echo $field->input; ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
</div>
|
@ -0,0 +1,22 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage com_config
|
||||
*
|
||||
* @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;
|
||||
?>
|
||||
<div class="width-80">
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo JText::_('COM_CONFIG_TEXT_FILTER_SETTINGS'); ?></legend>
|
||||
<p><?php echo JText::_('COM_CONFIG_TEXT_FILTERS_DESC'); ?></p>
|
||||
<?php foreach ($this->form->getFieldset('filters') as $field) : ?>
|
||||
<?php echo $field->label; ?>
|
||||
<div class="clr"></div>
|
||||
<?php echo $field->input; ?>
|
||||
<?php endforeach; ?>
|
||||
</fieldset>
|
||||
</div>
|
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage com_config
|
||||
*
|
||||
* @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;
|
||||
?>
|
||||
<div class="width-100">
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo JText::_('COM_CONFIG_FTP_SETTINGS'); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset('ftp') as $field): ?>
|
||||
<li>
|
||||
<?php echo $field->label; ?>
|
||||
<?php echo $field->input; ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
</div>
|
@ -0,0 +1,31 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage com_config
|
||||
*
|
||||
* @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;
|
||||
?>
|
||||
<div class="width-100">
|
||||
<fieldset title="<?php echo JText::_('COM_CONFIG_FTP_DETAILS'); ?>" class="adminform">
|
||||
<legend><?php echo JText::_('COM_CONFIG_FTP_DETAILS'); ?></legend>
|
||||
<?php echo JText::_('COM_CONFIG_FTP_DETAILS_TIP'); ?>
|
||||
|
||||
<?php if ($this->ftp instanceof Exception) : ?>
|
||||
<p><?php echo JText::_($this->ftp->message); ?></p>
|
||||
<?php endif; ?>
|
||||
<ul class="adminformlist">
|
||||
<li>
|
||||
<label for="username"><?php echo JText::_('JGLOBAL_USERNAME'); ?></label>
|
||||
<input type="text" id="username" name="username" class="input_box" size="70" value="" />
|
||||
</li>
|
||||
<li>
|
||||
<label for="password"><?php echo JText::_('JGLOBAL_PASSWORD'); ?></label>
|
||||
<input type="password" id="password" name="password" class="input_box" size="70" value="" />
|
||||
</li>
|
||||
</ul>
|
||||
</fieldset>
|
||||
</div>
|
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage com_config
|
||||
*
|
||||
* @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;
|
||||
?>
|
||||
<div class="width-100">
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo JText::_('COM_CONFIG_LOCATION_SETTINGS'); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset('locale') as $field): ?>
|
||||
<li>
|
||||
<?php echo $field->label; ?>
|
||||
<?php echo $field->input; ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
</div>
|
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage com_config
|
||||
*
|
||||
* @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;
|
||||
?>
|
||||
<div class="width-100">
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo JText::_('COM_CONFIG_MAIL_SETTINGS'); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset('mail') as $field): ?>
|
||||
<li>
|
||||
<?php echo $field->label; ?>
|
||||
<?php echo $field->input; ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
</div>
|
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage com_config
|
||||
*
|
||||
* @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;
|
||||
?>
|
||||
<div class="width-100">
|
||||
<fieldset class="adminform long">
|
||||
<legend><?php echo JText::_('COM_CONFIG_METADATA_SETTINGS'); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset('metadata') as $field): ?>
|
||||
<li>
|
||||
<?php echo $field->label; ?>
|
||||
<?php echo $field->input; ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
</div>
|
@ -0,0 +1,22 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @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;
|
||||
?>
|
||||
<div id="submenu-box">
|
||||
<ul id="submenu" class="configuration">
|
||||
<li><a href="#" onclick="return false;" id="site" class="active"><?php echo JText::_('JSITE'); ?></a></li>
|
||||
<li><a href="#" onclick="return false;" id="system"><?php echo JText::_('COM_CONFIG_SYSTEM'); ?></a></li>
|
||||
<li><a href="#" onclick="return false;" id="server"><?php echo JText::_('COM_CONFIG_SERVER'); ?></a></li>
|
||||
<li><a href="#" onclick="return false;" id="permissions"><?php echo JText::_('COM_CONFIG_PERMISSIONS'); ?></a>
|
||||
</li>
|
||||
<li><a href="#" onclick="return false;" id="filters"><?php echo JText::_('COM_CONFIG_TEXT_FILTERS') ?></a></li>
|
||||
</ul>
|
||||
<div class="clr"></div>
|
||||
</div>
|
@ -0,0 +1,21 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage com_config
|
||||
*
|
||||
* @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;
|
||||
?>
|
||||
<div class="width-100">
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo JText::_('COM_CONFIG_PERMISSION_SETTINGS'); ?></legend>
|
||||
<?php foreach ($this->form->getFieldset('permissions') as $field) : ?>
|
||||
<?php echo $field->label; ?>
|
||||
<div class="clr"></div>
|
||||
<?php echo $field->input; ?>
|
||||
<?php endforeach; ?>
|
||||
</fieldset>
|
||||
</div>
|
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage com_config
|
||||
*
|
||||
* @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;
|
||||
?>
|
||||
<div class="width-100">
|
||||
<fieldset class="adminform long">
|
||||
<legend><?php echo JText::_('COM_CONFIG_SEO_SETTINGS'); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset('seo') as $field): ?>
|
||||
<li>
|
||||
<?php echo $field->label; ?>
|
||||
<?php echo $field->input; ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
</div>
|
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage com_config
|
||||
*
|
||||
* @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;
|
||||
?>
|
||||
<div class="width-100">
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo JText::_('COM_CONFIG_SERVER_SETTINGS'); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset('server') as $field): ?>
|
||||
<li>
|
||||
<?php echo $field->label; ?>
|
||||
<?php echo $field->input; ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
</div>
|
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage com_config
|
||||
*
|
||||
* @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;
|
||||
?>
|
||||
<div class="width-100">
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo JText::_('COM_CONFIG_SESSION_SETTINGS'); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset('session') as $field): ?>
|
||||
<li>
|
||||
<?php echo $field->label; ?>
|
||||
<?php echo $field->input; ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
</div>
|
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage com_config
|
||||
*
|
||||
* @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;
|
||||
?>
|
||||
<div class="width-100">
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo JText::_('COM_CONFIG_SITE_SETTINGS'); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset('site') as $field): ?>
|
||||
<li>
|
||||
<?php echo $field->label; ?>
|
||||
<?php echo $field->input; ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
</div>
|
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage com_config
|
||||
*
|
||||
* @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;
|
||||
?>
|
||||
<div class="width-100">
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo JText::_('COM_CONFIG_SYSTEM_SETTINGS'); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset('system') as $field): ?>
|
||||
<li>
|
||||
<?php echo $field->label; ?>
|
||||
<?php echo $field->input; ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
</div>
|
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
@ -0,0 +1,61 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage com_config
|
||||
*
|
||||
* @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();
|
||||
$template = $app->getTemplate();
|
||||
|
||||
JHtml::_('behavior.formvalidation');
|
||||
JHtml::_('bootstrap.framework');
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
Joomla.submitbutton = function(task)
|
||||
{
|
||||
if (document.formvalidator.isValid(document.id('component-form'))) {
|
||||
Joomla.submitform(task, document.getElementById('component-form'));
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<form action="<?php echo JRoute::_('index.php?option=com_config'); ?>" id="component-form" method="post" name="adminForm" autocomplete="off" class="form-validate">
|
||||
<?php
|
||||
echo JHtml::_('tabs.start', 'config-tabs-' . $this->component->option . '_configuration', array('useCookie' => 1));
|
||||
$fieldSets = $this->form->getFieldsets();
|
||||
?>
|
||||
<?php foreach ($fieldSets as $name => $fieldSet) : ?>
|
||||
<?php
|
||||
$label = empty($fieldSet->label) ? 'COM_CONFIG_' . $name . '_FIELDSET_LABEL' : $fieldSet->label;
|
||||
echo JHtml::_('tabs.panel', JText::_($label), 'publishing-details');
|
||||
if (isset($fieldSet->description) && !empty($fieldSet->description))
|
||||
{
|
||||
echo '<p class="tab-description">' . JText::_($fieldSet->description) . '</p>';
|
||||
}
|
||||
?>
|
||||
<ul class="config-option-list">
|
||||
<?php foreach ($this->form->getFieldset($name) as $field): ?>
|
||||
<li>
|
||||
<?php if (!$field->hidden) : ?>
|
||||
<?php echo $field->label; ?>
|
||||
<?php endif; ?>
|
||||
<?php echo $field->input; ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
|
||||
<div class="clr"></div>
|
||||
<?php endforeach; ?>
|
||||
<?php echo JHtml::_('tabs.end'); ?>
|
||||
<div>
|
||||
<input type="hidden" name="id" value="<?php echo $this->component->id; ?>" />
|
||||
<input type="hidden" name="component" value="<?php echo $this->component->option; ?>" />
|
||||
<input type="hidden" name="return" value="<?php echo $this->return; ?>" />
|
||||
<input type="hidden" name="task" value="" />
|
||||
<?php echo JHtml::_('form.token'); ?>
|
||||
</div>
|
||||
</form>
|
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
185
administrator/templates/hathor/html/com_contact/contact/edit.php
Normal file
185
administrator/templates/hathor/html/com_contact/contact/edit.php
Normal file
@ -0,0 +1,185 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @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 the component HTML helpers.
|
||||
JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
|
||||
|
||||
JHtml::_('behavior.formvalidation');
|
||||
|
||||
$app = JFactory::getApplication();
|
||||
$input = $app->input;
|
||||
|
||||
$assoc = isset($app->item_associations) ? $app->item_associations : 0;
|
||||
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
Joomla.submitbutton = function(task)
|
||||
{
|
||||
if (task == 'contact.cancel' || document.formvalidator.isValid(document.id('contact-form')))
|
||||
{
|
||||
<?php echo $this->form->getField('misc')->save(); ?>
|
||||
Joomla.submitform(task, document.getElementById('contact-form'));
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<form action="<?php echo JRoute::_('index.php?option=com_contact&layout=edit&id='.(int) $this->item->id); ?>" method="post" name="adminForm" id="contact-form" class="form-validate">
|
||||
<div class="col main-section">
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo empty($this->item->id) ? JText::_('COM_CONTACT_NEW_CONTACT') : JText::sprintf('COM_CONTACT_EDIT_CONTACT', $this->item->id); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<li><?php echo $this->form->getLabel('name'); ?>
|
||||
<?php echo $this->form->getInput('name'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('alias'); ?>
|
||||
<?php echo $this->form->getInput('alias'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('user_id'); ?>
|
||||
<?php echo $this->form->getInput('user_id'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('catid'); ?>
|
||||
<?php echo $this->form->getInput('catid'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('published'); ?>
|
||||
<?php echo $this->form->getInput('published'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('access'); ?>
|
||||
<?php echo $this->form->getInput('access'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('ordering'); ?>
|
||||
<?php echo $this->form->getInput('ordering'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('featured'); ?>
|
||||
<?php echo $this->form->getInput('featured'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('language'); ?>
|
||||
<?php echo $this->form->getInput('language'); ?></li>
|
||||
|
||||
<!-- Tag field -->
|
||||
<li><?php echo $this->form->getLabel('tags'); ?>
|
||||
<div class="is-tagbox">
|
||||
<?php echo $this->form->getInput('tags'); ?>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('id'); ?>
|
||||
<?php echo $this->form->getInput('id'); ?></li>
|
||||
</ul>
|
||||
<div class="clr"></div>
|
||||
<?php echo $this->form->getLabel('misc'); ?>
|
||||
<div class="clr"></div>
|
||||
<?php echo $this->form->getInput('misc'); ?>
|
||||
</fieldset>
|
||||
</div>
|
||||
<div class="col options-section">
|
||||
<?php echo JHtml::_('sliders.start', 'contact-slider'); ?>
|
||||
<?php echo JHtml::_('sliders.panel', JText::_('JGLOBAL_FIELDSET_PUBLISHING'), 'publishing-details'); ?>
|
||||
|
||||
<fieldset class="panelform">
|
||||
<legend class="element-invisible"><?php echo JText::_('JGLOBAL_FIELDSET_PUBLISHING'); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
|
||||
<li><?php echo $this->form->getLabel('created_by'); ?>
|
||||
<?php echo $this->form->getInput('created_by'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('created_by_alias'); ?>
|
||||
<?php echo $this->form->getInput('created_by_alias'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('created'); ?>
|
||||
<?php echo $this->form->getInput('created'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('publish_up'); ?>
|
||||
<?php echo $this->form->getInput('publish_up'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('publish_down'); ?>
|
||||
<?php echo $this->form->getInput('publish_down'); ?></li>
|
||||
|
||||
<?php if ($this->item->modified_by) : ?>
|
||||
<li><?php echo $this->form->getLabel('modified_by'); ?>
|
||||
<?php echo $this->form->getInput('modified_by'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('modified'); ?>
|
||||
<?php echo $this->form->getInput('modified'); ?></li>
|
||||
<?php endif; ?>
|
||||
|
||||
</ul>
|
||||
</fieldset>
|
||||
<?php echo JHtml::_('sliders.panel', JText::_('COM_CONTACT_CONTACT_DETAILS'), 'basic-options'); ?>
|
||||
|
||||
<fieldset class="panelform">
|
||||
<legend class="element-invisible"><?php echo JText::_('COM_CONTACT_CONTACT_DETAILS'); ?></legend>
|
||||
<p><?php echo empty($this->item->id) ? JText::_('COM_CONTACT_DETAILS') : JText::sprintf('COM_CONTACT_EDIT_DETAILS', $this->item->id); ?></p>
|
||||
|
||||
<ul class="adminformlist">
|
||||
<li><?php echo $this->form->getLabel('image'); ?>
|
||||
<?php echo $this->form->getInput('image'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('con_position'); ?>
|
||||
<?php echo $this->form->getInput('con_position'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('email_to'); ?>
|
||||
<?php echo $this->form->getInput('email_to'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('address'); ?>
|
||||
<?php echo $this->form->getInput('address'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('suburb'); ?>
|
||||
<?php echo $this->form->getInput('suburb'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('state'); ?>
|
||||
<?php echo $this->form->getInput('state'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('postcode'); ?>
|
||||
<?php echo $this->form->getInput('postcode'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('country'); ?>
|
||||
<?php echo $this->form->getInput('country'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('telephone'); ?>
|
||||
<?php echo $this->form->getInput('telephone'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('mobile'); ?>
|
||||
<?php echo $this->form->getInput('mobile'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('fax'); ?>
|
||||
<?php echo $this->form->getInput('fax'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('webpage'); ?>
|
||||
<?php echo $this->form->getInput('webpage'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('sortname1'); ?>
|
||||
<?php echo $this->form->getInput('sortname1'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('sortname2'); ?>
|
||||
<?php echo $this->form->getInput('sortname2'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('sortname3'); ?>
|
||||
<?php echo $this->form->getInput('sortname3'); ?></li>
|
||||
</ul>
|
||||
</fieldset>
|
||||
|
||||
<?php echo $this->loadTemplate('params'); ?>
|
||||
|
||||
<?php echo JHtml::_('sliders.panel', JText::_('JGLOBAL_FIELDSET_METADATA_OPTIONS'), 'meta-options'); ?>
|
||||
<fieldset class="panelform">
|
||||
<legend class="element-invisible"><?php echo JText::_('JGLOBAL_FIELDSET_METADATA_OPTIONS'); ?></legend>
|
||||
<?php echo $this->loadTemplate('metadata'); ?>
|
||||
</fieldset>
|
||||
|
||||
<?php if ($assoc) : ?>
|
||||
<?php echo $this->loadTemplate('associations'); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php echo JHtml::_('sliders.end'); ?>
|
||||
<input type="hidden" name="task" value="" />
|
||||
<?php echo JHtml::_('form.token'); ?>
|
||||
</div>
|
||||
</form>
|
@ -0,0 +1,28 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @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;
|
||||
|
||||
$fieldSets = $this->form->getFieldsets('params');
|
||||
foreach ($fieldSets as $name => $fieldSet) :
|
||||
echo JHtml::_('sliders.panel', JText::_($fieldSet->label), $name.'-params');
|
||||
if (isset($fieldSet->description) && trim($fieldSet->description)) :
|
||||
echo '<p class="tip">'.$this->escape(JText::_($fieldSet->description)).'</p>';
|
||||
endif;
|
||||
?>
|
||||
<fieldset class="panelform" >
|
||||
<legend class="element-invisible"><?php echo JText::_($fieldSet->label); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset($name) as $field) : ?>
|
||||
<li><?php echo $field->label; ?>
|
||||
<?php echo $field->input; ?></li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
<?php endforeach; ?>
|
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
@ -0,0 +1,225 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @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;
|
||||
|
||||
JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
|
||||
|
||||
JHtml::_('behavior.multiselect');
|
||||
JHtml::_('behavior.modal');
|
||||
|
||||
$app = JFactory::getApplication();
|
||||
$user = JFactory::getUser();
|
||||
$userId = $user->get('id');
|
||||
$listOrder = $this->escape($this->state->get('list.ordering'));
|
||||
$listDirn = $this->escape($this->state->get('list.direction'));
|
||||
$canOrder = $user->authorise('core.edit.state', 'com_contact.category');
|
||||
$saveOrder = $listOrder == 'a.ordering';
|
||||
$assoc = isset($app->item_associations) ? $app->item_associations : 0;
|
||||
|
||||
?>
|
||||
|
||||
<form action="<?php echo JRoute::_('index.php?option=com_contact'); ?>" method="post" name="adminForm" id="adminForm">
|
||||
<?php if (!empty( $this->sidebar)) : ?>
|
||||
<div id="j-sidebar-container" class="span2">
|
||||
<?php echo $this->sidebar; ?>
|
||||
</div>
|
||||
<div id="j-main-container" class="span10">
|
||||
<?php else : ?>
|
||||
<div id="j-main-container">
|
||||
<?php endif;?>
|
||||
<fieldset id="filter-bar">
|
||||
<legend class="element-invisible"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?></legend>
|
||||
<div class="filter-search">
|
||||
<label class="filter-search-lbl" for="filter_search"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?></label>
|
||||
<input type="text" name="filter_search" id="filter_search" value="<?php echo $this->escape($this->state->get('filter.search')); ?>" title="<?php echo JText::_('COM_CONTACT_SEARCH_IN_NAME'); ?>" />
|
||||
<button type="submit"><?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button>
|
||||
<button type="button" onclick="document.id('filter_search').value='';this.form.submit();"><?php echo JText::_('JSEARCH_FILTER_CLEAR'); ?></button>
|
||||
</div>
|
||||
<div class="filter-select">
|
||||
<label class="selectlabel" for="filter_published">
|
||||
<?php echo JText::_('JOPTION_SELECT_PUBLISHED'); ?>
|
||||
</label>
|
||||
<select name="filter_published" class="inputbox" id="filter_published">
|
||||
<option value=""><?php echo JText::_('JOPTION_SELECT_PUBLISHED');?></option>
|
||||
<?php echo JHtml::_('select.options', JHtml::_('jgrid.publishedOptions'), 'value', 'text', $this->state->get('filter.published'), true);?>
|
||||
</select>
|
||||
|
||||
<label class="selectlabel" for="filter_category_id">
|
||||
<?php echo JText::_('JOPTION_SELECT_CATEGORY'); ?>
|
||||
</label>
|
||||
<select name="filter_category_id" class="inputbox" id="filter_category_id">
|
||||
<option value=""><?php echo JText::_('JOPTION_SELECT_CATEGORY');?></option>
|
||||
<?php echo JHtml::_('select.options', JHtml::_('category.options', 'com_contact'), 'value', 'text', $this->state->get('filter.category_id'));?>
|
||||
</select>
|
||||
|
||||
<label class="selectlabel" for="filter_access">
|
||||
<?php echo JText::_('JOPTION_SELECT_ACCESS'); ?>
|
||||
</label>
|
||||
<select name="filter_access" class="inputbox" id="filter_access">
|
||||
<option value=""><?php echo JText::_('JOPTION_SELECT_ACCESS');?></option>
|
||||
<?php echo JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text', $this->state->get('filter.access'));?>
|
||||
</select>
|
||||
|
||||
<label class="selectlabel" for="filter_language">
|
||||
<?php echo JText::_('JOPTION_SELECT_LANGUAGE'); ?>
|
||||
</label>
|
||||
<select name="filter_language" class="inputbox" id="filter_language">
|
||||
<option value=""><?php echo JText::_('JOPTION_SELECT_LANGUAGE');?></option>
|
||||
<?php echo JHtml::_('select.options', JHtml::_('contentlanguage.existing', true, true), 'value', 'text', $this->state->get('filter.language'));?>
|
||||
</select>
|
||||
|
||||
<button type="submit" id="filter-go">
|
||||
<?php echo JText::_('JSUBMIT'); ?></button>
|
||||
</div>
|
||||
</fieldset>
|
||||
<div class="clr"> </div>
|
||||
|
||||
<table class="adminlist">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="checkmark-col">
|
||||
<input type="checkbox" name="checkall-toggle" value="" title="<?php echo JText::_('JGLOBAL_CHECK_ALL'); ?>" onclick="Joomla.checkAll(this)" />
|
||||
</th>
|
||||
<th class="title">
|
||||
<?php echo JHtml::_('grid.sort', 'JGLOBAL_TITLE', 'a.name', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th>
|
||||
<?php echo JHtml::_('grid.sort', 'COM_CONTACT_FIELD_LINKED_USER_LABEL', 'ul.name', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="nowrap state-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JSTATUS', 'a.state', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="nowrap featured-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JFEATURED', 'a.featured', $listDirn, $listOrder, null, 'desc'); ?>
|
||||
</th>
|
||||
<th class="title category-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JCATEGORY', 'category_title', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="nowrap ordering-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ORDERING', 'a.ordering', $listDirn, $listOrder); ?>
|
||||
<?php if ($canOrder && $saveOrder) :?>
|
||||
<?php echo JHtml::_('grid.order', $this->items, 'filesave.png', 'contacts.saveorder'); ?>
|
||||
<?php endif; ?>
|
||||
</th>
|
||||
<th class="title access-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ACCESS', 'access_level', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<?php if ($assoc) : ?>
|
||||
<th width="5%">
|
||||
<?php echo JHtml::_('grid.sort', 'COM_CONTACT_HEADING_ASSOCIATION', 'association', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<?php endif;?>
|
||||
<th class="language-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JGRID_HEADING_LANGUAGE', 'a.language', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="nowrap id-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ID', 'a.id', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<?php
|
||||
$n = count($this->items);
|
||||
foreach ($this->items as $i => $item) :
|
||||
$ordering = $listOrder == 'a.ordering';
|
||||
$canCreate = $user->authorise('core.create', 'com_contact.category.' . $item->catid);
|
||||
$canEdit = $user->authorise('core.edit', 'com_contact.category.' . $item->catid);
|
||||
$canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $userId || $item->checked_out == 0;
|
||||
$canEditOwn = $user->authorise('core.edit.own', 'com_contact.category.' . $item->catid) && $item->created_by == $userId;
|
||||
$canChange = $user->authorise('core.edit.state', 'com_contact.category.' . $item->catid) && $canCheckin;
|
||||
|
||||
$item->cat_link = JRoute::_('index.php?option=com_categories&extension=com_contact&task=edit&type=other&id='.$item->catid);
|
||||
?>
|
||||
<tr class="row<?php echo $i % 2; ?>">
|
||||
<td class="center">
|
||||
<?php echo JHtml::_('grid.id', $i, $item->id); ?>
|
||||
</td>
|
||||
<td>
|
||||
<?php if ($item->checked_out) : ?>
|
||||
<?php echo JHtml::_('jgrid.checkedout', $i, $item->editor, $item->checked_out_time, 'contacts.', $canCheckin); ?>
|
||||
<?php endif; ?>
|
||||
<?php if ($canEdit || $canEditOwn) : ?>
|
||||
<a href="<?php echo JRoute::_('index.php?option=com_contact&task=contact.edit&id='.(int) $item->id); ?>">
|
||||
<?php echo $this->escape($item->name); ?></a>
|
||||
<?php else : ?>
|
||||
<?php echo $this->escape($item->name); ?>
|
||||
<?php endif; ?>
|
||||
<p class="smallsub">
|
||||
<?php echo JText::sprintf('JGLOBAL_LIST_ALIAS', $this->escape($item->alias));?></p>
|
||||
</td>
|
||||
<td align="center">
|
||||
<?php if (!empty($item->linked_user)) : ?>
|
||||
<a href="<?php echo JRoute::_('index.php?option=com_users&task=user.edit&id='.$item->user_id);?>"><?php echo $item->linked_user;?></a>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php echo JHtml::_('jgrid.published', $item->published, $i, 'contacts.', $canChange, 'cb', $item->publish_up, $item->publish_down); ?>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php echo JHtml::_('contact.featured', $item->featured, $i, $canChange); ?>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php echo $item->category_title; ?>
|
||||
</td>
|
||||
<td class="order">
|
||||
<?php if ($canChange) : ?>
|
||||
<?php if ($saveOrder) :?>
|
||||
<?php if ($listDirn == 'asc') : ?>
|
||||
<span><?php echo $this->pagination->orderUpIcon($i, ($item->catid == @$this->items[$i - 1]->catid), 'contacts.orderup', 'JLIB_HTML_MOVE_UP', $ordering); ?></span>
|
||||
<span><?php echo $this->pagination->orderDownIcon($i, $n, ($item->catid == @$this->items[$i + 1]->catid), 'contacts.orderdown', 'JLIB_HTML_MOVE_DOWN', $ordering); ?></span>
|
||||
<?php elseif ($listDirn == 'desc') : ?>
|
||||
<span><?php echo $this->pagination->orderUpIcon($i, ($item->catid == @$this->items[$i - 1]->catid), 'contacts.orderdown', 'JLIB_HTML_MOVE_UP', $ordering); ?></span>
|
||||
<span><?php echo $this->pagination->orderDownIcon($i, $n, ($item->catid == @$this->items[$i + 1]->catid), 'contacts.orderup', 'JLIB_HTML_MOVE_DOWN', $ordering); ?></span>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php $disabled = $saveOrder ? '' : 'disabled="disabled"'; ?>
|
||||
<input type="text" name="order[]" value="<?php echo $item->ordering;?>" <?php echo $disabled ?> class="text-area-order" title="<?php echo $item->name; ?> order" />
|
||||
<?php else : ?>
|
||||
<?php echo $item->ordering; ?>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php echo $item->access_level; ?>
|
||||
</td>
|
||||
<?php if ($assoc) : ?>
|
||||
<td class="center">
|
||||
<?php if ($item->association) : ?>
|
||||
<?php echo JHtml::_('contact.association', $item->id); ?>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<?php endif;?>
|
||||
<td class="center">
|
||||
<?php if ($item->language == '*'):?>
|
||||
<?php echo JText::alt('JALL', 'language'); ?>
|
||||
<?php else:?>
|
||||
<?php echo $item->language_title ? $this->escape($item->language_title) : JText::_('JUNDEFINED'); ?>
|
||||
<?php endif;?>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php echo $item->id; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<?php //Load the batch processing form. ?>
|
||||
<?php echo $this->loadTemplate('batch'); ?>
|
||||
|
||||
<?php echo $this->pagination->getListFooter(); ?>
|
||||
|
||||
<input type="hidden" name="task" value="" />
|
||||
<input type="hidden" name="boxchecked" value="0" />
|
||||
<input type="hidden" name="filter_order" value="<?php echo $listOrder; ?>" />
|
||||
<input type="hidden" name="filter_order_Dir" value="<?php echo $listDirn; ?>" />
|
||||
<?php echo JHtml::_('form.token'); ?>
|
||||
</div>
|
||||
</form>
|
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
@ -0,0 +1,136 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @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;
|
||||
|
||||
JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
|
||||
|
||||
$function = JFactory::getApplication()->input->getCmd('function', 'jSelectContact');
|
||||
$listOrder = $this->escape($this->state->get('list.ordering'));
|
||||
$listDirn = $this->escape($this->state->get('list.direction'));
|
||||
?>
|
||||
<form action="<?php echo JRoute::_('index.php?option=com_contact&view=contacts&layout=modal&tmpl=component');?>" method="post" name="adminForm" id="adminForm">
|
||||
<fieldset id="filter-bar">
|
||||
<legend class="element-invisible"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?></legend>
|
||||
<div class="filter-search">
|
||||
<label class="filter-search-lbl" for="filter-search"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?></label>
|
||||
<input type="text" name="filter_search" id="filter_search" value="<?php echo $this->escape($this->state->get('filter.search')); ?>" title="<?php echo JText::_('COM_CONTENT_FILTER_SEARCH_DESC'); ?>" />
|
||||
|
||||
<button type="submit">
|
||||
<?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button>
|
||||
<button type="button" onclick="document.id('filter_search').value='';this.form.submit();">
|
||||
<?php echo JText::_('JSEARCH_FILTER_CLEAR'); ?></button>
|
||||
</div>
|
||||
|
||||
<div class="filter-select">
|
||||
<label class="selectlabel" for="filter_access">
|
||||
<?php echo JText::_('JOPTION_SELECT_ACCESS'); ?>
|
||||
</label>
|
||||
<select name="filter_access" class="inputbox" id="filter_access">
|
||||
<option value=""><?php echo JText::_('JOPTION_SELECT_ACCESS');?></option>
|
||||
<?php echo JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text', $this->state->get('filter.access'));?>
|
||||
</select>
|
||||
|
||||
<label class="selectlabel" for="filter_published">
|
||||
<?php echo JText::_('JOPTION_SELECT_PUBLISHED'); ?>
|
||||
</label>
|
||||
<select name="filter_published" class="inputbox" id="filter_published">
|
||||
<option value=""><?php echo JText::_('JOPTION_SELECT_PUBLISHED');?></option>
|
||||
<?php echo JHtml::_('select.options', JHtml::_('jgrid.publishedOptions'), 'value', 'text', $this->state->get('filter.published'), true);?>
|
||||
</select>
|
||||
|
||||
<label class="selectlabel" for="filter_category_id">
|
||||
<?php echo JText::_('JOPTION_SELECT_CATEGORY'); ?>
|
||||
</label>
|
||||
<select name="filter_category_id" class="inputbox" id="filter_category_id">
|
||||
<option value=""><?php echo JText::_('JOPTION_SELECT_CATEGORY');?></option>
|
||||
<?php echo JHtml::_('select.options', JHtml::_('category.options', 'com_contact'), 'value', 'text', $this->state->get('filter.category_id'));?>
|
||||
</select>
|
||||
|
||||
<?php if ($this->state->get('filter.forcedLanguage')) : ?>
|
||||
<input type="hidden" name="forcedLanguage" value="<?php echo $this->escape($this->state->get('filter.forcedLanguage')); ?>" />
|
||||
<input type="hidden" name="filter_language" value="<?php echo $this->escape($this->state->get('filter.language')); ?>" />
|
||||
<?php else : ?>
|
||||
<label class="selectlabel" for="filter_language"><?php echo JText::_('JOPTION_SELECT_LANGUAGE'); ?></label>
|
||||
<select name="filter_language" class="inputbox" id="filter_language">
|
||||
<option value=""><?php echo JText::_('JOPTION_SELECT_LANGUAGE');?></option>
|
||||
<?php echo JHtml::_('select.options', JHtml::_('contentlanguage.existing', true, true), 'value', 'text', $this->state->get('filter.language'));?>
|
||||
</select>
|
||||
<?php endif; ?>
|
||||
|
||||
<button type="submit" id="filter-go">
|
||||
<?php echo JText::_('JSUBMIT'); ?></button>
|
||||
</div>
|
||||
</fieldset>
|
||||
<div class="clr"> </div>
|
||||
|
||||
<table class="adminlist modal">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="title">
|
||||
<?php echo JHtml::_('grid.sort', 'JGLOBAL_TITLE', 'a.name', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th>
|
||||
<?php echo JHtml::_('grid.sort', 'COM_CONTACT_FIELD_LINKED_USER_LABEL', 'ul.name', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="title access-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ACCESS', 'access_level', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="nowrap state-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JCATEGORY', 'a.catid', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="title language-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JGRID_HEADING_LANGUAGE', 'language', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="nowrap id-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ID', 'a.id', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<?php foreach ($this->items as $i => $item) : ?>
|
||||
<tr class="row<?php echo $i % 2; ?>">
|
||||
<th>
|
||||
<a class="pointer" onclick="if (window.parent) window.parent.<?php echo $this->escape($function);?>('<?php echo $item->id; ?>', '<?php echo $this->escape(addslashes($item->name)); ?>');">
|
||||
<?php echo $this->escape($item->name); ?></a>
|
||||
</th>
|
||||
<td class="center">
|
||||
<?php if (!empty($item->linked_user)) : ?>
|
||||
<?php echo $item->linked_user;?>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php echo $this->escape($item->access_level); ?>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php echo $this->escape($item->category_title); ?>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php if ($item->language == '*'):?>
|
||||
<?php echo JText::alt('JALL', 'language'); ?>
|
||||
<?php else:?>
|
||||
<?php echo $item->language_title ? $this->escape($item->language_title) : JText::_('JUNDEFINED'); ?>
|
||||
<?php endif;?>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php echo (int) $item->id; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<?php echo $this->pagination->getListFooter(); ?>
|
||||
|
||||
<input type="hidden" name="task" value="" />
|
||||
<input type="hidden" name="filter_order" value="<?php echo $listOrder; ?>" />
|
||||
<input type="hidden" name="filter_order_Dir" value="<?php echo $listDirn; ?>" />
|
||||
<?php echo JHtml::_('form.token'); ?>
|
||||
</form>
|
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
286
administrator/templates/hathor/html/com_content/article/edit.php
Normal file
286
administrator/templates/hathor/html/com_content/article/edit.php
Normal file
@ -0,0 +1,286 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @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 the component HTML helpers.
|
||||
JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
|
||||
|
||||
JHtml::_('behavior.formvalidation');
|
||||
JHtml::_('behavior.keepalive');
|
||||
|
||||
// Create shortcut to parameters.
|
||||
$params = $this->state->get('params');
|
||||
$params = $params->toArray();
|
||||
|
||||
// This checks if the config options have ever been saved. If they haven't they will fall back to the original settings.
|
||||
$editoroptions = isset($params['show_publishing_options']);
|
||||
|
||||
$input = JFactory::getApplication()->input;
|
||||
|
||||
if (!$editoroptions):
|
||||
$params['show_publishing_options'] = '1';
|
||||
$params['show_article_options'] = '1';
|
||||
$params['show_urls_images_backend'] = '0';
|
||||
$params['show_urls_images_frontend'] = '0';
|
||||
endif;
|
||||
|
||||
// Check if the article uses configuration settings besides global. If so, use them.
|
||||
if (!empty($this->item->attribs['show_publishing_options'])):
|
||||
$params['show_publishing_options'] = $this->item->attribs['show_publishing_options'];
|
||||
endif;
|
||||
if (!empty($this->item->attribs['show_article_options'])):
|
||||
$params['show_article_options'] = $this->item->attribs['show_article_options'];
|
||||
endif;
|
||||
if (!empty($this->item->attribs['show_urls_images_backend'])):
|
||||
$params['show_urls_images_backend'] = $this->item->attribs['show_urls_images_backend'];
|
||||
endif;
|
||||
|
||||
?>
|
||||
|
||||
<script type="text/javascript">
|
||||
Joomla.submitbutton = function(task)
|
||||
{
|
||||
if (task == 'article.cancel' || document.formvalidator.isValid(document.id('item-form')))
|
||||
{
|
||||
<?php echo $this->form->getField('articletext')->save(); ?>
|
||||
Joomla.submitform(task, document.getElementById('item-form'));
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<div class="article-edit">
|
||||
|
||||
<form action="<?php echo JRoute::_('index.php?option=com_content&layout=edit&id='.(int) $this->item->id); ?>" method="post" name="adminForm" id="item-form" class="form-validate">
|
||||
<div class="col main-section">
|
||||
<fieldset class="adminform">
|
||||
<legend><?php echo empty($this->item->id) ? JText::_('COM_CONTENT_NEW_ARTICLE') : JText::sprintf('COM_CONTENT_EDIT_ARTICLE', $this->item->id); ?></legend>
|
||||
<ul class="adminformlist">
|
||||
<li><?php echo $this->form->getLabel('title'); ?>
|
||||
<?php echo $this->form->getInput('title'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('alias'); ?>
|
||||
<?php echo $this->form->getInput('alias'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('catid'); ?>
|
||||
<?php echo $this->form->getInput('catid'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('state'); ?>
|
||||
<?php echo $this->form->getInput('state'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('access'); ?>
|
||||
<?php echo $this->form->getInput('access'); ?></li>
|
||||
|
||||
<?php if ($this->canDo->get('core.admin')) : ?>
|
||||
<li><span class="faux-label"><?php echo JText::_('JGLOBAL_ACTION_PERMISSIONS_LABEL'); ?></span>
|
||||
<button type="button" onclick="document.location.href='#access-rules';">
|
||||
<?php echo JText::_('JGLOBAL_PERMISSIONS_ANCHOR'); ?>
|
||||
</button>
|
||||
</li>
|
||||
<?php endif; ?>
|
||||
|
||||
<li><?php echo $this->form->getLabel('featured'); ?>
|
||||
<?php echo $this->form->getInput('featured'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('language'); ?>
|
||||
<?php echo $this->form->getInput('language'); ?></li>
|
||||
|
||||
<!-- Tag field -->
|
||||
<li><?php echo $this->form->getLabel('tags'); ?>
|
||||
<div class="is-tagbox">
|
||||
<?php echo $this->form->getInput('tags'); ?>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('id'); ?>
|
||||
<?php echo $this->form->getInput('id'); ?></li>
|
||||
|
||||
</ul>
|
||||
|
||||
<div class="clr"></div>
|
||||
<?php echo $this->form->getLabel('articletext'); ?>
|
||||
<div class="clr"></div>
|
||||
<?php echo $this->form->getInput('articletext'); ?>
|
||||
<div class="clr"></div>
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
<div class="col options-section">
|
||||
<?php echo JHtml::_('sliders.start', 'content-sliders-' . $this->item->id, array('useCookie' => 1)); ?>
|
||||
<?php // Do not show the publishing options if the edit form is configured not to. ?>
|
||||
<?php if ($params['show_publishing_options'] || ( $params['show_publishing_options'] = '' && !empty($editoroptions)) ) : ?>
|
||||
<?php echo JHtml::_('sliders.panel', JText::_('COM_CONTENT_FIELDSET_PUBLISHING'), 'publishing-details'); ?>
|
||||
<fieldset class="panelform">
|
||||
<ul class="adminformlist">
|
||||
<li><?php echo $this->form->getLabel('created_by'); ?>
|
||||
<?php echo $this->form->getInput('created_by'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('created_by_alias'); ?>
|
||||
<?php echo $this->form->getInput('created_by_alias'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('created'); ?>
|
||||
<?php echo $this->form->getInput('created'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('publish_up'); ?>
|
||||
<?php echo $this->form->getInput('publish_up'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('publish_down'); ?>
|
||||
<?php echo $this->form->getInput('publish_down'); ?></li>
|
||||
|
||||
<?php if ($this->item->modified_by) : ?>
|
||||
<li><?php echo $this->form->getLabel('modified_by'); ?>
|
||||
<?php echo $this->form->getInput('modified_by'); ?></li>
|
||||
|
||||
<li><?php echo $this->form->getLabel('modified'); ?>
|
||||
<?php echo $this->form->getInput('modified'); ?></li>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->item->version) : ?>
|
||||
<li><?php echo $this->form->getLabel('version'); ?>
|
||||
<?php echo $this->form->getInput('version'); ?></li>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->item->hits) : ?>
|
||||
<li><?php echo $this->form->getLabel('hits'); ?>
|
||||
<?php echo $this->form->getInput('hits'); ?></li>
|
||||
<?php endif; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
<?php endif; ?>
|
||||
<?php $fieldSets = $this->form->getFieldsets('attribs'); ?>
|
||||
<?php foreach ($fieldSets as $name => $fieldSet) : ?>
|
||||
<?php
|
||||
// If the parameter says to show the article options or if the parameters have never been set, we will
|
||||
// show the article options.
|
||||
|
||||
if ($params['show_article_options'] || (( $params['show_article_options'] == '' && !empty($editoroptions) ))):
|
||||
|
||||
// Go through all the fieldsets except the configuration and basic-limited, which are
|
||||
// handled separately below.
|
||||
if ($name != 'editorConfig' && $name != 'basic-limited') : ?>
|
||||
<?php echo JHtml::_('sliders.panel', JText::_($fieldSet->label), $name.'-options'); ?>
|
||||
<?php if (isset($fieldSet->description) && trim($fieldSet->description)) : ?>
|
||||
<p class="tip"><?php echo $this->escape(JText::_($fieldSet->description));?></p>
|
||||
<?php endif; ?>
|
||||
<fieldset class="panelform">
|
||||
<ul class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset($name) as $field) : ?>
|
||||
<li><?php echo $field->label; ?>
|
||||
<?php echo $field->input; ?></li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
<?php endif ?>
|
||||
<?php // If we are not showing the options we need to use the hidden fields so the values are not lost. ?>
|
||||
<?php elseif ($name == 'basic-limited') : ?>
|
||||
<?php foreach ($this->form->getFieldset('basic-limited') as $field) : ?>
|
||||
<?php echo $field->input; ?>
|
||||
<?php endforeach; ?>
|
||||
|
||||
<?php endif; ?>
|
||||
<?php endforeach; ?>
|
||||
<?php // Not the best place, but here for continuity with 1.5/1/6/1.7 ?>
|
||||
<fieldset class="panelform">
|
||||
</fieldset>
|
||||
<?php
|
||||
// We need to make a separate space for the configuration
|
||||
// so that those fields always show to those wih permissions
|
||||
if ( $this->canDo->get('core.admin') ): ?>
|
||||
<?php echo JHtml::_('sliders.panel', JText::_('COM_CONTENT_SLIDER_EDITOR_CONFIG'), 'configure-sliders'); ?>
|
||||
<fieldset class="panelform" >
|
||||
<ul class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset('editorConfig') as $field) : ?>
|
||||
<li><?php echo $field->label; ?>
|
||||
<?php echo $field->input; ?></li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
<?php endif ?>
|
||||
|
||||
<?php // The url and images fields only show if the configuration is set to allow them. ?>
|
||||
<?php // This is for legacy reasons. ?>
|
||||
<?php if ($params['show_urls_images_backend']) : ?>
|
||||
<?php echo JHtml::_('sliders.panel', JText::_('COM_CONTENT_FIELDSET_URLS_AND_IMAGES'), 'urls_and_images-options'); ?>
|
||||
<fieldset class="panelform">
|
||||
<ul class="adminformlist">
|
||||
<li>
|
||||
<?php echo $this->form->getLabel('images'); ?>
|
||||
<?php echo $this->form->getInput('images'); ?></li>
|
||||
|
||||
<?php foreach ($this->form->getGroup('images') as $field) : ?>
|
||||
<li>
|
||||
<?php if (!$field->hidden) : ?>
|
||||
<?php echo $field->label; ?>
|
||||
<?php endif; ?>
|
||||
<?php echo $field->input; ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
<?php foreach ($this->form->getGroup('urls') as $field) : ?>
|
||||
<li>
|
||||
<?php if (!$field->hidden) : ?>
|
||||
<?php echo $field->label; ?>
|
||||
<?php endif; ?>
|
||||
<?php echo $field->input; ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
<?php endif; ?>
|
||||
<?php echo JHtml::_('sliders.panel', JText::_('JGLOBAL_FIELDSET_METADATA_OPTIONS'), 'meta-options'); ?>
|
||||
<fieldset class="panelform">
|
||||
<legend class="element-invisible"><?php echo JText::_('JGLOBAL_FIELDSET_METADATA_OPTIONS'); ?></legend>
|
||||
<?php echo $this->loadTemplate('metadata'); ?>
|
||||
</fieldset>
|
||||
<?php
|
||||
|
||||
$fieldSets = $this->form->getFieldsets('associations');
|
||||
|
||||
foreach ($fieldSets as $name => $fieldSet) :
|
||||
$label = !empty($fieldSet->label) ? $fieldSet->label : 'COM_CONTENT_'.$name.'_FIELDSET_LABEL';
|
||||
echo JHtml::_('sliders.panel', JText::_($label), $name.'-options');
|
||||
if (isset($fieldSet->description) && trim($fieldSet->description)) :
|
||||
echo '<p class="tip">'.$this->escape(JText::_($fieldSet->description)).'</p>';
|
||||
endif;
|
||||
?>
|
||||
<div class="clr"></div>
|
||||
<fieldset class="panelform">
|
||||
<ul class="adminformlist">
|
||||
<?php foreach ($this->form->getFieldset($name) as $field) : ?>
|
||||
<li><?php echo $field->label; ?>
|
||||
<?php echo $field->input; ?></li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
<?php endforeach;?>
|
||||
<?php echo JHtml::_('sliders.end'); ?>
|
||||
</div>
|
||||
|
||||
<div class="clr"></div>
|
||||
<?php if ($this->canDo->get('core.admin')) : ?>
|
||||
<div class="col rules-section">
|
||||
<?php echo JHtml::_('sliders.start', 'permissions-sliders-' . $this->item->id, array('useCookie' => 1)); ?>
|
||||
|
||||
<?php echo JHtml::_('sliders.panel', JText::_('COM_CONTENT_FIELDSET_RULES'), 'access-rules'); ?>
|
||||
<fieldset class="panelform">
|
||||
<legend class="element-invisible"><?php echo JText::_('COM_CONTENT_FIELDSET_RULES'); ?></legend>
|
||||
<?php echo $this->form->getLabel('rules'); ?>
|
||||
<?php echo $this->form->getInput('rules'); ?>
|
||||
</fieldset>
|
||||
|
||||
<?php echo JHtml::_('sliders.end'); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<div>
|
||||
<input type="hidden" name="task" value="" />
|
||||
<input type="hidden" name="return" value="<?php echo $input->getCmd('return');?>" />
|
||||
<?php echo JHtml::_('form.token'); ?>
|
||||
</div>
|
||||
</form>
|
||||
<div class="clr"></div>
|
||||
</div>
|
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
@ -0,0 +1,240 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @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;
|
||||
|
||||
JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
|
||||
|
||||
JHtml::_('behavior.multiselect');
|
||||
JHtml::_('behavior.modal');
|
||||
|
||||
$app = JFactory::getApplication();
|
||||
$user = JFactory::getUser();
|
||||
$userId = $user->get('id');
|
||||
$listOrder = $this->escape($this->state->get('list.ordering'));
|
||||
$listDirn = $this->escape($this->state->get('list.direction'));
|
||||
$saveOrder = $listOrder == 'a.ordering';
|
||||
$assoc = isset($app->item_associations) ? $app->item_associations : 0;
|
||||
$n = count($this->items);
|
||||
?>
|
||||
<form action="<?php echo JRoute::_('index.php?option=com_content&view=articles'); ?>" method="post" name="adminForm" id="adminForm">
|
||||
<?php if (!empty( $this->sidebar)) : ?>
|
||||
<div id="j-sidebar-container" class="span2">
|
||||
<?php echo $this->sidebar; ?>
|
||||
</div>
|
||||
<div id="j-main-container" class="span10">
|
||||
<?php else : ?>
|
||||
<div id="j-main-container">
|
||||
<?php endif;?>
|
||||
<fieldset id="filter-bar">
|
||||
<legend class="element-invisible"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?></legend>
|
||||
<div class="filter-search">
|
||||
<label class="filter-search-lbl" for="filter_search"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?></label>
|
||||
<input type="text" name="filter_search" id="filter_search" value="<?php echo $this->escape($this->state->get('filter.search')); ?>" title="<?php echo JText::_('COM_CONTENT_FILTER_SEARCH_DESC'); ?>" />
|
||||
<button type="submit" class="btn"><?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button>
|
||||
<button type="button" onclick="document.id('filter_search').value='';this.form.submit();"><?php echo JText::_('JSEARCH_FILTER_CLEAR'); ?></button>
|
||||
</div>
|
||||
|
||||
<div class="filter-select">
|
||||
<label class="selectlabel" for="filter_published"><?php echo JText::_('JOPTION_SELECT_PUBLISHED'); ?></label>
|
||||
<select name="filter_published" class="inputbox" id="filter_published">
|
||||
<option value=""><?php echo JText::_('JOPTION_SELECT_PUBLISHED'); ?></option>
|
||||
<?php echo JHtml::_('select.options', JHtml::_('jgrid.publishedOptions'), 'value', 'text', $this->state->get('filter.published'), true); ?>
|
||||
</select>
|
||||
|
||||
<label class="selectlabel" for="filter_category_id"><?php echo JText::_('JOPTION_SELECT_CATEGORY'); ?></label>
|
||||
<select name="filter_category_id" class="inputbox" id="filter_category_id">
|
||||
<option value=""><?php echo JText::_('JOPTION_SELECT_CATEGORY'); ?></option>
|
||||
<?php echo JHtml::_('select.options', JHtml::_('category.options', 'com_content'), 'value', 'text', $this->state->get('filter.category_id')); ?>
|
||||
</select>
|
||||
|
||||
<label class="selectlabel" for="filter_level"><?php echo JText::_('JOPTION_SELECT_MAX_LEVELS'); ?></label>
|
||||
<select name="filter_level" class="inputbox" id="filter_level">
|
||||
<option value=""><?php echo JText::_('JOPTION_SELECT_MAX_LEVELS'); ?></option>
|
||||
<?php echo JHtml::_('select.options', $this->f_levels, 'value', 'text', $this->state->get('filter.level')); ?>
|
||||
</select>
|
||||
|
||||
<label class="selectlabel" for="filter_access"><?php echo JText::_('JOPTION_SELECT_ACCESS'); ?></label>
|
||||
<select name="filter_access" class="inputbox" id="filter_access">
|
||||
<option value=""><?php echo JText::_('JOPTION_SELECT_ACCESS'); ?></option>
|
||||
<?php echo JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text', $this->state->get('filter.access')); ?>
|
||||
</select>
|
||||
|
||||
<label class="selectlabel" for="filter_author_id"><?php echo JText::_('JOPTION_SELECT_AUTHOR'); ?></label>
|
||||
<select name="filter_author_id" class="inputbox" id="filter_author_id">
|
||||
<option value=""><?php echo JText::_('JOPTION_SELECT_AUTHOR'); ?></option>
|
||||
<?php echo JHtml::_('select.options', $this->authors, 'value', 'text', $this->state->get('filter.author_id')); ?>
|
||||
</select>
|
||||
|
||||
<label class="selectlabel" for="filter_language"><?php echo JText::_('JOPTION_SELECT_LANGUAGE'); ?></label>
|
||||
<select name="filter_language" class="inputbox" id="filter_language">
|
||||
<option value=""><?php echo JText::_('JOPTION_SELECT_LANGUAGE'); ?></option>
|
||||
<?php echo JHtml::_('select.options', JHtml::_('contentlanguage.existing', true, true), 'value', 'text', $this->state->get('filter.language')); ?>
|
||||
</select>
|
||||
|
||||
<button type="submit" id="filter-go">
|
||||
<?php echo JText::_('JSUBMIT'); ?></button>
|
||||
</div>
|
||||
</fieldset>
|
||||
<div class="clr"> </div>
|
||||
|
||||
<table class="adminlist">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="checkmark-col">
|
||||
<input type="checkbox" name="checkall-toggle" value="" title="<?php echo JText::_('JGLOBAL_CHECK_ALL'); ?>" onclick="Joomla.checkAll(this)" />
|
||||
</th>
|
||||
<th class="title">
|
||||
<?php echo JHtml::_('grid.sort', 'JGLOBAL_TITLE', 'a.title', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="nowrap state-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JSTATUS', 'a.state', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="nowrap featured-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JFEATURED', 'a.featured', $listDirn, $listOrder, null, 'desc'); ?>
|
||||
</th>
|
||||
<th class="title category-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JCATEGORY', 'category_title', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="nowrap ordering-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ORDERING', 'a.ordering', $listDirn, $listOrder); ?>
|
||||
<?php if ($saveOrder) : ?>
|
||||
<?php echo JHtml::_('grid.order', $this->items, 'filesave.png', 'articles.saveorder'); ?>
|
||||
<?php endif; ?>
|
||||
</th>
|
||||
<th class="title access-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ACCESS', 'access_level', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<?php if ($assoc) : ?>
|
||||
<th width="5%">
|
||||
<?php echo JHtml::_('grid.sort', 'COM_CONTENT_HEADING_ASSOCIATION', 'association', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<?php endif;?>
|
||||
<th class="title created-by-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JGRID_HEADING_CREATED_BY', 'a.created_by', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="title date-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JDATE', 'a.created', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="hits-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JGLOBAL_HITS', 'a.hits', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="language-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JGRID_HEADING_LANGUAGE', 'language', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="nowrap id-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ID', 'a.id', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<?php foreach ($this->items as $i => $item) :
|
||||
$item->max_ordering = 0; //??
|
||||
$ordering = ($listOrder == 'a.ordering');
|
||||
$canCreate = $user->authorise('core.create', 'com_content.category.' . $item->catid);
|
||||
$canEdit = $user->authorise('core.edit', 'com_content.article.' . $item->id);
|
||||
$canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $userId || $item->checked_out == 0;
|
||||
$canEditOwn = $user->authorise('core.edit.own', 'com_content.article.' . $item->id) && $item->created_by == $userId;
|
||||
$canChange = $user->authorise('core.edit.state', 'com_content.article.' . $item->id) && $canCheckin;
|
||||
?>
|
||||
<tr class="row<?php echo $i % 2; ?>">
|
||||
<th class="center">
|
||||
<?php echo JHtml::_('grid.id', $i, $item->id); ?>
|
||||
</th>
|
||||
<td>
|
||||
<?php if ($item->checked_out) : ?>
|
||||
<?php echo JHtml::_('jgrid.checkedout', $i, $item->editor, $item->checked_out_time, 'articles.', $canCheckin); ?>
|
||||
<?php endif; ?>
|
||||
<?php if ($canEdit || $canEditOwn) : ?>
|
||||
<a href="<?php echo JRoute::_('index.php?option=com_content&task=article.edit&id='.$item->id); ?>">
|
||||
<?php echo $this->escape($item->title); ?></a>
|
||||
<?php else : ?>
|
||||
<?php echo $this->escape($item->title); ?>
|
||||
<?php endif; ?>
|
||||
<p class="smallsub">
|
||||
<?php echo JText::sprintf('JGLOBAL_LIST_ALIAS', $this->escape($item->alias)); ?></p>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php echo JHtml::_('jgrid.published', $item->state, $i, 'articles.', $canChange, 'cb', $item->publish_up, $item->publish_down); ?>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php echo JHtml::_('contentadministrator.featured', $item->featured, $i, $canChange); ?>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php echo $this->escape($item->category_title); ?>
|
||||
</td>
|
||||
<td class="order">
|
||||
<?php if ($canChange) : ?>
|
||||
<?php if ($saveOrder) : ?>
|
||||
<?php if ($listDirn == 'asc') : ?>
|
||||
<span><?php echo $this->pagination->orderUpIcon($i, ($item->catid == @$this->items[$i - 1]->catid), 'articles.orderup', 'JLIB_HTML_MOVE_UP', $ordering); ?></span>
|
||||
<span><?php echo $this->pagination->orderDownIcon($i, $this->pagination->total, ($item->catid == @$this->items[$i + 1]->catid), 'articles.orderdown', 'JLIB_HTML_MOVE_DOWN', $ordering); ?></span>
|
||||
<?php elseif ($listDirn == 'desc') : ?>
|
||||
<span><?php echo $this->pagination->orderUpIcon($i, ($item->catid == @$this->items[$i - 1]->catid), 'articles.orderdown', 'JLIB_HTML_MOVE_UP', $ordering); ?></span>
|
||||
<span><?php echo $this->pagination->orderDownIcon($i, $this->pagination->total, ($item->catid == @$this->items[$i + 1]->catid), 'articles.orderup', 'JLIB_HTML_MOVE_DOWN', $ordering); ?></span>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php $disabled = $saveOrder ? '' : 'disabled="disabled"'; ?>
|
||||
<input type="text" name="order[]" value="<?php echo $item->ordering; ?>" <?php echo $disabled; ?> class="text-area-order" title="<?php echo $item->title; ?> order" />
|
||||
<?php else : ?>
|
||||
<?php echo $item->ordering; ?>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php echo $this->escape($item->access_level); ?>
|
||||
</td>
|
||||
<?php if ($assoc) : ?>
|
||||
<td class="center">
|
||||
<?php if ($item->association):?>
|
||||
<?php echo JHtml::_('contentadministrator.association', $item->id); ?>
|
||||
<?php endif;?>
|
||||
</td>
|
||||
<?php endif;?>
|
||||
<td class="center">
|
||||
<?php if ($item->created_by_alias) : ?>
|
||||
<?php echo $this->escape($item->author_name); ?>
|
||||
<p class="smallsub"> <?php echo JText::sprintf('JGLOBAL_LIST_ALIAS', $this->escape($item->created_by_alias)); ?></p>
|
||||
<?php else : ?>
|
||||
<?php echo $this->escape($item->author_name); ?>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<td class="center nowrap">
|
||||
<?php echo JHtml::_('date', $item->created, JText::_('DATE_FORMAT_LC4')); ?>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php echo (int) $item->hits; ?>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php if ($item->language == '*'):?>
|
||||
<?php echo JText::alt('JALL', 'language'); ?>
|
||||
<?php else:?>
|
||||
<?php echo $item->language_title ? $this->escape($item->language_title) : JText::_('JUNDEFINED'); ?>
|
||||
<?php endif;?>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php echo (int) $item->id; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<?php //Load the batch processing form. ?>
|
||||
<?php echo $this->loadTemplate('batch'); ?>
|
||||
|
||||
<?php echo $this->pagination->getListFooter(); ?>
|
||||
|
||||
<input type="hidden" name="task" value="" />
|
||||
<input type="hidden" name="boxchecked" value="0" />
|
||||
<input type="hidden" name="filter_order" value="<?php echo $listOrder; ?>" />
|
||||
<input type="hidden" name="filter_order_Dir" value="<?php echo $listDirn; ?>" />
|
||||
<?php echo JHtml::_('form.token'); ?>
|
||||
</div>
|
||||
</form>
|
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
@ -0,0 +1,138 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @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();
|
||||
|
||||
if ($app->isSite())
|
||||
{
|
||||
JSession::checkToken('get') or die(JText::_('JINVALID_TOKEN'));
|
||||
}
|
||||
|
||||
require_once JPATH_ROOT . '/components/com_content/helpers/route.php';
|
||||
|
||||
JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
|
||||
|
||||
$function = $app->input->getCmd('function', 'jSelectArticle');
|
||||
$listOrder = $this->escape($this->state->get('list.ordering'));
|
||||
$listDirn = $this->escape($this->state->get('list.direction'));
|
||||
?>
|
||||
<form action="<?php echo JRoute::_('index.php?option=com_content&view=articles&layout=modal&tmpl=component&function='.$function.'&'.JSession::getFormToken().'=1');?>" method="post" name="adminForm" id="adminForm">
|
||||
<fieldset id="filter-bar">
|
||||
<legend class="element-invisible"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?></legend>
|
||||
<div class="filter-search">
|
||||
<label class="filter-search-lbl" for="filter_search">
|
||||
<?php echo JText::_('JSEARCH_FILTER_LABEL'); ?>
|
||||
</label>
|
||||
<input type="text" name="filter_search" id="filter_search" value="<?php echo $this->escape($this->state->get('filter.search')); ?>" title="<?php echo JText::_('COM_CONTENT_FILTER_SEARCH_DESC'); ?>" />
|
||||
|
||||
<button type="submit">
|
||||
<?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button>
|
||||
<button type="button" onclick="document.id('filter_search').value='';this.form.submit();">
|
||||
<?php echo JText::_('JSEARCH_FILTER_CLEAR'); ?></button>
|
||||
</div>
|
||||
|
||||
<div class="filter-select">
|
||||
<label class="selectlabel" for="filter_access"><?php echo JText::_('JOPTION_SELECT_ACCESS'); ?></label>
|
||||
<select name="filter_access" class="inputbox" id="filter_access">
|
||||
<option value=""><?php echo JText::_('JOPTION_SELECT_ACCESS');?></option>
|
||||
<?php echo JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text', $this->state->get('filter.access'));?>
|
||||
</select>
|
||||
|
||||
<label class="selectlabel" for="filter_published"><?php echo JText::_('JOPTION_SELECT_PUBLISHED'); ?></label>
|
||||
<select name="filter_published" class="inputbox" id="filter_published">
|
||||
<option value=""><?php echo JText::_('JOPTION_SELECT_PUBLISHED');?></option>
|
||||
<?php echo JHtml::_('select.options', JHtml::_('jgrid.publishedOptions'), 'value', 'text', $this->state->get('filter.published'), true);?>
|
||||
</select>
|
||||
|
||||
<label class="selectlabel" for="filter_category_id"><?php echo JText::_('JOPTION_SELECT_CATEGORY'); ?></label>
|
||||
<select name="filter_category_id" class="inputbox" id="filter_category_id">
|
||||
<option value=""><?php echo JText::_('JOPTION_SELECT_CATEGORY');?></option>
|
||||
<?php echo JHtml::_('select.options', JHtml::_('category.options', 'com_content'), 'value', 'text', $this->state->get('filter.category_id'));?>
|
||||
</select>
|
||||
<?php if ($this->state->get('filter.forcedLanguage')) : ?>
|
||||
<input type="hidden" name="forcedLanguage" value="<?php echo $this->escape($this->state->get('filter.forcedLanguage')); ?>" />
|
||||
<input type="hidden" name="filter_language" value="<?php echo $this->escape($this->state->get('filter.language')); ?>" />
|
||||
<?php else : ?>
|
||||
<label class="selectlabel" for="filter_language"><?php echo JText::_('JOPTION_SELECT_LANGUAGE'); ?></label>
|
||||
<select name="filter_language" class="inputbox" id="filter_language">
|
||||
<option value=""><?php echo JText::_('JOPTION_SELECT_LANGUAGE');?></option>
|
||||
<?php echo JHtml::_('select.options', JHtml::_('contentlanguage.existing', true, true), 'value', 'text', $this->state->get('filter.language'));?>
|
||||
</select>
|
||||
<?php endif; ?>
|
||||
|
||||
<button type="submit" id="filter-go">
|
||||
<?php echo JText::_('JSUBMIT'); ?></button>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<table class="adminlist modal">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="title">
|
||||
<?php echo JHtml::_('grid.sort', 'JGLOBAL_TITLE', 'a.title', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="title access-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ACCESS', 'access_level', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="nowrap state-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JCATEGORY', 'a.catid', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="title language-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JGRID_HEADING_LANGUAGE', 'language', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="title date-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JDATE', 'a.created', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="nowrap id-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ID', 'a.id', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<?php foreach ($this->items as $i => $item) : ?>
|
||||
<tr class="row<?php echo $i % 2; ?>">
|
||||
<th>
|
||||
<a class="pointer" onclick="if (window.parent) window.parent.<?php echo $this->escape($function);?>('<?php echo $item->id; ?>', '<?php echo $this->escape(addslashes($item->title)); ?>', '<?php echo $this->escape($item->catid); ?>', null, '<?php echo $this->escape(ContentHelperRoute::getArticleRoute($item->id, $item->catid)); ?>');">
|
||||
<?php echo $this->escape($item->title); ?></a>
|
||||
</th>
|
||||
<td class="center">
|
||||
<?php echo $this->escape($item->access_level); ?>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php echo $this->escape($item->category_title); ?>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php if ($item->language == '*'):?>
|
||||
<?php echo JText::alt('JALL', 'language'); ?>
|
||||
<?php else:?>
|
||||
<?php echo $item->language_title ? $this->escape($item->language_title) : JText::_('JUNDEFINED'); ?>
|
||||
<?php endif;?>
|
||||
</td>
|
||||
<td class="center nowrap">
|
||||
<?php echo JHtml::_('date', $item->created, JText::_('DATE_FORMAT_LC4')); ?>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php echo (int) $item->id; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<?php echo $this->pagination->getListFooter(); ?>
|
||||
|
||||
<input type="hidden" name="task" value="" />
|
||||
<input type="hidden" name="boxchecked" value="0" />
|
||||
<input type="hidden" name="filter_order" value="<?php echo $listOrder; ?>" />
|
||||
<input type="hidden" name="filter_order_Dir" value="<?php echo $listDirn; ?>" />
|
||||
<?php echo JHtml::_('form.token'); ?>
|
||||
</form>
|
@ -0,0 +1,212 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
/* add accessibility, labels on input forms */
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
|
||||
|
||||
JHtml::_('behavior.multiselect');
|
||||
|
||||
$user = JFactory::getUser();
|
||||
$listOrder = $this->escape($this->state->get('list.ordering'));
|
||||
$listDirn = $this->escape($this->state->get('list.direction'));
|
||||
$canOrder = $user->authorise('core.edit.state', 'com_content.article');
|
||||
$saveOrder = $listOrder == 'fp.ordering';
|
||||
$n = count($this->items);
|
||||
?>
|
||||
<form action="<?php echo JRoute::_('index.php?option=com_content&view=featured'); ?>" method="post" name="adminForm" id="adminForm">
|
||||
<?php if (!empty( $this->sidebar)) : ?>
|
||||
<div id="j-sidebar-container" class="span2">
|
||||
<?php echo $this->sidebar; ?>
|
||||
</div>
|
||||
<div id="j-main-container" class="span10">
|
||||
<?php else : ?>
|
||||
<div id="j-main-container">
|
||||
<?php endif;?>
|
||||
<fieldset id="filter-bar">
|
||||
<legend class="element-invisible"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?></legend>
|
||||
<div class="filter-search">
|
||||
<label class="filter-search-lbl" for="filter_search"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?></label>
|
||||
<input type="text" name="filter_search" id="filter_search" value="<?php echo $this->escape($this->state->get('filter.search')); ?>" title="<?php echo JText::_('COM_CONTENT_FILTER_SEARCH_DESC'); ?>" />
|
||||
<button type="submit"><?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button>
|
||||
<button type="button" onclick="document.id('filter_search').value='';this.form.submit();"><?php echo JText::_('JSEARCH_FILTER_CLEAR'); ?></button>
|
||||
</div>
|
||||
|
||||
<div class="filter-select">
|
||||
<label class="selectlabel" for="filter_published"><?php echo JText::_('JOPTION_SELECT_PUBLISHED'); ?></label>
|
||||
<select name="filter_published" class="inputbox" id="filter_published">
|
||||
<option value=""><?php echo JText::_('JOPTION_SELECT_PUBLISHED'); ?></option>
|
||||
<?php echo JHtml::_('select.options', JHtml::_('jgrid.publishedOptions'), 'value', 'text', $this->state->get('filter.published'), true); ?>
|
||||
</select>
|
||||
|
||||
<label class="selectlabel" for="filter_category_id"><?php echo JText::_('JOPTION_SELECT_CATEGORY'); ?></label>
|
||||
<select name="filter_category_id" class="inputbox" id="filter_category_id">
|
||||
<option value=""><?php echo JText::_('JOPTION_SELECT_CATEGORY'); ?></option>
|
||||
<?php echo JHtml::_('select.options', JHtml::_('category.options', 'com_content'), 'value', 'text', $this->state->get('filter.category_id')); ?>
|
||||
</select>
|
||||
|
||||
<label class="selectlabel" for="filter_level"><?php echo JText::_('JOPTION_SELECT_MAX_LEVELS'); ?></label>
|
||||
<select name="filter_level" class="inputbox" id="filter_level">
|
||||
<option value=""><?php echo JText::_('JOPTION_SELECT_MAX_LEVELS'); ?></option>
|
||||
<?php echo JHtml::_('select.options', $this->f_levels, 'value', 'text', $this->state->get('filter.level')); ?>
|
||||
</select>
|
||||
|
||||
<label class="selectlabel" for="filter_access"><?php echo JText::_('JOPTION_SELECT_ACCESS'); ?></label>
|
||||
<select name="filter_access" class="inputbox" id="filter_access">
|
||||
<option value=""><?php echo JText::_('JOPTION_SELECT_ACCESS');?></option>
|
||||
<?php echo JHtml::_('select.options', JHtml::_('access.assetgroups'), 'value', 'text', $this->state->get('filter.access')); ?>
|
||||
</select>
|
||||
|
||||
<label class="selectlabel" for="filter_language"><?php echo JText::_('JOPTION_SELECT_LANGUAGE'); ?></label>
|
||||
<select name="filter_language" class="inputbox" id="filter_language">
|
||||
<option value=""><?php echo JText::_('JOPTION_SELECT_LANGUAGE'); ?></option>
|
||||
<?php echo JHtml::_('select.options', JHtml::_('contentlanguage.existing', true, true), 'value', 'text', $this->state->get('filter.language')); ?>
|
||||
</select>
|
||||
|
||||
<button type="submit" id="filter-go">
|
||||
<?php echo JText::_('JSUBMIT'); ?></button>
|
||||
</div>
|
||||
</fieldset>
|
||||
<div class="clr"> </div>
|
||||
|
||||
<table class="adminlist">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="checkmark-col">
|
||||
<input type="checkbox" name="checkall-toggle" value="" title="<?php echo JText::_('JGLOBAL_CHECK_ALL'); ?>" onclick="Joomla.checkAll(this)" />
|
||||
</th>
|
||||
<th class="title">
|
||||
<?php echo JHtml::_('grid.sort', 'JGLOBAL_TITLE', 'a.title', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="nowrap state-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JSTATUS', 'a.state', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="title category-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JCATEGORY', 'a.catid', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="nowrap ordering-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ORDERING', 'fp.ordering', $listDirn, $listOrder); ?>
|
||||
<?php if ($canOrder && $saveOrder) :?>
|
||||
<?php echo JHtml::_('grid.order', $this->items, 'filesave.png', 'featured.saveorder'); ?>
|
||||
<?php endif; ?>
|
||||
</th>
|
||||
<th class="title access-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ACCESS', 'a.access', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="title created-by-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JGRID_HEADING_CREATED_BY', 'a.created_by', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="title date-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JDATE', 'a.created', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="hits-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JGLOBAL_HITS', 'a.hits', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="language-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JGRID_HEADING_LANGUAGE', 'language', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
<th class="nowrap id-col">
|
||||
<?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ID', 'a.id', $listDirn, $listOrder); ?>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<?php
|
||||
foreach ($this->items as $i => $item) :
|
||||
$item->max_ordering = 0; //??
|
||||
$ordering = ($listOrder == 'fp.ordering');
|
||||
$assetId = 'com_content.article.' . $item->id;
|
||||
$canCreate = $user->authorise('core.create', 'com_content.category.' . $item->catid);
|
||||
$canEdit = $user->authorise('core.edit', 'com_content.article.' . $item->id);
|
||||
$canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $user->get('id')|| $item->checked_out == 0;
|
||||
$canChange = $user->authorise('core.edit.state', 'com_content.article.' . $item->id) && $canCheckin;
|
||||
?>
|
||||
<tr class="row<?php echo $i % 2; ?>">
|
||||
<th class="center">
|
||||
<?php echo JHtml::_('grid.id', $i, $item->id); ?>
|
||||
</th>
|
||||
<td>
|
||||
<?php if ($item->checked_out) : ?>
|
||||
<?php echo JHtml::_('jgrid.checkedout', $i, $item->editor, $item->checked_out_time, 'featured.', $canCheckin); ?>
|
||||
<?php endif; ?>
|
||||
<?php if ($canEdit) : ?>
|
||||
<a href="<?php echo JRoute::_('index.php?option=com_content&task=article.edit&return=featured&id='.$item->id);?>">
|
||||
<?php echo $this->escape($item->title); ?></a>
|
||||
<?php else : ?>
|
||||
<?php echo $this->escape($item->title); ?>
|
||||
<?php endif; ?>
|
||||
<p class="smallsub">
|
||||
<?php echo JText::sprintf('JGLOBAL_LIST_ALIAS', $this->escape($item->alias)); ?></p>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php echo JHtml::_('jgrid.published', $item->state, $i, 'articles.', $canChange, 'cb', $item->publish_up, $item->publish_down); ?>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php echo $this->escape($item->category_title); ?>
|
||||
</td>
|
||||
<td class="order">
|
||||
<?php if ($canChange) : ?>
|
||||
<?php if ($saveOrder) : ?>
|
||||
<?php if ($listDirn == 'asc') : ?>
|
||||
<span><?php echo $this->pagination->orderUpIcon($i, true, 'featured.orderup', 'JLIB_HTML_MOVE_UP', $ordering); ?></span>
|
||||
<span><?php echo $this->pagination->orderDownIcon($i, $this->pagination->total, true, 'featured.orderdown', 'JLIB_HTML_MOVE_DOWN', $ordering); ?></span>
|
||||
<?php elseif ($listDirn == 'desc') : ?>
|
||||
<span><?php echo $this->pagination->orderUpIcon($i, true, 'featured.orderdown', 'JLIB_HTML_MOVE_UP', $ordering); ?></span>
|
||||
<span><?php echo $this->pagination->orderDownIcon($i, $this->pagination->total, true, 'featured.orderup', 'JLIB_HTML_MOVE_DOWN', $ordering); ?></span>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php $disabled = $saveOrder ? '' : 'disabled="disabled"'; ?>
|
||||
<input type="text" name="order[]" value="<?php echo $item->ordering; ?>" <?php echo $disabled; ?> class="text-area-order" title="<?php echo $item->title; ?> order" />
|
||||
<?php else : ?>
|
||||
<?php echo $item->ordering; ?>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php echo $this->escape($item->access_level); ?>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php if ($item->created_by_alias) : ?>
|
||||
<?php echo $this->escape($item->author_name); ?>
|
||||
<p class="smallsub"> <?php echo JText::sprintf('JGLOBAL_LIST_ALIAS', $this->escape($item->created_by_alias)); ?></p>
|
||||
<?php else : ?>
|
||||
<?php echo $this->escape($item->author_name); ?>
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<td class="center nowrap">
|
||||
<?php echo JHtml::_('date', $item->created, JText::_('DATE_FORMAT_LC4')); ?>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php echo (int) $item->hits; ?>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php if ($item->language == '*') : ?>
|
||||
<?php echo JText::alt('JALL', 'language'); ?>
|
||||
<?php else : ?>
|
||||
<?php echo $item->language_title ? $this->escape($item->language_title) : JText::_('JUNDEFINED'); ?>
|
||||
<?php endif;?>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php echo (int) $item->id; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<?php echo $this->pagination->getListFooter(); ?>
|
||||
|
||||
<input type="hidden" name="task" value="" />
|
||||
<input type="hidden" name="boxchecked" value="0" />
|
||||
<input type="hidden" name="filter_order" value="<?php echo $listOrder; ?>" />
|
||||
<input type="hidden" name="filter_order_Dir" value="<?php echo $listDirn; ?>" />
|
||||
<?php echo JHtml::_('form.token'); ?>
|
||||
</div>
|
||||
</form>
|
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Administrator
|
||||
* @subpackage Template.hathor
|
||||
*
|
||||
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
// no direct access
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
echo JHtml::_('sliders.start', 'panel-sliders', array('useCookie' => '1'));
|
||||
|
||||
foreach ($this->modules as $module)
|
||||
{
|
||||
$output = JModuleHelper::renderModule($module);
|
||||
$params = new JRegistry;
|
||||
$params->loadString($module->params);
|
||||
if ($params->get('automatic_title', '0') == '0')
|
||||
{
|
||||
echo JHtml::_('sliders.panel', $module->title, 'cpanel-panel-' . $module->name);
|
||||
}
|
||||
elseif (method_exists('mod'.$module->name.'Helper', 'getTitle'))
|
||||
{
|
||||
echo JHtml::_('sliders.panel', call_user_func_array(array('mod' . $module->name . 'Helper', 'getTitle'), array($params)), 'cpanel-panel-' . $module->name);
|
||||
}
|
||||
else
|
||||
{
|
||||
echo JHtml::_('sliders.panel', JText::_('MOD_' . $module->name . '_TITLE'), 'cpanel-panel-' . $module->name);
|
||||
}
|
||||
echo $output;
|
||||
}
|
||||
|
||||
echo JHtml::_('sliders.end');
|
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><title></title>
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user