From 27040210bc71b564d5f2c683d0a745f5eafe8c58 Mon Sep 17 00:00:00 2001 From: otrok7 <50595291+otrok7@users.noreply.github.com> Date: Tue, 29 Oct 2024 17:46:14 +0100 Subject: [PATCH 01/55] Initial Refactoring --- BreadOptions.php.bak | 77 - LICENSE.txt | 339 ++ admin/class-bread-admin.php | 465 +++ {css => admin/css}/admin.css | 1592 ++++----- {css => admin/css}/chosen-sprite.png | Bin {css => admin/css}/chosen-sprite@2x.png | Bin {css => admin/css}/chosen.min.css | 0 {css => admin/css}/editor-style.css | 158 +- {css => admin/css}/images/banner.png | Bin {css => admin/css}/images/banner_rails.png | Bin {css => admin/css}/images/connecting.gif | Bin {css => admin/css}/images/help-image2.png | Bin {css => admin/css}/images/saving.gif | Bin .../ui-bg_diagonals-small_25_c5ddfc_40x40.png | Bin .../ui-bg_diagonals-thick_20_e69700_40x40.png | Bin .../ui-bg_diagonals-thick_22_1484e6_40x40.png | Bin .../ui-bg_diagonals-thick_26_2293f7_40x40.png | Bin .../images/ui-bg_flat_0_e69700_40x100.png | Bin .../images/ui-bg_flat_0_e6b900_40x100.png | Bin .../ui-bg_highlight-soft_100_f9f9f9_1x100.png | Bin .../ui-bg_inset-hard_100_eeeeee_1x100.png | Bin .../css}/images/ui-icons_0a82eb_256x240.png | Bin .../css}/images/ui-icons_0b54d5_256x240.png | Bin .../css}/images/ui-icons_5fa5e3_256x240.png | Bin .../css}/images/ui-icons_fcdd4a_256x240.png | Bin .../css}/images/ui-icons_ffffff_256x240.png | Bin {css => admin/css}/jquery-ui.min.css | 0 {css => admin/css}/mpdfstyletables.css | 736 ++-- {css => admin/css}/page-loader.gif | Bin {css => admin/css}/spectrum.css | 0 admin/index.php | 1 + admin/js/bmlt_meeting_list.js | 892 +++++ {js => admin/js}/chosen.jquery.min.js | 0 {js => admin/js}/jquery.tooltipster.min.js | 0 {js => admin/js}/spectrum.js | 0 .../partials}/_backup_restore_setup.php | 20 +- .../partials}/_bmlt_server_setup.php | 126 +- .../partials}/_custom_section_setup.php | 18 +- .../partials}/_front_page_setup.php | 20 +- {partials => admin/partials}/_help_videos.php | 0 {partials => admin/partials}/_helpers.php | 0 .../partials}/_last_page_setup.php | 10 +- admin/partials/_layout_setup.php | 206 ++ .../partials}/_meeting_list_setup.php | 2 +- .../partials}/_meetings_setup.php | 200 +- admin/partials/bread-admin-display.php | 290 ++ admin/tinymce/code/plugin.js | 71 + {tinymce => admin/tinymce}/code/plugin.min.js | 0 .../tinymce}/contextmenu/plugin.min.js | 0 admin/tinymce/front_page_button/plugin.js | 15 + admin/tinymce/front_page_button/plugin.min.js | 409 +++ admin/tinymce/table/plugin.js | 2967 ++++++++++++++++ .../tinymce}/table/plugin.min.js | 0 bmlt-meeting-list.php | 2981 ----------------- bread.php | 85 +- composer.json | 2 +- composer.lock | 46 +- includes/booklet_settings.json | 1 - includes/class-bread-activator.php | 40 + includes/class-bread-bmlt.php | 220 ++ includes/class-bread-deactivator.php | 40 + includes/class-bread-i18n.php | 45 + includes/class-bread-loader.php | 132 + includes/class-bread.php | 643 ++++ includes/default_nalogo.jpg | Bin 17191 -> 0 bytes includes/four_column_settings.json | 1 - includes/index.php | 1 + {lang => includes/lang}/translate_de.php | 0 {lang => includes/lang}/translate_dk.php | 0 {lang => includes/lang}/translate_en.php | 0 {lang => includes/lang}/translate_en_es.php | 0 {lang => includes/lang}/translate_en_po.php | 0 {lang => includes/lang}/translate_es.php | 0 {lang => includes/lang}/translate_fa.php | 0 {lang => includes/lang}/translate_fr.php | 0 {lang => includes/lang}/translate_fr_en.php | 0 {lang => includes/lang}/translate_it.php | 0 {lang => includes/lang}/translate_pl.php | 0 {lang => includes/lang}/translate_po.php | 0 {lang => includes/lang}/translate_se.php | 0 includes/three_column_settings.json | 1 - includes/wheelchair.png | Bin 22622 -> 0 bytes js/bmlt_meeting_list.js | 744 ---- languages/bread.pot | 0 partials/_layout_setup.php | 201 -- public/class-bread-content-generator.php | 907 +++++ public/class-bread-format-manager.php | 120 + public/class-bread-public.php | 593 ++++ public/css/bread-public.css | 4 + public/index.php | 1 + public/js/bread-public.js | 32 + public/partials/bread-public-display.php | 16 + tinymce/code/plugin.js | 60 - tinymce/front_page_button/plugin.js | 11 - tinymce/front_page_button/plugin.min.js | 389 --- tinymce/table/plugin.js | 2680 --------------- 96 files changed, 9998 insertions(+), 8612 deletions(-) delete mode 100644 BreadOptions.php.bak create mode 100644 LICENSE.txt create mode 100644 admin/class-bread-admin.php rename {css => admin/css}/admin.css (92%) rename {css => admin/css}/chosen-sprite.png (100%) rename {css => admin/css}/chosen-sprite@2x.png (100%) rename {css => admin/css}/chosen.min.css (100%) rename {css => admin/css}/editor-style.css (86%) rename {css => admin/css}/images/banner.png (100%) rename {css => admin/css}/images/banner_rails.png (100%) rename {css => admin/css}/images/connecting.gif (100%) rename {css => admin/css}/images/help-image2.png (100%) rename {css => admin/css}/images/saving.gif (100%) rename {css => admin/css}/images/ui-bg_diagonals-small_25_c5ddfc_40x40.png (100%) rename {css => admin/css}/images/ui-bg_diagonals-thick_20_e69700_40x40.png (100%) rename {css => admin/css}/images/ui-bg_diagonals-thick_22_1484e6_40x40.png (100%) rename {css => admin/css}/images/ui-bg_diagonals-thick_26_2293f7_40x40.png (100%) rename {css => admin/css}/images/ui-bg_flat_0_e69700_40x100.png (100%) rename {css => admin/css}/images/ui-bg_flat_0_e6b900_40x100.png (100%) rename {css => admin/css}/images/ui-bg_highlight-soft_100_f9f9f9_1x100.png (100%) rename {css => admin/css}/images/ui-bg_inset-hard_100_eeeeee_1x100.png (100%) rename {css => admin/css}/images/ui-icons_0a82eb_256x240.png (100%) rename {css => admin/css}/images/ui-icons_0b54d5_256x240.png (100%) rename {css => admin/css}/images/ui-icons_5fa5e3_256x240.png (100%) rename {css => admin/css}/images/ui-icons_fcdd4a_256x240.png (100%) rename {css => admin/css}/images/ui-icons_ffffff_256x240.png (100%) rename {css => admin/css}/jquery-ui.min.css (100%) rename {css => admin/css}/mpdfstyletables.css (94%) rename {css => admin/css}/page-loader.gif (100%) rename {css => admin/css}/spectrum.css (100%) create mode 100644 admin/index.php create mode 100644 admin/js/bmlt_meeting_list.js rename {js => admin/js}/chosen.jquery.min.js (100%) rename {js => admin/js}/jquery.tooltipster.min.js (100%) rename {js => admin/js}/spectrum.js (100%) rename {partials => admin/partials}/_backup_restore_setup.php (86%) rename {partials => admin/partials}/_bmlt_server_setup.php (73%) rename {partials => admin/partials}/_custom_section_setup.php (69%) rename {partials => admin/partials}/_front_page_setup.php (67%) rename {partials => admin/partials}/_help_videos.php (100%) rename {partials => admin/partials}/_helpers.php (100%) rename {partials => admin/partials}/_last_page_setup.php (88%) create mode 100644 admin/partials/_layout_setup.php rename {partials => admin/partials}/_meeting_list_setup.php (98%) rename {partials => admin/partials}/_meetings_setup.php (70%) create mode 100644 admin/partials/bread-admin-display.php create mode 100644 admin/tinymce/code/plugin.js rename {tinymce => admin/tinymce}/code/plugin.min.js (100%) rename {tinymce => admin/tinymce}/contextmenu/plugin.min.js (100%) create mode 100644 admin/tinymce/front_page_button/plugin.js create mode 100644 admin/tinymce/front_page_button/plugin.min.js create mode 100644 admin/tinymce/table/plugin.js rename {tinymce => admin/tinymce}/table/plugin.min.js (100%) delete mode 100644 bmlt-meeting-list.php delete mode 100644 includes/booklet_settings.json create mode 100644 includes/class-bread-activator.php create mode 100644 includes/class-bread-bmlt.php create mode 100644 includes/class-bread-deactivator.php create mode 100644 includes/class-bread-i18n.php create mode 100644 includes/class-bread-loader.php create mode 100644 includes/class-bread.php delete mode 100644 includes/default_nalogo.jpg delete mode 100644 includes/four_column_settings.json create mode 100644 includes/index.php rename {lang => includes/lang}/translate_de.php (100%) rename {lang => includes/lang}/translate_dk.php (100%) rename {lang => includes/lang}/translate_en.php (100%) rename {lang => includes/lang}/translate_en_es.php (100%) rename {lang => includes/lang}/translate_en_po.php (100%) rename {lang => includes/lang}/translate_es.php (100%) rename {lang => includes/lang}/translate_fa.php (100%) rename {lang => includes/lang}/translate_fr.php (100%) rename {lang => includes/lang}/translate_fr_en.php (100%) rename {lang => includes/lang}/translate_it.php (100%) rename {lang => includes/lang}/translate_pl.php (100%) rename {lang => includes/lang}/translate_po.php (100%) rename {lang => includes/lang}/translate_se.php (100%) delete mode 100644 includes/three_column_settings.json delete mode 100644 includes/wheelchair.png delete mode 100644 js/bmlt_meeting_list.js create mode 100644 languages/bread.pot delete mode 100644 partials/_layout_setup.php create mode 100644 public/class-bread-content-generator.php create mode 100644 public/class-bread-format-manager.php create mode 100644 public/class-bread-public.php create mode 100644 public/css/bread-public.css create mode 100644 public/index.php create mode 100644 public/js/bread-public.js create mode 100644 public/partials/bread-public-display.php delete mode 100644 tinymce/code/plugin.js delete mode 100644 tinymce/front_page_button/plugin.js delete mode 100644 tinymce/front_page_button/plugin.min.js delete mode 100644 tinymce/table/plugin.js diff --git a/BreadOptions.php.bak b/BreadOptions.php.bak deleted file mode 100644 index 26b2d05..0000000 --- a/BreadOptions.php.bak +++ /dev/null @@ -1,77 +0,0 @@ -weekday_language]['PAGE'].' {PAGENO}'; - $this->nonmeeting_footer = $my_footer; - $this->meeting1_footer = $this->nonmeeting_footer; - $this->meeting2_footer = $this->nonmeeting_footer; - } - } \ No newline at end of file diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..ecbc059 --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 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 Lesser 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. + + + Copyright (C) + + 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., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 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. + + , 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 Lesser General +Public License instead of this License. \ No newline at end of file diff --git a/admin/class-bread-admin.php b/admin/class-bread-admin.php new file mode 100644 index 0000000..76390f3 --- /dev/null +++ b/admin/class-bread-admin.php @@ -0,0 +1,465 @@ + + */ +class Bread_Admin +{ + + /** + * The ID of this plugin. + * + * @since 2.8.0 + * @access private + * @var string $plugin_name The ID of this plugin. + */ + private $plugin_name; + + /** + * The version of this plugin. + * + * @since 2.8.0 + * @access private + * @var string $version The current version of this plugin. + */ + private $version; + + /** + * Initialize the class and set its properties. + * + * @since 2.8.0 + * @param string $plugin_name The name of this plugin. + * @param string $version The version of this plugin. + */ + var $outside_meeting_result = array(); + var $maxSetting = 1; + var $loaded_setting = 1; + public function __construct($plugin_name, $version) + { + $this->plugin_name = $plugin_name; + $this->version = $version; + } + + /** + * Register the stylesheets for the admin area. + * + * @since 2.8.0 + */ + public function enqueue_styles() + { + wp_enqueue_style("jquery-ui", plugin_dir_url(__FILE__) . "css/jquery-ui.min.css", false, "1.2", 'all'); + wp_enqueue_style("spectrum", plugin_dir_url(__FILE__) . "css/spectrum.css", false, "1.2", 'all'); + wp_enqueue_style("admin", plugin_dir_url(__FILE__) . "css/admin.css", false, "1.2", 'all'); + wp_enqueue_style("chosen", plugin_dir_url(__FILE__) . "css/chosen.min.css", false, "1.2", 'all'); + } + + /** + * Register the JavaScript for the admin area. + * + * @since 2.8.0 + */ + public function enqueue_scripts() + { + wp_enqueue_script('common'); + wp_enqueue_script('jquery-ui-tabs'); + wp_enqueue_script('jquery-ui-accordion'); + wp_enqueue_script('jquery-ui-dialog'); + wp_enqueue_script("bmlt_meeting_list", plugin_dir_url(__FILE__) . "js/bmlt_meeting_list.js", array('jquery'), "1.2", true); + wp_enqueue_script("tooltipster", plugin_dir_url(__FILE__) . "js/jquery.tooltipster.min.js", array('jquery'), "1.2", true); + wp_enqueue_script("spectrum", plugin_dir_url(__FILE__) . "js/spectrum.js", array('jquery'), "1.2", true); + wp_enqueue_script("chosen", plugin_dir_url(__FILE__) . "js/chosen.jquery.min.js", array('jquery'), "1.2", true); + } + + function ml_default_editor() + { + global $my_admin_page; + $screen = get_current_screen(); + if ($screen->id == $my_admin_page) { + return "tinymce"; + } + } + + function force_mce_refresh($ver) + { + global $my_admin_page; + $screen = get_current_screen(); + if ($screen->id == $my_admin_page) { + return $ver + 99; + } + } + + // Register new button in the editor + function my_register_mce_button($buttons) + { + global $my_admin_page; + $screen = get_current_screen(); + if ($screen->id == $my_admin_page) { + array_push($buttons, 'front_page_button', 'custom_template_button_1', 'custom_template_button_2'); + } + return $buttons; + } + + function my_custom_plugins() + { + global $my_admin_page; + $plugins_array = array(); + $screen = get_current_screen(); + if ($screen->id == $my_admin_page) { + $plugins = array('table', 'code', 'contextmenu' ); //Add any more plugins you want to load here + //Build the response - the key is the plugin name, value is the URL to the plugin JS + foreach ($plugins as $plugin) { + $plugins_array[ $plugin ] = plugins_url('tinymce/', __FILE__) . $plugin . '/plugin.min.js'; + } + $shortcode_menu = array(); + $shortcode_menu['front_page_button'] = plugins_url('tinymce/', __FILE__) . 'front_page_button/plugin.min.js'; + //let's leave the enhancement mechanism open for now. + //apply_filters is one option, perhaps we will think of something better. + //$shortcode_menu = apply_filters("Bread_Adjust_Menu", $shortcode_menu); + $plugins_array = array_merge($plugins_array, $shortcode_menu); + } + return $plugins_array; + } + + // Enable font size & font family selects in the editor + function tiny_tweaks($initArray) + { + global $my_admin_page; + $screen = get_current_screen(); + if ($screen->id == $my_admin_page) { + $initArray['fontsize_formats'] = "5pt 6pt 7pt 8pt 9pt 10pt 11pt 12pt 13pt 14pt 15pt 16pt 17pt 18pt 19pt 20pt 22pt 24pt 26pt 28pt 30pt 32pt 34pt 36pt 38pt"; + $initArray['theme_advanced_blockformats'] = 'h2,h3,h4,p'; + $initArray['wordpress_adv_hidden'] = false; + $initArray['font_formats']='Arial (Default)=arial;'; + $initArray['font_formats'].='Times (Sans-Serif)=times;'; + $initArray['font_formats'].='Courier (Monospace)=courier;'; + $initArray['content_style'] = 'body { font-family: Arial; }'; + } + return $initArray; + } + function is_root_server_missing() + { + global $my_admin_page; + $screen = get_current_screen(); + if ($screen->id == $my_admin_page) { + $root_server = Bread::getOption('root_server'); + if ($root_server == '') { + echo '

Missing BMLT Server in settings for bread.

'; + $url = admin_url('options-general.php?page=bmlt-meeting-list.php'); + echo "

Settings

"; + echo '
'; + } else if (!Bread::temp_dir()) { + echo '

' . Bread::temp_dir() . ' temporary directory is not writable.

'; + $url = admin_url('options-general.php?page=bmlt-meeting-list.php'); + echo "

Settings

"; + echo '
'; + } + } + } + + function pwsix_process_rename_settings() + { + Bread::getMLOptions(Bread::getRequestedSetting()); + if (isset($_POST['bmltmeetinglistsave']) && $_POST['bmltmeetinglistsave'] == 'Save Changes') { + return; + } + if (empty($_POST['pwsix_action']) || 'rename_setting' != $_POST['pwsix_action']) { + return; + } + if (! wp_verify_nonce($_POST['pwsix_rename_nonce'], 'pwsix_rename_nonce')) { + return; + } + if (! $this->current_user_can_modify()) { + return; + } + + Bread::renameSetting($this->loaded_setting, sanitize_text_field($_POST['setting_descr'])); + } + /** + * Process a settings export that generates a .json file of the shop settings + */ + function pwsix_process_settings_export() + { + Bread::getMLOptions(Bread::getRequestedSetting()); + if (isset($_POST['bmltmeetinglistsave']) && $_POST['bmltmeetinglistsave'] == 'Save Changes') { + return; + } + if (empty($_REQUEST['pwsix_action']) || 'export_settings' != $_REQUEST['pwsix_action']) { + return; + } + if (! wp_verify_nonce($_POST['pwsix_export_nonce'], 'pwsix_export_nonce')) { + return; + } + if (! current_user_can('manage_bread')) { // TODO: Is this necessary? Why not let the user make a copy + return; + } + + $blogname = str_replace(" - ", " ", get_option('blogname').'-'.Bread::getSettingName($this->loaded_setting)); + $blogname = str_replace(" ", "-", $blogname); + $date = date("m-d-Y"); + $blogname = trim(preg_replace('/[^a-z0-9]+/', '-', strtolower($blogname)), '-'); + $json_name = $blogname.$date.".json"; // Naming the filename will be generated. + $settings = get_option(Bread::getOptionsName()); + foreach ($settings as $key => $value) { + $value = maybe_unserialize($value); + $need_options[$key] = $value; + } + $json_file = json_encode($need_options); // Encode data into json data + ignore_user_abort(true); + header('Content-Type: application/json; charset=utf-8'); + header("Content-Disposition: attachment; filename=$json_name"); + header("Expires: 0"); + echo json_encode($settings); + exit; + } + function current_user_can_modify() + { + if (! current_user_can('manage_bread')) { + return false; + } + $user = wp_get_current_user(); + if (in_array('administrator', $user->roles)) { + return true; + } + $authors_safe = Bread::getOption('authors'); + if (!is_array($authors_safe) || empty($authors_safe)) { + return true; + } + if (in_array($user->ID, $authors_safe)) { + return true; + } + return false; + } + function current_user_can_create() + { + if (! current_user_can('manage_bread')) { + return false; + } + return true; + } + /** + * Process a settings import from a json file + */ + function pwsix_process_settings_import() + { + Bread::getMLOptions(Bread::getRequestedSetting()); + if (isset($_POST['bmltmeetinglistsave']) && $_POST['bmltmeetinglistsave'] == 'Save Changes') { + return; + } + if (empty($_REQUEST['pwsix_action']) || 'import_settings' != $_REQUEST['pwsix_action']) { + return; + } + if (empty($_REQUEST['pwsix_import_nonce']) || !wp_verify_nonce($_REQUEST['pwsix_import_nonce'], 'pwsix_import_nonce')) { + return; + } + if (! current_user_can('manage_bread')) { + return; + } + $file_name = $_FILES['import_file']['name']; + $tmp = explode('.', $file_name); + $extension = end($tmp); + if ($extension != 'json') { + wp_die(__('Please upload a valid .json file')); + } + $import_file = $_FILES['import_file']['tmp_name']; + if (empty($import_file)) { + wp_die(__('Please upload a file to import')); + } + $file_size = $_FILES['import_file']['size']; + if ($file_size > 500000) { + wp_die(__('File size greater than 500k')); + } + $encode_options = file_get_contents($import_file); + while (0 === strpos(bin2hex($encode_options), 'efbbbf')) { + $encode_options = substr($encode_options, 3); + } + $settings = json_decode($encode_options, true); + $settings['authors'] = + update_option(Bread::getOptionsName(), $settings); + setcookie('pwsix_action', "import_settings", time()+10); + setcookie('current-meeting-list', $this->loaded_setting, time()+10); + wp_safe_redirect(admin_url('?page=bmlt-meeting-list.php')); + } + + /** + * Process a default settings + */ + function pwsix_process_default_settings() + { + Bread::getMLOptions(Bread::getRequestedSetting()); + if (! current_user_can('manage_bread') + || (isset($_POST['bmltmeetinglistsave']) && $_POST['bmltmeetinglistsave'] == 'Save Changes' ) + ) { + return; + } elseif (isset($_REQUEST['pwsix_action']) && 'three_column_default_settings' == $_REQUEST['pwsix_action']) { + if (! wp_verify_nonce($_POST['pwsix_submit_three_column'], 'pwsix_submit_three_column')) { + die('Whoops! There was a problem with the data you posted. Please go back and try again.'); + } + $import_file = plugin_dir_path(__FILE__) . "includes/three_column_settings.json"; + } elseif (isset($_REQUEST['pwsix_action']) && 'four_column_default_settings' == $_REQUEST['pwsix_action']) { + if (! wp_verify_nonce($_POST['pwsix_submit_four_column'], 'pwsix_submit_four_column')) { + die('Whoops! There was a problem with the data you posted. Please go back and try again.'); + } + $import_file = plugin_dir_path(__FILE__) . "includes/four_column_settings.json"; + } elseif (isset($_REQUEST['pwsix_action']) && 'booklet_default_settings' == $_REQUEST['pwsix_action']) { + if (! wp_verify_nonce($_POST['pwsix_submit_booklet'], 'pwsix_submit_booklet')) { + die('Whoops! There was a problem with the data you posted. Please go back and try again.'); + } + $import_file = plugin_dir_path(__FILE__) . "includes/booklet_settings.json"; + } else { + return; + } + if (empty($import_file)) { + wp_die(__('Error importing default settings file')); + } + $encode_options = file_get_contents($import_file); + $settings = json_decode($encode_options, true); + $settings['authors'] = Bread::getOption('authors'); + update_option(Bread::getOptionsName(), $settings); + setcookie('pwsix_action', "default_settings_success", time()+10); + setcookie('current-meeting-list', $this->loaded_setting, time()+10); + wp_safe_redirect(admin_url('?page=bmlt-meeting-list.php')); + } + function my_theme_add_editor_styles() + { + global $my_admin_page; + $screen = get_current_screen(); + if (isset($screen) && $screen->id == $my_admin_page) { + add_editor_style(plugin_dir_url(__FILE__) . "css/editor-style.css"); + } + } + /** + * @desc Adds the Settings link to the plugin activate/deactivate page + */ + function filter_plugin_actions($links, $file) + { + $settings_link = '' . __('Settings') . ''; + array_unshift($links, $settings_link); // before other links + return $links; + } + private function addServiceBody($service_body_name) + { + if (false === ( Bread::getOption($service_body_name) == 'Not Used' )) { + $area_data = explode(',', Bread::getOption($service_body_name)); + $area = $this->arraySafeGet($area_data); + Bread::setOption($service_body_name, $area == 'NOT USED' ? '' : $area); + $service_body_id = $this->arraySafeGet($area_data, 1); + if (Bread::getOption('recurse_service_bodies') == 1) { + return '&recursive=1&services[]=' . $service_body_id; + } else { + return '&services[]='.$service_body_id; + } + } + } + function arraySafeGet($arr, $i = 0) + { + return is_array($arr) ? $arr[$i] ?? '': ''; + } + /** + * Saves the admin options to the database. + */ + function save_admin_options() + { + Bread::updateOptions(); + } + public function getLatestRootVersion() + { + $results = $this->get("https://api.github.com/repos/bmlt-enabled/bmlt-root-server/releases/latest"); + $httpcode = wp_remote_retrieve_response_code($results); + $response_message = wp_remote_retrieve_response_message($results); + if ($httpcode != 200 && $httpcode != 302 && $httpcode != 304 && ! empty($response_message)) { + return 'Problem Connecting to Server!'; + }; + $body = wp_remote_retrieve_body($results); + $result = json_decode($body, true); + return $result['name']; + } + function get($url, $cookies = array()) + { + $args = array( + 'timeout' => '120', + 'cookies' => $cookies, + ); + if (isset($this->options['user_agent']) + && Bread::getOption('user_agent') != 'None' + ) { + $args['headers'] = array( + 'User-Agent' => Bread::getOption('user_agent') + ); + } + if (Bread::getOption('sslverify') == '1') { + $args['sslverify'] = false; + } + return wp_remote_get($url, $args); + } + /** + * @desc Adds the options sub-panel + */ + function admin_menu_link() + { + activate_bread(); + global $my_admin_page; + Bread_Activator::activate(); + $my_admin_page = add_menu_page('Meeting List', 'Meeting List', 'manage_bread', basename(__FILE__), array(&$this, 'admin_options_page'), 'dashicons-admin-page'); + } + function admin_options_page() + { + include_once plugin_dir_path(__FILE__).'partials/bread-admin-display.php'; + (new Bread_AdminDisplay($this))->admin_options_page(); + + } + function pwsix_process_settings_admin() + { + Bread::getMLOptions(Bread::getRequestedSetting()); + if (isset($_POST['bmltmeetinglistsave']) && $_POST['bmltmeetinglistsave'] == 'Save Changes') { + return; + } + if (empty($_POST['pwsix_action']) || 'settings_admin' != $_POST['pwsix_action']) { + return; + } + if (! wp_verify_nonce($_POST['pwsix_settings_admin_nonce'], 'pwsix_settings_admin_nonce')) { + return; + } + if (isset($_POST['delete'])) { + if (!$this->current_user_can_modify()) { + return; + } + if ($this->loaded_setting == 1) { + return; + } + Bread::deleteSetting($this->loaded_setting); + Bread::getMLOptions(1); + $this->loaded_setting = 1; + Bread::setRequestedSetting(1); + } elseif (isset($_POST['duplicate'])) { + if (!$this->current_user_can_create()) { + return; + } + $id = $this->maxSetting + 1; + Bread::setOptionsName(Bread::generateOptionName($id)); + Bread::setOption('authors', array()); + $this->save_admin_options(); + Bread::renameSetting($id, 'Setting '.$id); + $this->maxSetting = $id; + Bread::getMLOptions($id); + } + } + + +} diff --git a/css/admin.css b/admin/css/admin.css similarity index 92% rename from css/admin.css rename to admin/css/admin.css index 462f65a..17a047e 100644 --- a/css/admin.css +++ b/admin/css/admin.css @@ -1,796 +1,796 @@ -.wpbody-content { - margin-top: 0; - margin-left: 0; - margin-right: 0; - height: 100%; - width: 100%; -} - -#tallyBannerContainer { - background-image: url('images/banner_rails.png'); - background-repeat: repeat-x; - background-size: 15% 100%; - display: block; - height: 15%; - width: auto; -} - -img#tallyBannerImage { - display: block; - margin: auto; - height: 100%; - width: auto; -} - -/* Portrait */ -@media only screen -and (min-device-width: 320px) -and (max-device-width: 480px) -and (-webkit-min-device-pixel-ratio: 2) -and (orientation: portrait) { - #tallyBannerContainer { - background-size: 12% 100%; - height: 12%; - } -} - -.ui-accordion .ui-accordion-icons { - padding-left: 2.2em !important; -} -img.box-description { - margin: 0px 10px 0px 10px; - cursor: pointer; -} -#basicModal{ - display:none; -} -.help-video { - background-color:#fff; - border-radius:15px; - color:#000; - display:none; - padding:20px; - min-width:400px; - min-height: 180px; -} -.b-close, .bClose { -border-radius: 7px 7px 7px 7px; -box-shadow: none; -font: bold 111% sans-serif; -padding: 0 6px 0px; -position: absolute; -right: 4px; -top: 2px; -background-color: #2B91AF; -border-radius: 10px; -box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3); -color: #FFF; -cursor: pointer; -display: inline-block; -/* padding: 10px 20px; */ -text-align: center; -text-decoration: none; -} -#TB_window { -/* min-width:500px!important; */ -} -.mejs-container { -/* height: 650px !important; */ -position: relative; -background: #000; -font-family: Helvetica,Arial; -text-align: left; -vertical-align: top; -text-indent: 0; -height: 100% !important; -/* top:20px; */ -/* left:20px; */ -overflow: hidden !important; -} -#meeting-list-tabs { -background-image: none; -} -#meeting-list-tabs .postbox, #meeting-list-tabs .stuffbox { -margin-bottom: 10px; -padding: 0; -line-height: 1; -} -#meeting-list-tabs #poststuff { -padding-top: 0px; -/* min-width: 763px; */ -} -.bmlt-heading-h2 -{ - background-color: black; - color: white; - font-weight: bold; - margin-top: 20px; - padding-bottom: 2pt; - padding-top: 2pt; - text-align: center; -} -div#meeting-list-tabs-wrapper p { - font-size: 13px; -} -div#meeting-list-tabs-wrapper li { - font-size: 13px; -} -#meeting-list-tabs h3 { - font-size: 16px; - font-weight: 500; - color: #0A61AD; -} -#meeting-list-tabs .icon-forward { -margin-top: 1px; -color: #FFF; -float: right; -margin-right: 20px; -} -#meeting-list-tabs .icon-question2 { -margin-top: 1px; -color: #FFF; -margin-left: 5px; -} -#meeting-list-tabs .icon-question2:before { - content: "\e6b7"; -} -#meeting-list-tabs .icon-forward:before { - content: "\e63e"; -} -#meeting-list-tabs .hide { - display: none !important; -} - -#meeting-list-tabs input.readonly, #meeting-list-tabs input[readonly] { -border-color: #DDD !important; -box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.07) !important; -/* max-width: 100% !important; */ -background-color: #EEE !important; -} -/* =WordPress Core --------------------------------------------------------------- */ -#meeting-list-tabs body:waiting * { - cursor: progress; -} -#meeting-list-tabs strong, #meeting-list-tabs b { -font-weight: 600; -} - -#meeting-list-tabs { - /* background: #FFF; */ -} - -.hide { - display: none !important; -} - -.alignnone { - margin: 5px 20px 20px 0; -} - -.aligncenter img, -.aligncenter, -div.aligncenter { - display: block !important; - margin: 5px auto 5px auto !important; -} - -.alignright { - float:right; - margin: 5px 0 20px 20px; -} - -.alignleft { - float: left; - margin: 5px 20px 20px 0; -} - -.aligncenter { - display: block; - margin: 5px auto 5px auto; -} - -a img.alignright { - float: right; - margin: 5px 0 20px 20px; -} - -a img.alignnone { - margin: 5px 20px 20px 0; -} - -a img.alignleft { - float: left; - margin: 5px 20px 20px 0; -} - -a img.aligncenter { - display: block; - margin-left: auto; - margin-right: auto -} - -.wp-caption { - background: #fff; - border: 1px solid #f0f0f0; - max-width: 96%; /* Image does not overflow the content area */ - padding: 5px 3px 10px; - text-align: center; -} - -.wp-caption.alignnone { - margin: 5px 20px 20px 0; -} - -.wp-caption.alignleft { - margin: 5px 20px 20px 0; -} - -.wp-caption.alignright { - margin: 5px 0 20px 20px; -} - -.wp-caption img { - border: 0 none; - height: auto; - margin: 0; - max-width: 98.5%; - padding: 0; - width: auto; -} - -#meeting-list-tabs .wp-caption p.wp-caption-text { - font-size: 11px; - line-height: 17px; - margin: 0; - padding: 0 4px 5px; -} -#meeting-list-tabs tabs-nohdr { - padding: 0px; - background: none; - border-width: 0px; -} -#meeting-list-tabs .ui-tabs-panel { - padding: 10px 3px !important; -} -#meeting-list-tabs .ui-widget-header { -border: 0; -background: rgba(0, 0, 0, 0); -} -#meeting-list-tabs input[class=mlg] + label { - color: #222 !important; -} -#meeting-list-tabs input[class=mlg]:checked+label { - color: #0A61AD !important; - font-weight: bold !important; -} -/* #meeting-list-tabs input:checked + span > label { - color: #863B3B !important; - font-weight: bold !important; - background-color: #F0F8FF; -} */ -.meeting_template_span { -width:410px; -vertical-align: top; -border: solid 1px #D5D5D5; -padding: 10px 15px; -margin-left: 5px; -margin-bottom: 10px; -display: -webkit-inline-box;" -color: #999; -} -#meeting-list-tabs input:checked + span { - /* background-color: #008000; */ - /* color: #fff; */ - border-color: #000 !important; - color: #000; -} -input:checked ~ td > label { - color: #0A61AD !important; - font-weight: bold !important; -} -#meeting-list-tabs h2 { -font-size: 22px; -} -.tooltipster-noir -{ - background: #F5F5F5; - border: 3px solid #2c2c2c; - border-radius: 0px; - color: #2c2c2c; -} -.tooltipster-noir .tooltipster-content -{ - /* font-family: 'Georgia', serif; */ - font-size: 13px; - line-height: 16px; - padding: 0px 20px; -} -.tooltipster-default -{ - background: #888888; - border: 2px solid #111; - border-radius: 5px; - color: #fff; -} -.tooltipster-default .tooltipster-content -{ - /* font-family: Arial, sans-serif; */ - font-size: 13px; - line-height: 16px; - overflow: hidden; - padding: 8px 8px; -} -.tooltipster-default .tooltipster-arrow .tooltipster-arrow-border -{ -} -.tooltipster-icon { - cursor: help; - margin-left: 10px; - background: url("images/help-image2.png") no-repeat; - color: rgba(0, 0, 0, 0); - padding-right: 5px; -} -.tooltipster-base -{ - font-size: 0; - left: 0; - line-height: 0; - overflow: visible; - padding: 0; - pointer-events: none; - position: absolute; - top: 0; - width: auto; - z-index: 9999999; -} -.tooltipster-base .tooltipster-content -{ - overflow: hidden; -} -.tooltipster-arrow -{ - display: block; - height: 100%; - left: 0; - position: absolute; - text-align: center; - top: 0; - width: 100%; - z-index: -1; -} -.tooltipster-arrow span, .tooltipster-arrow-border -{ - display: block; - height: 0; - position: absolute; - width: 0; -} -.tooltipster-arrow-top span, .tooltipster-arrow-top-right span, .tooltipster-arrow-top-left span -{ - border-left: 8px solid transparent !important; - border-right: 8px solid transparent !important; - border-top: 8px solid; - bottom: -7px; -} -.tooltipster-arrow-top .tooltipster-arrow-border, .tooltipster-arrow-top-right .tooltipster-arrow-border, .tooltipster-arrow-top-left .tooltipster-arrow-border -{ - border-left: 9px solid transparent !important; - border-right: 9px solid transparent !important; - border-top: 9px solid; - bottom: -7px; -} -.tooltipster-arrow-bottom span, .tooltipster-arrow-bottom-right span, .tooltipster-arrow-bottom-left span -{ - border-bottom: 8px solid; - border-left: 8px solid transparent !important; - border-right: 8px solid transparent !important; - top: -7px; -} -.tooltipster-arrow-bottom .tooltipster-arrow-border, .tooltipster-arrow-bottom-right .tooltipster-arrow-border, .tooltipster-arrow-bottom-left .tooltipster-arrow-border -{ - border-bottom: 9px solid; - border-left: 9px solid transparent !important; - border-right: 9px solid transparent !important; - top: -7px; -} -.tooltipster-arrow-top span, .tooltipster-arrow-top .tooltipster-arrow-border, .tooltipster-arrow-bottom span, .tooltipster-arrow-bottom .tooltipster-arrow-border -{ - left: 0; - margin: 0 auto; - right: 0; -} -.tooltipster-arrow-top-left span, .tooltipster-arrow-bottom-left span -{ - left: 6px; -} -.tooltipster-arrow-top-left .tooltipster-arrow-border, .tooltipster-arrow-bottom-left .tooltipster-arrow-border -{ - left: 5px; -} -.tooltipster-arrow-top-right span, .tooltipster-arrow-bottom-right span -{ - right: 6px; -} -.tooltipster-arrow-top-right .tooltipster-arrow-border, .tooltipster-arrow-bottom-right .tooltipster-arrow-border -{ - right: 5px; -} -.tooltipster-arrow-left span, .tooltipster-arrow-left .tooltipster-arrow-border -{ - border-bottom: 8px solid transparent !important; - border-left: 8px solid; - border-top: 8px solid transparent !important; - margin-top: -7px; - right: -7px; - top: 50%; -} -.tooltipster-arrow-left .tooltipster-arrow-border -{ - border-bottom: 9px solid transparent !important; - border-left: 9px solid; - border-top: 9px solid transparent !important; - margin-top: -8px; -} -.tooltipster-arrow-right span, .tooltipster-arrow-right .tooltipster-arrow-border -{ - border-bottom: 8px solid transparent !important; - border-right: 8px solid; - border-top: 8px solid transparent !important; - left: -7px; - margin-top: -7px; - top: 50%; -} -.tooltipster-arrow-right .tooltipster-arrow-border -{ - border-bottom: 9px solid transparent !important; - border-right: 9px solid; - border-top: 9px solid transparent !important; - margin-top: -8px; -} -.tooltipster-fade -{ - moz-transition-property: opacity; - ms-transition-property: opacity; - opacity: 0; - o-transition-property: opacity; - transition-property: opacity; - webkit-transition-property: opacity; -} -.tooltipster-fade-show -{ - opacity: 1; -} -.tooltipster-grow -{ - moz-transform: scale(0,0); - moz-transition-property: -moz-transform; - ms-transform: scale(0,0); - ms-transition-property: -ms-transform; - o-transform: scale(0,0); - o-transition-property: -o-transform; - transform: scale(0,0); - transition-property: transform; - webkit-backface-visibility: hidden; - webkit-transform: scale(0,0); - webkit-transition-property: -webkit-transform; -} -.tooltipster-grow-show -{ - moz-transform: scale(1,1); - moz-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15); - ms-transform: scale(1,1); - ms-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15); - o-transform: scale(1,1); - o-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15); - transform: scale(1,1); - transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15); - webkit-transform: scale(1,1); - webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1); - webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15); -} -.tooltipster-swing -{ - moz-transform: rotateZ(4deg); - moz-transition-property: -moz-transform; - ms-transform: rotateZ(4deg); - ms-transition-property: -ms-transform; - opacity: 0; - o-transform: rotateZ(4deg); - o-transition-property: -o-transform; - transform: rotateZ(4deg); - transition-property: transform; - webkit-transform: rotateZ(4deg); - webkit-transition-property: -webkit-transform, opacity; -} -.tooltipster-swing-show -{ - moz-transform: rotateZ(0deg); - moz-transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 2.4); - ms-transform: rotateZ(0deg); - ms-transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 2.4); - opacity: 1; - o-transform: rotateZ(0deg); - o-transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 2.4); - transform: rotateZ(0deg); - transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 2.4); - webkit-transform: rotateZ(0deg); - webkit-transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 1); - webkit-transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 2.4); -} -.tooltipster-fall -{ - moz-transition-property: top; - moz-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15); - ms-transition-property: top; - ms-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15); - o-transition-property: top; - o-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15); - top: 0; - transition-property: top; - transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15); - webkit-transition-property: top; - webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1); - webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15); -} -.tooltipster-fall-show -{ -} -.tooltipster-fall.tooltipster-dying -{ - moz-transition-property: all; - ms-transition-property: all; - opacity: 0; - o-transition-property: all; - top: 0px !important; - transition-property: all; - webkit-transition-property: all; -} -.tooltipster-slide -{ - left: -40px; - moz-transition-property: left; - moz-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15); - ms-transition-property: left; - ms-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15); - o-transition-property: left; - o-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15); - transition-property: left; - transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15); - webkit-transition-property: left; - webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1); - webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15); -} -.tooltipster-slide.tooltipster-slide-show -{ -} -.tooltipster-slide.tooltipster-dying -{ - left: 0px !important; - moz-transition-property: all; - ms-transition-property: all; - opacity: 0; - o-transition-property: all; - transition-property: all; - webkit-transition-property: all; -} -.tooltipster-content-changing -{ - moz-transform: scale(1.1, 1.1); - ms-transform: scale(1.1, 1.1); - opacity: 0.5; - o-transform: scale(1.1, 1.1); - transform: scale(1.1, 1.1); - webkit-transform: scale(1.1, 1.1); -} -.mlg.dashicons-search:before -{ - color: #3548C8; - content: "\f179"; - display: inline-block; - font: normal 18px/1 'dashicons'; - height: 16px; - margin-top: 0; - webkit-font-smoothing: antialiased; - width: 16px; - cursor: help; -} -.ui-tabs.ui-tabs-vertical { - padding: 0; - /* max-width: 64.5em; */ -} -.ui-tabs.ui-tabs-vertical.ui-widget-content { -border: 0; -background: none; -color: #222; -} -.ui-tabs.ui-tabs-vertical .ui-widget-header { - border: none; -} -.ui-tabs.ui-tabs-vertical .ui-tabs-nav { - float: left; - width: 10em; - background: #CCC; - border-radius: 4px 0 0 4px; - border-right: 1px solid gray; - padding-right: 20px; - padding-top: 7px; - padding-left: 0; -} -#meeting-list-tabs.ui-tabs.ui-tabs-vertical .ui-tabs-nav li { - clear: left; - width: 100%; - margin: 0.2em 0; - /* border: 1px solid gray; */ - /* border-width: 1px 1px 1px 1px; */ - /* border-radius: 4px 4px 4px 4px; */ - overflow: hidden; - position: relative; - right: -2px; - z-index: 2; -} -#meeting-list-tabs.ui-corner-all, #meeting-list-tabs.ui-corner-top, #meeting-list-tabs.ui-corner-right, #meeting-list-tabs.ui-corner-tr { - border-top-right-radius: 0px !important; -} -#meeting-list-tabs.ui-corner-all, #meeting-list-tabs.ui-corner-top, #meeting-list-tabs.ui-corner-left, #meeting-list-tabs.ui-corner-tl { - border-top-left-radius: 0px !important; -} -#meeting-list-tabs.ui-tabs.ui-tabs-vertical .ui-tabs-nav li a { - display: block; - width: 100% !important; - padding: 0.6em 1em !important; - color: white !important; -} -#meeting-list-tabs.ui-tabs.ui-tabs-vertical .ui-tabs-nav li a:hover { - cursor: pointer !important; - background-color: #0A8ADD !important; - color: #555 !important; -} -#meeting-list-tabs.ui-tabs.ui-tabs-vertical .ui-tabs-nav li.ui-tabs-active { -margin-bottom: 0.2em !important; -padding-bottom: 0 !important; -border-right: 1px solid #FFF !important; -background-color: #0A8ADD !important; -} -#meeting-list-tabs.ui-tabs.ui-tabs-vertical .ui-tabs-nav li.ui-tabs-active a { -color: #000; -} -#meeting-list-tabs.ui-tabs.ui-tabs-vertical .ui-tabs-nav li:last-child { - margin-bottom: 10px; -} -#meeting-list-tabs.ui-tabs.ui-tabs-vertical .ui-tabs-panel { - float: left; - width: 50%; - border-left: 0; - border-radius: 0; - position: relative; - left: -1px; -} -#meeting-list-tabs.ui-tabs.ui-tabs-vertical.ui-tabs-panel { -padding: 6px 3px !important; -} -#meeting-list-tabs.ui-state-default, #meeting-list-tabs.ui-widget-content .ui-state-default, #meeting-list-tabs.ui-widget-header .ui-state-default { -border: 1px solid #E5E5E5; -background: #0A61AD; -font-weight: normal; -color: #FFF; -} -#meeting-list-tabs .ui-accordion .ui-accordion-content { - border: 1px solid #E5E5E5 !important; - background-color: #FFF !important; - border-bottom-width: 0; -} -#meeting-list-tabs hr { -border: 0; -border-top: 1px solid #EEE; -border-bottom: 0; -} -input.bmlt-input {width: 60% !important;}input.borough-by-suffix, input.county-by-suffix {width: 20% !important;}input.bmlt-input-link { -width: 80% !important; -} -input.bmlt-input-field { -width: 4em !important; -} -.mce-listbox button { - text-align: left; - padding-right: 20px !important; - position: relative; -} -/* -.mce-menu-item-normal.mce-active .mce-text { - background-color: #FFF !important; - color: #333 !important; -} -.mce-menu-item-normal.mce-active .mce-text:hover { - background-color: #0073AA !important; - color: #fff !important; -} -.mce-menu-item-normal.mce-active { - background-color: #FFF !important; - color: #333 !important; -} -.mce-menu-item-normal.mce-active:hover { - background-color: #0073AA !important; - color: #fff !important; -} */ -.mce-menu-item-normal.mce-active:hover .mce-text, .mce-menu-item-normal.mce-active:hover .mce-ico { - color: #FFF !important; -} -.mce-menu-item-normal.mce-active .mce-text { - color: #333 !important; -} -.mce-menu-item-normal.mce-active { - background-color: #FFF !important; -} -.mce-menu-item:hover, .mce-menu-item.mce-selected, .mce-menu-item:focus { - text-decoration: none; - color: #FFF !important; - background-color: #2D8AC7 !important; -} -.mce-menu-item-normal.mce-active:focus .mce-text, .mce-menu-item-normal.mce-active:focus .mce-ico { - color: #FFF !important; -} -h3.help-accordian { background-color: #F5F5F5 !important; color: #000 !important; font-weight: 400 !important; border: 1px solid #E5E5E5 !important;} -.help-accordian .ui-icon { background-color: #0A8ADD; } -.videocontent { - width:100%; - max-width: 100%; - margin: 0 auto; - overflow: hidden !important; - padding: 0 !important; -} -.connecting { - position: fixed; - left: 0px; - top: 0px; - width: 100%; - height: 100%; - z-index: 9999; - background: url('images/connecting.gif') 50% 50% no-repeat; -} -.saving { - display:none; - position: fixed; - left: 0px; - top: 0px; - width: 100%; - height: 100%; - z-index: 9999; - background: url('images/saving.gif') 50% 50% no-repeat; -} -select.service_body_select { - width: 62%; - max-width: 62%; -} -#meeting-list-tabs #poststuff h2 { - font-size: 22px; - padding: 0 0 3px !important; -} -#meeting-list-tabs .ui-widget, #meeting-list-tabs.ui-widget { - font-family: "Open Sans",sans-serif !important; -} -.ui-dialog-titlebar-close { - display: none; -} -.ui-icon, .ui-widget-content .ui-icon { - /* display: none !important; */ -} -.extra_meetings_label label { - vertical-align: top; -} -.extra_meetings_label { - margin-top: 10px; -} -.exactCenter { width:800px; height:800px; position: fixed; top: 50%; left: 50%; margin-top: -100px; margin-left: -100px; } -#extra_meetings * { - font-family: 'Courier New', Courier, monospace !important; -} -.chosen-container-multi .chosen-choices li.search-field input[type=text] { - width: 100% !important; -} -.chosen-container-multi * { - font-family: 'Courier New', Courier, monospace; -} -.chosen-container-multi .chosen-choices li.search-field input[type=text] { - font-family: "Open Sans",sans-serif !important; -} +.wpbody-content { + margin-top: 0; + margin-left: 0; + margin-right: 0; + height: 100%; + width: 100%; +} + +#tallyBannerContainer { + background-image: url('images/banner_rails.png'); + background-repeat: repeat-x; + background-size: 15% 100%; + display: block; + height: 15%; + width: auto; +} + +img#tallyBannerImage { + display: block; + margin: auto; + height: 100%; + width: auto; +} + +/* Portrait */ +@media only screen +and (min-device-width: 320px) +and (max-device-width: 480px) +and (-webkit-min-device-pixel-ratio: 2) +and (orientation: portrait) { + #tallyBannerContainer { + background-size: 12% 100%; + height: 12%; + } +} + +.ui-accordion .ui-accordion-icons { + padding-left: 2.2em !important; +} +img.box-description { + margin: 0px 10px 0px 10px; + cursor: pointer; +} +#basicModal{ + display:none; +} +.help-video { + background-color:#fff; + border-radius:15px; + color:#000; + display:none; + padding:20px; + min-width:400px; + min-height: 180px; +} +.b-close, .bClose { +border-radius: 7px 7px 7px 7px; +box-shadow: none; +font: bold 111% sans-serif; +padding: 0 6px 0px; +position: absolute; +right: 4px; +top: 2px; +background-color: #2B91AF; +border-radius: 10px; +box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3); +color: #FFF; +cursor: pointer; +display: inline-block; +/* padding: 10px 20px; */ +text-align: center; +text-decoration: none; +} +#TB_window { +/* min-width:500px!important; */ +} +.mejs-container { +/* height: 650px !important; */ +position: relative; +background: #000; +font-family: Helvetica,Arial; +text-align: left; +vertical-align: top; +text-indent: 0; +height: 100% !important; +/* top:20px; */ +/* left:20px; */ +overflow: hidden !important; +} +#meeting-list-tabs { +background-image: none; +} +#meeting-list-tabs .postbox, #meeting-list-tabs .stuffbox { +margin-bottom: 10px; +padding: 0; +line-height: 1; +} +#meeting-list-tabs #poststuff { +padding-top: 0px; +/* min-width: 763px; */ +} +.bmlt-heading-h2 +{ + background-color: black; + color: white; + font-weight: bold; + margin-top: 20px; + padding-bottom: 2pt; + padding-top: 2pt; + text-align: center; +} +div#meeting-list-tabs-wrapper p { + font-size: 13px; +} +div#meeting-list-tabs-wrapper li { + font-size: 13px; +} +#meeting-list-tabs h3 { + font-size: 16px; + font-weight: 500; + color: #0A61AD; +} +#meeting-list-tabs .icon-forward { +margin-top: 1px; +color: #FFF; +float: right; +margin-right: 20px; +} +#meeting-list-tabs .icon-question2 { +margin-top: 1px; +color: #FFF; +margin-left: 5px; +} +#meeting-list-tabs .icon-question2:before { + content: "\e6b7"; +} +#meeting-list-tabs .icon-forward:before { + content: "\e63e"; +} +#meeting-list-tabs .hide { + display: none !important; +} + +#meeting-list-tabs input.readonly, #meeting-list-tabs input[readonly] { +border-color: #DDD !important; +box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.07) !important; +/* max-width: 100% !important; */ +background-color: #EEE !important; +} +/* =WordPress Core +-------------------------------------------------------------- */ +#meeting-list-tabs body:waiting * { + cursor: progress; +} +#meeting-list-tabs strong, #meeting-list-tabs b { +font-weight: 600; +} + +#meeting-list-tabs { + /* background: #FFF; */ +} + +.hide { + display: none !important; +} + +.alignnone { + margin: 5px 20px 20px 0; +} + +.aligncenter img, +.aligncenter, +div.aligncenter { + display: block !important; + margin: 5px auto 5px auto !important; +} + +.alignright { + float:right; + margin: 5px 0 20px 20px; +} + +.alignleft { + float: left; + margin: 5px 20px 20px 0; +} + +.aligncenter { + display: block; + margin: 5px auto 5px auto; +} + +a img.alignright { + float: right; + margin: 5px 0 20px 20px; +} + +a img.alignnone { + margin: 5px 20px 20px 0; +} + +a img.alignleft { + float: left; + margin: 5px 20px 20px 0; +} + +a img.aligncenter { + display: block; + margin-left: auto; + margin-right: auto +} + +.wp-caption { + background: #fff; + border: 1px solid #f0f0f0; + max-width: 96%; /* Image does not overflow the content area */ + padding: 5px 3px 10px; + text-align: center; +} + +.wp-caption.alignnone { + margin: 5px 20px 20px 0; +} + +.wp-caption.alignleft { + margin: 5px 20px 20px 0; +} + +.wp-caption.alignright { + margin: 5px 0 20px 20px; +} + +.wp-caption img { + border: 0 none; + height: auto; + margin: 0; + max-width: 98.5%; + padding: 0; + width: auto; +} + +#meeting-list-tabs .wp-caption p.wp-caption-text { + font-size: 11px; + line-height: 17px; + margin: 0; + padding: 0 4px 5px; +} +#meeting-list-tabs tabs-nohdr { + padding: 0px; + background: none; + border-width: 0px; +} +#meeting-list-tabs .ui-tabs-panel { + padding: 10px 3px !important; +} +#meeting-list-tabs .ui-widget-header { +border: 0; +background: rgba(0, 0, 0, 0); +} +#meeting-list-tabs input[class=mlg] + label { + color: #222 !important; +} +#meeting-list-tabs input[class=mlg]:checked+label { + color: #0A61AD !important; + font-weight: bold !important; +} +/* #meeting-list-tabs input:checked + span > label { + color: #863B3B !important; + font-weight: bold !important; + background-color: #F0F8FF; +} */ +.meeting_template_span { +width:410px; +vertical-align: top; +border: solid 1px #D5D5D5; +padding: 10px 15px; +margin-left: 5px; +margin-bottom: 10px; +display: -webkit-inline-box;" +color: #999; +} +#meeting-list-tabs input:checked + span { + /* background-color: #008000; */ + /* color: #fff; */ + border-color: #000 !important; + color: #000; +} +input:checked ~ td > label { + color: #0A61AD !important; + font-weight: bold !important; +} +#meeting-list-tabs h2 { +font-size: 22px; +} +.tooltipster-noir +{ + background: #F5F5F5; + border: 3px solid #2c2c2c; + border-radius: 0px; + color: #2c2c2c; +} +.tooltipster-noir .tooltipster-content +{ + /* font-family: 'Georgia', serif; */ + font-size: 13px; + line-height: 16px; + padding: 0px 20px; +} +.tooltipster-default +{ + background: #888888; + border: 2px solid #111; + border-radius: 5px; + color: #fff; +} +.tooltipster-default .tooltipster-content +{ + /* font-family: Arial, sans-serif; */ + font-size: 13px; + line-height: 16px; + overflow: hidden; + padding: 8px 8px; +} +.tooltipster-default .tooltipster-arrow .tooltipster-arrow-border +{ +} +.tooltipster-icon { + cursor: help; + margin-left: 10px; + background: url("images/help-image2.png") no-repeat; + color: rgba(0, 0, 0, 0); + padding-right: 5px; +} +.tooltipster-base +{ + font-size: 0; + left: 0; + line-height: 0; + overflow: visible; + padding: 0; + pointer-events: none; + position: absolute; + top: 0; + width: auto; + z-index: 9999999; +} +.tooltipster-base .tooltipster-content +{ + overflow: hidden; +} +.tooltipster-arrow +{ + display: block; + height: 100%; + left: 0; + position: absolute; + text-align: center; + top: 0; + width: 100%; + z-index: -1; +} +.tooltipster-arrow span, .tooltipster-arrow-border +{ + display: block; + height: 0; + position: absolute; + width: 0; +} +.tooltipster-arrow-top span, .tooltipster-arrow-top-right span, .tooltipster-arrow-top-left span +{ + border-left: 8px solid transparent !important; + border-right: 8px solid transparent !important; + border-top: 8px solid; + bottom: -7px; +} +.tooltipster-arrow-top .tooltipster-arrow-border, .tooltipster-arrow-top-right .tooltipster-arrow-border, .tooltipster-arrow-top-left .tooltipster-arrow-border +{ + border-left: 9px solid transparent !important; + border-right: 9px solid transparent !important; + border-top: 9px solid; + bottom: -7px; +} +.tooltipster-arrow-bottom span, .tooltipster-arrow-bottom-right span, .tooltipster-arrow-bottom-left span +{ + border-bottom: 8px solid; + border-left: 8px solid transparent !important; + border-right: 8px solid transparent !important; + top: -7px; +} +.tooltipster-arrow-bottom .tooltipster-arrow-border, .tooltipster-arrow-bottom-right .tooltipster-arrow-border, .tooltipster-arrow-bottom-left .tooltipster-arrow-border +{ + border-bottom: 9px solid; + border-left: 9px solid transparent !important; + border-right: 9px solid transparent !important; + top: -7px; +} +.tooltipster-arrow-top span, .tooltipster-arrow-top .tooltipster-arrow-border, .tooltipster-arrow-bottom span, .tooltipster-arrow-bottom .tooltipster-arrow-border +{ + left: 0; + margin: 0 auto; + right: 0; +} +.tooltipster-arrow-top-left span, .tooltipster-arrow-bottom-left span +{ + left: 6px; +} +.tooltipster-arrow-top-left .tooltipster-arrow-border, .tooltipster-arrow-bottom-left .tooltipster-arrow-border +{ + left: 5px; +} +.tooltipster-arrow-top-right span, .tooltipster-arrow-bottom-right span +{ + right: 6px; +} +.tooltipster-arrow-top-right .tooltipster-arrow-border, .tooltipster-arrow-bottom-right .tooltipster-arrow-border +{ + right: 5px; +} +.tooltipster-arrow-left span, .tooltipster-arrow-left .tooltipster-arrow-border +{ + border-bottom: 8px solid transparent !important; + border-left: 8px solid; + border-top: 8px solid transparent !important; + margin-top: -7px; + right: -7px; + top: 50%; +} +.tooltipster-arrow-left .tooltipster-arrow-border +{ + border-bottom: 9px solid transparent !important; + border-left: 9px solid; + border-top: 9px solid transparent !important; + margin-top: -8px; +} +.tooltipster-arrow-right span, .tooltipster-arrow-right .tooltipster-arrow-border +{ + border-bottom: 8px solid transparent !important; + border-right: 8px solid; + border-top: 8px solid transparent !important; + left: -7px; + margin-top: -7px; + top: 50%; +} +.tooltipster-arrow-right .tooltipster-arrow-border +{ + border-bottom: 9px solid transparent !important; + border-right: 9px solid; + border-top: 9px solid transparent !important; + margin-top: -8px; +} +.tooltipster-fade +{ + moz-transition-property: opacity; + ms-transition-property: opacity; + opacity: 0; + o-transition-property: opacity; + transition-property: opacity; + webkit-transition-property: opacity; +} +.tooltipster-fade-show +{ + opacity: 1; +} +.tooltipster-grow +{ + moz-transform: scale(0,0); + moz-transition-property: -moz-transform; + ms-transform: scale(0,0); + ms-transition-property: -ms-transform; + o-transform: scale(0,0); + o-transition-property: -o-transform; + transform: scale(0,0); + transition-property: transform; + webkit-backface-visibility: hidden; + webkit-transform: scale(0,0); + webkit-transition-property: -webkit-transform; +} +.tooltipster-grow-show +{ + moz-transform: scale(1,1); + moz-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15); + ms-transform: scale(1,1); + ms-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15); + o-transform: scale(1,1); + o-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15); + transform: scale(1,1); + transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15); + webkit-transform: scale(1,1); + webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1); + webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15); +} +.tooltipster-swing +{ + moz-transform: rotateZ(4deg); + moz-transition-property: -moz-transform; + ms-transform: rotateZ(4deg); + ms-transition-property: -ms-transform; + opacity: 0; + o-transform: rotateZ(4deg); + o-transition-property: -o-transform; + transform: rotateZ(4deg); + transition-property: transform; + webkit-transform: rotateZ(4deg); + webkit-transition-property: -webkit-transform, opacity; +} +.tooltipster-swing-show +{ + moz-transform: rotateZ(0deg); + moz-transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 2.4); + ms-transform: rotateZ(0deg); + ms-transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 2.4); + opacity: 1; + o-transform: rotateZ(0deg); + o-transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 2.4); + transform: rotateZ(0deg); + transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 2.4); + webkit-transform: rotateZ(0deg); + webkit-transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 1); + webkit-transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 2.4); +} +.tooltipster-fall +{ + moz-transition-property: top; + moz-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15); + ms-transition-property: top; + ms-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15); + o-transition-property: top; + o-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15); + top: 0; + transition-property: top; + transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15); + webkit-transition-property: top; + webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1); + webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15); +} +.tooltipster-fall-show +{ +} +.tooltipster-fall.tooltipster-dying +{ + moz-transition-property: all; + ms-transition-property: all; + opacity: 0; + o-transition-property: all; + top: 0px !important; + transition-property: all; + webkit-transition-property: all; +} +.tooltipster-slide +{ + left: -40px; + moz-transition-property: left; + moz-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15); + ms-transition-property: left; + ms-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15); + o-transition-property: left; + o-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15); + transition-property: left; + transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15); + webkit-transition-property: left; + webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1); + webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15); +} +.tooltipster-slide.tooltipster-slide-show +{ +} +.tooltipster-slide.tooltipster-dying +{ + left: 0px !important; + moz-transition-property: all; + ms-transition-property: all; + opacity: 0; + o-transition-property: all; + transition-property: all; + webkit-transition-property: all; +} +.tooltipster-content-changing +{ + moz-transform: scale(1.1, 1.1); + ms-transform: scale(1.1, 1.1); + opacity: 0.5; + o-transform: scale(1.1, 1.1); + transform: scale(1.1, 1.1); + webkit-transform: scale(1.1, 1.1); +} +.mlg.dashicons-search:before +{ + color: #3548C8; + content: "\f179"; + display: inline-block; + font: normal 18px/1 'dashicons'; + height: 16px; + margin-top: 0; + webkit-font-smoothing: antialiased; + width: 16px; + cursor: help; +} +.ui-tabs.ui-tabs-vertical { + padding: 0; + /* max-width: 64.5em; */ +} +.ui-tabs.ui-tabs-vertical.ui-widget-content { +border: 0; +background: none; +color: #222; +} +.ui-tabs.ui-tabs-vertical .ui-widget-header { + border: none; +} +.ui-tabs.ui-tabs-vertical .ui-tabs-nav { + float: left; + width: 10em; + background: #CCC; + border-radius: 4px 0 0 4px; + border-right: 1px solid gray; + padding-right: 20px; + padding-top: 7px; + padding-left: 0; +} +#meeting-list-tabs.ui-tabs.ui-tabs-vertical .ui-tabs-nav li { + clear: left; + width: 100%; + margin: 0.2em 0; + /* border: 1px solid gray; */ + /* border-width: 1px 1px 1px 1px; */ + /* border-radius: 4px 4px 4px 4px; */ + overflow: hidden; + position: relative; + right: -2px; + z-index: 2; +} +#meeting-list-tabs.ui-corner-all, #meeting-list-tabs.ui-corner-top, #meeting-list-tabs.ui-corner-right, #meeting-list-tabs.ui-corner-tr { + border-top-right-radius: 0px !important; +} +#meeting-list-tabs.ui-corner-all, #meeting-list-tabs.ui-corner-top, #meeting-list-tabs.ui-corner-left, #meeting-list-tabs.ui-corner-tl { + border-top-left-radius: 0px !important; +} +#meeting-list-tabs.ui-tabs.ui-tabs-vertical .ui-tabs-nav li a { + display: block; + width: 100% !important; + padding: 0.6em 1em !important; + color: white !important; +} +#meeting-list-tabs.ui-tabs.ui-tabs-vertical .ui-tabs-nav li a:hover { + cursor: pointer !important; + background-color: #0A8ADD !important; + color: #555 !important; +} +#meeting-list-tabs.ui-tabs.ui-tabs-vertical .ui-tabs-nav li.ui-tabs-active { +margin-bottom: 0.2em !important; +padding-bottom: 0 !important; +border-right: 1px solid #FFF !important; +background-color: #0A8ADD !important; +} +#meeting-list-tabs.ui-tabs.ui-tabs-vertical .ui-tabs-nav li.ui-tabs-active a { +color: #000; +} +#meeting-list-tabs.ui-tabs.ui-tabs-vertical .ui-tabs-nav li:last-child { + margin-bottom: 10px; +} +#meeting-list-tabs.ui-tabs.ui-tabs-vertical .ui-tabs-panel { + float: left; + width: 50%; + border-left: 0; + border-radius: 0; + position: relative; + left: -1px; +} +#meeting-list-tabs.ui-tabs.ui-tabs-vertical.ui-tabs-panel { +padding: 6px 3px !important; +} +#meeting-list-tabs.ui-state-default, #meeting-list-tabs.ui-widget-content .ui-state-default, #meeting-list-tabs.ui-widget-header .ui-state-default { +border: 1px solid #E5E5E5; +background: #0A61AD; +font-weight: normal; +color: #FFF; +} +#meeting-list-tabs .ui-accordion .ui-accordion-content { + border: 1px solid #E5E5E5 !important; + background-color: #FFF !important; + border-bottom-width: 0; +} +#meeting-list-tabs hr { +border: 0; +border-top: 1px solid #EEE; +border-bottom: 0; +} +input.bmlt-input {width: 60% !important;}input.borough-by-suffix, input.county-by-suffix {width: 20% !important;}input.bmlt-input-link { +width: 80% !important; +} +input.bmlt-input-field { +width: 4em !important; +} +.mce-listbox button { + text-align: left; + padding-right: 20px !important; + position: relative; +} +/* +.mce-menu-item-normal.mce-active .mce-text { + background-color: #FFF !important; + color: #333 !important; +} +.mce-menu-item-normal.mce-active .mce-text:hover { + background-color: #0073AA !important; + color: #fff !important; +} +.mce-menu-item-normal.mce-active { + background-color: #FFF !important; + color: #333 !important; +} +.mce-menu-item-normal.mce-active:hover { + background-color: #0073AA !important; + color: #fff !important; +} */ +.mce-menu-item-normal.mce-active:hover .mce-text, .mce-menu-item-normal.mce-active:hover .mce-ico { + color: #FFF !important; +} +.mce-menu-item-normal.mce-active .mce-text { + color: #333 !important; +} +.mce-menu-item-normal.mce-active { + background-color: #FFF !important; +} +.mce-menu-item:hover, .mce-menu-item.mce-selected, .mce-menu-item:focus { + text-decoration: none; + color: #FFF !important; + background-color: #2D8AC7 !important; +} +.mce-menu-item-normal.mce-active:focus .mce-text, .mce-menu-item-normal.mce-active:focus .mce-ico { + color: #FFF !important; +} +h3.help-accordian { background-color: #F5F5F5 !important; color: #000 !important; font-weight: 400 !important; border: 1px solid #E5E5E5 !important;} +.help-accordian .ui-icon { background-color: #0A8ADD; } +.videocontent { + width:100%; + max-width: 100%; + margin: 0 auto; + overflow: hidden !important; + padding: 0 !important; +} +.connecting { + position: fixed; + left: 0px; + top: 0px; + width: 100%; + height: 100%; + z-index: 9999; + background: url('images/connecting.gif') 50% 50% no-repeat; +} +.saving { + display:none; + position: fixed; + left: 0px; + top: 0px; + width: 100%; + height: 100%; + z-index: 9999; + background: url('images/saving.gif') 50% 50% no-repeat; +} +select.service_body_select { + width: 62%; + max-width: 62%; +} +#meeting-list-tabs #poststuff h2 { + font-size: 22px; + padding: 0 0 3px !important; +} +#meeting-list-tabs .ui-widget, #meeting-list-tabs.ui-widget { + font-family: "Open Sans",sans-serif !important; +} +.ui-dialog-titlebar-close { + display: none; +} +.ui-icon, .ui-widget-content .ui-icon { + /* display: none !important; */ +} +.extra_meetings_label label { + vertical-align: top; +} +.extra_meetings_label { + margin-top: 10px; +} +.exactCenter { width:800px; height:800px; position: fixed; top: 50%; left: 50%; margin-top: -100px; margin-left: -100px; } +#extra_meetings * { + font-family: 'Courier New', Courier, monospace !important; +} +.chosen-container-multi .chosen-choices li.search-field input[type=text] { + width: 100% !important; +} +.chosen-container-multi * { + font-family: 'Courier New', Courier, monospace; +} +.chosen-container-multi .chosen-choices li.search-field input[type=text] { + font-family: "Open Sans",sans-serif !important; +} diff --git a/css/chosen-sprite.png b/admin/css/chosen-sprite.png similarity index 100% rename from css/chosen-sprite.png rename to admin/css/chosen-sprite.png diff --git a/css/chosen-sprite@2x.png b/admin/css/chosen-sprite@2x.png similarity index 100% rename from css/chosen-sprite@2x.png rename to admin/css/chosen-sprite@2x.png diff --git a/css/chosen.min.css b/admin/css/chosen.min.css similarity index 100% rename from css/chosen.min.css rename to admin/css/chosen.min.css diff --git a/css/editor-style.css b/admin/css/editor-style.css similarity index 86% rename from css/editor-style.css rename to admin/css/editor-style.css index c965c87..ac082ec 100644 --- a/css/editor-style.css +++ b/admin/css/editor-style.css @@ -1,80 +1,80 @@ -/* =WordPress Core --------------------------------------------------------------- */ -body#tinymce.wp-editor { - font: 300 100%/1.0 "Oxygen", "Helvetica Neue", "Arial", sans-serif; - background: #FFFFFF; - color: #000000; -} -.alignnone { - margin: 5px 20px 20px 0; -} - -.aligncenter img, -.aligncenter, -div.aligncenter { - display: block !important; - margin-left: auto !important; - margin-right: auto !important; -} - -.alignright { - float:right; -} - -.alignleft { - float: left; -} - -a img.alignright { - float: right; -} - -a img.alignnone { - margin: 0; -} - -a img.alignleft { - float: left; -} - -a img.aligncenter { - display: block; - margin-left: auto; - margin-right: auto -} - -.wp-caption { - background: #fff; - border: 1px solid #f0f0f0; - max-width: 96%; /* Image does not overflow the content area */ - padding: 5px 3px 10px; - text-align: center; -} - -.wp-caption.alignnone { - margin: 5px 20px 20px 0; -} - -.wp-caption.alignleft { - margin: 5px 20px 20px 0; -} - -.wp-caption.alignright { - margin: 5px 0 20px 20px; -} - -.wp-caption img { - border: 0 none; - height: auto; - margin: 0; - max-width: 98.5%; - padding: 0; - width: auto; -} - -.wp-caption p.wp-caption-text { - font-size: 11px; - line-height: 17px; - margin: 0; - padding: 0 4px 5px; +/* =WordPress Core +-------------------------------------------------------------- */ +body#tinymce.wp-editor { + font: 300 100%/1.0 "Oxygen", "Helvetica Neue", "Arial", sans-serif; + background: #FFFFFF; + color: #000000; +} +.alignnone { + margin: 5px 20px 20px 0; +} + +.aligncenter img, +.aligncenter, +div.aligncenter { + display: block !important; + margin-left: auto !important; + margin-right: auto !important; +} + +.alignright { + float:right; +} + +.alignleft { + float: left; +} + +a img.alignright { + float: right; +} + +a img.alignnone { + margin: 0; +} + +a img.alignleft { + float: left; +} + +a img.aligncenter { + display: block; + margin-left: auto; + margin-right: auto +} + +.wp-caption { + background: #fff; + border: 1px solid #f0f0f0; + max-width: 96%; /* Image does not overflow the content area */ + padding: 5px 3px 10px; + text-align: center; +} + +.wp-caption.alignnone { + margin: 5px 20px 20px 0; +} + +.wp-caption.alignleft { + margin: 5px 20px 20px 0; +} + +.wp-caption.alignright { + margin: 5px 0 20px 20px; +} + +.wp-caption img { + border: 0 none; + height: auto; + margin: 0; + max-width: 98.5%; + padding: 0; + width: auto; +} + +.wp-caption p.wp-caption-text { + font-size: 11px; + line-height: 17px; + margin: 0; + padding: 0 4px 5px; } \ No newline at end of file diff --git a/css/images/banner.png b/admin/css/images/banner.png similarity index 100% rename from css/images/banner.png rename to admin/css/images/banner.png diff --git a/css/images/banner_rails.png b/admin/css/images/banner_rails.png similarity index 100% rename from css/images/banner_rails.png rename to admin/css/images/banner_rails.png diff --git a/css/images/connecting.gif b/admin/css/images/connecting.gif similarity index 100% rename from css/images/connecting.gif rename to admin/css/images/connecting.gif diff --git a/css/images/help-image2.png b/admin/css/images/help-image2.png similarity index 100% rename from css/images/help-image2.png rename to admin/css/images/help-image2.png diff --git a/css/images/saving.gif b/admin/css/images/saving.gif similarity index 100% rename from css/images/saving.gif rename to admin/css/images/saving.gif diff --git a/css/images/ui-bg_diagonals-small_25_c5ddfc_40x40.png b/admin/css/images/ui-bg_diagonals-small_25_c5ddfc_40x40.png similarity index 100% rename from css/images/ui-bg_diagonals-small_25_c5ddfc_40x40.png rename to admin/css/images/ui-bg_diagonals-small_25_c5ddfc_40x40.png diff --git a/css/images/ui-bg_diagonals-thick_20_e69700_40x40.png b/admin/css/images/ui-bg_diagonals-thick_20_e69700_40x40.png similarity index 100% rename from css/images/ui-bg_diagonals-thick_20_e69700_40x40.png rename to admin/css/images/ui-bg_diagonals-thick_20_e69700_40x40.png diff --git a/css/images/ui-bg_diagonals-thick_22_1484e6_40x40.png b/admin/css/images/ui-bg_diagonals-thick_22_1484e6_40x40.png similarity index 100% rename from css/images/ui-bg_diagonals-thick_22_1484e6_40x40.png rename to admin/css/images/ui-bg_diagonals-thick_22_1484e6_40x40.png diff --git a/css/images/ui-bg_diagonals-thick_26_2293f7_40x40.png b/admin/css/images/ui-bg_diagonals-thick_26_2293f7_40x40.png similarity index 100% rename from css/images/ui-bg_diagonals-thick_26_2293f7_40x40.png rename to admin/css/images/ui-bg_diagonals-thick_26_2293f7_40x40.png diff --git a/css/images/ui-bg_flat_0_e69700_40x100.png b/admin/css/images/ui-bg_flat_0_e69700_40x100.png similarity index 100% rename from css/images/ui-bg_flat_0_e69700_40x100.png rename to admin/css/images/ui-bg_flat_0_e69700_40x100.png diff --git a/css/images/ui-bg_flat_0_e6b900_40x100.png b/admin/css/images/ui-bg_flat_0_e6b900_40x100.png similarity index 100% rename from css/images/ui-bg_flat_0_e6b900_40x100.png rename to admin/css/images/ui-bg_flat_0_e6b900_40x100.png diff --git a/css/images/ui-bg_highlight-soft_100_f9f9f9_1x100.png b/admin/css/images/ui-bg_highlight-soft_100_f9f9f9_1x100.png similarity index 100% rename from css/images/ui-bg_highlight-soft_100_f9f9f9_1x100.png rename to admin/css/images/ui-bg_highlight-soft_100_f9f9f9_1x100.png diff --git a/css/images/ui-bg_inset-hard_100_eeeeee_1x100.png b/admin/css/images/ui-bg_inset-hard_100_eeeeee_1x100.png similarity index 100% rename from css/images/ui-bg_inset-hard_100_eeeeee_1x100.png rename to admin/css/images/ui-bg_inset-hard_100_eeeeee_1x100.png diff --git a/css/images/ui-icons_0a82eb_256x240.png b/admin/css/images/ui-icons_0a82eb_256x240.png similarity index 100% rename from css/images/ui-icons_0a82eb_256x240.png rename to admin/css/images/ui-icons_0a82eb_256x240.png diff --git a/css/images/ui-icons_0b54d5_256x240.png b/admin/css/images/ui-icons_0b54d5_256x240.png similarity index 100% rename from css/images/ui-icons_0b54d5_256x240.png rename to admin/css/images/ui-icons_0b54d5_256x240.png diff --git a/css/images/ui-icons_5fa5e3_256x240.png b/admin/css/images/ui-icons_5fa5e3_256x240.png similarity index 100% rename from css/images/ui-icons_5fa5e3_256x240.png rename to admin/css/images/ui-icons_5fa5e3_256x240.png diff --git a/css/images/ui-icons_fcdd4a_256x240.png b/admin/css/images/ui-icons_fcdd4a_256x240.png similarity index 100% rename from css/images/ui-icons_fcdd4a_256x240.png rename to admin/css/images/ui-icons_fcdd4a_256x240.png diff --git a/css/images/ui-icons_ffffff_256x240.png b/admin/css/images/ui-icons_ffffff_256x240.png similarity index 100% rename from css/images/ui-icons_ffffff_256x240.png rename to admin/css/images/ui-icons_ffffff_256x240.png diff --git a/css/jquery-ui.min.css b/admin/css/jquery-ui.min.css similarity index 100% rename from css/jquery-ui.min.css rename to admin/css/jquery-ui.min.css diff --git a/css/mpdfstyletables.css b/admin/css/mpdfstyletables.css similarity index 94% rename from css/mpdfstyletables.css rename to admin/css/mpdfstyletables.css index c84022b..7de1029 100644 --- a/css/mpdfstyletables.css +++ b/admin/css/mpdfstyletables.css @@ -1,369 +1,369 @@ -table.aligncenter { - margin-left: auto; - margin-right: auto; -} -h2 { - background-color: black; - color: white; - font-weight: bold; - margin-top: 0 !important; - margin-bottom: 1pt; - padding-bottom: 2pt; - padding-top: 2pt; - text-align: center; - /*font-family: courier;*/ -} -th { - background-color: lightgrey; - color: black; - /*font-family: arialnarrow;*/ -} -tbody { - display: table-row-group; -} -body { - /*font-family: arialnarrow;*/ - font-size: 7pt; - background-color: #ffffff00; - background: transparent; -} -.front-page-header { - /*font-family: arialnarrow;*/ -} -.front-page-content { - /*font-family: arialnarrow;*/ -} -p { - margin-bottom: 1pt; - margin-top: 0pt; - padding-bottom: 1pt; - padding-top: 0pt; -} -.meeting-data-td { - border-bottom: 1px solid #555; -} -div { - margin-bottom: 0pt; - margin-top: 0pt; - padding-bottom: 0pt; - padding-top: 0pt; -} -table { - border-collapse: collapse; - /*font-family: arialnarrow;*/ - /* font-size: 7pt; */ - - margin-bottom: 0pt; - margin-top: 0pt; -} -.helplines td { - /*font-family: arialnarrow !important; - font-family: arialnarrow;*/ - font-size: 7pt; - margin-bottom: 1pt; - margin-top: 0pt; -} -thead { - display: table-header-group; - font-size: 10pt; - font-weight: bold; - vertical-align: bottom; -} -tfoot { - font-weight: bold; - vertical-align: top; -} -thead td { - font-weight: bold; -} -tfoot td { - font-weight: bold; -} -thead td, -thead th, -tfoot td, -tfoot th { - font-variant: small-caps; -} -.headerrow td, -.headerrow th { - background-gradient: linear #b7cebd #f5f8f5 0 1 0 0.2; -} -.footerrow td, -.footerrow th { - background-gradient: linear #b7cebd #f5f8f5 0 1 0 0.2; -} -th p { - margin: 0pt; - text-align: left; -} -td p { - margin: 0pt; - text-align: left; -} -hr { - color: #999; - height: 1px; - margin-bottom: 1pt; - margin-top: 1pt; - width: 100%; -} -a { - color: #000066; - font-style: normal; - font-weight: normal; - text-decoration: underline; -} -ul { - line-height: 2.5em !important; - margin-bottom: 2em !important; - text-indent: 5mm; -} -ol { - line-height: 1em !important; - margin-bottom: 0em !important; - text-indent: 0mm; -} -li { - margin-bottom: .5em !important; -} -pre { - /*font-family: DejaVuSansMono;*/ - font-size: 9pt; - margin-bottom: 5pt; - margin-top: 5pt; -} -h1 { - border-bottom: 0.075cm solid #000000; - border-top: 0.075cm solid #000000; - color: #000066; - /*font-family: DejaVuSansCondensed;*/ - font-size: 26pt; - font-weight: normal; - margin-bottom: 6pt; - margin-top: 18pt; - page-break-after: avoid; -} -h3 { - border-bottom: 0; - border-top: 0; - color: #000000; - /*font-family: DejaVuSansCondensed;*/ - font-size: 26pt; - font-weight: normal; - margin-bottom: 6pt; - margin-top: 0pt; - page-break-after: avoid; -} -h4 { - color: #9f2b1e; - /*font-family: DejaVuSansCondensed;*/ - font-size: 13pt; - font-variant: small-caps; - margin-bottom: 7pt; - margin-collapse: collapse; - margin-top: 10pt; - page-break-after: avoid; -} -h5 { - color: #000044; - /*font-family: DejaVuSansCondensed;*/ - font-size: 11pt; - font-style: italic; - font-weight: bold; - margin-bottom: 4pt; - margin-top: 8pt; - page-break-after: avoid; -} -h6 { - color: #333333; - /*font-family: DejaVuSansCondensed;*/ - font-size: 9.5pt; - font-weight: bold; - margin-top: 6pt; - page-break-after: avoid; -} -.breadcrumb { - color: #666666; - /*font-family: DejaVuSerifCondensed;*/ - font-size: 8pt; - font-style: normal; - font-weight: bold; - margin-bottom: 6pt; - text-align: right; -} -.evenrow td, -.evenrow th { - background-color: #f5f8f5; -} -.oddrow td, -.oddrow th { - background-color: #e3ece4; -} -.bpmTopic { - background-color: #e3ece4; -} -.bpmTopicC { - background-color: #e3ece4; -} -.bpmNoLines { - background-color: #e3ece4; -} -.bpmNoLinesC { - background-color: #e3ece4; -} -.bpmClear {}.bpmClearC { - text-align: center; -} -.bpmTopnTail { - background-color: #e3ece4; - topntail: 0.02cm solid #495b4a; -} -.bpmTopnTailC { - background-color: #e3ece4; - topntail: 0.02cm solid #495b4a; -} -.bpmTopnTailClear { - topntail: 0.02cm solid #495b4a; -} -.bpmTopnTailClearC { - topntail: 0.02cm solid #495b4a; -} -.bpmTopicC td, -.bpmTopicC td p { - text-align: center; -} -.bpmNoLinesC td, -.bpmNoLinesC td p { - text-align: center; -} -.bpmClearC td, -.bpmClearC td p { - text-align: center; -} -.bpmTopnTailC td, -.bpmTopnTailC td p { - text-align: center; -} -.bpmTopnTailClearC td, -.bpmTopnTailClearC td p { - text-align: center; -} -.pmhMiddleCenter { - text-align: center; - vertical-align: middle; -} -.pmhMiddleRight { - text-align: right; - vertical-align: middle; -} -.pmhBottomCenter { - text-align: center; - vertical-align: bottom; -} -.pmhBottomRight { - text-align: right; - vertical-align: bottom; -} -.pmhTopCenter { - text-align: center; - vertical-align: top; -} -.pmhTopRight { - text-align: right; - vertical-align: top; -} -.pmhTopLeft { - text-align: left; - vertical-align: top; -} -.pmhBottomLeft { - text-align: left; - vertical-align: bottom; -} -.pmhMiddleLeft { - text-align: left; - vertical-align: middle; -} -.infobox { - background-color: #DDDDBB; - border: 1px solid #880000; - margin-top: 10pt; - text-align: center; -} -.bpmTopic td, -.bpmTopic th { - border-top: 1px solid #FFFFFF; -} -.bpmTopicC td, -.bpmTopicC th { - border-top: 1px solid #FFFFFF; -} -.bpmTopnTail td, -.bpmTopnTail th { - border-top: 1px solid #FFFFFF; -} -.bpmTopnTailC td, -.bpmTopnTailC th { - border-top: 1px solid #FFFFFF; -} -p .aligncenter img, -.aligncenter, -div.aligncenter { - text-align: center; -} -img.alignright { - display: inline; - margin: 0 0 2px 7px; - padding: 4px; -} -img.alignleft { - display: inline; - margin: 0 7px 2px 0; - padding: 4px; -} -.alignright { - float: right; -} -.alignleft { - float: left; -} -div.mpdf_toc { - /*font-family: sans;*/ - font-size: 10pt; -} -a.mpdf_toc_a { - color: black; - text-decoration: none; -} -div.mpdf_toc_level_0 { - line-height: 1.5; - margin-left: 0; - padding-right: 0; -} -span.mpdf_toc_t_level_0 { - font-weight: bold; -} -span.mpdf_toc_p_level_0 {}div.mpdf_toc_level_1 { - margin-left: 2em; - padding-right: 0; - text-indent: -2em; -} -span.mpdf_toc_t_level_1 { - font-style: normal; - font-weight: normal; -} -span.mpdf_toc_p_level_1 {}div.mpdf_toc_level_2 { - margin-left: 4em; - padding-right: 0; - text-indent: -2em; -} -span.mpdf_toc_t_level_2 {}span.mpdf_toc_p_level_2 {}div.mpdf_toc_level_2 { - line-height: 1.5; - margin-left: 0; - padding-right: 0; -} -span.mpdf_toc_t_level_2 { - font-weight: normal; -} +table.aligncenter { + margin-left: auto; + margin-right: auto; +} +h2 { + background-color: black; + color: white; + font-weight: bold; + margin-top: 0 !important; + margin-bottom: 1pt; + padding-bottom: 2pt; + padding-top: 2pt; + text-align: center; + /*font-family: courier;*/ +} +th { + background-color: lightgrey; + color: black; + /*font-family: arialnarrow;*/ +} +tbody { + display: table-row-group; +} +body { + /*font-family: arialnarrow;*/ + font-size: 7pt; + background-color: #ffffff00; + background: transparent; +} +.front-page-header { + /*font-family: arialnarrow;*/ +} +.front-page-content { + /*font-family: arialnarrow;*/ +} +p { + margin-bottom: 1pt; + margin-top: 0pt; + padding-bottom: 1pt; + padding-top: 0pt; +} +.meeting-data-td { + border-bottom: 1px solid #555; +} +div { + margin-bottom: 0pt; + margin-top: 0pt; + padding-bottom: 0pt; + padding-top: 0pt; +} +table { + border-collapse: collapse; + /*font-family: arialnarrow;*/ + /* font-size: 7pt; */ + + margin-bottom: 0pt; + margin-top: 0pt; +} +.helplines td { + /*font-family: arialnarrow !important; + font-family: arialnarrow;*/ + font-size: 7pt; + margin-bottom: 1pt; + margin-top: 0pt; +} +thead { + display: table-header-group; + font-size: 10pt; + font-weight: bold; + vertical-align: bottom; +} +tfoot { + font-weight: bold; + vertical-align: top; +} +thead td { + font-weight: bold; +} +tfoot td { + font-weight: bold; +} +thead td, +thead th, +tfoot td, +tfoot th { + font-variant: small-caps; +} +.headerrow td, +.headerrow th { + background-gradient: linear #b7cebd #f5f8f5 0 1 0 0.2; +} +.footerrow td, +.footerrow th { + background-gradient: linear #b7cebd #f5f8f5 0 1 0 0.2; +} +th p { + margin: 0pt; + text-align: left; +} +td p { + margin: 0pt; + text-align: left; +} +hr { + color: #999; + height: 1px; + margin-bottom: 1pt; + margin-top: 1pt; + width: 100%; +} +a { + color: #000066; + font-style: normal; + font-weight: normal; + text-decoration: underline; +} +ul { + line-height: 2.5em !important; + margin-bottom: 2em !important; + text-indent: 5mm; +} +ol { + line-height: 1em !important; + margin-bottom: 0em !important; + text-indent: 0mm; +} +li { + margin-bottom: .5em !important; +} +pre { + /*font-family: DejaVuSansMono;*/ + font-size: 9pt; + margin-bottom: 5pt; + margin-top: 5pt; +} +h1 { + border-bottom: 0.075cm solid #000000; + border-top: 0.075cm solid #000000; + color: #000066; + /*font-family: DejaVuSansCondensed;*/ + font-size: 26pt; + font-weight: normal; + margin-bottom: 6pt; + margin-top: 18pt; + page-break-after: avoid; +} +h3 { + border-bottom: 0; + border-top: 0; + color: #000000; + /*font-family: DejaVuSansCondensed;*/ + font-size: 26pt; + font-weight: normal; + margin-bottom: 6pt; + margin-top: 0pt; + page-break-after: avoid; +} +h4 { + color: #9f2b1e; + /*font-family: DejaVuSansCondensed;*/ + font-size: 13pt; + font-variant: small-caps; + margin-bottom: 7pt; + margin-collapse: collapse; + margin-top: 10pt; + page-break-after: avoid; +} +h5 { + color: #000044; + /*font-family: DejaVuSansCondensed;*/ + font-size: 11pt; + font-style: italic; + font-weight: bold; + margin-bottom: 4pt; + margin-top: 8pt; + page-break-after: avoid; +} +h6 { + color: #333333; + /*font-family: DejaVuSansCondensed;*/ + font-size: 9.5pt; + font-weight: bold; + margin-top: 6pt; + page-break-after: avoid; +} +.breadcrumb { + color: #666666; + /*font-family: DejaVuSerifCondensed;*/ + font-size: 8pt; + font-style: normal; + font-weight: bold; + margin-bottom: 6pt; + text-align: right; +} +.evenrow td, +.evenrow th { + background-color: #f5f8f5; +} +.oddrow td, +.oddrow th { + background-color: #e3ece4; +} +.bpmTopic { + background-color: #e3ece4; +} +.bpmTopicC { + background-color: #e3ece4; +} +.bpmNoLines { + background-color: #e3ece4; +} +.bpmNoLinesC { + background-color: #e3ece4; +} +.bpmClear {}.bpmClearC { + text-align: center; +} +.bpmTopnTail { + background-color: #e3ece4; + topntail: 0.02cm solid #495b4a; +} +.bpmTopnTailC { + background-color: #e3ece4; + topntail: 0.02cm solid #495b4a; +} +.bpmTopnTailClear { + topntail: 0.02cm solid #495b4a; +} +.bpmTopnTailClearC { + topntail: 0.02cm solid #495b4a; +} +.bpmTopicC td, +.bpmTopicC td p { + text-align: center; +} +.bpmNoLinesC td, +.bpmNoLinesC td p { + text-align: center; +} +.bpmClearC td, +.bpmClearC td p { + text-align: center; +} +.bpmTopnTailC td, +.bpmTopnTailC td p { + text-align: center; +} +.bpmTopnTailClearC td, +.bpmTopnTailClearC td p { + text-align: center; +} +.pmhMiddleCenter { + text-align: center; + vertical-align: middle; +} +.pmhMiddleRight { + text-align: right; + vertical-align: middle; +} +.pmhBottomCenter { + text-align: center; + vertical-align: bottom; +} +.pmhBottomRight { + text-align: right; + vertical-align: bottom; +} +.pmhTopCenter { + text-align: center; + vertical-align: top; +} +.pmhTopRight { + text-align: right; + vertical-align: top; +} +.pmhTopLeft { + text-align: left; + vertical-align: top; +} +.pmhBottomLeft { + text-align: left; + vertical-align: bottom; +} +.pmhMiddleLeft { + text-align: left; + vertical-align: middle; +} +.infobox { + background-color: #DDDDBB; + border: 1px solid #880000; + margin-top: 10pt; + text-align: center; +} +.bpmTopic td, +.bpmTopic th { + border-top: 1px solid #FFFFFF; +} +.bpmTopicC td, +.bpmTopicC th { + border-top: 1px solid #FFFFFF; +} +.bpmTopnTail td, +.bpmTopnTail th { + border-top: 1px solid #FFFFFF; +} +.bpmTopnTailC td, +.bpmTopnTailC th { + border-top: 1px solid #FFFFFF; +} +p .aligncenter img, +.aligncenter, +div.aligncenter { + text-align: center; +} +img.alignright { + display: inline; + margin: 0 0 2px 7px; + padding: 4px; +} +img.alignleft { + display: inline; + margin: 0 7px 2px 0; + padding: 4px; +} +.alignright { + float: right; +} +.alignleft { + float: left; +} +div.mpdf_toc { + /*font-family: sans;*/ + font-size: 10pt; +} +a.mpdf_toc_a { + color: black; + text-decoration: none; +} +div.mpdf_toc_level_0 { + line-height: 1.5; + margin-left: 0; + padding-right: 0; +} +span.mpdf_toc_t_level_0 { + font-weight: bold; +} +span.mpdf_toc_p_level_0 {}div.mpdf_toc_level_1 { + margin-left: 2em; + padding-right: 0; + text-indent: -2em; +} +span.mpdf_toc_t_level_1 { + font-style: normal; + font-weight: normal; +} +span.mpdf_toc_p_level_1 {}div.mpdf_toc_level_2 { + margin-left: 4em; + padding-right: 0; + text-indent: -2em; +} +span.mpdf_toc_t_level_2 {}span.mpdf_toc_p_level_2 {}div.mpdf_toc_level_2 { + line-height: 1.5; + margin-left: 0; + padding-right: 0; +} +span.mpdf_toc_t_level_2 { + font-weight: normal; +} span.mpdf_toc_p_level_2 {} \ No newline at end of file diff --git a/css/page-loader.gif b/admin/css/page-loader.gif similarity index 100% rename from css/page-loader.gif rename to admin/css/page-loader.gif diff --git a/css/spectrum.css b/admin/css/spectrum.css similarity index 100% rename from css/spectrum.css rename to admin/css/spectrum.css diff --git a/admin/index.php b/admin/index.php new file mode 100644 index 0000000..e71af0e --- /dev/null +++ b/admin/index.php @@ -0,0 +1 @@ + l[j]) { + l[j] = column[j].length; + } + } +} +for(i = 0; i < s.length; i++){ + column = s[i].text.split(';'); + temp_line = ''; + for(j = 0; j < column.length; j++){ + t = (l[j] - column[j].length); + d = '\u00a0'; + for(k = 0; k < t; k++){ + d += '\u00a0'; + } + temp_line += column[j] + d; + } + s[i].text = temp_line; +} +function root_server_video() +{ + jQuery('.tooltip').tooltipster('hide'); + jQuery('#root-server-video').bPopup( + { + transition: 'slideIn', + closeClass: 'b-close', + onClose: function () { + for (var player in mejs.players) { + mejs.players[player].media.stop(); + } + } + } + ); +}; +function current_meeting_list_video() +{ + jQuery('.tooltip').tooltipster('hide'); + jQuery('#current-meeting-list-video').bPopup( + { + transition: 'slideIn', + closeClass: 'b-close', + onClose: function () { + for (var player in mejs.players) { + mejs.players[player].media.stop(); + } + } + } + ); +}; +function numbersonly(myfield, e, dec) +{ + var key; + var keychar; + if (window.event) { + key = window.event.keyCode; + } else if (e) { + key = e.which; + } else { + return true; + } + keychar = String.fromCharCode(key); + // control keys + if ((key == null) || (key == 0) || (key == 8) + || (key == 9) || (key == 13) || (key == 27) + ) { + return true; + } + // numbers + else if ((("0123456789").indexOf(keychar) > -1)) { + return true; + } + // decimal point jump + else if (dec && (keychar == ".")) { + myfield.form.elements[dec].focus(); + return false; + } else { + return false; + } +} +var $ml = jQuery.noConflict +jQuery(document).ready( + function ($ml) { + $ml(".connecting").hide(); + $ml(".saving").hide(); + $ml("#accordion").accordion( + { + heightStyle: "content", + active: false, + collapsible: true + } + ); + $ml("#accordion2").accordion( + { + heightStyle: "content", + active: false, + collapsible: true + } + ); + $ml("#accordion3").accordion( + { + heightStyle: "content", + active: false, + collapsible: true + } + ); + $ml("#accordion_asm").accordion( + { + heightStyle: "content", + active: false, + collapsible: true + } + ); + $ml("#col_color").spectrum( + { + preferredFormat: "hex", + showInput: true, + showInitial: true, + theme: "sp-light" + } + ); + $ml("#col_color").click( + function () { + $ml("#triggerSet").spectrum("set", $("#col_color").val()); + } + ); + $ml("#header_text_color").spectrum( + { + preferredFormat: "hex", + showInput: true, + showInitial: true, + theme: "sp-light" + } + ); + $ml("#header_text_color").click( + function () { + $ml("#triggerSet").spectrum("set", $("#header_text_color").val()); + } + ); + $ml("#header_background_color").spectrum( + { + preferredFormat: "hex", + showInput: true, + showInitial: true, + theme: "sp-light" + } + ); + $ml("#header_background_color").click( + function () { + $ml("#triggerSet").spectrum("set", $("#header_background_color").val()); + } + ); + $ml("#pageheader_textcolor").spectrum( + { + preferredFormat: "hex", + showInput: true, + showInitial: true, + theme: "sp-light" + } + ); + $ml("#pageheader_textcolor").click( + function () { + $ml("#triggerSet").spectrum("set", $("#pageheader_textcolor").val()); + } + ); + $ml("#pageheader_backgroundcolor").spectrum( + { + preferredFormat: "hex", + showInput: true, + showInitial: true, + theme: "sp-light" + } + ); + $ml("#pageheader_backgroundcolor").click( + function () { + $ml("#triggerSet").spectrum("set", $("#pageheader_backgroundcolor").val()); + } + ); + $ml("#bmlt_meeting_list_options").on( + "keypress", function (event) { + if (event.which == 13 && !event.shiftKey) { + event.preventDefault(); + return false; + } + } + ); + $ml("#bmltmeetinglistsave1").click( + function (e) { + $ml(".saving").show(); + } + ); + $ml("#bmltmeetinglistsave2").click( + function (e) { + $ml(".saving").show(); + } + ); + $ml("#bmltmeetinglistsave3").click( + function (e) { + $ml(".saving").show(); + } + ); + $ml("#bmltmeetinglistsave4").click( + function (e) { + $ml(".saving").show(); + } + ); + $ml("#bmltmeetinglistsave5").click( + function (e) { + $ml(".saving").show(); + } + ); + $ml("#bmltmeetinglistsave6").click( + function (e) { + $ml(".saving").show(); + } + ); + $ml("#submit_booklet").click( + function (e) { + e.preventDefault(); + $ml('#basicModal3').dialog('open'); + } + ); + $ml('#basicModal3').dialog( + { + autoOpen: false, + width: 'auto', + title: "Are you sure?", + modal: true, + buttons: { + "Confirm": function (e) { + $ml(this).dialog('close'); + $ml(".saving").show(); + $ml("#booklet_default_settings").submit(); + }, + "Cancel": function () { + $ml(this).dialog('close'); + } + } + } + ); + $ml("#submit_four_column").click( + function (e) { + e.preventDefault(); + $ml('#basicModal2').dialog('open'); + } + ); + $ml('#basicModal2').dialog( + { + autoOpen: false, + width: 'auto', + title: "Are you sure?", + modal: true, + buttons: { + "Confirm": function (e) { + $ml(this).dialog('close'); + $ml(".saving").show(); + $ml("#four_column_default_settings").submit(); + }, + "Cancel": function () { + $ml(this).dialog('close'); + } + } + } + ); + $ml("#submit_three_column").click( + function (e) { + e.preventDefault(); + $ml('#basicModal1').dialog('open'); + } + ); + $ml('#basicModal1').dialog( + { + autoOpen: false, + width: 'auto', + title: "Are you sure?", + modal: true, + buttons: { + "Confirm": function (e) { + $ml(this).dialog('close'); + $ml(".saving").show(); + $ml("#three_column_default_settings").submit(); + }, + "Cancel": function () { + $ml(this).dialog('close'); + } + } + } + ); + $ml('input[name="submit_import_file"]').on( + 'click', function (e) { + e.preventDefault(); + var import_file_val = $ml('input[name=import_file]').val(); + if (import_file_val == false) { + $ml('#nofileModal').dialog('open'); + } else { + $ml('#basicModal').dialog('open'); + } + } + ); + $ml("#nofileModal").dialog( + { + autoOpen: false, + modal: true, + buttons: { + Ok: function () { + $ml(this).dialog("close"); + } + } + } + ); + $ml('#basicModal').dialog( + { + autoOpen: false, + width: 'auto', + title: "Are you sure?", + modal: true, + buttons: { + "Confirm": function (e) { + $ml(this).dialog('close'); + $ml(".saving").show(); + $ml('#form_import_file').submit(); + }, + "Cancel": function () { + $ml(this).dialog('close'); + } + } + } + ); + $ml('#root-server-button').bind( + 'click', function (e) { + e.preventDefault(); + $ml('#root-server-video').bPopup( + { + transition: 'slideIn', + closeClass: 'b-close', + onClose: function () { + for (var player in mejs.players) { + mejs.players[player].media.stop(); + } + } + } + ); + } + ); + $ml('#service-body-button').bind( + 'click', function (e) { + e.preventDefault(); + $ml('#service-body-video').bPopup( + { + transition: 'slideIn', + closeClass: 'b-close', + onClose: function () { + for (var player in mejs.players) { + mejs.players[player].media.stop(); + } + } + } + ); + } + ); + $ml('.my-tooltip').tooltipster( + { + animation: 'grow', + delay: 200, + theme: 'tooltipster-noir', + contentAsHTML: true, + //positionTracker: false, + touchDevices: false, + hideOnClick: true, + icon: '(?)', + iconCloning: true, + iconDesktop: true, + iconTouch: false, + iconTheme: 'tooltipster-icon', + interactive: true, + arrow: false, + position: 'right', + //maxWidth: 900, + //offsetX: 150, + offsetY: -200, + trigger: 'click' + } + ); + $ml('.tooltip').tooltipster( + { + animation: 'grow', + delay: 200, + theme: 'tooltipster-noir', + hideOnClick: true, + contentAsHTML: true, + positionTracker: false, + icon: '(?)', + iconCloning: true, + iconDesktop: true, + iconTouch: false, + iconTheme: 'tooltipster-icon', + interactive: true, + arrow: true, + position: 'right', + trigger: 'click' + } + ); + $ml('.bottom-tooltip').tooltipster( + { + animation: 'grow', + delay: 200, + theme: 'tooltipster-noir', + hideOnClick: true, + contentAsHTML: true, + positionTracker: false, + icon: '(?)', + iconCloning: true, + iconDesktop: true, + iconTouch: false, + iconTheme: 'tooltipster-icon', + interactive: true, + arrow: true, + position: 'bottom-left', + offsetX: -10, + trigger: 'click' + } + ); + $ml('.top-tooltip').tooltipster( + { + animation: 'grow', + delay: 200, + theme: 'tooltipster-noir', + hideOnClick: true, + contentAsHTML: true, + positionTracker: false, + icon: '(?)', + iconCloning: true, + iconDesktop: true, + iconTouch: false, + iconTheme: 'tooltipster-icon', + interactive: true, + arrow: true, + position: 'top-left', + offsetX: -10, + trigger: 'click' + } + ); + $ml('.top-middle-tooltip').tooltipster( + { + animation: 'grow', + delay: 200, + theme: 'tooltipster-noir', + hideOnClick: true, + contentAsHTML: true, + positionTracker: false, + icon: '(?)', + iconCloning: true, + iconDesktop: true, + iconTouch: false, + iconTheme: 'tooltipster-icon', + interactive: true, + arrow: true, + position: 'top', + offsetX: -10, + trigger: 'click' + } + ); + $ml("#meeting-list-tabs").tabs( + { + active: 0 + } + ); + $ml('#meeting-list-tabs').tabs().addClass('ui-tabs-vertical ui-helper-clearfix'); + $ml("#container").removeClass('hide'); + var meeting_sort_val = $ml("#meeting_sort").val(); + $ml('.borough_by_suffix').hide(); + $ml('.county_by_suffix').hide(); + if (meeting_sort_val === 'borough_county') { + $ml('.borough_by_suffix').show(); + $ml('.county_by_suffix').show(); + } else if (meeting_sort_val === 'borough') { + $ml('.borough_by_suffix').show(); + } else if (meeting_sort_val === 'county') { + $ml('.county_by_suffix').show(); + } + $ml('.neighborhood_by_suffix').hide(); + $ml('.city_by_suffix').hide(); + if (meeting_sort_val === 'neighborhood_city') { + $ml('.neighborhood_by_suffix').show(); + $ml('.city_by_suffix').show(); + } + var user_defined_sub = false; + $ml('.user_defined_headings').hide(); + if (meeting_sort_val === 'user_defined') { + $ml('.user_defined_headings').show(); + if ($ml("#subgrouping").val()!='') { + user_defined_sub = true; + } + } + if (meeting_sort_val == 'weekday_area' + || meeting_sort_val == 'weekday_city' + || meeting_sort_val == 'weekday_county' + || meeting_sort_val == 'state' + || user_defined_sub + ) { + $ml('.show_subheader').show(); + } else { + $ml('.show_subheader').hide(); + } + $ml("#suppress_heading").click( + function () { + var val = $ml("#suppress_heading:checked").val(); + if (val == 1) { + $ml("#header_options_div").hide(); + } else { + $ml("#header_options_div").show(); + } + } + ); + $ml("#meeting_sort").change( + function () { + var meeting_sort_val = $ml("#meeting_sort").val(); + $ml('.borough_by_suffix').hide(); + $ml('.county_by_suffix').hide(); + $ml('.neighborhood_by_suffix').hide(); + $ml('.city_by_suffix').hide(); + if (meeting_sort_val === 'borough_county') { + $ml('.borough_by_suffix').show(); + $ml('.county_by_suffix').show(); + } else if (meeting_sort_val === 'borough') { + $ml('.borough_by_suffix').show(); + } else if (meeting_sort_val === 'county') { + $ml('.county_by_suffix').show(); + } + if (meeting_sort_val === 'neighborhood_city') { + $ml('.neighborhood_by_suffix').show(); + $ml('.city_by_suffix').show(); + } + var user_defined_sub = false; + $ml('.user_defined_headings').hide(); + if (meeting_sort_val === 'user_defined') { + $ml('.user_defined_headings').show(); + if ($ml("#subgrouping").val()!='') { + user_defined_sub = true; + } + } + if (meeting_sort_val == 'weekday_area' + || meeting_sort_val == 'weekday_city' + || meeting_sort_val == 'weekday_county' + || meeting_sort_val == 'state' + || user_defined_sub + ) { + $ml('.show_subheader').show(); + } else { + $ml('.show_subheader').hide(); + } + } + ); + $ml("#subgrouping").click( + function () { + var user_defined_sub = false; + $ml('.user_defined_headings').hide(); + if ($ml("#meeting_sort").val() === 'user_defined') { + $ml('.user_defined_headings').show(); + if ($ml("#subgrouping").val()!='') { + $ml('.show_subheader').show(); + } else { + $ml('.show_subheader').hide(); + } + } + } + ); + var time_clock_val = $ml('input[name=time_clock]:checked').val(); + if (time_clock_val == '24') { + $ml('#option3').hide(); + $ml('label[for=option3]').hide(); + } else if (time_clock_val == '24fr') { + $ml('#option3').hide(); + $ml('label[for=option3]').hide(); + } else { + $ml('#option3').show(); + $ml('label[for=option3]').show(); + } + $ml("#two").click( + function () { + var time_clock_val = $ml('input[name=time_clock]:checked').val(); + if (time_clock_val == '24') { + $ml('label[for=option1]').html('20:00'); + $ml('label[for=option2]').html('20:00 - 21:00'); + $ml('#option3').hide(); + $ml('label[for=option3]').html(''); + } else if (time_clock_val == '24fr') { + $ml('label[for=option1]').html('20h00'); + $ml('label[for=option2]').html('20h00 - 21h00'); + $ml('#option3').hide(); + $ml('label[for=option3]').html(''); + } else { + $ml('#option3').show(); + $ml('label[for=option1]').html('8:00 PM'); + $ml('label[for=option2]').html('8:00 PM - 9:00 PM'); + $ml('label[for=option3]').html('8 - 9 PM'); + } + } + ); + $ml("#four").click( + function () { + var time_clock_val = $ml('input[name=time_clock]:checked').val(); + if (time_clock_val == '24') { + $ml('label[for=option1]').html('20:00'); + $ml('label[for=option2]').html('20:00-21:00'); + $ml('#option3').hide(); + $ml('label[for=option3]').html(''); + } else if (time_clock_val == '24fr') { + $ml('#option3').hide(); + $ml('label[for=option1]').html('20h00'); + $ml('label[for=option2]').html('20h00-21h00'); + $ml('#option3').hide(); + $ml('label[for=option3]').html(''); + } else { + $ml('#option3').show(); + $ml('label[for=option1]').html('8:00PM'); + $ml('label[for=option2]').html('8:00PM-9:00PM'); + $ml('label[for=option3]').html('8-9PM'); + } + } + ); + $ml("#time_clock12").click( + function () { + var remove_space_val = $ml('input[name=remove_space]:checked').val(); + $ml('#option3').show(); + $ml('label[for=option3]').show(); + if (remove_space_val == '1') { + $ml('label[for=option1]').html('8:00PM'); + $ml('label[for=option2]').html('8:00PM-9:00PM'); + $ml('label[for=option3]').html('8-9PM'); + } else { + $ml('label[for=option1]').html('8:00 PM'); + $ml('label[for=option2]').html('8:00 PM - 9:00 PM'); + $ml('label[for=option3]').html('8 - 9 PM'); + } + } + ); + $ml("#time_clock24").click( + function () { + var remove_space_val = $ml('input[name=remove_space]:checked').val(); + $ml('#option3').hide(); + $ml('label[for=option3]').html(''); + if (remove_space_val == '1') { + $ml('label[for=option1]').html('20:00'); + $ml('label[for=option2]').html('20:00-21:00'); + } else { + $ml('label[for=option1]').html('20:00'); + $ml('label[for=option2]').html('20:00 - 21:00'); + } + } + ); + $ml("#time_clock24fr").click( + function () { + var remove_space_val = $ml('input[name=remove_space]:checked').val(); + $ml('#option3').hide(); + $ml('label[for=option3]').html(''); + if (remove_space_val == '1') { + $ml('label[for=option1]').html('20h00'); + $ml('label[for=option2]').html('20h00-21h00'); + } else { + $ml('label[for=option1]').html('20h00'); + $ml('label[for=option2]').html('20h00 - 21h00'); + } + } + ); + var page_fold_val = $ml('input[name=page_fold]:checked').val(); + function bookletControlsShowHide() + { + $ml('#pagenodiv').show(); + $ml('#columngapdiv').hide(); + $ml('#columnseparatordiv').hide(); + $ml("#portrait, label[for=portrait]").hide(); + $ml('#landscape').prop("checked",true); + $ml("#5inch, label[for=5inch]").show(); + $ml("#letter, label[for=letter]").show(); + $ml("#legal, label[for=legal]").show(); + $ml("#ledger, label[for=ledger]").show(); + $ml("#booklet_pages, label[for=booklet_pages]").hide(); + $ml("#A4, label[for=A4]").show(); + $ml("#A5, label[for=A5]").show(); + $ml("#A6, label[for=A6]").hide(); + $ml("#portrait, label[for=portrait]").hide(); + $ml("#meeting-list-tabs ul li:eq(5)").hide(); + $ml("#meeting-list-tabs ul li:eq(6)").show(); + $ml('#meeting-list-tabs').tabs('disable', 5); + $ml('#meeting-list-tabs').tabs('enable', 6); + $ml("#half-fold").css( + { + "display": "inline-block" + } + ); + $ml("#tri-fold").css( + { + "display": "none" + } + ); + } + function fullPageControlsShowHide() + { + $ml('#pagenodiv').hide(); + $ml("#A4, label[for=A4]").show(); + $ml("#A5, label[for=A5]").show(); + $ml("#A6, label[for=A6]").show(); + $ml("#5inch, label[for=5inch]").hide(); + $ml("#portrait, label[for=portrait]").show(); + $ml("#booklet_pages, label[for=booklet_pages]").show(); + $ml("#meeting-list-tabs ul li:eq(5)").hide(); + $ml("#meeting-list-tabs ul li:eq(6)").show(); + $ml('#meeting-list-tabs').tabs('disable', 5); + $ml('#meeting-list-tabs').tabs('enable', 6); + $ml('#columngapdiv').hide(); + $ml('#columnseparatordiv').hide(); + $ml("#half-fold").css( + { + "display": "inline-block" + } + ); + $ml("#tri-fold").css( + { + "display": "none" + } + ); + } + function foldControlsShowHide(fold) + { + $ml("#letter, label[for=letter]").show(); + $ml("#legal, label[for=legal]").show(); + $ml("#ledger, label[for=ledger]").show(); + $ml("#booklet_pages, label[for=booklet_pages]").hide(); + $ml("#A4, label[for=A4]").show(); + $ml("#A5, label[for=A5]").hide(); + $ml("#A6, label[for=A6]").hide(); + $ml("#5inch, label[for=5inch]").hide(); + if (fold=='quad') { + $ml("#portrait, label[for=portrait]").show(); + } else { + $ml("#portrait, label[for=portrait]").hide(); + $ml('#landscape').prop("checked",true); + } + $ml("#meeting-list-tabs ul li:eq(5)").hide(); + $ml("#booklet_pages, label[for=booklet_pages]").hide(); + $ml("#meeting-list-tabs ul li:eq(5)").show(); + $ml("#meeting-list-tabs ul li:eq(6)").hide(); + $ml('#meeting-list-tabs').tabs('enable', 5); + $ml('#meeting-list-tabs').tabs('disable', 6); + } + if (page_fold_val == 'half') { + bookletControlsShowHide(); + } else if (page_fold_val == 'full') { + fullPageControlsShowHide(); + } else { + foldControlsShowHide(page_fold_val); + } + $ml('input[name=page_fold]:radio').click( + function () { + var page_fold_val = $ml('input[name=page_fold]:checked').val(); + var page_orientation_val = $ml('input[name=page_orientation]:checked').val(); + var page_size_val = $ml('input[name=page_size]:checked').val(); + if (page_fold_val == 'half') { + bookletControlsShowHide(); + } + else if (page_fold_val == 'full') { + fullPageControlsShowHide(); + } + else { + foldControlsShowHide(page_fold_val); + }; + if (page_fold_val === 'tri') { + $ml('input[name=page_size]').val(['letter']); + }; + } + ); + $ml(".service_body_select").chosen( + { + inherit_select_classes: true, + width: "62%" + } + ); + $ml("#extra_meetings").chosen( + { + no_results_text: "Oops, nothing found!", + width: "100%", + placeholder_text_multiple: "Select Extra Meetings", + search_contains: true + } + ); + $ml('#extra_meetings').on( + 'chosen:showing_dropdown', function (evt, params) { + $ml(".ctrl_key").show(); + } + ); + $ml('#extra_meetings').on( + 'chosen:hiding_dropdown', function (evt, params) { + $ml(".ctrl_key").hide(); + } + ); + $ml("#author_chosen").chosen( + { + no_results_text: "Oops, nothing found!", + width: "100%", + placeholder_text_multiple: "Select authors", + search_contains: true + } + ); + $ml('#author_chosen').on( + 'chosen:showing_dropdown', function (evt, params) { + $ml(".ctrl_key").show(); + } + ); + $ml('#author_chosen').on( + 'chosen:hiding_dropdown', function (evt, params) { + $ml(".ctrl_key").hide(); + } + ); + /* + $ml("#extra_meetings").select2({ + //tags: "true", + placeholder: "Select Meetings", + containerCssClass: 'tpx-select2-container select2-container-lg', + dropdownCssClass: 'tpx-select2-drop', + dropdownAutoWidth: true, + allowClear: true, + width: "100%", + /* dropdownParent: $ml('.exactCenter'), */ + /* minimumResultsForSearch: 1, */ + /* closeOnSelect: false, */ + /* escapeMarkup: function (markup) { return markup; } + }).maximizeSelect2Height({cushion: 100}); + $ml('.select2-choices').css('background-image','none').css('background-color','#111111 !important'); + */ + $ml("#meeting-list-tabs").tabs( + { + active: 0 + } + ); + $ml("#meeting-list-tabs-wrapper").removeClass('hide'); + // Define friendly index name + var index = 'key'; + // Define friendly data store name + var dataStore = window.sessionStorage; + // Start magic! + try { + // getter: Fetch previous value + var oldIndex = dataStore.getItem(index); + } catch (e) { + // getter: Always default to first tab in error state + var oldIndex = 0; + } + $ml('#meeting-list-tabs').tabs( + { + // The zero-based index of the panel that is active (open) + active: oldIndex, + // Triggered after a tab has been activated + activate: function (event, ui) { + // Get future value + var newIndex = ui.newTab.parent().children().index(ui.newTab); + // Set future value + dataStore.setItem(index, newIndex) + } + } + ); + var aggregator = "https://aggregator.bmltenabled.org/main_server"; + $ml(window).on( + "load", function () { + if($ml('#use_aggregator').is(':checked')) { + $ml("#root_server").prop("readonly", true); + } + } + ); + $ml('#use_aggregator').click( + function () { + if($ml(this).is(':checked')) { + $ml("#root_server").val(aggregator); + $ml("#root_server").prop("readonly", true); + } else { + $ml("#root_server").val(""); + $ml("#root_server").prop("readonly", false); + } + } + ); + var rootServerValue = $ml('#root_server').val(); + if(~rootServerValue.indexOf(aggregator)) { + $ml("#use_aggregator").prop("checked", true); + } + } +); diff --git a/js/chosen.jquery.min.js b/admin/js/chosen.jquery.min.js similarity index 100% rename from js/chosen.jquery.min.js rename to admin/js/chosen.jquery.min.js diff --git a/js/jquery.tooltipster.min.js b/admin/js/jquery.tooltipster.min.js similarity index 100% rename from js/jquery.tooltipster.min.js rename to admin/js/jquery.tooltipster.min.js diff --git a/js/spectrum.js b/admin/js/spectrum.js similarity index 100% rename from js/spectrum.js rename to admin/js/spectrum.js diff --git a/partials/_backup_restore_setup.php b/admin/partials/_backup_restore_setup.php similarity index 86% rename from partials/_backup_restore_setup.php rename to admin/partials/_backup_restore_setup.php index bb22d82..52caec8 100644 --- a/partials/_backup_restore_setup.php +++ b/admin/partials/_backup_restore_setup.php @@ -13,19 +13,19 @@

Current Meeting List

-

Meeting List ID: loaded_setting?> -

+

Meeting List ID: admin->loaded_setting?> +

-
Configuration Name: +
Configuration Name:

- allSettings)>1) {?> + 1) {?>

Configuration Selection

@@ -34,10 +34,10 @@
-

+

- loaded_setting) {?> + admin->loaded_setting) {?>
@@ -52,7 +52,7 @@

-

+

@@ -67,7 +67,7 @@

- + 'submit_import_file' )); ?>

