Файловый менеджер - Редактировать - /home/wuectly/www/03cbe/hathor.tar
Назад
LICENSE.txt 0000604 00000042630 15245523131 0006371 0 ustar 00 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. less/buttons.less 0000604 00000004215 15245523131 0010077 0 ustar 00 // // Buttons // This is a custom version of Bootstrap's buttons.less file suited for Hathor's needs // -------------------------------------------------- // Base styles // -------------------------------------------------- // Core #form-login .btn { display: inline-block; .ie7-inline-block(); padding: 4px 14px; margin-bottom: 0; // For input.btn font-size: @baseFontSize; line-height: @baseLineHeight; *line-height: @baseLineHeight; text-align: center; vertical-align: middle; cursor: pointer; .buttonBackground(@btnBackground, @btnBackgroundHighlight, @grayDark, 0 1px 1px rgba(255,255,255,.75)); border: 1px solid @btnBorder; *border: 0; // Remove the border to prevent IE7's black border on input:focus border-bottom-color: darken(@btnBorder, 10%); .border-radius(4px); .ie7-restore-left-whitespace(); // Give IE7 some love .box-shadow(~"inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05)"); // Hover state &:hover { color: @grayDark; text-decoration: none; background-color: darken(@white, 10%); *background-color: darken(@white, 15%); /* Buttons in IE7 don't get borders, so darken on hover */ background-position: 0 -15px; // transition is only when going to hover, otherwise the background // behind the gradient (there for IE<=9 fallback) gets mismatched .transition(background-position .1s linear); } // Focus state for keyboard and accessibility &:focus { .tab-focus(); } // Active state &.active, &:active { background-color: darken(@white, 10%); background-color: darken(@white, 15%) e("\9"); background-image: none; outline: 0; .box-shadow(~"inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05)"); } // Disabled state &.disabled, &[disabled] { cursor: default; background-color: darken(@white, 10%); background-image: none; .opacity(65); .box-shadow(none); } } // Button Sizes // -------------------------------------------------- // Large .btn-large { padding: 9px 14px; font-size: @baseFontSize + 2px; line-height: normal; .border-radius(5px); } .btn-large [class^="icon-"] { margin-top: 2px; } less/colour_brown.less 0000604 00000002425 15245523131 0011114 0 ustar 00 // colour_brown.less // // Less to compile Hathor in the brown colour scheme // ----------------------------------------------------- /** * #2c2c2c Text * #054993 Links * #ffffff Background, border, text * #d5c1b2 Background alternate, button/icon/menu background * #d5c1b2-d5c1b2 Gradient Background * #e5f0fa Background (input required) * #e1d3c8 Background Hover, Top/Left icon borders * #000000 Main borders * #000000 Top/Left hover borders * #000000 Right/Bottom hover borders * * Special Use Colors: * #a20000 Text Error, border invalid * #cccccc Text (faded) * #005800 Text (success) * #eeeeee Background (input disabled) * #ffffcf Background permissions debug * #cfffda Background permissions debug * #ffcfcf Background permissions debug */ // Import the variables file first to get common variables loaded @import "hathor_variables.less"; // Define variables unique to this colour scheme, as well as override variables already defined in the common file @altBackground: #d5c1b2; @gradientTop: #d5c1b2; @gradientBottom: #d5c1b2; @mainBorder: #000000; @toolbarColor: #054993; @hoverBackground: #e5d9c3; @nwBorder: #868778; @seBorder: #f6f7db; // Import the baseline to compile the CSS @import "colour_baseline.less"; less/colour_blue.less 0000604 00000002233 15245523131 0010711 0 ustar 00 // colour_blue.less // // Less to compile Hathor in the blue colour scheme // ----------------------------------------------------- /** * #2c2c2c Text * #054993 Links * #ffffff Background, border, text * #c3d2e5 Background alternate, button/icon/menu background * #a5bbd4-c3d2e5 Gradient Background * #e5f0fa Background (input required) * #e5d9c3 Background Hover, Top/Left icon borders * #738498 Main borders * #868778 Top/Left hover borders * #f6f7db Right/Bottom hover borders * * Special Use Colors: * #a20000 Text Error, border invalid * #cccccc Text (faded) * #005800 Text (success) * #eeeeee Background (input disabled) * #ffffcf Background permissions debug * #cfffda Background permissions debug * #ffcfcf Background permissions debug */ // Import the variables file first to get common variables loaded @import "hathor_variables.less"; // Define variables unique to this colour scheme, as well as override variables already defined in the common file @altBackground: #c3d2e5; @gradientTop: #a5bbd4; @gradientBottom: #c3d2e5; @mainBorder: #738498; // Import the baseline to compile the CSS @import "colour_baseline.less"; less/template.less 0000604 00000153111 15245523131 0010214 0 ustar 00 // Import the variables file first to get common variables loaded @import "hathor_variables.less"; // Core variables and mixins @import "../../../../media/jui/less/mixins.less"; // Bootstrap Component Animations @import "../../../../media/jui/less/component-animations.less"; // Bootstrap Modals @import "modals.less"; //@import "../../../../media/jui/less/modals.joomla.less"; // Bootstrap Popovers @import "../../../../media/jui/less/popovers.less"; // Icon Font @import "icomoon.less"; /** * CSS Reset */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { margin: 0; padding: 0; border: 0; font-size: 100%; background: transparent; } blockquote, q { quotes: none; } blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; } del { text-decoration: line-through; } /** * General styles */ html { overflow-y: scroll; height: 100%; } body { margin: 0; padding: 0; font-size: 62.5%; line-height: 1.5em; height: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } body, td, th, span, a { font-family: Arial, Helvetica, sans-serif; } html, body { height: 100%; } a, img { padding: 0; margin: 0; } img { border: 0 none; } form { margin: 0; padding: 0; } ul { padding: 0; margin: 0; } h1 { margin: 0; padding-bottom: 8px; font-size: 1.4em; font-weight: bold; line-height: 2em; } h2 { padding-top: .83em; padding-bottom: .83em; } h3 { font-size: 1.4em; } a:link { color: #054993; text-decoration: none; } a:visited { color: #054993; text-decoration: none; } a:hover { text-decoration: underline; } a:focus { text-decoration: underline; } iframe { border: 0; } /* new styles */ .enabled { color: #005800; font-weight: bold; } .disabled { color: #a20000; font-weight: bold; } p.error { color: #a20000; font-weight: bold; } .warning { color: #a20000; font-weight: bold; } .nowarning { color: #2c2c2c; font-weight: bold; } .success { color: #005800; font-weight: bold; } .allow { color: #005800; } span.writable { color: #005800; } .deny { color: #a20000; } span.unwritable { color: #a20000; } .none { color: #aaaaaa; } .pointer { cursor: pointer; } .nowrap { white-space: nowrap; } p.nowarning, p.warning { margin: 10px; } /* end new styles */ /** * Overall Styles */ #minwidth, #minwidth-body { min-width: 980px; } #containerwrap { position: relative; } #header { position: relative; } #header h1.title { font-size: 1.5em; font-weight: normal; line-height: 25px; margin: 0; padding: 0 0 0 120px; } #footer { padding: 10px 20px; } #footer .copyright { margin: 0 0 0 0; text-align: center; } #footer p { font-size: 1.2em; } #nav .no-nav { line-height: 2em; } #content { margin: 5px 20px 20px 20px; } .cpanel-page div#element-box { padding: 15px; } /** * Status layout */ #module-status { float: right; position: relative; top: -48px; } #module-status div.btn-group { display: block; float: left; padding: 4px 10px 0 10px; font-size: 1.2em; } #module-status div.divider { display: none; } #module-status .unread-messages a { font-weight: bold; } .title-ua { position: relative; width: 60%; } /** * Various Styles */ .enabled, .disabled, p.error, .warning, .nowarning, .success { font-weight: bold; } .pointer { cursor: pointer; } .nowrap { white-space: nowrap; } span.note { display: block; padding: 5px; } div.checkin-tick { text-indent: -9999px; } /** * Overlib */ .ol-textfont { font-family: Arial, Helvetica, sans-serif; font-size: 1.2em; } .ol-captionfont { font-family: Arial, Helvetica, sans-serif; font-size: 1.2em; font-weight: bold; } .ol-captionfont a { text-decoration: none; } /** * Subheader, toolbar, page title */ div.subheader .padding { padding: 0; } div.pagetitle { padding: 0 0 5px 5px; margin: 0; background-repeat: no-repeat; background-position: left 50%; line-height: 54px; width: 100%; margin-top: -20px; height: 60px; } .tabs-left > .nav-tabs { float: left; margin-right: 19px; border-right: 1px solid #DDD; } tabs-below > .nav-tabs, .tabs-right > .nav-tabs, .tabs-left > .nav-tabs { border-bottom: 0; } /* Tabbed Content */ .tab-content { overflow: visible; } .tabs-left .tab-content { overflow: auto; } /* Non-linkable nav-tabs */ .nav-tabs > li > span { display: block; margin-right: 2px; padding-right: 12px; padding-left: 12px; padding-top: 8px; padding-bottom: 8px; line-height: 18px; border: 1px solid transparent; -webkit-border-radius: 4px 4px 0 0; -moz-border-radius: 4px 4px 0 0; border-radius: 4px 4px 0 0; } /* Extended Joomla Button Classes */ .btn-micro { padding: 1px 4px; font-size: 10px; line-height: 8px; } /* Joomla => Bootstrap Tooltip */ .tip-wrap { max-width: 200px; padding: 3px 8px; color: #ffffff; text-align: center; text-decoration: none; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; z-index: 100; } .pagetitle h2 { padding: 0 0 0 50px; font-size: 1.3em; font-weight: bold; line-height: 48px; font-style: italic; } div.configuration { font-size: 1.2em; font-weight: bold; line-height: 2em; padding-left: 30px; margin-left: 10px; } div.toolbar-box h3 { height: 0; overflow: hidden; position: absolute; padding: 0; margin: 0; } .btn-toolbar { margin-bottom: 3px; margin-top: 14px; } div.btn-toolbar, div.toolbar-list { float: left; text-align: left; padding: 0; } div.toolbar-list li { padding: 5px 1px 5px 4px; text-align: center; height: 52px; list-style: none; float: left; } div.toolbar-list li.spacer { width: 10px; } div.toolbar-list li.divider { width: 10px; margin-right: 10px; } div.toolbar-list span { float: none; width: 32px; height: 32px; margin: 0 auto; display: block; } div.toolbar-list a { display: block; float: left; white-space: nowrap; padding: 1px 5px; cursor: pointer; font-weight: bold; } div.btn-toolbar div.btn-group button { display: block; float: left; white-space: nowrap; padding: 1px 5px; cursor: pointer; text-align: center; } div.btn-toolbar button:hover, div.btn-toolbar button:focus, div.toolbar-list a:hover, div.toolbar-list a:focus { text-decoration: none; } /** * Massmail component */ td#mm_pane { width: 90%; } input#mm_subject { width: 200px; } textarea#mm_message { width: 100%; } textarea { resize:both; } textarea.vert { resize:vertical; } textarea.noResize { resize:none; } /** * Pane Slider pane Toggler styles */ .pane-sliders { margin: 0; position: relative; } .pane-sliders .title { margin: 0; padding: 2px; cursor: pointer; } .pane-sliders .panel { margin-bottom: 3px; } .pane-sliders .adminlist td { border: 0 none; } h3.pane-toggler-down a:focus, h3.pane-toggler a:focus { outline: none; } .pane-toggler span { padding-left: 20px; } .pane-toggler-down span { padding-left: 20px; } /* The following line hides the unseen panel (prevents the mouse from activating in IE, so overridden in the ie css files) */ /*.pane-toggler + div.pane-slider {display: none;}*/ .pane-slider.pane-hide { display: none; } div#position-icon.pane-sliders div.pane-down div.quickicon-wrapper { margin: 5px 0 5px 0; } div#position-icon.pane-sliders div.pane-down .quickicon-wrapper .icon { padding: 5px 0 5px 10px; margin: 0; } /** * Tabs */ dl.tabs { float: left; margin: 10px 0 -1px 0; z-index: 50; } dl.tabs dt { float: left; padding: 4px 10px; margin-left: 3px; } dl.tabs dt.open { z-index: 100; } div.current { clear: both; padding: 10px 10px; } div.current dd { padding: 0; margin: 0; } /* New parameter styles */ dl#content-pane.tabs { margin: 1px 0 0 0; } div.current label, div.current span.faux-label { display: block; min-width: 150px; float: left; clear: left; margin-top: 8px; } div.current fieldset.radio { float: left; } div.current fieldset.radio input { clear: none; min-width: 15px; float: left; margin: 3px 0 0 2px; } div.current fieldset.radio label { clear: none; min-width: 45px; float: left; margin: 3px 0 0 2px; } div.current fieldset.checkboxes { float: left; clear: right; } div.current fieldset.checkboxes input { clear: left; min-width: 15px; float: left; margin: 3px 0 0 2px; } div.current fieldset.checkboxes label { clear: right; min-width: 45px; margin: 3px 0 0 2px; } div.current input, div.current span.faux-input, div.current textarea, div.current select { clear: none; float: left; margin: 3px 0 0 2px; } div.current select { margin-bottom: 15px; } div.current table#acl-config th.acl-groups { text-align: left; } div.current table#filter-config th.acl-groups { text-align: left; } div.current table#filter-config select { margin-bottom: 0; } /* -------- Menu Assigments ---------- */ div#menu-assignment { clear: left; } div#menu-assignment ul.menu-links { float: left; width: 49%; } div#menu-assignment ul.menu-links label { clear: none; float: left; margin: 3px 0 0 2px; } div#menu-assignment ul.menu-links input { clear: left; float: left; } button.jform-rightbtn { float: right; margin-right: 0; } p.tab-description { font-size: 1.091em; margin-left: 0; margin-top: 5px; } /* end new parameter styles */ /** * Login Settings */ #login-page input, #login-page select { float: right; clear: none; } #login-page .login { margin: 0 auto; width: 575px; margin-bottom: 100px; } #login-page .pagetitle h2 { margin: -70px 0 30px 0; font-size: 2em; padding: 0; } #login-page p { margin: 0; padding: 0; margin-bottom: 1em; font-size: 1.2em; } #login-page #header { margin-bottom: 100px; } #login-page .login-inst { float: left; width: 35%; } #login-page .login-box { float: right; width: 63%; } #login-page #lock { width: 150px; height: 137px; } #login-page #element-box.login { padding: 20px; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; } #login-page .button { text-align: right; } #login-page .login-text { text-align: left; width: 40%; float: left; } #form-login { float: left; padding: 1.1em; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; } #form-login fieldset { border: none; } #form-login label { display: block; float: left; clear: left; width: 100px; text-align: right; padding: 4px; color: #2c2c2c; font-weight: bold; font-size: 1.4em; margin-bottom: 15px; } #form-login div.button1 div.next { float: left; } #form-login div.button1 a { height: 2.2em; line-height: 2.2em; font-size: 1.5em; cursor: default; padding: 0 15px 0 15px; } .login-submit { border: 0; padding: 0; margin: 0; width: 0; height: 0; } /** * Cpanel Settings */ #cpanel div.icon, .cpanel div.icon { text-align: center; margin-right: 5px; float: left; margin-bottom: 5px; } #cpanel div.icon a, .cpanel div.icon a { display: block; float: left; height: auto; min-height: 97px; width: 108px; color: #2c2c2c; vertical-align: middle; text-decoration: none; font-weight: bold; } #cpanel img, .cpanel img { padding: 10px; margin: 0 auto; } #cpanel span, .cpanel span { display: block; text-align: center; padding: 0 0 5px; } div.cpanel-icons { width: 54%; float: left; } div.cpanel-component { width: 45%; float: right; } /** * Standard Layout Styles */ div.col { float: left; } div.options-section.col { float: right; } div.col1 { float: left; width: 45%; } div.col2 { float: right; width: 45%; } /* Avoid using the width divs. They are here for 3PD Extensions if needed * Use the specific layout divs listed after. See also the th.width entries */ div.width-1 { width: 1%; } div.width-3 { width: 3%; } div.width-5 { width: 5%; } div.width-10 { width: 10%; } div.width-20 { width: 20%; } div.width-30 { width: 30%; } div.width-35 { width: 35%; } div.width-40 { width: 40%; } div.width-45 { width: 45%; } div.width-50 { width: 50%; } div.width-55 { width: 55%; } div.width-60 { width: 60%; } div.width-65 { width: 65%; } div.width-70 { width: 70%; } div.width-80 { width: 80%; } div.width-100 { width: 100%; } .clrlft { clear: left; } .clrrt { clear: right; } .fltlft { float: left; } .fltrt { float: right; } .fltnone { float: none; } /* Layout Divs */ div.main-section { width: 60%; } div.options-section { width: 38%; margin: 10px 10px 10px 0; } /* for bluestork style html */ div.width-40.fltrt { width: 38%; margin: 10px 10px 10px 0; } div.rules-section { width: 98%; margin: 10px; } /** * Form Styles */ fieldset { margin: 2px 10px 2px 10px; padding: 5px; text-align: left; } legend { font-size: 1.3em; font-weight: bold; padding-bottom: 5px; } fieldset p { margin: 10px 0; font-size: 1.2em; } fieldset ol, ol#property-values, fieldset ul, ul#property-values { margin: 0; padding: 0; } fieldset li, ol#property-values li, ul#property-values li { list-style: none; margin: 0; padding: 5px; } fieldset.adminform fieldset.radio, fieldset.panelform fieldset.radio, fieldset.adminform-legacy fieldset.radio { border: 0; float: left; padding: 0; margin: 0 0 5px 0; clear: right; } fieldset.adminform fieldset.radio label, fieldset.panelform fieldset.radio label, fieldset.adminform fieldset.radio span.faux-label, fieldset.panelform fieldset.radio span.faux-label { min-width: 40px; float: left; clear: none; } /* checkboxes */ fieldset.adminform fieldset.checkboxes, fieldset.panelform fieldset.checkboxes, fieldset.adminform-legacy fieldset.checkboxes { border: 0; float: left; padding: 0; margin: 0 0 5px 0; clear: right; } fieldset.adminform fieldset.checkboxes input[type="checkbox"], fieldset.panelform fieldset.checkboxes input[type="checkbox"] { float: left; clear: left; } fieldset.adminform fieldset.checkboxes label, fieldset.panelform fieldset.checkboxes label, fieldset.adminform fieldset.checkboxes span.faux-label, fieldset.panelform fieldset.checkboxes span.faux-label { clear: right; } /* end checkboxes */ /* spacer */ div.current span.spacer > span.before, fieldset.adminform span.spacer > span.before, fieldset.panelform span.spacer > span.before { clear: both; overflow: hidden; height: 0; display: block; } /* end spacer */ fieldset.panelform-legacy label, fieldset.adminform-legacy label, fieldset.panelform-legacy span.faux-label, fieldset.adminform-legacy span.faux-label { min-width: 150px; float: left; } fieldset.adminform, fieldset.panelform { .input-prepend, .input-append { float: left; } .adminformlist .btn.modal, .input-prepend > *, .input-append > * { float: none; vertical-align: middle; } } /* JParameter classes on radio button labels */ fieldset.panelform-legacy label.radiobtn-jno, fieldset.panelform-legacy label.radiobtn-jyes, fieldset.panelform-legacy label.radiobtn-show, fieldset.panelform-legacy label.radiobtn-hide, fieldset.panelform-legacy label.radiobtn-off, fieldset.panelform-legacy label.radiobtn-on { min-width: 40px !important; clear: none !important; } #jform_plugdesc-lbl, #jform_description-lbl { font-weight: bold; clear: both; margin-top: 15px; } p.jform_desc { clear: left; } div#jform_ordering { font-size: 1.091em; margin-top: 3px; } fieldset ul.checklist { margin-left: 27px; } fieldset ul.checklist input, fieldset ul.checklist label { float: none; } fieldset ul.checklist input:focus { outline: thin dotted #333333; } fieldset#filter-bar { margin: 0; padding: 5px 10px 5px 10px; float: left; width: 98% } fieldset#filter-bar ol, fieldset#filter-bar ul { list-style: none; margin: 0; padding: 5px 0 0; } fieldset#filter-bar ol li, fieldset#filter-bar ul li { float: left; padding: 0 5px 0 0; } fieldset#filter-bar ol li fieldset, fieldset#filter-bar ul li fieldset { margin: 0; padding: 0; } fieldset#filter-bar .filter-search { float: left; padding-bottom: 3px; } fieldset#filter-bar .filter-select { float: right; } fieldset#filter-bar input#search { width: 10em; } /* Note: these visual cues should be augmented by aria */ .invalid { font-weight: bold; } /* augmented by aria in template javascript */ input.readonly, span.faux-input { border: 0; } .star { color: #cc0000; font-size: 1.2em; } input, select, span.faux-input { font-size: 1.2em; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; } span.readonly { float: left; font-size: 1.2em; line-height: 2em; } div.readonly { font-size: 1.2em; line-height: 2em; } div.extdescript { margin-left: 10px; } input[type="button"], input[type="submit"], input[type="reset"] { font-family: Arial, Helvetica, sans-serif; padding: 1px 6px; font-size: 1.2em; line-height: 1.5em; } textarea { font-size: 1.4em; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; } input.button { cursor: pointer; } label { font-weight: bold; font-size: 1.1em; } span.faux-label { font-weight: bold; font-size: 1.1em; } label.selectlabel { position: absolute; left: -1000em; } /** * Option or Parameter styles */ .paramrules { padding: 10px; } span.gi { font-weight: bold; margin-right: 5px; } span.gtr { visibility: hidden; margin-right: 5px; } /** * Admintable Styles */ table.admintable td { padding: 3px; font-size: 1em; } table.admintable td.key, table.admintable td.paramlist_key { text-align: right; width: 140px; font-weight: bold; font-size: 1em; } table.admintable td.key label, table.admintable td.paramlist_key label { font-size: 1em; } table.admintable td.paramlist_value label { font-size: 1em; } table.admintable input, table.admintable span.faux-input, table.admintable select { font-size: 1em; } table.paramlist td.paramlist_description { text-align: left; width: 170px; font-weight: normal; } table.admintable td.key.vtop { vertical-align: top; } /** * Admin Form Styles */ fieldset.adminform { margin: 0 10px 10px 10px; overflow: hidden; } .adminformlist .btn.modal{ float: left; margin-top: 7px; } ul.adminformlist, ul.adminformlist li, dl.adminformlist, dl.adminformlist li { margin: 0; padding: 0; list-style: none; } ul.adminformlist pre { font-size: 1.3em; } ul.adminformlist .button2-left, ul.adminformlist .button2-left { margin-top: 5px; } /* Table styles are for use with tabular data */ table.adminform { width: 100%; border-collapse: collapse; margin: 8px 0 10px 0; margin-bottom: 15px; } table.adminform.nospace { margin-bottom: 0; } table.adminform th { font-size: 1.4em; padding: 6px 2px 4px 4px; text-align: left; height: 25px; } table.adminform td { padding: 3px; text-align: left; } table.adminform td#filter-bar { text-align: left; } table.adminform td.helpMenu { text-align: right; } table.adminform tr { padding-left: 10px; padding-right: 10px; } /** * Table formating styles */ td.center, th.center { text-align: center; } /* Avoid using the width classes. They are here for 3PD Extensions if needed * Use the specific layout table headers listed after. See also the div.width entries */ th.width-1 { width: 1%; } th.width-3 { width: 3%; } th.width-5 { width: 5%; } th.width-10 { width: 10%; } th.width-12 { width: 12%; } th.width-15 { width: 15%; } th.width-20 { width: 20%; } th.width-25 { width: 25%; } th.width-30 { width: 30%; } th.width-40 { width: 40%; } /* Table header layout classes */ th.row-number-col { width: 3%; } th.checkmark-col { width: 1%; } th.state-col { width: 5%; } th.ordering-col { width: 10%; } th.ordering-col a { display: block; float: left; margin-left: 3px; } th.ordering-col a img { margin-left: 4px; margin-right: 4px; } .categories th.ordering-col input, .categories td.order input { font-size: 1em; } th.category-col { width: 5%; } th.access-col { width: 10%; } .categories th.access-col { width: 5%; } th.hits-col { width: 5%; } th.id-col { width: 3%; } th.featured-col { width: 5%; } th.created-by-col { width: 15%; } th.date-col { width: 5%; } th.language-col { width: 5%; } th.home-col { width: 5%; } /** * Adminlist Table layout */ table.adminlist { width: 100%; float: left; } table.adminlist td, table.adminlist th { padding: 4px; font-size: 1.2em; } table.adminlist thead th { text-align: center; } table.adminlist thead a:hover { text-decoration: none; } table.adminlist thead th img { vertical-align: middle; } table.adminlist tbody th { font-weight: bold; } /* Table row styles */ table.adminlist tr { padding-left: 30px; padding-right: 30px; } table.adminlist tbody tr { text-align: left; } table.adminlist tbody tr td, table.adminlist tbody tr th { height: 25px; } table.adminlist tfoot tr { text-align: center; } /* Table td/th styles */ table.adminlist tfoot td, table.adminlist tfoot th { text-align: center; } table.adminlist td.order { text-align: center; white-space: nowrap; } table.adminlist td.order span { float: left; width: 20px; text-align: center; } table.adminlist td.order input { text-align: center; width: 3em; font-size: 100%; } /** * Tree indentation & nesting - Up to 10 levels deep so don't go crazy : */ #media-tree_tree ul { list-style: none outside none; margin: 0 10px; } table.adminlist td.indent-4 { padding-left: 4px; } table.adminlist td.indent-19 { padding-left: 19px; } table.adminlist td.indent-34 { padding-left: 34px; } table.adminlist td.indent-49 { padding-left: 49px; } table.adminlist td.indent-64 { padding-left: 64px; } table.adminlist td.indent-79 { padding-left: 79px; } table.adminlist td.indent-94 { padding-left: 94px; } table.adminlist td.indent-109 { padding-left: 109px; } table.adminlist td.indent-124 { padding-left: 124px; } table.adminlist td.indent-139 { padding-left: 139px; } /** * Adminlist buttons */ table.adminlist tr td.btns a { -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; padding: 3px 20px; } table.adminlist tr td.btns a:hover, table.adminlist tr td.btns a:active, table.adminlist tr td.btns a:focus { text-decoration: none; } /** * Adminlist lists */ table.adminlist td li { list-style: inside; } /** * Modal Modules styles */ ul#new-modules-list { margin-left: 50px; font-size: 1.4em; line-height: 1.5em; } /** * Utility styles */ /* General Clearing Class */ .clr { clear: both; overflow: hidden; height: 0; } .clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } .menu-module-list { list-style-position: inside; padding-left: 10px; margin-left: 5px; } /* stu nicholls solution for centering divs */ .container { clear: both; text-decoration: none; } * html .container { display: inline-block; } /* table solution for global config */ table.noshow { width: 100%; border-collapse: collapse; padding: 0; margin: 0; } table.noshow tr { vertical-align: top; } table.noshow fieldset { margin: 15px 7px 7px 7px; } /** * Saving order icon styling in admin tables */ a.saveorder { width: 16px; height: 16px; display: block; overflow: hidden; float: right; margin-right: 8px; } /** * Button styling */ #editor-xtd-buttons { padding: 5px; } button { font-family: Arial, Helvetica, sans-serif; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; margin-right: 3px; margin-left: 3px; } .invalid { font-weight: bold; } /* Button 1 Type */ .button1, .button1 div { height: 1%; float: right; } .button1 { white-space: nowrap; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; } .button1 a { display: block; height: 2.2em; float: left; line-height: 2.2em; font-size: 1.2em; font-weight: bold; cursor: default; padding: 0 6px 0 6px; /* add padding if you are using the directional images */ /* padding: 0 30px 0 6px; */ } .button1 a:hover, .button1 a:focus { text-decoration: none; } /* Button 2 Type */ .button2-left, .button2-right { float: left; line-height: 1.5em; font-size: 1.2em; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; } .button2-left.smallsub, .button2-right.smallsub { line-height: 1.2em; font-size: .9em; } .button2-left a, .button2-right a, .button2-left span, .button2-right span { display: block; float: left; cursor: default; } /* these are inactive buttons */ .button2-left span, .button2-right span { cursor: default; } .button2-left .page a, .button2-right .page a, .button2-left .page span, .button2-right .page span, .button2-left .blank a, .button2-right .blank a, .button2-left .blank span, .button2-right .blank span { padding: 0 6px; } .page span, .blank span { font-weight: bold; } .button2-left a:hover, .button2-right a:hover, .button2-left a:focus, .button2-right a:focus { text-decoration: none; } .button2-left a, .button2-left span { padding: 0 24px 0 6px; } .button2-right a, .button2-right span { padding: 0 6px 0 24px; } .button2-left { float: left; margin-left: 5px; } .button2-right { float: left; margin-left: 5px; } /** * Pagination styles */ /* Normal pagination styles */ div.containerpg { position: relative; left: 50%; float: left; clear: left; } div.pagination { position: relative; left: -50%; margin: 0 auto; padding: .5em; } .pagination div.limit { float: left; margin: 0 10px; font-size: 1.2em; height: 1.8em; line-height: 1.8em; } .pagination div.limit label { font-size: 100%; height: 1.8em; line-height: 1.8em; } .pagination div.limit select { font-size: 100%; } /* The Go submittal button */ .pagination button { font-size: 100%; height: 2.0em; line-height: 1.8em; margin-right: 20px; } div.pagination .button2-right, div.pagination .button2-left { font-size: 1.2em; height: 1.6em; line-height: 1.6em; } /* Style if pagination is part of the table (old style) */ table.adminlist .pagination { display: table; padding: 0; margin: 0 auto; font-size: .8em; } table.adminlist .pagination button { font-size: 1.2em; height: 1.6em; line-height: 1.5em; margin-right: 20px; } /** * MCE Editor */ div.toggle-editor { margin-top: 9px; } /** * Tooltips */ .tip { float: left; padding: 5px; max-width: 400px; z-index: 50; } .tip-title { padding: 0; margin: 0; font-size: 120%; margin-top: -15px; padding-top: 15px; padding-bottom: 5px; } .tip-text { font-size: 100%; text-align: left; margin: 0; } /** * Calendar */ a img.calendar { width: 16px; height: 16px; margin-left: 3px; cursor: pointer; vertical-align: middle; } /** * JGrid styles */ a.jgrid:hover { text-decoration: none; } .jgrid span.state { display: inline-block; height: 16px; width: 16px; } .jgrid span.text { display: none; } /** * Icons * The Background Icons for Menus, Toolbars, Quick Icons * are now in the color css files */ /** * General styles */ div.message { text-align: center; font-family: Arial, Helvetica, sans-serif; font-size: 1.2em; padding: 3px; margin-bottom: 10px; font-weight: bold; } .helpIndex { border: 0; width: 100%; height: 100%; padding: 0; overflow: auto; } .helpFrame { width: 100%; height: 800px; padding: 0 5px 0 10px; } #treecellhelp { width: 25%; display: block; position: relative; float: left; margin: 0; padding: 2px; overflow: hidden; } #datacellhelp { width: 73%; display: block; float: left; margin: 0; padding: 2px 0 0 0; } .outline { padding: 2px; } /** * Modal Styles */ h2.modal-title { margin-left: 15px; margin-bottom: 0; margin-top: 5px; font-size: 1.8em; padding-bottom: .5em; } ul.menu_types { padding: 0 0 0 15px; width: 95%; margin: 0; } ul.menu_types li, dl.menu_type dd ul li { width: 240px; list-style: none; display: block; float: left; margin-right: 10px; } ul.menu_types li { width: 47%; } dl.menu_type { width: 240px; margin: 0; padding: 0; } dl.menu_type dt { font-weight: bold; font-size: 1.5em; float: left; margin: 13px 0 5px 0; width: 240px; } dl.menu_type dd { clear: left; margin: 0; } dl.menu_type dd a { font-size: 1.2em; } dl.menu_type dd ul li { margin: 0; } ul#new-modules-list { padding: 5px 0 0 15px; width: 95%; margin: 0; list-style: none; } ul#new-modules-list li { list-style: none; display: block; float: left; margin: 0 20px 0 0; width: 47%; } ul#new-modules-list li a { font-size: 1em; line-height: 1.5em; } body.contentpane #filter-bar { font-size: 80%; } body.contentpane input, body.contentpane select { font-size: 120%; } #filter-bar input, #filter-bar select, #filter-bar button { font-size: 110%; } /** * User Accessibility */ /* Skip to Content Structural Styling */ #skiplinkholder a, #skiplinkholder a:link, #skiplinkholder a:visited { display: block; width: 99%; position: absolute; top: 0; left: -200%; z-index: 2; } #skiplinkholder a:focus, #skiplinkholder a:active { left: 0; top: 0; z-index: 100; } #skiplinkholder p { margin: 0; } #skiptargetholder { position: absolute; left: -200%; } /* Skip to Content Visual Styling */ #skiplinkholder a, #skiplinkholder a:link, #skiplinkholder a:visited { text-decoration: underline; padding: 5px; font-size: 1.3em; font-weight: bold; padding-left: 20px; padding-right: 20px; } /* Hide overlayed controls so that keyboarders can get to the modal */ .body-overlayed a, .body-overlayed input, .body-overlayed button { visibility: hidden; } .body-overlayed #sbox-window a, .body-overlayed #sbox-window input, .body-overlayed #sbox-window button { visibility: visible; } /** * Admin Form Styles */ /* For elements that aren't to be seen by users unless the user does something * like clicking on a header to see the collapsed section. */ .element-hidden, .hide { display: none; } .hidebtn { border: 0 !important; padding: 0 !important; margin: 0; width: 0; height: 0; } /* For elements that aren't to be seen by visual users but do need to be read by screenreaders. * Cannot be used for elements that can get focus such as links and form elements */ .element-invisible, .hidelabeltxt { height: 0; overflow: hidden; position: absolute; padding: 0; margin: 0; } /* Firefox has issues styling legend so this is a universal fix for making the legend invisible (i.e. visually it's not there, but screen readers see it */ legend.element-invisible { position: absolute !important; margin: 0; padding: 0; border: 0; margin-left: -10000px; font-size: 1px; height: 0; } fieldset.panelform { overflow: hidden; clear: both; } fieldset.adminform label, fieldset.panelform label, fieldset.adminform span.faux-label, fieldset.panelform span.faux-label { line-height: 2em; clear: left; min-width: 12em; float: left; margin-left: 10px; margin-right: 5px; } fieldset.adminform.long label, fieldset.panelform.long label, fieldset.adminform.long span.faux-label, fieldset.panelform.long span.faux-label { min-width: 18em; } fieldset.adminform fieldset.radio label, fieldset.panelform fieldset.radio label, fieldset.adminform fieldset.radio span.faux-label, fieldset.panelform fieldset.radio span.faux-label { margin-left: 0; } fieldset.adminform input, fieldset.adminform span.faux-input, fieldset.adminform textarea, fieldset.adminform select, fieldset.adminform img, fieldset.adminform button, fieldset.panelform input, fieldset.panelform span.faux-input, fieldset.panelform textarea, fieldset.panelform select, fieldset.panelform img, fieldset.panelform button { float: left; margin: 5px 5px 5px 0; width: auto; } /* -------- Batch Section ---------- */ fieldset.batch { margin: 20px 10px 10px 10px; padding: 10px; } fieldset.batch label { margin: 5px; min-width: 40px; } fieldset.batch button { margin: 3px; } fieldset#batch-choose-action { clear: left; border: 0 none; } fieldset.batch label { float: left; clear: none; } fieldset label#batch-choose-action-lbl { clear: left; margin-top: 15px; } label#batch-language-lbl, label#batch-user-lbl { clear: left; margin-right: 10px; margin-top: 15px; } select#batch-language-id, select#batch-user-id { margin-top: 15px; } select#batch-category-id, select#batch-position-id, select#batch-menu-id { margin-right: 30px; } fieldset.batch select, fieldset.batch input, fieldset.batch img, fieldset.batch button { float: left; } label#batch-access-lbl, label#batch-client-lbl { margin-right: 10px; } div#jform_ordering { font-size: 1.091em; margin-top: 3px; } /* Banner edit */ #jform_impmade, #jform_clicks { width: 30px; } fieldset.panelform label#jform-imp { min-width: 3em; font-size: 1.091em; } fieldset.adminform input#jform_clickurl { width: 20em; } /** * ACL STYLES relocated from com_users/media/grid.css */ a.move_up { display: inline-block; height: 16px; text-indent: -1000em; width: 16px; } span.move_up { display: inline-block; height: 16px; width: 16px; } a.move_down { display: inline-block; height: 16px; text-indent: -1000em; width: 16px; } span.move_down { display: inline-block; height: 16px; width: 16px; } a.grid_false { display: inline-block; height: 16px; text-indent: -1000em; width: 16px; } a.grid_true { display: inline-block; height: 16px; text-indent: -1000em; width: 16px; } a.grid_trash { display: inline-block; height: 16px; text-indent: -1000em; width: 16px; } /** * ACL PANEL STYLES */ div.acl-options { width: 100%; } /* All Tabs */ table.aclsummary-table, table.aclmodify-table { border-collapse: collapse; width: 100%; font-size: 1.091em; } td.col1 { font-size: 1.091em; text-align: left; padding: 4px; } table.aclsummary-table caption, table.aclmodify-table caption { display: none; } /* Summary Tab */ table.aclsummary-table th.col1 { width: 25%; } table.aclsummary-table th.col2, table.aclsummary-table th.col3, table.aclsummary-table th.col4, table.aclsummary-table th.col5, table.aclsummary-table th.col6 { width: 15%; vertical-align: bottom; text-align: center; } /* Icons (background images moved to color css files */ span.icon-16-unset, span.icon-16-allowed, span.icon-16-denied, span.icon-16-locked { padding-left: 18px; } label.icon-16-allow, label.icon-16-deny, a.icon-16-allow, a.icon-16-deny, a.icon-16-allowinactive, a.icon-16-denyinactive { display: block; height: 16px; width: 16px; margin: 0 auto; } label.icon-16-allow { text-indent: -9999em; position: relative; left: 40%; } label.icon-16-deny { text-indent: -9999em; position: relative; left: 40%; } /* Create, Edit, Edit State & Delete Tabs */ table.aclmodify-table th.col2, table.aclmodify-table th.col3, table.aclmodify-table th.col4 { width: 20%; vertical-align: bottom; text-align: center; } table.aclmodify-table select { margin: 1px; } table.aclsummary-table td label, table.aclmodify-table td label { min-width: 20px; } /* ACL footer/legend */ ul.acllegend { list-style: none; font-size: 1.091em; padding-bottom: 10px; } ul.acllegend li { display: block; float: left; padding-right: 20px; margin: 15px 0 15px 10px; } ul.acllegend li.acl-allowed { padding-left: 20px; padding-right: 10px; } ul.acllegend li.acl-denied { padding-left: 20px; padding-right: 20px; } ul.acllegend li.acl-editgroups { padding-right: 10px; } ul.acllegend li.acl-resetbtn { padding-right: 0; } li.acl-editgroups, li.acl-resetbtn { display: block; float: left; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; } li.acl-editgroups a, li.acl-resetbtn a { padding: 6px; cursor: default; } li.acl-editgroups a:hover, li.acl-resetbtn a:hover, li.acl-editgroups a:focus, li.acl-resetbtn a:focus { text-decoration: none; cursor: default; } li.acl-editgroups:hover, li.acl-resetbtn:hover, li.acl-editgroups:focus, li.acl-resetbtn:focus { text-decoration: none; cursor: default; } table#acl-config { width: 100%; margin-top: 15px; } table#acl-config th, table#acl-config td { height: 2em; background: #f9fade; text-align: center; vertical-align: middle; } table#acl-config th.acl-groups { padding-left: 8px; font-weight: bold; text-align: left; } table#acl-config th.acl-groups span.gi { margin-right: 2px; } table#acl-config td { width: 9em; } table#acl-config td select { float: none; } .acl-action { font-size: 1.091em; margin: auto 0; } .acl-groups { font-size: 1.091em; font-weight: normal; } label#jform_rules-lbl { float: none; white-space: nowrap; display: none; visibility: hidden; } label#jform_filters-lbl { float: none; white-space: nowrap; display: none; visibility: hidden; } /** * Options modal- config */ ul.config-option-list, ul.config-option-list li { margin: 0; padding: 0; list-style: none; } ul.config-option-list fieldset { margin: 0; padding-left: 0; padding-right: 0; } /* * * Permission Rules */ #permissions-sliders { margin-top: 15px; } #permissions-sliders ul#rules, #permissions-sliders ul#rules ul { margin: 0 !important; padding: 0 !important; list-style-type: none; } #permissions-sliders ul#rules li { margin: 0; padding: 0; } #permissions-sliders ul#rules table.group-rules { border-collapse: collapse; margin: 5px; width: 100%; } #permissions-sliders ul#rules table.group-rules td { padding: 4px; vertical-align: middle; text-align: left; overflow: hidden; } #permissions-sliders ul#rules table.group-rules th { font-size: 1.2em; overflow: hidden; font-weight: bold; } #permissions-sliders .panel { margin-bottom: 3px; margin-left: 0; border: 0; } #permissions-sliders p.rule-desc { font-size: 1.1em; } #permissions-sliders div.rule-notes { font-size: 1.1em; } ul#rules table.group-rules td label { margin: 0 !important; line-height: 1.1em; } ul#rules table.group-rules td span { font-size: 1.1em; padding-bottom: 4px; } ul#rules table.group-rules td span span { font-size: 100%; } table.group-rules td select { margin: 0 !important; } #permissions-sliders ul#rules .mypanel { padding: 0; line-height: 1.3em; } #permissions-sliders .mypanel table.group-rules caption { font-size: 1.3em; } #permissions-sliders ul#rules { padding: 5px; } #permissions-sliders ul#rules table.group-rules th { text-align: left; padding: 4px; } #permissions-sliders ul#rules table.group-rules td label { min-width: 1em; } #permissions-sliders .pane-toggler span { padding-left: 20px; } #permissions-sliders .pane-toggler-down span { padding-left: 20px; } #permissions-sliders .pane-toggler-down span.level, #permissions-sliders .pane-toggler span.level { padding: 0; } /* * Debug styles */ .swatch { text-align: center; padding: 0 15px 0 15px; } /* Tab changes for accessibility */ dl.tabs dt h3 { padding: 0; font-size: 100%; } /** * Helpmenus */ ul.helpmenu li { float: right; margin: 10px; padding: 0; list-style-type: none; font-weight: bold; } /* CSS file for Accessible Admin Menu * based on Matt Carrolls' son of suckerfish * with javascript by Bill Tomczak */ /* Note: set up the font-size on the id and used 100% on the elements. If ul/li/a are different ems, then the shifting back via non-js keyboard doesn't work properly */ /** * Menu Styling */ #menu { /* this is on the main ul */ position: relative; z-index: 100; padding: 0; margin: 0; width: 100%; list-style: none; font-size: 1.2em; font-weight: bold; } #menu ul { /* all lists */ padding: 0; margin: 0; list-style: none; font-size: 100%; } #menu ul li.separator { margin-bottom: 1em; } #menu a { padding: 0.35em 2.5em 0.35em 2em; vertical-align: middle; display: block; /* width: 10em; */ text-decoration: none; font-size: 100%; } #menu li { /* all list items */ float: left; /* width: 12em; width needed or else Opera goes nuts */ font-size: 100%; } #menu li a { white-space: nowrap; } #menu li li a { margin-bottom: 1px; margin-top: 1px; width: 10em; } #menu li.disabled a:hover, #menu li.disabled a:focus, #menu li.disabled a { cursor: default; } #menu li ul { /* second-level lists */ position: absolute; width: 16em; margin-left: -1000em; /* using left instead of display to hide menus because display: none isn't read by screen readers */ } #menu li li { /* second-level row */ border: none; width: 16em; } #menu li ul ul { /* third-and-above-level lists */ margin: -2.3em 0 0 -1000em; /* top margin is equal to parent line height+bottom padding */ } #menu li:hover ul ul, #menu li.sfhover ul ul { margin-left: -1000em; } #menu li:hover ul, #menu li.sfhover ul { /* lists nested under hovered list items */ margin-left: 0; } #menu li li:hover ul, #menu li li.sfhover ul { margin-left: 16em; } /** * Menu Icons * These icons are used on the Administrator menu * The classes are constructed dynamically when the menu is generated */ [class^="menu-"], [class*=" menu-"] { background-position: 3px 50% !important; } .menu-archive { background-image: url(../images/menu/icon-16-archive.png); } .menu-article { background-image: url(../images/menu/icon-16-article.png); } .menu-associations { background-image: url(../images/menu/icon-16-assoc.png); } .menu-banners { background-image: url(../images/menu/icon-16-banner.png); } .menu-banners-clients { background-image: url(../images/menu/icon-16-banner-client.png); } .menu-banners-tracks { background-image: url(../images/menu/icon-16-banner-tracks.png); } .menu-banners-cat { background-image: url(../images/menu/icon-16-banner-categories.png); } .menu-category { background-image: url(../images/menu/icon-16-category.png); } .menu-checkin { background-image: url(../images/menu/icon-16-checkin.png); } .menu-clear { background-image: url(../images/menu/icon-16-clear.png); } .menu-component { background-image: url(../images/menu/icon-16-component.png); } .menu-config { background-image: url(../images/menu/icon-16-config.png); } .menu-contact { background-image: url(../images/menu/icon-16-contacts.png); } .menu-contact-cat { background-image: url(../images/menu/icon-16-contacts-categories.png); } .menu-content { background-image: url(../images/menu/icon-16-content.png); } .menu-cpanel { background-image: url(../images/menu/icon-16-cpanel.png); } .menu-default { background-image: url(../images/menu/icon-16-default.png); } .menu-featured { background-image: url(../images/menu/icon-16-featured.png); } .menu-fields { background-image: url(../images/menu/icon-16-puzzle.png); } .menu-groups { background-image: url(../images/menu/icon-16-groups.png); } .menu-help { background-image: url(../images/menu/icon-16-help.png); } .menu-help-this { background-image: url(../images/menu/icon-16-help-this.png); } .menu-help-forum { background-image: url(../images/menu/icon-16-help-forum.png); } .menu-help-docs { background-image: url(../images/menu/icon-16-help-docs.png); } .menu-help-jed { background-image: url(../images/menu/icon-16-help-jed.png); } .menu-help-jrd { background-image: url(../images/menu/icon-16-help-jrd.png); } .menu-help-community { background-image: url(../images/menu/icon-16-help-community.png); } .menu-help-security { background-image: url(../images/menu/icon-16-help-security.png); } .menu-help-dev { background-image: url(../images/menu/icon-16-help-dev.png); } .menu-help-shop { background-image: url(../images/menu/icon-16-help-shop.png); } .menu-info { background-image: url(../images/menu/icon-16-info.png); } .menu-install { background-image: url(../images/menu/icon-16-install.png); } .menu-joomlaupdate { background-image: url(../images/menu/icon-16-install.png); } .menu-language { background-image: url(../images/menu/icon-16-language.png); } .menu-levels { background-image: url(../images/menu/icon-16-levels.png); } .menu-logout { background-image: url(../images/menu/icon-16-logout.png); } .menu-maintenance { background-image: url(../images/menu/icon-16-maintenance.png); } .menu-massmail { background-image: url(../images/menu/icon-16-massmail.png); } .menu-media { background-image: url(../images/menu/icon-16-media.png); } .menu-menu { background-image: url(../images/menu/icon-16-menu.png); } .menu-menumgr { background-image: url(../images/menu/icon-16-menumgr.png); } .menu-messages { background-image: url(../images/menu/icon-16-messaging.png); } .menu-messages-add { background-image: url(../images/menu/icon-16-new-privatemessage.png); } .menu-messages-read { background-image: url(../images/menu/icon-16-messages.png); } .menu-module { background-image: url(../images/menu/icon-16-module.png); } .menu-newarticle { background-image: url(../images/menu/icon-16-newarticle.png); } .menu-newcategory { background-image: url(../images/menu/icon-16-newcategory.png); } .menu-newgroup { background-image: url(../images/menu/icon-16-newgroup.png); } .menu-newlevel { background-image: url(../images/menu/icon-16-newlevel.png); } .menu-newuser { background-image: url(../images/menu/icon-16-newuser.png); } .menu-plugin { background-image: url(../images/menu/icon-16-plugin.png); } .menu-profile { background-image: url(../images/menu/icon-16-user.png); } .menu-purge { background-image: url(../images/menu/icon-16-purge.png); } .menu-readmess { background-image: url(../images/menu/icon-16-readmess.png); } .menu-section { background-image: url(../images/menu/icon-16-section.png); } .menu-static { background-image: url(../images/menu/icon-16-static.png); } .menu-stats { background-image: url(../images/menu/icon-16-stats.png); } .menu-themes { background-image: url(../images/menu/icon-16-themes.png); } .menu-trash { background-image: url(../images/menu/icon-16-trash.png); } .menu-user { background-image: url(../images/menu/icon-16-user.png); } .menu-user-note { background-image: url(../images/menu/icon-16-user-note.png); } .menu-delete { background-image: url(../images/menu/icon-16-delete.png); } .menu-help-trans { background-image: url(../images/menu/icon-16-help-trans.png); } .menu-newsfeeds { background-image: url(../images/menu/icon-16-newsfeeds.png); } .menu-newsfeeds-cat { background-image: url(../images/menu/icon-16-newsfeeds-cat.png); } .menu-redirect { background-image: url(../images/menu/icon-16-redirect.png); } .menu-search { background-image: url(../images/menu/icon-16-search.png); } .menu-finder { background-image: url(../images/menu/icon-16-search.png); } .menu-weblinks { background-image: url(../images/menu/icon-16-links.png); } .menu-weblinks-cat { background-image: url(../images/menu/icon-16-links-cat.png); } .menu-tags { background-image: url(../images/menu/icon-16-tags.png); } .menu-postinstall { background-image: url(../images/menu/icon-16-generic.png); } .icon-32-cog { background-image: url(../images/toolbar/icon-32-cog.png); } /** * Extra positioning rules for limited noscript keyboard accessibility * need the backgrounds here to keep the background as the nav background * since it is overlaying other content. * Using margin-left instead of left so that can move back without javascript * display downlevel ul */ #menu li a:focus+ul { margin-left: 0; } #menu li li a:focus+ul { margin-left: 1016em; } /* bring back the focus elements into view */ #menu li li a:focus { margin-left: 1000em; width: 10em; } #menu li li li a:focus { margin-left: 2016em; width: 10em; } #menu li:hover a:focus, #menu li.sfhover a.sffocus { margin-left: 0; } #menu li li:hover a:focus+ul, #menu li li.sfhover a.sffocus+ul { margin-left: 16em; } /** * Sidebar styling */ #sidebar { float:left; margin: 15px 5px; } /** * Submenu styling */ #submenu { list-style: none; padding: 0; margin: 0; /* border-bottom plus padding-bottom is the technique */ padding-bottom: 2.5em; line-height: 2em; } #submenu ul, #submenu li { display: inline; list-style-type: none; margin: 0; padding: 0; } #submenu li, #submenu span.nolink { float: left; font-weight: bold; margin-right: 8px; padding: 2px 10px 2px 10px; text-decoration: none; cursor: pointer; -moz-border-radius-topright: 3px; -moz-border-radius-topleft: 3px; -webkit-border-top-right-radius: 3px; -webkit-border-top-left-radius: 3px; border-top-right-radius: 3px; border-top-left-radius: 3px; } #submenu span.nolink { color: #999; } #submenu li.active, #submenu span.nolink.active { cursor: default; } #submenu li.active a, #submenu span.nolink.active, #submenu li a:hover, #submenu li a:focus { text-decoration: none; } /* -- CUSTOM LANG STRINGS STYLES ----------- */ .red { font-weight: bold; color: #c00; } /* -- OTHER STYLES ----------- */ .pre_message { font-size: 1.3em; } /* -- Update check badges -- */ span.update-badge { background-image: -moz-linear-gradient(center bottom, #FF0000 41%, #FC7E7E 79%); background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0.41, rgb(255, 0, 0)), color-stop(0.79, rgb(252, 126, 126))); border: 2px solid white; border-radius: 1.5em 1.5em 1.5em 1.5em; color: white; display: block; float: left; font-size: 1.2em; font-weight: bold; height: 1.2em; left: 60px; min-width: 1em; padding: 0 0.1em 0; position: relative; top: -88px; } /* User Notes */ .unotes ul, .unotes ol { list-style: none; list-style-position: inside; padding-left: 0; padding-right: 0; } .unotes div.utitle { padding: 10px; float: left; font-size: 1.2em; line-height: 1.2em; } .unotes h4 { margin-top: 0; margin-bottom: 0; font-size: 1.3em; } .unotes .ubody { padding-left: 10px; padding-right: 10px; font-size: 1.2em; line-height: 1.5em; } .unotes p { padding-bottom: 10px; } /* com-install styling */ div#database-sliders { margin: 10px; } fieldset.uploadform { margin-top: 10px; margin-bottom: 10px; min-height: 200px; } /* Installer Database */ #installer-database, #installer-discover, #installer-update, #installer-warnings { margin-top: 10px; } #installer-database #sidebar { float: none } #installer-database p.warning { padding-left: 20px; } #installer-database p.nowarning { padding-left: 20px; } /* Spinner */ .joomlaupdate_spinner { float: left; margin-right: 15px; } .btn-group { position: relative; display: inline-block; } .btn-group + .btn-group { margin-left: 5px; } .btn-group > .btn { position: relative; float: left; margin-left: -1px; } .icon-48-cpanel { height: 50px; width: 50%; } .well { min-height: 20px; padding: 19px; margin-bottom: 20px; background-color: #f5f5f5; border: 1px solid #eee; border: 1px solid rgba(0, 0, 0, 0.05); -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); } .well blockquote { border-color: #ddd; border-color: rgba(0, 0, 0, 0.15); } .well-large { padding: 24px; -webkit-border-radius: 6px; -moz-border-radius: 6px; border-radius: 6px; } .well-small { padding: 9px; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; } /* Striped */ .list-striped, .row-striped { list-style: none; line-height: 18px; text-align: left; vertical-align: middle; border-top: 1px solid #dddddd; margin-left: 0; font-size: 1.2em; padding: 9px; } .list-striped li, .list-striped dd, .row-striped .row, .row-striped .row-fluid { border-bottom: 1px solid #dddddd; padding: 8px; } .list-striped li:nth-child(odd), .list-striped dd:nth-child(odd), .row-striped .row:nth-child(odd), .row-striped .row-fluid:nth-child(odd) { background-color: #f9f9f9; } .list-striped li:hover, .list-striped dd:hover, .row-striped .row:hover, .row-striped .row-fluid:hover { background-color: #f5f5f5; } .row-striped .row-fluid { width: 100%; box-sizing: border-box; } .row-striped .row-fluid [class*="span"] { min-height: 10px; } .alert { padding: 8px 35px 8px 14px; margin-bottom: 18px; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); background-color: #fcf8e3; border: 1px solid #fbeed5; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; color: #c09853; font-size: 120%; } .alert-heading { color: inherit; } .alert .close { position: relative; right: -30px; top: -5px; line-height: 18px; float: right; font-size: 20px; font-weight: bold; } .alert-success { background-color: #dff0d8; border-color: #d6e9c6; color: #468847; } .alert-danger, .alert-error { background-color: #f2dede; border-color: #eed3d7; color: #b94a48; } .alert-info { background-color: #d9edf7; border-color: #bce8f1; color: #3a87ad; } .alert-block { padding-top: 14px; padding-bottom: 14px; } .alert-block > p, .alert-block > ul { margin-bottom: 0; } .alert-block p + p { margin-top: 5px; } .btn-group > .btn:hover, .btn-group > .btn:focus, .btn-group > .btn:active, .btn-group > .btn.active { z-index: 2; } .btn-group > .btn { position: relative; float: left; margin-left: -1px; -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; } table { max-width: 100%; background-color: transparent; border-collapse: collapse; border-spacing: 0; } .table { width: 100%; margin-bottom: 18px; } .tab-content > .tab-pane, .pill-content > .pill-pane { display: none; } .tab-content > .active, .pill-content > .active { display: block; } .tabs-below > .nav-tabs { border-top: 1px solid #ddd; } #status .btn-toolbar, #status p { margin: 0px; } .navbar .btn-group { margin: 0; padding: 5px 5px 6px; } /** * Media */ .media .btn { margin: 10px 20px; } .thumbnails > li { list-style: none outside none; float: left; margin-bottom: 18px; margin-left: 20px; } #mediamanager-form { margin: 10px; } .is-tagbox { float: left; } /* Item associations */ .item-associations { margin: 0; } .item-associations li { list-style: none; display: inline-block; margin: 0 0 3px 0; } .item-associations li a, table.adminlist .item-associations li a { color: #ffffff; } .hidden { display: none; visibility: hidden; } // Bootstrap Tooltips (need to load last, something is overriding these styles in the CSS, debug later ;-) ) @import "../../../../media/jui/less/tooltip.less"; .tooltip { max-width: 400px; } .tooltip-inner { max-width: none; text-align: left; text-shadow: none; } th .tooltip-inner { font-weight: normal; } .tooltip.hasimage { opacity: 1; } fieldset.panelform .tooltip img { float: none; margin: 0; } //Toggle editor button div.toggle-editor { float: right; } .text-left { text-align: left; } .text-right { text-align: right; } .text-center { text-align: center; } .module-edit { display: inline-block; } .break-word { word-break: break-all; word-wrap: break-word; } .muted { color: #999; } /* Popover minimum height - overwrite bootstrap default */ .popover-content { min-height: 33px; } less/colour_standard.less 0000604 00000002243 15245523131 0011563 0 ustar 00 // colour_standard.less // // Less to compile Hathor in the default colour scheme // ----------------------------------------------------- /** * Main colors: * #2c2c2c Text * #054993 Links * #ffffff Background, border, text * #f9fade Background alternate, button/icon/menu background * #e5f0fa Background (input required) * #e3e4ca Background Hover, Right/Bottom icon borders * #c7c8b2 Main borders * #868778 Top/Left icon hover borders * #f6f7db Right/Bottom icon hover borders * * Special Use Colors: * #a20000 Text Error, border invalid * #cccccc Text (faded) * #005800 Text (success) * #eeeeee Background (input disabled) * #ffffcf Background‚ permissions debug * #cfffda Background‚ permissions debug * #ffcfcf Background‚ permissions debug */ // Import the variables file first to get common variables loaded @import "hathor_variables.less"; // Define variables unique to this colour scheme, as well as override variables already defined in the common file @altBackground: #f9fade; @gradientTop: #f9fade; @gradientBottom: #f9fade; @mainBorder: #c7c8b2; // Import the baseline to compile the CSS @import "colour_baseline.less"; less/forms.less 0000604 00000010766 15245523131 0007537 0 ustar 00 // // Forms // This is a custom version of Bootstrap's forms.less file suited for Hathor's needs // -------------------------------------------------- // Ensure input-prepend/append never wraps .input-append input[class*="span"], .input-append .uneditable-input[class*="span"], .input-prepend input[class*="span"], .input-prepend .uneditable-input[class*="span"], .row-fluid input[class*="span"], .row-fluid select[class*="span"], .row-fluid textarea[class*="span"], .row-fluid .uneditable-input[class*="span"], .row-fluid .input-prepend [class*="span"], .row-fluid .input-append [class*="span"] { display: inline-block; } // Allow us to put symbols and text within the input field for a cleaner look .input-append, .input-prepend { margin-bottom: 5px; font-size: 0; white-space: nowrap; // Prevent span and input from separating input, select, .uneditable-input { position: relative; // placed here by default so that on :focus we can place the input above the .add-on for full border and box-shadow goodness margin-bottom: 0; // prevent bottom margin from screwing up alignment in stacked forms *margin-left: 0; font-size: @baseFontSize; vertical-align: top; .border-radius(0 @inputBorderRadius @inputBorderRadius 0); // Make input on top when focused so blue border and shadow always show &:focus { z-index: 2; } } .add-on { display: inline-block; width: auto; height: @baseLineHeight; min-width: 16px; padding: 4px 5px; font-size: @baseFontSize; font-weight: normal; line-height: @baseLineHeight; text-align: center; text-shadow: 0 1px 0 @white; background-color: @grayLighter; border: 1px solid #ccc; } .add-on, .btn { margin-left: -1px; vertical-align: top; .border-radius(0); } .active { background-color: lighten(@green, 30); border-color: @green; } } .input-prepend { .add-on, .btn { margin-right: -1px; } .add-on:first-child, .btn:first-child { .border-radius(@inputBorderRadius 0 0 @inputBorderRadius); } } .input-append { input, select, .uneditable-input { .border-radius(@inputBorderRadius 0 0 @inputBorderRadius); } .add-on:last-child, .btn:last-child { .border-radius(0 @inputBorderRadius @inputBorderRadius 0); } } // Remove all border-radius for inputs with both prepend and append .input-prepend.input-append { input, select, .uneditable-input { .border-radius(0); } .add-on:first-child, .btn:first-child { margin-right: -1px; .border-radius(@inputBorderRadius 0 0 @inputBorderRadius); } .add-on:last-child, .btn:last-child { margin-left: -1px; .border-radius(0 @inputBorderRadius @inputBorderRadius 0); } } /* Allow for input prepend/append in search forms */ .form-search .input-append .search-query, .form-search .input-prepend .search-query { .border-radius(0); // Override due to specificity } .form-search .input-append .search-query { .border-radius(14px 0 0 14px) } .form-search .input-append .btn { .border-radius(0 14px 14px 0) } .form-search .input-prepend .search-query { .border-radius(0 14px 14px 0) } .form-search .input-prepend .btn { .border-radius(14px 0 0 14px) } .form-search, .form-inline, .form-horizontal { input, textarea, select, .help-inline, .uneditable-input, .input-prepend, .input-append { display: inline-block; .ie7-inline-block(); margin-bottom: 0; vertical-align: middle; } // Re-hide hidden elements due to specifity .hide { display: none; } } // Remove margin for input-prepend/-append .form-search .input-append, .form-inline .input-append, .form-search .input-prepend, .form-inline .input-prepend { margin-bottom: 0; } /* Accessible Hidden Elements (good for hidden labels and such) */ .element-invisible{ position: absolute; padding: 0 !important; margin: 0 !important; border: 0; height: 1px; width: 1px !important; overflow: hidden; } // Login form only // Shared size and type resets #form-login select, #form-login input[type="text"], #form-login input[type="password"] { display: inline-block; padding: 4px 6px; margin-bottom: 9px; font-size: @baseFontSize; line-height: @baseLineHeight; color: @gray; .border-radius(@inputBorderRadius); width: 175px; } /* Field subform repeatable */ .subform-repeatable-wrapper{ div.btn-toolbar{ float: none; } .text-right{ text-align: right; } .ui-sortable-helper{ background: @white; } tr.ui-sortable-helper{ display: table; } .subform-repeatable-group{ clear: both; } } less/icomoon.less 0000604 00000000741 15245523131 0010044 0 ustar 00 @font-face { font-family: 'IcoMoon'; src: url('../../../../media/jui/fonts/IcoMoon.eot'); src: url('../../../../media/jui/fonts/IcoMoon.eot?#iefix') format('embedded-opentype'), url('../../../../media/jui/fonts/IcoMoon.woff') format('woff'), url('../../../../media/jui/fonts/IcoMoon.ttf') format('truetype'), url('../../../../media/jui/fonts/IcoMoon.svg#IcoMoon') format('svg'); font-weight: normal; font-style: normal; } @import "../../../../media/jui/less/icomoon.less"; less/modals.less 0000604 00000004401 15245523131 0007655 0 ustar 00 // MODALS // ------ // Recalculate z-index where appropriate .modal-open { .dropdown-menu { z-index: @zindexDropdown + @zindexModal; } .dropdown.open { *z-index: @zindexDropdown + @zindexModal; } .popover { z-index: @zindexPopover + @zindexModal; } .tooltip { z-index: @zindexTooltip + @zindexModal; } } // Background .modal-backdrop { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: @zindexModalBackdrop; background-color: @black; // Fade for backdrop &.fade { opacity: 0; } } .modal-backdrop, .modal-backdrop.fade.in { .opacity(80); } // Base modal div.modal { position: fixed; top: 50%; left: 50%; z-index: @zindexModal; overflow: auto; width: 80%; margin: -250px 0 0 -40%; background-color: @white; border: 1px solid #999; border: 1px solid rgba(0,0,0,.3); *border: 1px solid #999; /* IE6-7 */ .border-radius(6px); .box-shadow(0 3px 7px rgba(0,0,0,0.3)); .background-clip(padding-box); &.fade { .transition(e('opacity .3s linear, top .3s ease-out')); top: -25%; } &.fade.in { top: 50%; } } .modal-header { padding: 9px 15px; border-bottom: 1px solid #eee; // Close icon .close { float: right; margin-top: 2px; } } // Body (where all modal content resides) .modal-body { overflow-y: auto; max-height: 400px; padding: 15px; } // Remove bottom margin if need be .modal-form { margin-bottom: 0; } // Footer (for actions) .modal-footer { padding: 14px 15px 15px; margin-bottom: 0; text-align: right; // right align buttons background-color: #f5f5f5; border-top: 1px solid #ddd; .border-radius(0 0 6px 6px); .box-shadow(inset 0 1px 0 @white); .clearfix(); // clear it in case folks use .pull-* classes on buttons // Properly space out buttons .btn + .btn { margin-left: 5px; margin-bottom: 0; // account for input[type="submit"] which gets the bottom margin like all other inputs } // but override that for button groups .btn-group .btn + .btn { margin-left: -1px; } } /* Prevent scrolling on the parent window of a modal */ body.modal-open { overflow: hidden; -ms-overflow-style: none; } /* Buttons bar in modal iframe */ .modal-buttons { padding: 15px 0px; } .modal-buttons button { font-size: 1.2em; line-height: 1.6em; } less/hathor_variables.less 0000604 00000010426 15245523131 0011717 0 ustar 00 // hathor_variables.less // // Less file containing Bootstrap variables needed to compile its CSS // ----------------------------------------------------- // Grays // ------------------------- @black: #000000; @grayDarker: #222222; @grayDark: #333333; @gray: #555555; @grayLight: #999999; @grayLighter: #eeeeee; @white: #ffffff; // Accent colors // ------------------------- @blue: #049cdb; @blueDark: #0064cd; @green: #46a546; @red: #9d261d; @yellow: #ffc40d; @orange: #f89406; @pink: #c3325f; @purple: #7a43b6; // Scaffolding // ------------------------- @bodyBackground: @white; @textColor: #2c2c2c; // Links // ------------------------- @linkColor: #054993; @linkColorHover: darken(@linkColor, 15%); // Typography // ------------------------- @baseFontSize: 13px; @baseLineHeight: 15px; @headingsFontFamily: inherit; // empty to use BS default, @baseFontFamily @headingsFontWeight: bold; // instead of browser default, bold @headingsColor: inherit; // empty to use BS default, @textColor // Component sizing // ------------------------- @baseBorderRadius: 4px; @borderRadiusLarge: 6px; @borderRadiusSmall: 3px; // Buttons // ------------------------- @btnBackground: @white; @btnBackgroundHighlight: darken(@white, 10%); @btnBorder: #bbb; @btnPrimaryBackground: @linkColor; @btnPrimaryBackgroundHighlight: spin(@btnPrimaryBackground, 20%); @btnInfoBackground: #5bc0de; @btnInfoBackgroundHighlight: #2f96b4; @btnSuccessBackground: #62c462; @btnSuccessBackgroundHighlight: #51a351; @btnWarningBackground: lighten(@orange, 15%); @btnWarningBackgroundHighlight: @orange; @btnDangerBackground: #ee5f5b; @btnDangerBackgroundHighlight: #bd362f; @btnInverseBackground: #444; @btnInverseBackgroundHighlight: @grayDarker; // Forms // ------------------------- @inputBackground: #e5f0fa; @inputBorder: #ccc; @inputBorderRadius: 3px; @inputDisabledBackground: @grayLighter; @formActionsBackground: #f5f5f5; @inputHeight: @baseLineHeight + 10px; // base line-height + 8px vertical padding + 2px top/bottom border // Z-index master list // ------------------------- // Used for a bird's eye view of components dependent on the z-axis // Try to avoid customizing these :) @zindexDropdown: 1000; @zindexTooltip: 1030; @zindexFixedNavbar: 1030; @zindexModalBackdrop: 1040; @zindexModal: 1050; @zindexPopover: 1060; // Form states and alerts // ------------------------- @warningText: #c09853; @warningBackground: #fcf8e3; @warningBorder: darken(spin(@warningBackground, -10), 3%); @errorText: #a20000; @errorBackground: #f2dede; @errorBorder: darken(spin(@errorBackground, -10), 3%); @successText: #005800; @successBackground: #dff0d8; @successBorder: darken(spin(@successBackground, -10), 5%); @infoText: #3a87ad; @infoBackground: #d9edf7; @infoBorder: darken(spin(@infoBackground, -10), 7%); // Tooltips and popovers // ------------------------- @tooltipColor: @white; @tooltipBackground: @black; @tooltipArrowWidth: 5px; @tooltipArrowColor: @tooltipBackground; @popoverBackground: @white; @popoverArrowWidth: 10px; @popoverArrowColor: @white; @popoverTitleBackground: darken(@popoverBackground, 3%); // Special enhancement for popovers @popoverArrowOuterWidth: @popoverArrowWidth + 1; @popoverArrowOuterColor: rgba(0,0,0,.25); // Variables unique to Hathor // ------------------------- @toolbarColor: @linkColor; @hoverBackground: #e5d9c3; @nwBorder: #868778; @seBorder: #f6f7db; @fadedText: #cccccc; @disabledBackground: #eeeeee; @permissionDefault: #ffffcf; @permissionAllowed: #cfffda; @permissionDenied: #ffcfcf; less/colour_baseline.less 0000604 00000103471 15245523131 0011552 0 ustar 00 // colour_baseline.less // // Baseline CSS for the Hathor colours. // Compilers should include this in their colour's imports, but not directly // compile using this file. // ----------------------------------------------------- // Core variables and mixins @import "../../../../media/jui/less/mixins.less"; // Bootstrap Buttons // Using override for Hathor to target specific instances only @import "buttons.less"; // Bootstrap Forms // Using override for Hathor since we're not pulling in all Bootstrap form styles @import "forms.less"; // Bootstrap Labels and Badges @import "../../../../media/jui/less/labels-badges.less"; /* * General styles */ body { background-color: @bodyBackground; color: @textColor; } h1 { color: @textColor; } a:link { color: @linkColor; } a:visited { color: @linkColor; } /* * Overall Styles */ #header { background: @bodyBackground url(../images/j_logo.png) no-repeat; } #header h1.title { color: @textColor; } #nav { #gradient > .vertical(@gradientTop, @gradientBottom); border: 1px solid @mainBorder; } #content { background: @bodyBackground; } #no-submenu { border-bottom: 1px solid @mainBorder; } #element-box { background: @bodyBackground; border-right: 1px solid @mainBorder; border-bottom: 1px solid @mainBorder; border-left: 1px solid @mainBorder; } #element-box.login { border-top: 1px solid @mainBorder; } /* * Various Styles */ .enabled, .success, .allow, span.writable { color: @successText; } .disabled, p.error, .warning, .deny, span.unwritable { color: @errorText; } .nowarning { color: @textColor; } .none, .protected { color: @mainBorder; } span.note { background: @bodyBackground; color: @textColor; } div.checkin-tick { background: url(../images/admin/tick.png) 20px 50% no-repeat; } /* * Overlib */ .ol-foreground { background-color: @altBackground; } .ol-background { background-color: @successText; } .ol-textfont { color: @textColor; } .ol-captionfont { color: @bodyBackground; } .ol-captionfont a { color: @linkColor; } /* * Subheader, toolbar, page title */ div.subheader .padding { background: @bodyBackground; } .pagetitle h2 { color: @textColor; } div.configuration { color: @textColor; background-image: url(../images/menu/icon-16-config.png); background-repeat: no-repeat; } div.toolbar-box { border-right: 1px solid @mainBorder; border-bottom: 1px solid @mainBorder; border-left: 1px solid @mainBorder; background: @bodyBackground; } div.toolbar-list li { color: @textColor; } div.toolbar-list li.divider { border-right: 1px dotted @hoverBackground; } div.toolbar-list a { border-left: 1px solid @hoverBackground; border-top: 1px solid @hoverBackground; border-right: 1px solid @mainBorder; border-bottom: 1px solid @mainBorder; background: @altBackground; } div.toolbar-list a:hover { border-left: 1px solid @nwBorder; border-top: 1px solid @nwBorder; border-right: 1px solid @seBorder; border-bottom: 1px solid @seBorder; background: @hoverBackground; color: @toolbarColor; } div.btn-toolbar { margin-left: 5px; padding-top: 3px; } div.btn-toolbar li.divider { border-right: 1px dotted @hoverBackground; } div.btn-toolbar div.btn-group button { border-left: 1px solid @hoverBackground; border-top: 1px solid @hoverBackground; border-right: 1px solid @mainBorder; border-bottom: 1px solid @mainBorder; #gradient > .vertical(@gradientTop, @gradientBottom); padding: 5px 4px 5px 4px; } div.btn-toolbar div.btn-group button:hover { border-left: 1px solid @nwBorder; border-top: 1px solid @nwBorder; border-right: 1px solid @seBorder; border-bottom: 1px solid @seBorder; background: @hoverBackground; color: @toolbarColor; cursor: pointer; } div.btn-toolbar a { border-left: 1px solid @hoverBackground; border-top: 1px solid @hoverBackground; border-right: 1px solid @mainBorder; border-bottom: 1px solid @mainBorder; #gradient > .vertical(@gradientTop, @gradientBottom); padding: 6px 5px; text-align: center; white-space: nowrap; font-size: 1.2em; text-decoration: none; } div.btn-toolbar a:hover { border-left: 1px solid @nwBorder; border-top: 1px solid @nwBorder; border-right: 1px solid @seBorder; border-bottom: 1px solid @seBorder; background: @hoverBackground; color: @toolbarColor; cursor: pointer; } div.btn-toolbar div.btn-group button.inactive { background: @altBackground; } /* * Pane Slider pane Toggler styles */ .pane-sliders .title { color: @textColor; } .pane-sliders .panel { border: 1px solid @mainBorder; } .pane-sliders .panel h3 { #gradient > .vertical(@gradientTop, @gradientBottom); color: @linkColor; } .pane-sliders .panel h3:hover { background: @hoverBackground; } .pane-sliders .panel h3:hover a { text-decoration: none; } .pane-sliders .adminlist { border: 0 none; } .pane-sliders .adminlist td { border: 0 none; } .pane-toggler span { background: transparent url(../images/j_arrow.png) 5px 50% no-repeat; } .pane-toggler-down span { background: transparent url(../images/j_arrow_down.png) 5px 50% no-repeat; } .pane-toggler-down { border-bottom: 1px solid @mainBorder; } /* * Tabs */ dl.tabs dt { border: 1px solid @mainBorder; #gradient > .vertical(@gradientTop, @gradientBottom); color: @linkColor; } dl.tabs dt:hover { background: @hoverBackground; } dl.tabs dt.open { background: @bodyBackground; border-bottom: 1px solid @bodyBackground; color: @textColor; } dl.tabs dt.open a:visited { color: @textColor; } dl.tabs dt a:hover { text-decoration: none; } dl.tabs dt a:focus { text-decoration: underline; } div.current { border: 1px solid @mainBorder; background: @bodyBackground; } /* * New parameter styles */ div.current fieldset { border: none 0; } div.current fieldset.adminform { border: 1px solid @mainBorder; } /* * Login Settings */ #login-page .pagetitle h2 { background: transparent; } #login-page #header { border-bottom: 1px solid @mainBorder; } #login-page #lock { background: url(../images/j_login_lock.png) 50% 0 no-repeat; } #login-page #element-box.login { #gradient > .vertical(@gradientTop, @gradientBottom); } #form-login { background: @bodyBackground; border: 1px solid @mainBorder; } #form-login label { color: @textColor; } #form-login div.button1 a { color: @linkColor; } /* * Cpanel Settings */ #cpanel div.icon a, .cpanel div.icon a { color: @linkColor; border-left: 1px solid @hoverBackground; border-top: 1px solid @hoverBackground; border-right: 1px solid @mainBorder; border-bottom: 1px solid @mainBorder; #gradient > .vertical(@gradientTop, @gradientBottom); } #cpanel div.icon a:hover, #cpanel div.icon a:focus, .cpanel div.icon a:hover, .cpanel div.icon a:focus { border-left: 1px solid @nwBorder; border-top: 1px solid @nwBorder; border-right: 1px solid @seBorder; border-bottom: 1px solid @seBorder; color: @linkColor; background: @hoverBackground; } /* * Form Styles */ fieldset { border: 1px @mainBorder solid; } legend { color: @textColor; } fieldset ul.checklist input:focus { outline: thin dotted @textColor; } fieldset#filter-bar { border-top: 0 solid @mainBorder; border-right: 0 solid @mainBorder; border-bottom: 1px solid @mainBorder; border-left: 0 solid @mainBorder; } fieldset#filter-bar ol, fieldset#filter-bar ul { border: 0; } fieldset#filter-bar ol li fieldset, fieldset#filter-bar ul li fieldset { border: 0; } /* Note: these visual cues should be augmented by aria */ .invalid { color: @errorText; } /* must be augmented by aria at the same time if changed dynamically by js aria-invalid=true or aria-invalid=false */ input.invalid { border: 1px solid @errorText; } /* augmented by aria in template javascript */ input.readonly, span.faux-input { border: 0; } input.required { background-color: @inputBackground; } input.disabled { background-color: @disabledBackground; } input, select, span.faux-input { background-color: @bodyBackground; border: 1px solid @mainBorder; } /* Inputs used as buttons */ input[type="button"], input[type="submit"], input[type="reset"] { color: @linkColor; #gradient > .vertical(@gradientTop, @gradientBottom); } input[type="button"]:hover, input[type="button"]:focus, input[type="submit"]:hover, input[type="submit"]:focus, input[type="reset"]:hover, input[type="reset"]:focus { background: @hoverBackground; } textarea { background-color: @bodyBackground; border: 1px solid @mainBorder; } input:focus, select:focus, textarea:focus, option:focus, input:hover, select:hover, textarea:hover, option:hover { background-color: @hoverBackground; color: @linkColor; } /* * Option or Parameter styles */ .paramrules { background: @altBackground; } span.gi { color: @mainBorder; } /* * Admintable Styles */ table.admintable td.key, table.admintable td.paramlist_key { background-color: @altBackground; color: @textColor; border-bottom: 1px solid @mainBorder; border-right: 1px solid @mainBorder; } table.paramlist td.paramlist_description { background-color: @altBackground; color: @textColor; border-bottom: 1px solid @mainBorder; border-right: 1px solid @mainBorder; } /* * Admin Form Styles */ fieldset.adminform { border: 1px solid @mainBorder; } /* * Table styles are for use with tabular data */ table.adminform { background-color: @bodyBackground; } table.adminform tr.row0 { background-color: @bodyBackground; } table.adminform tr.row1 { background-color: @hoverBackground; } table.adminform th { color: @textColor; background: @bodyBackground; } table.adminform tr { border-bottom: 1px solid @mainBorder; border-right: 1px solid @mainBorder; } /* * Adminlist Table layout */ table.adminlist { border-spacing: 1px; background-color: @bodyBackground; color: @textColor; } table.adminlist.modal { border-top: 1px solid @mainBorder; border-right: 1px solid @mainBorder; border-left: 1px solid @mainBorder; } table.adminlist a { color: @linkColor; } table.adminlist thead th { background: @bodyBackground; color: @textColor; border-bottom: 1px solid @mainBorder; } /* * Table row styles */ table.adminlist tbody tr { background: @bodyBackground; } table.adminlist tbody tr.row1 { background: @bodyBackground; } table.adminlist tbody tr.row1:last-child td, table.adminlist tbody tr.row1:last-child th { border-bottom: 1px solid @mainBorder; } table.adminlist tbody tr.row0:hover td, table.adminlist tbody tr.row1:hover td, table.adminlist tbody tr.row0:hover th, table.adminlist tbody tr.row1:hover th, table.adminlist tbody tr.row0:focus td, table.adminlist tbody tr.row1:focus td, table.adminlist tbody tr.row0:focus th, table.adminlist tbody tr.row1:focus th { background-color: @hoverBackground; } table.adminlist tbody tr td, table.adminlist tbody tr th { border-right: 1px solid @mainBorder; } table.adminlist tbody tr td:last-child { border-right: none; } table.adminlist tbody tr.row0:last-child td, table.adminlist tbody tr.row0:last-child th { border-bottom: 1px solid @mainBorder; } table.adminlist tbody tr.row0 td, table.adminlist tbody tr.row0 th { #gradient > .vertical(@gradientTop, @gradientBottom); } table.adminlist { border-bottom: 0 solid @mainBorder; } table.adminlist tfoot tr { color: @textColor; } /* * Table td/th styles */ table.adminlist tfoot td, table.adminlist tfoot th { background-color: @bodyBackground; border-top: 1px solid @mainBorder; } /* * Adminlist buttons */ table.adminlist tr td.btns a { border: 1px solid @mainBorder; #gradient > .vertical(@gradientTop, @gradientBottom); color: @linkColor; } table.adminlist tr td.btns a:hover, table.adminlist tr td.btns a:active, table.adminlist tr td.btns a:focus { background-color: @bodyBackground; } /* * Saving order icon styling in admin tables */ a.saveorder { background: url(../images/admin/filesave.png) no-repeat; } a.saveorder.inactive { background-position: 0 -16px; } /* * Saving order icon styling in admin tables */ fieldset.batch { background: @bodyBackground; } /** * Button styling */ button { color: @toolbarColor; border: 1px solid @mainBorder; #gradient > .vertical(@gradientTop, @gradientBottom); } button:hover, button:focus { background: @hoverBackground; } .invalid { color: #ff0000; } /* Button 1 Type */ .button1 { border: 1px solid @mainBorder; color: @linkColor; #gradient > .vertical(@gradientTop, @gradientBottom); } /* Use this if you add images to the buttons such as directional arrows */ .button1 a { color: @linkColor; /* add padding if you are using the directional images */ /* padding: 0 30px 0 6px; */ } .button1 a:hover, .button1 a:focus { background: @hoverBackground; } /* Button 2 Type */ .button2-left, .button2-right { border: 1px solid @mainBorder; #gradient > .vertical(@gradientTop, @gradientBottom); } .button2-left a, .button2-right a, .button2-left span, .button2-right span { color: @linkColor; } /* these are inactive buttons */ .button2-left span, .button2-right span { color: #999999; } .page span, .blank span { color: @linkColor; } .button2-left a:hover, .button2-right a:hover, .button2-left a:focus, .button2-right a:focus { background: @hoverBackground; } /** * Pagination styles */ /* Grey out the current page number */ .pagination .page span { color: #999999; } /** * Tooltips */ .tip { background: #000000; border: 1px solid #FFFFFF; } .tip-title { background: url(../images/selector-arrow-std.png) no-repeat; } /** * Calendar */ a img.calendar { background: url(../images/calendar.png) no-repeat; } /** * JGrid styles */ .jgrid span.publish { background-image: url(../images/admin/tick.png); } .jgrid span.unpublish { background-image: url(../images/admin/publish_x.png); } .jgrid span.archive { background-image: url(../images/menu/icon-16-archive.png); } .jgrid span.trash { background-image: url(../images/menu/icon-16-trash.png); } .jgrid span.default { background-image: url(../images/menu/icon-16-default.png); } .jgrid span.notdefault { background-image: url(../images/menu/icon-16-notdefault.png); } .jgrid span.checkedout { background-image: url(../images/admin/checked_out.png); } .jgrid span.downarrow { background-image: url(../images/admin/downarrow.png); } .jgrid span.downarrow_disabled { background-image: url(../images/admin/downarrow0.png); } .jgrid span.uparrow { background-image: url(../images/admin/uparrow.png); } .jgrid span.uparrow_disabled { background-image: url(../images/admin/uparrow0.png); } .jgrid span.published { background-image: url(../images/admin/publish_g.png); } .jgrid span.expired { background-image: url(../images/admin/publish_r.png); } .jgrid span.pending { background-image: url(../images/admin/publish_y.png); } .jgrid span.warning { background-image: url(../images/admin/publish_y.png); } /** * Toolbar icons * These icons are used for the toolbar buttons * The classes are constructed dynamically when the toolbar is created */ .icon-32-send { background-image: url(../images/toolbar/icon-32-send.png); } .icon-32-delete { background-image: url(../images/toolbar/icon-32-delete.png); } .icon-32-help { background-image: url(../images/toolbar/icon-32-help.png); } .icon-32-cancel { background-image: url(../images/toolbar/icon-32-cancel.png); } .icon-32-checkin { background-image: url(../images/toolbar/icon-32-checkin.png); } .icon-32-options { background-image: url(../images/toolbar/icon-32-config.png); } .icon-32-apply { background-image: url(../images/toolbar/icon-32-apply.png); } .icon-32-back { background-image: url(../images/toolbar/icon-32-back.png); } .icon-32-forward { background-image: url(../images/toolbar/icon-32-forward.png); } .icon-32-save { background-image: url(../images/toolbar/icon-32-save.png); } .icon-32-edit { background-image: url(../images/toolbar/icon-32-edit.png); } .icon-32-copy { background-image: url(../images/toolbar/icon-32-copy.png); } .icon-32-move { background-image: url(../images/toolbar/icon-32-move.png); } .icon-32-new { background-image: url(../images/toolbar/icon-32-new.png); } .icon-32-upload { background-image: url(../images/toolbar/icon-32-upload.png); } .icon-32-assign { background-image: url(../images/toolbar/icon-32-publish.png); } .icon-32-html { background-image: url(../images/toolbar/icon-32-html.png); } .icon-32-css { background-image: url(../images/toolbar/icon-32-css.png); } .icon-32-menus { background-image: url(../images/toolbar/icon-32-menu.png); } .icon-32-publish { background-image: url(../images/toolbar/icon-32-publish.png); } .icon-32-unblock { background-image: url(../images/toolbar/icon-32-unblock.png); } .icon-32-unpublish { background-image: url(../images/toolbar/icon-32-unpublish.png); } .icon-32-restore { background-image: url(../images/toolbar/icon-32-revert.png); } .icon-32-trash { background-image: url(../images/toolbar/icon-32-trash.png); } .icon-32-archive { background-image: url(../images/toolbar/icon-32-archive.png); } .icon-32-unarchive { background-image: url(../images/toolbar/icon-32-unarchive.png); } .icon-32-preview { background-image: url(../images/toolbar/icon-32-preview.png); } .icon-32-default { background-image: url(../images/toolbar/icon-32-default.png); } .icon-32-refresh { background-image: url(../images/toolbar/icon-32-refresh.png); } .icon-32-save-new { background-image: url(../images/toolbar/icon-32-save-new.png); } .icon-32-save-copy { background-image: url(../images/toolbar/icon-32-save-copy.png); } .icon-32-error { background-image: url(../images/toolbar/icon-32-error.png); } .icon-32-new-style { background-image: url(../images/toolbar/icon-32-new-style.png); } .icon-32-delete-style { background-image: url(../images/toolbar/icon-32-delete-style.png); } .icon-32-purge { background-image: url(../images/toolbar/icon-32-purge.png); } .icon-32-remove { background-image: url(../images/toolbar/icon-32-remove.png); } .icon-32-featured { background-image: url(../images/toolbar/icon-32-featured.png); } .icon-32-unfeatured { background-image: url(../images/toolbar/icon-32-featured.png); background-position: 0% 100%; } .icon-32-export { background-image: url(../images/toolbar/icon-32-export.png); } .icon-32-stats { background-image: url(../images/toolbar/icon-32-stats.png); } .icon-32-print { background-image: url(../images/toolbar/icon-32-print.png); } .icon-32-batch { background-image: url(../images/toolbar/icon-32-batch.png); } .icon-32-envelope { background-image: url(../images/toolbar/icon-32-messaging.png); } .icon-32-download { background-image: url(../images/toolbar/icon-32-export.png); } .icon-32-bars { background-image: url(../images/toolbar/icon-32-stats.png); } /** * 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 */ .icon-48-categories { background-image: url(../images/header/icon-48-category.png); } .icon-48-category-edit { background-image: url(../images/header/icon-48-category.png); } .icon-48-category-add { background-image: url(../images/header/icon-48-category-add.png); } .icon-48-generic { background-image: url(../images/header/icon-48-generic.png); } .icon-48-banners { background-image: url(../images/header/icon-48-banner.png); } .icon-48-banners-categories { background-image: url(../images/header/icon-48-banner-categories.png); } .icon-48-banners-category-edit { background-image: url(../images/header/icon-48-banner-categories.png); } .icon-48-banners-category-add { background-image: url(../images/header/icon-48-category-add.png); } .icon-48-banners-clients { background-image: url(../images/header/icon-48-banner-client.png); } .icon-48-banners-tracks { background-image: url(../images/header/icon-48-banner-tracks.png); } .icon-48-checkin { background-image: url(../images/header/icon-48-checkin.png); } .icon-48-clear { background-image: url(../images/header/icon-48-clear.png); } .icon-48-contact { background-image: url(../images/header/icon-48-contacts.png); } .icon-48-contact-categories { background-image: url(../images/header/icon-48-contacts-categories.png); } .icon-48-contact-category-edit { background-image: url(../images/header/icon-48-contacts-categories.png); } .icon-48-contact-category-add { background-image: url(../images/header/icon-48-category-add.png); } .icon-48-purge { background-image: url(../images/header/icon-48-purge.png); } .icon-48-cpanel { background-image: url(../images/header/icon-48-cpanel.png); } .icon-48-config { background-image: url(../images/header/icon-48-config.png); } .icon-48-groups { background-image: url(../images/header/icon-48-groups.png); } .icon-48-groups-add { background-image: url(../images/header/icon-48-groups-add.png); } .icon-48-levels { background-image: url(../images/header/icon-48-levels.png); } .icon-48-levels-add { background-image: url(../images/header/icon-48-levels-add.png); } .icon-48-module { background-image: url(../images/header/icon-48-module.png); } .icon-48-menu { background-image: url(../images/header/icon-48-menu.png); } .icon-48-menu-add { background-image: url(../images/header/icon-48-menu-add.png); } .icon-48-menumgr { background-image: url(../images/header/icon-48-menumgr.png); } .icon-48-trash { background-image: url(../images/header/icon-48-trash.png); } .icon-48-user { background-image: url(../images/header/icon-48-user.png); } .icon-48-user-add { background-image: url(../images/header/icon-48-user-add.png); } .icon-48-user-edit { background-image: url(../images/header/icon-48-user-edit.png); } .icon-48-user-profile { background-image: url(../images/header/icon-48-user-profile.png); } .icon-48-inbox { background-image: url(../images/header/icon-48-inbox.png); } .icon-48-new-privatemessage { background-image: url(../images/header/icon-48-new-privatemessage.png); } .icon-48-msgconfig { background-image: url(../images/header/icon-48-message_config.png); } .icon-48-langmanager { background-image: url(../images/header/icon-48-language.png); } .icon-48-mediamanager { background-image: url(../images/header/icon-48-media.png); } .icon-48-plugin { background-image: url(../images/header/icon-48-plugin.png); } .icon-48-help_header { background-image: url(../images/header/icon-48-help_header.png); } .icon-48-impressions { background-image: url(../images/header/icon-48-stats.png); } .icon-48-browser { background-image: url(../images/header/icon-48-stats.png); } .icon-48-searchtext { background-image: url(../images/header/icon-48-stats.png); } .icon-48-thememanager { background-image: url(../images/header/icon-48-themes.png); } .icon-48-writemess { background-image: url(../images/header/icon-48-writemess.png); } .icon-48-featured { background-image: url(../images/header/icon-48-featured.png); } .icon-48-sections { background-image: url(../images/header/icon-48-section.png); } .icon-48-article-add { background-image: url(../images/header/icon-48-article-add.png); } .icon-48-article-edit { background-image: url(../images/header/icon-48-article-edit.png); } .icon-48-article { background-image: url(../images/header/icon-48-article.png); } .icon-48-content-categories { background-image: url(../images/header/icon-48-category.png); } .icon-48-content-category-edit { background-image: url(../images/header/icon-48-category.png); } .icon-48-content-category-add { background-image: url(../images/header/icon-48-category-add.png); } .icon-48-install { background-image: url(../images/header/icon-48-extension.png); } .icon-48-dbbackup { background-image: url(../images/header/icon-48-backup.png); } .icon-48-dbrestore { background-image: url(../images/header/icon-48-dbrestore.png); } .icon-48-dbquery { background-image: url(../images/header/icon-48-query.png); } .icon-48-systeminfo { background-image: url(../images/header/icon-48-info.png); } .icon-48-massmail { background-image: url(../images/header/icon-48-massmail.png); } .icon-48-redirect { background-image: url(../images/header/icon-48-redirect.png); } .icon-48-search { background-image: url(../images/header/icon-48-search.png); } .icon-48-finder { background-image: url(../images/header/icon-48-search.png); } .icon-48-newsfeeds { background-image: url(../images/header/icon-48-newsfeeds.png); } .icon-48-newsfeeds-categories { background-image: url(../images/header/icon-48-newsfeeds-cat.png); } .icon-48-newsfeeds-category-edit { background-image: url(../images/header/icon-48-newsfeeds-cat.png); } .icon-48-newsfeeds-category-add { background-image: url(../images/header/icon-48-category-add.png); } .icon-48-weblinks { background-image: url(../images/header/icon-48-links.png); } .icon-48-weblinks-categories { background-image: url(../images/header/icon-48-links-cat.png); } .icon-48-weblinks-category-edit { background-image: url(../images/header/icon-48-links-cat.png); } .icon-48-weblinks-category-add { background-image: url(../images/header/icon-48-category-add.png); } .icon-48-tags { background-image: url(../images/header/icon-48-tags.png); } .icon-48-assoc { background-image: url(../images/header/icon-48-assoc.png); } .icon-48-puzzle { background-image: url(../images/header/icon-48-puzzle.png); } /** * General styles */ div.message { border: 1px solid @mainBorder; color: @textColor; } .helpFrame { border-left: 0 solid @mainBorder; border-right: none; border-top: none; border-bottom: none; } .outline { border: 1px solid @mainBorder; background: @bodyBackground; } /** * Modal Styles */ dl.menu_type dt { border-bottom: 1px solid @mainBorder; } ul#new-modules-list { border-top: 1px solid @mainBorder; } /** * User Accessibility */ /* Skip to Content Visual Styling */ #skiplinkholder a, #skiplinkholder a:link, #skiplinkholder a:visited { color: @bodyBackground; background: @linkColor; border-bottom: solid #336 2px; } /** * Admin Form Styles */ fieldset.panelform { border: none 0; } /** * ACL STYLES relocated from com_users/media/grid.css */ a.move_up { background-image: url('../images/admin/uparrow.png'); } span.move_up { background-image: url('../images/admin/uparrow0.png'); } a.move_down { background-image: url('../images/admin/downarrow.png'); } span.move_down { background-image: url('../images/admin/downarrow0.png'); } a.grid_false { background-image: url('../images/admin/publish_x.png'); } a.grid_true { background-image: url('../images/admin/tick.png'); } a.grid_trash { background-image: url('../images/admin/icon-16-trash.png'); } /** * ACL PANEL STYLES */ /* All Tabs */ tr.row1 { background-color: @altBackground; } /* Summary Tab */ 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-left: 1px solid @mainBorder; } /* Icons */ span.icon-16-unset { background: url(../images/admin/icon-16-denyinactive.png) no-repeat; } span.icon-16-allowed { background: url(../images/admin/icon-16-allow.png) no-repeat; } span.icon-16-denied { background: url(../images/admin/icon-16-deny.png) no-repeat; } span.icon-16-locked { background: url(../images/admin/checked_out.png) 0 0 no-repeat; } label.icon-16-allow { background: url(../images/admin/icon-16-allow.png) no-repeat; } label.icon-16-deny { background: url(../images/admin/icon-16-deny.png) no-repeat; } a.icon-16-allow { background: url(../images/admin/icon-16-allow.png) no-repeat; } a.icon-16-deny { background: url(../images/admin/icon-16-deny.png) no-repeat; } a.icon-16-allowinactive { background: url(../images/admin/icon-16-allowinactive.png) no-repeat; } a.icon-16-denyinactive { background: url(../images/admin/icon-16-denyinactive.png) no-repeat; } /* ACL footer/legend */ ul.acllegend li.acl-allowed { background: url(../images/admin/icon-16-allow.png) no-repeat left; } ul.acllegend li.acl-denied { background: url(../images/admin/icon-16-deny.png) no-repeat left; } li.acl-editgroups, li.acl-resetbtn { background-color: @altBackground; border: 1px solid @mainBorder; } li.acl-editgroups a, li.acl-resetbtn a { color: @linkColor; } li.acl-editgroups:hover, li.acl-resetbtn:hover, li.acl-editgroups:focus, li.acl-resetbtn:focus { background-color: @hoverBackground; } /* ACL Config --------- */ table#acl-config { border: 1px solid @mainBorder; } table#acl-config th, table#acl-config td { background: @altBackground; border-bottom: 1px solid @mainBorder; } table#acl-config th.acl-groups { border-right: 1px solid @mainBorder; } /** * Mod_rewrite Warning */ #jform_sef_rewrite-lbl { background: url(../images/admin/icon-16-notice-note.png) right top no-repeat; } /** * Permission Rules */ #permissions-sliders .tip { background: @bodyBackground; border: 1px solid @mainBorder; } #permissions-sliders ul#rules, #permissions-sliders ul#rules ul { border: solid 0 @mainBorder; background: @bodyBackground; } ul#rules li .pane-sliders .panel h3.title { border: solid 0 @mainBorder; } #permissions-sliders ul#rules .pane-slider { border: solid 1px @mainBorder; } #permissions-sliders ul#rules li h3 { border: solid 1px @mainBorder; } #permissions-sliders ul#rules li h3.pane-toggler-down a { border: solid 0; } #permissions-sliders ul#rules .group-kind { color: @textColor; } #permissions-sliders ul#rules table.group-rules { border: solid 1px @mainBorder; } #permissions-sliders ul#rules table.group-rules td { border-right: solid 1px @mainBorder; border-bottom: solid 1px @mainBorder; } #permissions-sliders ul#rules table.group-rules th { background: @hoverBackground; border-right: solid 1px @mainBorder; border-bottom: solid 1px @mainBorder; color: @textColor; } ul#rules table.aclmodify-table { border: solid 1px @mainBorder; } ul#rules table.group-rules td label { border: solid 0 @mainBorder; } #permissions-sliders ul#rules .mypanel { border: solid 0 @mainBorder; } #permissions-sliders ul#rules table.group-rules td { background: @bodyBackground; } #permissions-sliders span.level { color: @mainBorder; background-image: none; } /* * Debug styles */ .check-0, table.adminlist tbody td.check-0 { background-color: @permissionDefault; } .check-a, table.adminlist tbody td.check-a { background-color: @permissionAllowed; } .check-d, table.adminlist tbody td.check-d { background-color: @permissionDenied; } /** * System Messages */ #system-message dd ul { color: @textColor; } #system-message dd.error ul { color: @textColor; } #system-message dd.message ul { color: @textColor; } #system-message dd.notice ul { color: @textColor; } /** CSS file for Accessible Admin Menu * based on Matt Carrolls' son of suckerfish * with javascript by Bill Tomczak */ /* Note: set up the font-size on the id and used 100% on the elements. If ul/li/a are different ems, then the shifting back via non-js keyboard doesn't work properly */ /** * Menu Styling */ #menu { /* this is on the main ul */ color: @textColor; } #menu ul.dropdown-menu { /* all lists */ #gradient > .vertical(@gradientTop, @gradientBottom); color: @textColor; } #menu ul.dropdown-menu li.dropdown-submenu { background: url(../images/j_arrow.png) no-repeat right 50%; } #menu ul.dropdown-menu li.divider { margin-bottom: 0; border-bottom: 1px dotted @mainBorder; } #menu a { color: @toolbarColor; background-repeat: no-repeat; background-position: left 50%; } #menu li { /* all list items */ border-right: 1px solid @mainBorder; background-color: transparent; } #menu li a:hover, #menu li a:focus { background-color: @hoverBackground; } #menu li.disabled a:hover, #menu li.disabled a:focus, #menu li.disabled a { color: @mainBorder; #gradient > .vertical(@gradientTop, @gradientBottom); } #menu li ul { /* second-level lists */ border: 1px solid @mainBorder; } #menu li li { /* second-level row */ background-color: transparent; } /** * Styling parents */ /* 1 level - sfhover */ #menu li.sfhover a { background-color: @hoverBackground; } /* 2 level - normal */ #menu li.sfhover li a { background-color: transparent; } /* 2 level - hover */ #menu li.sfhover li.sfhover a, #menu li li a:focus { background-color: @hoverBackground; } /* 3 level - normal */ #menu li.sfhover li.sfhover li a { background-color: transparent; } /* 3 level - hover */ #menu li.sfhover li.sfhover li.sfhover a, #menu li li li a:focus { background-color: @hoverBackground; } /* bring back the focus elements into view */ #menu li li a:focus, #menu li li li a:focus { background-color: @hoverBackground; } #menu li li li a:focus { background-color: @hoverBackground; } /** * Submenu styling */ #submenu { border-bottom: 1px solid @mainBorder; /* border-bottom plus padding-bottom is the technique */ /* This is the background befind the tabs */ /*background: @bodyBackground;*/ } #submenu li, #submenu span.nolink { #gradient > .vertical(@gradientTop, @gradientBottom); border: 1px solid @mainBorder; color: @linkColor; } #submenu li:hover, #submenu li:focus { background: @hoverBackground; } #submenu li.active, #submenu span.nolink.active { background: @bodyBackground; border-bottom: 1px solid @bodyBackground; } #submenu li.active a, #submenu span.nolink.active { color: #000; } .element-invisible { margin: 0; padding: 0; } /* -- Codemirror Editor ----------- */ div.CodeMirror-wrapping { border: 1px solid @mainBorder; } /* User Notes */ table.adminform tr.row0 { background-color: @bodyBackground; } ul.alternating > li:nth-child(odd) { background-color: @bodyBackground; } ul.alternating > li:nth-child(even) { background-color: @altBackground; } ol.alternating > li:nth-child(odd) { background-color: @bodyBackground; } ol.alternating > li:nth-child(even) { background-color: @altBackground; } /* Installer Database */ #installer-database, #installer-discover, #installer-update, #installer-warnings { border-top: 1px solid @mainBorder; } #installer-database p.warning { background: transparent url(../images/admin/icon-16-deny.png) center left no-repeat; } #installer-database p.nowarning { background: transparent url(../images/admin/icon-16-allow.png) center left no-repeat; } /* Override default bootstrap font-size */ .input-append, .input-prepend { font-size: 1.2em; } less/variables.less 0000604 00000014200 15245523131 0010344 0 ustar 00 // Variables.less // Variables to customize the look and feel of Bootstrap // ----------------------------------------------------- // GLOBAL VALUES // -------------------------------------------------- // Grays // ------------------------- @black: #000; @grayDarker: #222; @grayDark: #333; @gray: #555; @grayLight: #999; @grayLighter: #eee; @white: #fff; // Accent colors // ------------------------- @blue: #049cdb; @blueDark: #0064cd; @green: #46a546; @red: #9d261d; @yellow: #ffc40d; @orange: #f89406; @pink: #c3325f; @purple: #7a43b6; // Scaffolding // ------------------------- @bodyBackground: @white; @textColor: @grayDark; // Links // ------------------------- @linkColor: #08c; @linkColorHover: darken(@linkColor, 15%); // Typography // ------------------------- @sansFontFamily: "Helvetica Neue", Helvetica, Arial, sans-serif; @serifFontFamily: Georgia, "Times New Roman", Times, serif; @monoFontFamily: Menlo, Monaco, Consolas, "Courier New", monospace; @baseFontSize: 13px; @baseFontFamily: @sansFontFamily; @baseLineHeight: 18px; @altFontFamily: @serifFontFamily; @headingsFontFamily: inherit; // empty to use BS default, @baseFontFamily @headingsFontWeight: bold; // instead of browser default, bold @headingsColor: inherit; // empty to use BS default, @textColor // Tables // ------------------------- @tableBackground: transparent; // overall background-color @tableBackgroundAccent: #f9f9f9; // for striping @tableBackgroundHover: #f5f5f5; // for hover @tableBorder: #ddd; // table and cell border // Buttons // ------------------------- @btnBackground: @white; @btnBackgroundHighlight: darken(@white, 10%); @btnBorder: #ccc; @btnPrimaryBackground: #2384d3; @btnPrimaryBackgroundHighlight: #15497c; @btnInfoBackground: #5bc0de; @btnInfoBackgroundHighlight: #2f96b4; @btnSuccessBackground: #62c462; @btnSuccessBackgroundHighlight: #51a351; @btnWarningBackground: lighten(@orange, 15%); @btnWarningBackgroundHighlight: @orange; @btnDangerBackground: #ee5f5b; @btnDangerBackgroundHighlight: #bd362f; @btnInverseBackground: @gray; @btnInverseBackgroundHighlight: @grayDarker; // Forms // ------------------------- @inputBackground: @white; @inputBorder: #ccc; @inputBorderRadius: 3px; @inputDisabledBackground: @grayLighter; @formActionsBackground: #f5f5f5; // Dropdowns // ------------------------- @dropdownBackground: @white; @dropdownBorder: rgba(0,0,0,.2); @dropdownLinkColor: @grayDark; @dropdownLinkColorHover: @white; @dropdownLinkBackgroundHover: @linkColor; @dropdownDividerTop: #e5e5e5; @dropdownDividerBottom: @white; // COMPONENT VARIABLES // -------------------------------------------------- // Z-index master list // ------------------------- // Used for a bird's eye view of components dependent on the z-axis // Try to avoid customizing these :) @zindexDropdown: 1000; @zindexTooltip: 1020; @zindexFixedNavbar: 1030; @zindexModalBackdrop: 1040; @zindexModal: 1050; @zindexPopover: 1060; // Sprite icons path // ------------------------- @iconSpritePath: "../img/glyphicons-halflings.png"; @iconWhiteSpritePath: "../img/glyphicons-halflings-white.png"; // Input placeholder text color // ------------------------- @placeholderText: @grayLight; // Hr border color // ------------------------- @hrBorder: @grayLighter; // Navbar // ------------------------- @navbarHeight: 40px; @navbarBackground: @grayDarker; @navbarBackgroundHighlight: @grayDark; @navbarText: @grayLight; @navbarLinkColor: @grayLight; @navbarLinkColorHover: @white; @navbarLinkColorActive: @navbarLinkColorHover; @navbarLinkBackgroundHover: transparent; @navbarLinkBackgroundActive: @navbarBackground; @navbarSearchBackground: lighten(@navbarBackground, 25%); @navbarSearchBackgroundFocus: @white; @navbarSearchBorder: darken(@navbarSearchBackground, 30%); @navbarSearchPlaceholderColor: #ccc; @navbarBrandColor: @navbarLinkColor; // Hero unit // ------------------------- @heroUnitBackground: @grayLighter; @heroUnitHeadingColor: inherit; @heroUnitLeadColor: inherit; // Form states and alerts // ------------------------- @warningText: #c09853; @warningBackground: #fcf8e3; @warningBorder: darken(spin(@warningBackground, -10), 3%); @errorText: #b94a48; @errorBackground: #f2dede; @errorBorder: darken(spin(@errorBackground, -10), 3%); @successText: #468847; @successBackground: #dff0d8; @successBorder: darken(spin(@successBackground, -10), 5%); @infoText: #3a87ad; @infoBackground: #d9edf7; @infoBorder: darken(spin(@infoBackground, -10), 7%); // GRID // -------------------------------------------------- // Default 940px grid // ------------------------- @gridColumns: 12; @gridColumnWidth: 60px; @gridGutterWidth: 20px; @gridRowWidth: (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1)); // Fluid grid // ------------------------- @fluidGridColumnWidth: 6.382978723%; @fluidGridGutterWidth: 2.127659574%; // Login // ------------------------- @loginBackground: #142849; @loginBackgroundHighlight: #165387; // Header // ------------------------- @headerBackground: #1a3867; @headerBackgroundHighlight: #17568c; template_thumbnail.png 0000604 00000007364 15245523131 0011137 0 ustar 00 �PNG IHDR � � �w� �PLTE���2d;t6R(Da9|6j>|��������ٜ�ó����觧�����ż��涾���������ڂ���������߃����I{�nt�g��;���-��it��@]������g��ߪ��T]uds�N�pp���Ddh�| w�TBBB�ꁛ͘drOA�8M`�Q՚ tRNS @��f �IDATx웇r�8�F�r7�FF3Z�9nN�d�i����h��%���T�)4���/�7?l��A�/L���s��x{5�wh:7=s�����ֳ�@���쨴PZ��ZiP���۟/4�p0�9�иF�ˑ{J�y�r�\ӸP����� r�w�. �/��:��Ә��n9�%�O�]���]^�K�\.�;���(��|�Ο?���j�І��!됔M��&/N�%����@�L�٩�1C� b�L��� B��D!����@�)�#r����vX$���a�g�A lB.u;tb������(����9�ȴ�q���SAѪ��*�v��=�XDދ�83Yc��|!��5BN��WAx��kc���bF3�����i��^�5M'����M������ @�Y��R.�9����i���c�|tJ��B�jrTU�����Vm�Y��qI�A)��~�/6w�`s�۞ �q�=Q[:G�?6�O�'"�t,Xo�Rҥ�ke�9r�4�SKZ�1%}�[�8c��S�W�S��(��S�K�0���O���n��au�^8!z~Az!`���CT�q�X�� ��w�j�Z�:�m�����[u_M�+�Į<������>�^���(z��敯v�! $�1g�T���g���V.ԟ�!��c��e|���8����h?�A�GGؑߜ��^^^��ϧ�7��i�]#�j ��K��.��H �A,��@(|� ��=Q#�=:��Yg���3rr~O<�F���R��R����*�n�ֆgHiIi�Ә�S�SJ����#2��8�ʹM��V������� ѐ�'=�D֔�M�(������T@�D�ߤc�m��J���qtn*�Eg�wpU D���>�S��DU��˷�ؼ��Z����(�8�0?�[GgOkkw��p6aw��i+c�$��<x����R{ v� ��, H�� �ּS'��'���kB���L��\��ւ @P`�S�@,�C� ~^Q��t�p4]Ӽ�䈘{1? 7�{)"B��R-J����!u��S�lm^U�*�*9��u���ӣ�m�6%��C6i�@%Hi�����KO��;��0�l�1<w�ܿy��ϝ�q�۷n+�N�v�#ס^��tr�c�!��;��0��S�J3-'��9�z)E�B��{�C^�N=��6}ك-R?�5���b܄�q*Xt�U�Xt/V~ծ���ym��y���:�?�o��wx�p3>_�ϛ�z�N�(���K!�Xڂ ���_X�vV ��:��� �0���q�^�:��e��Sg��<���>:�\�ھ�:��kS��= X [:f�9�u'�I��O�ܥ�5��k����9�N�[:�=���h��2z[�[|:�;%s��yqr�hj��t���Mn�3}����.,*�����zu�=��ރ� �-..V�{�l�0����>o����|�D� , 8p�Z�9vb6�JZ/J�R�� �* 8:�X���/��Z&=��Z)� ����x��+��MI���%�w�s�S�(��98�:H/�#�v�Xl��Z�0Z��{��/���F�Q�[��{Q/���u(7�7�ߪq�a��rjL`j]� �F2:��C����T� ��):6fC f�&D㦭�i���`����uDnįW�:'��Z �az�|��f�p�d�u݊a)e��^�R-[/e�:~��_H��V�fJ�#OJ���F�jJ��9)/�D�yY���� �KR��1�U�@�� �(�i�l��cN6�� r�� �+@~����0�s�M F�P� �{L]L�rR�z���ͅ�U\kÊ�be������4�^uÖ|�� +���}k���=�7�s�C��V�4����z#��tf�>�un�2@��ѓ"�����tʡ����U���X��xم�{��^]��K��~�A?�RW���"Z�PX����#uR��hm-�#&��U�E��%dw7����l���j���X��O#�!y�N�Ѧ���Swc�tP�%��g���&��\ҁ����g��: ��D���$V�.t}bt�"\�.��'��1:������T@�>�xR,����NLg�����KП����uj��1Fmk>��X�5��,零��Q�pֳc��Z�u��\h�S���v�G��b|�������,Δ�7��N<�O��8�Y�?��Q�G�Z �Ɗ^{���<DR��7O�!�t�#P�:{�u��iZdiRf���"I3~�й�s�uT�d�P�t�l�����A�(��c�gȋBֺ&ߦe��\)��:��@'��U�$�(�v2nI!7��f(��EzqUh6 t*�ܷ(�Rq��U$������@'���B�:����T�*�T�����6�m�q�Ż�#�ɾɏ6i��9����N�� ����c���{zZ���B�tbS-�b"��=��QX�i����5֕64�i����謎u�K?f0;����c�����~��/ ���Uc�ӱLU��e:M%&�&nu���0U'ݬ��B����P���u��Y�����Dls�H�[�d����:��t��Zz�p'��M'u>���'��c8;*��9��A��:+�@Gf""Y\^�́��(�"����u�%�:�(�ŝ��c8n:8h#(�ʍ���AiV$cm�X��UӴ:͡��HZ�7��9���RG�vL�T��Z�����i���� 9� �C#�t���6˹CH �?��萛ntt�v�~�c�w�s�P]˕���)ިՁ�H���X{ԜJUIy't:P[FBI5̨c���!c�P���ƹZ^G:{�kα�y#��7;��rR�E���l�7ĥ}W�*vO�ǃ�8�8��/H�:�DmAz'tp�1q���|WdY�%���u>7;�.�,K�")�>U�U�oZ�P��TKy'�Ν����Oij]�h^ $�|)P���#����ɯ�(R��&�d��i�PUE��&fDg���?�xx)H]IR�'y�%Y��"-v�i2t@���(!�i�t�l�~���{��}|��^ tr7�]R�N$�$�%�f��C^���:��zsyy�\����?u.����Y��u.y��p%��N%���"I '3I�Av-w� u���A��C��R�sgg�:�@�8����o�B�_^�Gg�zs�Z����n�� :�rw��5�rOG:��ȹ�̗��������n��C6 ��f����j;��o�0��d�H�p�]�8Сb�����4���Z���p�/q��:�V0��::D�G^t����q�& ��s�(� ��t@�J��`k���1횈l��pgI����ɢ��/C8����k��̞�1���H�#�$��}�S��v��͌:=z玫�"I��� ��f�9Ft�c5=�G'����U�:gȗ�|�3e\���t�t�t�=y%��'� IEND�B`� component.php 0000604 00000005613 15245523131 0007261 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** @var JDocumentHtml $this */ // Get additional language strings prefixed with TPL_HATHOR // @todo: Do we really need this? $lang = JFactory::getLanguage(); $lang->load('tpl_hathor', JPATH_ADMINISTRATOR) || $lang->load('tpl_hathor', JPATH_ADMINISTRATOR . '/templates/hathor/language'); $app = JFactory::getApplication(); // Output as HTML5 $this->setHtml5(true); // jQuery needed by template.js JHtml::_('jquery.framework'); // Add template js JHtml::_('script', 'template.js', array('version' => 'auto', 'relative' => true)); // Add html5 shiv JHtml::_('script', 'jui/html5.js', array('version' => 'auto', 'relative' => true, 'conditional' => 'lt IE 9')); // Load optional RTL Bootstrap CSS JHtml::_('bootstrap.loadCss', false, $this->direction); // Load system style CSS JHtml::_('stylesheet', 'templates/system/css/system.css', array('version' => 'auto')); // Loadtemplate CSS JHtml::_('stylesheet', 'template.css', array('version' => 'auto', 'relative' => true)); // Load additional CSS styles for colors if (!$this->params->get('colourChoice')) { $colour = 'standard'; } else { $colour = htmlspecialchars($this->params->get('colourChoice')); } JHtml::_('stylesheet', 'colour_' . $colour . '.css', array('version' => 'auto', 'relative' => true)); // Load additional CSS styles for rtl sites if ($this->direction === 'rtl') { JHtml::_('stylesheet', 'template_rtl.css', array('version' => 'auto', 'relative' => true)); JHtml::_('stylesheet', 'colour_' . $colour . '_rtl.css', array('version' => 'auto', 'relative' => true)); } // Load additional CSS styles for bold Text if ($this->params->get('boldText')) { JHtml::_('stylesheet', 'boldtext.css', array('version' => 'auto', 'relative' => true)); } // Load specific language related CSS JHtml::_('stylesheet', 'administrator/language/' . $lang->getTag() . '/' . $lang->getTag() . '.css', array('version' => 'auto')); // Load custom.css JHtml::_('stylesheet', 'custom.css', array('version' => 'auto', 'relative' => true)); // IE specific JHtml::_('stylesheet', 'ie8.css', array('version' => 'auto', 'relative' => true, 'conditional' => 'IE 8')); JHtml::_('stylesheet', 'ie7.css', array('version' => 'auto', 'relative' => true, 'conditional' => 'IE 7')); // 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> <html lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>"> <head> <jdoc:include type="head" /> </head> <body class="contentpane"> <jdoc:include type="message" /> <jdoc:include type="component" /> </body> </html> favicon.ico 0000604 00000003743 15245523131 0006671 0 ustar 00 �PNG IHDR �a sRGB ��� pHYs �� $iTXtXML:com.adobe.xmp <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP Core 5.4.0"> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about="" xmlns:tiff="http://ns.adobe.com/tiff/1.0/" xmlns:exif="http://ns.adobe.com/exif/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xmp="http://ns.adobe.com/xap/1.0/"> <tiff:ResolutionUnit>2</tiff:ResolutionUnit> <tiff:Compression>5</tiff:Compression> <tiff:XResolution>72</tiff:XResolution> <tiff:Orientation>1</tiff:Orientation> <tiff:YResolution>72</tiff:YResolution> <exif:PixelXDimension>16</exif:PixelXDimension> <exif:ColorSpace>1</exif:ColorSpace> <exif:PixelYDimension>16</exif:PixelYDimension> <dc:subject> <rdf:Seq/> </dc:subject> <xmp:ModifyDate>2015:03:15 13:03:46</xmp:ModifyDate> <xmp:CreatorTool>Pixelmator 3.3.1</xmp:CreatorTool> </rdf:Description> </rdf:RDF> </x:xmpmeta> >Iv] XIDAT8}�]h\E�ϙ�{wﺻI]m�XClK4�RE�w-E��(->�f|)y�~(Z�"ȢA�R�h�Z�B46M��-$ӆ6&-k41����c�xn��S��\����s� �g;^��t}�Pc{���յ�� �uQ��{VJ�5"I"�:�����X���7���O))����:L;�j8�lQ�P ��%!��럒|2��qye��4��m�m<3�@�!��$�+c粒���J�ۤ-S�R��Hk�A8$��k�� � )��[�O�/�ov,�6�˔�}�O0|� ��n�����N�ҀF�{Ӂ�{ǽLK�)��{�|�G�� ʭ�"W���?��X-����Y�W�~Rn�2�˰o.� x�*S߇�Kê: �4`DF�oԝ.(Y�&pKq��ѵX�n���9�bbn��|��cc�N��ݛZĴ�&��ܖۑ�t�B���Trj]ޱ*�Sxqd�w?�� p�|���n�)3^E8Y ��⑷g"rU`Wn�A�O�5���?�H�lpY[��Q8��+��]��r�q�oޱe��t����j Z�G� O\}�����r���7�wَ�C����V6t�b70j�#Ū�!��_WH+��R����F&/������Ϗ��j.9W���xZA!�/�W> `[�X;���GP���w6�V���R�{4w�e��WD�0�Α�h�������Lȣ��%J�Л��z����=i ZϰŠ��Q����^"���O:58՛�k��~h���l`M��ǽS �qV1DZ���m���hb��w�yu�K����o��;��� ����DS( IEND�B`� html/com_associations/associations/default.php 0000604 00000014630 15245523131 0015702 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage com_associations * * @copyright (C) 2017 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; JLoader::register('AssociationsHelper', JPATH_ADMINISTRATOR . '/components/com_associations/helpers/associations.php'); JHtml::_('jquery.framework'); JHtml::_('bootstrap.tooltip'); JHtml::_('behavior.multiselect'); JHtml::_('formbehavior.chosen', 'select'); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); $canManageCheckin = JFactory::getUser()->authorise('core.manage', 'com_checkin'); $colSpan = 5; $iconStates = array( -2 => 'icon-trash', 0 => 'icon-unpublish', 1 => 'icon-publish', 2 => 'icon-archive', ); JText::script('COM_ASSOCIATIONS_PURGE_CONFIRM_PROMPT'); JFactory::getDocument()->addScriptDeclaration(' Joomla.submitbutton = function(pressbutton) { if (pressbutton == "associations.purge") { if (confirm(Joomla.JText._("COM_ASSOCIATIONS_PURGE_CONFIRM_PROMPT"))) { Joomla.submitform(pressbutton); } else { return false; } } else { Joomla.submitform(pressbutton); } }; '); ?> <form action="<?php echo JRoute::_('index.php?option=com_associations&view=associations'); ?>" 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;?> <?php echo JLayoutHelper::render('joomla.searchtools.default', array('view' => $this)); ?> <?php if (empty($this->items)) : ?> <div class="alert alert-no-items"> <?php echo JText::_('JGLOBAL_NO_MATCHING_RESULTS'); ?> </div> <?php else : ?> <table class="adminlist" id="associationsList"> <thead> <tr> <?php if (!empty($this->typeSupports['state'])) : ?> <th width="1%" class="center nowrap"> <?php echo JHtml::_('searchtools.sort', 'JSTATUS', 'state', $listDirn, $listOrder); $colSpan++; ?> </th> <?php endif; ?> <th class="nowrap"> <?php echo JHtml::_('searchtools.sort', 'JGLOBAL_TITLE', 'title', $listDirn, $listOrder); ?> </th> <th width="15%" class="nowrap"> <?php echo JText::_('JGRID_HEADING_LANGUAGE'); ?> </th> <th width="5%" class="nowrap"> <?php echo JText::_('COM_ASSOCIATIONS_HEADING_ASSOCIATION'); ?> </th> <th width="15%" class="nowrap"> <?php echo JText::_('COM_ASSOCIATIONS_HEADING_NO_ASSOCIATION'); ?> </th> <?php if (!empty($this->typeFields['menutype'])) : ?> <th width="10%" class="nowrap"> <?php echo JHtml::_('searchtools.sort', 'COM_ASSOCIATIONS_HEADING_MENUTYPE', 'menutype_title', $listDirn, $listOrder); $colSpan++; ?> </th> <?php endif; ?> <?php if (!empty($this->typeFields['access'])) : ?> <th width="5%" class="nowrap hidden-phone"> <?php echo JHtml::_('searchtools.sort', 'JGRID_HEADING_ACCESS', 'access_level', $listDirn, $listOrder); $colSpan++; ?> </th> <?php endif; ?> <th width="1%" class="nowrap hidden-phone"> <?php echo JHtml::_('searchtools.sort', 'JGRID_HEADING_ID', 'id', $listDirn, $listOrder); ?> </th> </tr> </thead> <tfoot> <tr> <td colspan="<?php echo $colSpan; ?>"> <?php echo $this->pagination->getListFooter(); ?> </td> </tr> </tfoot> <tbody> <?php foreach ($this->items as $i => $item) : $canCheckin = true; $canEdit = AssociationsHelper::allowEdit($this->extensionName, $this->typeName, $item->id); $canCheckin = $canManageCheckin || AssociationsHelper::canCheckinItem($this->extensionName, $this->typeName, $item->id); $isCheckout = AssociationsHelper::isCheckoutItem($this->extensionName, $this->typeName, $item->id); ?> <tr class="row<?php echo $i % 2; ?>"> <?php if (!empty($this->typeSupports['state'])) : ?> <td class="center"> <span class="<?php echo $iconStates[$this->escape($item->state)]; ?>"></span> </td> <?php endif; ?> <td class="nowrap has-context"> <?php if (isset($item->level)) : ?> <?php echo JLayoutHelper::render('joomla.html.treeprefix', array('level' => $item->level)); ?> <?php endif; ?> <?php if ($canCheckin && $isCheckout) : ?> <?php echo JHtml::_('jgrid.checkedout', $i, $item->editor, $item->checked_out_time, 'associations.', $canCheckin); ?> <?php endif; ?> <?php if ($canEdit && !$isCheckout) : ?> <a href="<?php echo JRoute::_($this->editUri . '&id=' . (int) $item->id); ?>"> <?php echo $this->escape($item->title); ?></a> <?php else : ?> <span title="<?php echo JText::sprintf('JFIELD_ALIAS_LABEL', $this->escape($item->alias)); ?>"><?php echo $this->escape($item->title); ?></span> <?php endif; ?> <?php if (!empty($this->typeFields['alias'])) : ?> <span class="small"> <?php echo JText::sprintf('JGLOBAL_LIST_ALIAS', $this->escape($item->alias)); ?> </span> <?php endif; ?> <?php if (!empty($this->typeFields['catid'])) : ?> <div class="small"> <?php echo JText::_('JCATEGORY') . ": " . $this->escape($item->category_title); ?> </div> <?php endif; ?> </td> <td class="small"> <?php echo JLayoutHelper::render('joomla.content.language', $item); ?> </td> <td> <?php echo AssociationsHelper::getAssociationHtmlList($this->extensionName, $this->typeName, (int) $item->id, $item->language, !$isCheckout, false); ?> </td> <td> <?php echo AssociationsHelper::getAssociationHtmlList($this->extensionName, $this->typeName, (int) $item->id, $item->language, !$isCheckout, true); ?> </td> <?php if (!empty($this->typeFields['menutype'])) : ?> <td class="small"> <?php echo $this->escape($item->menutype_title); ?> </td> <?php endif; ?> <?php if (!empty($this->typeFields['access'])) : ?> <td class="small hidden-phone"> <?php echo $this->escape($item->access_level); ?> </td> <?php endif; ?> <td class="hidden-phone"> <?php echo $item->id; ?> </td> </tr> <?php endforeach; ?> </tbody> </table> <?php endif; ?> <input type="hidden" name="task" value=""/> <?php echo JHtml::_('form.token'); ?> </div> </form> html/com_redirect/links/default.php 0000604 00000015245 15245523131 0013430 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> * @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'); $user = JFactory::getUser(); $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_redirect&view=links'); ?>" 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_REDIRECT_SEARCH_LINKS'); ?>" /> <button type="submit"><?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button> <button type="button" onclick="document.getElementById('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_state" id="filter_published"> <option value=""><?php echo JText::_('JOPTION_SELECT_PUBLISHED');?></option> <?php echo JHtml::_('select.options', RedirectHelper::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 class="title"> <?php echo JHtml::_('grid.sort', 'COM_REDIRECT_HEADING_OLD_URL', 'a.old_url', $listDirn, $listOrder); ?> </th> <th class="width-30"> <?php echo JHtml::_('grid.sort', 'COM_REDIRECT_HEADING_NEW_URL', 'a.new_url', $listDirn, $listOrder); ?> </th> <th class="width-30"> <?php echo JHtml::_('grid.sort', 'COM_REDIRECT_HEADING_REFERRER', 'a.referer', $listDirn, $listOrder); ?> </th> <th class="width-10"> <?php echo JHtml::_('grid.sort', 'COM_REDIRECT_HEADING_CREATED_DATE', 'a.created_date', $listDirn, $listOrder); ?> </th> <th width="1%" class="nowrap"> <?php echo JHtml::_('grid.sort', 'COM_REDIRECT_HEADING_HITS', 'a.hits', $listDirn, $listOrder); ?> </th> <th class="nowrap state-col"> <?php echo JHtml::_('grid.sort', 'JSTATUS', 'a.published', $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) : $canCreate = $user->authorise('core.create', 'com_redirect'); $canEdit = $user->authorise('core.edit', 'com_redirect'); $canChange = $user->authorise('core.edit.state', 'com_redirect'); ?> <tr class="row<?php echo $i % 2; ?>"> <td class="center"> <?php echo JHtml::_('grid.id', $i, $item->id); ?> </td> <td> <?php if ($canEdit) : ?> <a href="<?php echo JRoute::_('index.php?option=com_redirect&task=link.edit&id='.$item->id);?>" title="<?php echo $this->escape($item->old_url); ?>"> <?php echo $this->escape(str_replace(JUri::root(), '', rawurldecode($item->old_url))); ?></a> <?php else : ?> <?php echo $this->escape(str_replace(JUri::root(), '', rawurldecode($item->old_url))); ?> <?php endif; ?> </td> <td> <?php echo $this->escape(rawurldecode($item->new_url)); ?> </td> <td> <?php echo $this->escape($item->referer); ?> </td> <td class="center"> <?php echo JHtml::_('date', $item->created_date, JText::_('DATE_FORMAT_LC4')); ?> </td> <td class="center"> <?php echo (int) $item->hits; ?> </td> <td class="center"> <?php echo JHtml::_('redirect.published', $item->published, $i); ?> </td> <td class="center"> <?php echo (int) $item->id; ?> </td> </tr> <?php endforeach; ?> </tbody> </table> <?php //Load the batch processing form if user is allowed ?> <?php if ($user->authorise('core.create', 'com_redirect') && $user->authorise('core.edit', 'com_redirect') && $user->authorise('core.edit.state', 'com_redirect')) : ?> <?php echo JHtml::_( 'bootstrap.renderModal', 'collapseModal', array( 'title' => JText::_('COM_REDIRECT_BATCH_OPTIONS'), 'footer' => $this->loadTemplate('batch_footer'), ), $this->loadTemplate('batch_body') ); ?> <?php endif;?> <?php echo $this->pagination->getListFooter(); ?> <p class="footer-tip"> <?php if ($this->enabled && $this->collect_urls_enabled) : ?> <span class="enabled"><?php echo JText::sprintf('COM_REDIRECT_COLLECT_URLS_ENABLED', JText::_('COM_REDIRECT_PLUGIN_ENABLED')); ?></span> <?php elseif ($this->enabled && !$this->collect_urls_enabled) : ?> <?php $link = JHtml::_( 'link', JRoute::_('index.php?option=com_plugins&task=plugin.edit&extension_id=' . RedirectHelper::getRedirectPluginId()), JText::_('COM_REDIRECT_SYSTEM_PLUGIN') ); ?> <span class="enabled"><?php echo JText::sprintf('COM_REDIRECT_COLLECT_MODAL_URLS_DISABLED', JText::_('COM_REDIRECT_PLUGIN_ENABLED'), $link); ?></span> <?php elseif (!$this->enabled) : ?> <span class="disabled"><?php echo JText::sprintf('COM_REDIRECT_PLUGIN_DISABLED', 'index.php?option=com_plugins&task=plugin.edit&extension_id=' . RedirectHelper::getRedirectPluginId()); ?></span> <?php endif; ?> </p> <div class="clr"></div> <?php if (!empty($this->items)) : ?> <?php echo $this->loadTemplate('addform'); ?> <?php endif; ?> <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> html/com_installer/manage/default.php 0000604 00000011056 15245523131 0013730 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; JHtml::_('behavior.multiselect'); JHtml::_('bootstrap.tooltip'); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); ?> <div id="installer-manage"> <form action="<?php echo JRoute::_('index.php?option=com_installer&view=manage');?>" 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;?> <?php if ($this->showMessage) : ?> <?php echo $this->loadTemplate('message'); ?> <?php endif; ?> <?php if ($this->ftp) : ?> <?php echo $this->loadTemplate('ftp'); ?> <?php endif; ?> <?php echo $this->loadTemplate('filter'); ?> <?php if (count($this->items)) : ?> <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_INSTALLER_HEADING_NAME', 'name', $listDirn, $listOrder); ?> </th> <th> <?php echo JHtml::_('grid.sort', 'COM_INSTALLER_HEADING_LOCATION', 'client_id', $listDirn, $listOrder); ?> </th> <th class="width-10 center"> <?php echo JHtml::_('grid.sort', 'JSTATUS', 'status', $listDirn, $listOrder); ?> </th> <th class="center"> <?php echo JHtml::_('grid.sort', 'COM_INSTALLER_HEADING_TYPE', 'type', $listDirn, $listOrder); ?> </th> <th class="width-10 center"> <?php echo JText::_('JVERSION'); ?> </th> <th class="width-10"> <?php echo JText::_('JDATE'); ?> </th> <th class="width-15 center"> <?php echo JText::_('JAUTHOR'); ?> </th> <th> <?php echo JHtml::_('grid.sort', 'COM_INSTALLER_HEADING_FOLDER', 'folder', $listDirn, $listOrder); ?> </th> <th> <?php echo JHtml::_('grid.sort', 'COM_INSTALLER_HEADING_PACKAGE_ID', 'package_id', $listDirn, $listOrder); ?> </th> <th class="nowrap id-col"> <?php echo JHtml::_('grid.sort', 'COM_INSTALLER_HEADING_ID', 'extension_id', $listDirn, $listOrder); ?> </th> </tr> </thead> <tbody> <?php foreach ($this->items as $i => $item) : ?> <tr class="row<?php echo $i % 2; if ($item->status == 2) echo ' protected';?>"> <td> <?php echo JHtml::_('grid.id', $i, $item->extension_id); ?> </td> <td> <span class="bold hasTooltip" title="<?php echo JHtml::_('tooltipText', $item->name, $item->description, 0); ?>"> <?php echo $item->name; ?> </span> </td> <td class="center"> <?php echo $item->client; ?> </td> <td class="center"> <?php if (!$item->element) : ?> <strong>X</strong> <?php else : ?> <?php echo JHtml::_('InstallerHtml.Manage.state', $item->status, $i, $item->status < 2, 'cb'); ?> <?php endif; ?> </td> <td class="center"> <?php echo JText::_('COM_INSTALLER_TYPE_' . $item->type); ?> </td> <td class="center"> <?php echo @$item->version != '' ? $item->version : ' '; ?> </td> <td class="center"> <?php echo @$item->creationDate != '' ? $item->creationDate : ' '; ?> </td> <td class="center"> <span class="editlinktip hasTooltip" title="<?php echo JHtml::_('tooltipText', JText::_('COM_INSTALLER_AUTHOR_INFORMATION'), $item->author_info, 0); ?>"> <?php echo @$item->author != '' ? $item->author : ' '; ?> </span> </td> <td class="center"> <?php echo @$item->folder != '' ? $item->folder : JText::_('COM_INSTALLER_TYPE_NONAPPLICABLE'); ?> </td> <td class="center"> <?php echo $item->package_id ?: JText::_('COM_INSTALLER_TYPE_NONAPPLICABLE'); ?> </td> <td> <?php echo $item->extension_id ?> </td> </tr> <?php endforeach; ?> </tbody> </table> <?php echo $this->pagination->getListFooter(); ?> <?php endif; ?> <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> </div> html/com_installer/manage/default_filter.php 0000604 00000005470 15245523131 0015300 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; ?> <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_INSTALLER_FILTER_LABEL'); ?>" /> <button type="submit"><?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button> <button type="button" onclick="document.getElementById('filter_search').value='';this.form.submit();"><?php echo JText::_('JSEARCH_FILTER_CLEAR'); ?></button> </div> <div class="filter-select"> <label class="selectlabel" for="filter_client_id"> <?php echo JText::_('COM_INSTALLER_VALUE_CLIENT_SELECT'); ?> </label> <select name="filter_client_id" id="filter_client_id"> <?php echo JHtml::_('select.options', array('0' => JText::_('JSITE'), '1' => JText::_('JADMINISTRATOR')), 'value', 'text', $this->state->get('filter.client_id'), true); ?> </select> <label class="selectlabel" for="filter_status"> <?php echo JText::_('COM_INSTALLER_VALUE_STATE_SELECT'); ?> </label> <select name="filter_status" id="filter_status"> <option value=""><?php echo JText::_('JOPTION_SELECT_PUBLISHED'); ?></option> <?php echo JHtml::_('select.options', InstallerHelper::getStateOptions(), 'value', 'text', $this->state->get('filter.status'), true); ?> </select> <label class="selectlabel" for="filter_type"> <?php echo JText::_('COM_INSTALLER_VALUE_TYPE_SELECT'); ?> </label> <select name="filter_type" id="filter_type"> <option value=""><?php echo JText::_('COM_INSTALLER_VALUE_TYPE_SELECT'); ?></option> <?php echo JHtml::_('select.options', InstallerHelper::getExtensionTypes(), 'value', 'text', $this->state->get('filter.type'), true); ?> </select> <label class="selectlabel" for="filter_folder"> <?php echo JText::_('COM_INSTALLER_VALUE_FOLDER_SELECT'); ?> </label> <select name="filter_folder" id="filter_folder"> <option value=""><?php echo JText::_('COM_INSTALLER_VALUE_FOLDER_SELECT'); ?></option> <?php echo JHtml::_('select.options', array_merge(InstallerHelper::getExtensionGroupes(), array('*' => JText::_('COM_INSTALLER_VALUE_FOLDER_NONAPPLICABLE'))), 'value', 'text', $this->state->get('filter.folder'), true); ?> </select> <button type="submit" id="filter-go"> <?php echo JText::_('JSUBMIT'); ?></button> </div> </fieldset> <div class="clr"></div> html/com_installer/discover/default.php 0000604 00000007701 15245523131 0014320 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; JHtml::_('bootstrap.tooltip'); JHtml::_('behavior.multiselect'); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); ?> <div id="installer-discover"> <form action="<?php echo JRoute::_('index.php?option=com_installer&view=discover');?>" 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;?> <?php if ($this->showMessage) : ?> <?php echo $this->loadTemplate('message'); ?> <?php endif; ?> <?php if ($this->ftp) : ?> <?php echo $this->loadTemplate('ftp'); ?> <?php endif; ?> <?php if (count($this->items)) : ?> <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_INSTALLER_HEADING_NAME', 'name', $listDirn, $listOrder); ?></th> <th class="center"><?php echo JHtml::_('grid.sort', 'COM_INSTALLER_HEADING_TYPE', 'type', $listDirn, $listOrder); ?></th> <th class="width-10 center"><?php echo JText::_('JVERSION'); ?></th> <th class="width-10 center"><?php echo JText::_('JDATE'); ?></th> <th><?php echo JHtml::_('grid.sort', 'COM_INSTALLER_HEADING_FOLDER', 'folder', $listDirn, $listOrder); ?></th> <th><?php echo JHtml::_('grid.sort', 'COM_INSTALLER_HEADING_CLIENT', 'client_id', $listDirn, $listOrder); ?></th> <th class="width-15 center"><?php echo JText::_('JAUTHOR'); ?></th> <th class="nowrap id-col"><?php echo JHtml::_('grid.sort', 'COM_INSTALLER_HEADING_ID', 'extension_id', $listDirn, $listOrder); ?></th> </tr> </thead> <tbody> <?php foreach ($this->items as $i => $item) : ?> <tr class="row<?php echo $i % 2;?>"> <td><?php echo JHtml::_('grid.id', $i, $item->extension_id); ?></td> <td><span class="bold hasTooltip" title="<?php echo JHtml::_('tooltipText', $item->name, $item->description, 0); ?>"><?php echo $item->name; ?></span></td> <td class="center"><?php echo JText::_('COM_INSTALLER_TYPE_' . $item->type); ?></td> <td class="center"><?php echo @$item->version != '' ? $item->version : ' '; ?></td> <td class="center"><?php echo @$item->creationDate != '' ? $item->creationDate : ' '; ?></td> <td class="center"><?php echo @$item->folder != '' ? $item->folder : JText::_('COM_INSTALLER_TYPE_NONAPPLICABLE'); ?></td> <td class="center"><?php echo $item->client; ?></td> <td class="center"> <span class="editlinktip hasTooltip" title="<?php echo JHtml::_('tooltipText', JText::_('COM_INSTALLER_AUTHOR_INFORMATION'), $item->author_info, 0); ?>"> <?php echo @$item->author != '' ? $item->author : ' '; ?> </span> </td> <td><?php echo $item->extension_id ?></td> </tr> <?php endforeach; ?> </tbody> </table> <?php echo $this->pagination->getListFooter(); ?> <?php echo JText::_('COM_INSTALLER_MSG_DISCOVER_DESCRIPTION'); ?> <?php else : ?> <p class="nowarning"> <?php echo JText::_('COM_INSTALLER_MSG_DISCOVER_DESCRIPTION'); ?> </p> <p class="nowarning"> <?php echo JText::_('COM_INSTALLER_MSG_DISCOVER_NOEXTENSION'); ?> </p> <?php endif; ?> <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> </div> html/com_installer/install/default.php 0000604 00000000631 15245523131 0014143 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage com_installer * * @copyright (C) 2012 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; ?> <?php if ($this->showMessage) : ?> <?php echo $this->loadTemplate('message'); ?> <?php endif; ?> <?php echo $this->loadTemplate('form'); ?> html/com_installer/install/default_form.php 0000604 00000012251 15245523131 0015167 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage com_installer * * @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; // MooTools is loaded for B/C for extensions generating JavaScript in their install scripts, this call will be removed at 4.0 JHtml::_('behavior.framework', true); JHtml::_('bootstrap.tooltip'); JFactory::getDocument()->addScriptDeclaration(" Joomla.submitbutton = function() { var form = document.getElementById('adminForm'); // do field validation if (form.install_package.value == ''){ alert('" . JText::_('COM_INSTALLER_MSG_INSTALL_PLEASE_SELECT_A_PACKAGE', true) . "'); } else { form.installtype.value = 'upload'; form.submit(); } }; Joomla.submitbutton3 = function() { var form = document.getElementById('adminForm'); // do field validation if (form.install_directory.value == ''){ alert('" . JText::_('COM_INSTALLER_MSG_INSTALL_PLEASE_SELECT_A_DIRECTORY', true) . "'); } else { JoomlaInstaller.showLoading(); form.installtype.value = 'folder'; form.submit(); } }; Joomla.submitbutton4 = function() { var form = document.getElementById('adminForm'); // do field validation if (form.install_url.value == '' || form.install_url.value == 'http://' || form.install_url.value == 'https://'){ alert('" . JText::_('COM_INSTALLER_MSG_INSTALL_ENTER_A_URL', true) . "'); } else { form.installtype.value = 'url'; form.submit(); } }; Joomla.submitbuttonInstallWebInstaller = function() { var form = document.getElementById('adminForm'); form.install_url.value = 'https://appscdn.joomla.org/webapps/jedapps/webinstaller.xml'; Joomla.submitbutton4(); }; // Add spindle-wheel for installations: jQuery(document).ready(function($) { var outerDiv = $(\"#installer-install\"); JoomlaInstaller.getLoadingOverlay() .css(\"top\", outerDiv.position().top - $(window).scrollTop()) .css(\"left\", \"0\") .css(\"width\", \"100%\") .css(\"height\", \"100%\") .css(\"display\", \"none\") .css(\"margin-top\", \"-10px\"); }); var JoomlaInstaller = { getLoadingOverlay: function () { return jQuery(\"#loading\"); }, showLoading: function () { this.getLoadingOverlay().css(\"display\", \"block\"); }, hideLoading: function () { this.getLoadingOverlay().css(\"display\", \"none\"); } }; "); JFactory::getDocument()->addStyleDeclaration( ' #loading { background: rgba(255, 255, 255, .8) url(\'' . JHtml::_('image', 'jui/ajax-loader.gif', '', null, true, true) . '\') 50% 15% no-repeat; position: fixed; opacity: 0.8; -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity = 80); filter: alpha(opacity = 80); overflow: hidden; } ' ); ?> <div id="installer-install" class="clearfix"> <form enctype="multipart/form-data" action="<?php echo JRoute::_('index.php?option=com_installer&view=install');?>" 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;?> <?php if ($this->showJedAndWebInstaller && !$this->showMessage) : ?> <div class="alert j-jed-message" style="margin-bottom: 20px; line-height: 2em; color:#333333; clear:both;"> <a href="index.php?option=com_config&view=component&component=com_installer&path=&return=<?php echo urlencode(base64_encode(JUri::getInstance())); ?>" class="close hasTooltip icon-options" data-dismiss="alert" title="<?php echo str_replace('"', '"', JText::_('COM_INSTALLER_SHOW_JED_INFORMATION_TOOLTIP')); ?>"></a> <p><?php echo JText::_('COM_INSTALLER_INSTALL_FROM_WEB_INFO'); ?> <?php echo JText::_('COM_INSTALLER_INSTALL_FROM_WEB_TOS'); ?></p> <input class="btn" type="button" value="<?php echo JText::_('COM_INSTALLER_INSTALL_FROM_WEB_ADD_TAB'); ?>" onclick="Joomla.submitbuttonInstallWebInstaller()" /> </div> <?php endif; ?> <?php if ($this->ftp) : ?> <?php echo $this->loadTemplate('ftp'); ?> <?php endif; ?> <div class="width-70 fltlft"> <?php $firstTab = JEventDispatcher::getInstance()->trigger('onInstallerViewBeforeFirstTab', array()); ?> <?php // Show installation fieldsets ?> <?php $tabs = JEventDispatcher::getInstance()->trigger('onInstallerAddInstallationTab', array()); ?> <?php foreach ($tabs as $tab) : ?> <fieldset class="uploadform"> <?php echo $tab['content']; ?> </fieldset> <?php endforeach; ?> <?php $lastTab = JEventDispatcher::getInstance()->trigger('onInstallerViewAfterLastTab', array()); ?> <?php $tabs = array_merge($firstTab, $tabs, $lastTab); ?> <?php if (!$tabs) : ?> <?php JFactory::getApplication()->enqueueMessage(JText::_('COM_INSTALLER_NO_INSTALLATION_PLUGINS_FOUND'), 'warning'); ?> <?php endif; ?> <input type="hidden" name="type" value="" /> <input type="hidden" name="installtype" value="upload" /> <input type="hidden" name="task" value="install.install" /> <?php echo JHtml::_('form.token'); ?> </div> </div> </form> </div> <div id="loading"></div> html/com_installer/database/default.php 0000604 00000006072 15245523131 0014246 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage com_installer * * @copyright (C) 2012 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; ?> <div id="installer-database"> <form action="<?php echo JRoute::_('index.php?option=com_installer&view=warnings');?>" 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;?> <?php if ($this->errorCount === 0) : ?> <?php echo JHtml::_('sliders.start', 'database-sliders', array('useCookie' => 1)); ?> <?php else : ?> <?php echo JHtml::_('sliders.start', 'database-sliders', array('useCookie' => 1)); ?> <?php $panelName = JText::plural('COM_INSTALLER_MSG_N_DATABASE_ERROR_PANEL', $this->errorCount); ?> <?php echo JHtml::_('sliders.panel', $panelName, 'error-panel'); ?> <fieldset class="panelform"> <ul> <?php if (!$this->filterParams) : ?> <li><?php echo JText::_('COM_INSTALLER_MSG_DATABASE_FILTER_ERROR'); ?> <?php endif; ?> <?php if ($this->schemaVersion != $this->changeSet->getSchema()) : ?> <li><?php echo JText::sprintf('COM_INSTALLER_MSG_DATABASE_SCHEMA_ERROR', $this->schemaVersion, $this->changeSet->getSchema()); ?></li> <?php endif; ?> <?php if (version_compare($this->updateVersion, JVERSION) != 0) : ?> <li><?php echo JText::sprintf('COM_INSTALLER_MSG_DATABASE_UPDATEVERSION_ERROR', $this->updateVersion, JVERSION); ?></li> <?php endif; ?> <?php foreach ($this->errors as $line => $error) : ?> <?php $key = 'COM_INSTALLER_MSG_DATABASE_' . $error->queryType; $msgs = $error->msgElements; $file = basename($error->file); $msg0 = isset($msgs[0]) ? $msgs[0] : ' '; $msg1 = isset($msgs[1]) ? $msgs[1] : ' '; $msg2 = isset($msgs[2]) ? $msgs[2] : ' '; $message = JText::sprintf($key, $file, $msg0, $msg1, $msg2); ?> <li><?php echo $message; ?></li> <?php endforeach; ?> </ul> </fieldset> <?php endif; ?> <?php echo JHtml::_('sliders.panel', JText::_('COM_INSTALLER_MSG_DATABASE_INFO'), 'furtherinfo-pane'); ?> <fieldset class="panelform"> <ul> <li><?php echo JText::sprintf('COM_INSTALLER_MSG_DATABASE_SCHEMA_VERSION', $this->schemaVersion); ?></li> <li><?php echo JText::sprintf('COM_INSTALLER_MSG_DATABASE_UPDATE_VERSION', $this->updateVersion); ?></li> <li><?php echo JText::sprintf('COM_INSTALLER_MSG_DATABASE_DRIVER', JFactory::getDbo()->name); ?></li> <li><?php echo JText::sprintf('COM_INSTALLER_MSG_DATABASE_CHECKED_OK', count($this->results['ok'])); ?></li> <li><?php echo JText::sprintf('COM_INSTALLER_MSG_DATABASE_SKIPPED', count($this->results['skipped'])); ?></li> </ul> </fieldset> <?php echo JHtml::_('sliders.end'); ?> <div class="clr"> </div> <div> <input type="hidden" name="task" value="" /> <input type="hidden" name="boxchecked" value="0" /> <?php echo JHtml::_('form.token'); ?> </div> </div> </form> </div> html/com_installer/default/default_ftp.php 0000604 00000001737 15245523131 0015002 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; ?> <fieldset class="adminform" title="<?php echo JText::_('COM_INSTALLER_MSG_DESCFTPTITLE'); ?>"> <legend><?php echo JText::_('COM_INSTALLER_MSG_DESCFTPTITLE'); ?></legend> <?php echo JText::_('COM_INSTALLER_MSG_DESCFTP'); ?> <?php if ($this->ftp instanceof Exception) : ?> <p><?php echo JText::_($this->ftp->getMessage()); ?></p> <?php endif; ?> <ul class="adminformlist"> <li><label for="username"><?php echo JText::_('JGLOBAL_USERNAME'); ?></label> <input type="text" id="username" name="username" value="" /></li> <li><label for="password"><?php echo JText::_('JGLOBAL_PASSWORD'); ?></label> <input type="password" id="password" name="password" class="input_box" value="" /></li> </ul> </fieldset> html/com_installer/warnings/default.php 0000604 00000002720 15245523131 0014326 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage com_installer * * @copyright (C) 2012 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; ?> <div id="installer-warnings"> <form action="<?php echo JRoute::_('index.php?option=com_installer&view=warnings'); ?>" 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; ?> <?php if (!count($this->messages)) { echo '<p class="nowarning">' . JText::_('COM_INSTALLER_MSG_WARNINGS_NONE') . '</p>'; } else { echo JHtml::_('sliders.start', 'warning-sliders', array('useCookie' => 1)); foreach ($this->messages as $message) { echo JHtml::_('sliders.panel', $message['message'], str_replace(' ', '', $message['message'])); echo '<div style="padding: 5px;" >' . $message['description'] . '</div>'; } echo JHtml::_('sliders.panel', JText::_('COM_INSTALLER_MSG_WARNINGFURTHERINFO'), 'furtherinfo-pane'); echo '<div style="padding: 5px;" >' . JText::_('COM_INSTALLER_MSG_WARNINGFURTHERINFODESC') . '</div>'; echo JHtml::_('sliders.end'); } ?> <div class="clr"> </div> <div> <input type="hidden" name="boxchecked" value="0" /> <?php echo JHtml::_('form.token'); ?> </div> </div> </form> </div> html/com_installer/update/default.php 0000604 00000007426 15245523131 0013770 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; JHtml::_('behavior.multiselect'); JHtml::_('bootstrap.tooltip'); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); ?> <div id="installer-update"> <form action="<?php echo JRoute::_('index.php?option=com_installer&view=update');?>" 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;?> <?php if ($this->showMessage) : ?> <?php echo $this->loadTemplate('message'); ?> <?php endif; ?> <?php if ($this->ftp) : ?> <?php echo $this->loadTemplate('ftp'); ?> <?php endif; ?> <?php if (count($this->items)) : ?> <table class="adminlist" cellspacing="1"> <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="nowrap"><?php echo JHtml::_('grid.sort', 'COM_INSTALLER_HEADING_NAME', 'name', $listDirn, $listOrder); ?></th> <th class="nowrap"><?php echo JHtml::_('grid.sort', 'COM_INSTALLER_HEADING_INSTALLTYPE', 'extension_id', $listDirn, $listOrder); ?></th> <th ><?php echo JHtml::_('grid.sort', 'COM_INSTALLER_HEADING_TYPE', 'type', $listDirn, $listOrder); ?></th> <th class="width-10" class="center"><?php echo JText::_('JVERSION'); ?></th> <th><?php echo JHtml::_('grid.sort', 'COM_INSTALLER_HEADING_FOLDER', 'folder', $listDirn, $listOrder); ?></th> <th><?php echo JHtml::_('grid.sort', 'COM_INSTALLER_HEADING_CLIENT', 'client_id', $listDirn, $listOrder); ?></th> <th class="width-25"><?php echo JText::_('COM_INSTALLER_HEADING_DETAILSURL'); ?></th> </tr> </thead> <tbody> <?php foreach ($this->items as $i => $item) : ?> <?php $client = $item->client_id ? JText::_('JADMINISTRATOR') : JText::_('JSITE'); ?> <tr class="row<?php echo $i % 2; ?>"> <td><?php echo JHtml::_('grid.id', $i, $item->update_id); ?></td> <td> <span class="editlinktip hasTooltip" title="<?php echo JHtml::_('tooltipText', JText::_('JGLOBAL_DESCRIPTION'), $item->description ?: JText::_('COM_INSTALLER_MSG_UPDATE_NODESC'), 0); ?>"> <?php echo $item->name; ?> </span> </td> <td class="center"> <?php echo $item->extension_id ? JText::_('COM_INSTALLER_MSG_UPDATE_UPDATE') : JText::_('COM_INSTALLER_NEW_INSTALL') ?> </td> <td><?php echo JText::_('COM_INSTALLER_TYPE_' . $item->type) ?></td> <td class="center"><?php echo $item->version ?></td> <td class="center"><?php echo @$item->folder != '' ? $item->folder : JText::_('COM_INSTALLER_TYPE_NONAPPLICABLE'); ?></td> <td class="center"><?php echo $client; ?></td> <td><?php echo $item->detailsurl ?> <?php if (isset($item->infourl)) : ?> <br /><a href="<?php echo $item->infourl;?>"><?php echo $item->infourl;?></a> <?php endif; ?> </td> </tr> <?php endforeach;?> </tbody> </table> <?php echo $this->pagination->getListFooter(); ?> <?php else : ?> <p class="nowarning"><?php echo JText::_('COM_INSTALLER_MSG_UPDATE_NOUPDATES'); ?></p> <?php endif; ?> <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> </div> html/com_installer/languages/default_filter.php 0000604 00000002020 15245523131 0016002 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage com_installer * @copyright (C) 2013 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; ?> <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_INSTALLER_LANGUAGES_FILTER_SEARCH_DESC'); ?>" /> <button type="submit" class="btn"><?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button> <button type="button" onclick="document.getElementById('filter_search').value='';this.form.submit();"><?php echo JText::_('JSEARCH_FILTER_CLEAR'); ?></button> </div> </fieldset> <div class="clr"></div> html/com_installer/languages/default.php 0000604 00000010310 15245523131 0014436 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage com_installer * * @copyright (C) 2013 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; JHtml::_('behavior.multiselect'); JHtml::_('bootstrap.tooltip'); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); $version = new JVersion; // Add spindle-wheel for language installation. JFactory::getDocument()->addScriptDeclaration(' jQuery(document).ready(function($) { Joomla.loadingLayer("load"); $("#adminForm").on("submit", function(e) { if (document.getElementsByName("task")[0].value == "languages.install") { Joomla.loadingLayer("show"); } }); }); '); ?> <div id="installer-languages"> <form action="<?php echo JRoute::_('index.php?option=com_installer&view=languages');?>" 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;?> <?php if (count($this->items) || $this->escape($this->state->get('filter.search'))) : ?> <?php echo $this->loadTemplate('filter'); ?> <table class="adminlist"> <thead> <tr> <th width="5%"></th> <th class="nowrap"> <?php echo JHtml::_('grid.sort', 'COM_INSTALLER_HEADING_NAME', 'name', $listDirn, $listOrder); ?> </th> <th width="10%" class="center"> <?php echo JText::_('JVERSION'); ?> </th> <th class="center nowrap hidden-phone"> <?php echo JText::_('COM_INSTALLER_HEADING_TYPE'); ?> </th> <th width="35%" class="nowrap hidden-phone"> <?php echo JText::_('COM_INSTALLER_HEADING_DETAILS_URL'); ?> </th> </tr> </thead> <tbody> <?php foreach ($this->items as $i => $language) : preg_match('#^pkg_([a-z]{2,3}-[A-Z]{2})$#', $language->element, $element); $language->code = $element[1]; ?> <tr class="row<?php echo $i % 2; ?>"> <td> <?php $buttonText = (isset($this->installedLang[0][$language->code]) || isset($this->installedLang[1][$language->code])) ? 'REINSTALL' : 'INSTALL'; ?> <?php $onclick = 'document.getElementById(\'install_url\').value = \'' . $language->detailsurl . '\'; Joomla.submitbutton(\'install.install\');'; ?> <input type="button" class="btn btn-small" value="<?php echo JText::_('COM_INSTALLER_' . $buttonText . '_BUTTON'); ?>" onclick="<?php echo $onclick; ?>" /> </td> <td> <?php echo $language->name; ?> <?php $minorVersion = $version::MAJOR_VERSION . '.' . $version::MINOR_VERSION; ?> <?php // Display a Note if language pack version is not equal to Joomla version ?> <?php if (substr($language->version, 0, 3) != $minorVersion || substr($language->version, 0, 5) != $version->getShortVersion()) : ?> <div class="small"><?php echo JText::_('JGLOBAL_LANGUAGE_VERSION_NOT_PLATFORM'); ?></div> <?php endif; ?> </td> <td class="center"> <?php echo $language->version; ?> </td> <td class="center"> <?php echo JText::_('COM_INSTALLER_TYPE_' . strtoupper($language->type)); ?> </td> <td> <?php echo $language->detailsurl; ?> </td> </tr> <?php endforeach; ?> </tbody> </table> <?php echo $this->pagination->getListFooter(); ?> <?php else : ?> <div class="alert"><?php echo JText::_('COM_INSTALLER_MSG_LANGUAGES_NOLANGUAGES'); ?></div> <?php endif; ?> <input type="hidden" name="task" value="" /> <input type="hidden" name="return" value="<?php echo base64_encode('index.php?option=com_installer&view=languages') ?>" /> <input type="hidden" id="install_url" name="install_url" /> <input type="hidden" name="installtype" value="url" /> <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> </div> html/com_contact/contact/edit_params.php 0000604 00000001676 15245523131 0014444 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> * @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; ?> html/com_contact/contact/edit.php 0000604 00000017615 15245523131 0013101 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> * @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.formvalidator'); $app = JFactory::getApplication(); $input = $app->input; $saveHistory = $this->state->get('params')->get('save_history', 0); $assoc = JLanguageAssociations::isEnabled(); JFactory::getDocument()->addScriptDeclaration(" Joomla.submitbutton = function(task) { if (task == 'contact.cancel' || document.formvalidator.isValid(document.getElementById('contact-form'))) { " . $this->form->getField('misc')->save() . " Joomla.submitform(task, document.getElementById('contact-form')); } } "); $fieldSets = $this->form->getFieldsets(); ?> <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> <?php if ($saveHistory) : ?> <li><?php echo $this->form->getLabel('version_note'); ?> <?php echo $this->form->getInput('version_note'); ?></li> <?php endif; ?> <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 foreach ($fieldSets as $name => $fieldSet) : ?> <?php if ($name != 'details' && $name != 'display' && $name != 'item_associations' && $name != 'jmetadata' && $name != 'email') : ?> <?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 endforeach; ?> <?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 JHtml::_('sliders.panel', JText::_('JGLOBAL_FIELDSET_ASSOCIATIONS'), '-options');?> <?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> html/com_contact/contacts/modal.php 0000604 00000013320 15245523131 0013420 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); $forcedLanguage = JFactory::getApplication()->input->get('forcedLanguage', '', 'cmd'); $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::_('JSEARCH_FILTER'); ?>" /> <button type="submit"> <?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button> <button type="button" onclick="document.getElementById('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" 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" 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" 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 ($forcedLanguage) : ?> <input type="hidden" name="forcedLanguage" value="<?php echo $this->escape($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" 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 echo JLayoutHelper::render('joomla.content.language', $item); ?> </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; ?>" /> <input type="hidden" name="forcedLanguage" value="<?php echo $forcedLanguage; ?>" /> <?php echo JHtml::_('form.token'); ?> </form> html/com_contact/contacts/default.php 0000604 00000024751 15245523131 0013762 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> * @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'); $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'); $saveOrder = $listOrder == 'a.ordering'; $assoc = JLanguageAssociations::isEnabled(); ?> <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.getElementById('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" 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" 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" 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" 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> <label class="selectlabel" for="filter_tag"> <?php echo JText::_('JOPTION_SELECT_TAG'); ?> </label> <select name="filter_tag" id="filter_tag"> <option value=""><?php echo JText::_('JOPTION_SELECT_TAG');?></option> <?php echo JHtml::_('select.options', JHtml::_('tag.options', true, true), 'value', 'text', $this->state->get('filter.tag'));?> </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, $this->pagination->total, $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, $this->pagination->total, $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 echo JLayoutHelper::render('joomla.content.language', $item); ?> </td> <td class="center"> <?php echo $item->id; ?> </td> </tr> <?php endforeach; ?> </tbody> </table> <?php //Load the batch processing form. ?> <?php if ($user->authorise('core.create', 'com_contact') && $user->authorise('core.edit', 'com_contact') && $user->authorise('core.edit.state', 'com_contact')) : ?> <?php echo JHtml::_( 'bootstrap.renderModal', 'collapseModal', array( 'title' => JText::_('COM_CONTACT_BATCH_OPTIONS'), 'footer' => $this->loadTemplate('batch_footer'), ), $this->loadTemplate('batch_body') ); ?> <?php endif; ?> <?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> html/pagination.php 0000604 00000010555 15245523131 0010355 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** * This is a file to add template specific chrome to pagination rendering. * * pagination_list_footer * Input variable $list is an array with offsets: * $list[prefix] : string * $list[limit] : int * $list[limitstart] : int * $list[total] : int * $list[limitfield] : string * $list[pagescounter] : string * $list[pageslinks] : string * * pagination_list_render * Input variable $list is an array with offsets: * $list[all] * [data] : string * [active] : boolean * $list[start] * [data] : string * [active] : boolean * $list[previous] * [data] : string * [active] : boolean * $list[next] * [data] : string * [active] : boolean * $list[end] * [data] : string * [active] : boolean * $list[pages] * [{PAGE}][data] : string * [{PAGE}][active] : boolean * * pagination_item_active * Input variable $item is an object with fields: * $item->base : integer * $item->prefix : string * $item->link : string * $item->text : string * * pagination_item_inactive * Input variable $item is an object with fields: * $item->base : integer * $item->prefix : string * $item->link : string * $item->text : string * * This gives template designers ultimate control over how pagination is rendered. * * NOTE: If you override pagination_item_active OR pagination_item_inactive you MUST override them both */ function pagination_list_footer($list) { /** * Fix javascript jump menu * * Remove the onchange=Joomla.submitform from the select tag * Add in a button with onclick instead */ $fixlimit = $list['limitfield']; $fixlimit = preg_replace('/onchange="Joomla.submitform\(\);"/', '', $fixlimit); $html = '<div class="containerpg"><div class="pagination">'; $html .= '<div class="limit"><label for="limit">' . JText::_('JGLOBAL_DISPLAY_NUM') . ' </label>'; $html .= "\n" . $fixlimit; $html .= "\n" . '<button id="pagination-go" type="button" onclick="Joomla.submitform()">' . JText::_('JSUBMIT') . '</button></div>'; $html .= "\n" . $list['pageslinks']; $html .= "\n" . '<div class="limit">' . $list['pagescounter'] . '</div>'; $html .= "\n" . '<input type="hidden" name="' . $list['prefix'] . 'limitstart" value="' . $list['limitstart'] . '" />'; $html .= "\n" . '<div class="clr"></div></div></div>'; return $html; } function pagination_list_render($list) { $html = null; if ($list['start']['active']) { $html .= '<div class="button2-right"><div class="start">'. $list['start']['data']. '</div></div>'; } else { $html .= '<div class="button2-right off"><div class="start">'. $list['start']['data']. '</div></div>'; } if ($list['previous']['active']) { $html .= '<div class="button2-right"><div class="prev">'. $list['previous']['data']. '</div></div>'; } else { $html .= '<div class="button2-right off"><div class="prev">'. $list['previous']['data']. '</div></div>'; } $html .= '<div class="button2-left"><div class="page">'; foreach ($list['pages'] as $page) { $html .= $page['data']; } $html .= '</div></div>'; if ($list['next']['active']) { $html .= '<div class="button2-left"><div class="next">'. $list['next']['data']. '</div></div>'; } else { $html .= '<div class="button2-left off"><div class="next">'. $list['next']['data']. '</div></div>'; } if ($list['end']['active']) { $html .= '<div class="button2-left"><div class="end">'. $list['end']['data']. '</div></div>'; } else { $html .= '<div class="button2-left off"><div class="end">'. $list['end']['data']. '</div></div>'; } return $html; } function pagination_item_active(&$item) { if ($item->base > 0) { return '<a href="#" title="'.$item->text.'" onclick="document.adminForm.' . $item->prefix . 'limitstart.value=' .$item->base.'; Joomla.submitform();return false;">'.$item->text. '</a>'; } else { return '<a href="#" title="'.$item->text.'" onclick="document.adminForm.' . $item->prefix . 'limitstart.value=0; Joomla.submitform();return false;">'.$item->text. '</a>'; } } function pagination_item_inactive(&$item) { if ($item->active) { $class = 'class="active"'; } else { $class = ''; } return '<span ' . $class . '>' . $item->text . '</span>'; } html/com_categories/category/edit_options.php 0000604 00000004244 15245523131 0015522 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> * @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; ?> html/com_categories/category/edit.php 0000604 00000013716 15245523131 0013753 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> * @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; $saveHistory = $this->state->get('params')->get('save_history', 0); JHtml::_('behavior.keepalive'); JHtml::_('behavior.formvalidator'); JFactory::getDocument()->addScriptDeclaration(" Joomla.submitbutton = function(task) { if (task == 'category.cancel' || document.formvalidator.isValid(document.getElementById('item-form'))) { " . $this->form->getField('description')->save() . " Joomla.submitform(task, document.getElementById('item-form')); } } "); $assoc = JLanguageAssociations::isEnabled(); ?> <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> <?php if ($saveHistory) : ?> <li><?php echo $this->form->getLabel('version_note'); ?> <?php echo $this->form->getInput('version_note'); ?></li> <?php endif; ?> <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(); ?> <?php foreach ($fieldSets as $name => $fieldSet) : ?> <?php if ($name !== 'basic' && $name !== 'item_associations' && $name !== 'jmetadata') : ?> <?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 if ($assoc) : ?> <?php echo JHtml::_('sliders.panel', JText::_('JGLOBAL_FIELDSET_ASSOCIATIONS'), '-options');?> <?php echo $this->loadTemplate('associations'); ?> <?php endif; ?> <?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> html/com_categories/categories/default.php 0000604 00000033426 15245523131 0014762 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> * @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'); $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'); $canOrder = $user->authorise('core.edit.state', $extension); $saveOrder = ($listOrder == 'a.lft' && $listDirn == 'asc'); $jinput = JFactory::getApplication()->input; $component = $jinput->get('extension'); ?> <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.getElementById('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" 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" 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" 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" 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> <label class="selectlabel" for="filter_tag"><?php echo JText::_('JOPTION_SELECT_TAG'); ?></label> <select name="filter_tag" id="filter_tag"> <option value=""><?php echo JText::_('JOPTION_SELECT_TAG'); ?></option> <?php echo JHtml::_('select.options', JHtml::_('tag.options', true, true), 'value', 'text', $this->state->get('filter.tag')); ?> </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 ($canOrder && $saveOrder) : ?> <?php echo JHtml::_('grid.order', $this->items, 'filesave.png', 'categories.saveorder'); ?> <?php endif; ?> </th> <?php if (isset($this->items[0]) && property_exists($this->items[0], 'count_published')) : ?> <th width="1%" class="nowrap center hidden-phone"> <span class="icon-publish hasTooltip" aria-hidden="true" title="<?php echo JText::_('COM_CATEGORY_COUNT_PUBLISHED_ITEMS'); ?>"><span class="element-invisible"><?php echo JText::_('COM_CATEGORY_COUNT_PUBLISHED_ITEMS'); ?></span></span> </th> <?php endif; ?> <?php if (isset($this->items[0]) && property_exists($this->items[0], 'count_unpublished')) : ?> <th width="1%" class="nowrap center hidden-phone"> <span class="icon-unpublish hasTooltip" aria-hidden="true" title="<?php echo JText::_('COM_CATEGORY_COUNT_UNPUBLISHED_ITEMS'); ?>"><span class="element-invisible"><?php echo JText::_('COM_CATEGORY_COUNT_UNPUBLISHED_ITEMS'); ?></span></span> </th> <?php endif; ?> <?php if (isset($this->items[0]) && property_exists($this->items[0], 'count_archived')) : ?> <th width="1%" class="nowrap center hidden-phone"> <span class="icon-archive hasTooltip" aria-hidden="true" title="<?php echo JText::_('COM_CATEGORY_COUNT_ARCHIVED_ITEMS'); ?>"><span class="element-invisible"><?php echo JText::_('COM_CATEGORY_COUNT_ARCHIVED_ITEMS'); ?></span></span> </th> <?php endif; ?> <?php if (isset($this->items[0]) && property_exists($this->items[0], 'count_trashed')) : ?> <th width="1%" class="nowrap center hidden-phone"> <span class="icon-trash hasTooltip" aria-hidden="true" title="<?php echo JText::_('COM_CATEGORY_COUNT_TRASHED_ITEMS'); ?>"><span class="element-invisible"><?php echo JText::_('COM_CATEGORY_COUNT_TRASHED_ITEMS'); ?></span></span> </th> <?php endif; ?> <th class="access-col"> <?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ACCESS', 'access_level', $listDirn, $listOrder); ?> </th> <?php if ($this->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 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; ?>"> <td class="center"> <?php echo JHtml::_('grid.id', $i, $item->id); ?> </td> <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 else : ?> <?php echo $orderkey + 1; ?> <?php endif; ?> </td> <?php if (isset($this->items[0]) && property_exists($this->items[0], 'count_published')) : ?> <td class="center"> <a title="<?php echo JText::_('COM_CATEGORY_COUNT_PUBLISHED_ITEMS'); ?>" href="<?php echo JRoute::_('index.php?option=' . $component . '&filter[category_id]=' . (int) $item->id . '&filter[published]=1' . '&filter[level]=' . (int) $item->level); ?>"> <?php echo $item->count_published; ?></a> </td> <?php endif; ?> <?php if (isset($this->items[0]) && property_exists($this->items[0], 'count_unpublished')) : ?> <td class="center"> <a title="<?php echo JText::_('COM_CATEGORY_COUNT_UNPUBLISHED_ITEMS'); ?>" href="<?php echo JRoute::_('index.php?option=' . $component . '&filter[category_id]=' . (int) $item->id . '&filter[published]=0' . '&filter[level]=' . (int) $item->level); ?>"> <?php echo $item->count_unpublished; ?></a> </td> <?php endif; ?> <?php if (isset($this->items[0]) && property_exists($this->items[0], 'count_archived')) : ?> <td class="center"> <a title="<?php echo JText::_('COM_CATEGORY_COUNT_ARCHIVED_ITEMS'); ?>" href="<?php echo JRoute::_('index.php?option=' . $component . '&filter[category_id]=' . (int) $item->id . '&filter[published]=2' . '&filter[level]=' . (int) $item->level); ?>"> <?php echo $item->count_archived; ?></a> </td> <?php endif; ?> <?php if (isset($this->items[0]) && property_exists($this->items[0], 'count_trashed')) : ?> <td class="center"> <a title="<?php echo JText::_('COM_CATEGORY_COUNT_TRASHED_ITEMS'); ?>" href="<?php echo JRoute::_('index.php?option=' . $component . '&filter[category_id]=' . (int) $item->id . '&filter[published]=-2' . '&filter[level]=' . (int) $item->level); ?>"> <?php echo $item->count_trashed; ?></a> </td> <?php endif; ?> <td class="center"> <?php echo $this->escape($item->access_level); ?> </td> <?php if ($this->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 echo JLayoutHelper::render('joomla.content.language', $item); ?> </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 if ($user->authorise('core.create', $extension) && $user->authorise('core.edit', $extension) && $user->authorise('core.edit.state', $extension)) : ?> <?php echo JHtml::_( 'bootstrap.renderModal', 'collapseModal', array( 'title' => JText::_('COM_CATEGORIES_BATCH_OPTIONS'), 'footer' => $this->loadTemplate('batch_footer'), ), $this->loadTemplate('batch_body') ); ?> <?php endif; ?> <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; ?>" /> <?php echo JHtml::_('form.token'); ?> </div> </form> </div> html/com_cache/cache/default.php 0000604 00000005713 15245523131 0012614 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> * @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="client_id"> <?php echo JText::_('COM_CACHE_SELECT_CLIENT'); ?> </label> <select name="client_id" id="client_id"> <?php echo JHtml::_('select.options', CacheHelper::getClientOptions(), 'value', 'text', $this->state->get('client_id'));?> </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> html/com_cache/purge/default.php 0000604 00000002124 15245523131 0012664 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage com_cache * * @copyright (C) 2012 Open Source Matters, Inc. <https://www.joomla.org> * @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> html/com_languages/languages/default.php 0000604 00000016553 15245523131 0014426 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); JHtml::_('bootstrap.tooltip'); JHtml::_('behavior.multiselect'); $user = JFactory::getUser(); $userId = $user->get('id'); $n = count($this->items); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); $canOrder = $user->authorise('core.edit.state', 'com_languages'); $saveOrder = $listOrder == 'a.ordering'; ?> <form action="<?php echo JRoute::_('index.php?option=com_languages&view=languages'); ?>" 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_LANGUAGES_SEARCH_IN_TITLE'); ?>" /> <button type="submit"><?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button> <button type="button" onclick="document.getElementById('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" id="filter_published"> <option value=""><?php echo JText::_('JOPTION_SELECT_PUBLISHED'); ?></option> <?php echo JHtml::_('select.options', JHtml::_('languages.publishedOptions'), 'value', 'text', $this->state->get('filter.published'), true); ?> </select> <button type="submit" id="filter-go"> <?php echo JText::_('JSUBMIT'); ?></button> </div> </fieldset> <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="title"> <?php echo JHtml::_('grid.sort', 'COM_LANGUAGES_HEADING_TITLE_NATIVE', 'a.title_native', $listDirn, $listOrder); ?> </th> <th class="nowrap width-5"> <?php echo JHtml::_('grid.sort', 'COM_LANGUAGES_FIELD_LANG_TAG_LABEL', 'a.lang_code', $listDirn, $listOrder); ?> </th> <th class="nowrap width-5"> <?php echo JHtml::_('grid.sort', 'COM_LANGUAGES_FIELD_LANG_CODE_LABEL', 'a.sef', $listDirn, $listOrder); ?> </th> <th class="nowrap width-5"> <?php echo JHtml::_('grid.sort', 'COM_LANGUAGES_HEADING_LANG_IMAGE', 'a.image', $listDirn, $listOrder); ?> </th> <th class="nowrap width-5"> <?php echo JHtml::_('grid.sort', 'JSTATUS', 'a.published', $listDirn, $listOrder); ?> </th> <th width="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', 'languages.saveorder'); ?> <?php endif; ?> </th> <th class="nowrap width-5"> <?php echo JHtml::_('grid.sort', 'COM_LANGUAGES_HOMEPAGE', '', $listDirn, $listOrder); ?> </th> <th class="nowrap id-col"> <?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ID', 'a.lang_id', $listDirn, $listOrder); ?> </th> </tr> </thead> <tbody> <?php foreach ($this->items as $i => $item) : $ordering = ($listOrder == 'a.ordering'); $canCreate = $user->authorise('core.create', 'com_languages'); $canEdit = $user->authorise('core.edit', 'com_languages'); $canChange = $user->authorise('core.edit.state', 'com_languages'); ?> <tr class="row<?php echo $i % 2; ?>"> <td> <?php echo JHtml::_('grid.id', $i, $item->lang_id); ?> </td> <td> <span class="editlinktip hasTooltip" title="<?php echo JHtml::_('tooltipText', JText::_('JGLOBAL_EDIT_ITEM'), $item->title, 0); ?>"> <?php if ($canEdit) : ?> <a href="<?php echo JRoute::_('index.php?option=com_languages&task=language.edit&lang_id='.(int) $item->lang_id); ?>"> <?php echo $this->escape($item->title); ?></a> <?php else : ?> <?php echo $this->escape($item->title); ?> <?php endif; ?> </span> </td> <td class="center"> <?php echo $this->escape($item->title_native); ?> </td> <td class="center"> <?php echo $this->escape($item->lang_code); ?> </td> <td class="center"> <?php echo $this->escape($item->sef); ?> </td> <td class="center"> <?php if ($item->image) : ?> <?php echo JHtml::_('image', 'mod_languages/' . $item->image . '.gif', $item->image, null, true); ?> <?php echo $this->escape($item->image); ?> <?php else : ?> <?php echo JText::_('JNONE'); ?> <?php endif; ?> </td> <td class="center"> <?php echo JHtml::_('jgrid.published', $item->published, $i, 'languages.', $canChange); ?> </td> <td class="order"> <?php if ($canChange) : ?> <?php if ($saveOrder) :?> <?php if ($listDirn == 'asc') : ?> <span><?php echo $this->pagination->orderUpIcon($i, true, 'languages.orderup', 'JLIB_HTML_MOVE_UP', $ordering); ?></span> <span><?php echo $this->pagination->orderDownIcon($i, $this->pagination->total, true, 'languages.orderdown', 'JLIB_HTML_MOVE_DOWN', $ordering); ?></span> <?php elseif ($listDirn == 'desc') : ?> <span><?php echo $this->pagination->orderUpIcon($i, true, 'languages.orderdown', 'JLIB_HTML_MOVE_UP', $ordering); ?></span> <span><?php echo $this->pagination->orderDownIcon($i, $this->pagination->total, true, 'languages.orderup', 'JLIB_HTML_MOVE_DOWN', $ordering); ?></span> <?php endif; ?> <?php endif; ?> <?php $disabled = $saveOrder ? '' : 'disabled="disabled"'; ?> <input type="text" name="order[]" size="5" value="<?php echo $item->ordering; ?>" <?php echo $disabled; ?> class="text-area-order" /> <?php else : ?> <?php echo $item->ordering; ?> <?php endif; ?> </td> <td class="center"> <?php if ($item->home == '1') : ?> <?php echo JText::_('JYES'); ?> <?php else:?> <?php echo JText::_('JNO'); ?> <?php endif; ?> </td> <td class="center"> <?php echo $this->escape($item->lang_id); ?> </td> </tr> <?php endforeach; ?> </tbody> </table> <?php echo $this->pagination->getListFooter(); ?> <div> <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> </div> </form> html/com_languages/installed/default.php 0000604 00000007152 15245523131 0014432 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; JHtml::_('behavior.core'); // Add specific helper files for html generation JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); $user = JFactory::getUser(); $userId = $user->get('id'); ?> <form action="<?php echo JRoute::_('index.php?option=com_languages&view=installed'); ?>" method="post" id="adminForm" name="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="client_id"> <?php echo JText::_('COM_CACHE_SELECT_CLIENT'); ?> </label> <select name="client_id" id="client_id"> <?php $options = array(); $options[] = JHtml::_('select.option', '0', JText::_('JSITE')); $options[] = JHtml::_('select.option', '1', JText::_('JADMINISTRATOR')); echo JHtml::_('select.options', $options, 'value', 'text', $this->state->get('client_id')); ?> </select> <button type="submit" id="filter-go"> <?php echo JText::_('JSUBMIT'); ?></button> </div> </fieldset> <?php if ($this->ftp) : ?> <?php echo $this->loadTemplate('ftp');?> <?php endif; ?> <table class="adminlist"> <thead> <tr> <th class="checkmark-col">   </th> <th class="title"> <?php echo JText::_('COM_LANGUAGES_HEADING_LANGUAGE'); ?> </th> <th> <?php echo JText::_('COM_LANGUAGES_FIELD_LANG_TAG_LABEL'); ?> </th> <th class="width-5"> <?php echo JText::_('COM_LANGUAGES_HEADING_DEFAULT'); ?> </th> <th class="width-10"> <?php echo JText::_('JVERSION'); ?> </th> <th class="width-10"> <?php echo JText::_('JDATE'); ?> </th> <th class="width-20"> <?php echo JText::_('JAUTHOR'); ?> </th> <th class="width-25"> <?php echo JText::_('COM_LANGUAGES_HEADING_AUTHOR_EMAIL'); ?> </th> </tr> </thead> <tbody> <?php foreach ($this->rows as $i => $row) : $canCreate = $user->authorise('core.create', 'com_languages'); $canEdit = $user->authorise('core.edit', 'com_languages'); $canChange = $user->authorise('core.edit.state', 'com_languages'); ?> <tr class="row<?php echo $i % 2; ?>"> <td> <?php echo JHtml::_('languages.id', $i, $row->language);?> </td> <td> <?php echo $this->escape($row->name); ?> </td> <td align="center"> <?php echo $this->escape($row->language); ?> </td> <td class="center"> <?php echo JHtml::_('jgrid.isdefault', $row->published, $i, 'installed.', !$row->published && $canChange);?> </td> <td class="center"> <?php echo $this->escape($row->version); ?> </td> <td class="center"> <?php echo $this->escape($row->creationDate); ?> </td> <td class="center"> <?php echo $this->escape($row->author); ?> </td> <td class="center"> <?php echo JStringPunycode::emailToUTF8($this->escape($row->authorEmail)); ?> </td> </tr> <?php endforeach;?> </tbody> </table> <?php echo $this->pagination->getListFooter(); ?> <input type="hidden" name="task" value="" /> <input type="hidden" name="boxchecked" value="0" /> <?php echo JHtml::_('form.token'); ?> </div> </form> html/com_languages/installed/default_ftp.php 0000604 00000001661 15245523131 0015302 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; ?> <fieldset class="adminform" title="<?php echo JText::_('COM_LANGUAGES_FTP_TITLE'); ?>"> <legend><?php echo JText::_('COM_LANGUAGES_FTP_TITLE'); ?></legend> <?php echo JText::_('COM_LANGUAGES_FTP_DESC'); ?> <?php if ($ftp instanceof Exception) : ?> <p class="warning"><?php echo JText::_($ftp->message); ?></p> <?php endif; ?> <div> <label for="username"><?php echo JText::_('JGLOBAL_USERNAME'); ?></label> <input type="text" id="username" name="username" value="" /> </div> <div> <label for="password"><?php echo JText::_('JGLOBAL_PASSWORD'); ?></label> <input type="password" id="password" name="password" value="" /> </div> </fieldset> html/com_languages/overrides/default.php 0000604 00000007610 15245523131 0014454 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage com_languages * * @copyright (C) 2012 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); $client = $this->state->get('filter.client') == 'site' ? JText::_('JSITE') : JText::_('JADMINISTRATOR'); $language = $this->state->get('filter.language'); $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_languages&view=overrides'); ?>" 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"> <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_LANGUAGES_VIEW_OVERRIDES_FILTER_SEARCH_DESC'); ?>" /> <button type="submit" class="btn"><?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button> <button type="button" onclick="document.getElementById('filter_search').value='';this.form.submit();"><?php echo JText::_('JSEARCH_FILTER_CLEAR'); ?></button> </div> <div class="filter-select fltrt"> <select name="filter_language_client" onchange="this.form.submit()"> <?php echo JHtml::_('select.options', $this->languages, null, 'text', $this->state->get('filter.language_client')); ?> </select> </div> </fieldset> <div class="clr"></div> <table class="adminlist"> <thead> <tr> <th width="1%"> <input type="checkbox" name="checkall-toggle" value="" onclick="Joomla.checkAll(this)" /> </th> <th width="30%" class="left"> <?php echo JHtml::_('grid.sort', 'COM_LANGUAGES_VIEW_OVERRIDES_KEY', 'key', $listDirn, $listOrder); ?> </th> <th class="left"> <?php echo JHtml::_('grid.sort', 'COM_LANGUAGES_VIEW_OVERRIDES_TEXT', 'text', $listDirn, $listOrder); ?> </th> <th class="nowrap"> <?php echo JText::_('COM_LANGUAGES_FIELD_LANG_TAG_LABEL'); ?> </th> <th> <?php echo JText::_('JCLIENT'); ?> </th> </tr> </thead> <tfoot> <tr> <td colspan="5"> <?php echo $this->pagination->getListFooter(); ?> </td> </tr> </tfoot> <tbody> <?php $canEdit = JFactory::getUser()->authorise('core.edit', 'com_languages'); $i = 0; foreach ($this->items as $key => $text) : ?> <tr class="row<?php echo $i % 2; ?>" id="overriderrow<?php echo $i; ?>"> <td class="center"> <?php echo JHtml::_('grid.id', $i, $key); ?> </td> <td> <?php if ($canEdit) : ?> <a id="key[<?php echo $this->escape($key); ?>]" href="<?php echo JRoute::_('index.php?option=com_languages&task=override.edit&id='.$key); ?>"><?php echo $this->escape($key); ?></a> <?php else: ?> <?php echo $this->escape($key); ?> <?php endif; ?> </td> <td> <span id="string[<?php echo $this->escape($key); ?>]"><?php echo $this->escape($text); ?></span> </td> <td class="center"> <?php echo $language; ?> </td> <td class="center"> <?php echo $client; ?> </td> </tr> <?php $i++; endforeach; ?> </tbody> </table> <div> <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> </div> </form> html/com_users/note/edit.php 0000604 00000004176 15245523131 0012117 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage com_users * * @copyright (C) 2015 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; JHtml::_('behavior.formvalidator'); JFactory::getDocument()->addScriptDeclaration(' jQuery(document).ready(function() { Joomla.submitbutton = function(task) { if (task == "note.cancel" || document.formvalidator.isValid(document.getElementById("note-form"))) { ' . $this->form->getField('body')->save() . ' Joomla.submitform(task, document.getElementById("note-form")); } } });'); ?> <form action="<?php echo JRoute::_('index.php?option=com_users&view=note&id=' . (int) $this->item->id);?>" method="post" name="adminForm" id="note-form" class="form-validate"> <div class="col main-section"> <fieldset class="adminform"> <legend><?php echo empty($this->item->id) ? JText::_('COM_USERS_NEW_NOTE') : JText::sprintf('COM_USERS_EDIT_NOTE', $this->item->id); ?></legend> <ul class="adminformlist"> <li> <?php echo $this->form->getLabel('subject'); ?> <?php echo $this->form->getInput('subject'); ?> </li> <li> <div class="clr"></div> <?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('state'); ?> <?php echo $this->form->getInput('state'); ?> </li> <li> <?php echo $this->form->getLabel('review_time'); ?> <?php echo $this->form->getInput('review_time'); ?> </li> <li> <?php echo $this->form->getLabel('version_note'); ?> <?php echo $this->form->getInput('version_note'); ?> </li> </ul> <div class="clr"></div> <?php echo $this->form->getLabel('body'); ?> <div class="clr"></div> <div class="editor"> <?php echo $this->form->getInput('body'); ?> </div> <input type="hidden" name="task" value="" /> <?php echo JHtml::_('form.token'); ?> </fieldset> </form> html/com_users/groups/default.php 0000604 00000011374 15245523131 0013166 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> * @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'); $user = JFactory::getUser(); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); JText::script('COM_USERS_GROUPS_CONFIRM_DELETE'); $groupsWithUsers = array(); foreach ($this->items as $i => $item) { if ($item->user_count > 0) { $groupsWithUsers[] = $i; } } JFactory::getDocument()->addScriptDeclaration(' Joomla.submitbutton = function(task) { if (task == "groups.delete") { var f = document.adminForm; var cb = ""; var groupsWithUsers = [' . implode(',', $groupsWithUsers) . ']; for (index = 0; index < groupsWithUsers.length; ++index) { cb = f["cb" + groupsWithUsers[index]]; if (cb && cb.checked) { if (confirm(Joomla.JText._("COM_USERS_GROUPS_CONFIRM_DELETE"))) { Joomla.submitform(task); } return; } } } Joomla.submitform(task); }; '); ?> <form action="<?php echo JRoute::_('index.php?option=com_users&view=groups');?>" 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_USERS_SEARCH_GROUPS_LABEL'); ?></legend> <div class="filter-search"> <label class="filter-search-lbl" for="filter_search"><?php echo JText::_('COM_USERS_SEARCH_GROUPS_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_USERS_SEARCH_IN_GROUPS'); ?>" /> <button type="submit"><?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button> <button type="button" onclick="document.getElementById('filter_search').value='';this.form.submit();"><?php echo JText::_('JSEARCH_FILTER_CLEAR'); ?></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 JText::_('COM_USERS_HEADING_GROUP_TITLE'); ?> </th> <th class="width-10"> <?php echo JText::_('COM_USERS_HEADING_USERS_IN_GROUP'); ?> </th> <th class="nowrap id-col"> <?php echo JText::_('JGRID_HEADING_ID'); ?> </th> </tr> </thead> <tbody> <?php foreach ($this->items as $i => $item) : $canCreate = $user->authorise('core.create', 'com_users'); $canEdit = $user->authorise('core.edit', 'com_users'); // If this group is super admin and this user is not super admin, $canEdit is false if (!$user->authorise('core.admin') && JAccess::checkGroup($item->id, 'core.admin')) { $canEdit = false; } $canChange = $user->authorise('core.edit.state', 'com_users'); ?> <tr class="row<?php echo $i % 2; ?>"> <td> <?php if ($canEdit) : ?> <?php echo JHtml::_('grid.id', $i, $item->id); ?> <?php endif; ?> </td> <td> <?php echo str_repeat('<span class="gi">|—</span>', $item->level) ?> <?php if ($canEdit) : ?> <a href="<?php echo JRoute::_('index.php?option=com_users&task=group.edit&id='.$item->id);?>"> <?php echo $this->escape($item->title); ?></a> <?php else : ?> <?php echo $this->escape($item->title); ?> <?php endif; ?> <?php if (JDEBUG) : ?> <div class="fltrt"><div class="button2-left smallsub"><div class="blank"><a href="<?php echo JRoute::_('index.php?option=com_users&view=debuggroup&group_id='.(int) $item->id);?>"> <?php echo JText::_('COM_USERS_DEBUG_GROUP');?></a></div></div></div> <?php endif; ?> </td> <td class="center"> <?php echo $item->user_count ?: ''; ?> </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> html/com_users/notes/default.php 0000604 00000013470 15245523131 0012776 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2011 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; $user = JFactory::getUser(); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); $canEdit = $user->authorise('core.edit', 'com_users'); ?> <form action="<?php echo JRoute::_('index.php?option=com_users&view=notes');?>" 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_USERS_SEARCH_IN_NOTE_TITLE'); ?></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_USERS_SEARCH_IN_NOTE_TITLE'); ?>" /> <button type="submit"><?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button> <button type="button" onclick="document.getElementById('filter_search').value='';this.form.submit();"><?php echo JText::_('JSEARCH_FILTER_CLEAR'); ?></button> </div> <div class="filter-select"> <span class="faux-label"><?php echo JText::_('COM_USERS_FILTER_LABEL'); ?></span> <label class="selectlabel" for="filter_category_id"> <?php echo JText::_('JOPTION_SELECT_CATEGORY'); ?> </label> <select name="filter_category_id" id="filter_category_id" > <option value=""><?php echo JText::_('JOPTION_SELECT_CATEGORY');?></option> <?php echo JHtml::_( 'select.options', JHtml::_('category.options', 'com_users'), 'value', 'text', $this->state->get('filter.category_id') ); ?> </select> <label class="selectlabel" for="filter_published"> <?php echo JText::_('JOPTION_SELECT_PUBLISHED'); ?> </label> <select name="filter_published" 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> <button type="submit" id="filter-go"> <?php echo JText::_('JSUBMIT'); ?></button> </div> </fieldset> <table class="adminlist"> <thead> <tr> <th class="checkmark-col"> <input type="checkbox" name="toggle" value="" class="checklist-toggle" title="<?php echo JText::_('JGLOBAL_CHECK_ALL'); ?>" onclick="Joomla.checkAll(this)" /> </th> <th class="width-15"> <?php echo JHtml::_('grid.sort', 'COM_USERS_USER_HEADING', 'u.name', $listDirn, $listOrder); ?> </th> <th class="title"> <?php echo JHtml::_('grid.sort', 'COM_USERS_SUBJECT_HEADING', 'a.subject', $listDirn, $listOrder); ?> </th> <th class="width-20"> <?php echo JHtml::_('grid.sort', 'COM_USERS_CATEGORY_HEADING', 'c.title', $listDirn, $listOrder); ?> </th> <th class="width-5"> <?php echo JHtml::_('grid.sort', 'JSTATUS', 'a.state', $listDirn, $listOrder); ?> </th> <th class="width-10"> <?php echo JHtml::_('grid.sort', 'COM_USERS_REVIEW_HEADING', 'a.review_time', $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) : ?> <?php $canChange = $user->authorise('core.edit.state', 'com_users'); ?> <tr class="row<?php echo $i % 2; ?>"> <td class="center checklist"> <?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); ?> <?php endif; ?> <?php if ($canEdit) : ?> <a href="<?php echo JRoute::_('index.php?option=com_users&task=note.edit&id='.$item->id);?>"> <?php echo $this->escape($item->user_name); ?></a> <?php else : ?> <?php echo $this->escape($item->user_name); ?> <?php endif; ?> </td> <td> <?php if ($item->subject) : ?> <?php echo $this->escape($item->subject); ?> <?php else : ?> <?php echo JText::_('COM_USERS_EMPTY_SUBJECT'); ?> <?php endif; ?> </td> <td class="center"> <?php if ($item->catid && $item->cparams->get('image')) : ?> <?php echo JHtml::_('users.image', $item->cparams->get('image')); ?> <?php endif; ?> <?php echo $this->escape($item->category_title); ?> </td> <td class="center"> <?php echo JHtml::_('jgrid.published', $item->state, $i, 'notes.', $canChange, 'cb', $item->publish_up, $item->publish_down); ?> </td> <td class="center"> <?php if ($item->review_time !== JFactory::getDbo()->getNullDate()) : ?> <?php echo JHtml::_('date', $item->review_time, JText::_('DATE_FORMAT_LC4')); ?> <?php else : ?> <?php echo JText::_('COM_USERS_EMPTY_REVIEW'); ?> <?php endif; ?> </td> <td class="center"> <?php echo (int) $item->id; ?> </td> </tr> <?php endforeach; ?> </tbody> </table> <?php echo $this->pagination->getListFooter(); ?> <div> <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> </div> </form> html/com_users/debuggroup/default.php 0000604 00000013331 15245523131 0014005 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> * @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::_('bootstrap.tooltip'); $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_users&view=debuggroup&group_id='.(int) $this->state->get('group_id'));?>" 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_USERS_SEARCH_ASSETS'); ?></legend> <div class="filter-search fltlft"> <label class="filter-search-lbl" for="filter_search"><?php echo JText::_('COM_USERS_SEARCH_ASSETS'); ?></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_USERS_SEARCH_USERS'); ?>" /> <button type="submit"><?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button> <button type="button" onclick="document.getElementById('filter_search').value='';this.form.submit();"><?php echo JText::_('JSEARCH_RESET'); ?></button> </div> <div class="filter-select fltrt"> <label class="selectlabel" for="filter_component"><?php echo JText::_('COM_USERS_OPTION_SELECT_COMPONENT'); ?></label> <select name="filter_component" id="filter_component"> <option value=""><?php echo JText::_('COM_USERS_OPTION_SELECT_COMPONENT');?></option> <?php if (!empty($this->components)) { echo JHtml::_('select.options', $this->components, 'value', 'text', $this->state->get('filter.component')); }?> </select> <label class="selectlabel" for="filter_level_start"><?php echo JText::_('COM_USERS_OPTION_SELECT_LEVEL_START'); ?></label> <select name="filter_level_start" id="filter_level_start"> <option value=""><?php echo JText::_('COM_USERS_OPTION_SELECT_LEVEL_START');?></option> <?php echo JHtml::_('select.options', $this->levels, 'value', 'text', $this->state->get('filter.level_start'));?> </select> <label class="selectlabel" for="filter_level_end"><?php echo JText::_('COM_USERS_OPTION_SELECT_LEVEL_END'); ?></label> <select name="filter_level_end" id="filter_level_end"> <option value=""><?php echo JText::_('COM_USERS_OPTION_SELECT_LEVEL_END');?></option> <?php echo JHtml::_('select.options', $this->levels, 'value', 'text', $this->state->get('filter.level_end'));?> </select> <button type="submit" id="filter-go"> <?php echo JText::_('JSUBMIT'); ?></button> </div> </fieldset> <div class="clr"> </div> <div> <?php echo JText::_('COM_USERS_DEBUG_LEGEND'); ?> <span class="check-0 swatch"><?php echo JText::sprintf('COM_USERS_DEBUG_IMPLICIT_DENY', '-');?></span> <span class="check-a swatch"><?php echo JText::sprintf('COM_USERS_DEBUG_EXPLICIT_ALLOW', '✓');?></span> <span class="check-d swatch"><?php echo JText::sprintf('COM_USERS_DEBUG_EXPLICIT_DENY', '✗');?></span> </div> <table class="adminlist"> <thead> <tr> <th class="left"> <?php echo JHtml::_('grid.sort', 'COM_USERS_HEADING_ASSET_TITLE', 'a.title', $listDirn, $listOrder); ?> </th> <th class="left"> <?php echo JHtml::_('grid.sort', 'COM_USERS_HEADING_ASSET_NAME', 'a.name', $listDirn, $listOrder); ?> </th> <?php foreach ($this->actions as $key => $action) : ?> <th class="width-5"> <span class="hasTooltip" title="<?php echo JHtml::_('tooltipText', $key, $action[1]); ?>"><?php echo JText::_($key); ?></span> </th> <?php endforeach; ?> <th class="width-5 nowrap"> <?php echo JHtml::_('grid.sort', 'COM_USERS_HEADING_LFT', 'a.lft', $listDirn, $listOrder); ?> </th> <th class="width-5 nowrap"> <?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="row1"> <td> <?php echo $this->escape($item->title); ?> </td> <td class="nowrap"> <?php echo str_repeat('<span class="gi">|—</span>', $item->level) ?> <?php echo $this->escape($item->name); ?> </td> <?php foreach ($this->actions as $action) : ?> <?php $name = $action[0]; $check = $item->checks[$name]; if ($check === true) : $class = 'check-a'; $text = '✓'; elseif ($check === false) : $class = 'check-d'; $text = '✗'; elseif ($check === null) : $class = 'check-0'; $text = '-'; else : $class = ''; $text = ' '; endif; ?> <td class="center <?php echo $class;?>"> <?php echo $text; ?> </td> <?php endforeach; ?> <td class="center"> <?php echo (int) $item->lft; ?> - <?php echo (int) $item->rgt; ?> </td> <td class="center"> <?php echo (int) $item->id; ?> </td> </tr> <?php endforeach; ?> </tbody> </table> <?php echo $this->pagination->getListFooter(); ?> <div> <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> </div> </form> html/com_users/levels/default.php 0000604 00000011605 15245523131 0013136 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> * @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'); $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_users'); $saveOrder = $listOrder == 'a.ordering'; ?> <form action="<?php echo JRoute::_('index.php?option=com_users&view=levels'); ?>" method="post" id="adminForm" name="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_USERS_SEARCH_ACCESS_LEVELS'); ?></legend> <div class="filter-search"> <label class="filter-search-lbl" for="filter_search"><?php echo JText::_('COM_USERS_SEARCH_ACCESS_LEVELS'); ?></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_USERS_SEARCH_TITLE_LEVELS'); ?>" /> <button type="submit"><?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button> <button type="button" onclick="document.getElementById('filter_search').value='';this.form.submit();"><?php echo JText::_('JSEARCH_RESET'); ?></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_USERS_HEADING_LEVEL_NAME', 'a.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', 'levels.saveorder'); ?> <?php endif; ?> </th> <th class="nowrap id-col"> <?php echo JText::_('JGRID_HEADING_ID'); ?> </th> <th class="width-40">   </th> </tr> </thead> <tbody> <?php foreach ($this->items as $i => $item) : $ordering = ($listOrder == 'a.ordering'); $canCreate = $user->authorise('core.create', 'com_users'); $canEdit = $user->authorise('core.edit', 'com_users'); $canChange = $user->authorise('core.edit.state', 'com_users'); ?> <tr class="row<?php echo $i % 2; ?>"> <td> <?php echo JHtml::_('grid.id', $i, $item->id); ?> </td> <td> <?php if ($canEdit) : ?> <a href="<?php echo JRoute::_('index.php?option=com_users&task=level.edit&id='.$item->id); ?>"> <?php echo $this->escape($item->title); ?></a> <?php else : ?> <?php echo $this->escape($item->title); ?> <?php endif; ?> </td> <td class="order"> <?php if ($canChange) : ?> <?php if ($saveOrder) :?> <?php if ($listDirn == 'asc') : ?> <span><?php echo $this->pagination->orderUpIcon($i, true, 'levels.orderup', 'JLIB_HTML_MOVE_UP', $ordering); ?></span> <span><?php echo $this->pagination->orderDownIcon($i, $this->pagination->total, true, 'levels.orderdown', 'JLIB_HTML_MOVE_DOWN', $ordering); ?></span> <?php elseif ($listDirn == 'desc') : ?> <span><?php echo $this->pagination->orderUpIcon($i, true, 'levels.orderdown', 'JLIB_HTML_MOVE_UP', $ordering); ?></span> <span><?php echo $this->pagination->orderDownIcon($i, $this->pagination->total, true, 'levels.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 (int) $item->id; ?> </td> <td>   </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> html/com_users/users/modal.php 0000604 00000007040 15245523131 0012453 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); $input = JFactory::getApplication()->input; $field = $input->getCmd('field'); $function = 'jSelectUser_'.$field; $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_users&view=users&layout=modal&tmpl=component&groups=' . $input->get('groups', '', 'BASE64') . '&excluded=' . $input->get('excluded', '', 'BASE64'));?>" method="post" name="adminForm" id="adminForm"> <fieldset id="filter-bar"> <legend class="element-invisible"><?php echo JText::_('JSEARCH_FILTER'); ?></legend> <div class="filter-search"> <label class="filter-search-lbl" for="filter_search"><?php echo JText::_('JSEARCH_FILTER'); ?></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_USERS_SEARCH_IN_NAME'); ?>" /> <button type="submit"><?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button> <button type="button" onclick="document.getElementById('filter_search').value='';this.form.submit();"><?php echo JText::_('JSEARCH_FILTER_CLEAR'); ?></button> <button type="button" data-user-value="" data-user-name="<?php echo $this->escape(JText::_('JLIB_FORM_SELECT_USER')); ?>" data-user-field="<?php echo $this->escape($field);?>" onclick="if (window.parent) window.parent.jSelectUser(this);"><?php echo JText::_('JOPTION_NO_USER')?></button> </div> <div class="filter-select"> <label for="filter_group_id"> <?php echo JText::_('COM_USERS_FILTER_USER_GROUP'); ?> </label> <?php echo JHtml::_('access.usergroup', 'filter_group_id', $this->state->get('filter.group_id')); ?> <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', 'COM_USERS_HEADING_NAME', 'a.name', $listDirn, $listOrder); ?> </th> <th class="nowrap width=25"> <?php echo JHtml::_('grid.sort', 'JGLOBAL_USERNAME', 'a.username', $listDirn, $listOrder); ?> </th> <th class="nowrap width=25"> <?php echo JText::_('COM_USERS_HEADING_GROUPS'); ?> </th> </tr> </thead> <tbody> <?php $i = 0; foreach ($this->items as $item) : ?> <tr class="row<?php echo $i % 2; ?>"> <td> <a class="pointer" data-user-value="<?php echo $item->id; ?>" data-user-name="<?php echo $this->escape($item->name); ?>" data-user-field="<?php echo $this->escape($field);?>" onclick="if (window.parent) window.parent.jSelectUser(this);"> <?php echo $item->name; ?></a> </td> <td class="center"> <?php echo $item->username; ?> </td> <td class="title"> <?php echo nl2br($item->group_names); ?> </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> html/com_users/users/default.php 0000604 00000023222 15245523131 0013003 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> * @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::_('bootstrap.tooltip'); JHtml::_('behavior.multiselect'); $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); $loggeduser = JFactory::getUser(); ?> <form action="<?php echo JRoute::_('index.php?option=com_users&view=users');?>" 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_USERS_SEARCH_USERS'); ?></legend> <div class="filter-search"> <label class="filter-search-lbl" for="filter_search"><?php echo JText::_('COM_USERS_SEARCH_USERS'); ?></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_USERS_SEARCH_USERS'); ?>" /> <button type="submit"><?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button> <button type="button" onclick="document.getElementById('filter_search').value='';this.form.submit();"><?php echo JText::_('JSEARCH_RESET'); ?></button> </div> <div class="filter-select"> <span class="faux-label"><?php echo JText::_('COM_USERS_FILTER_LABEL'); ?></span> <label class="selectlabel" for="filter_state"> <?php echo JText::_('COM_USERS_FILTER_LABEL'); ?> </label> <select name="filter_state" id="filter_state"> <option value="*"><?php echo JText::_('COM_USERS_FILTER_STATE');?></option> <?php echo JHtml::_('select.options', UsersHelper::getStateOptions(), 'value', 'text', $this->state->get('filter.state'));?> </select> <label class="selectlabel" for="filter_active"> <?php echo JText::_('COM_USERS_FILTER_ACTIVE'); ?> </label> <select name="filter_active" id="filter_active"> <option value="*"><?php echo JText::_('COM_USERS_FILTER_ACTIVE');?></option> <?php echo JHtml::_('select.options', UsersHelper::getActiveOptions(), 'value', 'text', $this->state->get('filter.active'));?> </select> <label class="selectlabel" for="filter_group_id"> <?php echo JText::_('COM_USERS_FILTER_USERGROUP'); ?> </label> <select name="filter_group_id" id="filter_group_id"> <option value=""><?php echo JText::_('COM_USERS_FILTER_USERGROUP');?></option> <?php echo JHtml::_('select.options', UsersHelper::getGroups(), 'value', 'text', $this->state->get('filter.group_id'));?> </select> <label class="selectlabel" for="filter_lastvisitrange"> <?php echo JText::_('COM_USERS_OPTION_FILTER_LAST_VISIT_DATE'); ?> </label> <select name="filter_lastvisitrange" id="filter_lastvisitrange" > <option value=""><?php echo JText::_('COM_USERS_OPTION_FILTER_LAST_VISIT_DATE');?></option> <?php echo JHtml::_('select.options', Usershelper::getRangeOptions(), 'value', 'text', $this->state->get('filter.lastvisitrange'));?> </select> <label class="selectlabel" for="filter_range"> <?php echo JText::_('COM_USERS_OPTION_FILTER_DATE'); ?> </label> <select name="filter_range" id="filter_range" > <option value=""><?php echo JText::_('COM_USERS_OPTION_FILTER_DATE');?></option> <?php echo JHtml::_('select.options', Usershelper::getRangeOptions(), 'value', 'text', $this->state->get('filter.range'));?> </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_USERS_HEADING_NAME', 'a.name', $listDirn, $listOrder); ?> </th> <th class="nowrap width-10"> <?php echo JHtml::_('grid.sort', 'JGLOBAL_USERNAME', 'a.username', $listDirn, $listOrder); ?> </th> <th class="nowrap width-5"> <?php echo JHtml::_('grid.sort', 'COM_USERS_HEADING_ENABLED', 'a.block', $listDirn, $listOrder); ?> </th> <th class="nowrap width-5"> <?php echo JHtml::_('grid.sort', 'COM_USERS_HEADING_ACTIVATED', 'a.activation', $listDirn, $listOrder); ?> </th> <th class="nowrap width-10"> <?php echo JText::_('COM_USERS_HEADING_GROUPS'); ?> </th> <th class="nowrap width-15"> <?php echo JHtml::_('grid.sort', 'JGLOBAL_EMAIL', 'a.email', $listDirn, $listOrder); ?> </th> <th class="nowrap width-15"> <?php echo JHtml::_('grid.sort', 'COM_USERS_HEADING_LAST_VISIT_DATE', 'a.lastvisitDate', $listDirn, $listOrder); ?> </th> <th class="nowrap width-15"> <?php echo JHtml::_('grid.sort', 'COM_USERS_HEADING_REGISTRATION_DATE', 'a.registerDate', $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) : $canEdit = $this->canDo->get('core.edit'); $canChange = $loggeduser->authorise('core.edit.state', 'com_users'); // If this group is super admin and this user is not super admin, $canEdit is false if ((!$loggeduser->authorise('core.admin')) && JAccess::check($item->id, 'core.admin')) { $canEdit = false; $canChange = false; } ?> <tr class="row<?php echo $i % 2; ?>"> <td> <?php if ($canEdit) : ?> <?php echo JHtml::_('grid.id', $i, $item->id); ?> <?php endif; ?> </td> <td class="break-word"> <div class="fltrt"> <?php echo JHtml::_('users.filterNotes', $item->note_count, $item->id); ?> <?php echo JHtml::_('users.notes', $item->note_count, $item->id); ?> <?php echo JHtml::_('users.addNote', $item->id); ?> <?php if ($item->requireReset == '1') : ?> <span class="label label-warning"><?php echo JText::_('COM_USERS_PASSWORD_RESET_REQUIRED'); ?></span> <?php endif; ?> <?php echo JHtml::_('users.notesModal', $item->note_count, $item->id); ?> </div> <?php if ($canEdit) : ?> <a href="<?php echo JRoute::_('index.php?option=com_users&task=user.edit&id='.(int) $item->id); ?>" title="<?php echo JText::sprintf('COM_USERS_EDIT_USER', $this->escape($item->name)); ?>"> <?php echo $this->escape($item->name); ?></a> <?php else : ?> <?php echo $this->escape($item->name); ?> <?php endif; ?> <?php if (JDEBUG) : ?> <div class="fltrt"><div class="button2-left smallsub"><div class="blank"><a href="<?php echo JRoute::_('index.php?option=com_users&view=debuguser&user_id='.(int) $item->id);?>"> <?php echo JText::_('COM_USERS_DEBUG_USER');?></a></div></div></div> <?php endif; ?> </td> <td class="center break-word"> <?php echo $this->escape($item->username); ?> </td> <td class="center"> <?php if ($canChange) : ?> <?php if ($loggeduser->id != $item->id) : ?> <?php echo JHtml::_('grid.boolean', $i, !$item->block, 'users.unblock', 'users.block'); ?> <?php else : ?> <?php echo JHtml::_('grid.boolean', $i, !$item->block, 'users.block', null); ?> <?php endif; ?> <?php else : ?> <?php echo JText::_($item->block ? 'JNO' : 'JYES'); ?> <?php endif; ?> </td> <td class="center"> <?php echo JHtml::_('grid.boolean', $i, !$item->activation, 'users.activate', null); ?> </td> <td class="center"> <?php if (substr_count($item->group_names, "\n") > 1) : ?> <span class="hasTooltip" title="<?php echo JHtml::_('tooltipText', JText::_('COM_USERS_HEADING_GROUPS'), nl2br($item->group_names), 0); ?>"><?php echo JText::_('COM_USERS_USERS_MULTIPLE_GROUPS'); ?></span> <?php else : ?> <?php echo nl2br($item->group_names); ?> <?php endif; ?> </td> <td class="center break-word"> <?php echo $this->escape($item->email); ?> </td> <td class="center"> <?php if ($item->lastvisitDate != $this->db->getNullDate()) : ?> <?php echo JHtml::_('date', $item->lastvisitDate, JText::_('DATE_FORMAT_LC6')); ?> <?php else:?> <?php echo JText::_('JNEVER'); ?> <?php endif;?> </td> <td class="center"> <?php echo JHtml::_('date', $item->registerDate, JText::_('DATE_FORMAT_LC6')); ?> </td> <td class="center"> <?php echo (int) $item->id; ?> </td> </tr> <?php endforeach; ?> </tbody> </table> <?php // Load the batch processing form if user is allowed ?> <?php if ($loggeduser->authorise('core.create', 'com_users') && $loggeduser->authorise('core.edit', 'com_users') && $loggeduser->authorise('core.edit.state', 'com_users')) : ?> <?php echo JHtml::_( 'bootstrap.renderModal', 'collapseModal', array( 'title' => JText::_('COM_USERS_BATCH_OPTIONS'), 'footer' => $this->loadTemplate('batch_footer'), ), $this->loadTemplate('batch_body') ); ?> <?php endif;?> <?php echo $this->pagination->getListFooter(); ?> <div> <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> </div> </form> html/com_users/debuguser/default.php 0000604 00000013331 15245523131 0013627 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> * @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::_('bootstrap.tooltip'); $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_users&view=debuguser&user_id=' . (int) $this->state->get('user_id')); ?>" 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_USERS_SEARCH_ASSETS'); ?></legend> <div class="filter-search fltlft"> <label class="filter-search-lbl" for="filter_search"><?php echo JText::_('COM_USERS_SEARCH_ASSETS'); ?></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_USERS_SEARCH_USERS'); ?>" /> <button type="submit"><?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button> <button type="button" onclick="document.getElementById('filter_search').value='';this.form.submit();"><?php echo JText::_('JSEARCH_RESET'); ?></button> </div> <div class="filter-select fltrt"> <label class="selectlabel" for="filter_component"><?php echo JText::_('COM_USERS_OPTION_SELECT_COMPONENT'); ?></label> <select name="filter_component" id="filter_component"> <option value=""><?php echo JText::_('COM_USERS_OPTION_SELECT_COMPONENT');?></option> <?php if (!empty($this->components)) { echo JHtml::_('select.options', $this->components, 'value', 'text', $this->state->get('filter.component')); }?> </select> <label class="selectlabel" for="filter_level_start"><?php echo JText::_('COM_USERS_OPTION_SELECT_LEVEL_START'); ?></label> <select name="filter_level_start" id="filter_level_start"> <option value=""><?php echo JText::_('COM_USERS_OPTION_SELECT_LEVEL_START');?></option> <?php echo JHtml::_('select.options', $this->levels, 'value', 'text', $this->state->get('filter.level_start'));?> </select> <label class="selectlabel" for="filter_level_end"><?php echo JText::_('COM_USERS_OPTION_SELECT_LEVEL_END'); ?></label> <select name="filter_level_end" id="filter_level_end"> <option value=""><?php echo JText::_('COM_USERS_OPTION_SELECT_LEVEL_END');?></option> <?php echo JHtml::_('select.options', $this->levels, 'value', 'text', $this->state->get('filter.level_end'));?> </select> <button type="submit" id="filter-go"> <?php echo JText::_('JSUBMIT'); ?></button> </div> </fieldset> <div class="clr"> </div> <div> <?php echo JText::_('COM_USERS_DEBUG_LEGEND'); ?> <span class="check-0 swatch"><?php echo JText::sprintf('COM_USERS_DEBUG_IMPLICIT_DENY', '-');?></span> <span class="check-a swatch"><?php echo JText::sprintf('COM_USERS_DEBUG_EXPLICIT_ALLOW', '✓');?></span> <span class="check-d swatch"><?php echo JText::sprintf('COM_USERS_DEBUG_EXPLICIT_DENY', '✗');?></span> </div> <table class="adminlist"> <thead> <tr> <th class="left"> <?php echo JHtml::_('grid.sort', 'COM_USERS_HEADING_ASSET_TITLE', 'a.title', $listDirn, $listOrder); ?> </th> <th class="left"> <?php echo JHtml::_('grid.sort', 'COM_USERS_HEADING_ASSET_NAME', 'a.name', $listDirn, $listOrder); ?> </th> <?php foreach ($this->actions as $key => $action) : ?> <th class="width-5"> <span class="hasTooltip" title="<?php echo JHtml::_('tooltipText', $key, $action[1]); ?>"><?php echo JText::_($key); ?></span> </th> <?php endforeach; ?> <th class="width-5 nowrap"> <?php echo JHtml::_('grid.sort', 'COM_USERS_HEADING_LFT', 'a.lft', $listDirn, $listOrder); ?> </th> <th class="width-5 nowrap"> <?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="row1"> <th> <?php echo $this->escape($item->title); ?> </th> <td class="nowrap"> <?php echo str_repeat('<span class="gi">|—</span>', $item->level) ?> <?php echo $this->escape($item->name); ?> </td> <?php foreach ($this->actions as $action) : ?> <?php $name = $action[0]; $check = $item->checks[$name]; if ($check === true) : $class = 'check-a'; $text = '✓'; elseif ($check === false) : $class = 'check-d'; $text = '✗'; elseif ($check === null) : $class = 'check-0'; $text = '-'; else : $class = ''; $text = ' '; endif; ?> <td class="center <?php echo $class;?>"> <?php echo $text; ?> </td> <?php endforeach; ?> <td class="center"> <?php echo (int) $item->lft; ?> - <?php echo (int) $item->rgt; ?> </td> <td class="center"> <?php echo (int) $item->id; ?> </td> </tr> <?php endforeach; ?> </tbody> </table> <?php echo $this->pagination->getListFooter(); ?> <div> <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> </div> </form> html/com_users/user/edit.php 0000604 00000011365 15245523131 0012126 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2012 Open Source Matters, Inc. <https://www.joomla.org> * @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.formvalidator'); JHtml::_('behavior.keepalive'); // Get the form fieldsets. $fieldsets = $this->form->getFieldsets(); JFactory::getDocument()->addScriptDeclaration(" Joomla.submitbutton = function(task) { if (task == 'user.cancel' || document.formvalidator.isValid(document.getElementById('user-form'))) { Joomla.submitform(task, document.getElementById('user-form')); } } Joomla.twoFactorMethodChange = function(e) { var selectedPane = 'com_users_twofactor_' + jQuery('#jform_twofactor_method').val(); jQuery.each(jQuery('#com_users_twofactor_forms_container>div'), function(i, el) { if (el.id != selectedPane) { jQuery('#' + el.id).hide(0); } else { jQuery('#' + el.id).show(0); } }); } "); ?> <form action="<?php echo JRoute::_('index.php?option=com_users&layout=edit&id='.(int) $this->item->id); ?>" method="post" name="adminForm" id="user-form" class="form-validate" enctype="multipart/form-data"> <div class="col main-section"> <fieldset class="adminform"> <legend><?php echo JText::_('COM_USERS_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', 'user-slider', array('useCookie' => 1)); ?> <?php if ($this->grouplist) : ?> <?php echo JHtml::_('sliders.panel', JText::_('COM_USERS_ASSIGNED_GROUPS'), 'groups'); ?> <fieldset class="panelform"> <legend class="element-invisible"><?php echo JText::_('COM_USERS_ASSIGNED_GROUPS'); ?></legend> <?php echo $this->loadTemplate('groups'); ?> </fieldset> <?php endif; ?> <?php foreach ($fieldsets as $fieldset) : if ($fieldset->name == 'user_details') : continue; endif; echo JHtml::_('sliders.panel', JText::_($fieldset->label), $fieldset->name); ?> <fieldset class="panelform"> <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 if (!empty($this->tfaform) && $this->item->id): ?> <?php echo JHtml::_('sliders.panel', JText::_('COM_USERS_USER_TWO_FACTOR_AUTH'), 'twofactorauth'); ?> <div class="control-group"> <div class="control-label"> <label id="jform_twofactor_method-lbl" for="jform_twofactor_method" class="hasTooltip" title="<?php echo '<strong>' . JText::_('COM_USERS_USER_FIELD_TWOFACTOR_LABEL') . '</strong><br />' . JText::_('COM_USERS_USER_FIELD_TWOFACTOR_DESC'); ?>"> <?php echo JText::_('COM_USERS_USER_FIELD_TWOFACTOR_LABEL'); ?> </label> </div> <div class="controls"> <?php echo JHtml::_('select.genericlist', Usershelper::getTwoFactorMethods(), 'jform[twofactor][method]', array('onchange' => 'Joomla.twoFactorMethodChange()'), 'value', 'text', $this->otpConfig->method, 'jform_twofactor_method', false) ?> </div> </div> <div id="com_users_twofactor_forms_container"> <?php foreach ($this->tfaform as $form): ?> <?php $style = $form['method'] == $this->otpConfig->method ? 'display: block' : 'display: none'; ?> <div id="com_users_twofactor_<?php echo $form['method'] ?>" style="<?php echo $style; ?>"> <?php echo $form['form'] ?> </div> <?php endforeach; ?> </div> <fieldset> <legend> <?php echo JText::_('COM_USERS_USER_OTEPS') ?> </legend> <div class="alert alert-info"> <?php echo JText::_('COM_USERS_USER_OTEPS_DESC') ?> </div> <?php if (empty($this->otpConfig->otep)): ?> <div class="alert alert-warning"> <?php echo JText::_('COM_USERS_USER_OTEPS_WAIT_DESC') ?> </div> <?php else: ?> <?php foreach ($this->otpConfig->otep as $otep): ?> <span class="span3"> <?php echo substr($otep, 0, 4) ?>-<?php echo substr($otep, 4, 4) ?>-<?php echo substr($otep, 8, 4) ?>-<?php echo substr($otep, 12, 4) ?> </span> <?php endforeach; ?> <div class="clearfix"></div> <?php endif; ?> </fieldset> <?php endif; ?> <?php echo JHtml::_('sliders.end'); ?> <input type="hidden" name="task" value="" /> <?php echo JHtml::_('form.token'); ?> </div> </form> html/com_modules/positions/modal.php 0000604 00000010665 15245523131 0013657 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> * @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', 'jSelectPosition'); $lang = JFactory::getLanguage(); $ordering = $this->escape($this->state->get('list.ordering')); $direction = $this->escape($this->state->get('list.direction')); $clientId = $this->state->get('client_id'); $state = $this->state->get('filter.state'); $template = $this->state->get('filter.template'); $type = $this->state->get('filter.type'); ?> <form action="<?php echo JRoute::_('index.php?option=com_modules&view=positions&layout=modal&tmpl=component&function='.$function.'&client_id=' .$clientId);?>" 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 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')); ?>" size="30" title="<?php echo JText::_('COM_MODULES_FILTER_SEARCH_DESC'); ?>" /> <button type="submit"> <?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button> <button type="button" onclick="document.getElementById('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" id="filter_state"> <option value=""><?php echo JText::_('JOPTION_SELECT_PUBLISHED');?></option> <?php echo JHtml::_('select.options', JHtml::_('modules.templateStates'), 'value', 'text', $state, true);?> </select> <label class="selectlabel" for="filter_type"> <?php echo JText::_('COM_MODULES_OPTION_SELECT_TYPE'); ?> </label> <select name="filter_type" id="filter_type"> <option value=""><?php echo JText::_('COM_MODULES_OPTION_SELECT_TYPE');?></option> <?php echo JHtml::_('select.options', JHtml::_('modules.types'), 'value', 'text', $type, true);?> </select> <label class="selectlabel" for="filter_template"> <?php echo JText::_('JOPTION_SELECT_TEMPLATE'); ?> </label> <select name="filter_template" id="filter_template"> <option value=""><?php echo JText::_('JOPTION_SELECT_TEMPLATE');?></option> <?php echo JHtml::_('select.options', JHtml::_('modules.templates', $clientId), 'value', 'text', $template, true);?> </select> <button type="submit" id="filter-go"> <?php echo JText::_('JSUBMIT'); ?></button> </div> </fieldset> <table class="adminlist"> <thead> <tr> <th class="title width-20"> <?php echo JHtml::_('grid.sort', 'JGLOBAL_TITLE', 'value', $direction, $ordering); ?> </th> <th> <?php echo JHtml::_('grid.sort', 'COM_MODULES_HEADING_TEMPLATES', 'templates', $direction, $ordering); ?> </th> </tr> </thead> <tbody> <?php $i = 1; foreach ($this->items as $value => $templates) : ?> <tr class="row<?php echo $i = 1 - $i;?>"> <td> <a class="pointer" onclick="if (window.parent) window.parent.<?php echo $function;?>('<?php echo $value; ?>');"><?php echo $this->escape($value); ?></a> </td> <td> <?php if (!empty($templates)):?> <a class="pointer" onclick="if (window.parent) window.parent.<?php echo $function;?>('<?php echo $value; ?>');"> <ul> <?php foreach ($templates as $template => $label):?> <li><?php echo $lang->hasKey($label) ? JText::sprintf('COM_MODULES_MODULE_TEMPLATE_POSITION', JText::_($template), JText::_($label)) : JText::_($template);?></li> <?php endforeach;?> </ul> </a> <?php endif;?> </td> </tr> <?php endforeach; ?> </tbody> </table> <?php echo $this->pagination->getListFooter(); ?> <div> <input type="hidden" name="task" value="" /> <input type="hidden" name="boxchecked" value="0" /> <input type="hidden" name="filter_order" value="<?php echo $ordering; ?>" /> <input type="hidden" name="filter_order_Dir" value="<?php echo $direction; ?>" /> <?php echo JHtml::_('form.token'); ?> </div> </form> html/com_modules/modules/default.php 0000604 00000025615 15245523131 0013631 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> * @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'); $client = $this->state->get('client_id') ? 'administrator' : 'site'; $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_modules'); $saveOrder = $listOrder == 'ordering'; ?> <form action="<?php echo JRoute::_('index.php?option=com_modules'); ?>" 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_MODULES_MODULES_FILTER_SEARCH_DESC'); ?>" /> <button type="submit"><?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button> <button type="button" onclick="document.getElementById('filter_search').value='';this.form.submit();"><?php echo JText::_('JSEARCH_FILTER_CLEAR'); ?></button> </div> <div class="filter-select"> <label class="selectlabel" for="client_id"> <?php echo JText::_('JGLOBAL_FILTER_CLIENT'); ?> </label> <select name="client_id" id="client_id"> <?php echo JHtml::_('select.options', ModulesHelper::getClientOptions(), 'value', 'text', $this->state->get('client_id')); ?> </select> <label class="selectlabel" for="filter_state"> <?php echo JText::_('JOPTION_SELECT_PUBLISHED'); ?> </label> <select name="filter_state" id="filter_state"> <option value=""><?php echo JText::_('JOPTION_SELECT_PUBLISHED'); ?></option> <?php echo JHtml::_('select.options', ModulesHelper::getStateOptions(), 'value', 'text', $this->state->get('filter.state')); ?> </select> <label class="selectlabel" for="filter_position"> <?php echo JText::_('COM_MODULES_OPTION_SELECT_POSITION'); ?> </label> <select name="filter_position" id="filter_position"> <option value=""><?php echo JText::_('COM_MODULES_OPTION_SELECT_POSITION'); ?></option> <?php echo JHtml::_('select.options', ModulesHelper::getPositions($this->state->get('client_id')), 'value', 'text', $this->state->get('filter.position')); ?> </select> <label class="selectlabel" for="filter_module"> <?php echo JText::_('COM_MODULES_OPTION_SELECT_MODULE'); ?> </label> <select name="filter_module" id="filter_module"> <option value=""><?php echo JText::_('COM_MODULES_OPTION_SELECT_MODULE'); ?></option> <?php echo JHtml::_('select.options', ModulesHelper::getModules($this->state->get('client_id')), 'value', 'text', $this->state->get('filter.module')); ?> </select> <label class="selectlabel" for="filter_access"> <?php echo JText::_('JOPTION_SELECT_ACCESS'); ?> </label> <select name="filter_access" 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" 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" id="modules-mgr"> <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', 'title', $listDirn, $listOrder); ?> </th> <th class="width-5"> <?php echo JHtml::_('grid.sort', 'JSTATUS', 'published', $listDirn, $listOrder); ?> </th> <th class="width-20"> <?php echo JHtml::_('grid.sort', 'COM_MODULES_HEADING_POSITION', 'position', $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', 'modules.saveorder'); ?> <?php endif; ?> </th> <th class="width-10"> <?php echo JHtml::_('grid.sort', 'COM_MODULES_HEADING_MODULE', 'name', $listDirn, $listOrder); ?> </th> <th class="width-10"> <?php echo JHtml::_('grid.sort', 'COM_MODULES_HEADING_PAGES', 'pages', $listDirn, $listOrder); ?> </th> <th class="title access-col"> <?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ACCESS', 'access', $listDirn, $listOrder); ?> </th> <th class="language-col"> <?php echo JHtml::_('grid.sort', 'JGRID_HEADING_LANGUAGE', 'language_title', $listDirn, $listOrder); ?> </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_modules'); $canEdit = $user->authorise('core.edit', 'com_modules'); $canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $user->get('id') || $item->checked_out == 0; $canChange = $user->authorise('core.edit.state', 'com_modules') && $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, 'modules.', $canCheckin); ?> <?php endif; ?> <?php if ($canEdit) : ?> <a href="<?php echo JRoute::_('index.php?option=com_modules&task=module.edit&id='.(int) $item->id); ?>"> <?php echo $this->escape($item->title); ?></a> <?php else : ?> <?php echo $this->escape($item->title); ?> <?php endif; ?> <?php if (!empty($item->note)) : ?> <p class="smallsub"> <?php echo JText::sprintf('JGLOBAL_LIST_NOTE', $this->escape($item->note)); ?></p> <?php endif; ?> </td> <td class="center"> <?php // Check if extension is enabled ?> <?php if ($item->enabled > 0) : ?> <?php echo JHtml::_('modules.state', $item->published, $i, $canChange, 'cb'); ?> <?php else : ?> <?php // Extension is not enabled, show a message that indicates this. ?> <button class="btn btn-micro hasTooltip" title="<?php echo JText::_('COM_MODULES_MSG_MANAGE_EXTENSION_DISABLED'); ?>"> <span class="icon-ban-circle" aria-hidden="true"></span> </button> <?php endif; ?> </td> <td class="center"> <?php echo $item->position; ?> </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]->position == $item->position, 'modules.orderup', 'JLIB_HTML_MOVE_UP', $ordering); ?></span> <span><?php echo $this->pagination->orderDownIcon($i, $this->pagination->total, @$this->items[$i + 1]->position == $item->position, 'modules.orderdown', 'JLIB_HTML_MOVE_DOWN', $ordering); ?></span> <?php elseif ($listDirn == 'desc') : ?> <span><?php echo $this->pagination->orderUpIcon($i, @$this->items[$i - 1]->position == $item->position, 'modules.orderdown', 'JLIB_HTML_MOVE_UP', $ordering); ?></span> <span><?php echo $this->pagination->orderDownIcon($i, $this->pagination->total, @$this->items[$i + 1]->position == $item->position, 'modules.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="left"> <?php echo $item->name; ?> </td> <td class="center"> <?php echo $item->pages; ?> </td> <td class="center"> <?php echo $this->escape($item->access_level); ?> </td> <td class="center"> <?php if ($item->language == ''):?> <?php echo JText::_('JDEFAULT'); ?> <?php elseif ($item->language == '*'):?> <?php echo JText::alt('JALL', 'language'); ?> <?php else:?> <?php echo $item->language_title ? JHtml::_('image', 'mod_languages/' . $item->language_image . '.gif', $item->language_title, array('title' => $item->language_title), true) . ' ' . $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 if ($user->authorise('core.create', 'com_modules') && $user->authorise('core.edit', 'com_modules') && $user->authorise('core.edit.state', 'com_modules')) : ?> <?php echo JHtml::_( 'bootstrap.renderModal', 'collapseModal', array( 'title' => JText::_('COM_MODULES_BATCH_OPTIONS'), 'footer' => $this->loadTemplate('batch_footer') ), $this->loadTemplate('batch_body') ); ?> <?php endif; ?> <?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> <script type="text/javascript"> jQuery("#client_id").on("change", function() { jQuery("#filter_position, #filter_module, #filter_language").val(""); }); </script> html/com_modules/module/edit.php 0000604 00000011644 15245523131 0012744 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); JHtml::_('behavior.formvalidator'); JHtml::_('behavior.combobox'); $hasContent = empty($this->item->module) || $this->item->module == 'custom' || $this->item->module == 'mod_custom'; $script = "Joomla.submitbutton = function(task) { if (task == 'module.cancel' || document.formvalidator.isValid(document.getElementById('module-form'))) {"; if ($hasContent) { $script .= $this->form->getField('content')->save(); } $script .= " Joomla.submitform(task, document.getElementById('module-form')); if (self != top) { window.parent.jQuery('.modal').modal('hide'); } } }"; JFactory::getDocument()->addScriptDeclaration($script); ?> <div class="module-edit"> <form action="<?php echo JRoute::_('index.php?option=com_modules&layout=edit&id='.(int) $this->item->id); ?>" method="post" name="adminForm" id="module-form" class="form-validate"> <div class="col main-section"> <fieldset class="adminform"> <legend><?php echo JText::_('JDETAILS'); ?></legend> <ul class="adminformlist"> <li><?php echo $this->form->getLabel('title'); ?> <?php echo $this->form->getInput('title'); ?></li> <li><?php echo $this->form->getLabel('showtitle'); ?> <?php echo $this->form->getInput('showtitle'); ?></li> <li><?php echo $this->form->getLabel('position'); ?> <?php echo $this->form->getInput('custom_position'); ?> <label id="jform_custom_position-lbl" for="jform_custom_position" class="element-invisible"><?php echo JText::_('TPL_HATHOR_COM_MODULES_CUSTOM_POSITION_LABEL');?></label> <?php echo $this->form->getInput('position'); ?></li> <?php if ((string) $this->item->xml->name != 'Login Form') : ?> <li><?php echo $this->form->getLabel('published'); ?> <?php echo $this->form->getInput('published'); ?></li> <?php endif; ?> <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> <?php if ((string) $this->item->xml->name != 'Login Form') : ?> <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 endif; ?> <li><?php echo $this->form->getLabel('language'); ?> <?php echo $this->form->getInput('language'); ?></li> <li><?php echo $this->form->getLabel('note'); ?> <?php echo $this->form->getInput('note'); ?></li> <?php if ($this->item->id) : ?> <li><?php echo $this->form->getLabel('id'); ?> <?php echo $this->form->getInput('id'); ?></li> <?php endif; ?> <li><?php echo $this->form->getLabel('module'); ?> <?php echo $this->form->getInput('module'); ?> <span class="faux-input"><?php if ($this->item->xml) echo ($text = (string) $this->item->xml->name) ? JText::_($text) : $this->item->module;else echo JText::_(COM_MODULES_ERR_XML);?></span></li> <li><?php echo $this->form->getLabel('client_id'); ?> <input type="text" size="35" id="jform_client_id" value="<?php echo $this->item->client_id == 0 ? JText::_('JSITE') : JText::_('JADMINISTRATOR'); ?> " class="readonly" readonly="readonly" /> <?php echo $this->form->getInput('client_id'); ?></li> </ul> <div class="clr"></div> <?php if ($this->item->xml) : ?> <?php if ($text = trim($this->item->xml->description)) : ?> <span class="faux-label"> <?php echo JText::_('COM_MODULES_MODULE_DESCRIPTION'); ?> </span> <div class="clr"></div> <div class="readonly mod-desc extdescript"> <?php echo JText::_($text); ?> </div> <?php endif; ?> <?php else : ?> <?php echo JText::_('COM_MODULES_ERR_XML'); ?> <?php endif; ?> <div class="clr"></div> </fieldset> </div> <div class="col options-section"> <?php echo JHtml::_('sliders.start', 'module-sliders'); ?> <?php echo $this->loadTemplate('options'); ?> <?php echo JHtml::_('sliders.end'); ?> </div> <?php if ($hasContent) : ?> <div class="col main-section"> <fieldset class="adminform"> <legend><?php echo JText::_('COM_MODULES_CUSTOM_OUTPUT'); ?></legend> <ul class="adminformlist"> <li><?php echo $this->form->getLabel('content'); ?> <div class="clr"></div> <?php echo $this->form->getInput('content'); ?></li> </ul> </fieldset> </div> <?php endif; ?> <?php if ($this->item->client_id == 0) :?> <div class="col main-section"> <?php echo $this->loadTemplate('assignment'); ?> </div> <?php endif; ?> <div> <input type="hidden" name="task" value="" /> <?php echo JHtml::_('form.token'); ?> </div> </form> </div> html/com_modules/module/edit_assignment.php 0000604 00000011463 15245523131 0015173 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage com_modules * * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; // Initialise related data. JLoader::register('MenusHelper', JPATH_ADMINISTRATOR . '/components/com_menus/helpers/menus.php'); $menuTypes = MenusHelper::getMenuLinks(); JFactory::getDocument()->addScriptDeclaration(" window.addEvent('domready', function(){ validate(); document.getElements('select').addEvent('change', function(e){validate();}); }); function validate(){ var value = document.id('jform_assignment').value; var list = document.id('menu-assignment'); if (value == '-' || value == '0'){ $$('.jform-assignments-button').each(function(el) {el.setProperty('disabled', true); }); list.getElements('input').each(function(el){ el.setProperty('disabled', true); if (value == '-'){ el.setProperty('checked', false); } else { el.setProperty('checked', true); } }); } else { $$('.jform-assignments-button').each(function(el) {el.setProperty('disabled', false); }); list.getElements('input').each(function(el){ el.setProperty('disabled', false); }); } } "); ?> <fieldset class="adminform"> <legend><?php echo JText::_('COM_MODULES_MENU_ASSIGNMENT'); ?></legend> <label id="jform_menus-lbl" for="jform_menus"><?php echo JText::_('COM_MODULES_MODULE_ASSIGN'); ?></label> <fieldset id="jform_menus" class="radio"> <select name="jform[assignment]" id="jform_assignment"> <?php echo JHtml::_('select.options', ModulesHelper::getAssignmentOptions($this->item->client_id), 'value', 'text', $this->item->assignment, true);?> </select> </fieldset> <label id="jform_menuselect-lbl" for="jform_menuselect"><?php echo JText::_('JGLOBAL_MENU_SELECTION'); ?></label> <button type="button" class="jform-assignments-button jform-rightbtn" onclick="$$('.chkbox').each(function(el) { el.checked = !el.checked; });"> <?php echo JText::_('JGLOBAL_SELECTION_INVERT_ALL'); ?> </button> <button type="button" class="jform-assignments-button jform-rightbtn" onclick="$$('.chkbox').each(function(el) { el.checked = false; });"> <?php echo JText::_('JGLOBAL_SELECTION_NONE'); ?> </button> <button type="button" class="jform-assignments-button jform-rightbtn" onclick="$$('.chkbox').each(function(el) { el.checked = true; });"> <?php echo JText::_('JGLOBAL_SELECTION_ALL'); ?> </button> <div class="clr"></div> <div id="menu-assignment"> <?php echo JHtml::_('tabs.start', 'module-menu-assignment-tabs', array('useCookie' => 1));?> <?php foreach ($menuTypes as &$type) : echo JHtml::_('tabs.panel', $type->title ?: $type->menutype, $type->menutype.'-details'); $chkbox_class = 'chk-menulink-' . $type->id; ?> <button type="button" class="jform-assignments-button jform-rightbtn" onclick="$$('.<?php echo $chkbox_class; ?>').each(function(el) { el.checked = !el.checked; });"> <?php echo JText::_('JGLOBAL_SELECTION_INVERT'); ?> </button> <button type="button" class="jform-assignments-button jform-rightbtn" onclick="$$('.<?php echo $chkbox_class; ?>').each(function(el) { el.checked = false; });"> <?php echo JText::_('JGLOBAL_SELECTION_NONE'); ?> </button> <button type="button" class="jform-assignments-button jform-rightbtn" onclick="$$('.<?php echo $chkbox_class; ?>').each(function(el) { el.checked = true; });"> <?php echo JText::_('JGLOBAL_SELECTION_ALL'); ?> </button> <div class="clr"></div> <?php $count = count($type->links); ?> <?php $i = 0; ?> <?php if ($count) : ?> <ul class="menu-links"> <?php foreach ($type->links as $link) : if (trim($this->item->assignment) == '-') : $checked = ''; elseif ($this->item->assignment == 0) : $checked = ' checked="checked"'; elseif ($this->item->assignment < 0) : $checked = in_array(-$link->value, $this->item->assigned) ? ' checked="checked"' : ''; elseif ($this->item->assignment > 0) : $checked = in_array($link->value, $this->item->assigned) ? ' checked="checked"' : ''; endif; ?> <li class="menu-link"> <input type="checkbox" class="chkbox <?php echo $chkbox_class; ?>" name="jform[assigned][]" value="<?php echo (int) $link->value;?>" id="link<?php echo (int) $link->value;?>"<?php echo $checked;?>/> <label for="link<?php echo (int) $link->value;?>"> <?php echo $link->text; ?> </label> </li> <?php if ($count > 20 && ++$i == ceil($count / 2)) :?> </ul><ul class="menu-links"> <?php endif; ?> <?php endforeach; ?> </ul> <div class="clr"></div> <?php endif; ?> <?php endforeach; ?> <?php echo JHtml::_('tabs.end');?> </div> </fieldset> html/com_modules/module/edit_options.php 0000604 00000002315 15245523131 0014512 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> * @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) : $label = !empty($fieldSet->label) ? $fieldSet->label : 'COM_MODULES_'.$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; ?> <fieldset class="panelform"> <legend class="element-invisible"><?php echo JText::_($label); ?></legend> <?php $hidden_fields = ''; ?> <ul class="adminformlist"> <?php foreach ($this->form->getFieldset($name) as $field) : ?> <?php if (!$field->hidden) : ?> <li> <?php echo $field->label; ?> <?php echo $field->input; ?> </li> <?php else : $hidden_fields .= $field->input; ?> <?php endif; ?> <?php endforeach; ?> </ul> <?php echo $hidden_fields; ?> </fieldset> <?php endforeach; ?> html/com_content/articles/modal.php 0000604 00000014001 15245523131 0013424 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; $app = JFactory::getApplication(); if ($app->isClient('site')) { JSession::checkToken('get') or die(JText::_('JINVALID_TOKEN')); } JLoader::register('ContentHelperRoute', 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.getElementById('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" 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" 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" 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" 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, $item->language)); ?>');"> <?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 echo JLayoutHelper::render('joomla.content.language', $item); ?> </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> html/com_content/articles/default.php 0000604 00000027366 15245523131 0013776 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> * @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'); $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 = JLanguageAssociations::isEnabled(); $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.getElementById('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" 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" id="filter_category_id"> <option value=""><?php echo JText::_('JOPTION_SELECT_CATEGORY'); ?></option> <?php echo JHtml::_('select.options', JHtml::_('category.options', 'com_content', array('filter.published' => array(-2, 0, 1, 2))), '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" 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" 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" 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" 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> <label class="selectlabel" for="filter_tag"><?php echo JText::_('JOPTION_SELECT_TAG'); ?></label> <select name="filter_tag" id="filter_tag"> <option value=""><?php echo JText::_('JOPTION_SELECT_TAG'); ?></option> <?php echo JHtml::_('select.options', JHtml::_('tag.options', true, true), 'value', 'text', $this->state->get('filter.tag')); ?> </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', 'COM_CONTENT_HEADING_DATE_CREATED', '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 class="break-word"> <?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 echo JLayoutHelper::render('joomla.content.language', $item); ?> </td> <td class="center"> <?php echo (int) $item->id; ?> </td> </tr> <?php endforeach; ?> </tbody> </table> <?php //Load the batch processing form. ?> <?php if ($user->authorise('core.create', 'com_content') && $user->authorise('core.edit', 'com_content') && $user->authorise('core.edit.state', 'com_content')) : ?> <?php echo JHtml::_( 'bootstrap.renderModal', 'collapseModal', array( 'title' => JText::_('COM_CONTENT_BATCH_OPTIONS'), 'footer' => $this->loadTemplate('batch_footer'), ), $this->loadTemplate('batch_body') ); ?> <?php endif; ?> <?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> html/com_content/article/edit.php 0000604 00000025205 15245523131 0013102 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> * @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.formvalidator'); JHtml::_('behavior.keepalive'); // Create shortcut to parameters. $params = $this->state->get('params'); $params = $params->toArray(); $saveHistory = $this->state->get('params')->get('save_history', 0); // 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; $assoc = JLanguageAssociations::isEnabled(); JFactory::getDocument()->addScriptDeclaration(" Joomla.submitbutton = function(task) { if (task == 'article.cancel' || document.formvalidator.isValid(document.getElementById('item-form'))) { " . $this->form->getField('articletext')->save() . " Joomla.submitform(task, document.getElementById('item-form')); } } "); ?> <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> <?php if ($saveHistory) : ?> <li><?php echo $this->form->getLabel('version_note'); ?> <?php echo $this->form->getInput('version_note'); ?></li> <?php endif; ?> <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(); ?> <?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' && $name != 'item_associations' && $name != 'jmetadata') : ?> <?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 if ($assoc) : ?> <?php echo JHtml::_('sliders.panel', JText::_('JGLOBAL_FIELDSET_ASSOCIATIONS'), '-options');?> <?php echo $this->loadTemplate('associations'); ?> <?php endif; ?> <?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->get('return', null, 'BASE64');?>" /> <?php echo JHtml::_('form.token'); ?> </div> </form> <div class="clr"></div> </div> html/com_content/featured/default.php 0000604 00000023077 15245523131 0013762 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> * @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'); $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.getElementById('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" 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" 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" 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" 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" 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', 'COM_CONTENT_HEADING_DATE_CREATED', '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 echo JLayoutHelper::render('joomla.content.language', $item); ?> </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> html/com_messages/messages/default.php 0000604 00000010121 15245523131 0014111 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> * @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'); $user = JFactory::getUser(); $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_messages&view=messages'); ?>" 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_MESSAGES_SEARCH_IN_SUBJECT'); ?>" /> <button type="submit"><?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button> <button type="button" onclick="document.getElementById('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" id="filter_state"> <option value=""><?php echo JText::_('JOPTION_SELECT_PUBLISHED');?></option> <?php echo JHtml::_('select.options', MessagesHelper::getStateOptions(), 'value', 'text', $this->state->get('filter.state'));?> </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_MESSAGES_HEADING_SUBJECT', 'a.subject', $listDirn, $listOrder); ?> </th> <th class="width-5"> <?php echo JHtml::_('grid.sort', 'COM_MESSAGES_HEADING_READ', 'a.state', $listDirn, $listOrder); ?> </th> <th class="width-15"> <?php echo JHtml::_('grid.sort', 'COM_MESSAGES_HEADING_FROM', 'a.user_id_from', $listDirn, $listOrder); ?> </th> <th class="nowrap width-20"> <?php echo JHtml::_('grid.sort', 'JDATE', 'a.date_time', $listDirn, $listOrder); ?> </th> </tr> </thead> <tbody> <?php foreach ($this->items as $i => $item) : $canChange = $user->authorise('core.edit.state', 'com_messages'); ?> <tr class="row<?php echo $i % 2; ?>"> <td> <?php echo JHtml::_('grid.id', $i, $item->message_id); ?> </td> <td> <a href="<?php echo JRoute::_('index.php?option=com_messages&view=message&message_id='.(int) $item->message_id); ?>"> <?php echo $this->escape($item->subject); ?></a> </td> <td class="center"> <?php echo JHtml::_('messages.state', $item->state, $i, $canChange); ?> </td> <td> <?php echo $item->user_from; ?> </td> <td> <?php echo JHtml::_('date', $item->date_time, JText::_('DATE_FORMAT_LC2')); ?> </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> html/com_messages/message/edit.php 0000604 00000002706 15245523131 0013241 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage com_messages * * @copyright (C) 2012 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; // Include the HTML helpers. JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); JHtml::_('behavior.formvalidator'); JHtml::_('behavior.keepalive'); JFactory::getDocument()->addScriptDeclaration(" Joomla.submitbutton = function(task) { if (task == 'message.cancel' || document.formvalidator.isValid(document.getElementById('message-form'))) { Joomla.submitform(task, document.getElementById('message-form')); } } "); ?> <form action="<?php echo JRoute::_('index.php?option=com_messages'); ?>" method="post" name="adminForm" id="message-form" class="form-validate form-horizontal"> <fieldset class="adminform"> <ul class="adminformlist"> <li><?php echo $this->form->getLabel('user_id_to'); ?> <?php echo $this->form->getInput('user_id_to'); ?></li> <li><?php echo $this->form->getLabel('subject'); ?> <?php echo $this->form->getInput('subject'); ?></li> </ul> </fieldset> <fieldset class="adminform"> <legend><?php echo $this->form->getLabel('message'); ?></legend> <ul class="adminformlist"> <li><?php echo $this->form->getInput('message'); ?> </li> </ul> </fieldset> <input type="hidden" name="task" value="" /> <?php echo JHtml::_('form.token'); ?> </form> html/com_weblinks/weblink/edit_params.php 0000604 00000001672 15245523131 0014623 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> * @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; ?> html/com_weblinks/weblink/edit.php 0000604 00000011322 15245523131 0013251 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); $saveHistory = $this->state->get('params')->get('save_history', 0); JHtml::_('behavior.formvalidator'); JFactory::getDocument()->addScriptDeclaration(" Joomla.submitbutton = function(task) { if (task == 'weblink.cancel' || document.formvalidator.isValid(document.id('weblink-form'))) { " . $this->form->getField('description')->save() . " Joomla.submitform(task, document.getElementById('weblink-form')); } } "); ?> <div class="weblink-edit"> <form action="<?php echo JRoute::_('index.php?option=com_weblinks&layout=edit&id='.(int) $this->item->id); ?>" method="post" name="adminForm" id="weblink-form" class="form-validate"> <div class="col main-section"> <fieldset class="adminform"> <legend><?php echo empty($this->item->id) ? JText::_('COM_WEBLINKS_NEW_WEBLINK') : JText::sprintf('COM_WEBLINKS_EDIT_WEBLINK', $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('url'); ?> <?php echo $this->form->getInput('url'); ?></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> <li><?php echo $this->form->getLabel('ordering'); ?> <?php echo $this->form->getInput('ordering'); ?></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> <?php if ($saveHistory) : ?> <li><?php echo $this->form->getLabel('version_note'); ?> <?php echo $this->form->getInput('version_note'); ?></li> <?php endif; ?> <li><?php echo $this->form->getLabel('id'); ?> <?php echo $this->form->getInput('id'); ?></li> </ul> <div> <?php echo $this->form->getLabel('description'); ?> <div class="clr"></div> <?php echo $this->form->getInput('description'); ?> </div> </fieldset> </div> <div class="col options-section"> <?php echo JHtml::_('sliders.start', 'weblink-sliders-'.$this->item->id, array('useCookie' => 1)); ?> <?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; ?> <?php if ($this->item->hits) : ?> <li><?php echo $this->form->getLabel('hits'); ?> <?php echo $this->form->getInput('hits'); ?></li> <?php endif; ?> </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 echo JHtml::_('sliders.end'); ?> <input type="hidden" name="task" value="" /> <?php echo JHtml::_('form.token'); ?> </div> <div class="clr"></div> </form> </div> html/com_weblinks/weblinks/default.php 0000604 00000022211 15245523131 0014132 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> * @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_weblinks'); $saveOrder = $listOrder == 'a.ordering'; ?> <form action="<?php echo JRoute::_('index.php?option=com_weblinks&view=weblinks'); ?>" 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_WEBLINKS_SEARCH_IN_TITLE'); ?>" /> <button type="submit"><?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button> <button type="button" onclick="document.getElementById('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" 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.state'), true); ?> </select> <label class="selectlabel" for="filter_category_id"> <?php echo JText::_('JOPTION_SELECT_CATEGORY'); ?> </label> <select name="filter_category_id" id="filter_category_id"> <option value=""><?php echo JText::_('JOPTION_SELECT_CATEGORY'); ?></option> <?php echo JHtml::_('select.options', JHtml::_('category.options', 'com_weblinks'), '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" 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" 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> <label class="selectlabel" for="filter_tag"> <?php echo JText::_('JOPTION_SELECT_TAG'); ?> </label> <select name="filter_tag" id="filter_tag"> <option value=""><?php echo JText::_('JOPTION_SELECT_TAG'); ?></option> <?php echo JHtml::_('select.options', JHtml::_('tag.options', true, true), 'value', 'text', $this->state->get('filter.tag')); ?> </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 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', 'weblinks.saveorder'); ?> <?php endif; ?> </th> <th class="title access-col"> <?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ACCESS', 'a.access', $listDirn, $listOrder); ?> </th> <th class="hits-col"> <?php echo JHtml::_('grid.sort', 'JGLOBAL_HITS', 'a.hits', $listDirn, $listOrder); ?> </th> <th class="width-5"> <?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 foreach ($this->items as $i => $item) : $ordering = ($listOrder == 'a.ordering'); $item->cat_link = JRoute::_('index.php?option=com_categories&extension=com_weblinks&task=edit&type=other&cid[]=' . $item->catid); $canCreate = $user->authorise('core.create', 'com_weblinks.category.' . $item->catid); $canEdit = $user->authorise('core.edit', 'com_weblinks.category.' . $item->catid); $canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $user->get('id') || $item->checked_out == 0; $canChange = $user->authorise('core.edit.state', 'com_weblinks.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, 'weblinks.', $canCheckin); ?> <?php endif; ?> <?php if ($canEdit) : ?> <a href="<?php echo JRoute::_('index.php?option=com_weblinks&task=weblink.edit&id='.(int) $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, 'weblinks.', $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, $item->catid == @$this->items[$i - 1]->catid, 'weblinks.orderup', 'JLIB_HTML_MOVE_UP', $ordering); ?></span> <span><?php echo $this->pagination->orderDownIcon($i, $this->pagination->total, $item->catid == @$this->items[$i + 1]->catid, 'weblinks.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, 'weblinks.orderdown', 'JLIB_HTML_MOVE_UP', $ordering); ?></span> <span><?php echo $this->pagination->orderDownIcon($i, $this->pagination->total, $item->catid == @$this->items[$i + 1]->catid, 'weblinks.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 echo $item->hits; ?> </td> <td class="center"> <?php echo JLayoutHelper::render('joomla.content.language', $item); ?> </td> <td class="center"> <?php echo (int) $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> html/com_search/searches/default.php 0000604 00000005304 15245523131 0013544 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> * @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'); $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_search&view=searches'); ?>" 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_SEARCH_SEARCH_IN_PHRASE'); ?>" /> <button type="submit"><?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button> <button type="button" onclick="document.getElementById('filter_search').value='';this.form.submit();"><?php echo JText::_('JSEARCH_FILTER_CLEAR'); ?></button> </div> </fieldset> <div class="clr"> </div> <table class="adminlist"> <thead> <tr> <th class="title"> <?php echo JHtml::_('grid.sort', 'COM_SEARCH_HEADING_PHRASE', 'a.search_term', $listDirn, $listOrder); ?> </th> <th class="hits-col"> <?php echo JHtml::_('grid.sort', 'JGLOBAL_HITS', 'a.hits', $listDirn, $listOrder); ?> </th> <th class="width-15"> <?php echo JText::_('COM_SEARCH_HEADING_RESULTS'); ?> </th> </tr> </thead> <tbody> <?php foreach ($this->items as $i => $item) : ?> <tr class="row<?php echo $i % 2; ?>"> <td> <?php echo $this->escape($item->search_term); ?> </td> <td class="center"> <?php echo (int) $item->hits; ?> </td> <td class="center"> <?php if ($this->state->get('show_results')) : ?> <?php echo (int) $item->returns; ?> <?php else: ?> <?php echo JText::_('COM_SEARCH_NO_RESULTS'); ?> <?php endif; ?> </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> html/com_joomlaupdate/default/default.php 0000604 00000007551 15245523131 0014620 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage com_joomlaupdate * * @copyright (C) 2013 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; /** @var JoomlaupdateViewDefault $this */ JHtml::_('jquery.framework'); JHtml::_('bootstrap.tooltip'); JHtml::_('formbehavior.chosen', 'select'); JHtml::_('script', 'com_joomlaupdate/default.js', array('version' => 'auto', 'relative' => true)); JText::script('JYES'); JText::script('JNO'); JText::script('COM_JOOMLAUPDATE_VIEW_DEFAULT_EXTENSION_NO_COMPATIBILITY_INFORMATION'); JText::script('COM_JOOMLAUPDATE_VIEW_DEFAULT_EXTENSION_WARNING_UNKNOWN'); JText::script('COM_JOOMLAUPDATE_VIEW_DEFAULT_EXTENSION_SERVER_ERROR'); $latestJoomlaVersion = $this->updateInfo['latest']; $currentJoomlaVersion = $this->updateInfo['installed']; JFactory::getDocument()->addScriptDeclaration( <<<JS jQuery(document).ready(function($) { $('#extraction_method').change(function(e){ extractionMethodHandler('#extraction_method', 'row_ftp'); }); $('#upload_method').change(function(e){ extractionMethodHandler('#upload_method', 'upload_ftp'); }); $('button.submit').on('click', function() { $('div.download_message').show(); }); }); var joomlaTargetVersion = '$latestJoomlaVersion'; var joomlaCurrentVersion = '$currentJoomlaVersion'; JS ); $showPreUpdateCheck = isset($this->updateInfo['object']->downloadurl->_data) && $this->getModel()->isDatabaseTypeSupported(); ?> <div id="joomlaupdate-wrapper"> <form enctype="multipart/form-data" action="index.php" method="post" id="adminForm" class="form-horizontal"> <?php echo JHtml::_('sliders.start', 'joomlaupdate-slider'); ?> <?php if($this->shouldDisplayPreUpdateCheck()) : ?> <?php echo JHtml::_('sliders.panel', JText::_('COM_JOOMLAUPDATE_VIEW_DEFAULT_TAB_PRE_UPDATE_CHECK'), 'pre-update-check'); ?> <?php echo $this->loadTemplate('preupdatecheck'); ?> <?php endif; ?> <?php if ($this->showUploadAndUpdate) : ?> <?php echo JHtml::_('sliders.panel', JText::_('COM_JOOMLAUPDATE_VIEW_DEFAULT_TAB_ONLINE'), 'online-update'); ?> <?php endif; ?> <?php if ($this->selfUpdate) : ?> <?php // If we have a self update notice to install it first! ?> <?php JFactory::getApplication()->enqueueMessage(JText::_('COM_JOOMLAUPDATE_VIEW_DEFAULT_INSTALL_SELF_UPDATE_FIRST'), 'error'); ?> <?php echo $this->loadTemplate('updatemefirst'); ?> <?php else : ?> <?php if ((!isset($this->updateInfo['object']->downloadurl->_data) && $this->updateInfo['installed'] < $this->updateInfo['latest']) || !$this->getModel()->isDatabaseTypeSupported()) : ?> <?php // If we have no download URL we can't reinstall or update ?> <?php echo $this->loadTemplate('nodownload'); ?> <?php elseif (!$this->updateInfo['hasUpdate']) : ?> <?php // If we have no update we can reinstall the core ?> <?php echo $this->loadTemplate('reinstall'); ?> <?php else : ?> <?php // Ok let's show the update template ?> <?php echo $this->loadTemplate('update'); ?> <?php endif; ?> <?php endif; ?> <input type="hidden" name="task" value="update.download" /> <input type="hidden" name="option" value="com_joomlaupdate" /> <?php echo JHtml::_('form.token'); ?> </form> <?php // Only Super Users have access to the Update & Install for obvious security reasons ?> <?php if ($this->showUploadAndUpdate) : ?> <?php echo JHtml::_('sliders.panel', JText::_('COM_JOOMLAUPDATE_VIEW_DEFAULT_TAB_UPLOAD'), 'upload-update'); ?> <?php echo $this->loadTemplate('upload'); ?> <?php echo JHtml::_('sliders.end'); ?> <?php endif; ?> <div class="download_message" style="display: none"> <p></p> <p class="nowarning"> <?php echo JText::_('COM_JOOMLAUPDATE_VIEW_DEFAULT_DOWNLOAD_IN_PROGRESS'); ?> </p> <div class="joomlaupdate_spinner"></div> </div> <div id="loading"></div> </div> html/com_cpanel/cpanel/default.php 0000604 00000002426 15245523131 0013210 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2012 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ // no direct access defined('_JEXEC') or die; use Joomla\Registry\Registry; echo JHtml::_('sliders.start', 'panel-sliders', array('useCookie' => '1')); if (JFactory::getUser()->authorise('core.manage', 'com_postinstall')) : if ($this->postinstall_message_count): echo JHtml::_('sliders.panel', JText::_('COM_CPANEL_MESSAGES_TITLE'), 'cpanel-panel-com-postinstall'); ?> <div class="modal-body"> <p> <?php echo JText::_('COM_CPANEL_MESSAGES_BODY_NOCLOSE'); ?> </p> <p> <?php echo JText::_('COM_CPANEL_MESSAGES_BODYMORE_NOCLOSE'); ?> </p> </div> <div class="modal-footer"> <button onclick="window.location='index.php?option=com_postinstall&eid=700'; return false" class="btn btn-primary btn-large" > <?php echo JText::_('COM_CPANEL_MESSAGES_REVIEW'); ?> </button> </div> <?php endif; ?> <?php endif; foreach ($this->modules as $module) { $output = JModuleHelper::renderModule($module); echo JHtml::_('sliders.panel', $module->title, 'cpanel-panel-' . $module->name); echo $output; } echo JHtml::_('sliders.end'); html/com_newsfeeds/newsfeed/edit.php 0000604 00000011770 15245523131 0013572 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; // Include the HTML helpers. JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); JHtml::_('behavior.formvalidator'); JHtml::_('behavior.keepalive'); $app = JFactory::getApplication(); $input = $app->input; $saveHistory = $this->state->get('params')->get('save_history', 0); $assoc = JLanguageAssociations::isEnabled(); JFactory::getDocument()->addScriptDeclaration(" Joomla.submitbutton = function(task) { if (task == 'newsfeed.cancel' || document.formvalidator.isValid(document.getElementById('newsfeed-form'))) { Joomla.submitform(task, document.getElementById('newsfeed-form')); } } "); ?> <form action="<?php echo JRoute::_('index.php?option=com_newsfeeds&id='.(int) $this->item->id); ?>" method="post" name="adminForm" id="newsfeed-form" class="form-validate"> <div class="col main-section"> <fieldset class="adminform"> <legend><?php echo empty($this->item->id) ? JText::_('COM_NEWSFEEDS_NEW_NEWSFEED') : JText::sprintf('COM_NEWSFEEDS_EDIT_NEWSFEED', $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('link'); ?> <?php echo $this->form->getInput('link'); ?></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('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> <?php if ($saveHistory) : ?> <li><?php echo $this->form->getLabel('version_note'); ?> <?php echo $this->form->getInput('version_note'); ?></li> <?php endif; ?> <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', 'newsfeed-sliders-' . $this->item->id, array('useCookie' => 1)); ?> <?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; ?> <li><?php echo $this->form->getLabel('numarticles'); ?> <?php echo $this->form->getInput('numarticles'); ?></li> <li><?php echo $this->form->getLabel('cache_time'); ?> <?php echo $this->form->getInput('cache_time'); ?></li> <li><?php echo $this->form->getLabel('rtl'); ?> <?php echo $this->form->getInput('rtl'); ?></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 JHtml::_('sliders.panel', JText::_('JGLOBAL_FIELDSET_ASSOCIATIONS'), '-options');?> <?php echo $this->loadTemplate('associations'); ?> <?php endif; ?> <?php echo JHtml::_('sliders.end'); ?> <input type="hidden" name="task" value="" /> <?php echo JHtml::_('form.token'); ?> </div> <div class="clr"></div> </form> html/com_newsfeeds/newsfeed/edit_params.php 0000604 00000001667 15245523131 0015141 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> * @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; ?> html/com_newsfeeds/newsfeeds/default.php 0000604 00000024262 15245523131 0014454 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> * @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'); $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_newsfeeds'); $saveOrder = $listOrder == 'a.ordering'; $assoc = JLanguageAssociations::isEnabled(); ?> <form action="<?php echo JRoute::_('index.php?option=com_newsfeeds&view=newsfeeds'); ?>" 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_NEWSFEEDS_SEARCH_IN_TITLE'); ?>" /> <button type="submit"><?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button> <button type="button" onclick="document.getElementById('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" 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" id="filter_category_id"> <option value=""><?php echo JText::_('JOPTION_SELECT_CATEGORY'); ?></option> <?php echo JHtml::_('select.options', JHtml::_('category.options', 'com_newsfeeds'), '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" 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" 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> <label class="selectlabel" for="filter_tag"> <?php echo JText::_('JOPTION_SELECT_TAG'); ?> </label> <select name="filter_tag" id="filter_tag"> <option value=""><?php echo JText::_('JOPTION_SELECT_TAG'); ?></option> <?php echo JHtml::_('select.options', JHtml::_('tag.options', true, true), 'value', 'text', $this->state->get('filter.tag')); ?> </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 class="nowrap state-col"> <?php echo JHtml::_('grid.sort', 'JSTATUS', 'a.published', $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', 'a.ordering', $listDirn, $listOrder); ?> <?php if ($canOrder && $saveOrder) : ?> <?php echo JHtml::_('grid.order', $this->items, 'filesave.png', 'newsfeeds.saveorder'); ?> <?php endif; ?> </th> <th class="title access-col"> <?php echo JHtml::_('grid.sort', 'JGRID_HEADING_ACCESS', 'a.access', $listDirn, $listOrder); ?> </th> <th class="width-10"> <?php echo JHtml::_('grid.sort', 'COM_NEWSFEEDS_NUM_ARTICLES_HEADING', 'numarticles', $listDirn, $listOrder); ?> </th> <th class="width-5"> <?php echo JHtml::_('grid.sort', 'COM_NEWSFEEDS_CACHE_TIME_HEADING', 'a.cache_time', $listDirn, $listOrder); ?> </th> <?php if ($assoc) : ?> <th class="width-5"> <?php echo JHtml::_('grid.sort', 'COM_NEWSFEEDS_HEADING_ASSOCIATION', 'association', $listDirn, $listOrder); ?> </th> <?php endif; ?> <th class="width-5"> <?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 foreach ($this->items as $i => $item) : $ordering = ($listOrder == 'a.ordering'); $canCreate = $user->authorise('core.create', 'com_newsfeeds.category.' . $item->catid); $canEdit = $user->authorise('core.edit', 'com_newsfeeds.category.' . $item->catid); $canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $user->get('id') || $item->checked_out == 0; $canChange = $user->authorise('core.edit.state', 'com_newsfeeds.category.' . $item->catid) && $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, 'newsfeeds.', $canCheckin); ?> <?php endif; ?> <?php if ($canEdit) : ?> <a href="<?php echo JRoute::_('index.php?option=com_newsfeeds&task=newsfeed.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->published, $i, 'newsfeeds.', $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, $item->catid == @$this->items[$i - 1]->catid, 'newsfeeds.orderup', 'JLIB_HTML_MOVE_UP', $ordering); ?></span> <span><?php echo $this->pagination->orderDownIcon($i, $this->pagination->total, $item->catid == @$this->items[$i + 1]->catid, 'newsfeeds.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, 'newsfeeds.orderdown', 'JLIB_HTML_MOVE_UP', $ordering); ?></span> <span><?php echo $this->pagination->orderDownIcon($i, $this->pagination->total, $item->catid == @$this->items[$i + 1]->catid, 'newsfeeds.orderup', 'JLIB_HTML_MOVE_DOWN', $ordering); ?></span> <?php endif; ?> <?php endif; ?> <?php $disabled = $saveOrder ? '' : 'disabled="disabled"'; ?> <input type="text" name="order[]" size="5" 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 $this->escape($item->access_level); ?> </td> <td class="center"> <?php echo (int) $item->numarticles; ?> </td> <td class="center"> <?php echo (int) $item->cache_time; ?> </td> <?php if ($assoc) : ?> <td class="center"> <?php if ($item->association) : ?> <?php echo JHtml::_('newsfeed.association', $item->id); ?> <?php endif; ?> </td> <?php endif; ?> <td class="center"> <?php echo JLayoutHelper::render('joomla.content.language', $item); ?> </td> <td class="center"> <?php echo (int) $item->id; ?> </td> </tr> <?php endforeach; ?> </tbody> </table> <?php //Load the batch processing form if user is allowed ?> <?php if ($user->authorise('core.create', 'com_newsfeeds') && $user->authorise('core.edit', 'com_newsfeeds') && $user->authorise('core.edit.state', 'com_newsfeeds')) : ?> <?php echo JHtml::_( 'bootstrap.renderModal', 'collapseModal', array( 'title' => JText::_('COM_NEWSFEEDS_BATCH_OPTIONS'), 'footer' => $this->loadTemplate('batch_footer'), ), $this->loadTemplate('batch_body') ); ?> <?php endif; ?> <?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> html/com_newsfeeds/newsfeeds/modal.php 0000604 00000013000 15245523131 0014110 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Template.hathor * * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); $forcedLanguage = JFactory::getApplication()->input->get('forcedLanguage', '', 'cmd'); $function = JFactory::getApplication()->input->getCmd('function', 'jSelectNewsfeed'); $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_newsfeeds&view=newsfeeds&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 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')); ?>" size="30" title="<?php echo JText::_('COM_NEWSFEEDS_SEARCH_IN_TITLE'); ?>" /> <button type="submit"> <?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button> <button type="button" onclick="document.getElementById('filter_search').value='';this.form.submit();"> <?php echo JText::_('JSEARCH_FILTER_CLEAR'); ?></button> </div> <div class="filter-select fltrt"> <label class="selectlabel" for="filter_access"> <?php echo JText::_('JOPTION_SELECT_ACCESS'); ?> </label> <select name="filter_access" 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" 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.state'), true);?> </select> <label class="selectlabel" for="filter_category_id"> <?php echo JText::_('JOPTION_SELECT_CATEGORY'); ?> </label> <select name="filter_category_id" id="filter_category_id"> <option value=""><?php echo JText::_('JOPTION_SELECT_CATEGORY');?></option> <?php echo JHtml::_('select.options', JHtml::_('category.options', 'com_newsfeeds'), 'value', 'text', $this->state->get('filter.category_id'));?> </select> <?php if ($forcedLanguage) : ?> <input type="hidden" name="forcedLanguage" value="<?php echo $this->escape($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" 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.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 echo $this->escape($item->access_level); ?> </td> <td class="center"> <?php echo $this->escape($item->category_title); ?> </td> <td class="center"> <?php echo JLayoutHelper::render('joomla.content.language', $item); ?> </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; ?>" /> <input type="hidden" name="forcedLanguage" value="<?php echo $forcedLanguage; ?>" /> <?php echo JHtml::_('form.token'); ?> </form> html/com_fields/groups/default.php 0000604 00000013347 15245523131 0013275 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage com_fields * * @copyright (C) 2017 Open Source Matters, Inc. <https://www.joomla.org> * @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::_('bootstrap.tooltip'); JHtml::_('behavior.multiselect'); JHtml::_('formbehavior.chosen', 'select'); $app = JFactory::getApplication(); $user = JFactory::getUser(); $userId = $user->get('id'); $component = ''; $parts = FieldsHelper::extract($this->state->get('filter.context')); if ($parts) { $component = $this->escape($parts[0]); } $listOrder = $this->escape($this->state->get('list.ordering')); $listDirn = $this->escape($this->state->get('list.direction')); $ordering = ($listOrder == 'a.ordering'); $saveOrder = ($listOrder == 'a.ordering' && strtolower($listDirn) == 'asc'); if ($saveOrder) { $saveOrderingUrl = 'index.php?option=com_fields&task=groups.saveOrderAjax&tmpl=component'; JHtml::_('sortablelist.sortable', 'groupList', 'adminForm', strtolower($listDirn), $saveOrderingUrl, false, true); } ?> <form action="<?php echo JRoute::_('index.php?option=com_fields&view=groups'); ?>" method="post" name="adminForm" id="adminForm"> <div id="j-sidebar-container" class="span2"> <?php echo $this->sidebar; ?> </div> <div id="j-main-container" class="span10"> <div id="filter-bar" class="js-stools-container-bar pull-left"> <div class="btn-group pull-left"> <?php echo $this->filterForm->getField('context')->input; ?> </div> </div> <?php echo JLayoutHelper::render('joomla.searchtools.default', array('view' => $this)); ?> <?php if (empty($this->items)) : ?> <div class="alert alert-no-items"> <?php echo JText::_('JGLOBAL_NO_MATCHING_RESULTS'); ?> </div> <?php else : ?> <table class="adminlist" id="groupList"> <thead> <tr> <th width="1%" class="center"> <?php echo JHtml::_('grid.checkall'); ?> </th> <th width="1%" class="nowrap center"> <?php echo JHtml::_('searchtools.sort', 'JSTATUS', 'a.state', $listDirn, $listOrder); ?> </th> <th> <?php echo JHtml::_('searchtools.sort', 'JGLOBAL_TITLE', 'a.title', $listDirn, $listOrder); ?> </th> <th width="10%" class="nowrap hidden-phone"> <?php echo JHtml::_('searchtools.sort', 'JGRID_HEADING_ACCESS', 'a.access', $listDirn, $listOrder); ?> </th> <th width="5%" class="nowrap hidden-phone"> <?php echo JHtml::_('searchtools.sort', 'JGRID_HEADING_LANGUAGE', 'a.language', $listDirn, $listOrder); ?> </th> <th width="1%" class="nowrap hidden-phone"> <?php echo JHtml::_('searchtools.sort', 'JGRID_HEADING_ID', 'a.id', $listDirn, $listOrder); ?> </th> </tr> </thead> <tfoot> <tr> <td colspan="9"> <?php echo $this->pagination->getListFooter(); ?> </td> </tr> </tfoot> <tbody> <?php foreach ($this->items as $i => $item) : ?> <?php $ordering = ($listOrder == 'a.ordering'); ?> <?php $canEdit = $user->authorise('core.edit', $component . '.fieldgroup.' . $item->id); ?> <?php $canCheckin = $user->authorise('core.admin', 'com_checkin') || $item->checked_out == $userId || $item->checked_out == 0; ?> <?php $canEditOwn = $user->authorise('core.edit.own', $component . '.fieldgroup.' . $item->id) && $item->created_by == $userId; ?> <?php $canChange = $user->authorise('core.edit.state', $component . '.fieldgroup.' . $item->id) && $canCheckin; ?> <tr class="row<?php echo $i % 2; ?>" item-id="<?php echo $item->id ?>"> <td class="center"> <?php echo JHtml::_('grid.id', $i, $item->id); ?> </td> <td class="center"> <?php echo JHtml::_('jgrid.published', $item->state, $i, 'groups.', $canChange); ?> </td> <td> <div class="pull-left break-word"> <?php if ($item->checked_out) : ?> <?php echo JHtml::_('jgrid.checkedout', $i, $item->editor, $item->checked_out_time, 'groups.', $canCheckin); ?> <?php endif; ?> <?php if ($canEdit || $canEditOwn) : ?> <a href="<?php echo JRoute::_('index.php?option=com_fields&task=group.edit&id=' . $item->id); ?>"> <?php echo $this->escape($item->title); ?></a> <?php else : ?> <?php echo $this->escape($item->title); ?> <?php endif; ?> <span class="small break-word"> <?php if ($item->note) : ?> <?php echo JText::sprintf('JGLOBAL_LIST_NOTE', $this->escape($item->note)); ?> <?php endif; ?> </span> </div> </td> <td class="small hidden-phone"> <?php echo $this->escape($item->access_level); ?> </td> <td class="small nowrap hidden-phone"> <?php echo JLayoutHelper::render('joomla.content.language', $item); ?> </td> <td class="center hidden-phone"> <span><?php echo (int) $item->id; ?></span> </td> </tr> <?php endforeach; ?> </tbody> </table> <?php //Load the batch processing form. ?> <?php if ($user->authorise('core.create', $component) && $user->authorise('core.edit', $component) && $user->authorise('core.edit.state', $component)) : ?> <?php echo JHtml::_( 'bootstrap.renderModal', 'collapseModal', array( 'title' => JText::_('COM_FIELDS_VIEW_GROUPS_BATCH_OPTIONS'), 'footer' => $this->loadTemplate('batch_footer') ), $this->loadTemplate('batch_body') ); ?> <?php endif; ?> <?php endif; ?> <input type="hidden" name="task" value="" /> <input type="hidden" name="boxchecked" value="0" /> <?php echo JHtml::_('form.token'); ?> </div> </form> html/com_fields/group/edit.php 0000604 00000010067 15245523131 0012407 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage com_fields * * @copyright (C) 2017 Open Source Matters, Inc. <https://www.joomla.org> * @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.formvalidator'); JHtml::_('behavior.keepalive'); JHtml::_('behavior.tabstate'); $app = JFactory::getApplication(); $input = $app->input; JFactory::getDocument()->addScriptDeclaration(' Joomla.submitbutton = function(task) { if (task == "group.cancel" || document.formvalidator.isValid(document.getElementById("item-form"))) { Joomla.submitform(task, document.getElementById("item-form")); } }; '); ?> <div class="groups-edit"> <form action="<?php echo JRoute::_('index.php?option=com_fields&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_FIELDS_VIEW_FIELD_FIELDSET_GENERAL'); ?></legend> <ul class="adminformlist"> <li> <?php echo $this->form->getLabel('title'); ?> <?php echo $this->form->getInput('title'); ?> </li> <li> <?php echo $this->form->getLabel('description'); ?> <?php echo $this->form->getInput('description'); ?> </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('language'); ?> <?php echo $this->form->getInput('language'); ?> </li> <li> <?php echo $this->form->getLabel('note'); ?> <?php echo $this->form->getInput('note'); ?> </li> </ul> <div class="clr"></div> </fieldset> </div> <div class="col options-section"> <?php echo JHtml::_('sliders.start', 'groups-sliders-' . $this->item->id, array('useCookie' => 1)); ?> <?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> <?php if ((int) $this->item->created) : ?> <li> <?php echo $this->form->getLabel('created'); ?> <?php echo $this->form->getInput('created'); ?> </li> <?php endif; ?> <?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> <li> <?php echo $this->form->getLabel('id'); ?> <?php echo $this->form->getInput('id'); ?> </li> <?php endif; ?> </ul> </fieldset> <?php echo JHtml::_('sliders.end'); ?> <div class="clr"></div> <?php $this->set('ignore_fieldsets', array('fieldparams')); ?> </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::_('JGLOBAL_ACTION_PERMISSIONS_LABEL'), 'access-rules'); ?> <fieldset class="panelform"> <legend class="element-invisible"><?php echo JText::_('JGLOBAL_ACTION_PERMISSIONS_LABEL'); ?></legend> <?php echo $this->form->getLabel('rules'); ?> <?php echo $this->form->getInput('rules'); ?> </fieldset> <?php echo JHtml::_('sliders.end'); ?> </div> <?php endif; ?> <?php echo $this->form->getInput('context'); ?> <input type="hidden" name="task" value="" /> <?php echo JHtml::_('form.token'); ?> </div> </form> <div class="clr"></div> </div>