diff --git a/partials/_bmlt_server_setup.php b/admin/partials/_bmlt_server_setup.php similarity index 73% rename from partials/_bmlt_server_setup.php rename to admin/partials/_bmlt_server_setup.php index faf6158..3802748 100644 --- a/partials/_bmlt_server_setup.php +++ b/admin/partials/_bmlt_server_setup.php @@ -19,21 +19,21 @@

- +

options['user_agent'].'" />'; - if ($this->options['sslverify']=='1') {?> + echo ''; + if (Bread::getOption('sslverify')=='1') {?>

options['root_server'])) { + } elseif (Bread::emptyOption('root_server')) { echo "

ERROR: Please enter a BMLT Server"; - echo ''; - if ($this->options['sslverify']=='1') {?> + echo ''; + if (Bread::getOption('sslverify')=='1') {?>

@@ -42,9 +42,9 @@ ?>

ERROR: Problem Connecting to BMLT Server
connection_error; ?>

- +

- options['sslverify']?'checked':''; ?>/> + />

The aggregator collects meeting data
from all known root servers and pretends to be one large server

This can be useful to use if you want to display meetings outside
of your server, for instance a statewide listing where the state
covers multiple root servers
Another good use case is if you want to display meetings by users
location

' class="tooltip">

- get_areas(); ?> +
    @@ -67,23 +67,23 @@ - arraySafeGet($area_data); ?> - arraySafeGet($area_data, 1); ?> - arraySafeGet($area_data, 2); ?> - arraySafeGet($area_data, 3); ?> + admin->arraySafeGet($area_data); ?> + admin->arraySafeGet($area_data, 1); ?> + admin->arraySafeGet($area_data, 2); ?> + admin->arraySafeGet($area_data, 3); ?> - options['service_body_1'])); ?> - arraySafeGet($is_data) != "Not Used" && $area_id == $this->arraySafeGet($is_data, 1)) { ?> + + admin->arraySafeGet($is_data) != "Not Used" && $area_id == $this->admin->arraySafeGet($is_data, 1)) { ?> - + - +
  • -
  • +
  • -
  • +
  • -
  • +
  • -
  • +
- options['recurse_service_bodies'] == 1 ? 'checked' : '') ?> /> Recurse Service Bodies + /> Recurse Service Bodies
@@ -190,7 +190,7 @@

Custom Query

- +
@@ -198,7 +198,7 @@

Hint: Type a group name, weekday or area to narrow down your choices.

- options['extra_meetings_enabled']) && $this->options['extra_meetings_enabled'] == 1 ? 'checked' : '') ?> /> Extra Meetings Enabled + /> Extra Meetings Enabled
- +
@@ -235,7 +235,7 @@
@@ -250,19 +250,19 @@
  • -   0 - 999 Hours (0 = disable cache)   +   0 - 999 Hours (0 = disable cache)  

CACHE is DELETED when you Save Changes.

- current_user_can_modify()) { + admin->current_user_can_modify()) { echo ' '; }?> - Generate Meeting List

'; ?> + Generate Meeting List

'; ?>
  Save Changes before Generate Meeting List.

diff --git a/partials/_custom_section_setup.php b/admin/partials/_custom_section_setup.php similarity index 69% rename from partials/_custom_section_setup.php rename to admin/partials/_custom_section_setup.php index aaf9a72..f773885 100644 --- a/partials/_custom_section_setup.php +++ b/admin/partials/_custom_section_setup.php @@ -16,12 +16,12 @@ ?>

Custom Content

-

Default Font Size:    - Line Height:

+

Default Font Size:    + Line Height:

false, 'editor_height' => 500, 'resize' => true, @@ -32,20 +32,20 @@ 'quicktags' => true, 'wpautop' => false, 'textarea_name' => $editor_id, - 'tinymce'=> array('toolbar1' => 'bold,italic,underline,strikethrough,bullist,numlist,alignleft,aligncenter,alignright,alignjustify,link,unlink,table,undo,redo,fullscreen', 'toolbar2' => 'formatselect,fontsizeselect,fontselect,forecolor,backcolor,indent,outdent,pastetext,removeformat,charmap,code', 'toolbar3' => 'front_page_button') + 'tinymce' => array('toolbar1' => 'bold,italic,underline,strikethrough,bullist,numlist,alignleft,aligncenter,alignright,alignjustify,link,unlink,table,undo,redo,fullscreen', 'toolbar2' => 'formatselect,fontsizeselect,fontselect,forecolor,backcolor,indent,outdent,pastetext,removeformat,charmap,code', 'toolbar3' => 'front_page_button') ); - wp_editor(stripslashes(str_replace("http://", $this->protocol, $this->options['custom_section_content'])), $editor_id, $settings); + wp_editor(stripslashes(str_replace("http://", Bread::getProtocol(), Bread::getOption('custom_section_content'))), $editor_id, $settings); ?>
- current_user_can_modify()) { + admin->current_user_can_modify()) { echo ' '; - }?> - Generate Meeting List

'; ?> + } ?> + Generate Meeting List

'; ?>
  Save Changes before Generate Meeting List.
- + \ No newline at end of file diff --git a/partials/_front_page_setup.php b/admin/partials/_front_page_setup.php similarity index 67% rename from partials/_front_page_setup.php rename to admin/partials/_front_page_setup.php index 030542e..c054380 100644 --- a/partials/_front_page_setup.php +++ b/admin/partials/_front_page_setup.php @@ -14,13 +14,13 @@ '; ?>

Front Page Content

-
-

Default Font Size:    - Line Height:

+
+

Default Font Size:    + Line Height:

false, 'editor_height' => 500, 'resize' => true, @@ -31,21 +31,21 @@ 'quicktags' => true, 'wpautop' => false, 'textarea_name' => $editor_id, - 'tinymce'=> array('toolbar1' => 'bold,italic,underline,strikethrough,bullist,numlist,alignleft,aligncenter,alignright,alignjustify,link,unlink,table,undo,redo,fullscreen', 'toolbar2' => 'formatselect,fontsizeselect,fontselect,forecolor,backcolor,indent,outdent,pastetext,removeformat,charmap,code', 'toolbar3' => 'front_page_button') + 'tinymce' => array('toolbar1' => 'bold,italic,underline,strikethrough,bullist,numlist,alignleft,aligncenter,alignright,alignjustify,link,unlink,table,undo,redo,fullscreen', 'toolbar2' => 'formatselect,fontsizeselect,fontselect,forecolor,backcolor,indent,outdent,pastetext,removeformat,charmap,code', 'toolbar3' => 'front_page_button') ); - wp_editor(stripslashes(str_replace("http://", $this->protocol, $this->options['front_page_content'])), $editor_id, $settings); + wp_editor(stripslashes(str_replace("http://", Bread::getProtocol(), Bread::getOption('front_page_content'))), $editor_id, $settings); ?>
- current_user_can_modify()) { + admin->current_user_can_modify()) { echo ' '; - }?> - Generate Meeting List

'; ?> + } ?> + Generate Meeting List

'; ?>
  Save Changes before Generate Meeting List.

- + \ No newline at end of file diff --git a/partials/_help_videos.php b/admin/partials/_help_videos.php similarity index 100% rename from partials/_help_videos.php rename to admin/partials/_help_videos.php diff --git a/partials/_helpers.php b/admin/partials/_helpers.php similarity index 100% rename from partials/_helpers.php rename to admin/partials/_helpers.php diff --git a/partials/_last_page_setup.php b/admin/partials/_last_page_setup.php similarity index 88% rename from partials/_last_page_setup.php rename to admin/partials/_last_page_setup.php index edfc2bf..25dc59f 100644 --- a/partials/_last_page_setup.php +++ b/admin/partials/_last_page_setup.php @@ -13,8 +13,8 @@ ?>

Last Page Content

-

Default Font Size:    - Line Height:

+

Default Font Size:    + Line Height:

$editor_id, 'tinymce'=> array('toolbar1' => 'bold,italic,underline,strikethrough,bullist,numlist,alignleft,aligncenter,alignright,alignjustify,link,unlink,table,undo,redo,fullscreen', 'toolbar2' => 'formatselect,fontsizeselect,fontselect,forecolor,backcolor,indent,outdent,pastetext,removeformat,charmap,code', 'toolbar3' => 'front_page_button') ); - wp_editor(stripslashes($this->options['last_page_content']), $editor_id, $settings); + wp_editor(stripslashes(Bread::getOption('last_page_content')), $editor_id, $settings); ?>
- current_user_can_modify()) { + admin->current_user_can_modify()) { echo ' '; }?> - Generate Meeting List

'; ?> + Generate Meeting List

'; ?>
  Save Changes before Generate Meeting List.

diff --git a/admin/partials/_layout_setup.php b/admin/partials/_layout_setup.php new file mode 100644 index 0000000..03a6ca8 --- /dev/null +++ b/admin/partials/_layout_setup.php @@ -0,0 +1,206 @@ + +
+
+
+
+ Page Layout Defaults

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Meeting List SizePage LayoutOrientationPaper SizePage Height
Smaller AreasTri-FoldLandscapeLetter, A4195, 180
Medium AreaQuad-FoldLandscapeLegal, A4195, 180
Large Area, Region, MetroHalf-FoldLandscapeBooklet, A5250, 260
AnythingFull PagePortrait, LandscapeLetter, Legal, A4None
+

When a layout is clicked defaults are reset for orientation, paper size and page height.

+ '; + ?> +

Page Layout

+
+

+ + > + > + > + > + > +

+

+ > + > + /> +

+ > + > + > + > + > + > + > +

+

+
+

+ Page Margin Top:     + Bottom:     + Left:     + Right:     +

+
+
+

+ The page header is a title that goes across the entire page above the meetings. +

+

+ + + +

+

+ Header Margin Top:     +
Header Text:     +
Watermark:     +

+
+ +
+ + +
+ + + +
+
+

+ Page Numbers Font Size: +

+
+ +
+

+ Column Gap Width: +

+
+
+ +

+ + + + + + +
Separator: /> +
+ +
+
+ +

+
+ +
+

+ + + + + + + + + + +
+ + +
+ + +
+

+
+
+ Enable PDF Protection.

+

Encrypts and sets the PDF document permissions for the PDF file.

+ +

PDF can be opened and printed. + +

Optional Password to allow editing in a PDF editor. +

Note: PDF is encrypted and cannot be opened in MS Word at all.

+ '; + ?> + +

>Enable PDF Protection

+

+

+ + +
+ + +

+
+
+
+
+
+ admin->current_user_can_modify()) { + echo ' + + '; + } ?> + Generate Meeting List

'; ?> +
  Save Changes before Generate Meeting List.
+
+
\ No newline at end of file diff --git a/partials/_meeting_list_setup.php b/admin/partials/_meeting_list_setup.php similarity index 98% rename from partials/_meeting_list_setup.php rename to admin/partials/_meeting_list_setup.php index 0901be1..ec58588 100644 --- a/partials/_meeting_list_setup.php +++ b/admin/partials/_meeting_list_setup.php @@ -73,7 +73,7 @@