From 1235a0e2709e3b36084a3bd09bb71a7a251bde50 Mon Sep 17 00:00:00 2001 From: aschwarz Date: Thu, 27 Apr 2023 17:15:50 +0200 Subject: [PATCH] PHPMailer --- PHPMailer6/COMMITMENT | 46 + PHPMailer6/LICENSE | 502 + PHPMailer6/README.md | 230 + PHPMailer6/SECURITY.md | 37 + PHPMailer6/VERSION | 1 + PHPMailer6/composer.json | 78 + PHPMailer6/get_oauth_token.php | 182 + PHPMailer6/language/phpmailer.lang-af.php | 26 + PHPMailer6/language/phpmailer.lang-ar.php | 27 + PHPMailer6/language/phpmailer.lang-az.php | 27 + PHPMailer6/language/phpmailer.lang-ba.php | 27 + PHPMailer6/language/phpmailer.lang-be.php | 27 + PHPMailer6/language/phpmailer.lang-bg.php | 27 + PHPMailer6/language/phpmailer.lang-ca.php | 27 + PHPMailer6/language/phpmailer.lang-cs.php | 28 + PHPMailer6/language/phpmailer.lang-da.php | 35 + PHPMailer6/language/phpmailer.lang-de.php | 28 + PHPMailer6/language/phpmailer.lang-el.php | 33 + PHPMailer6/language/phpmailer.lang-eo.php | 26 + PHPMailer6/language/phpmailer.lang-es.php | 31 + PHPMailer6/language/phpmailer.lang-et.php | 28 + PHPMailer6/language/phpmailer.lang-fa.php | 28 + PHPMailer6/language/phpmailer.lang-fi.php | 28 + PHPMailer6/language/phpmailer.lang-fo.php | 27 + PHPMailer6/language/phpmailer.lang-fr.php | 38 + PHPMailer6/language/phpmailer.lang-gl.php | 27 + PHPMailer6/language/phpmailer.lang-he.php | 27 + PHPMailer6/language/phpmailer.lang-hi.php | 35 + PHPMailer6/language/phpmailer.lang-hr.php | 27 + PHPMailer6/language/phpmailer.lang-hu.php | 27 + PHPMailer6/language/phpmailer.lang-hy.php | 27 + PHPMailer6/language/phpmailer.lang-id.php | 31 + PHPMailer6/language/phpmailer.lang-it.php | 28 + PHPMailer6/language/phpmailer.lang-ja.php | 29 + PHPMailer6/language/phpmailer.lang-ka.php | 27 + PHPMailer6/language/phpmailer.lang-ko.php | 27 + PHPMailer6/language/phpmailer.lang-lt.php | 27 + PHPMailer6/language/phpmailer.lang-lv.php | 27 + PHPMailer6/language/phpmailer.lang-mg.php | 27 + PHPMailer6/language/phpmailer.lang-mn.php | 27 + PHPMailer6/language/phpmailer.lang-ms.php | 27 + PHPMailer6/language/phpmailer.lang-nb.php | 26 + PHPMailer6/language/phpmailer.lang-nl.php | 34 + PHPMailer6/language/phpmailer.lang-pl.php | 26 + PHPMailer6/language/phpmailer.lang-pt.php | 27 + PHPMailer6/language/phpmailer.lang-pt_br.php | 38 + PHPMailer6/language/phpmailer.lang-ro.php | 33 + PHPMailer6/language/phpmailer.lang-ru.php | 28 + PHPMailer6/language/phpmailer.lang-sk.php | 30 + PHPMailer6/language/phpmailer.lang-sl.php | 36 + PHPMailer6/language/phpmailer.lang-sr.php | 28 + .../language/phpmailer.lang-sr_latn.php | 28 + PHPMailer6/language/phpmailer.lang-sv.php | 27 + PHPMailer6/language/phpmailer.lang-tl.php | 28 + PHPMailer6/language/phpmailer.lang-tr.php | 31 + PHPMailer6/language/phpmailer.lang-uk.php | 28 + PHPMailer6/language/phpmailer.lang-vi.php | 27 + PHPMailer6/language/phpmailer.lang-zh.php | 29 + PHPMailer6/language/phpmailer.lang-zh_cn.php | 29 + PHPMailer6/src/DSNConfigurator.php | 247 + PHPMailer6/src/Exception.php | 40 + PHPMailer6/src/OAuth.php | 139 + PHPMailer6/src/OAuthTokenProvider.php | 44 + PHPMailer6/src/PHPMailer.php | 5126 ++++ PHPMailer6/src/POP3.php | 467 + PHPMailer6/src/SMTP.php | 1466 + controller/admin_changepwd.php | 78 +- controller/admin_create_user.php | 746 +- controller/admin_edit.php | 50 +- controller/admin_erfassen.php | 278 +- controller/admin_finanzen.php | 528 +- controller/admin_login.php | 570 +- controller/admin_memberupload.php | 1068 +- controller/admin_notenbuch.php | 392 +- controller/admin_notenupload.php | 686 +- controller/admin_parameter.php | 58 +- controller/admin_phpmailer.php | 109 + controller/admin_rollen.php | 296 +- controller/admin_suche.php | 122 +- controller/func_genPwd.php | 102 +- controller/selfregistration.php | 308 +- dashboard/#upload.php | 102 +- dashboard/changepwd.php | 94 +- dashboard/create_member.php | 164 +- dashboard/create_user.php | 232 +- dashboard/css/styles.css | 22494 ++++++++-------- dashboard/edit_member.php | 122 +- dashboard/edit_noten.php | 138 +- dashboard/edit_user.php | 198 +- dashboard/einwilligungen.php | 126 +- dashboard/error.php | 30 +- dashboard/finanzen.php | 244 +- dashboard/footer.php | 42 +- dashboard/index.php | 52 +- dashboard/js/datatables-simple-demo.js | 18 +- dashboard/js/scripts.js | 50 +- dashboard/login.php | 42 +- dashboard/logout.php | 22 +- dashboard/mailversand.php | 33 + dashboard/nav.php | 240 +- dashboard/navtop.php | 42 +- dashboard/notenbuch.php | 104 +- dashboard/notenbuchzuordnung.php | 128 +- dashboard/notenupload.php | 104 +- dashboard/notenuserzuordnung.php | 128 +- dashboard/passwortvergessen.php | 42 +- dashboard/passwortzuruecksetzen.php | 78 +- dashboard/result_latest.php | 314 +- dashboard/rollen.php | 92 +- dashboard/rollenzuordnung.php | 128 +- dashboard/style.min.css | 14 +- dashboard/survey_edit.php | 462 +- dashboard/test.php | 49 +- dashboard/userzuordnung.php | 128 +- js/components/#admin_create_member.js | 336 +- js/components/admin_changepwd.js | 62 +- js/components/admin_create_user.js | 324 +- js/components/admin_edit.js | 38 +- js/components/admin_erfassen.js | 226 +- js/components/admin_login.js | 210 +- js/components/admin_notenbuch.js | 586 +- js/components/admin_notenupload.js | 74 +- js/components/admin_parameter.js | 42 +- js/components/admin_phpmailer.js | 73 + js/components/admin_rollen.js | 414 +- js/components/selfregistration.js | 78 +- js/file_upload/vpb_uploader.js | 866 +- js/file_upload/vpb_uploader_finanzen.js | 866 +- js/file_upload/vpb_uploader_member.js | 1090 +- js/lottie_bodymovin/lottie.min.js | 2 +- js/popper/popper.min.js | 10 +- media/LoaderIcon.gif | Bin 0 -> 8026 bytes media/data.svg | 14 +- .../20230420_111236_RG_100121618035.pdf | Bin 0 -> 39520 bytes .../20230420_111413_RG_100119951099.pdf | Bin 0 -> 40093 bytes .../20230420_111614_RG_100117336090.pdf | Bin 0 -> 40271 bytes templates/modern/dashboard/bak_nav.html | 90 +- templates/modern/dashboard/changepwd.html | 176 +- templates/modern/dashboard/create_member.html | 432 +- templates/modern/dashboard/create_user.html | 448 +- templates/modern/dashboard/edit_member.html | 222 +- templates/modern/dashboard/edit_noten.html | 226 +- templates/modern/dashboard/edit_user.html | 272 +- .../modern/dashboard/einwilligungen.html | 244 +- templates/modern/dashboard/error.html | 82 +- templates/modern/dashboard/finanzen.html | 612 +- templates/modern/dashboard/footer.html | 16 +- templates/modern/dashboard/index.html | 184 +- templates/modern/dashboard/login.html | 266 +- templates/modern/dashboard/mailversand.html | 169 + templates/modern/dashboard/nav.html | 80 +- templates/modern/dashboard/navtop.html | 96 +- templates/modern/dashboard/notenbuch.html | 322 +- .../modern/dashboard/notenbuchzuordnung.html | 294 +- templates/modern/dashboard/notenupload.html | 378 +- .../modern/dashboard/notenuserzuordnung.html | 300 +- templates/modern/dashboard/parameter.html | 124 +- .../modern/dashboard/passwortvergessen.html | 192 +- .../dashboard/passwortzuruecksetzen.html | 222 +- templates/modern/dashboard/result_latest.html | 232 +- templates/modern/dashboard/rollen.html | 328 +- .../modern/dashboard/rollenzuordnung.html | 180 +- templates/modern/dashboard/survey_edit.html | 230 +- templates/modern/dashboard/test.html | 32 +- templates/modern/dashboard/userzuordnung.html | 300 +- templates/modern/selfregistration/index.html | 151 +- templates/modern/survey/index.html | 668 +- 167 files changed, 32558 insertions(+), 22071 deletions(-) create mode 100644 PHPMailer6/COMMITMENT create mode 100644 PHPMailer6/LICENSE create mode 100644 PHPMailer6/README.md create mode 100644 PHPMailer6/SECURITY.md create mode 100644 PHPMailer6/VERSION create mode 100644 PHPMailer6/composer.json create mode 100644 PHPMailer6/get_oauth_token.php create mode 100644 PHPMailer6/language/phpmailer.lang-af.php create mode 100644 PHPMailer6/language/phpmailer.lang-ar.php create mode 100644 PHPMailer6/language/phpmailer.lang-az.php create mode 100644 PHPMailer6/language/phpmailer.lang-ba.php create mode 100644 PHPMailer6/language/phpmailer.lang-be.php create mode 100644 PHPMailer6/language/phpmailer.lang-bg.php create mode 100644 PHPMailer6/language/phpmailer.lang-ca.php create mode 100644 PHPMailer6/language/phpmailer.lang-cs.php create mode 100644 PHPMailer6/language/phpmailer.lang-da.php create mode 100644 PHPMailer6/language/phpmailer.lang-de.php create mode 100644 PHPMailer6/language/phpmailer.lang-el.php create mode 100644 PHPMailer6/language/phpmailer.lang-eo.php create mode 100644 PHPMailer6/language/phpmailer.lang-es.php create mode 100644 PHPMailer6/language/phpmailer.lang-et.php create mode 100644 PHPMailer6/language/phpmailer.lang-fa.php create mode 100644 PHPMailer6/language/phpmailer.lang-fi.php create mode 100644 PHPMailer6/language/phpmailer.lang-fo.php create mode 100644 PHPMailer6/language/phpmailer.lang-fr.php create mode 100644 PHPMailer6/language/phpmailer.lang-gl.php create mode 100644 PHPMailer6/language/phpmailer.lang-he.php create mode 100644 PHPMailer6/language/phpmailer.lang-hi.php create mode 100644 PHPMailer6/language/phpmailer.lang-hr.php create mode 100644 PHPMailer6/language/phpmailer.lang-hu.php create mode 100644 PHPMailer6/language/phpmailer.lang-hy.php create mode 100644 PHPMailer6/language/phpmailer.lang-id.php create mode 100644 PHPMailer6/language/phpmailer.lang-it.php create mode 100644 PHPMailer6/language/phpmailer.lang-ja.php create mode 100644 PHPMailer6/language/phpmailer.lang-ka.php create mode 100644 PHPMailer6/language/phpmailer.lang-ko.php create mode 100644 PHPMailer6/language/phpmailer.lang-lt.php create mode 100644 PHPMailer6/language/phpmailer.lang-lv.php create mode 100644 PHPMailer6/language/phpmailer.lang-mg.php create mode 100644 PHPMailer6/language/phpmailer.lang-mn.php create mode 100644 PHPMailer6/language/phpmailer.lang-ms.php create mode 100644 PHPMailer6/language/phpmailer.lang-nb.php create mode 100644 PHPMailer6/language/phpmailer.lang-nl.php create mode 100644 PHPMailer6/language/phpmailer.lang-pl.php create mode 100644 PHPMailer6/language/phpmailer.lang-pt.php create mode 100644 PHPMailer6/language/phpmailer.lang-pt_br.php create mode 100644 PHPMailer6/language/phpmailer.lang-ro.php create mode 100644 PHPMailer6/language/phpmailer.lang-ru.php create mode 100644 PHPMailer6/language/phpmailer.lang-sk.php create mode 100644 PHPMailer6/language/phpmailer.lang-sl.php create mode 100644 PHPMailer6/language/phpmailer.lang-sr.php create mode 100644 PHPMailer6/language/phpmailer.lang-sr_latn.php create mode 100644 PHPMailer6/language/phpmailer.lang-sv.php create mode 100644 PHPMailer6/language/phpmailer.lang-tl.php create mode 100644 PHPMailer6/language/phpmailer.lang-tr.php create mode 100644 PHPMailer6/language/phpmailer.lang-uk.php create mode 100644 PHPMailer6/language/phpmailer.lang-vi.php create mode 100644 PHPMailer6/language/phpmailer.lang-zh.php create mode 100644 PHPMailer6/language/phpmailer.lang-zh_cn.php create mode 100644 PHPMailer6/src/DSNConfigurator.php create mode 100644 PHPMailer6/src/Exception.php create mode 100644 PHPMailer6/src/OAuth.php create mode 100644 PHPMailer6/src/OAuthTokenProvider.php create mode 100644 PHPMailer6/src/PHPMailer.php create mode 100644 PHPMailer6/src/POP3.php create mode 100644 PHPMailer6/src/SMTP.php create mode 100644 controller/admin_phpmailer.php create mode 100644 dashboard/mailversand.php create mode 100644 js/components/admin_phpmailer.js create mode 100644 media/LoaderIcon.gif create mode 100644 media/file_upload/finanzen/20230420_111236_RG_100121618035.pdf create mode 100644 media/file_upload/finanzen/20230420_111413_RG_100119951099.pdf create mode 100644 media/file_upload/finanzen/20230420_111614_RG_100117336090.pdf create mode 100644 templates/modern/dashboard/mailversand.html diff --git a/PHPMailer6/COMMITMENT b/PHPMailer6/COMMITMENT new file mode 100644 index 0000000..7cb27c2 --- /dev/null +++ b/PHPMailer6/COMMITMENT @@ -0,0 +1,46 @@ +GPL Cooperation Commitment +Version 1.0 + +Before filing or continuing to prosecute any legal proceeding or claim +(other than a Defensive Action) arising from termination of a Covered +License, we commit to extend to the person or entity ('you') accused +of violating the Covered License the following provisions regarding +cure and reinstatement, taken from GPL version 3. As used here, the +term 'this License' refers to the specific Covered License being +enforced. + + However, if you cease all violation of this License, then your + license from a particular copyright holder is reinstated (a) + provisionally, unless and until the copyright holder explicitly + and finally terminates your license, and (b) permanently, if the + copyright holder fails to notify you of the violation by some + reasonable means prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is + reinstated permanently if the copyright holder notifies you of the + violation by some reasonable means, this is the first time you + have received notice of violation of this License (for any work) + from that copyright holder, and you cure the violation prior to 30 + days after your receipt of the notice. + +We intend this Commitment to be irrevocable, and binding and +enforceable against us and assignees of or successors to our +copyrights. + +Definitions + +'Covered License' means the GNU General Public License, version 2 +(GPLv2), the GNU Lesser General Public License, version 2.1 +(LGPLv2.1), or the GNU Library General Public License, version 2 +(LGPLv2), all as published by the Free Software Foundation. + +'Defensive Action' means a legal proceeding or claim that We bring +against you in response to a prior proceeding or claim initiated by +you or your affiliate. + +'We' means each contributor to this repository as of the date of +inclusion of this file, including subsidiaries of a corporate +contributor. + +This work is available under a Creative Commons Attribution-ShareAlike +4.0 International license (https://creativecommons.org/licenses/by-sa/4.0/). diff --git a/PHPMailer6/LICENSE b/PHPMailer6/LICENSE new file mode 100644 index 0000000..73984fc --- /dev/null +++ b/PHPMailer6/LICENSE @@ -0,0 +1,502 @@ + GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 + + Copyright (C) 1991, 1999 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. + +[This is the first released version of the Lesser GPL. It also counts + as the successor of the GNU Library Public License, version 2, hence + the version number 2.1.] + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Lesser General Public License, applies to some +specially designated software packages--typically libraries--of the +Free Software Foundation and other authors who decide to use it. You +can use it too, but we suggest you first think carefully about whether +this license or the ordinary General Public License is the better +strategy to use in any particular case, based on the explanations below. + + When we speak of free software, we are referring to freedom of use, +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 and use pieces of +it in new free programs; and that you are informed that you can do +these things. + + To protect your rights, we need to make restrictions that forbid +distributors to deny you these rights or to ask you to surrender these +rights. These restrictions translate to certain responsibilities for +you if you distribute copies of the library or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link other code with the library, you must provide +complete object files to the recipients, so that they can relink them +with the library after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + We protect your rights with a two-step method: (1) we copyright the +library, and (2) we offer you this license, which gives you legal +permission to copy, distribute and/or modify the library. + + To protect each distributor, we want to make it very clear that +there is no warranty for the free library. Also, if the library is +modified by someone else and passed on, the recipients should know +that what they have is not the original version, so that the original +author's reputation will not be affected by problems that might be +introduced by others. + + Finally, software patents pose a constant threat to the existence of +any free program. We wish to make sure that a company cannot +effectively restrict the users of a free program by obtaining a +restrictive license from a patent holder. Therefore, we insist that +any patent license obtained for a version of the library must be +consistent with the full freedom of use specified in this license. + + Most GNU software, including some libraries, is covered by the +ordinary GNU General Public License. This license, the GNU Lesser +General Public License, applies to certain designated libraries, and +is quite different from the ordinary General Public License. We use +this license for certain libraries in order to permit linking those +libraries into non-free programs. + + When a program is linked with a library, whether statically or using +a shared library, the combination of the two is legally speaking a +combined work, a derivative of the original library. The ordinary +General Public License therefore permits such linking only if the +entire combination fits its criteria of freedom. The Lesser General +Public License permits more lax criteria for linking other code with +the library. + + We call this license the "Lesser" General Public License because it +does Less to protect the user's freedom than the ordinary General +Public License. It also provides other free software developers Less +of an advantage over competing non-free programs. These disadvantages +are the reason we use the ordinary General Public License for many +libraries. However, the Lesser license provides advantages in certain +special circumstances. + + For example, on rare occasions, there may be a special need to +encourage the widest possible use of a certain library, so that it becomes +a de-facto standard. To achieve this, non-free programs must be +allowed to use the library. A more frequent case is that a free +library does the same job as widely used non-free libraries. In this +case, there is little to gain by limiting the free library to free +software only, so we use the Lesser General Public License. + + In other cases, permission to use a particular library in non-free +programs enables a greater number of people to use a large body of +free software. For example, permission to use the GNU C Library in +non-free programs enables many more people to use the whole GNU +operating system, as well as its variant, the GNU/Linux operating +system. + + Although the Lesser General Public License is Less protective of the +users' freedom, it does ensure that the user of a program that is +linked with the Library has the freedom and the wherewithal to run +that program using a modified version of the Library. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, whereas the latter must +be combined with the library in order to run. + + GNU LESSER GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library or other +program which contains a notice placed by the copyright holder or +other authorized party saying it may be distributed under the terms of +this Lesser General Public License (also called "this License"). +Each licensee is addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, 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 library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete 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 distribute a copy of this License along with the +Library. + + 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 Library or any portion +of it, thus forming a work based on the Library, 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) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +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 Library, 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 Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. + + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you 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. + + If distribution of 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 satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. + + 6. As an exception to the Sections above, you may also combine or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (1) uses at run time a + copy of the library already present on the user's computer system, + rather than copying library functions into the executable, and (2) + will operate properly with a modified version of the library, if + the user installs one, as long as the modified version is + interface-compatible with the version that the work was made with. + + c) Accompany the work with a written offer, valid for at + least three years, to give the same user the materials + specified in Subsection 6a, above, for a charge no more + than the cost of performing this distribution. + + d) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + e) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the materials to be 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. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. + + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library 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. + + 9. 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 Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +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 with +this License. + + 11. 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 Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library 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 Library. + +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. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library 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. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Lesser 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 Library +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 Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. + + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +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 + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "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 +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. 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 LIBRARY 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 +LIBRARY (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 LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), 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 Libraries + + If you develop a new library, and you want it to be of the greatest +possible use to the public, we recommend making it free software that +everyone can redistribute and change. You can do so by permitting +redistribution under these terms (or, alternatively, under the terms of the +ordinary General Public License). + + To apply these terms, attach the following notices to the library. 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 library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; 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. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the library, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the + library `Frob' (a library for tweaking knobs) written by James Random Hacker. + + , 1 April 1990 + Ty Coon, President of Vice + +That's all there is to it! \ No newline at end of file diff --git a/PHPMailer6/README.md b/PHPMailer6/README.md new file mode 100644 index 0000000..53e66f1 --- /dev/null +++ b/PHPMailer6/README.md @@ -0,0 +1,230 @@ +[![SWUbanner](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner2-direct.svg)](https://supportukrainenow.org/) + +![PHPMailer](https://raw.github.com/PHPMailer/PHPMailer/master/examples/images/phpmailer.png) + +# PHPMailer – A full-featured email creation and transfer class for PHP + +[![Test status](https://github.com/PHPMailer/PHPMailer/workflows/Tests/badge.svg)](https://github.com/PHPMailer/PHPMailer/actions) +[![codecov.io](https://codecov.io/gh/PHPMailer/PHPMailer/branch/master/graph/badge.svg?token=iORZpwmYmM)](https://codecov.io/gh/PHPMailer/PHPMailer) +[![Latest Stable Version](https://poser.pugx.org/phpmailer/phpmailer/v/stable.svg)](https://packagist.org/packages/phpmailer/phpmailer) +[![Total Downloads](https://poser.pugx.org/phpmailer/phpmailer/downloads)](https://packagist.org/packages/phpmailer/phpmailer) +[![License](https://poser.pugx.org/phpmailer/phpmailer/license.svg)](https://packagist.org/packages/phpmailer/phpmailer) +[![API Docs](https://github.com/phpmailer/phpmailer/workflows/Docs/badge.svg)](https://phpmailer.github.io/PHPMailer/) +[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/PHPMailer/PHPMailer/badge)](https://api.securityscorecards.dev/projects/github.com/PHPMailer/PHPMailer) + +## Features +- Probably the world's most popular code for sending email from PHP! +- Used by many open-source projects: WordPress, Drupal, 1CRM, SugarCRM, Yii, Joomla! and many more +- Integrated SMTP support – send without a local mail server +- Send emails with multiple To, CC, BCC, and Reply-to addresses +- Multipart/alternative emails for mail clients that do not read HTML email +- Add attachments, including inline +- Support for UTF-8 content and 8bit, base64, binary, and quoted-printable encodings +- SMTP authentication with LOGIN, PLAIN, CRAM-MD5, and XOAUTH2 mechanisms over SMTPS and SMTP+STARTTLS transports +- Validates email addresses automatically +- Protects against header injection attacks +- Error messages in over 50 languages! +- DKIM and S/MIME signing support +- Compatible with PHP 5.5 and later, including PHP 8.2 +- Namespaced to prevent name clashes +- Much more! + +## Why you might need it +Many PHP developers need to send email from their code. The only PHP function that supports this directly is [`mail()`](https://www.php.net/manual/en/function.mail.php). However, it does not provide any assistance for making use of popular features such as encryption, authentication, HTML messages, and attachments. + +Formatting email correctly is surprisingly difficult. There are myriad overlapping (and conflicting) standards, requiring tight adherence to horribly complicated formatting and encoding rules – the vast majority of code that you'll find online that uses the `mail()` function directly is just plain wrong, if not unsafe! + +The PHP `mail()` function usually sends via a local mail server, typically fronted by a `sendmail` binary on Linux, BSD, and macOS platforms, however, Windows usually doesn't include a local mail server; PHPMailer's integrated SMTP client allows email sending on all platforms without needing a local mail server. Be aware though, that the `mail()` function should be avoided when possible; it's both faster and [safer](https://exploitbox.io/paper/Pwning-PHP-Mail-Function-For-Fun-And-RCE.html) to use SMTP to localhost. + +*Please* don't be tempted to do it yourself – if you don't use PHPMailer, there are many other excellent libraries that +you should look at before rolling your own. Try [SwiftMailer](https://swiftmailer.symfony.com/) +, [Laminas/Mail](https://docs.laminas.dev/laminas-mail/), [ZetaComponents](https://github.com/zetacomponents/Mail), etc. + +## License +This software is distributed under the [LGPL 2.1](http://www.gnu.org/licenses/lgpl-2.1.html) license, along with the [GPL Cooperation Commitment](https://gplcc.github.io/gplcc/). Please read [LICENSE](https://github.com/PHPMailer/PHPMailer/blob/master/LICENSE) for information on the software availability and distribution. + +## Installation & loading +PHPMailer is available on [Packagist](https://packagist.org/packages/phpmailer/phpmailer) (using semantic versioning), and installation via [Composer](https://getcomposer.org) is the recommended way to install PHPMailer. Just add this line to your `composer.json` file: + +```json +"phpmailer/phpmailer": "^6.8.0" +``` + +or run + +```sh +composer require phpmailer/phpmailer +``` + +Note that the `vendor` folder and the `vendor/autoload.php` script are generated by Composer; they are not part of PHPMailer. + +If you want to use the Gmail XOAUTH2 authentication class, you will also need to add a dependency on the `league/oauth2-client` package in your `composer.json`. + +Alternatively, if you're not using Composer, you +can [download PHPMailer as a zip file](https://github.com/PHPMailer/PHPMailer/archive/master.zip), (note that docs and examples are not included in the zip file), then copy the contents of the PHPMailer folder into one of the `include_path` directories specified in your PHP configuration and load each class file manually: + +```php +SMTPDebug = SMTP::DEBUG_SERVER; //Enable verbose debug output + $mail->isSMTP(); //Send using SMTP + $mail->Host = 'smtp.example.com'; //Set the SMTP server to send through + $mail->SMTPAuth = true; //Enable SMTP authentication + $mail->Username = 'user@example.com'; //SMTP username + $mail->Password = 'secret'; //SMTP password + $mail->SMTPSecure = PHPMailer::ENCRYPTION_SMTPS; //Enable implicit TLS encryption + $mail->Port = 465; //TCP port to connect to; use 587 if you have set `SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS` + + //Recipients + $mail->setFrom('from@example.com', 'Mailer'); + $mail->addAddress('joe@example.net', 'Joe User'); //Add a recipient + $mail->addAddress('ellen@example.com'); //Name is optional + $mail->addReplyTo('info@example.com', 'Information'); + $mail->addCC('cc@example.com'); + $mail->addBCC('bcc@example.com'); + + //Attachments + $mail->addAttachment('/var/tmp/file.tar.gz'); //Add attachments + $mail->addAttachment('/tmp/image.jpg', 'new.jpg'); //Optional name + + //Content + $mail->isHTML(true); //Set email format to HTML + $mail->Subject = 'Here is the subject'; + $mail->Body = 'This is the HTML message body in bold!'; + $mail->AltBody = 'This is the body in plain text for non-HTML mail clients'; + + $mail->send(); + echo 'Message has been sent'; +} catch (Exception $e) { + echo "Message could not be sent. Mailer Error: {$mail->ErrorInfo}"; +} +``` + +You'll find plenty to play with in the [examples](https://github.com/PHPMailer/PHPMailer/tree/master/examples) folder, which covers many common scenarios including sending through Gmail, building contact forms, sending to mailing lists, and more. + +If you are re-using the instance (e.g. when sending to a mailing list), you may need to clear the recipient list to avoid sending duplicate messages. See [the mailing list example](https://github.com/PHPMailer/PHPMailer/blob/master/examples/mailing_list.phps) for further guidance. + +That's it. You should now be ready to use PHPMailer! + +## Localization +PHPMailer defaults to English, but in the [language](https://github.com/PHPMailer/PHPMailer/tree/master/language/) folder, you'll find many translations for PHPMailer error messages that you may encounter. Their filenames contain [ISO 639-1](http://en.wikipedia.org/wiki/ISO_639-1) language code for the translations, for example `fr` for French. To specify a language, you need to tell PHPMailer which one to use, like this: + +```php +//To load the French version +$mail->setLanguage('fr', '/optional/path/to/language/directory/'); +``` + +We welcome corrections and new languages – if you're looking for corrections, run the [PHPMailerLangTest.php](https://github.com/PHPMailer/PHPMailer/tree/master/test/PHPMailerLangTest.php) script in the tests folder and it will show any missing translations. + +## Documentation +Start reading at the [GitHub wiki](https://github.com/PHPMailer/PHPMailer/wiki). If you're having trouble, head for [the troubleshooting guide](https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting) as it's frequently updated. + +Examples of how to use PHPMailer for common scenarios can be found in the [examples](https://github.com/PHPMailer/PHPMailer/tree/master/examples) folder. If you're looking for a good starting point, we recommend you start with [the Gmail example](https://github.com/PHPMailer/PHPMailer/tree/master/examples/gmail.phps). + +To reduce PHPMailer's deployed code footprint, examples are not included if you load PHPMailer via Composer or via [GitHub's zip file download](https://github.com/PHPMailer/PHPMailer/archive/master.zip), so you'll need to either clone the git repository or use the above links to get to the examples directly. + +Complete generated API documentation is [available online](https://phpmailer.github.io/PHPMailer/). + +You can generate complete API-level documentation by running `phpdoc` in the top-level folder, and documentation will appear in the `docs` folder, though you'll need to have [PHPDocumentor](http://www.phpdoc.org) installed. You may find [the unit tests](https://github.com/PHPMailer/PHPMailer/blob/master/test/PHPMailerTest.php) a good reference for how to do various operations such as encryption. + +If the documentation doesn't cover what you need, search the [many questions on Stack Overflow](http://stackoverflow.com/questions/tagged/phpmailer), and before you ask a question about "SMTP Error: Could not connect to SMTP host.", [read the troubleshooting guide](https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting). + +## Tests +[PHPMailer tests](https://github.com/PHPMailer/PHPMailer/tree/master/test/) use PHPUnit 9, with [a polyfill](https://github.com/Yoast/PHPUnit-Polyfills) to let 9-style tests run on older PHPUnit and PHP versions. + +[![Test status](https://github.com/PHPMailer/PHPMailer/workflows/Tests/badge.svg)](https://github.com/PHPMailer/PHPMailer/actions) + +If this isn't passing, is there something you can do to help? + +## Security +Please disclose any vulnerabilities found responsibly – report security issues to the maintainers privately. + +See [SECURITY](https://github.com/PHPMailer/PHPMailer/tree/master/SECURITY.md) and [PHPMailer's security advisories on GitHub](https://github.com/PHPMailer/PHPMailer/security). + +## Contributing +Please submit bug reports, suggestions, and pull requests to the [GitHub issue tracker](https://github.com/PHPMailer/PHPMailer/issues). + +We're particularly interested in fixing edge cases, expanding test coverage, and updating translations. + +If you found a mistake in the docs, or want to add something, go ahead and amend the wiki – anyone can edit it. + +If you have git clones from prior to the move to the PHPMailer GitHub organisation, you'll need to update any remote URLs referencing the old GitHub location with a command like this from within your clone: + +```sh +git remote set-url upstream https://github.com/PHPMailer/PHPMailer.git +``` + +Please *don't* use the SourceForge or Google Code projects any more; they are obsolete and no longer maintained. + +## Sponsorship +Development time and resources for PHPMailer are provided by [Smartmessages.net](https://info.smartmessages.net/), the world's only privacy-first email marketing system. + +Smartmessages.net privacy-first email marketing logo + +Donations are very welcome, whether in beer 🍺, T-shirts 👕, or cold, hard cash 💰. Sponsorship through GitHub is a simple and convenient way to say "thank you" to PHPMailer's maintainers and contributors – just click the "Sponsor" button [on the project page](https://github.com/PHPMailer/PHPMailer). If your company uses PHPMailer, consider taking part in Tidelift's enterprise support programme. + +## PHPMailer For Enterprise + +Available as part of the Tidelift Subscription. + +The maintainers of PHPMailer and thousands of other packages are working with Tidelift to deliver commercial +support and maintenance for the open-source packages you use to build your applications. Save time, reduce risk, and +improve code health, while paying the maintainers of the exact packages you +use. [Learn more.](https://tidelift.com/subscription/pkg/packagist-phpmailer-phpmailer?utm_source=packagist-phpmailer-phpmailer&utm_medium=referral&utm_campaign=enterprise&utm_term=repo) + +## Changelog +See [changelog](changelog.md). + +## History +- PHPMailer was originally written in 2001 by Brent R. Matzelle as a [SourceForge project](http://sourceforge.net/projects/phpmailer/). +- [Marcus Bointon](https://github.com/Synchro) (`coolbru` on SF) and Andy Prevost (`codeworxtech`) took over the project in 2004. +- Became an Apache incubator project on Google Code in 2010, managed by Jim Jagielski. +- Marcus created [his fork on GitHub](https://github.com/Synchro/PHPMailer) in 2008. +- Jim and Marcus decide to join forces and use GitHub as the canonical and official repo for PHPMailer in 2013. +- PHPMailer moves to [the PHPMailer organisation](https://github.com/PHPMailer) on GitHub in 2013. + +### What's changed since moving from SourceForge? +- Official successor to the SourceForge and Google Code projects. +- Test suite. +- Continuous integration with GitHub Actions. +- Composer support. +- Public development. +- Additional languages and language strings. +- CRAM-MD5 authentication support. +- Preserves full repo history of authors, commits, and branches from the original SourceForge project. diff --git a/PHPMailer6/SECURITY.md b/PHPMailer6/SECURITY.md new file mode 100644 index 0000000..035a87f --- /dev/null +++ b/PHPMailer6/SECURITY.md @@ -0,0 +1,37 @@ +# Security notices relating to PHPMailer + +Please disclose any security issues or vulnerabilities found through [Tidelift's coordinated disclosure system](https://tidelift.com/security) or to the maintainers privately. + +PHPMailer 6.4.1 and earlier contain a vulnerability that can result in untrusted code being called (if such code is injected into the host project's scope by other means). If the `$patternselect` parameter to `validateAddress()` is set to `'php'` (the default, defined by `PHPMailer::$validator`), and the global namespace contains a function called `php`, it will be called in preference to the built-in validator of the same name. Mitigated in PHPMailer 6.5.0 by denying the use of simple strings as validator function names. Recorded as [CVE-2021-3603](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-3603). Reported by [Vikrant Singh Chauhan](mailto:vi@hackberry.xyz) via [huntr.dev](https://www.huntr.dev/). + +PHPMailer versions 6.4.1 and earlier contain a possible remote code execution vulnerability through the `$lang_path` parameter of the `setLanguage()` method. If the `$lang_path` parameter is passed unfiltered from user input, it can be set to [a UNC path](https://docs.microsoft.com/en-us/dotnet/standard/io/file-path-formats#unc-paths), and if an attacker is also able to persuade the server to load a file from that UNC path, a script file under their control may be executed. This vulnerability only applies to systems that resolve UNC paths, typically only Microsoft Windows. +PHPMailer 6.5.0 mitigates this by no longer treating translation files as PHP code, but by parsing their text content directly. This approach avoids the possibility of executing unknown code while retaining backward compatibility. This isn't ideal, so the current translation format is deprecated and will be replaced in the next major release. Recorded as [CVE-2021-34551](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-34551). Reported by [Jilin Diting Information Technology Co., Ltd](https://listensec.com) via Tidelift. + +PHPMailer versions between 6.1.8 and 6.4.0 contain a regression of the earlier CVE-2018-19296 object injection vulnerability as a result of [a fix for Windows UNC paths in 6.1.8](https://github.com/PHPMailer/PHPMailer/commit/e2e07a355ee8ff36aba21d0242c5950c56e4c6f9). Recorded as [CVE-2020-36326](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-36326). Reported by Fariskhi Vidyan via Tidelift. 6.4.1 fixes this issue, and also enforces stricter checks for URL schemes in local path contexts. + +PHPMailer versions 6.1.5 and earlier contain an output escaping bug that occurs in `Content-Type` and `Content-Disposition` when filenames passed into `addAttachment` and other methods that accept attachment names contain double quote characters, in contravention of RFC822 3.4.1. No specific vulnerability has been found relating to this, but it could allow file attachments to bypass attachment filters that are based on matching filename extensions. Recorded as [CVE-2020-13625](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-13625). Reported by Elar Lang of Clarified Security. + +PHPMailer versions prior to 6.0.6 and 5.2.27 are vulnerable to an object injection attack by passing `phar://` paths into `addAttachment()` and other functions that may receive unfiltered local paths, possibly leading to RCE. Recorded as [CVE-2018-19296](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2018-19296). See [this article](https://knasmueller.net/5-answers-about-php-phar-exploitation) for more info on this type of vulnerability. Mitigated by blocking the use of paths containing URL-protocol style prefixes such as `phar://`. Reported by Sehun Oh of cyberone.kr. + +PHPMailer versions prior to 5.2.24 (released July 26th 2017) have an XSS vulnerability in one of the code examples, [CVE-2017-11503](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-11503). The `code_generator.phps` example did not filter user input prior to output. This file is distributed with a `.phps` extension, so it it not normally executable unless it is explicitly renamed, and the file is not included when PHPMailer is loaded through composer, so it is safe by default. There was also an undisclosed potential XSS vulnerability in the default exception handler (unused by default). Patches for both issues kindly provided by Patrick Monnerat of the Fedora Project. + +PHPMailer versions prior to 5.2.22 (released January 9th 2017) have a local file disclosure vulnerability, [CVE-2017-5223](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2017-5223). If content passed into `msgHTML()` is sourced from unfiltered user input, relative paths can map to absolute local file paths and added as attachments. Also note that `addAttachment` (just like `file_get_contents`, `passthru`, `unlink`, etc) should not be passed user-sourced params either! Reported by Yongxiang Li of Asiasecurity. + +PHPMailer versions prior to 5.2.20 (released December 28th 2016) are vulnerable to [CVE-2016-10045](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-10045) a remote code execution vulnerability, responsibly reported by [Dawid Golunski](https://legalhackers.com/advisories/PHPMailer-Exploit-Remote-Code-Exec-CVE-2016-10045-Vuln-Patch-Bypass.html), and patched by Paul Buonopane (@Zenexer). + +PHPMailer versions prior to 5.2.18 (released December 2016) are vulnerable to [CVE-2016-10033](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-10033) a remote code execution vulnerability, responsibly reported by [Dawid Golunski](http://legalhackers.com/advisories/PHPMailer-Exploit-Remote-Code-Exec-CVE-2016-10033-Vuln.html). + +PHPMailer versions prior to 5.2.14 (released November 2015) are vulnerable to [CVE-2015-8476](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-8476) an SMTP CRLF injection bug permitting arbitrary message sending. + +PHPMailer versions prior to 5.2.10 (released May 2015) are vulnerable to [CVE-2008-5619](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2008-5619), a remote code execution vulnerability in the bundled html2text library. This file was removed in 5.2.10, so if you are using a version prior to that and make use of the html2text function, it's vitally important that you upgrade and remove this file. + +PHPMailer versions prior to 2.0.7 and 2.2.1 are vulnerable to [CVE-2012-0796](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-0796), an email header injection attack. + +Joomla 1.6.0 uses PHPMailer in an unsafe way, allowing it to reveal local file paths, reported in [CVE-2011-3747](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2011-3747). + +PHPMailer didn't sanitise the `$lang_path` parameter in `SetLanguage`. This wasn't a problem in itself, but some apps (PHPClassifieds, ATutor) also failed to sanitise user-provided parameters passed to it, permitting semi-arbitrary local file inclusion, reported in [CVE-2010-4914](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2010-4914), [CVE-2007-2021](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2007-2021) and [CVE-2006-5734](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2006-5734). + +PHPMailer 1.7.2 and earlier contained a possible DDoS vulnerability reported in [CVE-2005-1807](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2005-1807). + +PHPMailer 1.7 and earlier (June 2003) have a possible vulnerability in the `SendmailSend` method where shell commands may not be sanitised. Reported in [CVE-2007-3215](https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2007-3215). + diff --git a/PHPMailer6/VERSION b/PHPMailer6/VERSION new file mode 100644 index 0000000..8a1c5c7 --- /dev/null +++ b/PHPMailer6/VERSION @@ -0,0 +1 @@ +6.8.0 \ No newline at end of file diff --git a/PHPMailer6/composer.json b/PHPMailer6/composer.json new file mode 100644 index 0000000..2fd2f4c --- /dev/null +++ b/PHPMailer6/composer.json @@ -0,0 +1,78 @@ +{ + "name": "phpmailer/phpmailer", + "type": "library", + "description": "PHPMailer is a full-featured email creation and transfer class for PHP", + "authors": [ + { + "name": "Marcus Bointon", + "email": "phpmailer@synchromedia.co.uk" + }, + { + "name": "Jim Jagielski", + "email": "jimjag@gmail.com" + }, + { + "name": "Andy Prevost", + "email": "codeworxtech@users.sourceforge.net" + }, + { + "name": "Brent R. Matzelle" + } + ], + "funding": [ + { + "url": "https://github.com/Synchro", + "type": "github" + } + ], + "config": { + "allow-plugins": { + "dealerdirect/phpcodesniffer-composer-installer": true + } + }, + "require": { + "php": ">=5.5.0", + "ext-ctype": "*", + "ext-filter": "*", + "ext-hash": "*" + }, + "require-dev": { + "dealerdirect/phpcodesniffer-composer-installer": "^1.0", + "doctrine/annotations": "^1.2.6 || ^1.13.3", + "php-parallel-lint/php-console-highlighter": "^1.0.0", + "php-parallel-lint/php-parallel-lint": "^1.3.2", + "phpcompatibility/php-compatibility": "^9.3.5", + "roave/security-advisories": "dev-latest", + "squizlabs/php_codesniffer": "^3.7.2", + "yoast/phpunit-polyfills": "^1.0.4" + }, + "suggest": { + "ext-mbstring": "Needed to send email in multibyte encoding charset or decode encoded addresses", + "ext-openssl": "Needed for secure SMTP sending and DKIM signing", + "greew/oauth2-azure-provider": "Needed for Microsoft Azure XOAUTH2 authentication", + "hayageek/oauth2-yahoo": "Needed for Yahoo XOAUTH2 authentication", + "league/oauth2-google": "Needed for Google XOAUTH2 authentication", + "psr/log": "For optional PSR-3 debug logging", + "thenetworg/oauth2-azure": "Needed for Microsoft XOAUTH2 authentication", + "symfony/polyfill-mbstring": "To support UTF-8 if the Mbstring PHP extension is not enabled (^1.2)" + }, + "autoload": { + "psr-4": { + "PHPMailer\\PHPMailer\\": "src/" + } + }, + "autoload-dev": { + "psr-4": { + "PHPMailer\\Test\\": "test/" + } + }, + "license": "LGPL-2.1-only", + "scripts": { + "check": "./vendor/bin/phpcs", + "test": "./vendor/bin/phpunit --no-coverage", + "coverage": "./vendor/bin/phpunit", + "lint": [ + "@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . --show-deprecated -e php,phps --exclude vendor --exclude .git --exclude build" + ] + } +} diff --git a/PHPMailer6/get_oauth_token.php b/PHPMailer6/get_oauth_token.php new file mode 100644 index 0000000..0e6dee9 --- /dev/null +++ b/PHPMailer6/get_oauth_token.php @@ -0,0 +1,182 @@ + + * @author Jim Jagielski (jimjag) + * @author Andy Prevost (codeworxtech) + * @author Brent R. Matzelle (original founder) + * @copyright 2012 - 2020 Marcus Bointon + * @copyright 2010 - 2012 Jim Jagielski + * @copyright 2004 - 2009 Andy Prevost + * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License + * @note This program is distributed in the hope that it will be useful - WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. + */ + +/** + * Get an OAuth2 token from an OAuth2 provider. + * * Install this script on your server so that it's accessible + * as [https/http]:////get_oauth_token.php + * e.g.: http://localhost/phpmailer/get_oauth_token.php + * * Ensure dependencies are installed with 'composer install' + * * Set up an app in your Google/Yahoo/Microsoft account + * * Set the script address as the app's redirect URL + * If no refresh token is obtained when running this file, + * revoke access to your app and run the script again. + */ + +namespace PHPMailer\PHPMailer; + +/** + * Aliases for League Provider Classes + * Make sure you have added these to your composer.json and run `composer install` + * Plenty to choose from here: + * @see http://oauth2-client.thephpleague.com/providers/thirdparty/ + */ +//@see https://github.com/thephpleague/oauth2-google +use League\OAuth2\Client\Provider\Google; +//@see https://packagist.org/packages/hayageek/oauth2-yahoo +use Hayageek\OAuth2\Client\Provider\Yahoo; +//@see https://github.com/stevenmaguire/oauth2-microsoft +use Stevenmaguire\OAuth2\Client\Provider\Microsoft; +//@see https://github.com/greew/oauth2-azure-provider +use Greew\OAuth2\Client\Provider\Azure; + +if (!isset($_GET['code']) && !isset($_POST['provider'])) { + ?> + + +
+

Select Provider

+ +
+ +
+ +
+ +
+

Enter id and secret

+

These details are obtained by setting up an app in your provider's developer console. +

+

ClientId:

+

ClientSecret:

+

TenantID (only relevant for Azure):

+ +
+ + + $clientId, + 'clientSecret' => $clientSecret, + 'redirectUri' => $redirectUri, + 'accessType' => 'offline' +]; + +$options = []; +$provider = null; + +switch ($providerName) { + case 'Google': + $provider = new Google($params); + $options = [ + 'scope' => [ + 'https://mail.google.com/' + ] + ]; + break; + case 'Yahoo': + $provider = new Yahoo($params); + break; + case 'Microsoft': + $provider = new Microsoft($params); + $options = [ + 'scope' => [ + 'wl.imap', + 'wl.offline_access' + ] + ]; + break; + case 'Azure': + $params['tenantId'] = $tenantId; + + $provider = new Azure($params); + $options = [ + 'scope' => [ + 'https://outlook.office.com/SMTP.Send', + 'offline_access' + ] + ]; + break; +} + +if (null === $provider) { + exit('Provider missing'); +} + +if (!isset($_GET['code'])) { + //If we don't have an authorization code then get one + $authUrl = $provider->getAuthorizationUrl($options); + $_SESSION['oauth2state'] = $provider->getState(); + header('Location: ' . $authUrl); + exit; + //Check given state against previously stored one to mitigate CSRF attack +} elseif (empty($_GET['state']) || ($_GET['state'] !== $_SESSION['oauth2state'])) { + unset($_SESSION['oauth2state']); + unset($_SESSION['provider']); + exit('Invalid state'); +} else { + unset($_SESSION['provider']); + //Try to get an access token (using the authorization code grant) + $token = $provider->getAccessToken( + 'authorization_code', + [ + 'code' => $_GET['code'] + ] + ); + //Use this to interact with an API on the users behalf + //Use this to get a new access token if the old one expires + echo 'Refresh Token: ', $token->getRefreshToken(); +} diff --git a/PHPMailer6/language/phpmailer.lang-af.php b/PHPMailer6/language/phpmailer.lang-af.php new file mode 100644 index 0000000..5c75f00 --- /dev/null +++ b/PHPMailer6/language/phpmailer.lang-af.php @@ -0,0 +1,26 @@ + + */ + +$PHPMAILER_LANG['authenticate'] = 'خطأ SMTP : لا يمكن تأكيد الهوية.'; +$PHPMAILER_LANG['connect_host'] = 'خطأ SMTP: لا يمكن الاتصال بالخادم SMTP.'; +$PHPMAILER_LANG['data_not_accepted'] = 'خطأ SMTP: لم يتم قبول المعلومات .'; +$PHPMAILER_LANG['empty_message'] = 'نص الرسالة فارغ'; +$PHPMAILER_LANG['encoding'] = 'ترميز غير معروف: '; +$PHPMAILER_LANG['execute'] = 'لا يمكن تنفيذ : '; +$PHPMAILER_LANG['file_access'] = 'لا يمكن الوصول للملف: '; +$PHPMAILER_LANG['file_open'] = 'خطأ في الملف: لا يمكن فتحه: '; +$PHPMAILER_LANG['from_failed'] = 'خطأ على مستوى عنوان المرسل : '; +$PHPMAILER_LANG['instantiate'] = 'لا يمكن توفير خدمة البريد.'; +$PHPMAILER_LANG['invalid_address'] = 'الإرسال غير ممكن لأن عنوان البريد الإلكتروني غير صالح: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' برنامج الإرسال غير مدعوم.'; +$PHPMAILER_LANG['provide_address'] = 'يجب توفير عنوان البريد الإلكتروني لمستلم واحد على الأقل.'; +$PHPMAILER_LANG['recipients_failed'] = 'خطأ SMTP: الأخطاء التالية فشل في الارسال لكل من : '; +$PHPMAILER_LANG['signing'] = 'خطأ في التوقيع: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() غير ممكن.'; +$PHPMAILER_LANG['smtp_error'] = 'خطأ على مستوى الخادم SMTP: '; +$PHPMAILER_LANG['variable_set'] = 'لا يمكن تعيين أو إعادة تعيين متغير: '; +$PHPMAILER_LANG['extension_missing'] = 'الإضافة غير موجودة: '; diff --git a/PHPMailer6/language/phpmailer.lang-az.php b/PHPMailer6/language/phpmailer.lang-az.php new file mode 100644 index 0000000..2f7be1e --- /dev/null +++ b/PHPMailer6/language/phpmailer.lang-az.php @@ -0,0 +1,27 @@ + + */ + +$PHPMAILER_LANG['authenticate'] = 'SMTP Greška: Neuspjela prijava.'; +$PHPMAILER_LANG['connect_host'] = 'SMTP Greška: Nije moguće spojiti se sa SMTP serverom.'; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP Greška: Podatci nisu prihvaćeni.'; +$PHPMAILER_LANG['empty_message'] = 'Sadržaj poruke je prazan.'; +$PHPMAILER_LANG['encoding'] = 'Nepoznata kriptografija: '; +$PHPMAILER_LANG['execute'] = 'Nije moguće izvršiti naredbu: '; +$PHPMAILER_LANG['file_access'] = 'Nije moguće pristupiti datoteci: '; +$PHPMAILER_LANG['file_open'] = 'Nije moguće otvoriti datoteku: '; +$PHPMAILER_LANG['from_failed'] = 'SMTP Greška: Slanje sa navedenih e-mail adresa nije uspjelo: '; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP Greška: Slanje na navedene e-mail adrese nije uspjelo: '; +$PHPMAILER_LANG['instantiate'] = 'Ne mogu pokrenuti mail funkcionalnost.'; +$PHPMAILER_LANG['invalid_address'] = 'E-mail nije poslan. Neispravna e-mail adresa: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer nije podržan.'; +$PHPMAILER_LANG['provide_address'] = 'Definišite barem jednu adresu primaoca.'; +$PHPMAILER_LANG['signing'] = 'Greška prilikom prijave: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'Spajanje na SMTP server nije uspjelo.'; +$PHPMAILER_LANG['smtp_error'] = 'SMTP greška: '; +$PHPMAILER_LANG['variable_set'] = 'Nije moguće postaviti varijablu ili je vratiti nazad: '; +$PHPMAILER_LANG['extension_missing'] = 'Nedostaje ekstenzija: '; diff --git a/PHPMailer6/language/phpmailer.lang-be.php b/PHPMailer6/language/phpmailer.lang-be.php new file mode 100644 index 0000000..ffeb4be --- /dev/null +++ b/PHPMailer6/language/phpmailer.lang-be.php @@ -0,0 +1,27 @@ + + */ + +$PHPMAILER_LANG['authenticate'] = 'Памылка SMTP: памылка ідэнтыфікацыі.'; +$PHPMAILER_LANG['connect_host'] = 'Памылка SMTP: нельга ўстанавіць сувязь з SMTP-серверам.'; +$PHPMAILER_LANG['data_not_accepted'] = 'Памылка SMTP: звесткі непрынятыя.'; +$PHPMAILER_LANG['empty_message'] = 'Пустое паведамленне.'; +$PHPMAILER_LANG['encoding'] = 'Невядомая кадыроўка тэксту: '; +$PHPMAILER_LANG['execute'] = 'Нельга выканаць каманду: '; +$PHPMAILER_LANG['file_access'] = 'Няма доступу да файла: '; +$PHPMAILER_LANG['file_open'] = 'Нельга адкрыць файл: '; +$PHPMAILER_LANG['from_failed'] = 'Няправільны адрас адпраўніка: '; +$PHPMAILER_LANG['instantiate'] = 'Нельга прымяніць функцыю mail().'; +$PHPMAILER_LANG['invalid_address'] = 'Нельга даслаць паведамленне, няправільны email атрымальніка: '; +$PHPMAILER_LANG['provide_address'] = 'Запоўніце, калі ласка, правільны email атрымальніка.'; +$PHPMAILER_LANG['mailer_not_supported'] = ' - паштовы сервер не падтрымліваецца.'; +$PHPMAILER_LANG['recipients_failed'] = 'Памылка SMTP: няправільныя атрымальнікі: '; +$PHPMAILER_LANG['signing'] = 'Памылка подпісу паведамлення: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'Памылка сувязі з SMTP-серверам.'; +$PHPMAILER_LANG['smtp_error'] = 'Памылка SMTP: '; +$PHPMAILER_LANG['variable_set'] = 'Нельга ўстанавіць або перамяніць значэнне пераменнай: '; +//$PHPMAILER_LANG['extension_missing'] = 'Extension missing: '; diff --git a/PHPMailer6/language/phpmailer.lang-bg.php b/PHPMailer6/language/phpmailer.lang-bg.php new file mode 100644 index 0000000..ae1f9f3 --- /dev/null +++ b/PHPMailer6/language/phpmailer.lang-bg.php @@ -0,0 +1,27 @@ + + */ + +$PHPMAILER_LANG['authenticate'] = 'SMTP грешка: Не може да се удостовери пред сървъра.'; +$PHPMAILER_LANG['connect_host'] = 'SMTP грешка: Не може да се свърже с SMTP хоста.'; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP грешка: данните не са приети.'; +$PHPMAILER_LANG['empty_message'] = 'Съдържанието на съобщението е празно'; +$PHPMAILER_LANG['encoding'] = 'Неизвестно кодиране: '; +$PHPMAILER_LANG['execute'] = 'Не може да се изпълни: '; +$PHPMAILER_LANG['file_access'] = 'Няма достъп до файл: '; +$PHPMAILER_LANG['file_open'] = 'Файлова грешка: Не може да се отвори файл: '; +$PHPMAILER_LANG['from_failed'] = 'Следните адреси за подател са невалидни: '; +$PHPMAILER_LANG['instantiate'] = 'Не може да се инстанцира функцията mail.'; +$PHPMAILER_LANG['invalid_address'] = 'Невалиден адрес: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' - пощенски сървър не се поддържа.'; +$PHPMAILER_LANG['provide_address'] = 'Трябва да предоставите поне един email адрес за получател.'; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP грешка: Следните адреси за Получател са невалидни: '; +$PHPMAILER_LANG['signing'] = 'Грешка при подписване: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP провален connect().'; +$PHPMAILER_LANG['smtp_error'] = 'SMTP сървърна грешка: '; +$PHPMAILER_LANG['variable_set'] = 'Не може да се установи или възстанови променлива: '; +$PHPMAILER_LANG['extension_missing'] = 'Липсва разширение: '; diff --git a/PHPMailer6/language/phpmailer.lang-ca.php b/PHPMailer6/language/phpmailer.lang-ca.php new file mode 100644 index 0000000..b3f56d0 --- /dev/null +++ b/PHPMailer6/language/phpmailer.lang-ca.php @@ -0,0 +1,27 @@ + + */ + +$PHPMAILER_LANG['authenticate'] = 'Error SMTP: No s’ha pogut autenticar.'; +$PHPMAILER_LANG['connect_host'] = 'Error SMTP: No es pot connectar al servidor SMTP.'; +$PHPMAILER_LANG['data_not_accepted'] = 'Error SMTP: Dades no acceptades.'; +$PHPMAILER_LANG['empty_message'] = 'El cos del missatge està buit.'; +$PHPMAILER_LANG['encoding'] = 'Codificació desconeguda: '; +$PHPMAILER_LANG['execute'] = 'No es pot executar: '; +$PHPMAILER_LANG['file_access'] = 'No es pot accedir a l’arxiu: '; +$PHPMAILER_LANG['file_open'] = 'Error d’Arxiu: No es pot obrir l’arxiu: '; +$PHPMAILER_LANG['from_failed'] = 'La(s) següent(s) adreces de remitent han fallat: '; +$PHPMAILER_LANG['instantiate'] = 'No s’ha pogut crear una instància de la funció Mail.'; +$PHPMAILER_LANG['invalid_address'] = 'Adreça d’email invalida: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer no està suportat'; +$PHPMAILER_LANG['provide_address'] = 'S’ha de proveir almenys una adreça d’email com a destinatari.'; +$PHPMAILER_LANG['recipients_failed'] = 'Error SMTP: Els següents destinataris han fallat: '; +$PHPMAILER_LANG['signing'] = 'Error al signar: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'Ha fallat el SMTP Connect().'; +$PHPMAILER_LANG['smtp_error'] = 'Error del servidor SMTP: '; +$PHPMAILER_LANG['variable_set'] = 'No s’ha pogut establir o restablir la variable: '; +//$PHPMAILER_LANG['extension_missing'] = 'Extension missing: '; diff --git a/PHPMailer6/language/phpmailer.lang-cs.php b/PHPMailer6/language/phpmailer.lang-cs.php new file mode 100644 index 0000000..0d47638 --- /dev/null +++ b/PHPMailer6/language/phpmailer.lang-cs.php @@ -0,0 +1,28 @@ + + * Rewrite and extension of the work by Mikael Stokkebro + * + */ + +$PHPMAILER_LANG['authenticate'] = 'SMTP fejl: Login mislykkedes.'; +$PHPMAILER_LANG['connect_host'] = 'SMTP fejl: Forbindelse til SMTP serveren kunne ikke oprettes.'; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP fejl: Data blev ikke accepteret.'; +$PHPMAILER_LANG['empty_message'] = 'Meddelelsen er uden indhold'; +$PHPMAILER_LANG['encoding'] = 'Ukendt encode-format: '; +$PHPMAILER_LANG['execute'] = 'Kunne ikke afvikle: '; +$PHPMAILER_LANG['extension_missing'] = 'Udvidelse mangler: '; +$PHPMAILER_LANG['file_access'] = 'Kunne ikke tilgå filen: '; +$PHPMAILER_LANG['file_open'] = 'Fil fejl: Kunne ikke åbne filen: '; +$PHPMAILER_LANG['from_failed'] = 'Følgende afsenderadresse er forkert: '; +$PHPMAILER_LANG['instantiate'] = 'Email funktionen kunne ikke initialiseres.'; +$PHPMAILER_LANG['invalid_address'] = 'Udgyldig adresse: '; +$PHPMAILER_LANG['invalid_header'] = 'Ugyldig header navn eller værdi'; +$PHPMAILER_LANG['invalid_hostentry'] = 'Ugyldig hostentry: '; +$PHPMAILER_LANG['invalid_host'] = 'Ugyldig vært: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer understøttes ikke.'; +$PHPMAILER_LANG['provide_address'] = 'Indtast mindst en modtagers email adresse.'; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP fejl: Følgende modtagere fejlede: '; +$PHPMAILER_LANG['signing'] = 'Signeringsfejl: '; +$PHPMAILER_LANG['smtp_code'] = 'SMTP kode: '; +$PHPMAILER_LANG['smtp_code_ex'] = 'Yderligere SMTP info: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() fejlede.'; +$PHPMAILER_LANG['smtp_detail'] = 'Detalje: '; +$PHPMAILER_LANG['smtp_error'] = 'SMTP server fejl: '; +$PHPMAILER_LANG['variable_set'] = 'Kunne ikke definere eller nulstille variablen: '; diff --git a/PHPMailer6/language/phpmailer.lang-de.php b/PHPMailer6/language/phpmailer.lang-de.php new file mode 100644 index 0000000..6f8e59f --- /dev/null +++ b/PHPMailer6/language/phpmailer.lang-de.php @@ -0,0 +1,28 @@ + + * @author Crystopher Glodzienski Cardoso + */ + +$PHPMAILER_LANG['authenticate'] = 'Error SMTP: Imposible autentificar.'; +$PHPMAILER_LANG['connect_host'] = 'Error SMTP: Imposible conectar al servidor SMTP.'; +$PHPMAILER_LANG['data_not_accepted'] = 'Error SMTP: Datos no aceptados.'; +$PHPMAILER_LANG['empty_message'] = 'El cuerpo del mensaje está vacío.'; +$PHPMAILER_LANG['encoding'] = 'Codificación desconocida: '; +$PHPMAILER_LANG['execute'] = 'Imposible ejecutar: '; +$PHPMAILER_LANG['file_access'] = 'Imposible acceder al archivo: '; +$PHPMAILER_LANG['file_open'] = 'Error de Archivo: Imposible abrir el archivo: '; +$PHPMAILER_LANG['from_failed'] = 'La(s) siguiente(s) direcciones de remitente fallaron: '; +$PHPMAILER_LANG['instantiate'] = 'Imposible crear una instancia de la función Mail.'; +$PHPMAILER_LANG['invalid_address'] = 'Imposible enviar: dirección de email inválido: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer no está soportado.'; +$PHPMAILER_LANG['provide_address'] = 'Debe proporcionar al menos una dirección de email de destino.'; +$PHPMAILER_LANG['recipients_failed'] = 'Error SMTP: Los siguientes destinos fallaron: '; +$PHPMAILER_LANG['signing'] = 'Error al firmar: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() falló.'; +$PHPMAILER_LANG['smtp_error'] = 'Error del servidor SMTP: '; +$PHPMAILER_LANG['variable_set'] = 'No se pudo configurar la variable: '; +$PHPMAILER_LANG['extension_missing'] = 'Extensión faltante: '; +$PHPMAILER_LANG['smtp_code'] = 'Código del servidor SMTP: '; +$PHPMAILER_LANG['smtp_code_ex'] = 'Información adicional del servidor SMTP: '; +$PHPMAILER_LANG['invalid_header'] = 'Nombre o valor de encabezado no válido'; diff --git a/PHPMailer6/language/phpmailer.lang-et.php b/PHPMailer6/language/phpmailer.lang-et.php new file mode 100644 index 0000000..3ac6d79 --- /dev/null +++ b/PHPMailer6/language/phpmailer.lang-et.php @@ -0,0 +1,28 @@ + + */ + +$PHPMAILER_LANG['authenticate'] = 'SMTP Viga: Autoriseerimise viga.'; +$PHPMAILER_LANG['connect_host'] = 'SMTP Viga: Ei õnnestunud luua ühendust SMTP serveriga.'; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP Viga: Vigased andmed.'; +$PHPMAILER_LANG['empty_message'] = 'Tühi kirja sisu'; +$PHPMAILER_LANG["encoding"] = 'Tundmatu kodeering: '; +$PHPMAILER_LANG['execute'] = 'Tegevus ebaõnnestus: '; +$PHPMAILER_LANG['file_access'] = 'Pole piisavalt õiguseid järgneva faili avamiseks: '; +$PHPMAILER_LANG['file_open'] = 'Faili Viga: Faili avamine ebaõnnestus: '; +$PHPMAILER_LANG['from_failed'] = 'Järgnev saatja e-posti aadress on vigane: '; +$PHPMAILER_LANG['instantiate'] = 'mail funktiooni käivitamine ebaõnnestus.'; +$PHPMAILER_LANG['invalid_address'] = 'Saatmine peatatud, e-posti address vigane: '; +$PHPMAILER_LANG['provide_address'] = 'Te peate määrama vähemalt ühe saaja e-posti aadressi.'; +$PHPMAILER_LANG['mailer_not_supported'] = ' maileri tugi puudub.'; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP Viga: Järgnevate saajate e-posti aadressid on vigased: '; +$PHPMAILER_LANG["signing"] = 'Viga allkirjastamisel: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() ebaõnnestus.'; +$PHPMAILER_LANG['smtp_error'] = 'SMTP serveri viga: '; +$PHPMAILER_LANG['variable_set'] = 'Ei õnnestunud määrata või lähtestada muutujat: '; +$PHPMAILER_LANG['extension_missing'] = 'Nõutud laiendus on puudu: '; diff --git a/PHPMailer6/language/phpmailer.lang-fa.php b/PHPMailer6/language/phpmailer.lang-fa.php new file mode 100644 index 0000000..010316f --- /dev/null +++ b/PHPMailer6/language/phpmailer.lang-fa.php @@ -0,0 +1,28 @@ + + * @author Mohammad Hossein Mojtahedi + */ + +$PHPMAILER_LANG['authenticate'] = 'خطای SMTP: احراز هویت با شکست مواجه شد.'; +$PHPMAILER_LANG['connect_host'] = 'خطای SMTP: اتصال به سرور SMTP برقرار نشد.'; +$PHPMAILER_LANG['data_not_accepted'] = 'خطای SMTP: داده‌ها نا‌درست هستند.'; +$PHPMAILER_LANG['empty_message'] = 'بخش متن پیام خالی است.'; +$PHPMAILER_LANG['encoding'] = 'کد‌گذاری نا‌شناخته: '; +$PHPMAILER_LANG['execute'] = 'امکان اجرا وجود ندارد: '; +$PHPMAILER_LANG['file_access'] = 'امکان دسترسی به فایل وجود ندارد: '; +$PHPMAILER_LANG['file_open'] = 'خطای File: امکان بازکردن فایل وجود ندارد: '; +$PHPMAILER_LANG['from_failed'] = 'آدرس فرستنده اشتباه است: '; +$PHPMAILER_LANG['instantiate'] = 'امکان معرفی تابع ایمیل وجود ندارد.'; +$PHPMAILER_LANG['invalid_address'] = 'آدرس ایمیل معتبر نیست: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer پشتیبانی نمی‌شود.'; +$PHPMAILER_LANG['provide_address'] = 'باید حداقل یک آدرس گیرنده وارد کنید.'; +$PHPMAILER_LANG['recipients_failed'] = 'خطای SMTP: ارسال به آدرس گیرنده با خطا مواجه شد: '; +$PHPMAILER_LANG['signing'] = 'خطا در امضا: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'خطا در اتصال به SMTP.'; +$PHPMAILER_LANG['smtp_error'] = 'خطا در SMTP Server: '; +$PHPMAILER_LANG['variable_set'] = 'امکان ارسال یا ارسال مجدد متغیر‌ها وجود ندارد: '; +$PHPMAILER_LANG['extension_missing'] = 'افزونه موجود نیست: '; diff --git a/PHPMailer6/language/phpmailer.lang-fi.php b/PHPMailer6/language/phpmailer.lang-fi.php new file mode 100644 index 0000000..b50b06f --- /dev/null +++ b/PHPMailer6/language/phpmailer.lang-fi.php @@ -0,0 +1,28 @@ + + */ + +$PHPMAILER_LANG['authenticate'] = 'SMTP feilur: Kundi ikki góðkenna.'; +$PHPMAILER_LANG['connect_host'] = 'SMTP feilur: Kundi ikki knýta samband við SMTP vert.'; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP feilur: Data ikki góðkent.'; +//$PHPMAILER_LANG['empty_message'] = 'Message body empty'; +$PHPMAILER_LANG['encoding'] = 'Ókend encoding: '; +$PHPMAILER_LANG['execute'] = 'Kundi ikki útføra: '; +$PHPMAILER_LANG['file_access'] = 'Kundi ikki tilganga fílu: '; +$PHPMAILER_LANG['file_open'] = 'Fílu feilur: Kundi ikki opna fílu: '; +$PHPMAILER_LANG['from_failed'] = 'fylgjandi Frá/From adressa miseydnaðist: '; +$PHPMAILER_LANG['instantiate'] = 'Kuni ikki instantiera mail funktión.'; +//$PHPMAILER_LANG['invalid_address'] = 'Invalid address: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' er ikki supporterað.'; +$PHPMAILER_LANG['provide_address'] = 'Tú skal uppgeva minst móttakara-emailadressu(r).'; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP Feilur: Fylgjandi móttakarar miseydnaðust: '; +//$PHPMAILER_LANG['signing'] = 'Signing Error: '; +//$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.'; +//$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: '; +//$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: '; +//$PHPMAILER_LANG['extension_missing'] = 'Extension missing: '; diff --git a/PHPMailer6/language/phpmailer.lang-fr.php b/PHPMailer6/language/phpmailer.lang-fr.php new file mode 100644 index 0000000..f5887ff --- /dev/null +++ b/PHPMailer6/language/phpmailer.lang-fr.php @@ -0,0 +1,38 @@ + + */ + +$PHPMAILER_LANG['authenticate'] = 'Erro SMTP: Non puido ser autentificado.'; +$PHPMAILER_LANG['connect_host'] = 'Erro SMTP: Non puido conectar co servidor SMTP.'; +$PHPMAILER_LANG['data_not_accepted'] = 'Erro SMTP: Datos non aceptados.'; +$PHPMAILER_LANG['empty_message'] = 'Corpo da mensaxe vacía'; +$PHPMAILER_LANG['encoding'] = 'Codificación descoñecida: '; +$PHPMAILER_LANG['execute'] = 'Non puido ser executado: '; +$PHPMAILER_LANG['file_access'] = 'Nob puido acceder ó arquivo: '; +$PHPMAILER_LANG['file_open'] = 'Erro de Arquivo: No puido abrir o arquivo: '; +$PHPMAILER_LANG['from_failed'] = 'A(s) seguinte(s) dirección(s) de remitente(s) deron erro: '; +$PHPMAILER_LANG['instantiate'] = 'Non puido crear unha instancia da función Mail.'; +$PHPMAILER_LANG['invalid_address'] = 'Non puido envia-lo correo: dirección de email inválida: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer non está soportado.'; +$PHPMAILER_LANG['provide_address'] = 'Debe engadir polo menos unha dirección de email coma destino.'; +$PHPMAILER_LANG['recipients_failed'] = 'Erro SMTP: Os seguintes destinos fallaron: '; +$PHPMAILER_LANG['signing'] = 'Erro ó firmar: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() fallou.'; +$PHPMAILER_LANG['smtp_error'] = 'Erro do servidor SMTP: '; +$PHPMAILER_LANG['variable_set'] = 'Non puidemos axustar ou reaxustar a variábel: '; +//$PHPMAILER_LANG['extension_missing'] = 'Extension missing: '; diff --git a/PHPMailer6/language/phpmailer.lang-he.php b/PHPMailer6/language/phpmailer.lang-he.php new file mode 100644 index 0000000..ad42eb7 --- /dev/null +++ b/PHPMailer6/language/phpmailer.lang-he.php @@ -0,0 +1,27 @@ + + */ + +$PHPMAILER_LANG['authenticate'] = 'שגיאת SMTP: פעולת האימות נכשלה.'; +$PHPMAILER_LANG['connect_host'] = 'שגיאת SMTP: לא הצלחתי להתחבר לשרת SMTP.'; +$PHPMAILER_LANG['data_not_accepted'] = 'שגיאת SMTP: מידע לא התקבל.'; +$PHPMAILER_LANG['empty_message'] = 'גוף ההודעה ריק'; +$PHPMAILER_LANG['invalid_address'] = 'כתובת שגויה: '; +$PHPMAILER_LANG['encoding'] = 'קידוד לא מוכר: '; +$PHPMAILER_LANG['execute'] = 'לא הצלחתי להפעיל את: '; +$PHPMAILER_LANG['file_access'] = 'לא ניתן לגשת לקובץ: '; +$PHPMAILER_LANG['file_open'] = 'שגיאת קובץ: לא ניתן לגשת לקובץ: '; +$PHPMAILER_LANG['from_failed'] = 'כתובות הנמענים הבאות נכשלו: '; +$PHPMAILER_LANG['instantiate'] = 'לא הצלחתי להפעיל את פונקציית המייל.'; +$PHPMAILER_LANG['mailer_not_supported'] = ' אינה נתמכת.'; +$PHPMAILER_LANG['provide_address'] = 'חובה לספק לפחות כתובת אחת של מקבל המייל.'; +$PHPMAILER_LANG['recipients_failed'] = 'שגיאת SMTP: הנמענים הבאים נכשלו: '; +$PHPMAILER_LANG['signing'] = 'שגיאת חתימה: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.'; +$PHPMAILER_LANG['smtp_error'] = 'שגיאת שרת SMTP: '; +$PHPMAILER_LANG['variable_set'] = 'לא ניתן לקבוע או לשנות את המשתנה: '; +//$PHPMAILER_LANG['extension_missing'] = 'Extension missing: '; diff --git a/PHPMailer6/language/phpmailer.lang-hi.php b/PHPMailer6/language/phpmailer.lang-hi.php new file mode 100644 index 0000000..accc47c --- /dev/null +++ b/PHPMailer6/language/phpmailer.lang-hi.php @@ -0,0 +1,35 @@ + + * Rewrite and extension of the work by Jayanti Suthar + */ + +$PHPMAILER_LANG['authenticate'] = 'SMTP त्रुटि: प्रामाणिकता की जांच नहीं हो सका। '; +$PHPMAILER_LANG['buggy_php'] = 'PHP का आपका संस्करण एक बग से प्रभावित है जिसके परिणामस्वरूप संदेश दूषित हो सकते हैं. इसे ठीक करने हेतु, भेजने के लिए SMTP का उपयोग करे, अपने php.ini में mail.add_x_header विकल्प को अक्षम करें, MacOS या Linux पर जाए, या अपने PHP संस्करण को 7.0.17+ या 7.1.3+ बदले.'; +$PHPMAILER_LANG['connect_host'] = 'SMTP त्रुटि: SMTP सर्वर से कनेक्ट नहीं हो सका। '; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP त्रुटि: डेटा स्वीकार नहीं किया जाता है। '; +$PHPMAILER_LANG['empty_message'] = 'संदेश खाली है। '; +$PHPMAILER_LANG['encoding'] = 'अज्ञात एन्कोडिंग प्रकार। '; +$PHPMAILER_LANG['execute'] = 'आदेश को निष्पादित करने में विफल। '; +$PHPMAILER_LANG['extension_missing'] = 'एक्सटेन्षन गायब है: '; +$PHPMAILER_LANG['file_access'] = 'फ़ाइल उपलब्ध नहीं है। '; +$PHPMAILER_LANG['file_open'] = 'फ़ाइल त्रुटि: फाइल को खोला नहीं जा सका। '; +$PHPMAILER_LANG['from_failed'] = 'प्रेषक का पता गलत है। '; +$PHPMAILER_LANG['instantiate'] = 'मेल फ़ंक्शन कॉल नहीं कर सकता है।'; +$PHPMAILER_LANG['invalid_address'] = 'पता गलत है। '; +$PHPMAILER_LANG['invalid_header'] = 'अमान्य हेडर नाम या मान'; +$PHPMAILER_LANG['invalid_hostentry'] = 'अमान्य hostentry: '; +$PHPMAILER_LANG['invalid_host'] = 'अमान्य होस्ट: '; +$PHPMAILER_LANG['mailer_not_supported'] = 'मेल सर्वर के साथ काम नहीं करता है। '; +$PHPMAILER_LANG['provide_address'] = 'आपको कम से कम एक प्राप्तकर्ता का ई-मेल पता प्रदान करना होगा।'; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP त्रुटि: निम्न प्राप्तकर्ताओं को पते भेजने में विफल। '; +$PHPMAILER_LANG['signing'] = 'साइनअप त्रुटि: '; +$PHPMAILER_LANG['smtp_code'] = 'SMTP कोड: '; +$PHPMAILER_LANG['smtp_code_ex'] = 'अतिरिक्त SMTP जानकारी: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP का connect () फ़ंक्शन विफल हुआ। '; +$PHPMAILER_LANG['smtp_detail'] = 'विवरण: '; +$PHPMAILER_LANG['smtp_error'] = 'SMTP सर्वर त्रुटि। '; +$PHPMAILER_LANG['variable_set'] = 'चर को बना या संशोधित नहीं किया जा सकता। '; diff --git a/PHPMailer6/language/phpmailer.lang-hr.php b/PHPMailer6/language/phpmailer.lang-hr.php new file mode 100644 index 0000000..fd757ae --- /dev/null +++ b/PHPMailer6/language/phpmailer.lang-hr.php @@ -0,0 +1,27 @@ + + */ + +$PHPMAILER_LANG['authenticate'] = 'SMTP Greška: Neuspjela autentikacija.'; +$PHPMAILER_LANG['connect_host'] = 'SMTP Greška: Ne mogu se spojiti na SMTP poslužitelj.'; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP Greška: Podatci nisu prihvaćeni.'; +$PHPMAILER_LANG['empty_message'] = 'Sadržaj poruke je prazan.'; +$PHPMAILER_LANG['encoding'] = 'Nepoznati encoding: '; +$PHPMAILER_LANG['execute'] = 'Nije moguće izvršiti naredbu: '; +$PHPMAILER_LANG['file_access'] = 'Nije moguće pristupiti datoteci: '; +$PHPMAILER_LANG['file_open'] = 'Nije moguće otvoriti datoteku: '; +$PHPMAILER_LANG['from_failed'] = 'SMTP Greška: Slanje s navedenih e-mail adresa nije uspjelo: '; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP Greška: Slanje na navedenih e-mail adresa nije uspjelo: '; +$PHPMAILER_LANG['instantiate'] = 'Ne mogu pokrenuti mail funkcionalnost.'; +$PHPMAILER_LANG['invalid_address'] = 'E-mail nije poslan. Neispravna e-mail adresa: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer nije podržan.'; +$PHPMAILER_LANG['provide_address'] = 'Definirajte barem jednu adresu primatelja.'; +$PHPMAILER_LANG['signing'] = 'Greška prilikom prijave: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'Spajanje na SMTP poslužitelj nije uspjelo.'; +$PHPMAILER_LANG['smtp_error'] = 'Greška SMTP poslužitelja: '; +$PHPMAILER_LANG['variable_set'] = 'Ne mogu postaviti varijablu niti ju vratiti nazad: '; +$PHPMAILER_LANG['extension_missing'] = 'Nedostaje proširenje: '; diff --git a/PHPMailer6/language/phpmailer.lang-hu.php b/PHPMailer6/language/phpmailer.lang-hu.php new file mode 100644 index 0000000..5d851f3 --- /dev/null +++ b/PHPMailer6/language/phpmailer.lang-hu.php @@ -0,0 +1,27 @@ + + */ + +$PHPMAILER_LANG['authenticate'] = 'SMTP -ի սխալ: չհաջողվեց ստուգել իսկությունը.'; +$PHPMAILER_LANG['connect_host'] = 'SMTP -ի սխալ: չհաջողվեց կապ հաստատել SMTP սերվերի հետ.'; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP -ի սխալ: տվյալները ընդունված չեն.'; +$PHPMAILER_LANG['empty_message'] = 'Հաղորդագրությունը դատարկ է'; +$PHPMAILER_LANG['encoding'] = 'Կոդավորման անհայտ տեսակ: '; +$PHPMAILER_LANG['execute'] = 'Չհաջողվեց իրականացնել հրամանը: '; +$PHPMAILER_LANG['file_access'] = 'Ֆայլը հասանելի չէ: '; +$PHPMAILER_LANG['file_open'] = 'Ֆայլի սխալ: ֆայլը չհաջողվեց բացել: '; +$PHPMAILER_LANG['from_failed'] = 'Ուղարկողի հետևյալ հասցեն սխալ է: '; +$PHPMAILER_LANG['instantiate'] = 'Հնարավոր չէ կանչել mail ֆունկցիան.'; +$PHPMAILER_LANG['invalid_address'] = 'Հասցեն սխալ է: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' փոստային սերվերի հետ չի աշխատում.'; +$PHPMAILER_LANG['provide_address'] = 'Անհրաժեշտ է տրամադրել գոնե մեկ ստացողի e-mail հասցե.'; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP -ի սխալ: չի հաջողվել ուղարկել հետևյալ ստացողների հասցեներին: '; +$PHPMAILER_LANG['signing'] = 'Ստորագրման սխալ: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP -ի connect() ֆունկցիան չի հաջողվել'; +$PHPMAILER_LANG['smtp_error'] = 'SMTP սերվերի սխալ: '; +$PHPMAILER_LANG['variable_set'] = 'Չի հաջողվում ստեղծել կամ վերափոխել փոփոխականը: '; +$PHPMAILER_LANG['extension_missing'] = 'Հավելվածը բացակայում է: '; diff --git a/PHPMailer6/language/phpmailer.lang-id.php b/PHPMailer6/language/phpmailer.lang-id.php new file mode 100644 index 0000000..b314c15 --- /dev/null +++ b/PHPMailer6/language/phpmailer.lang-id.php @@ -0,0 +1,31 @@ + + * @author @januridp + * @author Ian Mustafa + */ + +$PHPMAILER_LANG['authenticate'] = 'Kesalahan SMTP: Tidak dapat mengotentikasi.'; +$PHPMAILER_LANG['connect_host'] = 'Kesalahan SMTP: Tidak dapat terhubung ke host SMTP.'; +$PHPMAILER_LANG['data_not_accepted'] = 'Kesalahan SMTP: Data tidak diterima.'; +$PHPMAILER_LANG['empty_message'] = 'Isi pesan kosong'; +$PHPMAILER_LANG['encoding'] = 'Pengkodean karakter tidak dikenali: '; +$PHPMAILER_LANG['execute'] = 'Tidak dapat menjalankan proses: '; +$PHPMAILER_LANG['file_access'] = 'Tidak dapat mengakses berkas: '; +$PHPMAILER_LANG['file_open'] = 'Kesalahan Berkas: Berkas tidak dapat dibuka: '; +$PHPMAILER_LANG['from_failed'] = 'Alamat pengirim berikut mengakibatkan kesalahan: '; +$PHPMAILER_LANG['instantiate'] = 'Tidak dapat menginisialisasi fungsi surel.'; +$PHPMAILER_LANG['invalid_address'] = 'Gagal terkirim, alamat surel tidak sesuai: '; +$PHPMAILER_LANG['invalid_hostentry'] = 'Gagal terkirim, entri host tidak sesuai: '; +$PHPMAILER_LANG['invalid_host'] = 'Gagal terkirim, host tidak sesuai: '; +$PHPMAILER_LANG['provide_address'] = 'Harus tersedia minimal satu alamat tujuan'; +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer tidak didukung'; +$PHPMAILER_LANG['recipients_failed'] = 'Kesalahan SMTP: Alamat tujuan berikut menyebabkan kesalahan: '; +$PHPMAILER_LANG['signing'] = 'Kesalahan dalam penandatangan SSL: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() gagal.'; +$PHPMAILER_LANG['smtp_error'] = 'Kesalahan pada pelayan SMTP: '; +$PHPMAILER_LANG['variable_set'] = 'Tidak dapat mengatur atau mengatur ulang variabel: '; +$PHPMAILER_LANG['extension_missing'] = 'Ekstensi PHP tidak tersedia: '; diff --git a/PHPMailer6/language/phpmailer.lang-it.php b/PHPMailer6/language/phpmailer.lang-it.php new file mode 100644 index 0000000..2027ddd --- /dev/null +++ b/PHPMailer6/language/phpmailer.lang-it.php @@ -0,0 +1,28 @@ + + * @author Stefano Sabatini + */ + +$PHPMAILER_LANG['authenticate'] = 'SMTP Error: Impossibile autenticarsi.'; +$PHPMAILER_LANG['connect_host'] = 'SMTP Error: Impossibile connettersi all\'host SMTP.'; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP Error: Dati non accettati dal server.'; +$PHPMAILER_LANG['empty_message'] = 'Il corpo del messaggio è vuoto'; +$PHPMAILER_LANG['encoding'] = 'Codifica dei caratteri sconosciuta: '; +$PHPMAILER_LANG['execute'] = 'Impossibile eseguire l\'operazione: '; +$PHPMAILER_LANG['file_access'] = 'Impossibile accedere al file: '; +$PHPMAILER_LANG['file_open'] = 'File Error: Impossibile aprire il file: '; +$PHPMAILER_LANG['from_failed'] = 'I seguenti indirizzi mittenti hanno generato errore: '; +$PHPMAILER_LANG['instantiate'] = 'Impossibile istanziare la funzione mail'; +$PHPMAILER_LANG['invalid_address'] = 'Impossibile inviare, l\'indirizzo email non è valido: '; +$PHPMAILER_LANG['provide_address'] = 'Deve essere fornito almeno un indirizzo ricevente'; +$PHPMAILER_LANG['mailer_not_supported'] = 'Mailer non supportato'; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP Error: I seguenti indirizzi destinatari hanno generato un errore: '; +$PHPMAILER_LANG['signing'] = 'Errore nella firma: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() fallita.'; +$PHPMAILER_LANG['smtp_error'] = 'Errore del server SMTP: '; +$PHPMAILER_LANG['variable_set'] = 'Impossibile impostare o resettare la variabile: '; +$PHPMAILER_LANG['extension_missing'] = 'Estensione mancante: '; diff --git a/PHPMailer6/language/phpmailer.lang-ja.php b/PHPMailer6/language/phpmailer.lang-ja.php new file mode 100644 index 0000000..5ba2179 --- /dev/null +++ b/PHPMailer6/language/phpmailer.lang-ja.php @@ -0,0 +1,29 @@ + + * @author Yoshi Sakai + * @author Arisophy + */ + +$PHPMAILER_LANG['authenticate'] = 'SMTPエラー: 認証できませんでした。'; +$PHPMAILER_LANG['connect_host'] = 'SMTPエラー: SMTPホストに接続できませんでした。'; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTPエラー: データが受け付けられませんでした。'; +$PHPMAILER_LANG['empty_message'] = 'メール本文が空です。'; +$PHPMAILER_LANG['encoding'] = '不明なエンコーディング: '; +$PHPMAILER_LANG['execute'] = '実行できませんでした: '; +$PHPMAILER_LANG['file_access'] = 'ファイルにアクセスできません: '; +$PHPMAILER_LANG['file_open'] = 'ファイルエラー: ファイルを開けません: '; +$PHPMAILER_LANG['from_failed'] = 'Fromアドレスを登録する際にエラーが発生しました: '; +$PHPMAILER_LANG['instantiate'] = 'メール関数が正常に動作しませんでした。'; +$PHPMAILER_LANG['invalid_address'] = '不正なメールアドレス: '; +$PHPMAILER_LANG['provide_address'] = '少なくとも1つメールアドレスを 指定する必要があります。'; +$PHPMAILER_LANG['mailer_not_supported'] = ' メーラーがサポートされていません。'; +$PHPMAILER_LANG['recipients_failed'] = 'SMTPエラー: 次の受信者アドレスに 間違いがあります: '; +$PHPMAILER_LANG['signing'] = '署名エラー: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP接続に失敗しました。'; +$PHPMAILER_LANG['smtp_error'] = 'SMTPサーバーエラー: '; +$PHPMAILER_LANG['variable_set'] = '変数が存在しません: '; +$PHPMAILER_LANG['extension_missing'] = '拡張機能が見つかりません: '; diff --git a/PHPMailer6/language/phpmailer.lang-ka.php b/PHPMailer6/language/phpmailer.lang-ka.php new file mode 100644 index 0000000..53488e1 --- /dev/null +++ b/PHPMailer6/language/phpmailer.lang-ka.php @@ -0,0 +1,27 @@ + + */ + +$PHPMAILER_LANG['authenticate'] = 'SMTP შეცდომა: ავტორიზაცია შეუძლებელია.'; +$PHPMAILER_LANG['connect_host'] = 'SMTP შეცდომა: SMTP სერვერთან დაკავშირება შეუძლებელია.'; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP შეცდომა: მონაცემები არ იქნა მიღებული.'; +$PHPMAILER_LANG['encoding'] = 'კოდირების უცნობი ტიპი: '; +$PHPMAILER_LANG['execute'] = 'შეუძლებელია შემდეგი ბრძანების შესრულება: '; +$PHPMAILER_LANG['file_access'] = 'შეუძლებელია წვდომა ფაილთან: '; +$PHPMAILER_LANG['file_open'] = 'ფაილური სისტემის შეცდომა: არ იხსნება ფაილი: '; +$PHPMAILER_LANG['from_failed'] = 'გამგზავნის არასწორი მისამართი: '; +$PHPMAILER_LANG['instantiate'] = 'mail ფუნქციის გაშვება ვერ ხერხდება.'; +$PHPMAILER_LANG['provide_address'] = 'გთხოვთ მიუთითოთ ერთი ადრესატის e-mail მისამართი მაინც.'; +$PHPMAILER_LANG['mailer_not_supported'] = ' - საფოსტო სერვერის მხარდაჭერა არ არის.'; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP შეცდომა: შემდეგ მისამართებზე გაგზავნა ვერ მოხერხდა: '; +$PHPMAILER_LANG['empty_message'] = 'შეტყობინება ცარიელია'; +$PHPMAILER_LANG['invalid_address'] = 'არ გაიგზავნა, e-mail მისამართის არასწორი ფორმატი: '; +$PHPMAILER_LANG['signing'] = 'ხელმოწერის შეცდომა: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'შეცდომა SMTP სერვერთან დაკავშირებისას'; +$PHPMAILER_LANG['smtp_error'] = 'SMTP სერვერის შეცდომა: '; +$PHPMAILER_LANG['variable_set'] = 'შეუძლებელია შემდეგი ცვლადის შექმნა ან შეცვლა: '; +$PHPMAILER_LANG['extension_missing'] = 'ბიბლიოთეკა არ არსებობს: '; diff --git a/PHPMailer6/language/phpmailer.lang-ko.php b/PHPMailer6/language/phpmailer.lang-ko.php new file mode 100644 index 0000000..4cda7ed --- /dev/null +++ b/PHPMailer6/language/phpmailer.lang-ko.php @@ -0,0 +1,27 @@ + + */ + +$PHPMAILER_LANG['authenticate'] = 'SMTP 오류: 인증할 수 없습니다.'; +$PHPMAILER_LANG['connect_host'] = 'SMTP 오류: SMTP 호스트에 접속할 수 없습니다.'; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP 오류: 데이터가 받아들여지지 않았습니다.'; +$PHPMAILER_LANG['empty_message'] = '메세지 내용이 없습니다'; +$PHPMAILER_LANG['encoding'] = '알 수 없는 인코딩: '; +$PHPMAILER_LANG['execute'] = '실행 불가: '; +$PHPMAILER_LANG['file_access'] = '파일 접근 불가: '; +$PHPMAILER_LANG['file_open'] = '파일 오류: 파일을 열 수 없습니다: '; +$PHPMAILER_LANG['from_failed'] = '다음 From 주소에서 오류가 발생했습니다: '; +$PHPMAILER_LANG['instantiate'] = 'mail 함수를 인스턴스화할 수 없습니다'; +$PHPMAILER_LANG['invalid_address'] = '잘못된 주소: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' 메일러는 지원되지 않습니다.'; +$PHPMAILER_LANG['provide_address'] = '적어도 한 개 이상의 수신자 메일 주소를 제공해야 합니다.'; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP 오류: 다음 수신자에서 오류가 발생했습니다: '; +$PHPMAILER_LANG['signing'] = '서명 오류: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP 연결을 실패하였습니다.'; +$PHPMAILER_LANG['smtp_error'] = 'SMTP 서버 오류: '; +$PHPMAILER_LANG['variable_set'] = '변수 설정 및 초기화 불가: '; +$PHPMAILER_LANG['extension_missing'] = '확장자 없음: '; diff --git a/PHPMailer6/language/phpmailer.lang-lt.php b/PHPMailer6/language/phpmailer.lang-lt.php new file mode 100644 index 0000000..4a4fb9d --- /dev/null +++ b/PHPMailer6/language/phpmailer.lang-lt.php @@ -0,0 +1,27 @@ + + */ + +$PHPMAILER_LANG['authenticate'] = 'SMTP klaida: autentifikacija nepavyko.'; +$PHPMAILER_LANG['connect_host'] = 'SMTP klaida: nepavyksta prisijungti prie SMTP stoties.'; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP klaida: duomenys nepriimti.'; +$PHPMAILER_LANG['empty_message'] = 'Laiško turinys tuščias'; +$PHPMAILER_LANG['encoding'] = 'Neatpažinta koduotė: '; +$PHPMAILER_LANG['execute'] = 'Nepavyko įvykdyti komandos: '; +$PHPMAILER_LANG['file_access'] = 'Byla nepasiekiama: '; +$PHPMAILER_LANG['file_open'] = 'Bylos klaida: Nepavyksta atidaryti: '; +$PHPMAILER_LANG['from_failed'] = 'Neteisingas siuntėjo adresas: '; +$PHPMAILER_LANG['instantiate'] = 'Nepavyko paleisti mail funkcijos.'; +$PHPMAILER_LANG['invalid_address'] = 'Neteisingas adresas: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' pašto stotis nepalaikoma.'; +$PHPMAILER_LANG['provide_address'] = 'Nurodykite bent vieną gavėjo adresą.'; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP klaida: nepavyko išsiųsti šiems gavėjams: '; +$PHPMAILER_LANG['signing'] = 'Prisijungimo klaida: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP susijungimo klaida'; +$PHPMAILER_LANG['smtp_error'] = 'SMTP stoties klaida: '; +$PHPMAILER_LANG['variable_set'] = 'Nepavyko priskirti reikšmės kintamajam: '; +//$PHPMAILER_LANG['extension_missing'] = 'Extension missing: '; diff --git a/PHPMailer6/language/phpmailer.lang-lv.php b/PHPMailer6/language/phpmailer.lang-lv.php new file mode 100644 index 0000000..ee3d9cd --- /dev/null +++ b/PHPMailer6/language/phpmailer.lang-lv.php @@ -0,0 +1,27 @@ + + */ + +$PHPMAILER_LANG['authenticate'] = 'SMTP kļūda: Autorizācija neizdevās.'; +$PHPMAILER_LANG['connect_host'] = 'SMTP Kļūda: Nevar izveidot savienojumu ar SMTP serveri.'; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP Kļūda: Nepieņem informāciju.'; +$PHPMAILER_LANG['empty_message'] = 'Ziņojuma teksts ir tukšs'; +$PHPMAILER_LANG['encoding'] = 'Neatpazīts kodējums: '; +$PHPMAILER_LANG['execute'] = 'Neizdevās izpildīt komandu: '; +$PHPMAILER_LANG['file_access'] = 'Fails nav pieejams: '; +$PHPMAILER_LANG['file_open'] = 'Faila kļūda: Nevar atvērt failu: '; +$PHPMAILER_LANG['from_failed'] = 'Nepareiza sūtītāja adrese: '; +$PHPMAILER_LANG['instantiate'] = 'Nevar palaist sūtīšanas funkciju.'; +$PHPMAILER_LANG['invalid_address'] = 'Nepareiza adrese: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' sūtītājs netiek atbalstīts.'; +$PHPMAILER_LANG['provide_address'] = 'Lūdzu, norādiet vismaz vienu adresātu.'; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP kļūda: neizdevās nosūtīt šādiem saņēmējiem: '; +$PHPMAILER_LANG['signing'] = 'Autorizācijas kļūda: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP savienojuma kļūda'; +$PHPMAILER_LANG['smtp_error'] = 'SMTP servera kļūda: '; +$PHPMAILER_LANG['variable_set'] = 'Nevar piešķirt mainīgā vērtību: '; +//$PHPMAILER_LANG['extension_missing'] = 'Extension missing: '; diff --git a/PHPMailer6/language/phpmailer.lang-mg.php b/PHPMailer6/language/phpmailer.lang-mg.php new file mode 100644 index 0000000..d60e664 --- /dev/null +++ b/PHPMailer6/language/phpmailer.lang-mg.php @@ -0,0 +1,27 @@ + + */ + +$PHPMAILER_LANG['authenticate'] = 'Hadisoana SMTP: Tsy nahomby ny fanamarinana.'; +$PHPMAILER_LANG['connect_host'] = 'SMTP Error: Tsy afaka mampifandray amin\'ny mpampiantrano SMTP.'; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP diso: tsy voarakitra ny angona.'; +$PHPMAILER_LANG['empty_message'] = 'Tsy misy ny votoaty mailaka.'; +$PHPMAILER_LANG['encoding'] = 'Tsy fantatra encoding: '; +$PHPMAILER_LANG['execute'] = 'Tsy afaka manatanteraka ity baiko manaraka ity: '; +$PHPMAILER_LANG['file_access'] = 'Tsy nahomby ny fidirana amin\'ity rakitra ity: '; +$PHPMAILER_LANG['file_open'] = 'Hadisoana diso: Tsy afaka nanokatra ity file manaraka ity: '; +$PHPMAILER_LANG['from_failed'] = 'Ny adiresy iraka manaraka dia diso: '; +$PHPMAILER_LANG['instantiate'] = 'Tsy afaka nanomboka ny hetsika mail.'; +$PHPMAILER_LANG['invalid_address'] = 'Tsy mety ny adiresy: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer tsy manohana.'; +$PHPMAILER_LANG['provide_address'] = 'Alefaso azafady iray adiresy iray farafahakeliny.'; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP Error: Tsy mety ireo mpanaraka ireto: '; +$PHPMAILER_LANG['signing'] = 'Error nandritra ny sonia:'; +$PHPMAILER_LANG['smtp_connect_failed'] = 'Tsy nahomby ny fifandraisana tamin\'ny server SMTP.'; +$PHPMAILER_LANG['smtp_error'] = 'Fahadisoana tamin\'ny server SMTP: '; +$PHPMAILER_LANG['variable_set'] = 'Tsy azo atao ny mametraka na mamerina ny variable: '; +$PHPMAILER_LANG['extension_missing'] = 'Tsy hita ny ampahany: '; diff --git a/PHPMailer6/language/phpmailer.lang-mn.php b/PHPMailer6/language/phpmailer.lang-mn.php new file mode 100644 index 0000000..bb4db17 --- /dev/null +++ b/PHPMailer6/language/phpmailer.lang-mn.php @@ -0,0 +1,27 @@ + + */ + +$PHPMAILER_LANG['authenticate'] = 'Ralat SMTP: Tidak dapat pengesahan.'; +$PHPMAILER_LANG['connect_host'] = 'Ralat SMTP: Tidak dapat menghubungi hos pelayan SMTP.'; +$PHPMAILER_LANG['data_not_accepted'] = 'Ralat SMTP: Data tidak diterima oleh pelayan.'; +$PHPMAILER_LANG['empty_message'] = 'Tiada isi untuk mesej'; +$PHPMAILER_LANG['encoding'] = 'Pengekodan tidak diketahui: '; +$PHPMAILER_LANG['execute'] = 'Tidak dapat melaksanakan: '; +$PHPMAILER_LANG['file_access'] = 'Tidak dapat mengakses fail: '; +$PHPMAILER_LANG['file_open'] = 'Ralat Fail: Tidak dapat membuka fail: '; +$PHPMAILER_LANG['from_failed'] = 'Berikut merupakan ralat dari alamat e-mel: '; +$PHPMAILER_LANG['instantiate'] = 'Tidak dapat memberi contoh fungsi e-mel.'; +$PHPMAILER_LANG['invalid_address'] = 'Alamat emel tidak sah: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' jenis penghantar emel tidak disokong.'; +$PHPMAILER_LANG['provide_address'] = 'Anda perlu menyediakan sekurang-kurangnya satu alamat e-mel penerima.'; +$PHPMAILER_LANG['recipients_failed'] = 'Ralat SMTP: Penerima e-mel berikut telah gagal: '; +$PHPMAILER_LANG['signing'] = 'Ralat pada tanda tangan: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() telah gagal.'; +$PHPMAILER_LANG['smtp_error'] = 'Ralat pada pelayan SMTP: '; +$PHPMAILER_LANG['variable_set'] = 'Tidak boleh menetapkan atau menetapkan semula pembolehubah: '; +$PHPMAILER_LANG['extension_missing'] = 'Sambungan hilang: '; diff --git a/PHPMailer6/language/phpmailer.lang-nb.php b/PHPMailer6/language/phpmailer.lang-nb.php new file mode 100644 index 0000000..73e9f4a --- /dev/null +++ b/PHPMailer6/language/phpmailer.lang-nb.php @@ -0,0 +1,26 @@ + + */ + +$PHPMAILER_LANG['authenticate'] = 'SMTP-fout: authenticatie mislukt.'; +$PHPMAILER_LANG['buggy_php'] = 'PHP versie gededecteerd die onderhavig is aan een bug die kan resulteren in gecorrumpeerde berichten. Om dit te voorkomen, gebruik SMTP voor het verzenden van berichten, zet de mail.add_x_header optie in uw php.ini file uit, gebruik MacOS of Linux, of pas de gebruikte PHP versie aan naar versie 7.0.17+ or 7.1.3+.'; +$PHPMAILER_LANG['connect_host'] = 'SMTP-fout: kon niet verbinden met SMTP-host.'; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP-fout: data niet geaccepteerd.'; +$PHPMAILER_LANG['empty_message'] = 'Berichttekst is leeg'; +$PHPMAILER_LANG['encoding'] = 'Onbekende codering: '; +$PHPMAILER_LANG['execute'] = 'Kon niet uitvoeren: '; +$PHPMAILER_LANG['extension_missing'] = 'Extensie afwezig: '; +$PHPMAILER_LANG['file_access'] = 'Kreeg geen toegang tot bestand: '; +$PHPMAILER_LANG['file_open'] = 'Bestandsfout: kon bestand niet openen: '; +$PHPMAILER_LANG['from_failed'] = 'Het volgende afzendersadres is mislukt: '; +$PHPMAILER_LANG['instantiate'] = 'Kon mailfunctie niet initialiseren.'; +$PHPMAILER_LANG['invalid_address'] = 'Ongeldig adres: '; +$PHPMAILER_LANG['invalid_header'] = 'Ongeldige header naam of waarde'; +$PHPMAILER_LANG['invalid_hostentry'] = 'Ongeldige hostentry: '; +$PHPMAILER_LANG['invalid_host'] = 'Ongeldige host: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer wordt niet ondersteund.'; +$PHPMAILER_LANG['provide_address'] = 'Er moet minstens één ontvanger worden opgegeven.'; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP-fout: de volgende ontvangers zijn mislukt: '; +$PHPMAILER_LANG['signing'] = 'Signeerfout: '; +$PHPMAILER_LANG['smtp_code'] = 'SMTP code: '; +$PHPMAILER_LANG['smtp_code_ex'] = 'Aanvullende SMTP informatie: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Verbinding mislukt.'; +$PHPMAILER_LANG['smtp_detail'] = 'Detail: '; +$PHPMAILER_LANG['smtp_error'] = 'SMTP-serverfout: '; +$PHPMAILER_LANG['variable_set'] = 'Kan de volgende variabele niet instellen of resetten: '; diff --git a/PHPMailer6/language/phpmailer.lang-pl.php b/PHPMailer6/language/phpmailer.lang-pl.php new file mode 100644 index 0000000..09ca7ae --- /dev/null +++ b/PHPMailer6/language/phpmailer.lang-pl.php @@ -0,0 +1,26 @@ + + */ + +$PHPMAILER_LANG['authenticate'] = 'Erro do SMTP: Não foi possível realizar a autenticação.'; +$PHPMAILER_LANG['connect_host'] = 'Erro do SMTP: Não foi possível realizar ligação com o servidor SMTP.'; +$PHPMAILER_LANG['data_not_accepted'] = 'Erro do SMTP: Os dados foram rejeitados.'; +$PHPMAILER_LANG['empty_message'] = 'A mensagem no e-mail está vazia.'; +$PHPMAILER_LANG['encoding'] = 'Codificação desconhecida: '; +$PHPMAILER_LANG['execute'] = 'Não foi possível executar: '; +$PHPMAILER_LANG['file_access'] = 'Não foi possível aceder o ficheiro: '; +$PHPMAILER_LANG['file_open'] = 'Abertura do ficheiro: Não foi possível abrir o ficheiro: '; +$PHPMAILER_LANG['from_failed'] = 'Ocorreram falhas nos endereços dos seguintes remententes: '; +$PHPMAILER_LANG['instantiate'] = 'Não foi possível iniciar uma instância da função mail.'; +$PHPMAILER_LANG['invalid_address'] = 'Não foi enviado nenhum e-mail para o endereço de e-mail inválido: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer não é suportado.'; +$PHPMAILER_LANG['provide_address'] = 'Tem de fornecer pelo menos um endereço como destinatário do e-mail.'; +$PHPMAILER_LANG['recipients_failed'] = 'Erro do SMTP: O endereço do seguinte destinatário falhou: '; +$PHPMAILER_LANG['signing'] = 'Erro ao assinar: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() falhou.'; +$PHPMAILER_LANG['smtp_error'] = 'Erro de servidor SMTP: '; +$PHPMAILER_LANG['variable_set'] = 'Não foi possível definir ou redefinir a variável: '; +$PHPMAILER_LANG['extension_missing'] = 'Extensão em falta: '; diff --git a/PHPMailer6/language/phpmailer.lang-pt_br.php b/PHPMailer6/language/phpmailer.lang-pt_br.php new file mode 100644 index 0000000..ef1079a --- /dev/null +++ b/PHPMailer6/language/phpmailer.lang-pt_br.php @@ -0,0 +1,38 @@ + + * @author Lucas Guimarães + * @author Phelipe Alves + * @author Fabio Beneditto + * @author Geidson Benício Coelho + */ + +$PHPMAILER_LANG['authenticate'] = 'Erro de SMTP: Não foi possível autenticar.'; +$PHPMAILER_LANG['buggy_php'] = 'Sua versão do PHP é afetada por um bug que por resultar em messagens corrompidas. Para corrigir, mude para enviar usando SMTP, desative a opção mail.add_x_header em seu php.ini, mude para MacOS ou Linux, ou atualize seu PHP para versão 7.0.17+ ou 7.1.3+ '; +$PHPMAILER_LANG['connect_host'] = 'Erro de SMTP: Não foi possível conectar ao servidor SMTP.'; +$PHPMAILER_LANG['data_not_accepted'] = 'Erro de SMTP: Dados rejeitados.'; +$PHPMAILER_LANG['empty_message'] = 'Mensagem vazia'; +$PHPMAILER_LANG['encoding'] = 'Codificação desconhecida: '; +$PHPMAILER_LANG['execute'] = 'Não foi possível executar: '; +$PHPMAILER_LANG['extension_missing'] = 'Extensão não existe: '; +$PHPMAILER_LANG['file_access'] = 'Não foi possível acessar o arquivo: '; +$PHPMAILER_LANG['file_open'] = 'Erro de Arquivo: Não foi possível abrir o arquivo: '; +$PHPMAILER_LANG['from_failed'] = 'Os seguintes remetentes falharam: '; +$PHPMAILER_LANG['instantiate'] = 'Não foi possível instanciar a função mail.'; +$PHPMAILER_LANG['invalid_address'] = 'Endereço de e-mail inválido: '; +$PHPMAILER_LANG['invalid_header'] = 'Nome ou valor de cabeçalho inválido'; +$PHPMAILER_LANG['invalid_hostentry'] = 'hostentry inválido: '; +$PHPMAILER_LANG['invalid_host'] = 'host inválido: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer não é suportado.'; +$PHPMAILER_LANG['provide_address'] = 'Você deve informar pelo menos um destinatário.'; +$PHPMAILER_LANG['recipients_failed'] = 'Erro de SMTP: Os seguintes destinatários falharam: '; +$PHPMAILER_LANG['signing'] = 'Erro de Assinatura: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() falhou.'; +$PHPMAILER_LANG['smtp_code'] = 'Código do servidor SMTP: '; +$PHPMAILER_LANG['smtp_error'] = 'Erro de servidor SMTP: '; +$PHPMAILER_LANG['smtp_code_ex'] = 'Informações adicionais do servidor SMTP: '; +$PHPMAILER_LANG['smtp_detail'] = 'Detalhes do servidor SMTP: '; +$PHPMAILER_LANG['variable_set'] = 'Não foi possível definir ou redefinir a variável: '; diff --git a/PHPMailer6/language/phpmailer.lang-ro.php b/PHPMailer6/language/phpmailer.lang-ro.php new file mode 100644 index 0000000..7cb081c --- /dev/null +++ b/PHPMailer6/language/phpmailer.lang-ro.php @@ -0,0 +1,33 @@ + + * @author Foster Snowhill + */ + +$PHPMAILER_LANG['authenticate'] = 'Ошибка SMTP: ошибка авторизации.'; +$PHPMAILER_LANG['connect_host'] = 'Ошибка SMTP: не удается подключиться к SMTP-серверу.'; +$PHPMAILER_LANG['data_not_accepted'] = 'Ошибка SMTP: данные не приняты.'; +$PHPMAILER_LANG['encoding'] = 'Неизвестная кодировка: '; +$PHPMAILER_LANG['execute'] = 'Невозможно выполнить команду: '; +$PHPMAILER_LANG['file_access'] = 'Нет доступа к файлу: '; +$PHPMAILER_LANG['file_open'] = 'Файловая ошибка: не удаётся открыть файл: '; +$PHPMAILER_LANG['from_failed'] = 'Неверный адрес отправителя: '; +$PHPMAILER_LANG['instantiate'] = 'Невозможно запустить функцию mail().'; +$PHPMAILER_LANG['provide_address'] = 'Пожалуйста, введите хотя бы один email-адрес получателя.'; +$PHPMAILER_LANG['mailer_not_supported'] = ' — почтовый сервер не поддерживается.'; +$PHPMAILER_LANG['recipients_failed'] = 'Ошибка SMTP: не удалась отправка таким адресатам: '; +$PHPMAILER_LANG['empty_message'] = 'Пустое сообщение'; +$PHPMAILER_LANG['invalid_address'] = 'Не отправлено из-за неправильного формата email-адреса: '; +$PHPMAILER_LANG['signing'] = 'Ошибка подписи: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'Ошибка соединения с SMTP-сервером'; +$PHPMAILER_LANG['smtp_error'] = 'Ошибка SMTP-сервера: '; +$PHPMAILER_LANG['variable_set'] = 'Невозможно установить или сбросить переменную: '; +$PHPMAILER_LANG['extension_missing'] = 'Расширение отсутствует: '; diff --git a/PHPMailer6/language/phpmailer.lang-sk.php b/PHPMailer6/language/phpmailer.lang-sk.php new file mode 100644 index 0000000..0ddf3a4 --- /dev/null +++ b/PHPMailer6/language/phpmailer.lang-sk.php @@ -0,0 +1,30 @@ + + * @author Peter Orlický + */ + +$PHPMAILER_LANG['authenticate'] = 'SMTP Error: Chyba autentifikácie.'; +$PHPMAILER_LANG['connect_host'] = 'SMTP Error: Nebolo možné nadviazať spojenie so SMTP serverom.'; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP Error: Dáta neboli prijaté'; +$PHPMAILER_LANG['empty_message'] = 'Prázdne telo správy.'; +$PHPMAILER_LANG['encoding'] = 'Neznáme kódovanie: '; +$PHPMAILER_LANG['execute'] = 'Nedá sa vykonať: '; +$PHPMAILER_LANG['file_access'] = 'Súbor nebol nájdený: '; +$PHPMAILER_LANG['file_open'] = 'File Error: Súbor sa otvoriť pre čítanie: '; +$PHPMAILER_LANG['from_failed'] = 'Následujúca adresa From je nesprávna: '; +$PHPMAILER_LANG['instantiate'] = 'Nedá sa vytvoriť inštancia emailovej funkcie.'; +$PHPMAILER_LANG['invalid_address'] = 'Neodoslané, emailová adresa je nesprávna: '; +$PHPMAILER_LANG['invalid_hostentry'] = 'Záznam hostiteľa je nesprávny: '; +$PHPMAILER_LANG['invalid_host'] = 'Hostiteľ je nesprávny: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' emailový klient nieje podporovaný.'; +$PHPMAILER_LANG['provide_address'] = 'Musíte zadať aspoň jednu emailovú adresu príjemcu.'; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP Error: Adresy príjemcov niesu správne '; +$PHPMAILER_LANG['signing'] = 'Chyba prihlasovania: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() zlyhalo.'; +$PHPMAILER_LANG['smtp_error'] = 'SMTP chyba serveru: '; +$PHPMAILER_LANG['variable_set'] = 'Nemožno nastaviť alebo resetovať premennú: '; +$PHPMAILER_LANG['extension_missing'] = 'Chýba rozšírenie: '; diff --git a/PHPMailer6/language/phpmailer.lang-sl.php b/PHPMailer6/language/phpmailer.lang-sl.php new file mode 100644 index 0000000..5f619e7 --- /dev/null +++ b/PHPMailer6/language/phpmailer.lang-sl.php @@ -0,0 +1,36 @@ + + * @author Filip Š + * @author Blaž Oražem + */ + +$PHPMAILER_LANG['authenticate'] = 'SMTP napaka: Avtentikacija ni uspela.'; +$PHPMAILER_LANG['buggy_php'] = 'Na vašo PHP različico vpliva napaka, ki lahko povzroči poškodovana sporočila. Če želite težavo odpraviti, preklopite na pošiljanje prek SMTP, onemogočite možnost mail.add_x_header v vaši php.ini datoteki, preklopite na MacOS ali Linux, ali nadgradite vašo PHP zaličico na 7.0.17+ ali 7.1.3+.'; +$PHPMAILER_LANG['connect_host'] = 'SMTP napaka: Vzpostavljanje povezave s SMTP gostiteljem ni uspelo.'; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP napaka: Strežnik zavrača podatke.'; +$PHPMAILER_LANG['empty_message'] = 'E-poštno sporočilo nima vsebine.'; +$PHPMAILER_LANG['encoding'] = 'Nepoznan tip kodiranja: '; +$PHPMAILER_LANG['execute'] = 'Operacija ni uspela: '; +$PHPMAILER_LANG['extension_missing'] = 'Manjkajoča razširitev: '; +$PHPMAILER_LANG['file_access'] = 'Nimam dostopa do datoteke: '; +$PHPMAILER_LANG['file_open'] = 'Ne morem odpreti datoteke: '; +$PHPMAILER_LANG['from_failed'] = 'Neveljaven e-naslov pošiljatelja: '; +$PHPMAILER_LANG['instantiate'] = 'Ne morem inicializirati mail funkcije.'; +$PHPMAILER_LANG['invalid_address'] = 'E-poštno sporočilo ni bilo poslano. E-naslov je neveljaven: '; +$PHPMAILER_LANG['invalid_header'] = 'Neveljavno ime ali vrednost glave'; +$PHPMAILER_LANG['invalid_hostentry'] = 'Neveljaven vnos gostitelja: '; +$PHPMAILER_LANG['invalid_host'] = 'Neveljaven gostitelj: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer ni podprt.'; +$PHPMAILER_LANG['provide_address'] = 'Prosimo, vnesite vsaj enega naslovnika.'; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP napaka: Sledeči naslovniki so neveljavni: '; +$PHPMAILER_LANG['signing'] = 'Napaka pri podpisovanju: '; +$PHPMAILER_LANG['smtp_code'] = 'SMTP koda: '; +$PHPMAILER_LANG['smtp_code_ex'] = 'Dodatne informacije o SMTP: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'Ne morem vzpostaviti povezave s SMTP strežnikom.'; +$PHPMAILER_LANG['smtp_detail'] = 'Podrobnosti: '; +$PHPMAILER_LANG['smtp_error'] = 'Napaka SMTP strežnika: '; +$PHPMAILER_LANG['variable_set'] = 'Ne morem nastaviti oz. ponastaviti spremenljivke: '; diff --git a/PHPMailer6/language/phpmailer.lang-sr.php b/PHPMailer6/language/phpmailer.lang-sr.php new file mode 100644 index 0000000..e868357 --- /dev/null +++ b/PHPMailer6/language/phpmailer.lang-sr.php @@ -0,0 +1,28 @@ + + * @author Miloš Milanović + */ + +$PHPMAILER_LANG['authenticate'] = 'SMTP грешка: аутентификација није успела.'; +$PHPMAILER_LANG['connect_host'] = 'SMTP грешка: повезивање са SMTP сервером није успело.'; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP грешка: подаци нису прихваћени.'; +$PHPMAILER_LANG['empty_message'] = 'Садржај поруке је празан.'; +$PHPMAILER_LANG['encoding'] = 'Непознато кодирање: '; +$PHPMAILER_LANG['execute'] = 'Није могуће извршити наредбу: '; +$PHPMAILER_LANG['file_access'] = 'Није могуће приступити датотеци: '; +$PHPMAILER_LANG['file_open'] = 'Није могуће отворити датотеку: '; +$PHPMAILER_LANG['from_failed'] = 'SMTP грешка: слање са следећих адреса није успело: '; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP грешка: слање на следеће адресе није успело: '; +$PHPMAILER_LANG['instantiate'] = 'Није могуће покренути mail функцију.'; +$PHPMAILER_LANG['invalid_address'] = 'Порука није послата. Неисправна адреса: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' мејлер није подржан.'; +$PHPMAILER_LANG['provide_address'] = 'Дефинишите бар једну адресу примаоца.'; +$PHPMAILER_LANG['signing'] = 'Грешка приликом пријаве: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'Повезивање са SMTP сервером није успело.'; +$PHPMAILER_LANG['smtp_error'] = 'Грешка SMTP сервера: '; +$PHPMAILER_LANG['variable_set'] = 'Није могуће задати нити ресетовати променљиву: '; +$PHPMAILER_LANG['extension_missing'] = 'Недостаје проширење: '; diff --git a/PHPMailer6/language/phpmailer.lang-sr_latn.php b/PHPMailer6/language/phpmailer.lang-sr_latn.php new file mode 100644 index 0000000..0e98a47 --- /dev/null +++ b/PHPMailer6/language/phpmailer.lang-sr_latn.php @@ -0,0 +1,28 @@ + + * @author Miloš Milanović + */ + +$PHPMAILER_LANG['authenticate'] = 'SMTP greška: autentifikacija nije uspela.'; +$PHPMAILER_LANG['connect_host'] = 'SMTP greška: povezivanje sa SMTP serverom nije uspelo.'; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP greška: podaci nisu prihvaćeni.'; +$PHPMAILER_LANG['empty_message'] = 'Sadržaj poruke je prazan.'; +$PHPMAILER_LANG['encoding'] = 'Nepoznato kodiranje: '; +$PHPMAILER_LANG['execute'] = 'Nije moguće izvršiti naredbu: '; +$PHPMAILER_LANG['file_access'] = 'Nije moguće pristupiti datoteci: '; +$PHPMAILER_LANG['file_open'] = 'Nije moguće otvoriti datoteku: '; +$PHPMAILER_LANG['from_failed'] = 'SMTP greška: slanje sa sledećih adresa nije uspelo: '; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP greška: slanje na sledeće adrese nije uspelo: '; +$PHPMAILER_LANG['instantiate'] = 'Nije moguće pokrenuti mail funkciju.'; +$PHPMAILER_LANG['invalid_address'] = 'Poruka nije poslata. Neispravna adresa: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' majler nije podržan.'; +$PHPMAILER_LANG['provide_address'] = 'Definišite bar jednu adresu primaoca.'; +$PHPMAILER_LANG['signing'] = 'Greška prilikom prijave: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'Povezivanje sa SMTP serverom nije uspelo.'; +$PHPMAILER_LANG['smtp_error'] = 'Greška SMTP servera: '; +$PHPMAILER_LANG['variable_set'] = 'Nije moguće zadati niti resetovati promenljivu: '; +$PHPMAILER_LANG['extension_missing'] = 'Nedostaje proširenje: '; diff --git a/PHPMailer6/language/phpmailer.lang-sv.php b/PHPMailer6/language/phpmailer.lang-sv.php new file mode 100644 index 0000000..0152a74 --- /dev/null +++ b/PHPMailer6/language/phpmailer.lang-sv.php @@ -0,0 +1,27 @@ + + */ + +$PHPMAILER_LANG['authenticate'] = 'SMTP fel: Kunde inte autentisera.'; +$PHPMAILER_LANG['connect_host'] = 'SMTP fel: Kunde inte ansluta till SMTP-server.'; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP fel: Data accepterades inte.'; +//$PHPMAILER_LANG['empty_message'] = 'Message body empty'; +$PHPMAILER_LANG['encoding'] = 'Okänt encode-format: '; +$PHPMAILER_LANG['execute'] = 'Kunde inte köra: '; +$PHPMAILER_LANG['file_access'] = 'Ingen åtkomst till fil: '; +$PHPMAILER_LANG['file_open'] = 'Fil fel: Kunde inte öppna fil: '; +$PHPMAILER_LANG['from_failed'] = 'Följande avsändaradress är felaktig: '; +$PHPMAILER_LANG['instantiate'] = 'Kunde inte initiera e-postfunktion.'; +$PHPMAILER_LANG['invalid_address'] = 'Felaktig adress: '; +$PHPMAILER_LANG['provide_address'] = 'Du måste ange minst en mottagares e-postadress.'; +$PHPMAILER_LANG['mailer_not_supported'] = ' mailer stöds inte.'; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP fel: Följande mottagare är felaktig: '; +$PHPMAILER_LANG['signing'] = 'Signeringsfel: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() misslyckades.'; +$PHPMAILER_LANG['smtp_error'] = 'SMTP serverfel: '; +$PHPMAILER_LANG['variable_set'] = 'Kunde inte definiera eller återställa variabel: '; +$PHPMAILER_LANG['extension_missing'] = 'Tillägg ej tillgängligt: '; diff --git a/PHPMailer6/language/phpmailer.lang-tl.php b/PHPMailer6/language/phpmailer.lang-tl.php new file mode 100644 index 0000000..737e06b --- /dev/null +++ b/PHPMailer6/language/phpmailer.lang-tl.php @@ -0,0 +1,28 @@ + + */ + +$PHPMAILER_LANG['authenticate'] = 'SMTP Error: Hindi mapatotohanan.'; +$PHPMAILER_LANG['connect_host'] = 'SMTP Error: Hindi makakonekta sa SMTP host.'; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP Error: Ang datos ay hindi naitanggap.'; +$PHPMAILER_LANG['empty_message'] = 'Walang laman ang mensahe'; +$PHPMAILER_LANG['encoding'] = 'Hindi alam ang encoding: '; +$PHPMAILER_LANG['execute'] = 'Hindi maisasagawa: '; +$PHPMAILER_LANG['file_access'] = 'Hindi ma-access ang file: '; +$PHPMAILER_LANG['file_open'] = 'File Error: Hindi mabuksan ang file: '; +$PHPMAILER_LANG['from_failed'] = 'Ang sumusunod na address ay nabigo: '; +$PHPMAILER_LANG['instantiate'] = 'Hindi maisimulan ang instance ng mail function.'; +$PHPMAILER_LANG['invalid_address'] = 'Hindi wasto ang address na naibigay: '; +$PHPMAILER_LANG['mailer_not_supported'] = 'Ang mailer ay hindi suportado.'; +$PHPMAILER_LANG['provide_address'] = 'Kailangan mong magbigay ng kahit isang email address na tatanggap.'; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP Error: Ang mga sumusunod na tatanggap ay nabigo: '; +$PHPMAILER_LANG['signing'] = 'Hindi ma-sign: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'Ang SMTP connect() ay nabigo.'; +$PHPMAILER_LANG['smtp_error'] = 'Ang server ng SMTP ay nabigo: '; +$PHPMAILER_LANG['variable_set'] = 'Hindi matatakda o ma-reset ang mga variables: '; +$PHPMAILER_LANG['extension_missing'] = 'Nawawala ang extension: '; diff --git a/PHPMailer6/language/phpmailer.lang-tr.php b/PHPMailer6/language/phpmailer.lang-tr.php new file mode 100644 index 0000000..4f714f8 --- /dev/null +++ b/PHPMailer6/language/phpmailer.lang-tr.php @@ -0,0 +1,31 @@ + + * @fixed by Boris Yurchenko + */ + +$PHPMAILER_LANG['authenticate'] = 'Помилка SMTP: помилка авторизації.'; +$PHPMAILER_LANG['connect_host'] = 'Помилка SMTP: не вдається під\'єднатися до SMTP-серверу.'; +$PHPMAILER_LANG['data_not_accepted'] = 'Помилка SMTP: дані не прийнято.'; +$PHPMAILER_LANG['encoding'] = 'Невідоме кодування: '; +$PHPMAILER_LANG['execute'] = 'Неможливо виконати команду: '; +$PHPMAILER_LANG['file_access'] = 'Немає доступу до файлу: '; +$PHPMAILER_LANG['file_open'] = 'Помилка файлової системи: не вдається відкрити файл: '; +$PHPMAILER_LANG['from_failed'] = 'Невірна адреса відправника: '; +$PHPMAILER_LANG['instantiate'] = 'Неможливо запустити функцію mail().'; +$PHPMAILER_LANG['provide_address'] = 'Будь ласка, введіть хоча б одну email-адресу отримувача.'; +$PHPMAILER_LANG['mailer_not_supported'] = ' - поштовий сервер не підтримується.'; +$PHPMAILER_LANG['recipients_failed'] = 'Помилка SMTP: не вдалося відправлення для таких отримувачів: '; +$PHPMAILER_LANG['empty_message'] = 'Пусте повідомлення'; +$PHPMAILER_LANG['invalid_address'] = 'Не відправлено через неправильний формат email-адреси: '; +$PHPMAILER_LANG['signing'] = 'Помилка підпису: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'Помилка з\'єднання з SMTP-сервером'; +$PHPMAILER_LANG['smtp_error'] = 'Помилка SMTP-сервера: '; +$PHPMAILER_LANG['variable_set'] = 'Неможливо встановити або скинути змінну: '; +$PHPMAILER_LANG['extension_missing'] = 'Розширення відсутнє: '; diff --git a/PHPMailer6/language/phpmailer.lang-vi.php b/PHPMailer6/language/phpmailer.lang-vi.php new file mode 100644 index 0000000..81565e4 --- /dev/null +++ b/PHPMailer6/language/phpmailer.lang-vi.php @@ -0,0 +1,27 @@ + + */ + +$PHPMAILER_LANG['authenticate'] = 'Lỗi SMTP: Không thể xác thực.'; +$PHPMAILER_LANG['connect_host'] = 'Lỗi SMTP: Không thể kết nối máy chủ SMTP.'; +$PHPMAILER_LANG['data_not_accepted'] = 'Lỗi SMTP: Dữ liệu không được chấp nhận.'; +$PHPMAILER_LANG['empty_message'] = 'Không có nội dung'; +$PHPMAILER_LANG['encoding'] = 'Mã hóa không xác định: '; +$PHPMAILER_LANG['execute'] = 'Không thực hiện được: '; +$PHPMAILER_LANG['file_access'] = 'Không thể truy cập tệp tin '; +$PHPMAILER_LANG['file_open'] = 'Lỗi Tập tin: Không thể mở tệp tin: '; +$PHPMAILER_LANG['from_failed'] = 'Lỗi địa chỉ gửi đi: '; +$PHPMAILER_LANG['instantiate'] = 'Không dùng được các hàm gửi thư.'; +$PHPMAILER_LANG['invalid_address'] = 'Đại chỉ emai không đúng: '; +$PHPMAILER_LANG['mailer_not_supported'] = ' trình gửi thư không được hỗ trợ.'; +$PHPMAILER_LANG['provide_address'] = 'Bạn phải cung cấp ít nhất một địa chỉ người nhận.'; +$PHPMAILER_LANG['recipients_failed'] = 'Lỗi SMTP: lỗi địa chỉ người nhận: '; +$PHPMAILER_LANG['signing'] = 'Lỗi đăng nhập: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'Lỗi kết nối với SMTP'; +$PHPMAILER_LANG['smtp_error'] = 'Lỗi máy chủ smtp '; +$PHPMAILER_LANG['variable_set'] = 'Không thể thiết lập hoặc thiết lập lại biến: '; +//$PHPMAILER_LANG['extension_missing'] = 'Extension missing: '; diff --git a/PHPMailer6/language/phpmailer.lang-zh.php b/PHPMailer6/language/phpmailer.lang-zh.php new file mode 100644 index 0000000..ed0cd5f --- /dev/null +++ b/PHPMailer6/language/phpmailer.lang-zh.php @@ -0,0 +1,29 @@ + + * @author Peter Dave Hello <@PeterDaveHello/> + * @author Jason Chiang + */ + +$PHPMAILER_LANG['authenticate'] = 'SMTP 錯誤:登入失敗。'; +$PHPMAILER_LANG['connect_host'] = 'SMTP 錯誤:無法連線到 SMTP 主機。'; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP 錯誤:無法接受的資料。'; +$PHPMAILER_LANG['empty_message'] = '郵件內容為空'; +$PHPMAILER_LANG['encoding'] = '未知編碼: '; +$PHPMAILER_LANG['execute'] = '無法執行:'; +$PHPMAILER_LANG['file_access'] = '無法存取檔案:'; +$PHPMAILER_LANG['file_open'] = '檔案錯誤:無法開啟檔案:'; +$PHPMAILER_LANG['from_failed'] = '發送地址錯誤:'; +$PHPMAILER_LANG['instantiate'] = '未知函數呼叫。'; +$PHPMAILER_LANG['invalid_address'] = '因為電子郵件地址無效,無法傳送: '; +$PHPMAILER_LANG['mailer_not_supported'] = '不支援的發信客戶端。'; +$PHPMAILER_LANG['provide_address'] = '必須提供至少一個收件人地址。'; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP 錯誤:以下收件人地址錯誤:'; +$PHPMAILER_LANG['signing'] = '電子簽章錯誤: '; +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP 連線失敗'; +$PHPMAILER_LANG['smtp_error'] = 'SMTP 伺服器錯誤: '; +$PHPMAILER_LANG['variable_set'] = '無法設定或重設變數: '; +$PHPMAILER_LANG['extension_missing'] = '遺失模組 Extension: '; diff --git a/PHPMailer6/language/phpmailer.lang-zh_cn.php b/PHPMailer6/language/phpmailer.lang-zh_cn.php new file mode 100644 index 0000000..0da59d0 --- /dev/null +++ b/PHPMailer6/language/phpmailer.lang-zh_cn.php @@ -0,0 +1,29 @@ + + * @author young + * @author Teddysun + */ + +$PHPMAILER_LANG['authenticate'] = 'SMTP 错误:登录失败。'; +$PHPMAILER_LANG['connect_host'] = 'SMTP 错误:无法连接到 SMTP 主机。'; +$PHPMAILER_LANG['data_not_accepted'] = 'SMTP 错误:数据不被接受。'; +$PHPMAILER_LANG['empty_message'] = '邮件正文为空。'; +$PHPMAILER_LANG['encoding'] = '未知编码:'; +$PHPMAILER_LANG['execute'] = '无法执行:'; +$PHPMAILER_LANG['file_access'] = '无法访问文件:'; +$PHPMAILER_LANG['file_open'] = '文件错误:无法打开文件:'; +$PHPMAILER_LANG['from_failed'] = '发送地址错误:'; +$PHPMAILER_LANG['instantiate'] = '未知函数调用。'; +$PHPMAILER_LANG['invalid_address'] = '发送失败,电子邮箱地址是无效的:'; +$PHPMAILER_LANG['mailer_not_supported'] = '发信客户端不被支持。'; +$PHPMAILER_LANG['provide_address'] = '必须提供至少一个收件人地址。'; +$PHPMAILER_LANG['recipients_failed'] = 'SMTP 错误:收件人地址错误:'; +$PHPMAILER_LANG['signing'] = '登录失败:'; +$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP服务器连接失败。'; +$PHPMAILER_LANG['smtp_error'] = 'SMTP服务器出错:'; +$PHPMAILER_LANG['variable_set'] = '无法设置或重置变量:'; +$PHPMAILER_LANG['extension_missing'] = '丢失模块 Extension:'; diff --git a/PHPMailer6/src/DSNConfigurator.php b/PHPMailer6/src/DSNConfigurator.php new file mode 100644 index 0000000..d90cf24 --- /dev/null +++ b/PHPMailer6/src/DSNConfigurator.php @@ -0,0 +1,247 @@ + + * @author Jim Jagielski (jimjag) + * @author Andy Prevost (codeworxtech) + * @author Brent R. Matzelle (original founder) + * @copyright 2012 - 2023 Marcus Bointon + * @copyright 2010 - 2012 Jim Jagielski + * @copyright 2004 - 2009 Andy Prevost + * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License + * @note This program is distributed in the hope that it will be useful - WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. + */ + +namespace PHPMailer\PHPMailer; + +/** + * Configure PHPMailer with DSN string. + * + * @see https://en.wikipedia.org/wiki/Data_source_name + * + * @author Oleg Voronkovich + */ +class DSNConfigurator +{ + /** + * Create new PHPMailer instance configured by DSN. + * + * @param string $dsn DSN + * @param bool $exceptions Should we throw external exceptions? + * + * @return PHPMailer + */ + public static function mailer($dsn, $exceptions = null) + { + static $configurator = null; + + if (null === $configurator) { + $configurator = new DSNConfigurator(); + } + + return $configurator->configure(new PHPMailer($exceptions), $dsn); + } + + /** + * Configure PHPMailer instance with DSN string. + * + * @param PHPMailer $mailer PHPMailer instance + * @param string $dsn DSN + * + * @return PHPMailer + */ + public function configure(PHPMailer $mailer, $dsn) + { + $config = $this->parseDSN($dsn); + + $this->applyConfig($mailer, $config); + + return $mailer; + } + + /** + * Parse DSN string. + * + * @param string $dsn DSN + * + * @throws Exception If DSN is malformed + * + * @return array Configuration + */ + private function parseDSN($dsn) + { + $config = $this->parseUrl($dsn); + + if (false === $config || !isset($config['scheme']) || !isset($config['host'])) { + throw new Exception( + sprintf('Malformed DSN: "%s".', $dsn) + ); + } + + if (isset($config['query'])) { + parse_str($config['query'], $config['query']); + } + + return $config; + } + + /** + * Apply configuration to mailer. + * + * @param PHPMailer $mailer PHPMailer instance + * @param array $config Configuration + * + * @throws Exception If scheme is invalid + */ + private function applyConfig(PHPMailer $mailer, $config) + { + switch ($config['scheme']) { + case 'mail': + $mailer->isMail(); + break; + case 'sendmail': + $mailer->isSendmail(); + break; + case 'qmail': + $mailer->isQmail(); + break; + case 'smtp': + case 'smtps': + $mailer->isSMTP(); + $this->configureSMTP($mailer, $config); + break; + default: + throw new Exception( + sprintf( + 'Invalid scheme: "%s". Allowed values: "mail", "sendmail", "qmail", "smtp", "smtps".', + $config['scheme'] + ) + ); + } + + if (isset($config['query'])) { + $this->configureOptions($mailer, $config['query']); + } + } + + /** + * Configure SMTP. + * + * @param PHPMailer $mailer PHPMailer instance + * @param array $config Configuration + */ + private function configureSMTP($mailer, $config) + { + $isSMTPS = 'smtps' === $config['scheme']; + + if ($isSMTPS) { + $mailer->SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS; + } + + $mailer->Host = $config['host']; + + if (isset($config['port'])) { + $mailer->Port = $config['port']; + } elseif ($isSMTPS) { + $mailer->Port = SMTP::DEFAULT_SECURE_PORT; + } + + $mailer->SMTPAuth = isset($config['user']) || isset($config['pass']); + + if (isset($config['user'])) { + $mailer->Username = $config['user']; + } + + if (isset($config['pass'])) { + $mailer->Password = $config['pass']; + } + } + + /** + * Configure options. + * + * @param PHPMailer $mailer PHPMailer instance + * @param array $options Options + * + * @throws Exception If option is unknown + */ + private function configureOptions(PHPMailer $mailer, $options) + { + $allowedOptions = get_object_vars($mailer); + + unset($allowedOptions['Mailer']); + unset($allowedOptions['SMTPAuth']); + unset($allowedOptions['Username']); + unset($allowedOptions['Password']); + unset($allowedOptions['Hostname']); + unset($allowedOptions['Port']); + unset($allowedOptions['ErrorInfo']); + + $allowedOptions = \array_keys($allowedOptions); + + foreach ($options as $key => $value) { + if (!in_array($key, $allowedOptions)) { + throw new Exception( + sprintf( + 'Unknown option: "%s". Allowed values: "%s"', + $key, + implode('", "', $allowedOptions) + ) + ); + } + + switch ($key) { + case 'AllowEmpty': + case 'SMTPAutoTLS': + case 'SMTPKeepAlive': + case 'SingleTo': + case 'UseSendmailOptions': + case 'do_verp': + case 'DKIM_copyHeaderFields': + $mailer->$key = (bool) $value; + break; + case 'Priority': + case 'SMTPDebug': + case 'WordWrap': + $mailer->$key = (int) $value; + break; + default: + $mailer->$key = $value; + break; + } + } + } + + /** + * Parse a URL. + * Wrapper for the built-in parse_url function to work around a bug in PHP 5.5. + * + * @param string $url URL + * + * @return array|false + */ + protected function parseUrl($url) + { + if (\PHP_VERSION_ID >= 50600 || false === strpos($url, '?')) { + return parse_url($url); + } + + $chunks = explode('?', $url); + if (is_array($chunks)) { + $result = parse_url($chunks[0]); + if (is_array($result)) { + $result['query'] = $chunks[1]; + } + return $result; + } + + return false; + } +} diff --git a/PHPMailer6/src/Exception.php b/PHPMailer6/src/Exception.php new file mode 100644 index 0000000..7c16939 --- /dev/null +++ b/PHPMailer6/src/Exception.php @@ -0,0 +1,40 @@ + + * @author Jim Jagielski (jimjag) + * @author Andy Prevost (codeworxtech) + * @author Brent R. Matzelle (original founder) + * @copyright 2012 - 2020 Marcus Bointon + * @copyright 2010 - 2012 Jim Jagielski + * @copyright 2004 - 2009 Andy Prevost + * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License + * @note This program is distributed in the hope that it will be useful - WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. + */ + +namespace PHPMailer\PHPMailer; + +/** + * PHPMailer exception handler. + * + * @author Marcus Bointon + */ +class Exception extends \Exception +{ + /** + * Prettify error message output. + * + * @return string + */ + public function errorMessage() + { + return '' . htmlspecialchars($this->getMessage(), ENT_COMPAT | ENT_HTML401) . "
\n"; + } +} diff --git a/PHPMailer6/src/OAuth.php b/PHPMailer6/src/OAuth.php new file mode 100644 index 0000000..8f9bc3a --- /dev/null +++ b/PHPMailer6/src/OAuth.php @@ -0,0 +1,139 @@ + + * @author Jim Jagielski (jimjag) + * @author Andy Prevost (codeworxtech) + * @author Brent R. Matzelle (original founder) + * @copyright 2012 - 2020 Marcus Bointon + * @copyright 2010 - 2012 Jim Jagielski + * @copyright 2004 - 2009 Andy Prevost + * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License + * @note This program is distributed in the hope that it will be useful - WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. + */ + +namespace PHPMailer\PHPMailer; + +use League\OAuth2\Client\Grant\RefreshToken; +use League\OAuth2\Client\Provider\AbstractProvider; +use League\OAuth2\Client\Token\AccessToken; + +/** + * OAuth - OAuth2 authentication wrapper class. + * Uses the oauth2-client package from the League of Extraordinary Packages. + * + * @see http://oauth2-client.thephpleague.com + * + * @author Marcus Bointon (Synchro/coolbru) + */ +class OAuth implements OAuthTokenProvider +{ + /** + * An instance of the League OAuth Client Provider. + * + * @var AbstractProvider + */ + protected $provider; + + /** + * The current OAuth access token. + * + * @var AccessToken + */ + protected $oauthToken; + + /** + * The user's email address, usually used as the login ID + * and also the from address when sending email. + * + * @var string + */ + protected $oauthUserEmail = ''; + + /** + * The client secret, generated in the app definition of the service you're connecting to. + * + * @var string + */ + protected $oauthClientSecret = ''; + + /** + * The client ID, generated in the app definition of the service you're connecting to. + * + * @var string + */ + protected $oauthClientId = ''; + + /** + * The refresh token, used to obtain new AccessTokens. + * + * @var string + */ + protected $oauthRefreshToken = ''; + + /** + * OAuth constructor. + * + * @param array $options Associative array containing + * `provider`, `userName`, `clientSecret`, `clientId` and `refreshToken` elements + */ + public function __construct($options) + { + $this->provider = $options['provider']; + $this->oauthUserEmail = $options['userName']; + $this->oauthClientSecret = $options['clientSecret']; + $this->oauthClientId = $options['clientId']; + $this->oauthRefreshToken = $options['refreshToken']; + } + + /** + * Get a new RefreshToken. + * + * @return RefreshToken + */ + protected function getGrant() + { + return new RefreshToken(); + } + + /** + * Get a new AccessToken. + * + * @return AccessToken + */ + protected function getToken() + { + return $this->provider->getAccessToken( + $this->getGrant(), + ['refresh_token' => $this->oauthRefreshToken] + ); + } + + /** + * Generate a base64-encoded OAuth token. + * + * @return string + */ + public function getOauth64() + { + //Get a new token if it's not available or has expired + if (null === $this->oauthToken || $this->oauthToken->hasExpired()) { + $this->oauthToken = $this->getToken(); + } + + return base64_encode( + 'user=' . + $this->oauthUserEmail . + "\001auth=Bearer " . + $this->oauthToken . + "\001\001" + ); + } +} diff --git a/PHPMailer6/src/OAuthTokenProvider.php b/PHPMailer6/src/OAuthTokenProvider.php new file mode 100644 index 0000000..959eeb2 --- /dev/null +++ b/PHPMailer6/src/OAuthTokenProvider.php @@ -0,0 +1,44 @@ + + * @author Jim Jagielski (jimjag) + * @author Andy Prevost (codeworxtech) + * @author Brent R. Matzelle (original founder) + * @copyright 2012 - 2020 Marcus Bointon + * @copyright 2010 - 2012 Jim Jagielski + * @copyright 2004 - 2009 Andy Prevost + * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License + * @note This program is distributed in the hope that it will be useful - WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. + */ + +namespace PHPMailer\PHPMailer; + +/** + * OAuthTokenProvider - OAuth2 token provider interface. + * Provides base64 encoded OAuth2 auth strings for SMTP authentication. + * + * @see OAuth + * @see SMTP::authenticate() + * + * @author Peter Scopes (pdscopes) + * @author Marcus Bointon (Synchro/coolbru) + */ +interface OAuthTokenProvider +{ + /** + * Generate a base64-encoded OAuth token ensuring that the access token has not expired. + * The string to be base 64 encoded should be in the form: + * "user=\001auth=Bearer \001\001" + * + * @return string + */ + public function getOauth64(); +} diff --git a/PHPMailer6/src/PHPMailer.php b/PHPMailer6/src/PHPMailer.php new file mode 100644 index 0000000..56f9644 --- /dev/null +++ b/PHPMailer6/src/PHPMailer.php @@ -0,0 +1,5126 @@ + + * @author Jim Jagielski (jimjag) + * @author Andy Prevost (codeworxtech) + * @author Brent R. Matzelle (original founder) + * @copyright 2012 - 2020 Marcus Bointon + * @copyright 2010 - 2012 Jim Jagielski + * @copyright 2004 - 2009 Andy Prevost + * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License + * @note This program is distributed in the hope that it will be useful - WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. + */ + +namespace PHPMailer\PHPMailer; + +/** + * PHPMailer - PHP email creation and transport class. + * + * @author Marcus Bointon (Synchro/coolbru) + * @author Jim Jagielski (jimjag) + * @author Andy Prevost (codeworxtech) + * @author Brent R. Matzelle (original founder) + */ +class PHPMailer +{ + const CHARSET_ASCII = 'us-ascii'; + const CHARSET_ISO88591 = 'iso-8859-1'; + const CHARSET_UTF8 = 'utf-8'; + + const CONTENT_TYPE_PLAINTEXT = 'text/plain'; + const CONTENT_TYPE_TEXT_CALENDAR = 'text/calendar'; + const CONTENT_TYPE_TEXT_HTML = 'text/html'; + const CONTENT_TYPE_MULTIPART_ALTERNATIVE = 'multipart/alternative'; + const CONTENT_TYPE_MULTIPART_MIXED = 'multipart/mixed'; + const CONTENT_TYPE_MULTIPART_RELATED = 'multipart/related'; + + const ENCODING_7BIT = '7bit'; + const ENCODING_8BIT = '8bit'; + const ENCODING_BASE64 = 'base64'; + const ENCODING_BINARY = 'binary'; + const ENCODING_QUOTED_PRINTABLE = 'quoted-printable'; + + const ENCRYPTION_STARTTLS = 'tls'; + const ENCRYPTION_SMTPS = 'ssl'; + + const ICAL_METHOD_REQUEST = 'REQUEST'; + const ICAL_METHOD_PUBLISH = 'PUBLISH'; + const ICAL_METHOD_REPLY = 'REPLY'; + const ICAL_METHOD_ADD = 'ADD'; + const ICAL_METHOD_CANCEL = 'CANCEL'; + const ICAL_METHOD_REFRESH = 'REFRESH'; + const ICAL_METHOD_COUNTER = 'COUNTER'; + const ICAL_METHOD_DECLINECOUNTER = 'DECLINECOUNTER'; + + /** + * Email priority. + * Options: null (default), 1 = High, 3 = Normal, 5 = low. + * When null, the header is not set at all. + * + * @var int|null + */ + public $Priority; + + /** + * The character set of the message. + * + * @var string + */ + public $CharSet = self::CHARSET_ISO88591; + + /** + * The MIME Content-type of the message. + * + * @var string + */ + public $ContentType = self::CONTENT_TYPE_PLAINTEXT; + + /** + * The message encoding. + * Options: "8bit", "7bit", "binary", "base64", and "quoted-printable". + * + * @var string + */ + public $Encoding = self::ENCODING_8BIT; + + /** + * Holds the most recent mailer error message. + * + * @var string + */ + public $ErrorInfo = ''; + + /** + * The From email address for the message. + * + * @var string + */ + public $From = ''; + + /** + * The From name of the message. + * + * @var string + */ + public $FromName = ''; + + /** + * The envelope sender of the message. + * This will usually be turned into a Return-Path header by the receiver, + * and is the address that bounces will be sent to. + * If not empty, will be passed via `-f` to sendmail or as the 'MAIL FROM' value over SMTP. + * + * @var string + */ + public $Sender = ''; + + /** + * The Subject of the message. + * + * @var string + */ + public $Subject = ''; + + /** + * An HTML or plain text message body. + * If HTML then call isHTML(true). + * + * @var string + */ + public $Body = ''; + + /** + * The plain-text message body. + * This body can be read by mail clients that do not have HTML email + * capability such as mutt & Eudora. + * Clients that can read HTML will view the normal Body. + * + * @var string + */ + public $AltBody = ''; + + /** + * An iCal message part body. + * Only supported in simple alt or alt_inline message types + * To generate iCal event structures, use classes like EasyPeasyICS or iCalcreator. + * + * @see http://sprain.ch/blog/downloads/php-class-easypeasyics-create-ical-files-with-php/ + * @see http://kigkonsult.se/iCalcreator/ + * + * @var string + */ + public $Ical = ''; + + /** + * Value-array of "method" in Contenttype header "text/calendar" + * + * @var string[] + */ + protected static $IcalMethods = [ + self::ICAL_METHOD_REQUEST, + self::ICAL_METHOD_PUBLISH, + self::ICAL_METHOD_REPLY, + self::ICAL_METHOD_ADD, + self::ICAL_METHOD_CANCEL, + self::ICAL_METHOD_REFRESH, + self::ICAL_METHOD_COUNTER, + self::ICAL_METHOD_DECLINECOUNTER, + ]; + + /** + * The complete compiled MIME message body. + * + * @var string + */ + protected $MIMEBody = ''; + + /** + * The complete compiled MIME message headers. + * + * @var string + */ + protected $MIMEHeader = ''; + + /** + * Extra headers that createHeader() doesn't fold in. + * + * @var string + */ + protected $mailHeader = ''; + + /** + * Word-wrap the message body to this number of chars. + * Set to 0 to not wrap. A useful value here is 78, for RFC2822 section 2.1.1 compliance. + * + * @see static::STD_LINE_LENGTH + * + * @var int + */ + public $WordWrap = 0; + + /** + * Which method to use to send mail. + * Options: "mail", "sendmail", or "smtp". + * + * @var string + */ + public $Mailer = 'mail'; + + /** + * The path to the sendmail program. + * + * @var string + */ + public $Sendmail = '/usr/sbin/sendmail'; + + /** + * Whether mail() uses a fully sendmail-compatible MTA. + * One which supports sendmail's "-oi -f" options. + * + * @var bool + */ + public $UseSendmailOptions = true; + + /** + * The email address that a reading confirmation should be sent to, also known as read receipt. + * + * @var string + */ + public $ConfirmReadingTo = ''; + + /** + * The hostname to use in the Message-ID header and as default HELO string. + * If empty, PHPMailer attempts to find one with, in order, + * $_SERVER['SERVER_NAME'], gethostname(), php_uname('n'), or the value + * 'localhost.localdomain'. + * + * @see PHPMailer::$Helo + * + * @var string + */ + public $Hostname = ''; + + /** + * An ID to be used in the Message-ID header. + * If empty, a unique id will be generated. + * You can set your own, but it must be in the format "", + * as defined in RFC5322 section 3.6.4 or it will be ignored. + * + * @see https://tools.ietf.org/html/rfc5322#section-3.6.4 + * + * @var string + */ + public $MessageID = ''; + + /** + * The message Date to be used in the Date header. + * If empty, the current date will be added. + * + * @var string + */ + public $MessageDate = ''; + + /** + * SMTP hosts. + * Either a single hostname or multiple semicolon-delimited hostnames. + * You can also specify a different port + * for each host by using this format: [hostname:port] + * (e.g. "smtp1.example.com:25;smtp2.example.com"). + * You can also specify encryption type, for example: + * (e.g. "tls://smtp1.example.com:587;ssl://smtp2.example.com:465"). + * Hosts will be tried in order. + * + * @var string + */ + public $Host = 'localhost'; + + /** + * The default SMTP server port. + * + * @var int + */ + public $Port = 25; + + /** + * The SMTP HELO/EHLO name used for the SMTP connection. + * Default is $Hostname. If $Hostname is empty, PHPMailer attempts to find + * one with the same method described above for $Hostname. + * + * @see PHPMailer::$Hostname + * + * @var string + */ + public $Helo = ''; + + /** + * What kind of encryption to use on the SMTP connection. + * Options: '', static::ENCRYPTION_STARTTLS, or static::ENCRYPTION_SMTPS. + * + * @var string + */ + public $SMTPSecure = ''; + + /** + * Whether to enable TLS encryption automatically if a server supports it, + * even if `SMTPSecure` is not set to 'tls'. + * Be aware that in PHP >= 5.6 this requires that the server's certificates are valid. + * + * @var bool + */ + public $SMTPAutoTLS = true; + + /** + * Whether to use SMTP authentication. + * Uses the Username and Password properties. + * + * @see PHPMailer::$Username + * @see PHPMailer::$Password + * + * @var bool + */ + public $SMTPAuth = false; + + /** + * Options array passed to stream_context_create when connecting via SMTP. + * + * @var array + */ + public $SMTPOptions = []; + + /** + * SMTP username. + * + * @var string + */ + public $Username = ''; + + /** + * SMTP password. + * + * @var string + */ + public $Password = ''; + + /** + * SMTP authentication type. Options are CRAM-MD5, LOGIN, PLAIN, XOAUTH2. + * If not specified, the first one from that list that the server supports will be selected. + * + * @var string + */ + public $AuthType = ''; + + /** + * An implementation of the PHPMailer OAuthTokenProvider interface. + * + * @var OAuthTokenProvider + */ + protected $oauth; + + /** + * The SMTP server timeout in seconds. + * Default of 5 minutes (300sec) is from RFC2821 section 4.5.3.2. + * + * @var int + */ + public $Timeout = 300; + + /** + * Comma separated list of DSN notifications + * 'NEVER' under no circumstances a DSN must be returned to the sender. + * If you use NEVER all other notifications will be ignored. + * 'SUCCESS' will notify you when your mail has arrived at its destination. + * 'FAILURE' will arrive if an error occurred during delivery. + * 'DELAY' will notify you if there is an unusual delay in delivery, but the actual + * delivery's outcome (success or failure) is not yet decided. + * + * @see https://tools.ietf.org/html/rfc3461 See section 4.1 for more information about NOTIFY + */ + public $dsn = ''; + + /** + * SMTP class debug output mode. + * Debug output level. + * Options: + * @see SMTP::DEBUG_OFF: No output + * @see SMTP::DEBUG_CLIENT: Client messages + * @see SMTP::DEBUG_SERVER: Client and server messages + * @see SMTP::DEBUG_CONNECTION: As SERVER plus connection status + * @see SMTP::DEBUG_LOWLEVEL: Noisy, low-level data output, rarely needed + * + * @see SMTP::$do_debug + * + * @var int + */ + public $SMTPDebug = 0; + + /** + * How to handle debug output. + * Options: + * * `echo` Output plain-text as-is, appropriate for CLI + * * `html` Output escaped, line breaks converted to `
`, appropriate for browser output + * * `error_log` Output to error log as configured in php.ini + * By default PHPMailer will use `echo` if run from a `cli` or `cli-server` SAPI, `html` otherwise. + * Alternatively, you can provide a callable expecting two params: a message string and the debug level: + * + * ```php + * $mail->Debugoutput = function($str, $level) {echo "debug level $level; message: $str";}; + * ``` + * + * Alternatively, you can pass in an instance of a PSR-3 compatible logger, though only `debug` + * level output is used: + * + * ```php + * $mail->Debugoutput = new myPsr3Logger; + * ``` + * + * @see SMTP::$Debugoutput + * + * @var string|callable|\Psr\Log\LoggerInterface + */ + public $Debugoutput = 'echo'; + + /** + * Whether to keep the SMTP connection open after each message. + * If this is set to true then the connection will remain open after a send, + * and closing the connection will require an explicit call to smtpClose(). + * It's a good idea to use this if you are sending multiple messages as it reduces overhead. + * See the mailing list example for how to use it. + * + * @var bool + */ + public $SMTPKeepAlive = false; + + /** + * Whether to split multiple to addresses into multiple messages + * or send them all in one message. + * Only supported in `mail` and `sendmail` transports, not in SMTP. + * + * @var bool + * + * @deprecated 6.0.0 PHPMailer isn't a mailing list manager! + */ + public $SingleTo = false; + + /** + * Storage for addresses when SingleTo is enabled. + * + * @var array + */ + protected $SingleToArray = []; + + /** + * Whether to generate VERP addresses on send. + * Only applicable when sending via SMTP. + * + * @see https://en.wikipedia.org/wiki/Variable_envelope_return_path + * @see http://www.postfix.org/VERP_README.html Postfix VERP info + * + * @var bool + */ + public $do_verp = false; + + /** + * Whether to allow sending messages with an empty body. + * + * @var bool + */ + public $AllowEmpty = false; + + /** + * DKIM selector. + * + * @var string + */ + public $DKIM_selector = ''; + + /** + * DKIM Identity. + * Usually the email address used as the source of the email. + * + * @var string + */ + public $DKIM_identity = ''; + + /** + * DKIM passphrase. + * Used if your key is encrypted. + * + * @var string + */ + public $DKIM_passphrase = ''; + + /** + * DKIM signing domain name. + * + * @example 'example.com' + * + * @var string + */ + public $DKIM_domain = ''; + + /** + * DKIM Copy header field values for diagnostic use. + * + * @var bool + */ + public $DKIM_copyHeaderFields = true; + + /** + * DKIM Extra signing headers. + * + * @example ['List-Unsubscribe', 'List-Help'] + * + * @var array + */ + public $DKIM_extraHeaders = []; + + /** + * DKIM private key file path. + * + * @var string + */ + public $DKIM_private = ''; + + /** + * DKIM private key string. + * + * If set, takes precedence over `$DKIM_private`. + * + * @var string + */ + public $DKIM_private_string = ''; + + /** + * Callback Action function name. + * + * The function that handles the result of the send email action. + * It is called out by send() for each email sent. + * + * Value can be any php callable: http://www.php.net/is_callable + * + * Parameters: + * bool $result result of the send action + * array $to email addresses of the recipients + * array $cc cc email addresses + * array $bcc bcc email addresses + * string $subject the subject + * string $body the email body + * string $from email address of sender + * string $extra extra information of possible use + * "smtp_transaction_id' => last smtp transaction id + * + * @var string + */ + public $action_function = ''; + + /** + * What to put in the X-Mailer header. + * Options: An empty string for PHPMailer default, whitespace/null for none, or a string to use. + * + * @var string|null + */ + public $XMailer = ''; + + /** + * Which validator to use by default when validating email addresses. + * May be a callable to inject your own validator, but there are several built-in validators. + * The default validator uses PHP's FILTER_VALIDATE_EMAIL filter_var option. + * + * @see PHPMailer::validateAddress() + * + * @var string|callable + */ + public static $validator = 'php'; + + /** + * An instance of the SMTP sender class. + * + * @var SMTP + */ + protected $smtp; + + /** + * The array of 'to' names and addresses. + * + * @var array + */ + protected $to = []; + + /** + * The array of 'cc' names and addresses. + * + * @var array + */ + protected $cc = []; + + /** + * The array of 'bcc' names and addresses. + * + * @var array + */ + protected $bcc = []; + + /** + * The array of reply-to names and addresses. + * + * @var array + */ + protected $ReplyTo = []; + + /** + * An array of all kinds of addresses. + * Includes all of $to, $cc, $bcc. + * + * @see PHPMailer::$to + * @see PHPMailer::$cc + * @see PHPMailer::$bcc + * + * @var array + */ + protected $all_recipients = []; + + /** + * An array of names and addresses queued for validation. + * In send(), valid and non duplicate entries are moved to $all_recipients + * and one of $to, $cc, or $bcc. + * This array is used only for addresses with IDN. + * + * @see PHPMailer::$to + * @see PHPMailer::$cc + * @see PHPMailer::$bcc + * @see PHPMailer::$all_recipients + * + * @var array + */ + protected $RecipientsQueue = []; + + /** + * An array of reply-to names and addresses queued for validation. + * In send(), valid and non duplicate entries are moved to $ReplyTo. + * This array is used only for addresses with IDN. + * + * @see PHPMailer::$ReplyTo + * + * @var array + */ + protected $ReplyToQueue = []; + + /** + * The array of attachments. + * + * @var array + */ + protected $attachment = []; + + /** + * The array of custom headers. + * + * @var array + */ + protected $CustomHeader = []; + + /** + * The most recent Message-ID (including angular brackets). + * + * @var string + */ + protected $lastMessageID = ''; + + /** + * The message's MIME type. + * + * @var string + */ + protected $message_type = ''; + + /** + * The array of MIME boundary strings. + * + * @var array + */ + protected $boundary = []; + + /** + * The array of available text strings for the current language. + * + * @var array + */ + protected $language = []; + + /** + * The number of errors encountered. + * + * @var int + */ + protected $error_count = 0; + + /** + * The S/MIME certificate file path. + * + * @var string + */ + protected $sign_cert_file = ''; + + /** + * The S/MIME key file path. + * + * @var string + */ + protected $sign_key_file = ''; + + /** + * The optional S/MIME extra certificates ("CA Chain") file path. + * + * @var string + */ + protected $sign_extracerts_file = ''; + + /** + * The S/MIME password for the key. + * Used only if the key is encrypted. + * + * @var string + */ + protected $sign_key_pass = ''; + + /** + * Whether to throw exceptions for errors. + * + * @var bool + */ + protected $exceptions = false; + + /** + * Unique ID used for message ID and boundaries. + * + * @var string + */ + protected $uniqueid = ''; + + /** + * The PHPMailer Version number. + * + * @var string + */ + const VERSION = '6.8.0'; + + /** + * Error severity: message only, continue processing. + * + * @var int + */ + const STOP_MESSAGE = 0; + + /** + * Error severity: message, likely ok to continue processing. + * + * @var int + */ + const STOP_CONTINUE = 1; + + /** + * Error severity: message, plus full stop, critical error reached. + * + * @var int + */ + const STOP_CRITICAL = 2; + + /** + * The SMTP standard CRLF line break. + * If you want to change line break format, change static::$LE, not this. + */ + const CRLF = "\r\n"; + + /** + * "Folding White Space" a white space string used for line folding. + */ + const FWS = ' '; + + /** + * SMTP RFC standard line ending; Carriage Return, Line Feed. + * + * @var string + */ + protected static $LE = self::CRLF; + + /** + * The maximum line length supported by mail(). + * + * Background: mail() will sometimes corrupt messages + * with headers headers longer than 65 chars, see #818. + * + * @var int + */ + const MAIL_MAX_LINE_LENGTH = 63; + + /** + * The maximum line length allowed by RFC 2822 section 2.1.1. + * + * @var int + */ + const MAX_LINE_LENGTH = 998; + + /** + * The lower maximum line length allowed by RFC 2822 section 2.1.1. + * This length does NOT include the line break + * 76 means that lines will be 77 or 78 chars depending on whether + * the line break format is LF or CRLF; both are valid. + * + * @var int + */ + const STD_LINE_LENGTH = 76; + + /** + * Constructor. + * + * @param bool $exceptions Should we throw external exceptions? + */ + public function __construct($exceptions = null) + { + if (null !== $exceptions) { + $this->exceptions = (bool) $exceptions; + } + //Pick an appropriate debug output format automatically + $this->Debugoutput = (strpos(PHP_SAPI, 'cli') !== false ? 'echo' : 'html'); + } + + /** + * Destructor. + */ + public function __destruct() + { + //Close any open SMTP connection nicely + $this->smtpClose(); + } + + /** + * Call mail() in a safe_mode-aware fashion. + * Also, unless sendmail_path points to sendmail (or something that + * claims to be sendmail), don't pass params (not a perfect fix, + * but it will do). + * + * @param string $to To + * @param string $subject Subject + * @param string $body Message Body + * @param string $header Additional Header(s) + * @param string|null $params Params + * + * @return bool + */ + private function mailPassthru($to, $subject, $body, $header, $params) + { + //Check overloading of mail function to avoid double-encoding + if ((int)ini_get('mbstring.func_overload') & 1) { + $subject = $this->secureHeader($subject); + } else { + $subject = $this->encodeHeader($this->secureHeader($subject)); + } + //Calling mail() with null params breaks + $this->edebug('Sending with mail()'); + $this->edebug('Sendmail path: ' . ini_get('sendmail_path')); + $this->edebug("Envelope sender: {$this->Sender}"); + $this->edebug("To: {$to}"); + $this->edebug("Subject: {$subject}"); + $this->edebug("Headers: {$header}"); + if (!$this->UseSendmailOptions || null === $params) { + $result = @mail($to, $subject, $body, $header); + } else { + $this->edebug("Additional params: {$params}"); + $result = @mail($to, $subject, $body, $header, $params); + } + $this->edebug('Result: ' . ($result ? 'true' : 'false')); + return $result; + } + + /** + * Output debugging info via a user-defined method. + * Only generates output if debug output is enabled. + * + * @see PHPMailer::$Debugoutput + * @see PHPMailer::$SMTPDebug + * + * @param string $str + */ + protected function edebug($str) + { + if ($this->SMTPDebug <= 0) { + return; + } + //Is this a PSR-3 logger? + if ($this->Debugoutput instanceof \Psr\Log\LoggerInterface) { + $this->Debugoutput->debug($str); + + return; + } + //Avoid clash with built-in function names + if (is_callable($this->Debugoutput) && !in_array($this->Debugoutput, ['error_log', 'html', 'echo'])) { + call_user_func($this->Debugoutput, $str, $this->SMTPDebug); + + return; + } + switch ($this->Debugoutput) { + case 'error_log': + //Don't output, just log + /** @noinspection ForgottenDebugOutputInspection */ + error_log($str); + break; + case 'html': + //Cleans up output a bit for a better looking, HTML-safe output + echo htmlentities( + preg_replace('/[\r\n]+/', '', $str), + ENT_QUOTES, + 'UTF-8' + ), "
\n"; + break; + case 'echo': + default: + //Normalize line breaks + $str = preg_replace('/\r\n|\r/m', "\n", $str); + echo gmdate('Y-m-d H:i:s'), + "\t", + //Trim trailing space + trim( + //Indent for readability, except for trailing break + str_replace( + "\n", + "\n \t ", + trim($str) + ) + ), + "\n"; + } + } + + /** + * Sets message type to HTML or plain. + * + * @param bool $isHtml True for HTML mode + */ + public function isHTML($isHtml = true) + { + if ($isHtml) { + $this->ContentType = static::CONTENT_TYPE_TEXT_HTML; + } else { + $this->ContentType = static::CONTENT_TYPE_PLAINTEXT; + } + } + + /** + * Send messages using SMTP. + */ + public function isSMTP() + { + $this->Mailer = 'smtp'; + } + + /** + * Send messages using PHP's mail() function. + */ + public function isMail() + { + $this->Mailer = 'mail'; + } + + /** + * Send messages using $Sendmail. + */ + public function isSendmail() + { + $ini_sendmail_path = ini_get('sendmail_path'); + + if (false === stripos($ini_sendmail_path, 'sendmail')) { + $this->Sendmail = '/usr/sbin/sendmail'; + } else { + $this->Sendmail = $ini_sendmail_path; + } + $this->Mailer = 'sendmail'; + } + + /** + * Send messages using qmail. + */ + public function isQmail() + { + $ini_sendmail_path = ini_get('sendmail_path'); + + if (false === stripos($ini_sendmail_path, 'qmail')) { + $this->Sendmail = '/var/qmail/bin/qmail-inject'; + } else { + $this->Sendmail = $ini_sendmail_path; + } + $this->Mailer = 'qmail'; + } + + /** + * Add a "To" address. + * + * @param string $address The email address to send to + * @param string $name + * + * @throws Exception + * + * @return bool true on success, false if address already used or invalid in some way + */ + public function addAddress($address, $name = '') + { + return $this->addOrEnqueueAnAddress('to', $address, $name); + } + + /** + * Add a "CC" address. + * + * @param string $address The email address to send to + * @param string $name + * + * @throws Exception + * + * @return bool true on success, false if address already used or invalid in some way + */ + public function addCC($address, $name = '') + { + return $this->addOrEnqueueAnAddress('cc', $address, $name); + } + + /** + * Add a "BCC" address. + * + * @param string $address The email address to send to + * @param string $name + * + * @throws Exception + * + * @return bool true on success, false if address already used or invalid in some way + */ + public function addBCC($address, $name = '') + { + return $this->addOrEnqueueAnAddress('bcc', $address, $name); + } + + /** + * Add a "Reply-To" address. + * + * @param string $address The email address to reply to + * @param string $name + * + * @throws Exception + * + * @return bool true on success, false if address already used or invalid in some way + */ + public function addReplyTo($address, $name = '') + { + return $this->addOrEnqueueAnAddress('Reply-To', $address, $name); + } + + /** + * Add an address to one of the recipient arrays or to the ReplyTo array. Because PHPMailer + * can't validate addresses with an IDN without knowing the PHPMailer::$CharSet (that can still + * be modified after calling this function), addition of such addresses is delayed until send(). + * Addresses that have been added already return false, but do not throw exceptions. + * + * @param string $kind One of 'to', 'cc', 'bcc', or 'ReplyTo' + * @param string $address The email address + * @param string $name An optional username associated with the address + * + * @throws Exception + * + * @return bool true on success, false if address already used or invalid in some way + */ + protected function addOrEnqueueAnAddress($kind, $address, $name) + { + $pos = false; + if ($address !== null) { + $address = trim($address); + $pos = strrpos($address, '@'); + } + if (false === $pos) { + //At-sign is missing. + $error_message = sprintf( + '%s (%s): %s', + $this->lang('invalid_address'), + $kind, + $address + ); + $this->setError($error_message); + $this->edebug($error_message); + if ($this->exceptions) { + throw new Exception($error_message); + } + + return false; + } + if ($name !== null && is_string($name)) { + $name = trim(preg_replace('/[\r\n]+/', '', $name)); //Strip breaks and trim + } else { + $name = ''; + } + $params = [$kind, $address, $name]; + //Enqueue addresses with IDN until we know the PHPMailer::$CharSet. + //Domain is assumed to be whatever is after the last @ symbol in the address + if (static::idnSupported() && $this->has8bitChars(substr($address, ++$pos))) { + if ('Reply-To' !== $kind) { + if (!array_key_exists($address, $this->RecipientsQueue)) { + $this->RecipientsQueue[$address] = $params; + + return true; + } + } elseif (!array_key_exists($address, $this->ReplyToQueue)) { + $this->ReplyToQueue[$address] = $params; + + return true; + } + + return false; + } + + //Immediately add standard addresses without IDN. + return call_user_func_array([$this, 'addAnAddress'], $params); + } + + /** + * Set the boundaries to use for delimiting MIME parts. + * If you override this, ensure you set all 3 boundaries to unique values. + * The default boundaries include a "=_" sequence which cannot occur in quoted-printable bodies, + * as suggested by https://www.rfc-editor.org/rfc/rfc2045#section-6.7 + * + * @return void + */ + public function setBoundaries() + { + $this->uniqueid = $this->generateId(); + $this->boundary[1] = 'b1=_' . $this->uniqueid; + $this->boundary[2] = 'b2=_' . $this->uniqueid; + $this->boundary[3] = 'b3=_' . $this->uniqueid; + } + + /** + * Add an address to one of the recipient arrays or to the ReplyTo array. + * Addresses that have been added already return false, but do not throw exceptions. + * + * @param string $kind One of 'to', 'cc', 'bcc', or 'ReplyTo' + * @param string $address The email address to send, resp. to reply to + * @param string $name + * + * @throws Exception + * + * @return bool true on success, false if address already used or invalid in some way + */ + protected function addAnAddress($kind, $address, $name = '') + { + if (!in_array($kind, ['to', 'cc', 'bcc', 'Reply-To'])) { + $error_message = sprintf( + '%s: %s', + $this->lang('Invalid recipient kind'), + $kind + ); + $this->setError($error_message); + $this->edebug($error_message); + if ($this->exceptions) { + throw new Exception($error_message); + } + + return false; + } + if (!static::validateAddress($address)) { + $error_message = sprintf( + '%s (%s): %s', + $this->lang('invalid_address'), + $kind, + $address + ); + $this->setError($error_message); + $this->edebug($error_message); + if ($this->exceptions) { + throw new Exception($error_message); + } + + return false; + } + if ('Reply-To' !== $kind) { + if (!array_key_exists(strtolower($address), $this->all_recipients)) { + $this->{$kind}[] = [$address, $name]; + $this->all_recipients[strtolower($address)] = true; + + return true; + } + } elseif (!array_key_exists(strtolower($address), $this->ReplyTo)) { + $this->ReplyTo[strtolower($address)] = [$address, $name]; + + return true; + } + + return false; + } + + /** + * Parse and validate a string containing one or more RFC822-style comma-separated email addresses + * of the form "display name
" into an array of name/address pairs. + * Uses the imap_rfc822_parse_adrlist function if the IMAP extension is available. + * Note that quotes in the name part are removed. + * + * @see http://www.andrew.cmu.edu/user/agreen1/testing/mrbs/web/Mail/RFC822.php A more careful implementation + * + * @param string $addrstr The address list string + * @param bool $useimap Whether to use the IMAP extension to parse the list + * @param string $charset The charset to use when decoding the address list string. + * + * @return array + */ + public static function parseAddresses($addrstr, $useimap = true, $charset = self::CHARSET_ISO88591) + { + $addresses = []; + if ($useimap && function_exists('imap_rfc822_parse_adrlist')) { + //Use this built-in parser if it's available + $list = imap_rfc822_parse_adrlist($addrstr, ''); + // Clear any potential IMAP errors to get rid of notices being thrown at end of script. + imap_errors(); + foreach ($list as $address) { + if ( + '.SYNTAX-ERROR.' !== $address->host && + static::validateAddress($address->mailbox . '@' . $address->host) + ) { + //Decode the name part if it's present and encoded + if ( + property_exists($address, 'personal') && + //Check for a Mbstring constant rather than using extension_loaded, which is sometimes disabled + defined('MB_CASE_UPPER') && + preg_match('/^=\?.*\?=$/s', $address->personal) + ) { + $origCharset = mb_internal_encoding(); + mb_internal_encoding($charset); + //Undo any RFC2047-encoded spaces-as-underscores + $address->personal = str_replace('_', '=20', $address->personal); + //Decode the name + $address->personal = mb_decode_mimeheader($address->personal); + mb_internal_encoding($origCharset); + } + + $addresses[] = [ + 'name' => (property_exists($address, 'personal') ? $address->personal : ''), + 'address' => $address->mailbox . '@' . $address->host, + ]; + } + } + } else { + //Use this simpler parser + $list = explode(',', $addrstr); + foreach ($list as $address) { + $address = trim($address); + //Is there a separate name part? + if (strpos($address, '<') === false) { + //No separate name, just use the whole thing + if (static::validateAddress($address)) { + $addresses[] = [ + 'name' => '', + 'address' => $address, + ]; + } + } else { + list($name, $email) = explode('<', $address); + $email = trim(str_replace('>', '', $email)); + $name = trim($name); + if (static::validateAddress($email)) { + //Check for a Mbstring constant rather than using extension_loaded, which is sometimes disabled + //If this name is encoded, decode it + if (defined('MB_CASE_UPPER') && preg_match('/^=\?.*\?=$/s', $name)) { + $origCharset = mb_internal_encoding(); + mb_internal_encoding($charset); + //Undo any RFC2047-encoded spaces-as-underscores + $name = str_replace('_', '=20', $name); + //Decode the name + $name = mb_decode_mimeheader($name); + mb_internal_encoding($origCharset); + } + $addresses[] = [ + //Remove any surrounding quotes and spaces from the name + 'name' => trim($name, '\'" '), + 'address' => $email, + ]; + } + } + } + } + + return $addresses; + } + + /** + * Set the From and FromName properties. + * + * @param string $address + * @param string $name + * @param bool $auto Whether to also set the Sender address, defaults to true + * + * @throws Exception + * + * @return bool + */ + public function setFrom($address, $name = '', $auto = true) + { + $address = trim((string)$address); + $name = trim(preg_replace('/[\r\n]+/', '', $name)); //Strip breaks and trim + //Don't validate now addresses with IDN. Will be done in send(). + $pos = strrpos($address, '@'); + if ( + (false === $pos) + || ((!$this->has8bitChars(substr($address, ++$pos)) || !static::idnSupported()) + && !static::validateAddress($address)) + ) { + $error_message = sprintf( + '%s (From): %s', + $this->lang('invalid_address'), + $address + ); + $this->setError($error_message); + $this->edebug($error_message); + if ($this->exceptions) { + throw new Exception($error_message); + } + + return false; + } + $this->From = $address; + $this->FromName = $name; + if ($auto && empty($this->Sender)) { + $this->Sender = $address; + } + + return true; + } + + /** + * Return the Message-ID header of the last email. + * Technically this is the value from the last time the headers were created, + * but it's also the message ID of the last sent message except in + * pathological cases. + * + * @return string + */ + public function getLastMessageID() + { + return $this->lastMessageID; + } + + /** + * Check that a string looks like an email address. + * Validation patterns supported: + * * `auto` Pick best pattern automatically; + * * `pcre8` Use the squiloople.com pattern, requires PCRE > 8.0; + * * `pcre` Use old PCRE implementation; + * * `php` Use PHP built-in FILTER_VALIDATE_EMAIL; + * * `html5` Use the pattern given by the HTML5 spec for 'email' type form input elements. + * * `noregex` Don't use a regex: super fast, really dumb. + * Alternatively you may pass in a callable to inject your own validator, for example: + * + * ```php + * PHPMailer::validateAddress('user@example.com', function($address) { + * return (strpos($address, '@') !== false); + * }); + * ``` + * + * You can also set the PHPMailer::$validator static to a callable, allowing built-in methods to use your validator. + * + * @param string $address The email address to check + * @param string|callable $patternselect Which pattern to use + * + * @return bool + */ + public static function validateAddress($address, $patternselect = null) + { + if (null === $patternselect) { + $patternselect = static::$validator; + } + //Don't allow strings as callables, see SECURITY.md and CVE-2021-3603 + if (is_callable($patternselect) && !is_string($patternselect)) { + return call_user_func($patternselect, $address); + } + //Reject line breaks in addresses; it's valid RFC5322, but not RFC5321 + if (strpos($address, "\n") !== false || strpos($address, "\r") !== false) { + return false; + } + switch ($patternselect) { + case 'pcre': //Kept for BC + case 'pcre8': + /* + * A more complex and more permissive version of the RFC5322 regex on which FILTER_VALIDATE_EMAIL + * is based. + * In addition to the addresses allowed by filter_var, also permits: + * * dotless domains: `a@b` + * * comments: `1234 @ local(blah) .machine .example` + * * quoted elements: `'"test blah"@example.org'` + * * numeric TLDs: `a@b.123` + * * unbracketed IPv4 literals: `a@192.168.0.1` + * * IPv6 literals: 'first.last@[IPv6:a1::]' + * Not all of these will necessarily work for sending! + * + * @see http://squiloople.com/2009/12/20/email-address-validation/ + * @copyright 2009-2010 Michael Rushton + * Feel free to use and redistribute this code. But please keep this copyright notice. + */ + return (bool) preg_match( + '/^(?!(?>(?1)"?(?>\\\[ -~]|[^"])"?(?1)){255,})(?!(?>(?1)"?(?>\\\[ -~]|[^"])"?(?1)){65,}@)' . + '((?>(?>(?>((?>(?>(?>\x0D\x0A)?[\t ])+|(?>[\t ]*\x0D\x0A)?[\t ]+)?)(\((?>(?2)' . + '(?>[\x01-\x08\x0B\x0C\x0E-\'*-\[\]-\x7F]|\\\[\x00-\x7F]|(?3)))*(?2)\)))+(?2))|(?2))?)' . + '([!#-\'*+\/-9=?^-~-]+|"(?>(?2)(?>[\x01-\x08\x0B\x0C\x0E-!#-\[\]-\x7F]|\\\[\x00-\x7F]))*' . + '(?2)")(?>(?1)\.(?1)(?4))*(?1)@(?!(?1)[a-z0-9-]{64,})(?1)(?>([a-z0-9](?>[a-z0-9-]*[a-z0-9])?)' . + '(?>(?1)\.(?!(?1)[a-z0-9-]{64,})(?1)(?5)){0,126}|\[(?:(?>IPv6:(?>([a-f0-9]{1,4})(?>:(?6)){7}' . + '|(?!(?:.*[a-f0-9][:\]]){8,})((?6)(?>:(?6)){0,6})?::(?7)?))|(?>(?>IPv6:(?>(?6)(?>:(?6)){5}:' . + '|(?!(?:.*[a-f0-9]:){6,})(?8)?::(?>((?6)(?>:(?6)){0,4}):)?))?(25[0-5]|2[0-4][0-9]|1[0-9]{2}' . + '|[1-9]?[0-9])(?>\.(?9)){3}))\])(?1)$/isD', + $address + ); + case 'html5': + /* + * This is the pattern used in the HTML5 spec for validation of 'email' type form input elements. + * + * @see https://html.spec.whatwg.org/#e-mail-state-(type=email) + */ + return (bool) preg_match( + '/^[a-zA-Z0-9.!#$%&\'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}' . + '[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/sD', + $address + ); + case 'php': + default: + return filter_var($address, FILTER_VALIDATE_EMAIL) !== false; + } + } + + /** + * Tells whether IDNs (Internationalized Domain Names) are supported or not. This requires the + * `intl` and `mbstring` PHP extensions. + * + * @return bool `true` if required functions for IDN support are present + */ + public static function idnSupported() + { + return function_exists('idn_to_ascii') && function_exists('mb_convert_encoding'); + } + + /** + * Converts IDN in given email address to its ASCII form, also known as punycode, if possible. + * Important: Address must be passed in same encoding as currently set in PHPMailer::$CharSet. + * This function silently returns unmodified address if: + * - No conversion is necessary (i.e. domain name is not an IDN, or is already in ASCII form) + * - Conversion to punycode is impossible (e.g. required PHP functions are not available) + * or fails for any reason (e.g. domain contains characters not allowed in an IDN). + * + * @see PHPMailer::$CharSet + * + * @param string $address The email address to convert + * + * @return string The encoded address in ASCII form + */ + public function punyencodeAddress($address) + { + //Verify we have required functions, CharSet, and at-sign. + $pos = strrpos($address, '@'); + if ( + !empty($this->CharSet) && + false !== $pos && + static::idnSupported() + ) { + $domain = substr($address, ++$pos); + //Verify CharSet string is a valid one, and domain properly encoded in this CharSet. + if ($this->has8bitChars($domain) && @mb_check_encoding($domain, $this->CharSet)) { + //Convert the domain from whatever charset it's in to UTF-8 + $domain = mb_convert_encoding($domain, self::CHARSET_UTF8, $this->CharSet); + //Ignore IDE complaints about this line - method signature changed in PHP 5.4 + $errorcode = 0; + if (defined('INTL_IDNA_VARIANT_UTS46')) { + //Use the current punycode standard (appeared in PHP 7.2) + $punycode = idn_to_ascii( + $domain, + \IDNA_DEFAULT | \IDNA_USE_STD3_RULES | \IDNA_CHECK_BIDI | + \IDNA_CHECK_CONTEXTJ | \IDNA_NONTRANSITIONAL_TO_ASCII, + \INTL_IDNA_VARIANT_UTS46 + ); + } elseif (defined('INTL_IDNA_VARIANT_2003')) { + //Fall back to this old, deprecated/removed encoding + $punycode = idn_to_ascii($domain, $errorcode, \INTL_IDNA_VARIANT_2003); + } else { + //Fall back to a default we don't know about + $punycode = idn_to_ascii($domain, $errorcode); + } + if (false !== $punycode) { + return substr($address, 0, $pos) . $punycode; + } + } + } + + return $address; + } + + /** + * Create a message and send it. + * Uses the sending method specified by $Mailer. + * + * @throws Exception + * + * @return bool false on error - See the ErrorInfo property for details of the error + */ + public function send() + { + try { + if (!$this->preSend()) { + return false; + } + + return $this->postSend(); + } catch (Exception $exc) { + $this->mailHeader = ''; + $this->setError($exc->getMessage()); + if ($this->exceptions) { + throw $exc; + } + + return false; + } + } + + /** + * Prepare a message for sending. + * + * @throws Exception + * + * @return bool + */ + public function preSend() + { + if ( + 'smtp' === $this->Mailer + || ('mail' === $this->Mailer && (\PHP_VERSION_ID >= 80000 || stripos(PHP_OS, 'WIN') === 0)) + ) { + //SMTP mandates RFC-compliant line endings + //and it's also used with mail() on Windows + static::setLE(self::CRLF); + } else { + //Maintain backward compatibility with legacy Linux command line mailers + static::setLE(PHP_EOL); + } + //Check for buggy PHP versions that add a header with an incorrect line break + if ( + 'mail' === $this->Mailer + && ((\PHP_VERSION_ID >= 70000 && \PHP_VERSION_ID < 70017) + || (\PHP_VERSION_ID >= 70100 && \PHP_VERSION_ID < 70103)) + && ini_get('mail.add_x_header') === '1' + && stripos(PHP_OS, 'WIN') === 0 + ) { + trigger_error($this->lang('buggy_php'), E_USER_WARNING); + } + + try { + $this->error_count = 0; //Reset errors + $this->mailHeader = ''; + + //Dequeue recipient and Reply-To addresses with IDN + foreach (array_merge($this->RecipientsQueue, $this->ReplyToQueue) as $params) { + $params[1] = $this->punyencodeAddress($params[1]); + call_user_func_array([$this, 'addAnAddress'], $params); + } + if (count($this->to) + count($this->cc) + count($this->bcc) < 1) { + throw new Exception($this->lang('provide_address'), self::STOP_CRITICAL); + } + + //Validate From, Sender, and ConfirmReadingTo addresses + foreach (['From', 'Sender', 'ConfirmReadingTo'] as $address_kind) { + $this->{$address_kind} = trim($this->{$address_kind}); + if (empty($this->{$address_kind})) { + continue; + } + $this->{$address_kind} = $this->punyencodeAddress($this->{$address_kind}); + if (!static::validateAddress($this->{$address_kind})) { + $error_message = sprintf( + '%s (%s): %s', + $this->lang('invalid_address'), + $address_kind, + $this->{$address_kind} + ); + $this->setError($error_message); + $this->edebug($error_message); + if ($this->exceptions) { + throw new Exception($error_message); + } + + return false; + } + } + + //Set whether the message is multipart/alternative + if ($this->alternativeExists()) { + $this->ContentType = static::CONTENT_TYPE_MULTIPART_ALTERNATIVE; + } + + $this->setMessageType(); + //Refuse to send an empty message unless we are specifically allowing it + if (!$this->AllowEmpty && empty($this->Body)) { + throw new Exception($this->lang('empty_message'), self::STOP_CRITICAL); + } + + //Trim subject consistently + $this->Subject = trim($this->Subject); + //Create body before headers in case body makes changes to headers (e.g. altering transfer encoding) + $this->MIMEHeader = ''; + $this->MIMEBody = $this->createBody(); + //createBody may have added some headers, so retain them + $tempheaders = $this->MIMEHeader; + $this->MIMEHeader = $this->createHeader(); + $this->MIMEHeader .= $tempheaders; + + //To capture the complete message when using mail(), create + //an extra header list which createHeader() doesn't fold in + if ('mail' === $this->Mailer) { + if (count($this->to) > 0) { + $this->mailHeader .= $this->addrAppend('To', $this->to); + } else { + $this->mailHeader .= $this->headerLine('To', 'undisclosed-recipients:;'); + } + $this->mailHeader .= $this->headerLine( + 'Subject', + $this->encodeHeader($this->secureHeader($this->Subject)) + ); + } + + //Sign with DKIM if enabled + if ( + !empty($this->DKIM_domain) + && !empty($this->DKIM_selector) + && (!empty($this->DKIM_private_string) + || (!empty($this->DKIM_private) + && static::isPermittedPath($this->DKIM_private) + && file_exists($this->DKIM_private) + ) + ) + ) { + $header_dkim = $this->DKIM_Add( + $this->MIMEHeader . $this->mailHeader, + $this->encodeHeader($this->secureHeader($this->Subject)), + $this->MIMEBody + ); + $this->MIMEHeader = static::stripTrailingWSP($this->MIMEHeader) . static::$LE . + static::normalizeBreaks($header_dkim) . static::$LE; + } + + return true; + } catch (Exception $exc) { + $this->setError($exc->getMessage()); + if ($this->exceptions) { + throw $exc; + } + + return false; + } + } + + /** + * Actually send a message via the selected mechanism. + * + * @throws Exception + * + * @return bool + */ + public function postSend() + { + try { + //Choose the mailer and send through it + switch ($this->Mailer) { + case 'sendmail': + case 'qmail': + return $this->sendmailSend($this->MIMEHeader, $this->MIMEBody); + case 'smtp': + return $this->smtpSend($this->MIMEHeader, $this->MIMEBody); + case 'mail': + return $this->mailSend($this->MIMEHeader, $this->MIMEBody); + default: + $sendMethod = $this->Mailer . 'Send'; + if (method_exists($this, $sendMethod)) { + return $this->{$sendMethod}($this->MIMEHeader, $this->MIMEBody); + } + + return $this->mailSend($this->MIMEHeader, $this->MIMEBody); + } + } catch (Exception $exc) { + $this->setError($exc->getMessage()); + $this->edebug($exc->getMessage()); + if ($this->Mailer === 'smtp' && $this->SMTPKeepAlive == true && $this->smtp->connected()) { + $this->smtp->reset(); + } + if ($this->exceptions) { + throw $exc; + } + } + + return false; + } + + /** + * Send mail using the $Sendmail program. + * + * @see PHPMailer::$Sendmail + * + * @param string $header The message headers + * @param string $body The message body + * + * @throws Exception + * + * @return bool + */ + protected function sendmailSend($header, $body) + { + if ($this->Mailer === 'qmail') { + $this->edebug('Sending with qmail'); + } else { + $this->edebug('Sending with sendmail'); + } + $header = static::stripTrailingWSP($header) . static::$LE . static::$LE; + //This sets the SMTP envelope sender which gets turned into a return-path header by the receiver + //A space after `-f` is optional, but there is a long history of its presence + //causing problems, so we don't use one + //Exim docs: http://www.exim.org/exim-html-current/doc/html/spec_html/ch-the_exim_command_line.html + //Sendmail docs: http://www.sendmail.org/~ca/email/man/sendmail.html + //Qmail docs: http://www.qmail.org/man/man8/qmail-inject.html + //Example problem: https://www.drupal.org/node/1057954 + + //PHP 5.6 workaround + $sendmail_from_value = ini_get('sendmail_from'); + if (empty($this->Sender) && !empty($sendmail_from_value)) { + //PHP config has a sender address we can use + $this->Sender = ini_get('sendmail_from'); + } + //CVE-2016-10033, CVE-2016-10045: Don't pass -f if characters will be escaped. + if (!empty($this->Sender) && static::validateAddress($this->Sender) && self::isShellSafe($this->Sender)) { + if ($this->Mailer === 'qmail') { + $sendmailFmt = '%s -f%s'; + } else { + $sendmailFmt = '%s -oi -f%s -t'; + } + } else { + //allow sendmail to choose a default envelope sender. It may + //seem preferable to force it to use the From header as with + //SMTP, but that introduces new problems (see + //), and + //it has historically worked this way. + $sendmailFmt = '%s -oi -t'; + } + + $sendmail = sprintf($sendmailFmt, escapeshellcmd($this->Sendmail), $this->Sender); + $this->edebug('Sendmail path: ' . $this->Sendmail); + $this->edebug('Sendmail command: ' . $sendmail); + $this->edebug('Envelope sender: ' . $this->Sender); + $this->edebug("Headers: {$header}"); + + if ($this->SingleTo) { + foreach ($this->SingleToArray as $toAddr) { + $mail = @popen($sendmail, 'w'); + if (!$mail) { + throw new Exception($this->lang('execute') . $this->Sendmail, self::STOP_CRITICAL); + } + $this->edebug("To: {$toAddr}"); + fwrite($mail, 'To: ' . $toAddr . "\n"); + fwrite($mail, $header); + fwrite($mail, $body); + $result = pclose($mail); + $addrinfo = static::parseAddresses($toAddr, true, $this->CharSet); + $this->doCallback( + ($result === 0), + [[$addrinfo['address'], $addrinfo['name']]], + $this->cc, + $this->bcc, + $this->Subject, + $body, + $this->From, + [] + ); + $this->edebug("Result: " . ($result === 0 ? 'true' : 'false')); + if (0 !== $result) { + throw new Exception($this->lang('execute') . $this->Sendmail, self::STOP_CRITICAL); + } + } + } else { + $mail = @popen($sendmail, 'w'); + if (!$mail) { + throw new Exception($this->lang('execute') . $this->Sendmail, self::STOP_CRITICAL); + } + fwrite($mail, $header); + fwrite($mail, $body); + $result = pclose($mail); + $this->doCallback( + ($result === 0), + $this->to, + $this->cc, + $this->bcc, + $this->Subject, + $body, + $this->From, + [] + ); + $this->edebug("Result: " . ($result === 0 ? 'true' : 'false')); + if (0 !== $result) { + throw new Exception($this->lang('execute') . $this->Sendmail, self::STOP_CRITICAL); + } + } + + return true; + } + + /** + * Fix CVE-2016-10033 and CVE-2016-10045 by disallowing potentially unsafe shell characters. + * Note that escapeshellarg and escapeshellcmd are inadequate for our purposes, especially on Windows. + * + * @see https://github.com/PHPMailer/PHPMailer/issues/924 CVE-2016-10045 bug report + * + * @param string $string The string to be validated + * + * @return bool + */ + protected static function isShellSafe($string) + { + //It's not possible to use shell commands safely (which includes the mail() function) without escapeshellarg, + //but some hosting providers disable it, creating a security problem that we don't want to have to deal with, + //so we don't. + if (!function_exists('escapeshellarg') || !function_exists('escapeshellcmd')) { + return false; + } + + if ( + escapeshellcmd($string) !== $string + || !in_array(escapeshellarg($string), ["'$string'", "\"$string\""]) + ) { + return false; + } + + $length = strlen($string); + + for ($i = 0; $i < $length; ++$i) { + $c = $string[$i]; + + //All other characters have a special meaning in at least one common shell, including = and +. + //Full stop (.) has a special meaning in cmd.exe, but its impact should be negligible here. + //Note that this does permit non-Latin alphanumeric characters based on the current locale. + if (!ctype_alnum($c) && strpos('@_-.', $c) === false) { + return false; + } + } + + return true; + } + + /** + * Check whether a file path is of a permitted type. + * Used to reject URLs and phar files from functions that access local file paths, + * such as addAttachment. + * + * @param string $path A relative or absolute path to a file + * + * @return bool + */ + protected static function isPermittedPath($path) + { + //Matches scheme definition from https://tools.ietf.org/html/rfc3986#section-3.1 + return !preg_match('#^[a-z][a-z\d+.-]*://#i', $path); + } + + /** + * Check whether a file path is safe, accessible, and readable. + * + * @param string $path A relative or absolute path to a file + * + * @return bool + */ + protected static function fileIsAccessible($path) + { + if (!static::isPermittedPath($path)) { + return false; + } + $readable = is_file($path); + //If not a UNC path (expected to start with \\), check read permission, see #2069 + if (strpos($path, '\\\\') !== 0) { + $readable = $readable && is_readable($path); + } + return $readable; + } + + /** + * Send mail using the PHP mail() function. + * + * @see http://www.php.net/manual/en/book.mail.php + * + * @param string $header The message headers + * @param string $body The message body + * + * @throws Exception + * + * @return bool + */ + protected function mailSend($header, $body) + { + $header = static::stripTrailingWSP($header) . static::$LE . static::$LE; + + $toArr = []; + foreach ($this->to as $toaddr) { + $toArr[] = $this->addrFormat($toaddr); + } + $to = trim(implode(', ', $toArr)); + + //If there are no To-addresses (e.g. when sending only to BCC-addresses) + //the following should be added to get a correct DKIM-signature. + //Compare with $this->preSend() + if ($to === '') { + $to = 'undisclosed-recipients:;'; + } + + $params = null; + //This sets the SMTP envelope sender which gets turned into a return-path header by the receiver + //A space after `-f` is optional, but there is a long history of its presence + //causing problems, so we don't use one + //Exim docs: http://www.exim.org/exim-html-current/doc/html/spec_html/ch-the_exim_command_line.html + //Sendmail docs: http://www.sendmail.org/~ca/email/man/sendmail.html + //Qmail docs: http://www.qmail.org/man/man8/qmail-inject.html + //Example problem: https://www.drupal.org/node/1057954 + //CVE-2016-10033, CVE-2016-10045: Don't pass -f if characters will be escaped. + + //PHP 5.6 workaround + $sendmail_from_value = ini_get('sendmail_from'); + if (empty($this->Sender) && !empty($sendmail_from_value)) { + //PHP config has a sender address we can use + $this->Sender = ini_get('sendmail_from'); + } + if (!empty($this->Sender) && static::validateAddress($this->Sender)) { + if (self::isShellSafe($this->Sender)) { + $params = sprintf('-f%s', $this->Sender); + } + $old_from = ini_get('sendmail_from'); + ini_set('sendmail_from', $this->Sender); + } + $result = false; + if ($this->SingleTo && count($toArr) > 1) { + foreach ($toArr as $toAddr) { + $result = $this->mailPassthru($toAddr, $this->Subject, $body, $header, $params); + $addrinfo = static::parseAddresses($toAddr, true, $this->CharSet); + $this->doCallback( + $result, + [[$addrinfo['address'], $addrinfo['name']]], + $this->cc, + $this->bcc, + $this->Subject, + $body, + $this->From, + [] + ); + } + } else { + $result = $this->mailPassthru($to, $this->Subject, $body, $header, $params); + $this->doCallback($result, $this->to, $this->cc, $this->bcc, $this->Subject, $body, $this->From, []); + } + if (isset($old_from)) { + ini_set('sendmail_from', $old_from); + } + if (!$result) { + throw new Exception($this->lang('instantiate'), self::STOP_CRITICAL); + } + + return true; + } + + /** + * Get an instance to use for SMTP operations. + * Override this function to load your own SMTP implementation, + * or set one with setSMTPInstance. + * + * @return SMTP + */ + public function getSMTPInstance() + { + if (!is_object($this->smtp)) { + $this->smtp = new SMTP(); + } + + return $this->smtp; + } + + /** + * Provide an instance to use for SMTP operations. + * + * @return SMTP + */ + public function setSMTPInstance(SMTP $smtp) + { + $this->smtp = $smtp; + + return $this->smtp; + } + + /** + * Send mail via SMTP. + * Returns false if there is a bad MAIL FROM, RCPT, or DATA input. + * + * @see PHPMailer::setSMTPInstance() to use a different class. + * + * @uses \PHPMailer\PHPMailer\SMTP + * + * @param string $header The message headers + * @param string $body The message body + * + * @throws Exception + * + * @return bool + */ + protected function smtpSend($header, $body) + { + $header = static::stripTrailingWSP($header) . static::$LE . static::$LE; + $bad_rcpt = []; + if (!$this->smtpConnect($this->SMTPOptions)) { + throw new Exception($this->lang('smtp_connect_failed'), self::STOP_CRITICAL); + } + //Sender already validated in preSend() + if ('' === $this->Sender) { + $smtp_from = $this->From; + } else { + $smtp_from = $this->Sender; + } + if (!$this->smtp->mail($smtp_from)) { + $this->setError($this->lang('from_failed') . $smtp_from . ' : ' . implode(',', $this->smtp->getError())); + throw new Exception($this->ErrorInfo, self::STOP_CRITICAL); + } + + $callbacks = []; + //Attempt to send to all recipients + foreach ([$this->to, $this->cc, $this->bcc] as $togroup) { + foreach ($togroup as $to) { + if (!$this->smtp->recipient($to[0], $this->dsn)) { + $error = $this->smtp->getError(); + $bad_rcpt[] = ['to' => $to[0], 'error' => $error['detail']]; + $isSent = false; + } else { + $isSent = true; + } + + $callbacks[] = ['issent' => $isSent, 'to' => $to[0], 'name' => $to[1]]; + } + } + + //Only send the DATA command if we have viable recipients + if ((count($this->all_recipients) > count($bad_rcpt)) && !$this->smtp->data($header . $body)) { + throw new Exception($this->lang('data_not_accepted'), self::STOP_CRITICAL); + } + + $smtp_transaction_id = $this->smtp->getLastTransactionID(); + + if ($this->SMTPKeepAlive) { + $this->smtp->reset(); + } else { + $this->smtp->quit(); + $this->smtp->close(); + } + + foreach ($callbacks as $cb) { + $this->doCallback( + $cb['issent'], + [[$cb['to'], $cb['name']]], + [], + [], + $this->Subject, + $body, + $this->From, + ['smtp_transaction_id' => $smtp_transaction_id] + ); + } + + //Create error message for any bad addresses + if (count($bad_rcpt) > 0) { + $errstr = ''; + foreach ($bad_rcpt as $bad) { + $errstr .= $bad['to'] . ': ' . $bad['error']; + } + throw new Exception($this->lang('recipients_failed') . $errstr, self::STOP_CONTINUE); + } + + return true; + } + + /** + * Initiate a connection to an SMTP server. + * Returns false if the operation failed. + * + * @param array $options An array of options compatible with stream_context_create() + * + * @throws Exception + * + * @uses \PHPMailer\PHPMailer\SMTP + * + * @return bool + */ + public function smtpConnect($options = null) + { + if (null === $this->smtp) { + $this->smtp = $this->getSMTPInstance(); + } + + //If no options are provided, use whatever is set in the instance + if (null === $options) { + $options = $this->SMTPOptions; + } + + //Already connected? + if ($this->smtp->connected()) { + return true; + } + + $this->smtp->setTimeout($this->Timeout); + $this->smtp->setDebugLevel($this->SMTPDebug); + $this->smtp->setDebugOutput($this->Debugoutput); + $this->smtp->setVerp($this->do_verp); + if ($this->Host === null) { + $this->Host = 'localhost'; + } + $hosts = explode(';', $this->Host); + $lastexception = null; + + foreach ($hosts as $hostentry) { + $hostinfo = []; + if ( + !preg_match( + '/^(?:(ssl|tls):\/\/)?(.+?)(?::(\d+))?$/', + trim($hostentry), + $hostinfo + ) + ) { + $this->edebug($this->lang('invalid_hostentry') . ' ' . trim($hostentry)); + //Not a valid host entry + continue; + } + //$hostinfo[1]: optional ssl or tls prefix + //$hostinfo[2]: the hostname + //$hostinfo[3]: optional port number + //The host string prefix can temporarily override the current setting for SMTPSecure + //If it's not specified, the default value is used + + //Check the host name is a valid name or IP address before trying to use it + if (!static::isValidHost($hostinfo[2])) { + $this->edebug($this->lang('invalid_host') . ' ' . $hostinfo[2]); + continue; + } + $prefix = ''; + $secure = $this->SMTPSecure; + $tls = (static::ENCRYPTION_STARTTLS === $this->SMTPSecure); + if ('ssl' === $hostinfo[1] || ('' === $hostinfo[1] && static::ENCRYPTION_SMTPS === $this->SMTPSecure)) { + $prefix = 'ssl://'; + $tls = false; //Can't have SSL and TLS at the same time + $secure = static::ENCRYPTION_SMTPS; + } elseif ('tls' === $hostinfo[1]) { + $tls = true; + //TLS doesn't use a prefix + $secure = static::ENCRYPTION_STARTTLS; + } + //Do we need the OpenSSL extension? + $sslext = defined('OPENSSL_ALGO_SHA256'); + if (static::ENCRYPTION_STARTTLS === $secure || static::ENCRYPTION_SMTPS === $secure) { + //Check for an OpenSSL constant rather than using extension_loaded, which is sometimes disabled + if (!$sslext) { + throw new Exception($this->lang('extension_missing') . 'openssl', self::STOP_CRITICAL); + } + } + $host = $hostinfo[2]; + $port = $this->Port; + if ( + array_key_exists(3, $hostinfo) && + is_numeric($hostinfo[3]) && + $hostinfo[3] > 0 && + $hostinfo[3] < 65536 + ) { + $port = (int) $hostinfo[3]; + } + if ($this->smtp->connect($prefix . $host, $port, $this->Timeout, $options)) { + try { + if ($this->Helo) { + $hello = $this->Helo; + } else { + $hello = $this->serverHostname(); + } + $this->smtp->hello($hello); + //Automatically enable TLS encryption if: + //* it's not disabled + //* we have openssl extension + //* we are not already using SSL + //* the server offers STARTTLS + if ($this->SMTPAutoTLS && $sslext && 'ssl' !== $secure && $this->smtp->getServerExt('STARTTLS')) { + $tls = true; + } + if ($tls) { + if (!$this->smtp->startTLS()) { + $message = $this->getSmtpErrorMessage('connect_host'); + throw new Exception($message); + } + //We must resend EHLO after TLS negotiation + $this->smtp->hello($hello); + } + if ( + $this->SMTPAuth && !$this->smtp->authenticate( + $this->Username, + $this->Password, + $this->AuthType, + $this->oauth + ) + ) { + throw new Exception($this->lang('authenticate')); + } + + return true; + } catch (Exception $exc) { + $lastexception = $exc; + $this->edebug($exc->getMessage()); + //We must have connected, but then failed TLS or Auth, so close connection nicely + $this->smtp->quit(); + } + } + } + //If we get here, all connection attempts have failed, so close connection hard + $this->smtp->close(); + //As we've caught all exceptions, just report whatever the last one was + if ($this->exceptions && null !== $lastexception) { + throw $lastexception; + } + if ($this->exceptions) { + // no exception was thrown, likely $this->smtp->connect() failed + $message = $this->getSmtpErrorMessage('connect_host'); + throw new Exception($message); + } + + return false; + } + + /** + * Close the active SMTP session if one exists. + */ + public function smtpClose() + { + if ((null !== $this->smtp) && $this->smtp->connected()) { + $this->smtp->quit(); + $this->smtp->close(); + } + } + + /** + * Set the language for error messages. + * The default language is English. + * + * @param string $langcode ISO 639-1 2-character language code (e.g. French is "fr") + * Optionally, the language code can be enhanced with a 4-character + * script annotation and/or a 2-character country annotation. + * @param string $lang_path Path to the language file directory, with trailing separator (slash) + * Do not set this from user input! + * + * @return bool Returns true if the requested language was loaded, false otherwise. + */ + public function setLanguage($langcode = 'en', $lang_path = '') + { + //Backwards compatibility for renamed language codes + $renamed_langcodes = [ + 'br' => 'pt_br', + 'cz' => 'cs', + 'dk' => 'da', + 'no' => 'nb', + 'se' => 'sv', + 'rs' => 'sr', + 'tg' => 'tl', + 'am' => 'hy', + ]; + + if (array_key_exists($langcode, $renamed_langcodes)) { + $langcode = $renamed_langcodes[$langcode]; + } + + //Define full set of translatable strings in English + $PHPMAILER_LANG = [ + 'authenticate' => 'SMTP Error: Could not authenticate.', + 'buggy_php' => 'Your version of PHP is affected by a bug that may result in corrupted messages.' . + ' To fix it, switch to sending using SMTP, disable the mail.add_x_header option in' . + ' your php.ini, switch to MacOS or Linux, or upgrade your PHP to version 7.0.17+ or 7.1.3+.', + 'connect_host' => 'SMTP Error: Could not connect to SMTP host.', + 'data_not_accepted' => 'SMTP Error: data not accepted.', + 'empty_message' => 'Message body empty', + 'encoding' => 'Unknown encoding: ', + 'execute' => 'Could not execute: ', + 'extension_missing' => 'Extension missing: ', + 'file_access' => 'Could not access file: ', + 'file_open' => 'File Error: Could not open file: ', + 'from_failed' => 'The following From address failed: ', + 'instantiate' => 'Could not instantiate mail function.', + 'invalid_address' => 'Invalid address: ', + 'invalid_header' => 'Invalid header name or value', + 'invalid_hostentry' => 'Invalid hostentry: ', + 'invalid_host' => 'Invalid host: ', + 'mailer_not_supported' => ' mailer is not supported.', + 'provide_address' => 'You must provide at least one recipient email address.', + 'recipients_failed' => 'SMTP Error: The following recipients failed: ', + 'signing' => 'Signing Error: ', + 'smtp_code' => 'SMTP code: ', + 'smtp_code_ex' => 'Additional SMTP info: ', + 'smtp_connect_failed' => 'SMTP connect() failed.', + 'smtp_detail' => 'Detail: ', + 'smtp_error' => 'SMTP server error: ', + 'variable_set' => 'Cannot set or reset variable: ', + ]; + if (empty($lang_path)) { + //Calculate an absolute path so it can work if CWD is not here + $lang_path = dirname(__DIR__) . DIRECTORY_SEPARATOR . 'language' . DIRECTORY_SEPARATOR; + } + + //Validate $langcode + $foundlang = true; + $langcode = strtolower($langcode); + if ( + !preg_match('/^(?P[a-z]{2})(?P"; - -exit(); -?> + + + +"; + +exit(); +?> diff --git a/dashboard/mailversand.php b/dashboard/mailversand.php new file mode 100644 index 0000000..38eddb8 --- /dev/null +++ b/dashboard/mailversand.php @@ -0,0 +1,33 @@ +"; + exit; +} +$templatename = substr(basename($_SERVER['PHP_SELF']) , 0, -3) . "html"; +require_once "../language/german.inc.php"; + + + # Gespeicherte Rollen + $query = "SELECT rid, bezeichnung + FROM jumi_admin_rolle + ORDER BY bezeichnung ASC"; + + $result = $db->query($query) or die("Cannot execute query"); + + while ($row = $result->fetch_array()) { + $table_data[] = $row; + } + $smarty->assign('table_data', $table_data); + +$smarty->assign('action', "$action"); +$smarty->display("modern/dashboard/$templatename"); +?> diff --git a/dashboard/nav.php b/dashboard/nav.php index d42e87f..bf2a4ce 100644 --- a/dashboard/nav.php +++ b/dashboard/nav.php @@ -1,121 +1,121 @@ -query($query); - - -// Ergebnisse lesen und an den Client ausgeben -while ($row = $result->fetch_array()) { - $value2 = ''; - unset($inner1); - - - $query2 = "SELECT meid - , headline - , link - , mhid - , fontawesome - , sup - FROM jumi_menu_entries - WHERE mhid=$row[mhid] - AND sup = meid - AND meid IN (SELECT DISTINCT meid - FROM jumi_admin_rollen_rechte_zuord a, jumi_admin_rollen_user_zuord b - WHERE a.rid = b.rid - AND b.uid = $uid) - ORDER BY meid ASC - "; - -#echo "







----------------------------------------$query2"; - - $result2 = $db->query($query2) or die("Cannot execute query2"); - $ln2 = 0; - - while ($row2 = $result2->fetch_array()) { - - $inner1[$ln2]['headline'] = $row2['headline']; - $inner1[$ln2]['link'] = $row2['link']; - $inner1[$ln2]['fontawesome'] = $row2['fontawesome']; - - $value3 = ''; - unset($inner2); - - if ($row2['link'] == '#') { - $query3 = "SELECT meid - , headline - , link - , mhid - , fontawesome - , sup - FROM jumi_menu_entries - WHERE mhid=$row2[mhid] - AND sup != meid - AND sup = $row2[sup] - AND meid IN (SELECT DISTINCT meid - FROM jumi_admin_rollen_rechte_zuord a, jumi_admin_rollen_user_zuord b - WHERE a.rid = b.rid - AND b.uid = $uid) - ORDER BY meid ASC - "; -#echo "







----------------------------------------$query3
"; - $result3 = $db->query($query3) or die("Cannot execute query3"); - $ln3 = 0; - - while ($row3 = $result3->fetch_array()) { - $inner2[$ln3]['headline'] = $row3['headline']; - $inner2[$ln3]['link'] = $row3['link']; - $inner2[$ln3]['fontawesome'] = $row3['fontawesome']; - $value3 = $inner2; - $ln3++; - } - $inner1[$ln2]['inner2'] = $value3; - } - - $value2 = $inner1; - $ln2++; - } - $row['inner'] = $value2; - - $table_data[] = $row; -} -$smarty->assign('table_data', $table_data); - -#echo "
";
-#print_r($table_data);
-#echo "
"; - -############################################################################### -$result_name = $db->query("SELECT vorname, nachname, mail FROM jumi_admin WHERE uid='$uid'"); -$row_name = $result_name->fetch_array(); -$smarty->assign('nav_name', "$row_name[vorname] $row_name[nachname]"); - - -$smarty->assign('action', "$action"); -$smarty->display("modern/dashboard/$templatename"); +query($query); + + +// Ergebnisse lesen und an den Client ausgeben +while ($row = $result->fetch_array()) { + $value2 = ''; + unset($inner1); + + + $query2 = "SELECT meid + , headline + , link + , mhid + , fontawesome + , sup + FROM jumi_menu_entries + WHERE mhid=$row[mhid] + AND sup = meid + AND meid IN (SELECT DISTINCT meid + FROM jumi_admin_rollen_rechte_zuord a, jumi_admin_rollen_user_zuord b + WHERE a.rid = b.rid + AND b.uid = $uid) + ORDER BY meid ASC + "; + +#echo "







----------------------------------------$query2"; + + $result2 = $db->query($query2) or die("Cannot execute query2"); + $ln2 = 0; + + while ($row2 = $result2->fetch_array()) { + + $inner1[$ln2]['headline'] = $row2['headline']; + $inner1[$ln2]['link'] = $row2['link']; + $inner1[$ln2]['fontawesome'] = $row2['fontawesome']; + + $value3 = ''; + unset($inner2); + + if ($row2['link'] == '#') { + $query3 = "SELECT meid + , headline + , link + , mhid + , fontawesome + , sup + FROM jumi_menu_entries + WHERE mhid=$row2[mhid] + AND sup != meid + AND sup = $row2[sup] + AND meid IN (SELECT DISTINCT meid + FROM jumi_admin_rollen_rechte_zuord a, jumi_admin_rollen_user_zuord b + WHERE a.rid = b.rid + AND b.uid = $uid) + ORDER BY meid ASC + "; +#echo "







----------------------------------------$query3
"; + $result3 = $db->query($query3) or die("Cannot execute query3"); + $ln3 = 0; + + while ($row3 = $result3->fetch_array()) { + $inner2[$ln3]['headline'] = $row3['headline']; + $inner2[$ln3]['link'] = $row3['link']; + $inner2[$ln3]['fontawesome'] = $row3['fontawesome']; + $value3 = $inner2; + $ln3++; + } + $inner1[$ln2]['inner2'] = $value3; + } + + $value2 = $inner1; + $ln2++; + } + $row['inner'] = $value2; + + $table_data[] = $row; +} +$smarty->assign('table_data', $table_data); + +#echo "
";
+#print_r($table_data);
+#echo "
"; + +############################################################################### +$result_name = $db->query("SELECT vorname, nachname, mail FROM jumi_admin WHERE uid='$uid'"); +$row_name = $result_name->fetch_array(); +$smarty->assign('nav_name', "$row_name[vorname] $row_name[nachname]"); + + +$smarty->assign('action', "$action"); +$smarty->display("modern/dashboard/$templatename"); ?> \ No newline at end of file diff --git a/dashboard/navtop.php b/dashboard/navtop.php index b22a29f..9a2cffc 100644 --- a/dashboard/navtop.php +++ b/dashboard/navtop.php @@ -1,21 +1,21 @@ -assign('action', "$action"); -$smarty->display("modern/dashboard/$templatename"); -?> - +assign('action', "$action"); +$smarty->display("modern/dashboard/$templatename"); +?> + diff --git a/dashboard/notenbuch.php b/dashboard/notenbuch.php index fc143da..754e09c 100644 --- a/dashboard/notenbuch.php +++ b/dashboard/notenbuch.php @@ -1,52 +1,52 @@ -"; - exit; -} -require_once "../language/german.inc.php"; - - - -if (isset($_GET['action'])) { - $action = $_GET['action']; -} else { - $action = ''; -} - - -if ($action == '') { - - # Gespeicherte Werte - $query = "SELECT zsid, bezeichnung, anzahl_lizenz - FROM jumi_noten_zusammenstellung - ORDER BY bezeichnung ASC"; - - $result = $db->query($query) or die("Cannot execute query"); - - while ($row = $result->fetch_array()) { - - $result_rl = $db->query("SELECT $row[anzahl_lizenz]-count(*) Rest - FROM jumi_noten_zus_saenger_zuord - WHERE zsid = $row[zsid];"); - $row_rl = $result_rl->fetch_array(); - $row['restlizenz'] = $row_rl['Rest']; - $table_data[] = $row; - } - $smarty->assign('table_data', $table_data); - -} - - - -$smarty->assign('action', "$action"); -$smarty->display("$template/dashboard/$templatename"); - -?> +"; + exit; +} +require_once "../language/german.inc.php"; + + + +if (isset($_GET['action'])) { + $action = $_GET['action']; +} else { + $action = ''; +} + + +if ($action == '') { + + # Gespeicherte Werte + $query = "SELECT zsid, bezeichnung, anzahl_lizenz + FROM jumi_noten_zusammenstellung + ORDER BY bezeichnung ASC"; + + $result = $db->query($query) or die("Cannot execute query"); + + while ($row = $result->fetch_array()) { + + $result_rl = $db->query("SELECT $row[anzahl_lizenz]-count(*) Rest + FROM jumi_noten_zus_saenger_zuord + WHERE zsid = $row[zsid];"); + $row_rl = $result_rl->fetch_array(); + $row['restlizenz'] = $row_rl['Rest']; + $table_data[] = $row; + } + $smarty->assign('table_data', $table_data); + +} + + + +$smarty->assign('action', "$action"); +$smarty->display("$template/dashboard/$templatename"); + +?> diff --git a/dashboard/notenbuchzuordnung.php b/dashboard/notenbuchzuordnung.php index de7b7bc..48ab6ff 100644 --- a/dashboard/notenbuchzuordnung.php +++ b/dashboard/notenbuchzuordnung.php @@ -1,64 +1,64 @@ -"; - exit; -} -require_once "../language/german.inc.php"; - - - -if (isset($_GET['action'])) { - $action = $_GET['action']; -} else { - $action = ''; -} - - -if ($action == '') { - if (isset($_GET['edit'])) { - $zsid = $_GET['edit']; - $smarty->assign('rollen_edit', $zsid); - } - - $result_head = $db->query("SELECT bezeichnung FROM jumi_noten_zusammenstellung WHERE zsid=$zsid"); - $row_head = $result_head->fetch_array(); - $smarty->assign('notenbuchzuordnung_bezeichnung', $row_head['bezeichnung']); - - # Nicht zugewiesene Noten - $query = "SELECT jndid, titel - FROM jumi_noten_daten - WHERE jndid NOT IN (SELECT jndid FROM jumi_noten_zusammenstellung_zuord WHERE zsid=$zsid) - ORDER BY jndid ASC"; - - $result = $db->query($query) or die("Cannot execute query"); - - while ($row = $result->fetch_array()) { - $table_data[] = $row; - } - $smarty->assign('table_data', $table_data); - - # Zugewiesene Noten - $query1 = "SELECT jndid, titel - FROM jumi_noten_daten - WHERE jndid IN (SELECT jndid FROM jumi_noten_zusammenstellung_zuord WHERE zsid=$zsid) - ORDER BY jndid ASC"; - - $result1 = $db->query($query1) or die("Cannot execute query2"); - - while ($row1 = $result1->fetch_array()) { - $table_data1[] = $row1; - } - $smarty->assign('table_data1', $table_data1); - -} - -$smarty->assign('action', "$action"); -$smarty->display("$template/dashboard/$templatename"); -?> +"; + exit; +} +require_once "../language/german.inc.php"; + + + +if (isset($_GET['action'])) { + $action = $_GET['action']; +} else { + $action = ''; +} + + +if ($action == '') { + if (isset($_GET['edit'])) { + $zsid = $_GET['edit']; + $smarty->assign('rollen_edit', $zsid); + } + + $result_head = $db->query("SELECT bezeichnung FROM jumi_noten_zusammenstellung WHERE zsid=$zsid"); + $row_head = $result_head->fetch_array(); + $smarty->assign('notenbuchzuordnung_bezeichnung', $row_head['bezeichnung']); + + # Nicht zugewiesene Noten + $query = "SELECT jndid, titel + FROM jumi_noten_daten + WHERE jndid NOT IN (SELECT jndid FROM jumi_noten_zusammenstellung_zuord WHERE zsid=$zsid) + ORDER BY jndid ASC"; + + $result = $db->query($query) or die("Cannot execute query"); + + while ($row = $result->fetch_array()) { + $table_data[] = $row; + } + $smarty->assign('table_data', $table_data); + + # Zugewiesene Noten + $query1 = "SELECT jndid, titel + FROM jumi_noten_daten + WHERE jndid IN (SELECT jndid FROM jumi_noten_zusammenstellung_zuord WHERE zsid=$zsid) + ORDER BY jndid ASC"; + + $result1 = $db->query($query1) or die("Cannot execute query2"); + + while ($row1 = $result1->fetch_array()) { + $table_data1[] = $row1; + } + $smarty->assign('table_data1', $table_data1); + +} + +$smarty->assign('action', "$action"); +$smarty->display("$template/dashboard/$templatename"); +?> diff --git a/dashboard/notenupload.php b/dashboard/notenupload.php index 5a837f2..deaec00 100644 --- a/dashboard/notenupload.php +++ b/dashboard/notenupload.php @@ -1,52 +1,52 @@ -"; - exit; -} -$templatename = substr(basename($_SERVER['PHP_SELF']), 0, -3) . "html"; -require_once "../language/german.inc.php"; - - if(isset($_GET['editjndid']) and $_GET['editjndid'] != ''){ - # Aus externer Seite edit_user.php - #echo "







-----------------------------------------------hier"; - $jndid = $_GET['editjndid']; - $smarty->assign('create_edit', $jndid); - - $result0 = $db->query("SELECT a. jndid, titel, liednr, anz_lizenzen, streamlizenz, c.bezeichnung verlag - FROM jumi_noten_daten a, jumi_noten_verlag c - WHERE a.vid=c.vid - AND a.jndid = $jndid - ORDER BY titel ASC;"); - $row0 = $result0->fetch_array(); - $smarty->assign('notenupload_titel', $row0['titel']); - $smarty->assign('notenupload_liednr', $row0['liednr']); - $smarty->assign('notenupload_anz_lizenzen', $row0['anz_lizenzen']); - $smarty->assign('notenupload_streamlizenz', $row0['streamlizenz']); - $smarty->assign('notenupload_verlag', $row0['verlag']); - - $query = "SELECT id, filename, originalname, date_format(datum, '%d.%m.%y - %H:%i') uploaddatum FROM jumi_noten_uploads WHERE jndid='$jndid' ORDER BY datum DESC"; - $result = $db->query( $query) - or die ("Cannot execute query1"); - - while ($row = $result->fetch_array()){ - if (file_exists($row['filename'])) { - $row['file_exists'] = '1'; - } else { - $row['file_exists'] = '0'; - } - $value[] = $row; - } - $smarty->assign('table_data', $value); - } - -$smarty->assign('action', "$action"); -$smarty->display("modern/dashboard/$templatename"); -?> +"; + exit; +} +$templatename = substr(basename($_SERVER['PHP_SELF']), 0, -3) . "html"; +require_once "../language/german.inc.php"; + + if(isset($_GET['editjndid']) and $_GET['editjndid'] != ''){ + # Aus externer Seite edit_user.php + #echo "







-----------------------------------------------hier"; + $jndid = $_GET['editjndid']; + $smarty->assign('create_edit', $jndid); + + $result0 = $db->query("SELECT a. jndid, titel, liednr, anz_lizenzen, streamlizenz, c.bezeichnung verlag + FROM jumi_noten_daten a, jumi_noten_verlag c + WHERE a.vid=c.vid + AND a.jndid = $jndid + ORDER BY titel ASC;"); + $row0 = $result0->fetch_array(); + $smarty->assign('notenupload_titel', $row0['titel']); + $smarty->assign('notenupload_liednr', $row0['liednr']); + $smarty->assign('notenupload_anz_lizenzen', $row0['anz_lizenzen']); + $smarty->assign('notenupload_streamlizenz', $row0['streamlizenz']); + $smarty->assign('notenupload_verlag', $row0['verlag']); + + $query = "SELECT id, filename, originalname, date_format(datum, '%d.%m.%y - %H:%i') uploaddatum FROM jumi_noten_uploads WHERE jndid='$jndid' ORDER BY datum DESC"; + $result = $db->query( $query) + or die ("Cannot execute query1"); + + while ($row = $result->fetch_array()){ + if (file_exists($row['filename'])) { + $row['file_exists'] = '1'; + } else { + $row['file_exists'] = '0'; + } + $value[] = $row; + } + $smarty->assign('table_data', $value); + } + +$smarty->assign('action', "$action"); +$smarty->display("modern/dashboard/$templatename"); +?> diff --git a/dashboard/notenuserzuordnung.php b/dashboard/notenuserzuordnung.php index 94ff1b0..751b2fe 100644 --- a/dashboard/notenuserzuordnung.php +++ b/dashboard/notenuserzuordnung.php @@ -1,64 +1,64 @@ -"; - exit; -} -require_once "../language/german.inc.php"; - - - -if (isset($_GET['action'])) { - $action = $_GET['action']; -} else { - $action = ''; -} - - -if ($action == '') { - if (isset($_GET['edit'])) { - $zsid = $_GET['edit']; - $smarty->assign('zusammenstellung_edit', $zsid); - } - - $result_head = $db->query("SELECT bezeichnung FROM jumi_noten_zusammenstellung WHERE zsid=$zsid"); - $row_head = $result_head->fetch_array(); - $smarty->assign('notenzuordnung_bezeichnung', $row_head['bezeichnung']); - - # Nicht zugewiesene User - $query = "SELECT csid, vorname, nachname - FROM jumi_chor_saenger - WHERE csid NOT IN (SELECT csid FROM jumi_noten_zus_saenger_zuord WHERE zsid=$zsid) - ORDER BY nachname ASC"; - - $result = $db->query($query) or die("Cannot execute query"); - - while ($row = $result->fetch_array()) { - $table_data[] = $row; - } - $smarty->assign('table_data', $table_data); - - # Zugewiesene Rechte - $query1 = "SELECT csid, vorname, nachname - FROM jumi_chor_saenger - WHERE csid IN (SELECT csid FROM jumi_noten_zus_saenger_zuord WHERE zsid=$zsid) - ORDER BY nachname ASC"; - - $result1 = $db->query($query1) or die("Cannot execute query1"); - - while ($row1 = $result1->fetch_array()) { - $table_data1[] = $row1; - } - $smarty->assign('table_data1', $table_data1); - -} - -$smarty->assign('action', "$action"); -$smarty->display("$template/dashboard/$templatename"); -?> +"; + exit; +} +require_once "../language/german.inc.php"; + + + +if (isset($_GET['action'])) { + $action = $_GET['action']; +} else { + $action = ''; +} + + +if ($action == '') { + if (isset($_GET['edit'])) { + $zsid = $_GET['edit']; + $smarty->assign('zusammenstellung_edit', $zsid); + } + + $result_head = $db->query("SELECT bezeichnung FROM jumi_noten_zusammenstellung WHERE zsid=$zsid"); + $row_head = $result_head->fetch_array(); + $smarty->assign('notenzuordnung_bezeichnung', $row_head['bezeichnung']); + + # Nicht zugewiesene User + $query = "SELECT csid, vorname, nachname + FROM jumi_chor_saenger + WHERE csid NOT IN (SELECT csid FROM jumi_noten_zus_saenger_zuord WHERE zsid=$zsid) + ORDER BY nachname ASC"; + + $result = $db->query($query) or die("Cannot execute query"); + + while ($row = $result->fetch_array()) { + $table_data[] = $row; + } + $smarty->assign('table_data', $table_data); + + # Zugewiesene Rechte + $query1 = "SELECT csid, vorname, nachname + FROM jumi_chor_saenger + WHERE csid IN (SELECT csid FROM jumi_noten_zus_saenger_zuord WHERE zsid=$zsid) + ORDER BY nachname ASC"; + + $result1 = $db->query($query1) or die("Cannot execute query1"); + + while ($row1 = $result1->fetch_array()) { + $table_data1[] = $row1; + } + $smarty->assign('table_data1', $table_data1); + +} + +$smarty->assign('action', "$action"); +$smarty->display("$template/dashboard/$templatename"); +?> diff --git a/dashboard/passwortvergessen.php b/dashboard/passwortvergessen.php index e620f35..c11c87c 100644 --- a/dashboard/passwortvergessen.php +++ b/dashboard/passwortvergessen.php @@ -1,21 +1,21 @@ -assign('action', "$action"); -$smarty->display("modern/dashboard/$templatename"); -?> +assign('action', "$action"); +$smarty->display("modern/dashboard/$templatename"); +?> diff --git a/dashboard/passwortzuruecksetzen.php b/dashboard/passwortzuruecksetzen.php index 748a56a..4f91283 100644 --- a/dashboard/passwortzuruecksetzen.php +++ b/dashboard/passwortzuruecksetzen.php @@ -1,39 +1,39 @@ -"; -*/ -include_once '../classes/TestProjektSmarty.class_subdir.php'; -#require_once("../config.inc.php"); -require_once("../config/datenbankanbindung.php"); -$smarty = new SmartyAdmin(); -$templatename = substr(basename($_SERVER['PHP_SELF']),0,-3)."html"; -require_once "../language/german.inc.php"; - - -$action = $_GET['action']; -if($action == ''){ - $uid = $_GET['uid']; - $code = $_GET['code']; - $smarty->assign('uid', "$uid"); - $smarty->assign('code', "$code"); - if(!isset($_GET['uid']) || !isset($_GET['code'])) { - $smarty->assign('error', 1); - $smarty->assign('error_text', '
Leider wurde beim Aufruf dieser Website kein Code zum Zurücksetzen des Passworts übermittelt!
'); -} -# Token: b9b48563d251d9e52bd1352545747e30 -# SHA Token: 76eafa7873f2331794036360414bff2473b66fa6 -# localhost/survey/dashboard/passwortzuruecksetzen.php?uid=1&code=b9b48563d251d9e52bd1352545747e30 -} - - -$smarty->assign('action', "$action"); -$smarty->display("modern/dashboard/$templatename"); - - -?> +"; +*/ +include_once '../classes/TestProjektSmarty.class_subdir.php'; +#require_once("../config.inc.php"); +require_once("../config/datenbankanbindung.php"); +$smarty = new SmartyAdmin(); +$templatename = substr(basename($_SERVER['PHP_SELF']),0,-3)."html"; +require_once "../language/german.inc.php"; + + +$action = $_GET['action']; +if($action == ''){ + $uid = $_GET['uid']; + $code = $_GET['code']; + $smarty->assign('uid', "$uid"); + $smarty->assign('code', "$code"); + if(!isset($_GET['uid']) || !isset($_GET['code'])) { + $smarty->assign('error', 1); + $smarty->assign('error_text', '
Leider wurde beim Aufruf dieser Website kein Code zum Zurücksetzen des Passworts übermittelt!
'); +} +# Token: b9b48563d251d9e52bd1352545747e30 +# SHA Token: 76eafa7873f2331794036360414bff2473b66fa6 +# localhost/survey/dashboard/passwortzuruecksetzen.php?uid=1&code=b9b48563d251d9e52bd1352545747e30 +} + + +$smarty->assign('action', "$action"); +$smarty->display("modern/dashboard/$templatename"); + + +?> diff --git a/dashboard/result_latest.php b/dashboard/result_latest.php index 8651e5e..2fff81f 100644 --- a/dashboard/result_latest.php +++ b/dashboard/result_latest.php @@ -1,157 +1,157 @@ -query("SELECT max(umid) umid - FROM jumi_umfragen - WHERE datum_von < now() - "); - $row_umid = $query_umid->fetch_array(); - $umid = $row_umid['umid']; - } - - $query_umid_detail = $db->query("SELECT headline, date_format(datum_von, '%d.%m.%Y - %H:%i') datum_von, date_format(datum_bis, '%d.%m.%Y - %H:%i') datum_bis, freitext - FROM jumi_umfragen - WHERE umid=$umid - "); - $row_umid_detail = $query_umid_detail->fetch_array(); - $smarty->assign('result_headline', "$row_umid_detail[headline]"); - $smarty->assign('result_datum_von', "$row_umid_detail[datum_von]"); - $smarty->assign('result_datum_bis', "$row_umid_detail[datum_bis]"); - - # Anzahl abgeschlossene Umfragen - $query_fertige = $db->query("SELECT count(*) Anz_abgeschlossen - FROM jumi_umfragen_ende - WHERE umid =$umid - "); - $row_fertige = $query_fertige->fetch_array(); - $smarty->assign('result_anz_fertige', "$row_fertige[Anz_abgeschlossen]"); - - # Anzahl angefangener Teilnehmer - $query_angefangen = $db->query("SELECT count(distinct concat(ip,session))-$row_fertige[Anz_abgeschlossen] Anz_angefangen - FROM jumi_umfragen_ergebnisse - WHERE ufid in (select ufid from jumi_umfragen_fragen where umid =$umid) - "); - $row_angefangen = $query_angefangen->fetch_array(); - $smarty->assign('result_anz_angefangen', "$row_angefangen[Anz_angefangen]"); - - - - - - $query = "SELECT ufid, frage, multiple - FROM jumi_umfragen_fragen - WHERE umid = $umid"; - $result = $db->query($query); - - - // Ergebnisse lesen und an den Client ausgeben - while ($row = $result->fetch_array()) { - $value2 = ''; - unset($inner1); - - # Wie viele User haben Frage 1 beantwortet - $result_anz_userfrage = $db->query("SELECT count(distinct concat(ip,session)) Anz - FROM jumi_umfragen_ergebnisse - WHERE ufid = $row[ufid] - "); - $row_anz_userfrage = $result_anz_userfrage->fetch_array(); - - # Wie viele Antworten gibt es zur Frage: Das sind 100% - $result_anz_antworten = $db->query("SELECT count(ufid) Anz - FROM jumi_umfragen_ergebnisse - WHERE ufid = $row[ufid] - "); - $row_anz_antworten = $result_anz_antworten->fetch_array(); - - - $query2 = "SELECT uaid, antwort - FROM jumi_umfragen_antworten - WHERE ufid=$row[ufid] - ORDER BY userorder ASC, uaid ASC - "; - - - $result2 = $db->query($query2) or die("Cannot execute query2"); - $ln2 = 0; - - while ($row2 = $result2->fetch_array()) { - - # Wie viele haben Antwort auf aktuelle Frage gegeben - $result_cur_antw = $db->query("SELECT count(*) Anz - FROM jumi_umfragen_ergebnisse - WHERE uaid = $row2[uaid]"); - $row_cur_antw = $result_cur_antw->fetch_array(); - - if($row_anz_antworten['Anz'] != '0'){ - $prozent = round(100/$row_anz_antworten['Anz']*$row_cur_antw['Anz'],0); - }else{ - $prozent = 0; - } - - $inner1[$ln2]['prozent'] = $prozent; - $inner1[$ln2]['uaid'] = $row2['uaid']; - $inner1[$ln2]['antwort'] = $row2['antwort']; - $value2 = $inner1; - $ln2++; - } - if($row_anz_userfrage['Anz'] != 0){ - $anz_userfrage = $row_anz_userfrage['Anz']; - }else{ - $anz_userfrage = 0; - } - $row['inner'] = $value2; - $row['anz_userfrage'] = $anz_userfrage; - $row['anz_antworten_frage'] = $row_anz_antworten['Anz']; - $table_data[] = $row; - } - $smarty->assign('table_data', $table_data); - -# echo"
";
-#    print_r($table_data);
-#    echo"
"; - - - $query3 = "SELECT freitext - FROM jumi_umfragen_erg_freitext - WHERE umid = $umid - ORDER BY uefid desc"; - $result3 = $db->query($query3); - - - // Ergebnisse lesen und an den Client ausgeben - while ($row3 = $result3->fetch_array()) { - $table_data3[] = $row3; - } - $smarty->assign('table_data3', $table_data3); - - -} - - -$smarty->assign('action', "$action"); -$smarty->display("modern/dashboard/$templatename"); -?> +query("SELECT max(umid) umid + FROM jumi_umfragen + WHERE datum_von < now() + "); + $row_umid = $query_umid->fetch_array(); + $umid = $row_umid['umid']; + } + + $query_umid_detail = $db->query("SELECT headline, date_format(datum_von, '%d.%m.%Y - %H:%i') datum_von, date_format(datum_bis, '%d.%m.%Y - %H:%i') datum_bis, freitext + FROM jumi_umfragen + WHERE umid=$umid + "); + $row_umid_detail = $query_umid_detail->fetch_array(); + $smarty->assign('result_headline', "$row_umid_detail[headline]"); + $smarty->assign('result_datum_von', "$row_umid_detail[datum_von]"); + $smarty->assign('result_datum_bis', "$row_umid_detail[datum_bis]"); + + # Anzahl abgeschlossene Umfragen + $query_fertige = $db->query("SELECT count(*) Anz_abgeschlossen + FROM jumi_umfragen_ende + WHERE umid =$umid + "); + $row_fertige = $query_fertige->fetch_array(); + $smarty->assign('result_anz_fertige', "$row_fertige[Anz_abgeschlossen]"); + + # Anzahl angefangener Teilnehmer + $query_angefangen = $db->query("SELECT count(distinct concat(ip,session))-$row_fertige[Anz_abgeschlossen] Anz_angefangen + FROM jumi_umfragen_ergebnisse + WHERE ufid in (select ufid from jumi_umfragen_fragen where umid =$umid) + "); + $row_angefangen = $query_angefangen->fetch_array(); + $smarty->assign('result_anz_angefangen', "$row_angefangen[Anz_angefangen]"); + + + + + + $query = "SELECT ufid, frage, multiple + FROM jumi_umfragen_fragen + WHERE umid = $umid"; + $result = $db->query($query); + + + // Ergebnisse lesen und an den Client ausgeben + while ($row = $result->fetch_array()) { + $value2 = ''; + unset($inner1); + + # Wie viele User haben Frage 1 beantwortet + $result_anz_userfrage = $db->query("SELECT count(distinct concat(ip,session)) Anz + FROM jumi_umfragen_ergebnisse + WHERE ufid = $row[ufid] + "); + $row_anz_userfrage = $result_anz_userfrage->fetch_array(); + + # Wie viele Antworten gibt es zur Frage: Das sind 100% + $result_anz_antworten = $db->query("SELECT count(ufid) Anz + FROM jumi_umfragen_ergebnisse + WHERE ufid = $row[ufid] + "); + $row_anz_antworten = $result_anz_antworten->fetch_array(); + + + $query2 = "SELECT uaid, antwort + FROM jumi_umfragen_antworten + WHERE ufid=$row[ufid] + ORDER BY userorder ASC, uaid ASC + "; + + + $result2 = $db->query($query2) or die("Cannot execute query2"); + $ln2 = 0; + + while ($row2 = $result2->fetch_array()) { + + # Wie viele haben Antwort auf aktuelle Frage gegeben + $result_cur_antw = $db->query("SELECT count(*) Anz + FROM jumi_umfragen_ergebnisse + WHERE uaid = $row2[uaid]"); + $row_cur_antw = $result_cur_antw->fetch_array(); + + if($row_anz_antworten['Anz'] != '0'){ + $prozent = round(100/$row_anz_antworten['Anz']*$row_cur_antw['Anz'],0); + }else{ + $prozent = 0; + } + + $inner1[$ln2]['prozent'] = $prozent; + $inner1[$ln2]['uaid'] = $row2['uaid']; + $inner1[$ln2]['antwort'] = $row2['antwort']; + $value2 = $inner1; + $ln2++; + } + if($row_anz_userfrage['Anz'] != 0){ + $anz_userfrage = $row_anz_userfrage['Anz']; + }else{ + $anz_userfrage = 0; + } + $row['inner'] = $value2; + $row['anz_userfrage'] = $anz_userfrage; + $row['anz_antworten_frage'] = $row_anz_antworten['Anz']; + $table_data[] = $row; + } + $smarty->assign('table_data', $table_data); + +# echo"
";
+#    print_r($table_data);
+#    echo"
"; + + + $query3 = "SELECT freitext + FROM jumi_umfragen_erg_freitext + WHERE umid = $umid + ORDER BY uefid desc"; + $result3 = $db->query($query3); + + + // Ergebnisse lesen und an den Client ausgeben + while ($row3 = $result3->fetch_array()) { + $table_data3[] = $row3; + } + $smarty->assign('table_data3', $table_data3); + + +} + + +$smarty->assign('action', "$action"); +$smarty->display("modern/dashboard/$templatename"); +?> diff --git a/dashboard/rollen.php b/dashboard/rollen.php index 1ca7e1e..2480543 100644 --- a/dashboard/rollen.php +++ b/dashboard/rollen.php @@ -1,46 +1,46 @@ -"; - exit; -} -require_once "../language/german.inc.php"; - - - -if (isset($_GET['action'])) { - $action = $_GET['action']; -} else { - $action = ''; -} - - -if ($action == '') { - - # Gespeicherte Werte - $query = "SELECT rid, bezeichnung - FROM jumi_admin_rolle - ORDER BY bezeichnung ASC"; - - $result = $db->query($query) or die("Cannot execute query"); - - while ($row = $result->fetch_array()) { - $table_data[] = $row; - } - $smarty->assign('table_data', $table_data); - -} - - - -$smarty->assign('action', "$action"); -$smarty->display("$template/dashboard/$templatename"); - -?> +"; + exit; +} +require_once "../language/german.inc.php"; + + + +if (isset($_GET['action'])) { + $action = $_GET['action']; +} else { + $action = ''; +} + + +if ($action == '') { + + # Gespeicherte Werte + $query = "SELECT rid, bezeichnung + FROM jumi_admin_rolle + ORDER BY bezeichnung ASC"; + + $result = $db->query($query) or die("Cannot execute query"); + + while ($row = $result->fetch_array()) { + $table_data[] = $row; + } + $smarty->assign('table_data', $table_data); + +} + + + +$smarty->assign('action', "$action"); +$smarty->display("$template/dashboard/$templatename"); + +?> diff --git a/dashboard/rollenzuordnung.php b/dashboard/rollenzuordnung.php index e5fbc10..26c5189 100644 --- a/dashboard/rollenzuordnung.php +++ b/dashboard/rollenzuordnung.php @@ -1,64 +1,64 @@ -"; - exit; -} -require_once "../language/german.inc.php"; - - - -if (isset($_GET['action'])) { - $action = $_GET['action']; -} else { - $action = ''; -} - - -if ($action == '') { - if (isset($_GET['edit'])) { - $rid = $_GET['edit']; - $smarty->assign('rollen_edit', $rid); - } - - $result_head = $db->query("SELECT bezeichnung FROM jumi_admin_rolle WHERE rid=$rid"); - $row_head = $result_head->fetch_array(); - $smarty->assign('rollenzuordnung_bezeichnung', $row_head['bezeichnung']); - - # Nicht zugewiesene Rechte - $query = "SELECT meid, headline - FROM jumi_menu_entries - WHERE meid NOT IN (SELECT meid FROM jumi_admin_rollen_rechte_zuord WHERE rid=$rid) - ORDER BY meid ASC"; - - $result = $db->query($query) or die("Cannot execute query"); - - while ($row = $result->fetch_array()) { - $table_data[] = $row; - } - $smarty->assign('table_data', $table_data); - - # Zugewiesene Rechte - $query1 = "SELECT meid, headline - FROM jumi_menu_entries - WHERE meid IN (SELECT meid FROM jumi_admin_rollen_rechte_zuord WHERE rid=$rid) - ORDER BY meid ASC"; - - $result1 = $db->query($query1) or die("Cannot execute query1"); - - while ($row1 = $result1->fetch_array()) { - $table_data1[] = $row1; - } - $smarty->assign('table_data1', $table_data1); - -} - -$smarty->assign('action', "$action"); -$smarty->display("$template/dashboard/$templatename"); -?> +"; + exit; +} +require_once "../language/german.inc.php"; + + + +if (isset($_GET['action'])) { + $action = $_GET['action']; +} else { + $action = ''; +} + + +if ($action == '') { + if (isset($_GET['edit'])) { + $rid = $_GET['edit']; + $smarty->assign('rollen_edit', $rid); + } + + $result_head = $db->query("SELECT bezeichnung FROM jumi_admin_rolle WHERE rid=$rid"); + $row_head = $result_head->fetch_array(); + $smarty->assign('rollenzuordnung_bezeichnung', $row_head['bezeichnung']); + + # Nicht zugewiesene Rechte + $query = "SELECT meid, headline + FROM jumi_menu_entries + WHERE meid NOT IN (SELECT meid FROM jumi_admin_rollen_rechte_zuord WHERE rid=$rid) + ORDER BY meid ASC"; + + $result = $db->query($query) or die("Cannot execute query"); + + while ($row = $result->fetch_array()) { + $table_data[] = $row; + } + $smarty->assign('table_data', $table_data); + + # Zugewiesene Rechte + $query1 = "SELECT meid, headline + FROM jumi_menu_entries + WHERE meid IN (SELECT meid FROM jumi_admin_rollen_rechte_zuord WHERE rid=$rid) + ORDER BY meid ASC"; + + $result1 = $db->query($query1) or die("Cannot execute query1"); + + while ($row1 = $result1->fetch_array()) { + $table_data1[] = $row1; + } + $smarty->assign('table_data1', $table_data1); + +} + +$smarty->assign('action', "$action"); +$smarty->display("$template/dashboard/$templatename"); +?> diff --git a/dashboard/style.min.css b/dashboard/style.min.css index 009f22c..3019537 100644 --- a/dashboard/style.min.css +++ b/dashboard/style.min.css @@ -1,8 +1,8 @@ -/** - * Minified by jsDelivr using clean-css v5.3.1. - * Original file: /npm/simple-datatables@7.1.2/dist/style.css - * - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -.datatable-wrapper.no-header .datatable-container{border-top:1px solid #d9d9d9}.datatable-wrapper.no-footer .datatable-container{border-bottom:1px solid #d9d9d9}.datatable-bottom,.datatable-top{padding:8px 10px}.datatable-bottom>div:first-child,.datatable-bottom>nav:first-child,.datatable-top>div:first-child,.datatable-top>nav:first-child{float:left}.datatable-bottom>div:last-child,.datatable-bottom>nav:last-child,.datatable-top>div:last-child,.datatable-top>nav:last-child{float:right}.datatable-selector{padding:6px}.datatable-input{padding:6px 12px}.datatable-info{margin:7px 0}.datatable-pagination ul{margin:0;padding-left:0}.datatable-pagination li{list-style:none;float:left}.datatable-pagination li.datatable-hidden{visibility:hidden}.datatable-pagination a{border:1px solid transparent;float:left;margin-left:2px;padding:6px 12px;position:relative;text-decoration:none;color:#333;cursor:pointer}.datatable-pagination a:hover{background-color:#d9d9d9}.datatable-pagination .datatable-active a,.datatable-pagination .datatable-active a:focus,.datatable-pagination .datatable-active a:hover{background-color:#d9d9d9;cursor:default}.datatable-pagination .datatable-disabled a,.datatable-pagination .datatable-disabled a:focus,.datatable-pagination .datatable-disabled a:hover,.datatable-pagination .datatable-ellipsis a{pointer-events:none;cursor:default}.datatable-pagination .datatable-disabled a,.datatable-pagination .datatable-disabled a:focus,.datatable-pagination .datatable-disabled a:hover{cursor:not-allowed;opacity:.4}.datatable-pagination .datatable-pagination a{font-weight:700}.datatable-table{max-width:100%;width:100%;border-spacing:0;border-collapse:separate}.datatable-table>tbody>tr>td,.datatable-table>tbody>tr>th,.datatable-table>tfoot>tr>td,.datatable-table>tfoot>tr>th,.datatable-table>thead>tr>td,.datatable-table>thead>tr>th{vertical-align:top;padding:8px 10px}.datatable-table>thead>tr>th{vertical-align:bottom;text-align:left;border-bottom:1px solid #d9d9d9}.datatable-table>tfoot>tr>th{vertical-align:bottom;text-align:left;border-top:1px solid #d9d9d9}.datatable-table th{vertical-align:bottom;text-align:left}.datatable-table th a{text-decoration:none;color:inherit}.datatable-filter,.datatable-sorter{display:inline-block;height:100%;position:relative;width:100%}.datatable-sorter::after,.datatable-sorter::before{content:"";height:0;width:0;position:absolute;right:4px;border-left:4px solid transparent;border-right:4px solid transparent;opacity:.2}.datatable-sorter::before{border-top:4px solid #000;bottom:0}.datatable-sorter::after{border-bottom:4px solid #000;border-top:4px solid transparent;top:0}.datatable-ascending .datatable-filter::after,.datatable-ascending .datatable-sorter::after,.datatable-descending .datatable-filter::before,.datatable-descending .datatable-sorter::before{opacity:.6}.datatable-filter::before{content:"";position:absolute;right:4px;opacity:.2;width:0;height:0;border-left:7px solid transparent;border-right:7px solid transparent;border-radius:50%;border-top:10px solid #000;top:25%}.datatable-filter-active .datatable-filter::before{opacity:.6}.datatable-empty{text-align:center}.datatable-bottom::after,.datatable-top::after{clear:both;content:" ";display:table}table.datatable-table:focus tr.datatable-cursor>td:first-child{border-left:3px #00f solid}table.datatable-table:focus{outline:solid 1px black;outline-offset:-1px} +/** + * Minified by jsDelivr using clean-css v5.3.1. + * Original file: /npm/simple-datatables@7.1.2/dist/style.css + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +.datatable-wrapper.no-header .datatable-container{border-top:1px solid #d9d9d9}.datatable-wrapper.no-footer .datatable-container{border-bottom:1px solid #d9d9d9}.datatable-bottom,.datatable-top{padding:8px 10px}.datatable-bottom>div:first-child,.datatable-bottom>nav:first-child,.datatable-top>div:first-child,.datatable-top>nav:first-child{float:left}.datatable-bottom>div:last-child,.datatable-bottom>nav:last-child,.datatable-top>div:last-child,.datatable-top>nav:last-child{float:right}.datatable-selector{padding:6px}.datatable-input{padding:6px 12px}.datatable-info{margin:7px 0}.datatable-pagination ul{margin:0;padding-left:0}.datatable-pagination li{list-style:none;float:left}.datatable-pagination li.datatable-hidden{visibility:hidden}.datatable-pagination a{border:1px solid transparent;float:left;margin-left:2px;padding:6px 12px;position:relative;text-decoration:none;color:#333;cursor:pointer}.datatable-pagination a:hover{background-color:#d9d9d9}.datatable-pagination .datatable-active a,.datatable-pagination .datatable-active a:focus,.datatable-pagination .datatable-active a:hover{background-color:#d9d9d9;cursor:default}.datatable-pagination .datatable-disabled a,.datatable-pagination .datatable-disabled a:focus,.datatable-pagination .datatable-disabled a:hover,.datatable-pagination .datatable-ellipsis a{pointer-events:none;cursor:default}.datatable-pagination .datatable-disabled a,.datatable-pagination .datatable-disabled a:focus,.datatable-pagination .datatable-disabled a:hover{cursor:not-allowed;opacity:.4}.datatable-pagination .datatable-pagination a{font-weight:700}.datatable-table{max-width:100%;width:100%;border-spacing:0;border-collapse:separate}.datatable-table>tbody>tr>td,.datatable-table>tbody>tr>th,.datatable-table>tfoot>tr>td,.datatable-table>tfoot>tr>th,.datatable-table>thead>tr>td,.datatable-table>thead>tr>th{vertical-align:top;padding:8px 10px}.datatable-table>thead>tr>th{vertical-align:bottom;text-align:left;border-bottom:1px solid #d9d9d9}.datatable-table>tfoot>tr>th{vertical-align:bottom;text-align:left;border-top:1px solid #d9d9d9}.datatable-table th{vertical-align:bottom;text-align:left}.datatable-table th a{text-decoration:none;color:inherit}.datatable-filter,.datatable-sorter{display:inline-block;height:100%;position:relative;width:100%}.datatable-sorter::after,.datatable-sorter::before{content:"";height:0;width:0;position:absolute;right:4px;border-left:4px solid transparent;border-right:4px solid transparent;opacity:.2}.datatable-sorter::before{border-top:4px solid #000;bottom:0}.datatable-sorter::after{border-bottom:4px solid #000;border-top:4px solid transparent;top:0}.datatable-ascending .datatable-filter::after,.datatable-ascending .datatable-sorter::after,.datatable-descending .datatable-filter::before,.datatable-descending .datatable-sorter::before{opacity:.6}.datatable-filter::before{content:"";position:absolute;right:4px;opacity:.2;width:0;height:0;border-left:7px solid transparent;border-right:7px solid transparent;border-radius:50%;border-top:10px solid #000;top:25%}.datatable-filter-active .datatable-filter::before{opacity:.6}.datatable-empty{text-align:center}.datatable-bottom::after,.datatable-top::after{clear:both;content:" ";display:table}table.datatable-table:focus tr.datatable-cursor>td:first-child{border-left:3px #00f solid}table.datatable-table:focus{outline:solid 1px black;outline-offset:-1px} /*# sourceMappingURL=/sm/7faebb93ab083e20bf71c693c970b2206a78620f4a20eb890eeaee129d14cd66.map */ \ No newline at end of file diff --git a/dashboard/survey_edit.php b/dashboard/survey_edit.php index e411d67..64c750d 100644 --- a/dashboard/survey_edit.php +++ b/dashboard/survey_edit.php @@ -1,231 +1,231 @@ -"; -# exit; -} -require_once "../language/german.inc.php"; - - - -if (isset($_GET['action'])) { - $action = $_GET['action']; -} else { - $action = ''; -} - - -if ($action == '') { - $query1 = "SELECT umid, date_format(datum_von, '%d.%m.%Y (%H:%i)') datum_von, date_format(datum_bis, '%d.%m.%Y (%H:%i)') datum_bis, headline - FROM jumi_umfragen - ORDER BY umid DESC"; - - $result1 = $db->query($query1) or die("Cannot execute query1a"); - - while ($row1 = $result1->fetch_array()) { - $table_data1[] = $row1; - } - $smarty->assign('table_data1', $table_data1); - -} - - -if ($action == 'fragen') { - - $umid = $_SESSION["umfrageerf_umid"]; - - # Focus/Session setzen - $result = $db->query("SELECT count(*) Anz FROM jumi_umfragen_fragen WHERE umid='$umid'"); - $row = $result->fetch_array(); - # Wenn man bei mehreren Fragen eine Frage löscht ist Anz nicht 0 und der Focus sitzt bei Antwort - if ($umid == '' or $_GET['tabufid'] == "neuefrage" or $row['Anz'] == '0') { - $smarty->assign('umfrageerf_focus', "frage"); - unset($_SESSION["umfrageerf_ufid"]); - unset($_SESSION["umfrageerf_uaid"]); - } else { - $smarty->assign('umfrageerf_focus', "antwort"); - } - - - if (isset($_POST['datumvon']) and $_POST['datumvon'] != '') { - $datumvon = $_POST['datumvon']; - $_SESSION["umfrageerf_value_datumvon"] = $datumvon; - } else { - if ($_SESSION["umfrageerf_value_datumvon"] == '') { - echo ""; - } - $datumvon = $_SESSION["umfrageerf_value_datumvon"]; - } - - if (isset($_POST['zeitvon']) and $_POST['zeitvon'] != '') { - $zeitvon = $_POST['zeitvon']; - $_SESSION["umfrageerf_value_zeitvon"] = $zeitvon; - } else { - if ($_SESSION["umfrageerf_value_zeitvon"] == '') { - echo ""; - } - $zeitvon = $_SESSION["umfrageerf_value_zeitvon"]; - } - - if (isset($_POST['datumbis']) and $_POST['datumbis'] != '') { - $datumbis = $_POST['datumbis']; - $_SESSION["umfrageerf_value_datumbis"] = $datumbis; - } else { - if ($_SESSION["umfrageerf_value_datumbis"] == '') { - echo ""; - } - $datumbis = $_SESSION["umfrageerf_value_datumbis"]; - } - - if (isset($_POST['zeitbis']) and $_POST['zeitbis'] != '') { - $zeitbis = $_POST['zeitbis']; - $_SESSION["umfrageerf_value_zeitbis"] = $zeitbis; - } else { - if ($_SESSION["umfrageerf_value_zeitbis"] == '') { - echo ""; - } - $zeitbis = $_SESSION["umfrageerf_value_zeitbis"]; - } - - if (isset($_POST['headline']) and trim($_POST['headline']) != '') { - $headline = trim($_POST['headline']); - $_SESSION["umfrageerf_value_headline"] = $headline; - } else { - if ($_SESSION["umfrageerf_value_headline"] == '') { - echo ""; - } - $headline = $_SESSION["umfrageerf_value_headline"]; - } - - if(!isset($_GET['erfassen'])){ - if (isset($_POST['freitext']) and trim($_POST['freitext']) != '') { - $freitext = '1'; - $_SESSION["umfrageerf_value_freitext"] = $freitext; - }else{ - $freitext = '0'; - $_SESSION["umfrageerf_value_freitext"] = $freitext; - } - }else{ - $freitext = $_SESSION["umfrageerf_value_freitext"]; - } - - - $datumvon_form = preg_replace('/^(\\d{2})\\.(\\d{2})\\.(\\d{4})$/', '$3-$2-$1', $datumvon); - $datumbis_form = preg_replace('/^(\\d{2})\\.(\\d{2})\\.(\\d{4})$/', '$3-$2-$1', $datumbis); - $datum_von = $datumvon_form . " " . $zeitvon . ":00"; - $datum_bis = $datumbis_form . " " . $zeitbis . ":00"; - - function validateDate($date, $format = 'Y-m-d') - { - $d = DateTime::createFromFormat($format, $date); - return $d && $d->format($format) == $date; - } - - if (!validateDate($datumvon_form)) { - echo ""; - exit; - } - - if (!validateDate($datumbis_form)) { - echo ""; - exit; - } - - - if(!isset($_GET['erfassen'])){ - if ($umid == '') { - $datum = date("Y-m-d H:i:s"); - - $sql1 = $db->query("INSERT INTO jumi_umfragen ( datum_von - , datum_bis - , headline - , uid - , datum_erfasst - , freitext - ) - VALUES - ( '$datum_von' - , '$datum_bis' - , '$headline' - , '$uid' - , '$datum' - , '$freitext' - ) - "); - $umid = $db->insert_id; - $_SESSION["umfrageerf_umid"] = $umid; - }else{ - $update = $db->query("UPDATE jumi_umfragen - SET datum_von ='$datum_von' - ,datum_bis ='$datum_bis' - ,headline = '$headline' - ,freitext = '$freitext' - WHERE umid = $umid - "); - - } - } - - if (isset($_GET['tabufid']) and $_GET['tabufid'] != '') { - if ($_GET['tabufid'] == "neuefrage") { - $_SESSION["umfrageerf_ufid"] = ""; - } else { - $_SESSION["umfrageerf_ufid"] = $_GET['tabufid']; - } - } - $ufid = $_SESSION["umfrageerf_ufid"]; - if ($ufid != '') { - $result_frage = $db->query("SELECT frage, multiple - FROM jumi_umfragen_fragen - WHERE ufid = $ufid"); - $row_frage = $result_frage->fetch_array(); - $smarty->assign('umfrageerf_value_frage', htmlspecialchars($row_frage['frage'])); - $smarty->assign('umfrageerf_value_multiple', $row_frage['multiple']); - $smarty->assign('umfrageerf_value_ufid', $ufid); - } - - # Gespeicherte Werte - if ($umid != '') { - $query1 = "SELECT ufid, frage - FROM jumi_umfragen_fragen - WHERE umid=$umid - ORDER BY ufid ASC"; - - $result1 = $db->query($query1) or die("Cannot execute query1a"); - - while ($row1 = $result1->fetch_array()) { - $table_data1[] = $row1; - } - } - - $smarty->assign('table_data1', $table_data1); - if ($ufid != '') { - $smarty->assign('umfrageerf_gesp_werte_value_ufid2', "$ufid"); - $query2 = "SELECT uaid, antwort - FROM jumi_umfragen_antworten - WHERE ufid=$ufid - ORDER BY userorder ASC, uaid ASC"; - - $result2 = $db->query($query2) or die("Cannot execute query2"); - $anzahl = $result2->num_rows; - $smarty->assign('table_data2_anz', $anzahl); - while ($row2 = $result2->fetch_array()) { - $table_data2[] = $row2; - } - $smarty->assign('table_data2', $table_data2); - } -} - - - -$smarty->assign('action', "$action"); -$smarty->display("$template/dashboard/$templatename"); - -?> +"; +# exit; +} +require_once "../language/german.inc.php"; + + + +if (isset($_GET['action'])) { + $action = $_GET['action']; +} else { + $action = ''; +} + + +if ($action == '') { + $query1 = "SELECT umid, date_format(datum_von, '%d.%m.%Y (%H:%i)') datum_von, date_format(datum_bis, '%d.%m.%Y (%H:%i)') datum_bis, headline + FROM jumi_umfragen + ORDER BY umid DESC"; + + $result1 = $db->query($query1) or die("Cannot execute query1a"); + + while ($row1 = $result1->fetch_array()) { + $table_data1[] = $row1; + } + $smarty->assign('table_data1', $table_data1); + +} + + +if ($action == 'fragen') { + + $umid = $_SESSION["umfrageerf_umid"]; + + # Focus/Session setzen + $result = $db->query("SELECT count(*) Anz FROM jumi_umfragen_fragen WHERE umid='$umid'"); + $row = $result->fetch_array(); + # Wenn man bei mehreren Fragen eine Frage löscht ist Anz nicht 0 und der Focus sitzt bei Antwort + if ($umid == '' or $_GET['tabufid'] == "neuefrage" or $row['Anz'] == '0') { + $smarty->assign('umfrageerf_focus', "frage"); + unset($_SESSION["umfrageerf_ufid"]); + unset($_SESSION["umfrageerf_uaid"]); + } else { + $smarty->assign('umfrageerf_focus', "antwort"); + } + + + if (isset($_POST['datumvon']) and $_POST['datumvon'] != '') { + $datumvon = $_POST['datumvon']; + $_SESSION["umfrageerf_value_datumvon"] = $datumvon; + } else { + if ($_SESSION["umfrageerf_value_datumvon"] == '') { + echo ""; + } + $datumvon = $_SESSION["umfrageerf_value_datumvon"]; + } + + if (isset($_POST['zeitvon']) and $_POST['zeitvon'] != '') { + $zeitvon = $_POST['zeitvon']; + $_SESSION["umfrageerf_value_zeitvon"] = $zeitvon; + } else { + if ($_SESSION["umfrageerf_value_zeitvon"] == '') { + echo ""; + } + $zeitvon = $_SESSION["umfrageerf_value_zeitvon"]; + } + + if (isset($_POST['datumbis']) and $_POST['datumbis'] != '') { + $datumbis = $_POST['datumbis']; + $_SESSION["umfrageerf_value_datumbis"] = $datumbis; + } else { + if ($_SESSION["umfrageerf_value_datumbis"] == '') { + echo ""; + } + $datumbis = $_SESSION["umfrageerf_value_datumbis"]; + } + + if (isset($_POST['zeitbis']) and $_POST['zeitbis'] != '') { + $zeitbis = $_POST['zeitbis']; + $_SESSION["umfrageerf_value_zeitbis"] = $zeitbis; + } else { + if ($_SESSION["umfrageerf_value_zeitbis"] == '') { + echo ""; + } + $zeitbis = $_SESSION["umfrageerf_value_zeitbis"]; + } + + if (isset($_POST['headline']) and trim($_POST['headline']) != '') { + $headline = trim($_POST['headline']); + $_SESSION["umfrageerf_value_headline"] = $headline; + } else { + if ($_SESSION["umfrageerf_value_headline"] == '') { + echo ""; + } + $headline = $_SESSION["umfrageerf_value_headline"]; + } + + if(!isset($_GET['erfassen'])){ + if (isset($_POST['freitext']) and trim($_POST['freitext']) != '') { + $freitext = '1'; + $_SESSION["umfrageerf_value_freitext"] = $freitext; + }else{ + $freitext = '0'; + $_SESSION["umfrageerf_value_freitext"] = $freitext; + } + }else{ + $freitext = $_SESSION["umfrageerf_value_freitext"]; + } + + + $datumvon_form = preg_replace('/^(\\d{2})\\.(\\d{2})\\.(\\d{4})$/', '$3-$2-$1', $datumvon); + $datumbis_form = preg_replace('/^(\\d{2})\\.(\\d{2})\\.(\\d{4})$/', '$3-$2-$1', $datumbis); + $datum_von = $datumvon_form . " " . $zeitvon . ":00"; + $datum_bis = $datumbis_form . " " . $zeitbis . ":00"; + + function validateDate($date, $format = 'Y-m-d') + { + $d = DateTime::createFromFormat($format, $date); + return $d && $d->format($format) == $date; + } + + if (!validateDate($datumvon_form)) { + echo ""; + exit; + } + + if (!validateDate($datumbis_form)) { + echo ""; + exit; + } + + + if(!isset($_GET['erfassen'])){ + if ($umid == '') { + $datum = date("Y-m-d H:i:s"); + + $sql1 = $db->query("INSERT INTO jumi_umfragen ( datum_von + , datum_bis + , headline + , uid + , datum_erfasst + , freitext + ) + VALUES + ( '$datum_von' + , '$datum_bis' + , '$headline' + , '$uid' + , '$datum' + , '$freitext' + ) + "); + $umid = $db->insert_id; + $_SESSION["umfrageerf_umid"] = $umid; + }else{ + $update = $db->query("UPDATE jumi_umfragen + SET datum_von ='$datum_von' + ,datum_bis ='$datum_bis' + ,headline = '$headline' + ,freitext = '$freitext' + WHERE umid = $umid + "); + + } + } + + if (isset($_GET['tabufid']) and $_GET['tabufid'] != '') { + if ($_GET['tabufid'] == "neuefrage") { + $_SESSION["umfrageerf_ufid"] = ""; + } else { + $_SESSION["umfrageerf_ufid"] = $_GET['tabufid']; + } + } + $ufid = $_SESSION["umfrageerf_ufid"]; + if ($ufid != '') { + $result_frage = $db->query("SELECT frage, multiple + FROM jumi_umfragen_fragen + WHERE ufid = $ufid"); + $row_frage = $result_frage->fetch_array(); + $smarty->assign('umfrageerf_value_frage', htmlspecialchars($row_frage['frage'])); + $smarty->assign('umfrageerf_value_multiple', $row_frage['multiple']); + $smarty->assign('umfrageerf_value_ufid', $ufid); + } + + # Gespeicherte Werte + if ($umid != '') { + $query1 = "SELECT ufid, frage + FROM jumi_umfragen_fragen + WHERE umid=$umid + ORDER BY ufid ASC"; + + $result1 = $db->query($query1) or die("Cannot execute query1a"); + + while ($row1 = $result1->fetch_array()) { + $table_data1[] = $row1; + } + } + + $smarty->assign('table_data1', $table_data1); + if ($ufid != '') { + $smarty->assign('umfrageerf_gesp_werte_value_ufid2', "$ufid"); + $query2 = "SELECT uaid, antwort + FROM jumi_umfragen_antworten + WHERE ufid=$ufid + ORDER BY userorder ASC, uaid ASC"; + + $result2 = $db->query($query2) or die("Cannot execute query2"); + $anzahl = $result2->num_rows; + $smarty->assign('table_data2_anz', $anzahl); + while ($row2 = $result2->fetch_array()) { + $table_data2[] = $row2; + } + $smarty->assign('table_data2', $table_data2); + } +} + + + +$smarty->assign('action', "$action"); +$smarty->display("$template/dashboard/$templatename"); + +?> diff --git a/dashboard/test.php b/dashboard/test.php index 685e74a..8dea40f 100644 --- a/dashboard/test.php +++ b/dashboard/test.php @@ -1,25 +1,24 @@ -"; - exit; -} -$templatename = substr(basename($_SERVER['PHP_SELF']), 0, -3) . "html"; -require_once "../language/german.inc.php"; - - $row10['originalname'] = "Einwilligungserklaerung_personenbezogene_Daten.pdf"; - $dateiarray = explode(".",$row10['originalname']); - $endung = ".".$dateiarray[count($dateiarray)-1]; - $datei_short = substr($row10['originalname'],0,8)."[...]".$endung; - echo $datei_short; - -#$smarty->assign('action', "$action"); -#$smarty->display("modern/dashboard/$templatename"); -?> + $val) { + echo "($key) "; + echo imap_utf7_decode($val->name) . ","; + echo "'" . $val->delimiter . "',"; + echo $val->attributes . "
\n"; + } +} else { + echo "imap_getmailboxes failed: " . imap_last_error() . "\n"; +} + +imap_close($mbox); +?> \ No newline at end of file diff --git a/dashboard/userzuordnung.php b/dashboard/userzuordnung.php index 3905fd7..96a0b7c 100644 --- a/dashboard/userzuordnung.php +++ b/dashboard/userzuordnung.php @@ -1,64 +1,64 @@ -"; - exit; -} -require_once "../language/german.inc.php"; - - - -if (isset($_GET['action'])) { - $action = $_GET['action']; -} else { - $action = ''; -} - - -if ($action == '') { - if (isset($_GET['edit'])) { - $rid = $_GET['edit']; - $smarty->assign('rollen_edit', $rid); - } - - $result_head = $db->query("SELECT bezeichnung FROM jumi_admin_rolle WHERE rid=$rid"); - $row_head = $result_head->fetch_array(); - $smarty->assign('rollenzuordnung_bezeichnung', $row_head['bezeichnung']); - - # Nicht zugewiesene User - $query = "SELECT uid, vorname, nachname - FROM jumi_admin - WHERE uid NOT IN (SELECT uid FROM jumi_admin_rollen_user_zuord WHERE rid=$rid) - ORDER BY nachname ASC"; - - $result = $db->query($query) or die("Cannot execute query"); - - while ($row = $result->fetch_array()) { - $table_data[] = $row; - } - $smarty->assign('table_data', $table_data); - - # Zugewiesene Rechte - $query1 = "SELECT uid, vorname, nachname - FROM jumi_admin - WHERE uid IN (SELECT uid FROM jumi_admin_rollen_user_zuord WHERE rid=$rid) - ORDER BY nachname ASC"; - - $result1 = $db->query($query1) or die("Cannot execute query1"); - - while ($row1 = $result1->fetch_array()) { - $table_data1[] = $row1; - } - $smarty->assign('table_data1', $table_data1); - -} - -$smarty->assign('action', "$action"); -$smarty->display("$template/dashboard/$templatename"); -?> +"; + exit; +} +require_once "../language/german.inc.php"; + + + +if (isset($_GET['action'])) { + $action = $_GET['action']; +} else { + $action = ''; +} + + +if ($action == '') { + if (isset($_GET['edit'])) { + $rid = $_GET['edit']; + $smarty->assign('rollen_edit', $rid); + } + + $result_head = $db->query("SELECT bezeichnung FROM jumi_admin_rolle WHERE rid=$rid"); + $row_head = $result_head->fetch_array(); + $smarty->assign('rollenzuordnung_bezeichnung', $row_head['bezeichnung']); + + # Nicht zugewiesene User + $query = "SELECT uid, vorname, nachname + FROM jumi_admin + WHERE uid NOT IN (SELECT uid FROM jumi_admin_rollen_user_zuord WHERE rid=$rid) + ORDER BY nachname ASC"; + + $result = $db->query($query) or die("Cannot execute query"); + + while ($row = $result->fetch_array()) { + $table_data[] = $row; + } + $smarty->assign('table_data', $table_data); + + # Zugewiesene Rechte + $query1 = "SELECT uid, vorname, nachname + FROM jumi_admin + WHERE uid IN (SELECT uid FROM jumi_admin_rollen_user_zuord WHERE rid=$rid) + ORDER BY nachname ASC"; + + $result1 = $db->query($query1) or die("Cannot execute query1"); + + while ($row1 = $result1->fetch_array()) { + $table_data1[] = $row1; + } + $smarty->assign('table_data1', $table_data1); + +} + +$smarty->assign('action', "$action"); +$smarty->display("$template/dashboard/$templatename"); +?> diff --git a/js/components/#admin_create_member.js b/js/components/#admin_create_member.js index 1a2b73a..7446685 100644 --- a/js/components/#admin_create_member.js +++ b/js/components/#admin_create_member.js @@ -1,169 +1,169 @@ -function checkUser(){ - var mail = document.getElementById("mail").value; - $.ajax({ - type: 'POST', - url: '../controller/admin_create_member.php', - data: { - 'function': 'checkuser', - 'mail': mail - }, - success: function(result) { //we got the response - if(result!=''){ - $('#msg').show().delay(5000).fadeOut(500); - $('#msg').html(result); - } - }, - error: function(xhr, status, exception) { - console.log(xhr); - } - }); - -} - - -function membersave(){ - var vorname = document.getElementById("vorname").value; - var nachname = document.getElementById("nachname").value; - var mail = document.getElementById("mail").value; - var bemerkung =tinyMCE.get('bemerkung').getContent() - - - //var my_data = $("form").serialize(); - - //komma getrennte Werte bei Mehrfachauswahl - var singstimme = $("#singstimme").val(); - $.ajax({ - type: 'POST', - url: '../controller/admin_create_member.php', - data: { - 'function': 'membersave', - 'vorname': vorname, - 'nachname': nachname, - 'mail': mail, - 'singstimme': singstimme, - 'bemerkung': bemerkung - }, - success: function(result) { //we got the response - if(result!=''){ - var a = result.split('|***|'); - if(a[1]=="success"){ - document.getElementById("vorname").value =""; - document.getElementById("nachname").value =""; - document.getElementById("mail").value =""; - tinymce.get("bemerkung").setContent(""); - var elements = document.getElementById("singstimme").options; - for(var i = 0; i < elements.length; i++){ - elements[i].selected = false; - } - } - $('#msg1').show().delay(10000).fadeOut(500); - $('#msg1').html(a[0]); - } - }, - error: function(xhr, status, exception) { - console.log(xhr); - } - }); -} - -/* - -function userupdate(uid){ - var vorname = document.getElementById("vorname").value; - var nachname = document.getElementById("nachname").value; - var mail = document.getElementById("mail").value; - var pwdback = document.getElementById("pwdback"); - - if(pwdback.checked == true){ - var var_pwdback = 1; - }else{ - var var_pwdback = 0; - } - //var my_data = $("form").serialize(); - - //komma getrennte Werte bei Mehrfachauswahl - var rollen = $("#rollen").val(); - $.ajax({ - type: 'POST', - url: '../controller/admin_create_member.php', - data: { - 'function': 'userupdate', - 'vorname': vorname, - 'nachname': nachname, - 'mail': mail, - 'rollen': rollen, - 'pwdback': var_pwdback, - 'uid': uid - }, - success: function(result) { //we got the response - if(result!=''){ - var a = result.split('|***|'); - if(a[1]=="success"){ - $(document).ajaxStop(function(){ - setTimeout(() => { window.location = "edit_user.php"; }, 1000); - }); - } - $('#msg1').show().delay(10000).fadeOut(500); - $('#msg1').html(a[0]); - } - }, - error: function(xhr, status, exception) { - console.log(xhr); - } - }); -} - -function disableuser(uid){ - - $.ajax({ - type: 'POST', - url: '../controller/admin_create_member.php', - data: { - 'function': 'disableuser', - 'uid': uid - }, - success: function(result) { //we got the response - if(result!=''){ - var a = result.split('|***|'); - if(a[1]=="success"){ - $(document).ajaxStop(function(){ - setTimeout(() => { window.location = "edit_user.php"; }, 1000); - }); - } - $('#msg').show().delay(10000).fadeOut(500); - $('#msg').html(a[0]); - } - }, - error: function(xhr, status, exception) { - console.log(xhr); - } - }); -} - -function enableuser(uid){ - - $.ajax({ - type: 'POST', - url: '../controller/admin_create_member.php', - data: { - 'function': 'enableuser', - 'uid': uid - }, - success: function(result) { //we got the response - if(result!=''){ - var a = result.split('|***|'); - if(a[1]=="success"){ - $(document).ajaxStop(function(){ - setTimeout(() => { window.location = "edit_user.php"; }, 1000); - }); - } - $('#msg').show().delay(10000).fadeOut(500); - $('#msg').html(a[0]); - } - }, - error: function(xhr, status, exception) { - console.log(xhr); - } - }); -} +function checkUser(){ + var mail = document.getElementById("mail").value; + $.ajax({ + type: 'POST', + url: '../controller/admin_create_member.php', + data: { + 'function': 'checkuser', + 'mail': mail + }, + success: function(result) { //we got the response + if(result!=''){ + $('#msg').show().delay(5000).fadeOut(500); + $('#msg').html(result); + } + }, + error: function(xhr, status, exception) { + console.log(xhr); + } + }); + +} + + +function membersave(){ + var vorname = document.getElementById("vorname").value; + var nachname = document.getElementById("nachname").value; + var mail = document.getElementById("mail").value; + var bemerkung =tinyMCE.get('bemerkung').getContent() + + + //var my_data = $("form").serialize(); + + //komma getrennte Werte bei Mehrfachauswahl + var singstimme = $("#singstimme").val(); + $.ajax({ + type: 'POST', + url: '../controller/admin_create_member.php', + data: { + 'function': 'membersave', + 'vorname': vorname, + 'nachname': nachname, + 'mail': mail, + 'singstimme': singstimme, + 'bemerkung': bemerkung + }, + success: function(result) { //we got the response + if(result!=''){ + var a = result.split('|***|'); + if(a[1]=="success"){ + document.getElementById("vorname").value =""; + document.getElementById("nachname").value =""; + document.getElementById("mail").value =""; + tinymce.get("bemerkung").setContent(""); + var elements = document.getElementById("singstimme").options; + for(var i = 0; i < elements.length; i++){ + elements[i].selected = false; + } + } + $('#msg1').show().delay(10000).fadeOut(500); + $('#msg1').html(a[0]); + } + }, + error: function(xhr, status, exception) { + console.log(xhr); + } + }); +} + +/* + +function userupdate(uid){ + var vorname = document.getElementById("vorname").value; + var nachname = document.getElementById("nachname").value; + var mail = document.getElementById("mail").value; + var pwdback = document.getElementById("pwdback"); + + if(pwdback.checked == true){ + var var_pwdback = 1; + }else{ + var var_pwdback = 0; + } + //var my_data = $("form").serialize(); + + //komma getrennte Werte bei Mehrfachauswahl + var rollen = $("#rollen").val(); + $.ajax({ + type: 'POST', + url: '../controller/admin_create_member.php', + data: { + 'function': 'userupdate', + 'vorname': vorname, + 'nachname': nachname, + 'mail': mail, + 'rollen': rollen, + 'pwdback': var_pwdback, + 'uid': uid + }, + success: function(result) { //we got the response + if(result!=''){ + var a = result.split('|***|'); + if(a[1]=="success"){ + $(document).ajaxStop(function(){ + setTimeout(() => { window.location = "edit_user.php"; }, 1000); + }); + } + $('#msg1').show().delay(10000).fadeOut(500); + $('#msg1').html(a[0]); + } + }, + error: function(xhr, status, exception) { + console.log(xhr); + } + }); +} + +function disableuser(uid){ + + $.ajax({ + type: 'POST', + url: '../controller/admin_create_member.php', + data: { + 'function': 'disableuser', + 'uid': uid + }, + success: function(result) { //we got the response + if(result!=''){ + var a = result.split('|***|'); + if(a[1]=="success"){ + $(document).ajaxStop(function(){ + setTimeout(() => { window.location = "edit_user.php"; }, 1000); + }); + } + $('#msg').show().delay(10000).fadeOut(500); + $('#msg').html(a[0]); + } + }, + error: function(xhr, status, exception) { + console.log(xhr); + } + }); +} + +function enableuser(uid){ + + $.ajax({ + type: 'POST', + url: '../controller/admin_create_member.php', + data: { + 'function': 'enableuser', + 'uid': uid + }, + success: function(result) { //we got the response + if(result!=''){ + var a = result.split('|***|'); + if(a[1]=="success"){ + $(document).ajaxStop(function(){ + setTimeout(() => { window.location = "edit_user.php"; }, 1000); + }); + } + $('#msg').show().delay(10000).fadeOut(500); + $('#msg').html(a[0]); + } + }, + error: function(xhr, status, exception) { + console.log(xhr); + } + }); +} */ \ No newline at end of file diff --git a/js/components/admin_changepwd.js b/js/components/admin_changepwd.js index 83a4755..af123b5 100644 --- a/js/components/admin_changepwd.js +++ b/js/components/admin_changepwd.js @@ -1,32 +1,32 @@ -function changepwd(){ - var password = document.getElementById("password").value; - var password_new1 = document.getElementById("password_new1").value; - var password_new2 = document.getElementById("password_new2").value; - - $.ajax({ - type: 'POST', - url: '../controller/admin_changepwd.php', - data: { - 'function': 'changepwd', - 'password': password, - 'password_new1': password_new1, - 'password_new2': password_new2 - }, - success: function(result) { //we got the response - if(result!=''){ - var a = result.split('|***|'); - if(a[1]=="success"){ - document.getElementById("password").value =""; - document.getElementById("password_new1").value =""; - document.getElementById("password_new2").value =""; - - } - $('#msg').show().delay(10000).fadeOut(500); - $('#msg').html(a[0]); - } - }, - error: function(xhr, status, exception) { - console.log(xhr); - } - }); +function changepwd(){ + var password = document.getElementById("password").value; + var password_new1 = document.getElementById("password_new1").value; + var password_new2 = document.getElementById("password_new2").value; + + $.ajax({ + type: 'POST', + url: '../controller/admin_changepwd.php', + data: { + 'function': 'changepwd', + 'password': password, + 'password_new1': password_new1, + 'password_new2': password_new2 + }, + success: function(result) { //we got the response + if(result!=''){ + var a = result.split('|***|'); + if(a[1]=="success"){ + document.getElementById("password").value =""; + document.getElementById("password_new1").value =""; + document.getElementById("password_new2").value =""; + + } + $('#msg').show().delay(10000).fadeOut(500); + $('#msg').html(a[0]); + } + }, + error: function(xhr, status, exception) { + console.log(xhr); + } + }); } \ No newline at end of file diff --git a/js/components/admin_create_user.js b/js/components/admin_create_user.js index 63736c8..2deacc6 100644 --- a/js/components/admin_create_user.js +++ b/js/components/admin_create_user.js @@ -1,163 +1,163 @@ -function checkUser(){ - var mail = document.getElementById("mail").value; - $.ajax({ - type: 'POST', - url: '../controller/admin_create_user.php', - data: { - 'function': 'checkuser', - 'mail': mail - }, - success: function(result) { //we got the response - if(result!=''){ - $('#msg').show().delay(5000).fadeOut(500); - $('#msg').html(result); - } - }, - error: function(xhr, status, exception) { - console.log(xhr); - } - }); - -} - - -function usersave(){ - var vorname = document.getElementById("vorname").value; - var nachname = document.getElementById("nachname").value; - var mail = document.getElementById("mail").value; - //var my_data = $("form").serialize(); - - //komma getrennte Werte bei Mehrfachauswahl - var rollen = $("#rollen").val(); - $.ajax({ - type: 'POST', - url: '../controller/admin_create_user.php', - data: { - 'function': 'usersave', - 'vorname': vorname, - 'nachname': nachname, - 'mail': mail, - 'rollen': rollen - }, - success: function(result) { //we got the response - if(result!=''){ - var a = result.split('|***|'); - if(a[1]=="success"){ - document.getElementById("vorname").value =""; - document.getElementById("nachname").value =""; - document.getElementById("mail").value =""; - var elements = document.getElementById("rollen").options; - for(var i = 0; i < elements.length; i++){ - elements[i].selected = false; - } - } - $('#msg1').show().delay(10000).fadeOut(500); - $('#msg1').html(a[0]); - } - }, - error: function(xhr, status, exception) { - console.log(xhr); - } - }); -} - - - -function userupdate(uid){ - var vorname = document.getElementById("vorname").value; - var nachname = document.getElementById("nachname").value; - var mail = document.getElementById("mail").value; - var pwdback = document.getElementById("pwdback"); - - if(pwdback.checked == true){ - var var_pwdback = 1; - }else{ - var var_pwdback = 0; - } - //var my_data = $("form").serialize(); - - //komma getrennte Werte bei Mehrfachauswahl - var rollen = $("#rollen").val(); - $.ajax({ - type: 'POST', - url: '../controller/admin_create_user.php', - data: { - 'function': 'userupdate', - 'vorname': vorname, - 'nachname': nachname, - 'mail': mail, - 'rollen': rollen, - 'pwdback': var_pwdback, - 'uid': uid - }, - success: function(result) { //we got the response - if(result!=''){ - var a = result.split('|***|'); - if(a[1]=="success"){ - $(document).ajaxStop(function(){ - setTimeout(() => { window.location = "edit_user.php"; }, 1000); - }); - } - $('#msg1').show().delay(10000).fadeOut(500); - $('#msg1').html(a[0]); - } - }, - error: function(xhr, status, exception) { - console.log(xhr); - } - }); -} - -function disableuser(uid){ - - $.ajax({ - type: 'POST', - url: '../controller/admin_create_user.php', - data: { - 'function': 'disableuser', - 'uid': uid - }, - success: function(result) { //we got the response - if(result!=''){ - var a = result.split('|***|'); - if(a[1]=="success"){ - $(document).ajaxStop(function(){ - setTimeout(() => { window.location = "edit_user.php"; }, 1000); - }); - } - $('#msg').show().delay(10000).fadeOut(500); - $('#msg').html(a[0]); - } - }, - error: function(xhr, status, exception) { - console.log(xhr); - } - }); -} - -function enableuser(uid){ - - $.ajax({ - type: 'POST', - url: '../controller/admin_create_user.php', - data: { - 'function': 'enableuser', - 'uid': uid - }, - success: function(result) { //we got the response - if(result!=''){ - var a = result.split('|***|'); - if(a[1]=="success"){ - $(document).ajaxStop(function(){ - setTimeout(() => { window.location = "edit_user.php"; }, 1000); - }); - } - $('#msg').show().delay(10000).fadeOut(500); - $('#msg').html(a[0]); - } - }, - error: function(xhr, status, exception) { - console.log(xhr); - } - }); +function checkUser(){ + var mail = document.getElementById("mail").value; + $.ajax({ + type: 'POST', + url: '../controller/admin_create_user.php', + data: { + 'function': 'checkuser', + 'mail': mail + }, + success: function(result) { //we got the response + if(result!=''){ + $('#msg').show().delay(5000).fadeOut(500); + $('#msg').html(result); + } + }, + error: function(xhr, status, exception) { + console.log(xhr); + } + }); + +} + + +function usersave(){ + var vorname = document.getElementById("vorname").value; + var nachname = document.getElementById("nachname").value; + var mail = document.getElementById("mail").value; + //var my_data = $("form").serialize(); + + //komma getrennte Werte bei Mehrfachauswahl + var rollen = $("#rollen").val(); + $.ajax({ + type: 'POST', + url: '../controller/admin_create_user.php', + data: { + 'function': 'usersave', + 'vorname': vorname, + 'nachname': nachname, + 'mail': mail, + 'rollen': rollen + }, + success: function(result) { //we got the response + if(result!=''){ + var a = result.split('|***|'); + if(a[1]=="success"){ + document.getElementById("vorname").value =""; + document.getElementById("nachname").value =""; + document.getElementById("mail").value =""; + var elements = document.getElementById("rollen").options; + for(var i = 0; i < elements.length; i++){ + elements[i].selected = false; + } + } + $('#msg1').show().delay(10000).fadeOut(500); + $('#msg1').html(a[0]); + } + }, + error: function(xhr, status, exception) { + console.log(xhr); + } + }); +} + + + +function userupdate(uid){ + var vorname = document.getElementById("vorname").value; + var nachname = document.getElementById("nachname").value; + var mail = document.getElementById("mail").value; + var pwdback = document.getElementById("pwdback"); + + if(pwdback.checked == true){ + var var_pwdback = 1; + }else{ + var var_pwdback = 0; + } + //var my_data = $("form").serialize(); + + //komma getrennte Werte bei Mehrfachauswahl + var rollen = $("#rollen").val(); + $.ajax({ + type: 'POST', + url: '../controller/admin_create_user.php', + data: { + 'function': 'userupdate', + 'vorname': vorname, + 'nachname': nachname, + 'mail': mail, + 'rollen': rollen, + 'pwdback': var_pwdback, + 'uid': uid + }, + success: function(result) { //we got the response + if(result!=''){ + var a = result.split('|***|'); + if(a[1]=="success"){ + $(document).ajaxStop(function(){ + setTimeout(() => { window.location = "edit_user.php"; }, 1000); + }); + } + $('#msg1').show().delay(10000).fadeOut(500); + $('#msg1').html(a[0]); + } + }, + error: function(xhr, status, exception) { + console.log(xhr); + } + }); +} + +function disableuser(uid){ + + $.ajax({ + type: 'POST', + url: '../controller/admin_create_user.php', + data: { + 'function': 'disableuser', + 'uid': uid + }, + success: function(result) { //we got the response + if(result!=''){ + var a = result.split('|***|'); + if(a[1]=="success"){ + $(document).ajaxStop(function(){ + setTimeout(() => { window.location = "edit_user.php"; }, 1000); + }); + } + $('#msg').show().delay(10000).fadeOut(500); + $('#msg').html(a[0]); + } + }, + error: function(xhr, status, exception) { + console.log(xhr); + } + }); +} + +function enableuser(uid){ + + $.ajax({ + type: 'POST', + url: '../controller/admin_create_user.php', + data: { + 'function': 'enableuser', + 'uid': uid + }, + success: function(result) { //we got the response + if(result!=''){ + var a = result.split('|***|'); + if(a[1]=="success"){ + $(document).ajaxStop(function(){ + setTimeout(() => { window.location = "edit_user.php"; }, 1000); + }); + } + $('#msg').show().delay(10000).fadeOut(500); + $('#msg').html(a[0]); + } + }, + error: function(xhr, status, exception) { + console.log(xhr); + } + }); } \ No newline at end of file diff --git a/js/components/admin_edit.js b/js/components/admin_edit.js index a4f341a..2241a23 100644 --- a/js/components/admin_edit.js +++ b/js/components/admin_edit.js @@ -1,20 +1,20 @@ -function onClickDeleteSurvey(id) { - r = confirm('Gesamte Umfrage löschen?'); - if (r) { - $.ajax({ - type: 'POST', - url: '../controller/admin_edit.php', - data: { - 'function': 'deleteSurvey', - 'id': id - }, - success: function(result) { - // document.getElementById("del").innerHTML = "entfernt"; - //Text einblenden geht nicht, da ein Refresh gemacht wird. Dann sieht man den Text nicht - $(document).ajaxStop(function(){ - window.location = "?"; - }); - } - }); - } +function onClickDeleteSurvey(id) { + r = confirm('Gesamte Umfrage löschen?'); + if (r) { + $.ajax({ + type: 'POST', + url: '../controller/admin_edit.php', + data: { + 'function': 'deleteSurvey', + 'id': id + }, + success: function(result) { + // document.getElementById("del").innerHTML = "entfernt"; + //Text einblenden geht nicht, da ein Refresh gemacht wird. Dann sieht man den Text nicht + $(document).ajaxStop(function(){ + window.location = "?"; + }); + } + }); + } } \ No newline at end of file diff --git a/js/components/admin_erfassen.js b/js/components/admin_erfassen.js index 58b5ae1..fa7c386 100644 --- a/js/components/admin_erfassen.js +++ b/js/components/admin_erfassen.js @@ -1,114 +1,114 @@ -function erf_multiple(){ - var checkBox = document.getElementById("multiple"); - - if(checkBox.checked == true){ - var var_multiple = 1; - }else{ - var var_multiple = 0; - } - $.ajax({ - type: 'POST', - url: '../controller/admin_erfassen.php', - data: { - 'function': 'erfmultiple', - 'multiple': var_multiple - }, - success: function(result) { //we got the response -// if(result==-1){ -// alert("Bitte zunächst die Frage erfassen"); -// $(document).ajaxStop(function(){ -// window.location = "?action=fragen&erfassen=1"; -// }); -// }else{ -// $(document).ajaxStop(function(){ -// window.location = "?action=fragen&erfassen=1"; -// }); -// } - }, - error: function(xhr, status, exception) { - console.log(xhr); - } - }); - -} - -function erfassensave(){ - var frage = document.getElementById("frage").value; - var antwort = document.getElementById("antwort").value; - var checkBox = document.getElementById("multiple"); - - if(checkBox.checked == true){ - var var_multiple = 1; - }else{ - var var_multiple = 0; - } - - $.ajax({ - type: 'POST', - url: '../controller/admin_erfassen.php', - data: { - 'function': 'save', - 'frage': frage, - 'antwort': antwort, - 'multiple': var_multiple - }, - success: function(result) { //we got the response - $(document).ajaxStop(function(){ - window.location = "?action=fragen&erfassen=1"; - }); - }, - error: function(xhr, status, exception) { - console.log(xhr); - } - }); - -} - -function onClickDelete(id) { - - document.getElementById("antwort").value = ""; - r = confirm('Antwort löschen?'); - if (r) { - $.ajax({ - type: 'POST', - url: '../controller/admin_erfassen.php', - data: { - 'function': 'delete', - 'tabelle': 'jumi_umfragen_antworten', - 'spalte': 'uaid', - 'id': id - }, - success: function(result) { //we got the response - $(document).ajaxStop(function(){ - window.location = "?action=fragen&erfassen=1"; - }); - }, - error: function(xhr, status, exception) { - console.log(xhr); - } - }); - } -} - -function onClickDeleteQuestion(id2) { - document.getElementById("frage").value = ""; - document.getElementById("antwort").value = ""; - r = confirm('Gesamte Frage löschen?'); - if (r) { - $.ajax({ - type: 'POST', - url: '../controller/admin_erfassen.php', - data: { - 'function': 'deleteQuestion', - 'id2': id2 - }, - success: function(result) { - // document.getElementById("del").innerHTML = "entfernt"; - //Text einblenden geht nicht, da ein Refresh gemacht wird. Dann sieht man den Text nicht - $(document).ajaxStop(function(){ - window.location = "?action=fragen&erfassen=1"; - }); - } - }); - } +function erf_multiple(){ + var checkBox = document.getElementById("multiple"); + + if(checkBox.checked == true){ + var var_multiple = 1; + }else{ + var var_multiple = 0; + } + $.ajax({ + type: 'POST', + url: '../controller/admin_erfassen.php', + data: { + 'function': 'erfmultiple', + 'multiple': var_multiple + }, + success: function(result) { //we got the response +// if(result==-1){ +// alert("Bitte zunächst die Frage erfassen"); +// $(document).ajaxStop(function(){ +// window.location = "?action=fragen&erfassen=1"; +// }); +// }else{ +// $(document).ajaxStop(function(){ +// window.location = "?action=fragen&erfassen=1"; +// }); +// } + }, + error: function(xhr, status, exception) { + console.log(xhr); + } + }); + +} + +function erfassensave(){ + var frage = document.getElementById("frage").value; + var antwort = document.getElementById("antwort").value; + var checkBox = document.getElementById("multiple"); + + if(checkBox.checked == true){ + var var_multiple = 1; + }else{ + var var_multiple = 0; + } + + $.ajax({ + type: 'POST', + url: '../controller/admin_erfassen.php', + data: { + 'function': 'save', + 'frage': frage, + 'antwort': antwort, + 'multiple': var_multiple + }, + success: function(result) { //we got the response + $(document).ajaxStop(function(){ + window.location = "?action=fragen&erfassen=1"; + }); + }, + error: function(xhr, status, exception) { + console.log(xhr); + } + }); + +} + +function onClickDelete(id) { + + document.getElementById("antwort").value = ""; + r = confirm('Antwort löschen?'); + if (r) { + $.ajax({ + type: 'POST', + url: '../controller/admin_erfassen.php', + data: { + 'function': 'delete', + 'tabelle': 'jumi_umfragen_antworten', + 'spalte': 'uaid', + 'id': id + }, + success: function(result) { //we got the response + $(document).ajaxStop(function(){ + window.location = "?action=fragen&erfassen=1"; + }); + }, + error: function(xhr, status, exception) { + console.log(xhr); + } + }); + } +} + +function onClickDeleteQuestion(id2) { + document.getElementById("frage").value = ""; + document.getElementById("antwort").value = ""; + r = confirm('Gesamte Frage löschen?'); + if (r) { + $.ajax({ + type: 'POST', + url: '../controller/admin_erfassen.php', + data: { + 'function': 'deleteQuestion', + 'id2': id2 + }, + success: function(result) { + // document.getElementById("del").innerHTML = "entfernt"; + //Text einblenden geht nicht, da ein Refresh gemacht wird. Dann sieht man den Text nicht + $(document).ajaxStop(function(){ + window.location = "?action=fragen&erfassen=1"; + }); + } + }); + } } \ No newline at end of file diff --git a/js/components/admin_login.js b/js/components/admin_login.js index e3679d5..a5e6440 100644 --- a/js/components/admin_login.js +++ b/js/components/admin_login.js @@ -1,106 +1,106 @@ -function login(){ - var mail = document.getElementById("mail").value; - var password = document.getElementById("password").value; - var angemeldet_bleiben = document.getElementById("angemeldet_bleiben"); - - if(angemeldet_bleiben.checked == true){ - var angemeldet_bleiben = 1; - }else{ - var angemeldet_bleiben = 0; - } - - $.ajax({ - type: 'POST', - url: '../controller/admin_login.php', - data: { - 'function': 'login', - 'mail': mail, - 'password': password, - 'angemeldet_bleiben': angemeldet_bleiben - }, - success: function(result) { //we got the response - if(result!=''){ - var a = result.split('|***|'); - if(a[1]=="success"){ - document.getElementById("mail").value =""; - document.getElementById("password").value =""; - $('#msg').show().delay(1000).fadeOut(500); - $('#msg').html(a[0]); - $(document).ajaxStop(function(){ - setTimeout(() => { window.location = "index.php"; }, 1000); - }); - - }else{ - $('#msg').show().delay(10000).fadeOut(500); - $('#msg').html(a[0]); - } - } - }, - error: function(xhr, status, exception) { - console.log(xhr); - } - }); -} - -function passwortvergessen(){ - var email = document.getElementById("mail_pwvergessen").value; - - $.ajax({ - type: 'POST', - url: '../controller/admin_login.php', - data: { - 'function': 'passwortvergessen', - 'email': email - }, - success: function(result) { //we got the response - if(result!=''){ - var a = result.split('|***|'); - if(a[1]=="success"){ - document.getElementById("mail_pwvergessen").value =""; - } - $('#msg').show().delay(10000).fadeOut(500); - $('#msg').html(a[0]); - } - }, - error: function(xhr, status, exception) { - console.log(xhr); - } - }); -} - - -function resetpasswort(){ - var password_new1 = document.getElementById("password_new1").value; - var password_new2 = document.getElementById("password_new2").value; - var code = document.getElementById("code").value; - var uid = document.getElementById("uid").value; - - $.ajax({ - type: 'POST', - url: '../controller/admin_login.php', - data: { - 'function': 'resetpasswort', - 'password_new1': password_new1, - 'password_new2': password_new2, - 'code': code, - 'uid': uid - }, - success: function(result) { //we got the response - if(result!=''){ - var a = result.split('|***|'); - if(a[1]=="success"){ - document.getElementById("password_new1").value =""; - document.getElementById("password_new2").value =""; - $(document).ajaxStop(function(){ - setTimeout(() => { window.location = "login.php"; }, 1000); - }); - } - $('#msg').show().delay(10000).fadeOut(500); - $('#msg').html(a[0]); - } - }, - error: function(xhr, status, exception) { - console.log(xhr); - } - }); +function login(){ + var mail = document.getElementById("mail").value; + var password = document.getElementById("password").value; + var angemeldet_bleiben = document.getElementById("angemeldet_bleiben"); + + if(angemeldet_bleiben.checked == true){ + var angemeldet_bleiben = 1; + }else{ + var angemeldet_bleiben = 0; + } + + $.ajax({ + type: 'POST', + url: '../controller/admin_login.php', + data: { + 'function': 'login', + 'mail': mail, + 'password': password, + 'angemeldet_bleiben': angemeldet_bleiben + }, + success: function(result) { //we got the response + if(result!=''){ + var a = result.split('|***|'); + if(a[1]=="success"){ + document.getElementById("mail").value =""; + document.getElementById("password").value =""; + $('#msg').show().delay(1000).fadeOut(500); + $('#msg').html(a[0]); + $(document).ajaxStop(function(){ + setTimeout(() => { window.location = "index.php"; }, 1000); + }); + + }else{ + $('#msg').show().delay(10000).fadeOut(500); + $('#msg').html(a[0]); + } + } + }, + error: function(xhr, status, exception) { + console.log(xhr); + } + }); +} + +function passwortvergessen(){ + var email = document.getElementById("mail_pwvergessen").value; + + $.ajax({ + type: 'POST', + url: '../controller/admin_login.php', + data: { + 'function': 'passwortvergessen', + 'email': email + }, + success: function(result) { //we got the response + if(result!=''){ + var a = result.split('|***|'); + if(a[1]=="success"){ + document.getElementById("mail_pwvergessen").value =""; + } + $('#msg').show().delay(10000).fadeOut(500); + $('#msg').html(a[0]); + } + }, + error: function(xhr, status, exception) { + console.log(xhr); + } + }); +} + + +function resetpasswort(){ + var password_new1 = document.getElementById("password_new1").value; + var password_new2 = document.getElementById("password_new2").value; + var code = document.getElementById("code").value; + var uid = document.getElementById("uid").value; + + $.ajax({ + type: 'POST', + url: '../controller/admin_login.php', + data: { + 'function': 'resetpasswort', + 'password_new1': password_new1, + 'password_new2': password_new2, + 'code': code, + 'uid': uid + }, + success: function(result) { //we got the response + if(result!=''){ + var a = result.split('|***|'); + if(a[1]=="success"){ + document.getElementById("password_new1").value =""; + document.getElementById("password_new2").value =""; + $(document).ajaxStop(function(){ + setTimeout(() => { window.location = "login.php"; }, 1000); + }); + } + $('#msg').show().delay(10000).fadeOut(500); + $('#msg').html(a[0]); + } + }, + error: function(xhr, status, exception) { + console.log(xhr); + } + }); } \ No newline at end of file diff --git a/js/components/admin_notenbuch.js b/js/components/admin_notenbuch.js index aebeac8..59c4312 100644 --- a/js/components/admin_notenbuch.js +++ b/js/components/admin_notenbuch.js @@ -1,294 +1,294 @@ -function notenbuchsave() { - var notenbuch = document.getElementById("notenbuchname").value; - var anz_lizenz = document.getElementById("notenbuchlizenz").value; - var checkliz = document.getElementById("checkliz"); - - if (checkliz.checked == true) { - var var_checkliz = 1; - } else { - var var_checkliz = 0; - } - $.ajax({ - type: 'POST', - url: '../controller/admin_notenbuch.php', - data: { - 'function': 'notenbuchsave', - 'notenbuch': notenbuch, - 'var_checkliz': var_checkliz, - 'anz_lizenz': anz_lizenz - }, - success: function(result) { //we got the response - if (result != '') { - var a = result.split('|***|'); - if (a[1] == "success") { - setTimeout(function() { - document.getElementById("notenbuchname").value = ""; - window.location = "?"; - }, 1000); - } - $('#msg').show().delay(1000).fadeOut(500); - $('#msg').html(a[0]); - } - }, - error: function(xhr, status, exception) { - console.log(xhr); - } - }); - -} - -function notenbuchupdate(zsid) { - var notenbuch = document.getElementById("notenbuchname").value; - var anz_lizenz = document.getElementById("notenbuchlizenz").value; - var checkliz = document.getElementById("checkliz"); - - if (checkliz.checked == true) { - var var_checkliz = 1; - } else { - var var_checkliz = 0; - } - $.ajax({ - type: 'POST', - url: '../controller/admin_notenbuch.php', - data: { - 'function': 'notenbuchupdate', - 'notenbuch': notenbuch, - 'var_checkliz': var_checkliz, - 'zsid': zsid, - 'anz_lizenz': anz_lizenz - - }, - success: function(result) { //we got the response - if (result != '') { - var a = result.split('|***|'); - if (a[1] == "success") { - setTimeout(function() { - document.getElementById("notenbuchname").value = ""; - window.location = "?"; - }, 1000); - } - $('#msg').show().delay(1000).fadeOut(500); - $('#msg').html(a[0]); - } - }, - error: function(xhr, status, exception) { - console.log(xhr); - } - }); - -} - -function editNotenbuch(zsid) { - - $.ajax({ - type: 'POST', - url: '../controller/admin_notenbuch.php', - data: { - 'function': 'editNotenbuch', - 'zsid': zsid - }, - success: function(result) { //we got the response - const obj = JSON.parse(result); - var bezeichnung = obj.bezeichnung; - var lizenzpflicht = obj.lizenzpflicht; - var anzahl_lizenz = obj.anzahl_lizenz; - - document.getElementById('notenbuchname').value = bezeichnung; - document.getElementById('save').onclick = function() { - notenbuchupdate(zsid) - }; - document.getElementById('save').innerText = 'Update'; - - if (lizenzpflicht == 1) { - document.getElementById("checkliz").checked = true; - document.getElementById('notenbuchlizenz').disabled = false; - document.getElementById('notenbuchlizenz').value = anzahl_lizenz; - } else { - document.getElementById("checkliz").checked = false; - document.getElementById('notenbuchlizenz').disabled = true; - document.getElementById('notenbuchlizenz').value = ''; - } - - // if(result!=''){ - // var a = result.split('|***|'); - // if(a[1]=="success"){ - // setTimeout(function() { - // document.getElementById("notenbuchname").value =""; - // window.location = "?"; - // }, 1000); - // } - // $('#msg').show().delay(1000).fadeOut(500); - // $('#msg').html(a[0]); - // } - }, - error: function(xhr, status, exception) { - console.log(xhr); - } - }); - -} - -function erfzuordnung(jndid, zsid) { - - $.ajax({ - type: 'POST', - url: '../controller/admin_notenbuch.php', - data: { - 'function': 'erfzuordnung', - 'jndid': jndid, - 'zsid': zsid - }, - success: function(result) { //we got the response - if (result != '') { - var a = result.split('|***|'); - if (a[1] == "success") { - setTimeout(function() { - // Refresh Modal - var value = a[2]; - // load the url and show modal on success - $("#ZuordnungModal .modal-body").load('notenbuchzuordnung.php?edit=' + value, function() { - $("#ZuordnungModal").modal("show"); - }); - }, 1000); - } - $('#msg').show().delay(1000).fadeOut(500); - $('#msg').html(a[0]); - } - }, - error: function(xhr, status, exception) { - console.log(xhr); - } - }); -} - -function delzuordnung(jndid, zsid) { - - - $.ajax({ - type: 'POST', - url: '../controller/admin_notenbuch.php', - data: { - 'function': 'delzuordnung', - 'jndid': jndid, - 'zsid': zsid - }, - success: function(result) { //we got the response - if (result != '') { - var a = result.split('|***|'); - if (a[1] == "success") { - setTimeout(function() { - // Refresh Modal - var value = a[2]; - // load the url and show modal on success - $("#ZuordnungModal .modal-body").load('notenbuchzuordnung.php?edit=' + value, function() { - $("#ZuordnungModal").modal("show"); - }); - }, 2000); - } - $('#msg').show().delay(1000).fadeOut(500); - $('#msg').html(a[0]); - } - }, - error: function(xhr, status, exception) { - console.log(xhr); - } - }); -} - - -function erfNotenUser(csid, zsid) { - - $.ajax({ - type: 'POST', - url: '../controller/admin_notenbuch.php', - data: { - 'function': 'erfNotenUser', - 'csid': csid, - 'zsid': zsid - }, - success: function(result) { //we got the response - if (result != '') { - var a = result.split('|***|'); - if (a[1] == "success") { - $(document).ajaxStop(function() { - // Refresh Modal - var value = a[2]; - // load the url and show modal on success - $("#ZuordnungModal .modal-body").load('notenuserzuordnung.php?edit=' + value, function() { - $("#ZuordnungModal").modal("show"); - }); - }); - } - $('#msg').show().delay(5000).fadeOut(500); - $('#msg').html(a[0]); - } - }, - error: function(xhr, status, exception) { - console.log(xhr); - } - }); -} - -function delNotenUser(csid, zsid) { - - $.ajax({ - type: 'POST', - url: '../controller/admin_notenbuch.php', - data: { - 'function': 'delNotenUser', - 'csid': csid, - 'zsid': zsid - }, - success: function(result) { //we got the response - if (result != '') { - var a = result.split('|***|'); - if (a[1] == "success") { - $(document).ajaxStop(function() { - - // Refresh Modal - var value = a[2]; - // load the url and show modal on success - $("#ZuordnungModal .modal-body").load('notenuserzuordnung.php?edit=' + value, function() { - $("#ZuordnungModal").modal("show"); - }); - }); - } - $('#msg').show().delay(10000).fadeOut(500); - $('#msg').html(a[0]); - } - }, - error: function(xhr, status, exception) { - console.log(xhr); - } - }); -} - - -function delZusammenstellung(zsid) { - r = confirm('Zusammenstellung löschen?'); - if (r) { - $.ajax({ - type: 'POST', - url: '../controller/admin_notenbuch.php', - data: { - 'function': 'delZusammenstellung', - 'zsid': zsid - }, - success: function(result) { //we got the response - if (result != '') { - var a = result.split('|***|'); - if (a[1] == "success") { - $(document).ajaxStop(function() { - window.location = "?"; - }); - } - $('#msg').show().delay(10000).fadeOut(500); - $('#msg').html(a[0]); - } - }, - error: function(xhr, status, exception) { - console.log(xhr); - } - }); - } +function notenbuchsave() { + var notenbuch = document.getElementById("notenbuchname").value; + var anz_lizenz = document.getElementById("notenbuchlizenz").value; + var checkliz = document.getElementById("checkliz"); + + if (checkliz.checked == true) { + var var_checkliz = 1; + } else { + var var_checkliz = 0; + } + $.ajax({ + type: 'POST', + url: '../controller/admin_notenbuch.php', + data: { + 'function': 'notenbuchsave', + 'notenbuch': notenbuch, + 'var_checkliz': var_checkliz, + 'anz_lizenz': anz_lizenz + }, + success: function(result) { //we got the response + if (result != '') { + var a = result.split('|***|'); + if (a[1] == "success") { + setTimeout(function() { + document.getElementById("notenbuchname").value = ""; + window.location = "?"; + }, 1000); + } + $('#msg').show().delay(1000).fadeOut(500); + $('#msg').html(a[0]); + } + }, + error: function(xhr, status, exception) { + console.log(xhr); + } + }); + +} + +function notenbuchupdate(zsid) { + var notenbuch = document.getElementById("notenbuchname").value; + var anz_lizenz = document.getElementById("notenbuchlizenz").value; + var checkliz = document.getElementById("checkliz"); + + if (checkliz.checked == true) { + var var_checkliz = 1; + } else { + var var_checkliz = 0; + } + $.ajax({ + type: 'POST', + url: '../controller/admin_notenbuch.php', + data: { + 'function': 'notenbuchupdate', + 'notenbuch': notenbuch, + 'var_checkliz': var_checkliz, + 'zsid': zsid, + 'anz_lizenz': anz_lizenz + + }, + success: function(result) { //we got the response + if (result != '') { + var a = result.split('|***|'); + if (a[1] == "success") { + setTimeout(function() { + document.getElementById("notenbuchname").value = ""; + window.location = "?"; + }, 1000); + } + $('#msg').show().delay(1000).fadeOut(500); + $('#msg').html(a[0]); + } + }, + error: function(xhr, status, exception) { + console.log(xhr); + } + }); + +} + +function editNotenbuch(zsid) { + + $.ajax({ + type: 'POST', + url: '../controller/admin_notenbuch.php', + data: { + 'function': 'editNotenbuch', + 'zsid': zsid + }, + success: function(result) { //we got the response + const obj = JSON.parse(result); + var bezeichnung = obj.bezeichnung; + var lizenzpflicht = obj.lizenzpflicht; + var anzahl_lizenz = obj.anzahl_lizenz; + + document.getElementById('notenbuchname').value = bezeichnung; + document.getElementById('save').onclick = function() { + notenbuchupdate(zsid) + }; + document.getElementById('save').innerText = 'Update'; + + if (lizenzpflicht == 1) { + document.getElementById("checkliz").checked = true; + document.getElementById('notenbuchlizenz').disabled = false; + document.getElementById('notenbuchlizenz').value = anzahl_lizenz; + } else { + document.getElementById("checkliz").checked = false; + document.getElementById('notenbuchlizenz').disabled = true; + document.getElementById('notenbuchlizenz').value = ''; + } + + // if(result!=''){ + // var a = result.split('|***|'); + // if(a[1]=="success"){ + // setTimeout(function() { + // document.getElementById("notenbuchname").value =""; + // window.location = "?"; + // }, 1000); + // } + // $('#msg').show().delay(1000).fadeOut(500); + // $('#msg').html(a[0]); + // } + }, + error: function(xhr, status, exception) { + console.log(xhr); + } + }); + +} + +function erfzuordnung(jndid, zsid) { + + $.ajax({ + type: 'POST', + url: '../controller/admin_notenbuch.php', + data: { + 'function': 'erfzuordnung', + 'jndid': jndid, + 'zsid': zsid + }, + success: function(result) { //we got the response + if (result != '') { + var a = result.split('|***|'); + if (a[1] == "success") { + setTimeout(function() { + // Refresh Modal + var value = a[2]; + // load the url and show modal on success + $("#ZuordnungModal .modal-body").load('notenbuchzuordnung.php?edit=' + value, function() { + $("#ZuordnungModal").modal("show"); + }); + }, 1000); + } + $('#msg').show().delay(1000).fadeOut(500); + $('#msg').html(a[0]); + } + }, + error: function(xhr, status, exception) { + console.log(xhr); + } + }); +} + +function delzuordnung(jndid, zsid) { + + + $.ajax({ + type: 'POST', + url: '../controller/admin_notenbuch.php', + data: { + 'function': 'delzuordnung', + 'jndid': jndid, + 'zsid': zsid + }, + success: function(result) { //we got the response + if (result != '') { + var a = result.split('|***|'); + if (a[1] == "success") { + setTimeout(function() { + // Refresh Modal + var value = a[2]; + // load the url and show modal on success + $("#ZuordnungModal .modal-body").load('notenbuchzuordnung.php?edit=' + value, function() { + $("#ZuordnungModal").modal("show"); + }); + }, 2000); + } + $('#msg').show().delay(1000).fadeOut(500); + $('#msg').html(a[0]); + } + }, + error: function(xhr, status, exception) { + console.log(xhr); + } + }); +} + + +function erfNotenUser(csid, zsid) { + + $.ajax({ + type: 'POST', + url: '../controller/admin_notenbuch.php', + data: { + 'function': 'erfNotenUser', + 'csid': csid, + 'zsid': zsid + }, + success: function(result) { //we got the response + if (result != '') { + var a = result.split('|***|'); + if (a[1] == "success") { + $(document).ajaxStop(function() { + // Refresh Modal + var value = a[2]; + // load the url and show modal on success + $("#ZuordnungModal .modal-body").load('notenuserzuordnung.php?edit=' + value, function() { + $("#ZuordnungModal").modal("show"); + }); + }); + } + $('#msg').show().delay(5000).fadeOut(500); + $('#msg').html(a[0]); + } + }, + error: function(xhr, status, exception) { + console.log(xhr); + } + }); +} + +function delNotenUser(csid, zsid) { + + $.ajax({ + type: 'POST', + url: '../controller/admin_notenbuch.php', + data: { + 'function': 'delNotenUser', + 'csid': csid, + 'zsid': zsid + }, + success: function(result) { //we got the response + if (result != '') { + var a = result.split('|***|'); + if (a[1] == "success") { + $(document).ajaxStop(function() { + + // Refresh Modal + var value = a[2]; + // load the url and show modal on success + $("#ZuordnungModal .modal-body").load('notenuserzuordnung.php?edit=' + value, function() { + $("#ZuordnungModal").modal("show"); + }); + }); + } + $('#msg').show().delay(10000).fadeOut(500); + $('#msg').html(a[0]); + } + }, + error: function(xhr, status, exception) { + console.log(xhr); + } + }); +} + + +function delZusammenstellung(zsid) { + r = confirm('Zusammenstellung löschen?'); + if (r) { + $.ajax({ + type: 'POST', + url: '../controller/admin_notenbuch.php', + data: { + 'function': 'delZusammenstellung', + 'zsid': zsid + }, + success: function(result) { //we got the response + if (result != '') { + var a = result.split('|***|'); + if (a[1] == "success") { + $(document).ajaxStop(function() { + window.location = "?"; + }); + } + $('#msg').show().delay(10000).fadeOut(500); + $('#msg').html(a[0]); + } + }, + error: function(xhr, status, exception) { + console.log(xhr); + } + }); + } } \ No newline at end of file diff --git a/js/components/admin_notenupload.js b/js/components/admin_notenupload.js index d8b62d6..03ea046 100644 --- a/js/components/admin_notenupload.js +++ b/js/components/admin_notenupload.js @@ -1,38 +1,38 @@ -// Anders als sonst. Hier ist das Javascript auf der ID des Textfelds -// https://stackoverflow.com/questions/8300381/jquery-ui-autocomplete-how-to-send-post-data - -$("#titel").autocomplete({ - source: function(request, response) { - $.ajax({ - type: "POST", - url: "../controller/admin_suche.php", - data: { - term: request.term, - function: "titel" - }, - success: response, - dataType: 'json', - delay: 10 - }); - } -}, { - minLength: 2 -}); - -$("#verlag").autocomplete({ - source: function(request, response) { - $.ajax({ - type: "POST", - url: "../controller/admin_suche.php", - data: { - term: request.term, - function: "verlag" - }, - success: response, - dataType: 'json', - delay: 10 - }); - } -}, { - minLength: 2 +// Anders als sonst. Hier ist das Javascript auf der ID des Textfelds +// https://stackoverflow.com/questions/8300381/jquery-ui-autocomplete-how-to-send-post-data + +$("#titel").autocomplete({ + source: function(request, response) { + $.ajax({ + type: "POST", + url: "../controller/admin_suche.php", + data: { + term: request.term, + function: "titel" + }, + success: response, + dataType: 'json', + delay: 10 + }); + } +}, { + minLength: 2 +}); + +$("#verlag").autocomplete({ + source: function(request, response) { + $.ajax({ + type: "POST", + url: "../controller/admin_suche.php", + data: { + term: request.term, + function: "verlag" + }, + success: response, + dataType: 'json', + delay: 10 + }); + } +}, { + minLength: 2 }); \ No newline at end of file diff --git a/js/components/admin_parameter.js b/js/components/admin_parameter.js index b11e473..b5fb2bf 100644 --- a/js/components/admin_parameter.js +++ b/js/components/admin_parameter.js @@ -1,22 +1,22 @@ -function onClickSaveParameter() { -var inputs = $(":input").serializeArray() -inputs = JSON.stringify(inputs) - $.ajax({ - type: 'POST', - url: '../controller/admin_parameter.php', - data: { - 'function': 'saveParameter', - 'inputs': inputs - }, - success: function(result) { //we got the response - if(result!=''){ - var a = result.split('|***|'); - $('#msg').show().delay(5000).fadeOut(500); - $('#msg').html(a[0]); - } - }, - error: function(xhr, status, exception) { - console.log(xhr); - } - }); +function onClickSaveParameter() { +var inputs = $(":input").serializeArray() +inputs = JSON.stringify(inputs) + $.ajax({ + type: 'POST', + url: '../controller/admin_parameter.php', + data: { + 'function': 'saveParameter', + 'inputs': inputs + }, + success: function(result) { //we got the response + if(result!=''){ + var a = result.split('|***|'); + $('#msg').show().delay(5000).fadeOut(500); + $('#msg').html(a[0]); + } + }, + error: function(xhr, status, exception) { + console.log(xhr); + } + }); } \ No newline at end of file diff --git a/js/components/admin_phpmailer.js b/js/components/admin_phpmailer.js new file mode 100644 index 0000000..a870fee --- /dev/null +++ b/js/components/admin_phpmailer.js @@ -0,0 +1,73 @@ + $(document).ready(function (e){ + $("#frmEnquiry").on('submit',(function(e){ + e.preventDefault(); + $('#loader-icon').show(); + var valid; + valid = validateContact(); + if(valid) { + $.ajax({ + url: "../controller/admin_phpmailer.php", + type: "POST", + data: new FormData(this), + contentType: false, + cache: false, + processData:false, + success: function(data){ +//alert(data); + $("#mail-status").html(data); + $('#loader-icon').hide(); + }, + error: function(){} + + }); + } + })); + + function validateContact() { + var valid = true; + $(".InputBox").css('background-color',''); + $(".info").html(''); +// $("#userName").removeClass("invalid"); +// $("#userEmail").removeClass("invalid"); + $("#empfaenger").removeClass("invalid"); + $("#subject").removeClass("invalid"); + $("#content").removeClass("invalid"); + // Bei TinyMCE geht das anders + var t = tinyMCE.get(0); + var color = '#fff'; + t.getBody().style.backgroundColor = color; + + if($("#empfaenger").val()=='') { + $("#empfaenger").addClass("invalid"); + $("#empfaenger").attr("title","Required"); + valid = false; + } +/* + if(!$("#userEmail").val()) { + $("#userEmail").addClass("invalid"); + $("#userEmail").attr("title","Required"); + valid = false; + } + if(!$("#userEmail").val().match(/^([\w-\.]+@([\w-]+\.)+[\w-]{2,4})?$/)) { + $("#userEmail").addClass("invalid"); + $("#userEmail").attr("title","Invalid Email"); + valid = false; + } +*/ + if(!$("#subject").val()) { + + $("#subject").addClass("invalid"); + $("#subject").attr("title","Required"); + valid = false; + } + if($("#content").val()=='') { + var color = '#fbf2f2'; + t.getBody().style.backgroundColor = color; + $("#content").attr("title","Required"); + valid = false; + } + + return valid; + } + + }); diff --git a/js/components/admin_rollen.js b/js/components/admin_rollen.js index 4db45fb..657c9ba 100644 --- a/js/components/admin_rollen.js +++ b/js/components/admin_rollen.js @@ -1,207 +1,207 @@ -function rollesave(){ - var rollenname = document.getElementById("rollenname").value; - - $.ajax({ - type: 'POST', - url: '../controller/admin_rollen.php', - data: { - 'function': 'rollesave', - 'rollenname': rollenname - }, - success: function(result) { //we got the response - if(result!=''){ - var a = result.split('|***|'); - if(a[1]=="success"){ - document.getElementById("rollenname").value =""; - $(document).ajaxStop(function(){ - window.location = "?"; - }); - } - $('#msg').show().delay(10000).fadeOut(500); - $('#msg').html(a[0]); - } - }, - error: function(xhr, status, exception) { - console.log(xhr); - } - }); - -} -function erfzuordnung(val) { - var param = val.split('|'); - var meid = param[0]; - var rid = param[1]; - - $.ajax({ - type: 'POST', - url: '../controller/admin_rollen.php', - data: { - 'function': 'erfzuordnung', - 'meid': meid, - 'rid': rid - }, - success: function(result) { //we got the response - if(result!=''){ - var a = result.split('|***|'); - if(a[1]=="success"){ - $(document).ajaxStop(function(){ - // Refresh Modal - var value = a[2]; - // load the url and show modal on success - $("#ZuordnungModal .modal-body").load('rollenzuordnung.php?edit='+value, function() { - $("#ZuordnungModal").modal("show"); - }); - }); - } - $('#msg').show().delay(5000).fadeOut(500); - $('#msg').html(a[0]); - } - }, - error: function(xhr, status, exception) { - console.log(xhr); - } - }); -} - -function delzuordnung(val) { - var param = val.split('|'); - var meid = param[0]; - var rid = param[1]; - - $.ajax({ - type: 'POST', - url: '../controller/admin_rollen.php', - data: { - 'function': 'delzuordnung', - 'meid': meid, - 'rid': rid - }, - success: function(result) { //we got the response - if(result!=''){ - var a = result.split('|***|'); - if(a[1]=="success"){ - $(document).ajaxStop(function(){ - - // Refresh Modal - var value = a[2]; - // load the url and show modal on success - $("#ZuordnungModal .modal-body").load('rollenzuordnung.php?edit='+value, function() { - $("#ZuordnungModal").modal("show"); - }); - }); - } - $('#msg').show().delay(10000).fadeOut(500); - $('#msg').html(a[0]); - } - }, - error: function(xhr, status, exception) { - console.log(xhr); - } - }); -} - - - -function erfuser(val) { - var param = val.split('|'); - var uid = param[0]; - var rid = param[1]; - - $.ajax({ - type: 'POST', - url: '../controller/admin_rollen.php', - data: { - 'function': 'erfuser', - 'uid': uid, - 'rid': rid - }, - success: function(result) { //we got the response - if(result!=''){ - var a = result.split('|***|'); - if(a[1]=="success"){ - $(document).ajaxStop(function(){ - // Refresh Modal - var value = a[2]; - // load the url and show modal on success - $("#ZuordnungModal .modal-body").load('userzuordnung.php?edit='+value, function() { - $("#ZuordnungModal").modal("show"); - }); - }); - } - $('#msg').show().delay(5000).fadeOut(500); - $('#msg').html(a[0]); - } - }, - error: function(xhr, status, exception) { - console.log(xhr); - } - }); -} - -function deluser(val) { - var param = val.split('|'); - var uid = param[0]; - var rid = param[1]; - - $.ajax({ - type: 'POST', - url: '../controller/admin_rollen.php', - data: { - 'function': 'deluser', - 'uid': uid, - 'rid': rid - }, - success: function(result) { //we got the response - if(result!=''){ - var a = result.split('|***|'); - if(a[1]=="success"){ - $(document).ajaxStop(function(){ - - // Refresh Modal - var value = a[2]; - // load the url and show modal on success - $("#ZuordnungModal .modal-body").load('userzuordnung.php?edit='+value, function() { - $("#ZuordnungModal").modal("show"); - }); - }); - } - $('#msg').show().delay(10000).fadeOut(500); - $('#msg').html(a[0]); - } - }, - error: function(xhr, status, exception) { - console.log(xhr); - } - }); -} - - - -function delRole(rid) { - r = confirm('Rolle löschen? Benutzer sind dann unzugeordnet!'); - if (r) { - $.ajax({ - type: 'POST', - url: '../controller/admin_rollen.php', - data: { - 'function': 'delRole', - 'rid': rid - }, - success: function(result) { //we got the response - if(result!=''){ - var a = result.split('|***|'); - if(a[1]=="success"){ - $(document).ajaxStop(function(){ - window.location = "?"; - }); - } - $('#msg').show().delay(10000).fadeOut(500); - $('#msg').html(a[0]); - } - }, - error: function(xhr, status, exception) { - console.log(xhr); - } - }); - } -} +function rollesave(){ + var rollenname = document.getElementById("rollenname").value; + + $.ajax({ + type: 'POST', + url: '../controller/admin_rollen.php', + data: { + 'function': 'rollesave', + 'rollenname': rollenname + }, + success: function(result) { //we got the response + if(result!=''){ + var a = result.split('|***|'); + if(a[1]=="success"){ + document.getElementById("rollenname").value =""; + $(document).ajaxStop(function(){ + window.location = "?"; + }); + } + $('#msg').show().delay(10000).fadeOut(500); + $('#msg').html(a[0]); + } + }, + error: function(xhr, status, exception) { + console.log(xhr); + } + }); + +} +function erfzuordnung(val) { + var param = val.split('|'); + var meid = param[0]; + var rid = param[1]; + + $.ajax({ + type: 'POST', + url: '../controller/admin_rollen.php', + data: { + 'function': 'erfzuordnung', + 'meid': meid, + 'rid': rid + }, + success: function(result) { //we got the response + if(result!=''){ + var a = result.split('|***|'); + if(a[1]=="success"){ + $(document).ajaxStop(function(){ + // Refresh Modal + var value = a[2]; + // load the url and show modal on success + $("#ZuordnungModal .modal-body").load('rollenzuordnung.php?edit='+value, function() { + $("#ZuordnungModal").modal("show"); + }); + }); + } + $('#msg').show().delay(5000).fadeOut(500); + $('#msg').html(a[0]); + } + }, + error: function(xhr, status, exception) { + console.log(xhr); + } + }); +} + +function delzuordnung(val) { + var param = val.split('|'); + var meid = param[0]; + var rid = param[1]; + + $.ajax({ + type: 'POST', + url: '../controller/admin_rollen.php', + data: { + 'function': 'delzuordnung', + 'meid': meid, + 'rid': rid + }, + success: function(result) { //we got the response + if(result!=''){ + var a = result.split('|***|'); + if(a[1]=="success"){ + $(document).ajaxStop(function(){ + + // Refresh Modal + var value = a[2]; + // load the url and show modal on success + $("#ZuordnungModal .modal-body").load('rollenzuordnung.php?edit='+value, function() { + $("#ZuordnungModal").modal("show"); + }); + }); + } + $('#msg').show().delay(10000).fadeOut(500); + $('#msg').html(a[0]); + } + }, + error: function(xhr, status, exception) { + console.log(xhr); + } + }); +} + + + +function erfuser(val) { + var param = val.split('|'); + var uid = param[0]; + var rid = param[1]; + + $.ajax({ + type: 'POST', + url: '../controller/admin_rollen.php', + data: { + 'function': 'erfuser', + 'uid': uid, + 'rid': rid + }, + success: function(result) { //we got the response + if(result!=''){ + var a = result.split('|***|'); + if(a[1]=="success"){ + $(document).ajaxStop(function(){ + // Refresh Modal + var value = a[2]; + // load the url and show modal on success + $("#ZuordnungModal .modal-body").load('userzuordnung.php?edit='+value, function() { + $("#ZuordnungModal").modal("show"); + }); + }); + } + $('#msg').show().delay(5000).fadeOut(500); + $('#msg').html(a[0]); + } + }, + error: function(xhr, status, exception) { + console.log(xhr); + } + }); +} + +function deluser(val) { + var param = val.split('|'); + var uid = param[0]; + var rid = param[1]; + + $.ajax({ + type: 'POST', + url: '../controller/admin_rollen.php', + data: { + 'function': 'deluser', + 'uid': uid, + 'rid': rid + }, + success: function(result) { //we got the response + if(result!=''){ + var a = result.split('|***|'); + if(a[1]=="success"){ + $(document).ajaxStop(function(){ + + // Refresh Modal + var value = a[2]; + // load the url and show modal on success + $("#ZuordnungModal .modal-body").load('userzuordnung.php?edit='+value, function() { + $("#ZuordnungModal").modal("show"); + }); + }); + } + $('#msg').show().delay(10000).fadeOut(500); + $('#msg').html(a[0]); + } + }, + error: function(xhr, status, exception) { + console.log(xhr); + } + }); +} + + + +function delRole(rid) { + r = confirm('Rolle löschen? Benutzer sind dann unzugeordnet!'); + if (r) { + $.ajax({ + type: 'POST', + url: '../controller/admin_rollen.php', + data: { + 'function': 'delRole', + 'rid': rid + }, + success: function(result) { //we got the response + if(result!=''){ + var a = result.split('|***|'); + if(a[1]=="success"){ + $(document).ajaxStop(function(){ + window.location = "?"; + }); + } + $('#msg').show().delay(10000).fadeOut(500); + $('#msg').html(a[0]); + } + }, + error: function(xhr, status, exception) { + console.log(xhr); + } + }); + } +} diff --git a/js/components/selfregistration.js b/js/components/selfregistration.js index 192e391..518c7d8 100644 --- a/js/components/selfregistration.js +++ b/js/components/selfregistration.js @@ -1,40 +1,40 @@ -function membersave(){ - var vorname = document.getElementById("vorname").value; - var nachname = document.getElementById("nachname").value; - var mail = document.getElementById("mail").value; - var alter16 = document.querySelector('input[name="alter16"]:checked').value; - //komma getrennte Werte bei Mehrfachauswahl - var singstimme = $("#singstimme").val(); - - $.ajax({ - type: 'POST', - url: '../controller/selfregistration.php', - data: { - 'function': 'membersave', - 'vorname': vorname, - 'nachname': nachname, - 'mail': mail, - 'singstimme': singstimme, - 'alter16': alter16 - }, - success: function(result) { //we got the response - if(result!=''){ - var a = result.split('|***|'); - if(a[1]=="success"){ - document.getElementById("vorname").value =""; - document.getElementById("nachname").value =""; - document.getElementById("mail").value =""; - var elements = document.getElementById("singstimme").options; - for(var i = 0; i < elements.length; i++){ - elements[i].selected = false; - } - } - $('#msg').show().delay(10000).fadeOut(500); - $('#msg').html(a[0]); - } - }, - error: function(xhr, status, exception) { - console.log(xhr); - } - }); +function membersave(){ + var vorname = document.getElementById("vorname").value; + var nachname = document.getElementById("nachname").value; + var mail = document.getElementById("mail").value; + var alter16 = document.querySelector('input[name="alter16"]:checked').value; + //komma getrennte Werte bei Mehrfachauswahl + var singstimme = $("#singstimme").val(); + + $.ajax({ + type: 'POST', + url: '../controller/selfregistration.php', + data: { + 'function': 'membersave', + 'vorname': vorname, + 'nachname': nachname, + 'mail': mail, + 'singstimme': singstimme, + 'alter16': alter16 + }, + success: function(result) { //we got the response + if(result!=''){ + var a = result.split('|***|'); + if(a[1]=="success"){ + document.getElementById("vorname").value =""; + document.getElementById("nachname").value =""; + document.getElementById("mail").value =""; + var elements = document.getElementById("singstimme").options; + for(var i = 0; i < elements.length; i++){ + elements[i].selected = false; + } + } + $('#msg1').show().delay(10000).fadeOut(500); + $('#msg1').html(a[0]); + } + }, + error: function(xhr, status, exception) { + console.log(xhr); + } + }); } \ No newline at end of file diff --git a/js/file_upload/vpb_uploader.js b/js/file_upload/vpb_uploader.js index 75871ad..fc8f8b7 100644 --- a/js/file_upload/vpb_uploader.js +++ b/js/file_upload/vpb_uploader.js @@ -1,433 +1,433 @@ -function vpb_multiple_file_uploader(vpb_configuration_settings) { - this.vpb_settings = vpb_configuration_settings; - this.vpb_files = ""; - this.vpb_browsed_files = [] - var self = this; - var vpb_msg = "Sorry, your browser does not support this application. Thank You!"; - - //Get all browsed file extensions - function vpb_file_ext(file) { - return (/[.]/.exec(file)) ? /[^.]+$/.exec(file.toLowerCase()) : ''; - } - - /* Display added files which are ready for upload */ - //with their file types, names, size, date last modified along with an option to remove an unwanted file - vpb_multiple_file_uploader.prototype.vpb_show_added_files = function(vpb_value) { - this.vpb_files = vpb_value; - if (this.vpb_files.length > 0) { - var vpb_added_files_displayer = vpb_file_id = ""; - for (var i = 0; i < this.vpb_files.length; i++) { - //Use the names of the files without their extensions as their ids - var files_name_without_extensions = this.vpb_files[i].name.substr(0, this.vpb_files[i].name.lastIndexOf('.')) || this.vpb_files[i].name; - vpb_file_id = files_name_without_extensions.replace(/[^a-z0-9\s]/gi, '').replace(/[_\s]/g, ''); - - var vpb_file_to_add = vpb_file_ext(this.vpb_files[i].name); - var vpb_class = $("#added_class").val(); - var vpb_file_icon; - - //Check and display File Size - var vpb_fileSize = (this.vpb_files[i].size / 1024); - if (vpb_fileSize / 1024 > 1) { - if (((vpb_fileSize / 1024) / 1024) > 1) { - vpb_fileSize = (Math.round(((vpb_fileSize / 1024) / 1024) * 100) / 100); - var vpb_actual_fileSize = vpb_fileSize + " GB"; - } else { - vpb_fileSize = (Math.round((vpb_fileSize / 1024) * 100) / 100) - var vpb_actual_fileSize = vpb_fileSize + " MB"; - } - } else { - vpb_fileSize = (Math.round(vpb_fileSize * 100) / 100) - var vpb_actual_fileSize = vpb_fileSize + " KB"; - } - - //Check and display the date that files were last modified - var vpb_date_last_modified = new Date(this.vpb_files[i].lastModifiedDate); - var dd = vpb_date_last_modified.getDate(); - var mm = vpb_date_last_modified.getMonth() + 1; - var yyyy = vpb_date_last_modified.getFullYear(); - var vpb_date_last_modified_file = dd + '/' + mm + '/' + yyyy; - - //File Display Classes - if (vpb_class == 'vpb_blue') { - var new_classc = 'vpb_white'; - } else { - var new_classc = 'vpb_blue'; - } - - - if (typeof this.vpb_files[i] != undefined && this.vpb_files[i].name != "") { - //Check for the type of file browsed so as to represent each file with the appropriate file icon - - if (vpb_file_to_add == "jpg" || vpb_file_to_add == "JPG" || vpb_file_to_add == "jpeg" || vpb_file_to_add == "JPEG" || vpb_file_to_add == "gif" || vpb_file_to_add == "GIF" || vpb_file_to_add == "png" || vpb_file_to_add == "PNG") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "doc" || vpb_file_to_add == "docx" || vpb_file_to_add == "rtf" || vpb_file_to_add == "DOC" || vpb_file_to_add == "DOCX") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "pdf" || vpb_file_to_add == "PDF") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "txt" || vpb_file_to_add == "TXT" || vpb_file_to_add == "RTF") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "php") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "css") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "js") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "html" || vpb_file_to_add == "HTML" || vpb_file_to_add == "htm" || vpb_file_to_add == "HTM") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "setup") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "video") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "real") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "psd") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "fla") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "xls" || vpb_file_to_add == "xlsx") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "swf") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "eps") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "exe") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "binary") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "zip") { - vpb_file_icon = ''; - } else { - vpb_file_icon = ''; - } - var split = this.vpb_files[i].name.split('.'); - var filename = split[0]; - var extension = split[1]; - if (filename.length > 15) { - filename = filename.substring(0, 10) + '[...]'; - } - var result = filename + '.' + extension; - //Assign browsed files to a variable so as to later display them below - vpb_added_files_displayer += '
' + vpb_file_icon + ' ' + result + '
Uploadbereit
' + vpb_actual_fileSize + '
Entfernen'; - - } - } - //Display browsed files on the screen to the user who wants to upload them - $("#add_files").append(vpb_added_files_displayer); - $("#added_class").val(new_classc); - } - } - - //File Reader - vpb_multiple_file_uploader.prototype.vpb_read_file = function(vpb_e) { - if (vpb_e.target.files) { - self.vpb_show_added_files(vpb_e.target.files); - self.vpb_browsed_files.push(vpb_e.target.files); - } else { - alert('Sorry, a file you have specified could not be read at the moment. Thank You!'); - } - } - - - function addEvent(type, el, fn) { - if (window.addEventListener) { - el.addEventListener(type, fn, false); - } else if (window.attachEvent) { - var f = function() { - fn.call(el, window.event); - }; - el.attachEvent('on' + type, f) - } - } - - - //Get the ids of all added files and also start the upload when called - vpb_multiple_file_uploader.prototype.vpb_starter = function() { - if (window.File && window.FileReader && window.FileList && window.Blob) { - var vpb_browsed_file_ids = $("#" + this.vpb_settings.vpb_form_id).find("input[type='file']").eq(0).attr("id"); - document.getElementById(vpb_browsed_file_ids).addEventListener("change", this.vpb_read_file, false); - document.getElementById(this.vpb_settings.vpb_form_id).addEventListener("submit", this.vpb_submit_added_files, true); - } else { - alert(vpb_msg); - } - } - - //Call the uploading function when click on the upload button - vpb_multiple_file_uploader.prototype.vpb_submit_added_files = function() { - self.vpb_upload_bgin(); - } - - //Start uploads - vpb_multiple_file_uploader.prototype.vpb_upload_bgin = function() { - - if (this.vpb_browsed_files.length > 0) { - for (var k = 0; k < this.vpb_browsed_files.length; k++) { - var file = this.vpb_browsed_files[k]; - this.vasPLUS(file, 0); - } - } else { - // Else Zweig ergänzt A. Schwarz. Wenn keine Dateien zum hochladen sind, dann Insert mit den Daten machen - this.vasINSERT(); - } - } - - //Main file uploader - - // A. Schwarz: Insert mit File - vpb_multiple_file_uploader.prototype.vasPLUS = function(file, file_counter) { - if (typeof file[file_counter] != undefined && file[file_counter] != '') { - //Use the file names without their extensions as their ids - var files_name_without_extensions = file[file_counter].name.substr(0, file[file_counter].name.lastIndexOf('.')) || file[file_counter].name; - var ids = files_name_without_extensions.replace(/[^a-z0-9\s]/gi, '').replace(/[_\s]/g, ''); - var vpb_browsed_file_ids = $("#" + this.vpb_settings.vpb_form_id).find("input[type='file']").eq(0).attr("id"); - - var removed_file = $("#" + ids).val(); - - if (removed_file != "" && removed_file != undefined && removed_file == ids) { - self.vasPLUS(file, file_counter + 1); - } else { - var dataString = new FormData(); - dataString.append('upload_file', file[file_counter]); - dataString.append('upload_file_ids', ids); - - var titel = document.getElementById("titel").value; - var liednr = document.getElementById("liednr").value; - var verlag = document.getElementById("verlag").value; - var anz_lizenzen = document.getElementById("anz_lizenzen").value; - var chk_streamlizenz = document.getElementById("streamlizenz"); - // jndid beim Bearbeiten von Noten - var jndid_edit = document.getElementById("jndid").value; - - if (chk_streamlizenz.checked == true) { - var streamlizenz = 1; - } else { - var streamlizenz = 0; - } - dataString.append('titel', titel); - dataString.append('liednr', liednr); - dataString.append('verlag', verlag); - dataString.append('anz_lizenzen', anz_lizenzen); - dataString.append('streamlizenz', streamlizenz); - dataString.append('jndid_edit', jndid_edit); - dataString.append('function', 'save_with_files'); - - - $.ajax({ - type: "POST", - url: this.vpb_settings.vpb_server_url, - data: dataString, - cache: false, - contentType: false, - processData: false, - beforeSend: function() { - $("#uploading_" + ids).html('
'); - $("#remove" + ids).html('
Uploading...
'); - }, - success: function(response) { - var a = response.split('|***|'); - - // Länge der Zeit berechnen, wie lange die Messagebox angezeigt wird. Jedes File wird zumindest optisch einzeln hochgeladen. - var waitempty_chk = ($('[id^=add_fileID]').length*2000)+3000; - - if(waitempty_chk >5000 ){ - var waitempty = waitempty_chk; - }else{ - // Mindestens aber 5 Sekunden - var waitempty = 5000; - } - setTimeout(function() { -// document.getElementById("titel").value = ""; -// document.getElementById("verlag").value = ""; -// document.getElementById("anz_lizenzen").value = ""; -// document.getElementById("vasplus_multiple_files").value = ""; -// document.getElementById("streamlizenz").checked = false; -// var $el = $('#vasplus_multiple_files'); -// $el.wrap('
').closest('form').get(0).reset(); -// $el.unwrap(); -// -// $("#add_files > tbody").empty(); - // Alternativlösung. Felder leeren alleine bringt nichts. Wenn man eine File hochlädt und das nächste Mal ohne File, dann werden die letzten Files nochmals hochgeladen. - // Daher eine Weiterleitung auf sich selbst, damit der Prozess neu initiiert wird. - window.location = ""; - - }, waitempty); - - - $('#msg').show().delay(waitempty).fadeOut(500); - $('#msg').html(a[0]); - - var responseid = a[2]; - setTimeout(function() { - var response_brought = responseid.indexOf(ids); - if (response_brought != -1) { - $("#uploading_" + ids).html('
Vollständig
'); - $("#remove" + ids).html('
Hochgeladen
'); - } else { - var fileType_response_brought = responseid.indexOf('file_type_error'); - if (fileType_response_brought != -1) { - - var filenamewithoutextension = responseid.replace('file_type_error&', '').substr(0, responseid.replace('file_type_error&', '').lastIndexOf('.')) || responseid.replace('file_type_error&', ''); - var fileID = filenamewithoutextension.replace(/[^a-z0-9\s]/gi, '').replace(/[_\s]/g, ''); - $("#uploading_" + fileID).html('
Invalid File
'); - $("#remove" + fileID).html('
Abgebrochen
'); - - } else { - var filesize_response_brought = responseid.indexOf('file_size_error'); - if (filesize_response_brought != -1) { - var filenamewithoutextensions = responseid.replace('file_size_error&', '').substr(0, responseid.replace('file_size_error&', '').lastIndexOf('.')) || responseid.replace('file_size_error&', ''); - var fileID = filenamewithoutextensions.replace(/[^a-z0-9\s]/gi, '').replace(/[_\s]/g, ''); - $("#uploading_" + fileID).html('
Exceeded Size
'); - $("#remove" + fileID).html('
Abgebrochen
'); - } else { - var general_response_brought = responseid.indexOf('general_system_error'); - if (general_response_brought != -1) { - alert('Sorry, the file was not uploaded...'); - } else { - /* Do nothing */ } - } - } - } - if (file_counter + 1 < file.length) { - self.vasPLUS(file, file_counter + 1); - } else {} - }, 2000); - } - }); - } - } else { - alert('Sorry, this system could not verify the identity of the file you were trying to upload at the moment. Thank You!'); - } - } - - - // By A. Schwarz: Insert ohne File - vpb_multiple_file_uploader.prototype.vasINSERT = function() { - var titel = document.getElementById("titel").value; - var liednr = document.getElementById("liednr").value; - var verlag = document.getElementById("verlag").value; - var anz_lizenzen = document.getElementById("anz_lizenzen").value; - var chk_streamlizenz = document.getElementById("streamlizenz"); - // jndid beim Bearbeiten von Noten - var jndid_edit = document.getElementById("jndid").value; - - if (chk_streamlizenz.checked == true) { - var streamlizenz = 1; - } else { - var streamlizenz = 0; - } - - $.ajax({ - type: 'POST', - url: this.vpb_settings.vpb_server_url, - data: { - 'function': 'save_without_files', - 'titel': titel, - 'liednr': liednr, - 'verlag': verlag, - 'anz_lizenzen': anz_lizenzen, - 'streamlizenz': streamlizenz, - 'jndid_edit': jndid_edit - }, - success: function(response) { //we got the response - if (response != '') { - var a = response.split('|***|'); - if (a[1] == "success") { - //document.getElementById("titel").value = ""; - //document.getElementById("verlag").value = ""; - //document.getElementById("anz_lizenzen").value = ""; - //document.getElementById("vasplus_multiple_files").value = ""; - //document.getElementById("streamlizenz").checked = false; - if(jndid_edit == '-1'){ - setTimeout(function() { - window.location = ""; - }, 2000); - } - } - $('#msg').show().delay(2000).fadeOut(500); - $('#msg').html(a[0]); - } - }, - error: function(xhr, status, exception) { - console.log(xhr); - } - }); - } - - - - - this.vpb_starter(); -} - -function vpb_remove_this_file(id, filename) { - if (confirm('If you are sure to remove the file: ' + filename + ' then click on OK otherwise, Cancel it.')) { - $("#vpb_removed_files").append(''); - $("#add_fileID" + id).slideUp(); - } - return false; -} - -function delNotenFile(id) { - r = confirm('Dokument löschen?'); - if (r) { - - - $.ajax({ - type: 'POST', - url: '../controller/admin_notenupload.php', - data: { - 'function': 'delNotenFile', - 'id': id - }, - success: function(result) { //we got the response - if(result!=''){ - var a = result.split('|***|'); - var jndid = a[2]; - if(a[1]=="success"){ - $(document).ajaxStop(function(){ - setTimeout(function() { - window.location = "?editjndid="+jndid; - }, 2000); - }); - } - $('#msg').show().delay(10000).fadeOut(500); - $('#msg').html(a[0]); - } - }, - error: function(xhr, status, exception) { - console.log(xhr); - } - }); - } -} - -function delNoten(jndid) { - r = confirm('Noten löschen?'); - if (r) { - - $.ajax({ - type: 'POST', - url: '../controller/admin_notenupload.php', - data: { - 'function': 'delNoten', - 'jndid': jndid - }, - success: function(result) { //we got the response - if(result!=''){ - var a = result.split('|***|'); - if(a[1]=="success"){ - $(document).ajaxStop(function(){ - setTimeout(function() { - window.location = ""; - }, 2000); - }); - } - $('#msg').show().delay(10000).fadeOut(500); - $('#msg').html(a[0]); - } - }, - error: function(xhr, status, exception) { - console.log(xhr); - } - }); - } -} +function vpb_multiple_file_uploader(vpb_configuration_settings) { + this.vpb_settings = vpb_configuration_settings; + this.vpb_files = ""; + this.vpb_browsed_files = [] + var self = this; + var vpb_msg = "Sorry, your browser does not support this application. Thank You!"; + + //Get all browsed file extensions + function vpb_file_ext(file) { + return (/[.]/.exec(file)) ? /[^.]+$/.exec(file.toLowerCase()) : ''; + } + + /* Display added files which are ready for upload */ + //with their file types, names, size, date last modified along with an option to remove an unwanted file + vpb_multiple_file_uploader.prototype.vpb_show_added_files = function(vpb_value) { + this.vpb_files = vpb_value; + if (this.vpb_files.length > 0) { + var vpb_added_files_displayer = vpb_file_id = ""; + for (var i = 0; i < this.vpb_files.length; i++) { + //Use the names of the files without their extensions as their ids + var files_name_without_extensions = this.vpb_files[i].name.substr(0, this.vpb_files[i].name.lastIndexOf('.')) || this.vpb_files[i].name; + vpb_file_id = files_name_without_extensions.replace(/[^a-z0-9\s]/gi, '').replace(/[_\s]/g, ''); + + var vpb_file_to_add = vpb_file_ext(this.vpb_files[i].name); + var vpb_class = $("#added_class").val(); + var vpb_file_icon; + + //Check and display File Size + var vpb_fileSize = (this.vpb_files[i].size / 1024); + if (vpb_fileSize / 1024 > 1) { + if (((vpb_fileSize / 1024) / 1024) > 1) { + vpb_fileSize = (Math.round(((vpb_fileSize / 1024) / 1024) * 100) / 100); + var vpb_actual_fileSize = vpb_fileSize + " GB"; + } else { + vpb_fileSize = (Math.round((vpb_fileSize / 1024) * 100) / 100) + var vpb_actual_fileSize = vpb_fileSize + " MB"; + } + } else { + vpb_fileSize = (Math.round(vpb_fileSize * 100) / 100) + var vpb_actual_fileSize = vpb_fileSize + " KB"; + } + + //Check and display the date that files were last modified + var vpb_date_last_modified = new Date(this.vpb_files[i].lastModifiedDate); + var dd = vpb_date_last_modified.getDate(); + var mm = vpb_date_last_modified.getMonth() + 1; + var yyyy = vpb_date_last_modified.getFullYear(); + var vpb_date_last_modified_file = dd + '/' + mm + '/' + yyyy; + + //File Display Classes + if (vpb_class == 'vpb_blue') { + var new_classc = 'vpb_white'; + } else { + var new_classc = 'vpb_blue'; + } + + + if (typeof this.vpb_files[i] != undefined && this.vpb_files[i].name != "") { + //Check for the type of file browsed so as to represent each file with the appropriate file icon + + if (vpb_file_to_add == "jpg" || vpb_file_to_add == "JPG" || vpb_file_to_add == "jpeg" || vpb_file_to_add == "JPEG" || vpb_file_to_add == "gif" || vpb_file_to_add == "GIF" || vpb_file_to_add == "png" || vpb_file_to_add == "PNG") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "doc" || vpb_file_to_add == "docx" || vpb_file_to_add == "rtf" || vpb_file_to_add == "DOC" || vpb_file_to_add == "DOCX") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "pdf" || vpb_file_to_add == "PDF") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "txt" || vpb_file_to_add == "TXT" || vpb_file_to_add == "RTF") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "php") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "css") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "js") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "html" || vpb_file_to_add == "HTML" || vpb_file_to_add == "htm" || vpb_file_to_add == "HTM") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "setup") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "video") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "real") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "psd") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "fla") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "xls" || vpb_file_to_add == "xlsx") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "swf") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "eps") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "exe") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "binary") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "zip") { + vpb_file_icon = ''; + } else { + vpb_file_icon = ''; + } + var split = this.vpb_files[i].name.split('.'); + var filename = split[0]; + var extension = split[1]; + if (filename.length > 15) { + filename = filename.substring(0, 10) + '[...]'; + } + var result = filename + '.' + extension; + //Assign browsed files to a variable so as to later display them below + vpb_added_files_displayer += '
' + vpb_file_icon + ' ' + result + '
Uploadbereit
' + vpb_actual_fileSize + '
Entfernen'; + + } + } + //Display browsed files on the screen to the user who wants to upload them + $("#add_files").append(vpb_added_files_displayer); + $("#added_class").val(new_classc); + } + } + + //File Reader + vpb_multiple_file_uploader.prototype.vpb_read_file = function(vpb_e) { + if (vpb_e.target.files) { + self.vpb_show_added_files(vpb_e.target.files); + self.vpb_browsed_files.push(vpb_e.target.files); + } else { + alert('Sorry, a file you have specified could not be read at the moment. Thank You!'); + } + } + + + function addEvent(type, el, fn) { + if (window.addEventListener) { + el.addEventListener(type, fn, false); + } else if (window.attachEvent) { + var f = function() { + fn.call(el, window.event); + }; + el.attachEvent('on' + type, f) + } + } + + + //Get the ids of all added files and also start the upload when called + vpb_multiple_file_uploader.prototype.vpb_starter = function() { + if (window.File && window.FileReader && window.FileList && window.Blob) { + var vpb_browsed_file_ids = $("#" + this.vpb_settings.vpb_form_id).find("input[type='file']").eq(0).attr("id"); + document.getElementById(vpb_browsed_file_ids).addEventListener("change", this.vpb_read_file, false); + document.getElementById(this.vpb_settings.vpb_form_id).addEventListener("submit", this.vpb_submit_added_files, true); + } else { + alert(vpb_msg); + } + } + + //Call the uploading function when click on the upload button + vpb_multiple_file_uploader.prototype.vpb_submit_added_files = function() { + self.vpb_upload_bgin(); + } + + //Start uploads + vpb_multiple_file_uploader.prototype.vpb_upload_bgin = function() { + + if (this.vpb_browsed_files.length > 0) { + for (var k = 0; k < this.vpb_browsed_files.length; k++) { + var file = this.vpb_browsed_files[k]; + this.vasPLUS(file, 0); + } + } else { + // Else Zweig ergänzt A. Schwarz. Wenn keine Dateien zum hochladen sind, dann Insert mit den Daten machen + this.vasINSERT(); + } + } + + //Main file uploader + + // A. Schwarz: Insert mit File + vpb_multiple_file_uploader.prototype.vasPLUS = function(file, file_counter) { + if (typeof file[file_counter] != undefined && file[file_counter] != '') { + //Use the file names without their extensions as their ids + var files_name_without_extensions = file[file_counter].name.substr(0, file[file_counter].name.lastIndexOf('.')) || file[file_counter].name; + var ids = files_name_without_extensions.replace(/[^a-z0-9\s]/gi, '').replace(/[_\s]/g, ''); + var vpb_browsed_file_ids = $("#" + this.vpb_settings.vpb_form_id).find("input[type='file']").eq(0).attr("id"); + + var removed_file = $("#" + ids).val(); + + if (removed_file != "" && removed_file != undefined && removed_file == ids) { + self.vasPLUS(file, file_counter + 1); + } else { + var dataString = new FormData(); + dataString.append('upload_file', file[file_counter]); + dataString.append('upload_file_ids', ids); + + var titel = document.getElementById("titel").value; + var liednr = document.getElementById("liednr").value; + var verlag = document.getElementById("verlag").value; + var anz_lizenzen = document.getElementById("anz_lizenzen").value; + var chk_streamlizenz = document.getElementById("streamlizenz"); + // jndid beim Bearbeiten von Noten + var jndid_edit = document.getElementById("jndid").value; + + if (chk_streamlizenz.checked == true) { + var streamlizenz = 1; + } else { + var streamlizenz = 0; + } + dataString.append('titel', titel); + dataString.append('liednr', liednr); + dataString.append('verlag', verlag); + dataString.append('anz_lizenzen', anz_lizenzen); + dataString.append('streamlizenz', streamlizenz); + dataString.append('jndid_edit', jndid_edit); + dataString.append('function', 'save_with_files'); + + + $.ajax({ + type: "POST", + url: this.vpb_settings.vpb_server_url, + data: dataString, + cache: false, + contentType: false, + processData: false, + beforeSend: function() { + $("#uploading_" + ids).html('
'); + $("#remove" + ids).html('
Uploading...
'); + }, + success: function(response) { + var a = response.split('|***|'); + + // Länge der Zeit berechnen, wie lange die Messagebox angezeigt wird. Jedes File wird zumindest optisch einzeln hochgeladen. + var waitempty_chk = ($('[id^=add_fileID]').length*2000)+3000; + + if(waitempty_chk >5000 ){ + var waitempty = waitempty_chk; + }else{ + // Mindestens aber 5 Sekunden + var waitempty = 5000; + } + setTimeout(function() { +// document.getElementById("titel").value = ""; +// document.getElementById("verlag").value = ""; +// document.getElementById("anz_lizenzen").value = ""; +// document.getElementById("vasplus_multiple_files").value = ""; +// document.getElementById("streamlizenz").checked = false; +// var $el = $('#vasplus_multiple_files'); +// $el.wrap('').closest('form').get(0).reset(); +// $el.unwrap(); +// +// $("#add_files > tbody").empty(); + // Alternativlösung. Felder leeren alleine bringt nichts. Wenn man eine File hochlädt und das nächste Mal ohne File, dann werden die letzten Files nochmals hochgeladen. + // Daher eine Weiterleitung auf sich selbst, damit der Prozess neu initiiert wird. + window.location = ""; + + }, waitempty); + + + $('#msg').show().delay(waitempty).fadeOut(500); + $('#msg').html(a[0]); + + var responseid = a[2]; + setTimeout(function() { + var response_brought = responseid.indexOf(ids); + if (response_brought != -1) { + $("#uploading_" + ids).html('
Vollständig
'); + $("#remove" + ids).html('
Hochgeladen
'); + } else { + var fileType_response_brought = responseid.indexOf('file_type_error'); + if (fileType_response_brought != -1) { + + var filenamewithoutextension = responseid.replace('file_type_error&', '').substr(0, responseid.replace('file_type_error&', '').lastIndexOf('.')) || responseid.replace('file_type_error&', ''); + var fileID = filenamewithoutextension.replace(/[^a-z0-9\s]/gi, '').replace(/[_\s]/g, ''); + $("#uploading_" + fileID).html('
Invalid File
'); + $("#remove" + fileID).html('
Abgebrochen
'); + + } else { + var filesize_response_brought = responseid.indexOf('file_size_error'); + if (filesize_response_brought != -1) { + var filenamewithoutextensions = responseid.replace('file_size_error&', '').substr(0, responseid.replace('file_size_error&', '').lastIndexOf('.')) || responseid.replace('file_size_error&', ''); + var fileID = filenamewithoutextensions.replace(/[^a-z0-9\s]/gi, '').replace(/[_\s]/g, ''); + $("#uploading_" + fileID).html('
Exceeded Size
'); + $("#remove" + fileID).html('
Abgebrochen
'); + } else { + var general_response_brought = responseid.indexOf('general_system_error'); + if (general_response_brought != -1) { + alert('Sorry, the file was not uploaded...'); + } else { + /* Do nothing */ } + } + } + } + if (file_counter + 1 < file.length) { + self.vasPLUS(file, file_counter + 1); + } else {} + }, 2000); + } + }); + } + } else { + alert('Sorry, this system could not verify the identity of the file you were trying to upload at the moment. Thank You!'); + } + } + + + // By A. Schwarz: Insert ohne File + vpb_multiple_file_uploader.prototype.vasINSERT = function() { + var titel = document.getElementById("titel").value; + var liednr = document.getElementById("liednr").value; + var verlag = document.getElementById("verlag").value; + var anz_lizenzen = document.getElementById("anz_lizenzen").value; + var chk_streamlizenz = document.getElementById("streamlizenz"); + // jndid beim Bearbeiten von Noten + var jndid_edit = document.getElementById("jndid").value; + + if (chk_streamlizenz.checked == true) { + var streamlizenz = 1; + } else { + var streamlizenz = 0; + } + + $.ajax({ + type: 'POST', + url: this.vpb_settings.vpb_server_url, + data: { + 'function': 'save_without_files', + 'titel': titel, + 'liednr': liednr, + 'verlag': verlag, + 'anz_lizenzen': anz_lizenzen, + 'streamlizenz': streamlizenz, + 'jndid_edit': jndid_edit + }, + success: function(response) { //we got the response + if (response != '') { + var a = response.split('|***|'); + if (a[1] == "success") { + //document.getElementById("titel").value = ""; + //document.getElementById("verlag").value = ""; + //document.getElementById("anz_lizenzen").value = ""; + //document.getElementById("vasplus_multiple_files").value = ""; + //document.getElementById("streamlizenz").checked = false; + if(jndid_edit == '-1'){ + setTimeout(function() { + window.location = ""; + }, 2000); + } + } + $('#msg').show().delay(2000).fadeOut(500); + $('#msg').html(a[0]); + } + }, + error: function(xhr, status, exception) { + console.log(xhr); + } + }); + } + + + + + this.vpb_starter(); +} + +function vpb_remove_this_file(id, filename) { + if (confirm('If you are sure to remove the file: ' + filename + ' then click on OK otherwise, Cancel it.')) { + $("#vpb_removed_files").append(''); + $("#add_fileID" + id).slideUp(); + } + return false; +} + +function delNotenFile(id) { + r = confirm('Dokument löschen?'); + if (r) { + + + $.ajax({ + type: 'POST', + url: '../controller/admin_notenupload.php', + data: { + 'function': 'delNotenFile', + 'id': id + }, + success: function(result) { //we got the response + if(result!=''){ + var a = result.split('|***|'); + var jndid = a[2]; + if(a[1]=="success"){ + $(document).ajaxStop(function(){ + setTimeout(function() { + window.location = "?editjndid="+jndid; + }, 2000); + }); + } + $('#msg').show().delay(10000).fadeOut(500); + $('#msg').html(a[0]); + } + }, + error: function(xhr, status, exception) { + console.log(xhr); + } + }); + } +} + +function delNoten(jndid) { + r = confirm('Noten löschen?'); + if (r) { + + $.ajax({ + type: 'POST', + url: '../controller/admin_notenupload.php', + data: { + 'function': 'delNoten', + 'jndid': jndid + }, + success: function(result) { //we got the response + if(result!=''){ + var a = result.split('|***|'); + if(a[1]=="success"){ + $(document).ajaxStop(function(){ + setTimeout(function() { + window.location = ""; + }, 2000); + }); + } + $('#msg').show().delay(10000).fadeOut(500); + $('#msg').html(a[0]); + } + }, + error: function(xhr, status, exception) { + console.log(xhr); + } + }); + } +} diff --git a/js/file_upload/vpb_uploader_finanzen.js b/js/file_upload/vpb_uploader_finanzen.js index 0a4158e..aaa7bec 100644 --- a/js/file_upload/vpb_uploader_finanzen.js +++ b/js/file_upload/vpb_uploader_finanzen.js @@ -1,433 +1,433 @@ -function vpb_multiple_file_uploader(vpb_configuration_settings) { - this.vpb_settings = vpb_configuration_settings; - this.vpb_files = ""; - this.vpb_browsed_files = [] - var self = this; - var vpb_msg = "Sorry, your browser does not support this application. Thank You!"; - - //Get all browsed file extensions - function vpb_file_ext(file) { - return (/[.]/.exec(file)) ? /[^.]+$/.exec(file.toLowerCase()) : ''; - } - - /* Display added files which are ready for upload */ - //with their file types, names, size, date last modified along with an option to remove an unwanted file - vpb_multiple_file_uploader.prototype.vpb_show_added_files = function(vpb_value) { - this.vpb_files = vpb_value; - if (this.vpb_files.length > 0) { - var vpb_added_files_displayer = vpb_file_id = ""; - for (var i = 0; i < this.vpb_files.length; i++) { - //Use the names of the files without their extensions as their ids - var files_name_without_extensions = this.vpb_files[i].name.substr(0, this.vpb_files[i].name.lastIndexOf('.')) || this.vpb_files[i].name; - vpb_file_id = files_name_without_extensions.replace(/[^a-z0-9\s]/gi, '').replace(/[_\s]/g, ''); - - var vpb_file_to_add = vpb_file_ext(this.vpb_files[i].name); - var vpb_class = $("#added_class").val(); - var vpb_file_icon; - - //Check and display File Size - var vpb_fileSize = (this.vpb_files[i].size / 1024); - if (vpb_fileSize / 1024 > 1) { - if (((vpb_fileSize / 1024) / 1024) > 1) { - vpb_fileSize = (Math.round(((vpb_fileSize / 1024) / 1024) * 100) / 100); - var vpb_actual_fileSize = vpb_fileSize + " GB"; - } else { - vpb_fileSize = (Math.round((vpb_fileSize / 1024) * 100) / 100) - var vpb_actual_fileSize = vpb_fileSize + " MB"; - } - } else { - vpb_fileSize = (Math.round(vpb_fileSize * 100) / 100) - var vpb_actual_fileSize = vpb_fileSize + " KB"; - } - - //Check and display the date that files were last modified - var vpb_date_last_modified = new Date(this.vpb_files[i].lastModifiedDate); - var dd = vpb_date_last_modified.getDate(); - var mm = vpb_date_last_modified.getMonth() + 1; - var yyyy = vpb_date_last_modified.getFullYear(); - var vpb_date_last_modified_file = dd + '/' + mm + '/' + yyyy; - - //File Display Classes - if (vpb_class == 'vpb_blue') { - var new_classc = 'vpb_white'; - } else { - var new_classc = 'vpb_blue'; - } - - - if (typeof this.vpb_files[i] != undefined && this.vpb_files[i].name != "") { - //Check for the type of file browsed so as to represent each file with the appropriate file icon - - if (vpb_file_to_add == "jpg" || vpb_file_to_add == "JPG" || vpb_file_to_add == "jpeg" || vpb_file_to_add == "JPEG" || vpb_file_to_add == "gif" || vpb_file_to_add == "GIF" || vpb_file_to_add == "png" || vpb_file_to_add == "PNG") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "doc" || vpb_file_to_add == "docx" || vpb_file_to_add == "rtf" || vpb_file_to_add == "DOC" || vpb_file_to_add == "DOCX") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "pdf" || vpb_file_to_add == "PDF") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "txt" || vpb_file_to_add == "TXT" || vpb_file_to_add == "RTF") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "php") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "css") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "js") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "html" || vpb_file_to_add == "HTML" || vpb_file_to_add == "htm" || vpb_file_to_add == "HTM") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "setup") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "video") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "real") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "psd") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "fla") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "xls" || vpb_file_to_add == "xlsx") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "swf") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "eps") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "exe") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "binary") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "zip") { - vpb_file_icon = ''; - } else { - vpb_file_icon = ''; - } - var split = this.vpb_files[i].name.split('.'); - var filename = split[0]; - var extension = split[1]; - if (filename.length > 15) { - filename = filename.substring(0, 10) + '[...]'; - } - var result = filename + '.' + extension; - //Assign browsed files to a variable so as to later display them below - vpb_added_files_displayer += '
' + vpb_file_icon + ' ' + result + '
Uploadbereit
' + vpb_actual_fileSize + '
Entfernen'; - - } - } - //Display browsed files on the screen to the user who wants to upload them - $("#add_files").append(vpb_added_files_displayer); - $("#added_class").val(new_classc); - } - } - - //File Reader - vpb_multiple_file_uploader.prototype.vpb_read_file = function(vpb_e) { - if (vpb_e.target.files) { - self.vpb_show_added_files(vpb_e.target.files); - self.vpb_browsed_files.push(vpb_e.target.files); - } else { - alert('Sorry, a file you have specified could not be read at the moment. Thank You!'); - } - } - - - function addEvent(type, el, fn) { - if (window.addEventListener) { - el.addEventListener(type, fn, false); - } else if (window.attachEvent) { - var f = function() { - fn.call(el, window.event); - }; - el.attachEvent('on' + type, f) - } - } - - - //Get the ids of all added files and also start the upload when called - vpb_multiple_file_uploader.prototype.vpb_starter = function() { - if (window.File && window.FileReader && window.FileList && window.Blob) { - var vpb_browsed_file_ids = $("#" + this.vpb_settings.vpb_form_id).find("input[type='file']").eq(0).attr("id"); - document.getElementById(vpb_browsed_file_ids).addEventListener("change", this.vpb_read_file, false); - document.getElementById(this.vpb_settings.vpb_form_id).addEventListener("submit", this.vpb_submit_added_files, true); - } else { - alert(vpb_msg); - } - } - - //Call the uploading function when click on the upload button - vpb_multiple_file_uploader.prototype.vpb_submit_added_files = function() { - self.vpb_upload_bgin(); - } - - //Start uploads - vpb_multiple_file_uploader.prototype.vpb_upload_bgin = function() { - - if (this.vpb_browsed_files.length > 0) { - for (var k = 0; k < this.vpb_browsed_files.length; k++) { - var file = this.vpb_browsed_files[k]; - this.vasPLUS(file, 0); - } - } else { - // Else Zweig ergänzt A. Schwarz. Wenn keine Dateien zum hochladen sind, dann Insert mit den Daten machen - this.vasINSERT(); - } - } - - //Main file uploader - - // A. Schwarz: Insert mit File - vpb_multiple_file_uploader.prototype.vasPLUS = function(file, file_counter) { - if (typeof file[file_counter] != undefined && file[file_counter] != '') { - //Use the file names without their extensions as their ids - var files_name_without_extensions = file[file_counter].name.substr(0, file[file_counter].name.lastIndexOf('.')) || file[file_counter].name; - var ids = files_name_without_extensions.replace(/[^a-z0-9\s]/gi, '').replace(/[_\s]/g, ''); - var vpb_browsed_file_ids = $("#" + this.vpb_settings.vpb_form_id).find("input[type='file']").eq(0).attr("id"); - - var removed_file = $("#" + ids).val(); - - if (removed_file != "" && removed_file != undefined && removed_file == ids) { - self.vasPLUS(file, file_counter + 1); - } else { - var dataString = new FormData(); - dataString.append('upload_file', file[file_counter]); - dataString.append('upload_file_ids', ids); - - var datum = document.getElementById("datum").value; - var beschreibung = document.getElementById("beschreibung").value; - var firma = document.getElementById("firma").value; - var art = $("#art").val(); - var betrag = document.getElementById("betrag").value; - var bemerkung = document.getElementById("bemerkung").value; - if(art == 'A'){ - betrag=betrag*(-1); - } - // fid beim Bearbeiten von Finanzen - var fid_edit = document.getElementById("fid").value; - - dataString.append('datum', datum); - dataString.append('beschreibung', beschreibung); - dataString.append('firma', firma); - dataString.append('art', art); - dataString.append('betrag', betrag); - dataString.append('bemerkung', bemerkung); - dataString.append('fid_edit', fid_edit); - dataString.append('function', 'save_with_files'); - - - $.ajax({ - type: "POST", - url: this.vpb_settings.vpb_server_url, - data: dataString, - cache: false, - contentType: false, - processData: false, - beforeSend: function() { - $("#uploading_" + ids).html('
'); - $("#remove" + ids).html('
Uploading...
'); - }, - success: function(response) { - var a = response.split('|***|'); - - // Länge der Zeit berechnen, wie lange die Messagebox angezeigt wird. Jedes File wird zumindest optisch einzeln hochgeladen. - var waitempty_chk = ($('[id^=add_fileID]').length*2000)+3000; - - if(waitempty_chk >5000 ){ - var waitempty = waitempty_chk; - }else{ - // Mindestens aber 5 Sekunden - var waitempty = 5000; - } - setTimeout(function() { -// document.getElementById("datum").value = ""; -// document.getElementById("verlag").value = ""; -// document.getElementById("anz_lizenzen").value = ""; -// document.getElementById("vasplus_multiple_files").value = ""; -// document.getElementById("streamlizenz").checked = false; -// var $el = $('#vasplus_multiple_files'); -// $el.wrap('').closest('form').get(0).reset(); -// $el.unwrap(); -// -// $("#add_files > tbody").empty(); - // Alternativlösung. Felder leeren alleine bringt nichts. Wenn man eine File hochlädt und das nächste Mal ohne File, dann werden die letzten Files nochmals hochgeladen. - // Daher eine Weiterleitung auf sich selbst, damit der Prozess neu initiiert wird. - window.location = "?"; - - }, waitempty); - - - $('#msg').show().delay(waitempty).fadeOut(500); - $('#msg').html(a[0]); - - var responseid = a[2]; - setTimeout(function() { - var response_brought = responseid.indexOf(ids); - if (response_brought != -1) { - $("#uploading_" + ids).html('
Vollständig
'); - $("#remove" + ids).html('
Hochgeladen
'); - } else { - var fileType_response_brought = responseid.indexOf('file_type_error'); - if (fileType_response_brought != -1) { - - var filenamewithoutextension = responseid.replace('file_type_error&', '').substr(0, responseid.replace('file_type_error&', '').lastIndexOf('.')) || responseid.replace('file_type_error&', ''); - var fileID = filenamewithoutextension.replace(/[^a-z0-9\s]/gi, '').replace(/[_\s]/g, ''); - $("#uploading_" + fileID).html('
Invalid File
'); - $("#remove" + fileID).html('
Abgebrochen
'); - - } else { - var filesize_response_brought = responseid.indexOf('file_size_error'); - if (filesize_response_brought != -1) { - var filenamewithoutextensions = responseid.replace('file_size_error&', '').substr(0, responseid.replace('file_size_error&', '').lastIndexOf('.')) || responseid.replace('file_size_error&', ''); - var fileID = filenamewithoutextensions.replace(/[^a-z0-9\s]/gi, '').replace(/[_\s]/g, ''); - $("#uploading_" + fileID).html('
Exceeded Size
'); - $("#remove" + fileID).html('
Abgebrochen
'); - } else { - var general_response_brought = responseid.indexOf('general_system_error'); - if (general_response_brought != -1) { - alert('Sorry, the file was not uploaded...'); - } else { - /* Do nothing */ } - } - } - } - if (file_counter + 1 < file.length) { - self.vasPLUS(file, file_counter + 1); - } else {} - }, 2000); - } - }); - } - } else { - alert('Sorry, this system could not verify the identity of the file you were trying to upload at the moment. Thank You!'); - } - } - - - // By A. Schwarz: Insert ohne File - vpb_multiple_file_uploader.prototype.vasINSERT = function() { - var datum = document.getElementById("datum").value; - var beschreibung = document.getElementById("beschreibung").value; - var firma = document.getElementById("firma").value; - var art = $("#art").val(); - var betrag = document.getElementById("betrag").value; - var bemerkung = document.getElementById("bemerkung").value; - if(art == 'A'){ - betrag=betrag*(-1); - } - - // fid beim Bearbeiten von Finanzen - var fid_edit = document.getElementById("fid").value; - - $.ajax({ - type: 'POST', - url: this.vpb_settings.vpb_server_url, - data: { - 'function': 'save_without_files', - 'datum': datum, - 'beschreibung': beschreibung, - 'firma': firma, - 'art': art, - 'betrag': betrag, - 'bemerkung': bemerkung, - 'fid_edit': fid_edit - }, - success: function(response) { //we got the response - if (response != '') { - var a = response.split('|***|'); - if (a[1] == "success") { - //document.getElementById("datum").value = ""; - //document.getElementById("verlag").value = ""; - //document.getElementById("anz_lizenzen").value = ""; - //document.getElementById("vasplus_multiple_files").value = ""; - //document.getElementById("streamlizenz").checked = false; - //if(fid_edit == '-1'){ - setTimeout(function() { - window.location = "?"; - }, 2000); - //} - } - $('#msg').show().delay(2000).fadeOut(500); - $('#msg').html(a[0]); - } - }, - error: function(xhr, status, exception) { - console.log(xhr); - } - }); - } - - - - - this.vpb_starter(); -} - -function vpb_remove_this_file(id, filename) { - if (confirm('If you are sure to remove the file: ' + filename + ' then click on OK otherwise, Cancel it.')) { - $("#vpb_removed_files").append(''); - $("#add_fileID" + id).slideUp(); - } - return false; -} - -function delBelegFile(id) { - r = confirm('Dokument löschen?'); - if (r) { - - - $.ajax({ - type: 'POST', - url: '../controller/admin_finanzen.php', - data: { - 'function': 'delBelegFile', - 'id': id - }, - success: function(result) { //we got the response - if(result!=''){ - var a = result.split('|***|'); - var fid = a[2]; - if(a[1]=="success"){ - $(document).ajaxStop(function(){ - setTimeout(function() { - window.location = "?editfid="+fid; - }, 2000); - }); - } - $('#msg').show().delay(10000).fadeOut(500); - $('#msg').html(a[0]); - } - }, - error: function(xhr, status, exception) { - console.log(xhr); - } - }); - } -} - -function delBeleg(fid) { - r = confirm('Beleg löschen?'); - if (r) { - - $.ajax({ - type: 'POST', - url: '../controller/admin_finanzen.php', - data: { - 'function': 'delBeleg', - 'fid': fid - }, - success: function(result) { //we got the response - if(result!=''){ - var a = result.split('|***|'); - if(a[1]=="success"){ - $(document).ajaxStop(function(){ - setTimeout(function() { - window.location = "?"; - }, 2000); - }); - } - $('#msg').show().delay(10000).fadeOut(500); - $('#msg').html(a[0]); - } - }, - error: function(xhr, status, exception) { - console.log(xhr); - } - }); - } -} +function vpb_multiple_file_uploader(vpb_configuration_settings) { + this.vpb_settings = vpb_configuration_settings; + this.vpb_files = ""; + this.vpb_browsed_files = [] + var self = this; + var vpb_msg = "Sorry, your browser does not support this application. Thank You!"; + + //Get all browsed file extensions + function vpb_file_ext(file) { + return (/[.]/.exec(file)) ? /[^.]+$/.exec(file.toLowerCase()) : ''; + } + + /* Display added files which are ready for upload */ + //with their file types, names, size, date last modified along with an option to remove an unwanted file + vpb_multiple_file_uploader.prototype.vpb_show_added_files = function(vpb_value) { + this.vpb_files = vpb_value; + if (this.vpb_files.length > 0) { + var vpb_added_files_displayer = vpb_file_id = ""; + for (var i = 0; i < this.vpb_files.length; i++) { + //Use the names of the files without their extensions as their ids + var files_name_without_extensions = this.vpb_files[i].name.substr(0, this.vpb_files[i].name.lastIndexOf('.')) || this.vpb_files[i].name; + vpb_file_id = files_name_without_extensions.replace(/[^a-z0-9\s]/gi, '').replace(/[_\s]/g, ''); + + var vpb_file_to_add = vpb_file_ext(this.vpb_files[i].name); + var vpb_class = $("#added_class").val(); + var vpb_file_icon; + + //Check and display File Size + var vpb_fileSize = (this.vpb_files[i].size / 1024); + if (vpb_fileSize / 1024 > 1) { + if (((vpb_fileSize / 1024) / 1024) > 1) { + vpb_fileSize = (Math.round(((vpb_fileSize / 1024) / 1024) * 100) / 100); + var vpb_actual_fileSize = vpb_fileSize + " GB"; + } else { + vpb_fileSize = (Math.round((vpb_fileSize / 1024) * 100) / 100) + var vpb_actual_fileSize = vpb_fileSize + " MB"; + } + } else { + vpb_fileSize = (Math.round(vpb_fileSize * 100) / 100) + var vpb_actual_fileSize = vpb_fileSize + " KB"; + } + + //Check and display the date that files were last modified + var vpb_date_last_modified = new Date(this.vpb_files[i].lastModifiedDate); + var dd = vpb_date_last_modified.getDate(); + var mm = vpb_date_last_modified.getMonth() + 1; + var yyyy = vpb_date_last_modified.getFullYear(); + var vpb_date_last_modified_file = dd + '/' + mm + '/' + yyyy; + + //File Display Classes + if (vpb_class == 'vpb_blue') { + var new_classc = 'vpb_white'; + } else { + var new_classc = 'vpb_blue'; + } + + + if (typeof this.vpb_files[i] != undefined && this.vpb_files[i].name != "") { + //Check for the type of file browsed so as to represent each file with the appropriate file icon + + if (vpb_file_to_add == "jpg" || vpb_file_to_add == "JPG" || vpb_file_to_add == "jpeg" || vpb_file_to_add == "JPEG" || vpb_file_to_add == "gif" || vpb_file_to_add == "GIF" || vpb_file_to_add == "png" || vpb_file_to_add == "PNG") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "doc" || vpb_file_to_add == "docx" || vpb_file_to_add == "rtf" || vpb_file_to_add == "DOC" || vpb_file_to_add == "DOCX") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "pdf" || vpb_file_to_add == "PDF") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "txt" || vpb_file_to_add == "TXT" || vpb_file_to_add == "RTF") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "php") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "css") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "js") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "html" || vpb_file_to_add == "HTML" || vpb_file_to_add == "htm" || vpb_file_to_add == "HTM") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "setup") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "video") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "real") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "psd") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "fla") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "xls" || vpb_file_to_add == "xlsx") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "swf") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "eps") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "exe") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "binary") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "zip") { + vpb_file_icon = ''; + } else { + vpb_file_icon = ''; + } + var split = this.vpb_files[i].name.split('.'); + var filename = split[0]; + var extension = split[1]; + if (filename.length > 15) { + filename = filename.substring(0, 10) + '[...]'; + } + var result = filename + '.' + extension; + //Assign browsed files to a variable so as to later display them below + vpb_added_files_displayer += '
' + vpb_file_icon + ' ' + result + '
Uploadbereit
' + vpb_actual_fileSize + '
Entfernen'; + + } + } + //Display browsed files on the screen to the user who wants to upload them + $("#add_files").append(vpb_added_files_displayer); + $("#added_class").val(new_classc); + } + } + + //File Reader + vpb_multiple_file_uploader.prototype.vpb_read_file = function(vpb_e) { + if (vpb_e.target.files) { + self.vpb_show_added_files(vpb_e.target.files); + self.vpb_browsed_files.push(vpb_e.target.files); + } else { + alert('Sorry, a file you have specified could not be read at the moment. Thank You!'); + } + } + + + function addEvent(type, el, fn) { + if (window.addEventListener) { + el.addEventListener(type, fn, false); + } else if (window.attachEvent) { + var f = function() { + fn.call(el, window.event); + }; + el.attachEvent('on' + type, f) + } + } + + + //Get the ids of all added files and also start the upload when called + vpb_multiple_file_uploader.prototype.vpb_starter = function() { + if (window.File && window.FileReader && window.FileList && window.Blob) { + var vpb_browsed_file_ids = $("#" + this.vpb_settings.vpb_form_id).find("input[type='file']").eq(0).attr("id"); + document.getElementById(vpb_browsed_file_ids).addEventListener("change", this.vpb_read_file, false); + document.getElementById(this.vpb_settings.vpb_form_id).addEventListener("submit", this.vpb_submit_added_files, true); + } else { + alert(vpb_msg); + } + } + + //Call the uploading function when click on the upload button + vpb_multiple_file_uploader.prototype.vpb_submit_added_files = function() { + self.vpb_upload_bgin(); + } + + //Start uploads + vpb_multiple_file_uploader.prototype.vpb_upload_bgin = function() { + + if (this.vpb_browsed_files.length > 0) { + for (var k = 0; k < this.vpb_browsed_files.length; k++) { + var file = this.vpb_browsed_files[k]; + this.vasPLUS(file, 0); + } + } else { + // Else Zweig ergänzt A. Schwarz. Wenn keine Dateien zum hochladen sind, dann Insert mit den Daten machen + this.vasINSERT(); + } + } + + //Main file uploader + + // A. Schwarz: Insert mit File + vpb_multiple_file_uploader.prototype.vasPLUS = function(file, file_counter) { + if (typeof file[file_counter] != undefined && file[file_counter] != '') { + //Use the file names without their extensions as their ids + var files_name_without_extensions = file[file_counter].name.substr(0, file[file_counter].name.lastIndexOf('.')) || file[file_counter].name; + var ids = files_name_without_extensions.replace(/[^a-z0-9\s]/gi, '').replace(/[_\s]/g, ''); + var vpb_browsed_file_ids = $("#" + this.vpb_settings.vpb_form_id).find("input[type='file']").eq(0).attr("id"); + + var removed_file = $("#" + ids).val(); + + if (removed_file != "" && removed_file != undefined && removed_file == ids) { + self.vasPLUS(file, file_counter + 1); + } else { + var dataString = new FormData(); + dataString.append('upload_file', file[file_counter]); + dataString.append('upload_file_ids', ids); + + var datum = document.getElementById("datum").value; + var beschreibung = document.getElementById("beschreibung").value; + var firma = document.getElementById("firma").value; + var art = $("#art").val(); + var betrag = document.getElementById("betrag").value; + var bemerkung = document.getElementById("bemerkung").value; + if(art == 'A'){ + betrag=betrag*(-1); + } + // fid beim Bearbeiten von Finanzen + var fid_edit = document.getElementById("fid").value; + + dataString.append('datum', datum); + dataString.append('beschreibung', beschreibung); + dataString.append('firma', firma); + dataString.append('art', art); + dataString.append('betrag', betrag); + dataString.append('bemerkung', bemerkung); + dataString.append('fid_edit', fid_edit); + dataString.append('function', 'save_with_files'); + + + $.ajax({ + type: "POST", + url: this.vpb_settings.vpb_server_url, + data: dataString, + cache: false, + contentType: false, + processData: false, + beforeSend: function() { + $("#uploading_" + ids).html('
'); + $("#remove" + ids).html('
Uploading...
'); + }, + success: function(response) { + var a = response.split('|***|'); + + // Länge der Zeit berechnen, wie lange die Messagebox angezeigt wird. Jedes File wird zumindest optisch einzeln hochgeladen. + var waitempty_chk = ($('[id^=add_fileID]').length*2000)+3000; + + if(waitempty_chk >5000 ){ + var waitempty = waitempty_chk; + }else{ + // Mindestens aber 5 Sekunden + var waitempty = 5000; + } + setTimeout(function() { +// document.getElementById("datum").value = ""; +// document.getElementById("verlag").value = ""; +// document.getElementById("anz_lizenzen").value = ""; +// document.getElementById("vasplus_multiple_files").value = ""; +// document.getElementById("streamlizenz").checked = false; +// var $el = $('#vasplus_multiple_files'); +// $el.wrap('').closest('form').get(0).reset(); +// $el.unwrap(); +// +// $("#add_files > tbody").empty(); + // Alternativlösung. Felder leeren alleine bringt nichts. Wenn man eine File hochlädt und das nächste Mal ohne File, dann werden die letzten Files nochmals hochgeladen. + // Daher eine Weiterleitung auf sich selbst, damit der Prozess neu initiiert wird. + window.location = "?"; + + }, waitempty); + + + $('#msg').show().delay(waitempty).fadeOut(500); + $('#msg').html(a[0]); + + var responseid = a[2]; + setTimeout(function() { + var response_brought = responseid.indexOf(ids); + if (response_brought != -1) { + $("#uploading_" + ids).html('
Vollständig
'); + $("#remove" + ids).html('
Hochgeladen
'); + } else { + var fileType_response_brought = responseid.indexOf('file_type_error'); + if (fileType_response_brought != -1) { + + var filenamewithoutextension = responseid.replace('file_type_error&', '').substr(0, responseid.replace('file_type_error&', '').lastIndexOf('.')) || responseid.replace('file_type_error&', ''); + var fileID = filenamewithoutextension.replace(/[^a-z0-9\s]/gi, '').replace(/[_\s]/g, ''); + $("#uploading_" + fileID).html('
Invalid File
'); + $("#remove" + fileID).html('
Abgebrochen
'); + + } else { + var filesize_response_brought = responseid.indexOf('file_size_error'); + if (filesize_response_brought != -1) { + var filenamewithoutextensions = responseid.replace('file_size_error&', '').substr(0, responseid.replace('file_size_error&', '').lastIndexOf('.')) || responseid.replace('file_size_error&', ''); + var fileID = filenamewithoutextensions.replace(/[^a-z0-9\s]/gi, '').replace(/[_\s]/g, ''); + $("#uploading_" + fileID).html('
Exceeded Size
'); + $("#remove" + fileID).html('
Abgebrochen
'); + } else { + var general_response_brought = responseid.indexOf('general_system_error'); + if (general_response_brought != -1) { + alert('Sorry, the file was not uploaded...'); + } else { + /* Do nothing */ } + } + } + } + if (file_counter + 1 < file.length) { + self.vasPLUS(file, file_counter + 1); + } else {} + }, 2000); + } + }); + } + } else { + alert('Sorry, this system could not verify the identity of the file you were trying to upload at the moment. Thank You!'); + } + } + + + // By A. Schwarz: Insert ohne File + vpb_multiple_file_uploader.prototype.vasINSERT = function() { + var datum = document.getElementById("datum").value; + var beschreibung = document.getElementById("beschreibung").value; + var firma = document.getElementById("firma").value; + var art = $("#art").val(); + var betrag = document.getElementById("betrag").value; + var bemerkung = document.getElementById("bemerkung").value; + if(art == 'A'){ + betrag=betrag*(-1); + } + + // fid beim Bearbeiten von Finanzen + var fid_edit = document.getElementById("fid").value; + + $.ajax({ + type: 'POST', + url: this.vpb_settings.vpb_server_url, + data: { + 'function': 'save_without_files', + 'datum': datum, + 'beschreibung': beschreibung, + 'firma': firma, + 'art': art, + 'betrag': betrag, + 'bemerkung': bemerkung, + 'fid_edit': fid_edit + }, + success: function(response) { //we got the response + if (response != '') { + var a = response.split('|***|'); + if (a[1] == "success") { + //document.getElementById("datum").value = ""; + //document.getElementById("verlag").value = ""; + //document.getElementById("anz_lizenzen").value = ""; + //document.getElementById("vasplus_multiple_files").value = ""; + //document.getElementById("streamlizenz").checked = false; + //if(fid_edit == '-1'){ + setTimeout(function() { + window.location = "?"; + }, 2000); + //} + } + $('#msg').show().delay(2000).fadeOut(500); + $('#msg').html(a[0]); + } + }, + error: function(xhr, status, exception) { + console.log(xhr); + } + }); + } + + + + + this.vpb_starter(); +} + +function vpb_remove_this_file(id, filename) { + if (confirm('If you are sure to remove the file: ' + filename + ' then click on OK otherwise, Cancel it.')) { + $("#vpb_removed_files").append(''); + $("#add_fileID" + id).slideUp(); + } + return false; +} + +function delBelegFile(id) { + r = confirm('Dokument löschen?'); + if (r) { + + + $.ajax({ + type: 'POST', + url: '../controller/admin_finanzen.php', + data: { + 'function': 'delBelegFile', + 'id': id + }, + success: function(result) { //we got the response + if(result!=''){ + var a = result.split('|***|'); + var fid = a[2]; + if(a[1]=="success"){ + $(document).ajaxStop(function(){ + setTimeout(function() { + window.location = "?editfid="+fid; + }, 2000); + }); + } + $('#msg').show().delay(10000).fadeOut(500); + $('#msg').html(a[0]); + } + }, + error: function(xhr, status, exception) { + console.log(xhr); + } + }); + } +} + +function delBeleg(fid) { + r = confirm('Beleg löschen?'); + if (r) { + + $.ajax({ + type: 'POST', + url: '../controller/admin_finanzen.php', + data: { + 'function': 'delBeleg', + 'fid': fid + }, + success: function(result) { //we got the response + if(result!=''){ + var a = result.split('|***|'); + if(a[1]=="success"){ + $(document).ajaxStop(function(){ + setTimeout(function() { + window.location = "?"; + }, 2000); + }); + } + $('#msg').show().delay(10000).fadeOut(500); + $('#msg').html(a[0]); + } + }, + error: function(xhr, status, exception) { + console.log(xhr); + } + }); + } +} diff --git a/js/file_upload/vpb_uploader_member.js b/js/file_upload/vpb_uploader_member.js index 7917524..c522984 100644 --- a/js/file_upload/vpb_uploader_member.js +++ b/js/file_upload/vpb_uploader_member.js @@ -1,546 +1,546 @@ -function checkUser(){ - var mail = document.getElementById("mail").value; - $.ajax({ - type: 'POST', - url: '../controller/admin_memberupload.php', - data: { - 'function': 'checkuser', - 'mail': mail - }, - success: function(result) { //we got the response - if(result!=''){ - $('#mailmsg').show().delay(5000).fadeOut(500); - $('#mailmsg').html(result); - } - }, - error: function(xhr, status, exception) { - console.log(xhr); - } - }); - -} - - -function vpb_multiple_file_uploader(vpb_configuration_settings) { - this.vpb_settings = vpb_configuration_settings; - this.vpb_files = ""; - this.vpb_browsed_files = [] - var self = this; - var vpb_msg = "Sorry, your browser does not support this application. Thank You!"; - - //Get all browsed file extensions - function vpb_file_ext(file) { - return (/[.]/.exec(file)) ? /[^.]+$/.exec(file.toLowerCase()) : ''; - } - - /* Display added files which are ready for upload */ - //with their file types, names, size, date last modified along with an option to remove an unwanted file - vpb_multiple_file_uploader.prototype.vpb_show_added_files = function(vpb_value) { - this.vpb_files = vpb_value; - if (this.vpb_files.length > 0) { - var vpb_added_files_displayer = vpb_file_id = ""; - for (var i = 0; i < this.vpb_files.length; i++) { - //Use the names of the files without their extensions as their ids - var files_name_without_extensions = this.vpb_files[i].name.substr(0, this.vpb_files[i].name.lastIndexOf('.')) || this.vpb_files[i].name; - vpb_file_id = files_name_without_extensions.replace(/[^a-z0-9\s]/gi, '').replace(/[_\s]/g, ''); - - var vpb_file_to_add = vpb_file_ext(this.vpb_files[i].name); - var vpb_class = $("#added_class").val(); - var vpb_file_icon; - - //Check and display File Size - var vpb_fileSize = (this.vpb_files[i].size / 1024); - if (vpb_fileSize / 1024 > 1) { - if (((vpb_fileSize / 1024) / 1024) > 1) { - vpb_fileSize = (Math.round(((vpb_fileSize / 1024) / 1024) * 100) / 100); - var vpb_actual_fileSize = vpb_fileSize + " GB"; - } else { - vpb_fileSize = (Math.round((vpb_fileSize / 1024) * 100) / 100) - var vpb_actual_fileSize = vpb_fileSize + " MB"; - } - } else { - vpb_fileSize = (Math.round(vpb_fileSize * 100) / 100) - var vpb_actual_fileSize = vpb_fileSize + " KB"; - } - - //Check and display the date that files were last modified - var vpb_date_last_modified = new Date(this.vpb_files[i].lastModifiedDate); - var dd = vpb_date_last_modified.getDate(); - var mm = vpb_date_last_modified.getMonth() + 1; - var yyyy = vpb_date_last_modified.getFullYear(); - var vpb_date_last_modified_file = dd + '/' + mm + '/' + yyyy; - - //File Display Classes - if (vpb_class == 'vpb_blue') { - var new_classc = 'vpb_white'; - } else { - var new_classc = 'vpb_blue'; - } - - - if (typeof this.vpb_files[i] != undefined && this.vpb_files[i].name != "") { - //Check for the type of file browsed so as to represent each file with the appropriate file icon - - if (vpb_file_to_add == "jpg" || vpb_file_to_add == "JPG" || vpb_file_to_add == "jpeg" || vpb_file_to_add == "JPEG" || vpb_file_to_add == "gif" || vpb_file_to_add == "GIF" || vpb_file_to_add == "png" || vpb_file_to_add == "PNG") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "doc" || vpb_file_to_add == "docx" || vpb_file_to_add == "rtf" || vpb_file_to_add == "DOC" || vpb_file_to_add == "DOCX") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "pdf" || vpb_file_to_add == "PDF") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "txt" || vpb_file_to_add == "TXT" || vpb_file_to_add == "RTF") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "php") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "css") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "js") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "html" || vpb_file_to_add == "HTML" || vpb_file_to_add == "htm" || vpb_file_to_add == "HTM") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "setup") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "video") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "real") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "psd") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "fla") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "xls" || vpb_file_to_add == "xlsx") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "swf") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "eps") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "exe") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "binary") { - vpb_file_icon = ''; - } else if (vpb_file_to_add == "zip") { - vpb_file_icon = ''; - } else { - vpb_file_icon = ''; - } - var split = this.vpb_files[i].name.split('.'); - var filename = split[0]; - var extension = split[1]; - if (filename.length > 15) { - filename = filename.substring(0, 10) + '[...]'; - } - var result = filename + '.' + extension; - //Assign browsed files to a variable so as to later display them below - vpb_added_files_displayer += '
' + vpb_file_icon + ' ' + result + '
Uploadbereit
' + vpb_actual_fileSize + '
Entfernen'; - - } - } - //Display browsed files on the screen to the user who wants to upload them - $("#add_files").append(vpb_added_files_displayer); - $("#added_class").val(new_classc); - } - } - - //File Reader - vpb_multiple_file_uploader.prototype.vpb_read_file = function(vpb_e) { - if (vpb_e.target.files) { - self.vpb_show_added_files(vpb_e.target.files); - self.vpb_browsed_files.push(vpb_e.target.files); - } else { - alert('Sorry, a file you have specified could not be read at the moment. Thank You!'); - } - } - - - function addEvent(type, el, fn) { - if (window.addEventListener) { - el.addEventListener(type, fn, false); - } else if (window.attachEvent) { - var f = function() { - fn.call(el, window.event); - }; - el.attachEvent('on' + type, f) - } - } - - - //Get the ids of all added files and also start the upload when called - vpb_multiple_file_uploader.prototype.vpb_starter = function() { - if (window.File && window.FileReader && window.FileList && window.Blob) { - var vpb_browsed_file_ids = $("#" + this.vpb_settings.vpb_form_id).find("input[type='file']").eq(0).attr("id"); - document.getElementById(vpb_browsed_file_ids).addEventListener("change", this.vpb_read_file, false); - document.getElementById(this.vpb_settings.vpb_form_id).addEventListener("submit", this.vpb_submit_added_files, true); - } else { - alert(vpb_msg); - } - } - - //Call the uploading function when click on the upload button - vpb_multiple_file_uploader.prototype.vpb_submit_added_files = function() { - self.vpb_upload_bgin(); - } - - //Start uploads - vpb_multiple_file_uploader.prototype.vpb_upload_bgin = function() { - - if (this.vpb_browsed_files.length > 0) { - for (var k = 0; k < this.vpb_browsed_files.length; k++) { - var file = this.vpb_browsed_files[k]; - this.vasPLUS(file, 0); - } - } else { - // Else Zweig ergänzt A. Schwarz. Wenn keine Dateien zum hochladen sind, dann Insert mit den Daten machen - this.vasINSERT(); - } - } - - //Main file uploader - - // A. Schwarz: Insert mit File - vpb_multiple_file_uploader.prototype.vasPLUS = function(file, file_counter) { - if (typeof file[file_counter] != undefined && file[file_counter] != '') { - //Use the file names without their extensions as their ids - var files_name_without_extensions = file[file_counter].name.substr(0, file[file_counter].name.lastIndexOf('.')) || file[file_counter].name; - var ids = files_name_without_extensions.replace(/[^a-z0-9\s]/gi, '').replace(/[_\s]/g, ''); - var vpb_browsed_file_ids = $("#" + this.vpb_settings.vpb_form_id).find("input[type='file']").eq(0).attr("id"); - - var removed_file = $("#" + ids).val(); - - if (removed_file != "" && removed_file != undefined && removed_file == ids) { - self.vasPLUS(file, file_counter + 1); - } else { - var dataString = new FormData(); - dataString.append('upload_file', file[file_counter]); - dataString.append('upload_file_ids', ids); - - var vorname = document.getElementById("vorname").value; - var nachname = document.getElementById("nachname").value; - var mail = document.getElementById("mail").value; - var singstimme = document.getElementById("singstimme").value; - var bemerkung =tinyMCE.get('bemerkung').getContent() - // csid beim Bearbeiten von Membern - var csid_edit = document.getElementById("csid").value; - var chk_einw_livestream = document.getElementById("einw_livestream"); - var chk_einw_homepage = document.getElementById("einw_homepage"); - var chk_einw_socialmedia = document.getElementById("einw_socialmedia"); - if(chk_einw_livestream.checked == true){ - var var_einw_livestream = 1; - }else{ - var var_einw_livestream = 0; - } - if(chk_einw_homepage.checked == true){ - var var_einw_homepage = 1; - }else{ - var var_einw_homepage = 0; - } - if(chk_einw_socialmedia.checked == true){ - var var_einw_socialmedia = 1; - }else{ - var var_einw_socialmedia = 0; - } - var alter16 = document.querySelector('input[name="alter16"]:checked').value; - dataString.append('vorname', vorname); - dataString.append('nachname', nachname); - dataString.append('mail', mail); - dataString.append('singstimme', singstimme); - dataString.append('bemerkung', bemerkung); - dataString.append('csid_edit', csid_edit); - dataString.append('einw_livestream', var_einw_livestream); - dataString.append('einw_homepage', var_einw_homepage); - dataString.append('einw_socialmedia', var_einw_socialmedia); - dataString.append('alter16', alter16); - dataString.append('function', 'save_with_files'); - - - $.ajax({ - type: "POST", - url: this.vpb_settings.vpb_server_url, - data: dataString, - cache: false, - contentType: false, - processData: false, - beforeSend: function() { - $("#uploading_" + ids).html('
'); - $("#remove" + ids).html('
Uploading...
'); - }, - success: function(response) { - - var a = response.split('|***|'); - - // Länge der Zeit berechnen, wie lange die Messagebox angezeigt wird. Jedes File wird zumindest optisch einzeln hochgeladen. - var waitempty_chk = ($('[id^=add_fileID]').length*2000)+2000; - - if(waitempty_chk >5000 ){ - var waitempty = waitempty_chk; - }else{ - // Mindestens aber 5 Sekunden - var waitempty = 5000; - } - setTimeout(function() { -// document.getElementById("titel").value = ""; -// document.getElementById("verlag").value = ""; -// document.getElementById("anz_lizenzen").value = ""; -// document.getElementById("vasplus_multiple_files").value = ""; -// document.getElementById("streamlizenz").checked = false; -// var $el = $('#vasplus_multiple_files'); -// $el.wrap('').closest('form').get(0).reset(); -// $el.unwrap(); -// -// $("#add_files > tbody").empty(); - // Alternativlösung. Felder leeren alleine bringt nichts. Wenn man eine File hochlädt und das nächste Mal ohne File, dann werden die letzten Files nochmals hochgeladen. - // Daher eine Weiterleitung auf sich selbst, damit der Prozess neu initiiert wird. - window.location = ""; - }, waitempty); - - - $('#msg').show().delay(waitempty).fadeOut(500); - $('#msg').html(a[0]); - - var responseid = a[2]; - setTimeout(function() { - var response_brought = responseid.indexOf(ids); - if (response_brought != -1) { - $("#uploading_" + ids).html('
Vollständig
'); - $("#remove" + ids).html('
Hochgeladen
'); - } else { - var fileType_response_brought = responseid.indexOf('file_type_error'); - if (fileType_response_brought != -1) { - - var filenamewithoutextension = responseid.replace('file_type_error&', '').substr(0, responseid.replace('file_type_error&', '').lastIndexOf('.')) || responseid.replace('file_type_error&', ''); - var fileID = filenamewithoutextension.replace(/[^a-z0-9\s]/gi, '').replace(/[_\s]/g, ''); - $("#uploading_" + fileID).html('
Invalid File
'); - $("#remove" + fileID).html('
Abgebrochen
'); - - } else { - var filesize_response_brought = responseid.indexOf('file_size_error'); - if (filesize_response_brought != -1) { - var filenamewithoutextensions = responseid.replace('file_size_error&', '').substr(0, responseid.replace('file_size_error&', '').lastIndexOf('.')) || responseid.replace('file_size_error&', ''); - var fileID = filenamewithoutextensions.replace(/[^a-z0-9\s]/gi, '').replace(/[_\s]/g, ''); - $("#uploading_" + fileID).html('
Exceeded Size
'); - $("#remove" + fileID).html('
Abgebrochen
'); - } else { - var general_response_brought = responseid.indexOf('general_system_error'); - if (general_response_brought != -1) { - alert('Sorry, the file was not uploaded...'); - } else { - /* Do nothing */ } - } - } - } - if (file_counter + 1 < file.length) { - self.vasPLUS(file, file_counter + 1); - } else {} - }, 2000); - } - }); - } - } else { - alert('Sorry, this system could not verify the identity of the file you were trying to upload at the moment. Thank You!'); - } - } - - - // By A. Schwarz: Insert ohne File - vpb_multiple_file_uploader.prototype.vasINSERT = function() { - var vorname = document.getElementById("vorname").value; - var nachname = document.getElementById("nachname").value; - var mail = document.getElementById("mail").value; - var singstimme = document.getElementById("singstimme").value; - var bemerkung =tinyMCE.get('bemerkung').getContent() - // csid beim Bearbeiten von Membern - var csid_edit = document.getElementById("csid").value; - var chk_einw_livestream = document.getElementById("einw_livestream"); - var chk_einw_homepage = document.getElementById("einw_homepage"); - var chk_einw_socialmedia = document.getElementById("einw_socialmedia"); - if(chk_einw_livestream.checked == true){ - var var_einw_livestream = 1; - }else{ - var var_einw_livestream = 0; - } - if(chk_einw_homepage.checked == true){ - var var_einw_homepage = 1; - }else{ - var var_einw_homepage = 0; - } - if(chk_einw_socialmedia.checked == true){ - var var_einw_socialmedia = 1; - }else{ - var var_einw_socialmedia = 0; - } - var alter16 = document.querySelector('input[name="alter16"]:checked').value; - - $.ajax({ - type: 'POST', - url: this.vpb_settings.vpb_server_url, - data: { - 'function': 'save_without_files', - 'vorname': vorname, - 'nachname': nachname, - 'mail': mail, - 'singstimme': singstimme, - 'bemerkung': bemerkung, - 'csid_edit': csid_edit, - 'einw_livestream': var_einw_livestream, - 'einw_homepage': var_einw_homepage, - 'einw_socialmedia': var_einw_socialmedia, - 'alter16': alter16 - }, - success: function(response) { //we got the response - if (response != '') { - var a = response.split('|***|'); - if (a[1] == "success") { - //document.getElementById("titel").value = ""; - //document.getElementById("verlag").value = ""; - //document.getElementById("anz_lizenzen").value = ""; - //document.getElementById("vasplus_multiple_files").value = ""; - //document.getElementById("streamlizenz").checked = false; - // Alternativlösung. Felder leeren alleine bringt nichts. Wenn man eine File hochlädt und das nächste Mal ohne File, dann werden die letzten Files nochmals hochgeladen. - // Daher eine Weiterleitung auf sich selbst, damit der Prozess neu initiiert wird. - if(csid_edit == '-1'){ - // Bei Neuanlage Seite refreshen, damit die Felder leer sind. Beim Bearbeiten brauchts das nicht, da die bearbeiteten Werte schon in den Feldern stehen - setTimeout(function() { - window.location = ""; - }, 2000); - } - } - $('#msg').show().delay(2000).fadeOut(500); - $('#msg').html(a[0]); - } - }, - error: function(xhr, status, exception) { - console.log(xhr); - } - }); - } - - - - - this.vpb_starter(); -} - -function vpb_remove_this_file(id, filename) { - if (confirm('If you are sure to remove the file: ' + filename + ' then click on OK otherwise, Cancel it.')) { - $("#vpb_removed_files").append(''); - $("#add_fileID" + id).slideUp(); - } - return false; -} - -function delMemberFile(id) { - r = confirm('Dokument löschen?'); - if (r) { - - - $.ajax({ - type: 'POST', - url: '../controller/admin_memberupload.php', - data: { - 'function': 'delMemberFile', - 'id': id - }, - success: function(result) { //we got the response - if(result!=''){ - var a = result.split('|***|'); - var csid = a[2]; - if(a[1]=="success"){ - $(document).ajaxStop(function(){ - setTimeout(function() { - window.location = "?editcsid="+csid; - }, 2000); - }); - } - $('#msg').show().delay(10000).fadeOut(500); - $('#msg').html(a[0]); - } - }, - error: function(xhr, status, exception) { - console.log(xhr); - } - }); - } -} - -function delMember(csid) { - r = confirm('SängerIn löschen?'); - if (r) { - - $.ajax({ - type: 'POST', - url: '../controller/admin_memberupload.php', - data: { - 'function': 'delMember', - 'csid': csid - }, - success: function(result) { //we got the response - if(result!=''){ - var a = result.split('|***|'); - if(a[1]=="success"){ - $(document).ajaxStop(function(){ - setTimeout(function() { - window.location = ""; - }, 2000); - }); - } - $('#msg').show().delay(10000).fadeOut(500); - $('#msg').html(a[0]); - } - }, - error: function(xhr, status, exception) { - console.log(xhr); - } - }); - } -} - -function erf_einw(id, user){ - // Funktion, wenn man User editiert und nicht extra auf speichern klickt: Livespeichern der Einwilligungen - if(user != ""){ - var checkBox = document.getElementById(id); - - if(checkBox.checked == true){ - var var_check = 1; - }else{ - var var_check = 0; - } - - $.ajax({ - type: 'POST', - url: '../controller/admin_memberupload.php', - data: { - 'function': 'erfeinw', - 'id': id, - 'user': user, - 'var_check': var_check - }, - success: function(result) { //we got the response - console.log('Einwilligung save'); - }, - error: function(xhr, status, exception) { - console.log(xhr); - } - }); - } -} - -function erf_alter(user){ - // Funktion, wenn man User editiert und nicht extra auf speichern klickt: Livespeichern der Einwilligungen - if(user != ""){ - var alter16 = document.querySelector('input[name="alter16"]:checked').value; - - $.ajax({ - type: 'POST', - url: '../controller/admin_memberupload.php', - data: { - 'function': 'erf_alter', - 'alter16': alter16, - 'user': user - }, - success: function(result) { //we got the response - console.log('Alter save'); - }, - error: function(xhr, status, exception) { - console.log(xhr); - } - }); - } +function checkUser(){ + var mail = document.getElementById("mail").value; + $.ajax({ + type: 'POST', + url: '../controller/admin_memberupload.php', + data: { + 'function': 'checkuser', + 'mail': mail + }, + success: function(result) { //we got the response + if(result!=''){ + $('#mailmsg').show().delay(5000).fadeOut(500); + $('#mailmsg').html(result); + } + }, + error: function(xhr, status, exception) { + console.log(xhr); + } + }); + +} + + +function vpb_multiple_file_uploader(vpb_configuration_settings) { + this.vpb_settings = vpb_configuration_settings; + this.vpb_files = ""; + this.vpb_browsed_files = [] + var self = this; + var vpb_msg = "Sorry, your browser does not support this application. Thank You!"; + + //Get all browsed file extensions + function vpb_file_ext(file) { + return (/[.]/.exec(file)) ? /[^.]+$/.exec(file.toLowerCase()) : ''; + } + + /* Display added files which are ready for upload */ + //with their file types, names, size, date last modified along with an option to remove an unwanted file + vpb_multiple_file_uploader.prototype.vpb_show_added_files = function(vpb_value) { + this.vpb_files = vpb_value; + if (this.vpb_files.length > 0) { + var vpb_added_files_displayer = vpb_file_id = ""; + for (var i = 0; i < this.vpb_files.length; i++) { + //Use the names of the files without their extensions as their ids + var files_name_without_extensions = this.vpb_files[i].name.substr(0, this.vpb_files[i].name.lastIndexOf('.')) || this.vpb_files[i].name; + vpb_file_id = files_name_without_extensions.replace(/[^a-z0-9\s]/gi, '').replace(/[_\s]/g, ''); + + var vpb_file_to_add = vpb_file_ext(this.vpb_files[i].name); + var vpb_class = $("#added_class").val(); + var vpb_file_icon; + + //Check and display File Size + var vpb_fileSize = (this.vpb_files[i].size / 1024); + if (vpb_fileSize / 1024 > 1) { + if (((vpb_fileSize / 1024) / 1024) > 1) { + vpb_fileSize = (Math.round(((vpb_fileSize / 1024) / 1024) * 100) / 100); + var vpb_actual_fileSize = vpb_fileSize + " GB"; + } else { + vpb_fileSize = (Math.round((vpb_fileSize / 1024) * 100) / 100) + var vpb_actual_fileSize = vpb_fileSize + " MB"; + } + } else { + vpb_fileSize = (Math.round(vpb_fileSize * 100) / 100) + var vpb_actual_fileSize = vpb_fileSize + " KB"; + } + + //Check and display the date that files were last modified + var vpb_date_last_modified = new Date(this.vpb_files[i].lastModifiedDate); + var dd = vpb_date_last_modified.getDate(); + var mm = vpb_date_last_modified.getMonth() + 1; + var yyyy = vpb_date_last_modified.getFullYear(); + var vpb_date_last_modified_file = dd + '/' + mm + '/' + yyyy; + + //File Display Classes + if (vpb_class == 'vpb_blue') { + var new_classc = 'vpb_white'; + } else { + var new_classc = 'vpb_blue'; + } + + + if (typeof this.vpb_files[i] != undefined && this.vpb_files[i].name != "") { + //Check for the type of file browsed so as to represent each file with the appropriate file icon + + if (vpb_file_to_add == "jpg" || vpb_file_to_add == "JPG" || vpb_file_to_add == "jpeg" || vpb_file_to_add == "JPEG" || vpb_file_to_add == "gif" || vpb_file_to_add == "GIF" || vpb_file_to_add == "png" || vpb_file_to_add == "PNG") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "doc" || vpb_file_to_add == "docx" || vpb_file_to_add == "rtf" || vpb_file_to_add == "DOC" || vpb_file_to_add == "DOCX") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "pdf" || vpb_file_to_add == "PDF") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "txt" || vpb_file_to_add == "TXT" || vpb_file_to_add == "RTF") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "php") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "css") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "js") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "html" || vpb_file_to_add == "HTML" || vpb_file_to_add == "htm" || vpb_file_to_add == "HTM") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "setup") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "video") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "real") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "psd") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "fla") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "xls" || vpb_file_to_add == "xlsx") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "swf") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "eps") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "exe") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "binary") { + vpb_file_icon = ''; + } else if (vpb_file_to_add == "zip") { + vpb_file_icon = ''; + } else { + vpb_file_icon = ''; + } + var split = this.vpb_files[i].name.split('.'); + var filename = split[0]; + var extension = split[1]; + if (filename.length > 15) { + filename = filename.substring(0, 10) + '[...]'; + } + var result = filename + '.' + extension; + //Assign browsed files to a variable so as to later display them below + vpb_added_files_displayer += '
' + vpb_file_icon + ' ' + result + '
Uploadbereit
' + vpb_actual_fileSize + '
Entfernen'; + + } + } + //Display browsed files on the screen to the user who wants to upload them + $("#add_files").append(vpb_added_files_displayer); + $("#added_class").val(new_classc); + } + } + + //File Reader + vpb_multiple_file_uploader.prototype.vpb_read_file = function(vpb_e) { + if (vpb_e.target.files) { + self.vpb_show_added_files(vpb_e.target.files); + self.vpb_browsed_files.push(vpb_e.target.files); + } else { + alert('Sorry, a file you have specified could not be read at the moment. Thank You!'); + } + } + + + function addEvent(type, el, fn) { + if (window.addEventListener) { + el.addEventListener(type, fn, false); + } else if (window.attachEvent) { + var f = function() { + fn.call(el, window.event); + }; + el.attachEvent('on' + type, f) + } + } + + + //Get the ids of all added files and also start the upload when called + vpb_multiple_file_uploader.prototype.vpb_starter = function() { + if (window.File && window.FileReader && window.FileList && window.Blob) { + var vpb_browsed_file_ids = $("#" + this.vpb_settings.vpb_form_id).find("input[type='file']").eq(0).attr("id"); + document.getElementById(vpb_browsed_file_ids).addEventListener("change", this.vpb_read_file, false); + document.getElementById(this.vpb_settings.vpb_form_id).addEventListener("submit", this.vpb_submit_added_files, true); + } else { + alert(vpb_msg); + } + } + + //Call the uploading function when click on the upload button + vpb_multiple_file_uploader.prototype.vpb_submit_added_files = function() { + self.vpb_upload_bgin(); + } + + //Start uploads + vpb_multiple_file_uploader.prototype.vpb_upload_bgin = function() { + + if (this.vpb_browsed_files.length > 0) { + for (var k = 0; k < this.vpb_browsed_files.length; k++) { + var file = this.vpb_browsed_files[k]; + this.vasPLUS(file, 0); + } + } else { + // Else Zweig ergänzt A. Schwarz. Wenn keine Dateien zum hochladen sind, dann Insert mit den Daten machen + this.vasINSERT(); + } + } + + //Main file uploader + + // A. Schwarz: Insert mit File + vpb_multiple_file_uploader.prototype.vasPLUS = function(file, file_counter) { + if (typeof file[file_counter] != undefined && file[file_counter] != '') { + //Use the file names without their extensions as their ids + var files_name_without_extensions = file[file_counter].name.substr(0, file[file_counter].name.lastIndexOf('.')) || file[file_counter].name; + var ids = files_name_without_extensions.replace(/[^a-z0-9\s]/gi, '').replace(/[_\s]/g, ''); + var vpb_browsed_file_ids = $("#" + this.vpb_settings.vpb_form_id).find("input[type='file']").eq(0).attr("id"); + + var removed_file = $("#" + ids).val(); + + if (removed_file != "" && removed_file != undefined && removed_file == ids) { + self.vasPLUS(file, file_counter + 1); + } else { + var dataString = new FormData(); + dataString.append('upload_file', file[file_counter]); + dataString.append('upload_file_ids', ids); + + var vorname = document.getElementById("vorname").value; + var nachname = document.getElementById("nachname").value; + var mail = document.getElementById("mail").value; + var singstimme = document.getElementById("singstimme").value; + var bemerkung =tinyMCE.get('bemerkung').getContent() + // csid beim Bearbeiten von Membern + var csid_edit = document.getElementById("csid").value; + var chk_einw_livestream = document.getElementById("einw_livestream"); + var chk_einw_homepage = document.getElementById("einw_homepage"); + var chk_einw_socialmedia = document.getElementById("einw_socialmedia"); + if(chk_einw_livestream.checked == true){ + var var_einw_livestream = 1; + }else{ + var var_einw_livestream = 0; + } + if(chk_einw_homepage.checked == true){ + var var_einw_homepage = 1; + }else{ + var var_einw_homepage = 0; + } + if(chk_einw_socialmedia.checked == true){ + var var_einw_socialmedia = 1; + }else{ + var var_einw_socialmedia = 0; + } + var alter16 = document.querySelector('input[name="alter16"]:checked').value; + dataString.append('vorname', vorname); + dataString.append('nachname', nachname); + dataString.append('mail', mail); + dataString.append('singstimme', singstimme); + dataString.append('bemerkung', bemerkung); + dataString.append('csid_edit', csid_edit); + dataString.append('einw_livestream', var_einw_livestream); + dataString.append('einw_homepage', var_einw_homepage); + dataString.append('einw_socialmedia', var_einw_socialmedia); + dataString.append('alter16', alter16); + dataString.append('function', 'save_with_files'); + + + $.ajax({ + type: "POST", + url: this.vpb_settings.vpb_server_url, + data: dataString, + cache: false, + contentType: false, + processData: false, + beforeSend: function() { + $("#uploading_" + ids).html('
'); + $("#remove" + ids).html('
Uploading...
'); + }, + success: function(response) { + + var a = response.split('|***|'); + + // Länge der Zeit berechnen, wie lange die Messagebox angezeigt wird. Jedes File wird zumindest optisch einzeln hochgeladen. + var waitempty_chk = ($('[id^=add_fileID]').length*2000)+2000; + + if(waitempty_chk >5000 ){ + var waitempty = waitempty_chk; + }else{ + // Mindestens aber 5 Sekunden + var waitempty = 5000; + } + setTimeout(function() { +// document.getElementById("titel").value = ""; +// document.getElementById("verlag").value = ""; +// document.getElementById("anz_lizenzen").value = ""; +// document.getElementById("vasplus_multiple_files").value = ""; +// document.getElementById("streamlizenz").checked = false; +// var $el = $('#vasplus_multiple_files'); +// $el.wrap('').closest('form').get(0).reset(); +// $el.unwrap(); +// +// $("#add_files > tbody").empty(); + // Alternativlösung. Felder leeren alleine bringt nichts. Wenn man eine File hochlädt und das nächste Mal ohne File, dann werden die letzten Files nochmals hochgeladen. + // Daher eine Weiterleitung auf sich selbst, damit der Prozess neu initiiert wird. + window.location = ""; + }, waitempty); + + + $('#msg').show().delay(waitempty).fadeOut(500); + $('#msg').html(a[0]); + + var responseid = a[2]; + setTimeout(function() { + var response_brought = responseid.indexOf(ids); + if (response_brought != -1) { + $("#uploading_" + ids).html('
Vollständig
'); + $("#remove" + ids).html('
Hochgeladen
'); + } else { + var fileType_response_brought = responseid.indexOf('file_type_error'); + if (fileType_response_brought != -1) { + + var filenamewithoutextension = responseid.replace('file_type_error&', '').substr(0, responseid.replace('file_type_error&', '').lastIndexOf('.')) || responseid.replace('file_type_error&', ''); + var fileID = filenamewithoutextension.replace(/[^a-z0-9\s]/gi, '').replace(/[_\s]/g, ''); + $("#uploading_" + fileID).html('
Invalid File
'); + $("#remove" + fileID).html('
Abgebrochen
'); + + } else { + var filesize_response_brought = responseid.indexOf('file_size_error'); + if (filesize_response_brought != -1) { + var filenamewithoutextensions = responseid.replace('file_size_error&', '').substr(0, responseid.replace('file_size_error&', '').lastIndexOf('.')) || responseid.replace('file_size_error&', ''); + var fileID = filenamewithoutextensions.replace(/[^a-z0-9\s]/gi, '').replace(/[_\s]/g, ''); + $("#uploading_" + fileID).html('
Exceeded Size
'); + $("#remove" + fileID).html('
Abgebrochen
'); + } else { + var general_response_brought = responseid.indexOf('general_system_error'); + if (general_response_brought != -1) { + alert('Sorry, the file was not uploaded...'); + } else { + /* Do nothing */ } + } + } + } + if (file_counter + 1 < file.length) { + self.vasPLUS(file, file_counter + 1); + } else {} + }, 2000); + } + }); + } + } else { + alert('Sorry, this system could not verify the identity of the file you were trying to upload at the moment. Thank You!'); + } + } + + + // By A. Schwarz: Insert ohne File + vpb_multiple_file_uploader.prototype.vasINSERT = function() { + var vorname = document.getElementById("vorname").value; + var nachname = document.getElementById("nachname").value; + var mail = document.getElementById("mail").value; + var singstimme = document.getElementById("singstimme").value; + var bemerkung =tinyMCE.get('bemerkung').getContent() + // csid beim Bearbeiten von Membern + var csid_edit = document.getElementById("csid").value; + var chk_einw_livestream = document.getElementById("einw_livestream"); + var chk_einw_homepage = document.getElementById("einw_homepage"); + var chk_einw_socialmedia = document.getElementById("einw_socialmedia"); + if(chk_einw_livestream.checked == true){ + var var_einw_livestream = 1; + }else{ + var var_einw_livestream = 0; + } + if(chk_einw_homepage.checked == true){ + var var_einw_homepage = 1; + }else{ + var var_einw_homepage = 0; + } + if(chk_einw_socialmedia.checked == true){ + var var_einw_socialmedia = 1; + }else{ + var var_einw_socialmedia = 0; + } + var alter16 = document.querySelector('input[name="alter16"]:checked').value; + + $.ajax({ + type: 'POST', + url: this.vpb_settings.vpb_server_url, + data: { + 'function': 'save_without_files', + 'vorname': vorname, + 'nachname': nachname, + 'mail': mail, + 'singstimme': singstimme, + 'bemerkung': bemerkung, + 'csid_edit': csid_edit, + 'einw_livestream': var_einw_livestream, + 'einw_homepage': var_einw_homepage, + 'einw_socialmedia': var_einw_socialmedia, + 'alter16': alter16 + }, + success: function(response) { //we got the response + if (response != '') { + var a = response.split('|***|'); + if (a[1] == "success") { + //document.getElementById("titel").value = ""; + //document.getElementById("verlag").value = ""; + //document.getElementById("anz_lizenzen").value = ""; + //document.getElementById("vasplus_multiple_files").value = ""; + //document.getElementById("streamlizenz").checked = false; + // Alternativlösung. Felder leeren alleine bringt nichts. Wenn man eine File hochlädt und das nächste Mal ohne File, dann werden die letzten Files nochmals hochgeladen. + // Daher eine Weiterleitung auf sich selbst, damit der Prozess neu initiiert wird. + if(csid_edit == '-1'){ + // Bei Neuanlage Seite refreshen, damit die Felder leer sind. Beim Bearbeiten brauchts das nicht, da die bearbeiteten Werte schon in den Feldern stehen + setTimeout(function() { + window.location = ""; + }, 2000); + } + } + $('#msg').show().delay(2000).fadeOut(500); + $('#msg').html(a[0]); + } + }, + error: function(xhr, status, exception) { + console.log(xhr); + } + }); + } + + + + + this.vpb_starter(); +} + +function vpb_remove_this_file(id, filename) { + if (confirm('If you are sure to remove the file: ' + filename + ' then click on OK otherwise, Cancel it.')) { + $("#vpb_removed_files").append(''); + $("#add_fileID" + id).slideUp(); + } + return false; +} + +function delMemberFile(id) { + r = confirm('Dokument löschen?'); + if (r) { + + + $.ajax({ + type: 'POST', + url: '../controller/admin_memberupload.php', + data: { + 'function': 'delMemberFile', + 'id': id + }, + success: function(result) { //we got the response + if(result!=''){ + var a = result.split('|***|'); + var csid = a[2]; + if(a[1]=="success"){ + $(document).ajaxStop(function(){ + setTimeout(function() { + window.location = "?editcsid="+csid; + }, 2000); + }); + } + $('#msg').show().delay(10000).fadeOut(500); + $('#msg').html(a[0]); + } + }, + error: function(xhr, status, exception) { + console.log(xhr); + } + }); + } +} + +function delMember(csid) { + r = confirm('SängerIn löschen?'); + if (r) { + + $.ajax({ + type: 'POST', + url: '../controller/admin_memberupload.php', + data: { + 'function': 'delMember', + 'csid': csid + }, + success: function(result) { //we got the response + if(result!=''){ + var a = result.split('|***|'); + if(a[1]=="success"){ + $(document).ajaxStop(function(){ + setTimeout(function() { + window.location = ""; + }, 2000); + }); + } + $('#msg').show().delay(10000).fadeOut(500); + $('#msg').html(a[0]); + } + }, + error: function(xhr, status, exception) { + console.log(xhr); + } + }); + } +} + +function erf_einw(id, user){ + // Funktion, wenn man User editiert und nicht extra auf speichern klickt: Livespeichern der Einwilligungen + if(user != ""){ + var checkBox = document.getElementById(id); + + if(checkBox.checked == true){ + var var_check = 1; + }else{ + var var_check = 0; + } + + $.ajax({ + type: 'POST', + url: '../controller/admin_memberupload.php', + data: { + 'function': 'erfeinw', + 'id': id, + 'user': user, + 'var_check': var_check + }, + success: function(result) { //we got the response + console.log('Einwilligung save'); + }, + error: function(xhr, status, exception) { + console.log(xhr); + } + }); + } +} + +function erf_alter(user){ + // Funktion, wenn man User editiert und nicht extra auf speichern klickt: Livespeichern der Einwilligungen + if(user != ""){ + var alter16 = document.querySelector('input[name="alter16"]:checked').value; + + $.ajax({ + type: 'POST', + url: '../controller/admin_memberupload.php', + data: { + 'function': 'erf_alter', + 'alter16': alter16, + 'user': user + }, + success: function(result) { //we got the response + console.log('Alter save'); + }, + error: function(xhr, status, exception) { + console.log(xhr); + } + }); + } } \ No newline at end of file diff --git a/js/lottie_bodymovin/lottie.min.js b/js/lottie_bodymovin/lottie.min.js index be2618e..818c3e6 100644 --- a/js/lottie_bodymovin/lottie.min.js +++ b/js/lottie_bodymovin/lottie.min.js @@ -1 +1 @@ -"undefined"!=typeof navigator&&function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).lottie=e()}(this,(function(){"use strict";var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(t){_useWebWorker=!!t},getWebWorker=function(){return _useWebWorker},setLocationHref=function(t){locationHref=t},getLocationHref=function(){return locationHref};function createTag(t){return document.createElement(t)}function extendPrototype(t,e){var r,i,s=t.length;for(r=0;r1?r[1]=1:r[1]<=0&&(r[1]=0),HSVtoRGB(r[0],r[1],r[2])}function addBrightnessToRGB(t,e){var r=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return r[2]+=e,r[2]>1?r[2]=1:r[2]<0&&(r[2]=0),HSVtoRGB(r[0],r[1],r[2])}function addHueToRGB(t,e){var r=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return r[0]+=e/360,r[0]>1?r[0]-=1:r[0]<0&&(r[0]+=1),HSVtoRGB(r[0],r[1],r[2])}var rgbToHex=function(){var t,e,r=[];for(t=0;t<256;t+=1)e=t.toString(16),r[t]=1===e.length?"0"+e:e;return function(t,e,i){return t<0&&(t=0),e<0&&(e=0),i<0&&(i=0),"#"+r[t]+r[e]+r[i]}}(),setSubframeEnabled=function(t){subframeEnabled=!!t},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(t){expressionsPlugin=t},getExpressionsPlugin=function(){return expressionsPlugin},setDefaultCurveSegments=function(t){defaultCurveSegments=t},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(t){idPrefix=t},getIdPrefix=function(){return idPrefix};function createNS(t){return document.createElementNS(svgNS,t)}function _typeof$5(t){return _typeof$5="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$5(t)}var dataManager=function(){var t,e,r=1,i=[],s={onmessage:function(){},postMessage:function(e){t({data:e})}},a={postMessage:function(t){s.onmessage({data:t})}};function n(){e||(e=function(e){if(window.Worker&&window.Blob&&getWebWorker()){var r=new Blob(["var _workerSelf = self; self.onmessage = ",e.toString()],{type:"text/javascript"}),i=URL.createObjectURL(r);return new Worker(i)}return t=e,s}((function(t){if(a.dataManager||(a.dataManager=function(){function t(s,a){var n,o,h,l,p,m,c=s.length;for(o=0;o=0;e-=1)if("sh"===t[e].ty)if(t[e].ks.k.i)i(t[e].ks.k);else for(a=t[e].ks.k.length,s=0;sr[0]||!(r[0]>t[0])&&(t[1]>r[1]||!(r[1]>t[1])&&(t[2]>r[2]||!(r[2]>t[2])&&null))}var a,n=function(){var t=[4,4,14];function e(t){var e,r,i,s=t.length;for(e=0;e=0;r-=1)if("sh"===t[r].ty)if(t[r].ks.k.i)t[r].ks.k.c=t[r].closed;else for(s=t[r].ks.k.length,i=0;i500)&&(this._imageLoaded(),clearInterval(r)),e+=1}.bind(this),50)}function a(t){var e={assetData:t},r=i(t,this.assetsPath,this.path);return dataManager.loadData(r,function(t){e.img=t,this._footageLoaded()}.bind(this),function(){e.img={},this._footageLoaded()}.bind(this)),e}function n(){this._imageLoaded=e.bind(this),this._footageLoaded=r.bind(this),this.testImageLoaded=s.bind(this),this.createFootageData=a.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return n.prototype={loadAssets:function(t,e){var r;this.imagesLoadedCb=e;var i=t.length;for(r=0;rthis.animationData.op&&(this.animationData.op=t.op,this.totalFrames=Math.floor(t.op-this.animationData.ip));var e,r,i=this.animationData.layers,s=i.length,a=t.layers,n=a.length;for(r=0;rthis.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(!1!==this.isLoaded&&this.renderer)try{this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(t){this.triggerRenderFrameError(t)}},AnimationItem.prototype.play=function(t){t&&this.name!==t||!0===this.isPaused&&(this.isPaused=!1,this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(t){t&&this.name!==t||!1===this.isPaused&&(this.isPaused=!0,this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(t){t&&this.name!==t||(!0===this.isPaused?this.play():this.pause())},AnimationItem.prototype.stop=function(t){t&&this.name!==t||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(t){for(var e,r=0;r=this.totalFrames-1&&this.frameModifier>0?this.loop&&this.playCount!==this.loop?e>=this.totalFrames?(this.playCount+=1,this.checkSegments(e%this.totalFrames)||(this.setCurrentRawFrameValue(e%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(e):this.checkSegments(e>this.totalFrames?e%this.totalFrames:0)||(r=!0,e=this.totalFrames-1):e<0?this.checkSegments(e%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(r=!0,e=0):(this.setCurrentRawFrameValue(this.totalFrames+e%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(e),r&&(this.setCurrentRawFrameValue(e),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(t,e){this.playCount=0,t[1]0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=t[0]-t[1],this.timeCompleted=this.totalFrames,this.firstFrame=t[1],this.setCurrentRawFrameValue(this.totalFrames-.001-e)):t[1]>t[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=t[1]-t[0],this.timeCompleted=this.totalFrames,this.firstFrame=t[0],this.setCurrentRawFrameValue(.001+e)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(t,e){var r=-1;this.isPaused&&(this.currentRawFrame+this.firstFramee&&(r=e-t)),this.firstFrame=t,this.totalFrames=e-t,this.timeCompleted=this.totalFrames,-1!==r&&this.goToAndStop(r,!0)},AnimationItem.prototype.playSegments=function(t,e){if(e&&(this.segments.length=0),"object"===_typeof$4(t[0])){var r,i=t.length;for(r=0;r=0;r-=1)e[r].animation.destroy(t)},t.freeze=function(){n=!0},t.unfreeze=function(){n=!1,d()},t.setVolume=function(t,r){var s;for(s=0;s=.001?function(t,e,r,i){for(var s=0;s<4;++s){var a=h(e,r,i);if(0===a)return e;e-=(o(e,r,i)-t)/a}return e}(t,l,e,i):0===p?l:function(t,e,r,i,s){var a,n,h=0;do{(a=o(n=e+(r-e)/2,i,s)-t)>0?r=n:e=n}while(Math.abs(a)>1e-7&&++h<10);return n}(t,a,a+r,e,i)}},t}(),pooling={double:function(t){return t.concat(createSizedArray(t.length))}},poolFactory=function(t,e,r){var i=0,s=t,a=createSizedArray(s);return{newElement:function(){return i?a[i-=1]:e()},release:function(t){i===s&&(a=pooling.double(a),s*=2),r&&r(t),a[i]=t,i+=1}}},bezierLengthPool=poolFactory(8,(function(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}})),segmentsLengthPool=poolFactory(8,(function(){return{lengths:[],totalLength:0}}),(function(t){var e,r=t.lengths.length;for(e=0;e-.001&&n<.001}var r=function(t,e,r,i){var s,a,n,o,h,l,p=getDefaultCurveSegments(),f=0,m=[],c=[],d=bezierLengthPool.newElement();for(n=r.length,s=0;sn?-1:1,l=!0;l;)if(i[a]<=n&&i[a+1]>n?(o=(n-i[a])/(i[a+1]-i[a]),l=!1):a+=h,a<0||a>=s-1){if(a===s-1)return r[a];l=!1}return r[a]+(r[a+1]-r[a])*o}var h=createTypedArray("float32",8);return{getSegmentsLength:function(t){var e,i=segmentsLengthPool.newElement(),s=t.c,a=t.v,n=t.o,o=t.i,h=t._length,l=i.lengths,p=0;for(e=0;e1&&(a=1);var p,f=o(a,l),m=o(n=n>1?1:n,l),c=e.length,d=1-f,u=1-m,y=d*d*d,g=f*d*d*3,v=f*f*d*3,b=f*f*f,P=d*d*u,E=f*d*u+d*f*u+d*d*m,x=f*f*u+d*f*m+f*d*m,S=f*f*m,C=d*u*u,A=f*u*u+d*m*u+d*u*m,_=f*m*u+d*m*m+f*u*m,T=f*m*m,k=u*u*u,D=m*u*u+u*m*u+u*u*m,M=m*m*u+u*m*m+m*u*m,F=m*m*m;for(p=0;pc?m>d?m-c-d:d-c-m:d>c?d-c-m:c-m-d)>-1e-4&&f<1e-4}}}var bez=bezFunction(),PropertyFactory=function(){var t=initialDefaultFrame,e=Math.abs;function r(t,e){var r,s=this.offsetTime;"multidimensional"===this.propType&&(r=createTypedArray("float32",this.pv.length));for(var a,n,o,h,l,p,f,m,c,d=e.lastIndex,u=d,y=this.keyframes.length-1,g=!0;g;){if(a=this.keyframes[u],n=this.keyframes[u+1],u===y-1&&t>=n.t-s){a.h&&(a=n),d=0;break}if(n.t-s>t){d=u;break}u=k||t=k?M.points.length-1:0;for(l=M.points[F].point.length,h=0;h=V&&I=k)r[0]=v[0],r[1]=v[1],r[2]=v[2];else if(t<=D)r[0]=a.s[0],r[1]=a.s[1],r[2]=a.s[2];else{var N=i(a.s),O=i(v);b=r,P=function(t,e,r){var i,s,a,n,o,h=[],l=t[0],p=t[1],f=t[2],m=t[3],c=e[0],d=e[1],u=e[2],y=e[3];return(s=l*c+p*d+f*u+m*y)<0&&(s=-s,c=-c,d=-d,u=-u,y=-y),1-s>1e-6?(i=Math.acos(s),a=Math.sin(i),n=Math.sin((1-r)*i)/a,o=Math.sin(r*i)/a):(n=1-r,o=r),h[0]=n*l+o*c,h[1]=n*p+o*d,h[2]=n*f+o*u,h[3]=n*m+o*y,h}(N,O,(t-D)/(k-D)),E=P[0],x=P[1],S=P[2],C=P[3],A=Math.atan2(2*x*C-2*E*S,1-2*x*x-2*S*S),_=Math.asin(2*E*x+2*S*C),T=Math.atan2(2*E*C-2*x*S,1-2*E*E-2*S*S),b[0]=A/degToRads,b[1]=_/degToRads,b[2]=T/degToRads}else for(u=0;u=k?p=1:t=i&&e>=i||this._caching.lastFrame=e&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var s=this.interpolateValue(e,this._caching);this.pv=s}return this._caching.lastFrame=e,this.pv}function a(t){var r;if("unidimensional"===this.propType)r=t*this.mult,e(this.v-r)>1e-5&&(this.v=r,this._mdf=!0);else for(var i=0,s=this.v.length;i1e-5&&(this.v[i]=r,this._mdf=!0),i+=1}function n(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var t;this.lock=!0,this._mdf=this._isFirstFrame;var e=this.effectsSequence.length,r=this.kf?this.pv:this.data.k;for(t=0;t=this._maxLength&&this.doubleArrayLength(),r){case"v":a=this.v;break;case"i":a=this.i;break;case"o":a=this.o;break;default:a=[]}(!a[i]||a[i]&&!s)&&(a[i]=pointPool.newElement()),a[i][0]=t,a[i][1]=e},ShapePath.prototype.setTripleAt=function(t,e,r,i,s,a,n,o){this.setXYAt(t,e,"v",n,o),this.setXYAt(r,i,"o",n,o),this.setXYAt(s,a,"i",n,o)},ShapePath.prototype.reverse=function(){var t=new ShapePath;t.setPathData(this.c,this._length);var e=this.v,r=this.o,i=this.i,s=0;this.c&&(t.setTripleAt(e[0][0],e[0][1],i[0][0],i[0][1],r[0][0],r[0][1],0,!1),s=1);var a,n=this._length-1,o=this._length;for(a=s;a=c[c.length-1].t-this.offsetTime)i=c[c.length-1].s?c[c.length-1].s[0]:c[c.length-2].e[0],a=!0;else{for(var d,u,y,g=m,v=c.length-1,b=!0;b&&(d=c[g],!((u=c[g+1]).t-this.offsetTime>t));)g=u.t-this.offsetTime)p=1;else if(ti&&e>i)||(this._caching.lastIndex=s0||t>-1e-6&&t<0?i(1e4*t)/1e4:t}function w(){var t=this.props;return"matrix("+F(t[0])+","+F(t[1])+","+F(t[4])+","+F(t[5])+","+F(t[12])+","+F(t[13])+")"}return function(){this.reset=s,this.rotate=a,this.rotateX=n,this.rotateY=o,this.rotateZ=h,this.skew=p,this.skewFromAxis=f,this.shear=l,this.scale=m,this.setTransform=c,this.translate=d,this.transform=u,this.applyToPoint=P,this.applyToX=E,this.applyToY=x,this.applyToZ=S,this.applyToPointArray=k,this.applyToTriplePoints=T,this.applyToPointStringified=D,this.toCSS=M,this.to2dCSS=w,this.clone=v,this.cloneFromProps=b,this.equals=g,this.inversePoints=_,this.inversePoint=A,this.getInverseMatrix=C,this._t=this.transform,this.isIdentity=y,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(t){return _typeof$3="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$3(t)}var lottie={},standalone="__[STANDALONE]__",animationData="__[ANIMATIONDATA]__",renderer="",queryString;function setLocation(t){setLocationHref(t)}function searchAnimations(){!0===standalone?animationManager.searchAnimations(animationData,standalone,renderer):animationManager.searchAnimations()}function setSubframeRendering(t){setSubframeEnabled(t)}function setPrefix(t){setIdPrefix(t)}function loadAnimation(t){return!0===standalone&&(t.animationData=JSON.parse(animationData)),animationManager.loadAnimation(t)}function setQuality(t){if("string"==typeof t)switch(t){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10)}else!isNaN(t)&&t>1&&setDefaultCurveSegments(t);getDefaultCurveSegments()>=50?roundValues(!1):roundValues(!0)}function inBrowser(){return"undefined"!=typeof navigator}function installPlugin(t,e){"expressions"===t&&setExpressionsPlugin(e)}function getFactory(t){switch(t){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}function checkReady(){"complete"===document.readyState&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(t){for(var e=queryString.split("&"),r=0;r=1?a.push({s:t-1,e:e-1}):(a.push({s:t,e:1}),a.push({s:0,e:e-1}));var n,o,h=[],l=a.length;for(n=0;ni+r))p=o.s*s<=i?0:(o.s*s-i)/r,f=o.e*s>=i+r?1:(o.e*s-i)/r,h.push([p,f])}return h.length||h.push([0,0]),h},TrimModifier.prototype.releasePathsData=function(t){var e,r=t.length;for(e=0;e1?1+a:this.s.v<0?0+a:this.s.v+a)>(r=this.e.v>1?1+a:this.e.v<0?0+a:this.e.v+a)){var n=e;e=r,r=n}e=1e-4*Math.round(1e4*e),r=1e-4*Math.round(1e4*r),this.sValue=e,this.eValue=r}else e=this.sValue,r=this.eValue;var o,h,l,p,f,m=this.shapes.length,c=0;if(r===e)for(s=0;s=0;s-=1)if((d=this.shapes[s]).shape._mdf){for((u=d.localShapeCollection).releaseShapes(),2===this.m&&m>1?(g=this.calculateShapeEdges(e,r,d.totalShapeLength,P,c),P+=d.totalShapeLength):g=[[v,b]],h=g.length,o=0;o=1?y.push({s:d.totalShapeLength*(v-1),e:d.totalShapeLength*(b-1)}):(y.push({s:d.totalShapeLength*v,e:d.totalShapeLength}),y.push({s:0,e:d.totalShapeLength*(b-1)}));var E=this.addShapes(d,y[0]);if(y[0].s!==y[0].e){if(y.length>1)if(d.shape.paths.shapes[d.shape.paths._length-1].c){var x=E.pop();this.addPaths(E,u),E=this.addShapes(d,y[1],x)}else this.addPaths(E,u),E=this.addShapes(d,y[1]);this.addPaths(E,u)}}d.shape.paths=u}}},TrimModifier.prototype.addPaths=function(t,e){var r,i=t.length;for(r=0;re.e){r.c=!1;break}e.s<=d&&e.e>=d+n.addedLength?(this.addSegment(m[i].v[s-1],m[i].o[s-1],m[i].i[s],m[i].v[s],r,o,y),y=!1):(l=bez.getNewSegment(m[i].v[s-1],m[i].v[s],m[i].o[s-1],m[i].i[s],(e.s-d)/n.addedLength,(e.e-d)/n.addedLength,h[s-1]),this.addSegmentFromArray(l,r,o,y),y=!1,r.c=!1),d+=n.addedLength,o+=1}if(m[i].c&&h.length){if(n=h[s-1],d<=e.e){var g=h[s-1].addedLength;e.s<=d&&e.e>=d+g?(this.addSegment(m[i].v[s-1],m[i].o[s-1],m[i].i[0],m[i].v[0],r,o,y),y=!1):(l=bez.getNewSegment(m[i].v[s-1],m[i].v[0],m[i].o[s-1],m[i].i[0],(e.s-d)/g,(e.e-d)/g,h[s-1]),this.addSegmentFromArray(l,r,o,y),y=!1,r.c=!1)}else r.c=!1;d+=n.addedLength,o+=1}if(r._length&&(r.setXYAt(r.v[p][0],r.v[p][1],"i",p),r.setXYAt(r.v[r._length-1][0],r.v[r._length-1][1],"o",r._length-1)),d>e.e)break;i=this.p.keyframes[this.p.keyframes.length-1].t?(i=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/r,0),s=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/r,0)):(i=this.p.pv,s=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/r,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){i=[],s=[];var a=this.px,n=this.py;a._caching.lastFrame+a.offsetTime<=a.keyframes[0].t?(i[0]=a.getValueAtTime((a.keyframes[0].t+.01)/r,0),i[1]=n.getValueAtTime((n.keyframes[0].t+.01)/r,0),s[0]=a.getValueAtTime(a.keyframes[0].t/r,0),s[1]=n.getValueAtTime(n.keyframes[0].t/r,0)):a._caching.lastFrame+a.offsetTime>=a.keyframes[a.keyframes.length-1].t?(i[0]=a.getValueAtTime(a.keyframes[a.keyframes.length-1].t/r,0),i[1]=n.getValueAtTime(n.keyframes[n.keyframes.length-1].t/r,0),s[0]=a.getValueAtTime((a.keyframes[a.keyframes.length-1].t-.01)/r,0),s[1]=n.getValueAtTime((n.keyframes[n.keyframes.length-1].t-.01)/r,0)):(i=[a.pv,n.pv],s[0]=a.getValueAtTime((a._caching.lastFrame+a.offsetTime-.01)/r,a.offsetTime),s[1]=n.getValueAtTime((n._caching.lastFrame+n.offsetTime-.01)/r,n.offsetTime))}else i=s=t;this.v.rotate(-Math.atan2(i[1]-s[1],i[0]-s[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}},precalculateMatrix:function(){if(!this.a.k&&(this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1,!this.s.effectsSequence.length)){if(this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2,this.sk){if(this.sk.effectsSequence.length||this.sa.effectsSequence.length)return;this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3}this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):this.rz.effectsSequence.length||this.ry.effectsSequence.length||this.rx.effectsSequence.length||this.or.effectsSequence.length||(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}},autoOrient:function(){}},extendPrototype([DynamicPropertyContainer],e),e.prototype.addDynamicProperty=function(t){this._addDynamicProperty(t),this.elem.addDynamicProperty(t),this._isDirty=!0},e.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:function(t,r,i){return new e(t,r,i)}}}();function RepeaterModifier(){}function RoundCornersModifier(){}function getFontProperties(t){for(var e=t.fStyle?t.fStyle.split(" "):[],r="normal",i="normal",s=e.length,a=0;a0;)r-=1,this._elements.unshift(e[r]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(t){var e,r=t.length;for(e=0;e0?Math.floor(m):Math.ceil(m),u=this.pMatrix.props,y=this.rMatrix.props,g=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var v,b,P=0;if(m>0){for(;Pd;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),P-=1;c&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-c,!0),P-=c)}for(i=1===this.data.m?0:this._currentCopies-1,s=1===this.data.m?1:-1,a=this._currentCopies;a;){if(b=(r=(e=this.elemsData[i].it)[e.length-1].transform.mProps.v.props).length,e[e.length-1].transform.mProps._mdf=!0,e[e.length-1].transform.op._mdf=!0,e[e.length-1].transform.op.v=1===this._currentCopies?this.so.v:this.so.v+(this.eo.v-this.so.v)*(i/(this._currentCopies-1)),0!==P){for((0!==i&&1===s||i!==this._currentCopies-1&&-1===s)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(y[0],y[1],y[2],y[3],y[4],y[5],y[6],y[7],y[8],y[9],y[10],y[11],y[12],y[13],y[14],y[15]),this.matrix.transform(g[0],g[1],g[2],g[3],g[4],g[5],g[6],g[7],g[8],g[9],g[10],g[11],g[12],g[13],g[14],g[15]),this.matrix.transform(u[0],u[1],u[2],u[3],u[4],u[5],u[6],u[7],u[8],u[9],u[10],u[11],u[12],u[13],u[14],u[15]),v=0;v0&&(p=!1),p){var f=createTag("style");f.setAttribute("f-forigin",i[r].fOrigin),f.setAttribute("f-origin",i[r].origin),f.setAttribute("f-family",i[r].fFamily),f.type="text/css",f.innerText="@font-face {font-family: "+i[r].fFamily+"; font-style: normal; src: url('"+i[r].fPath+"');}",e.appendChild(f)}}else if("g"===i[r].fOrigin||1===i[r].origin){for(h=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),l=0;lt?!0!==this.isInRange&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):!1!==this.isInRange&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var t,e=this.renderableComponents.length;for(t=0;t0&&(this.maskElement.setAttribute("id",y),this.element.maskedElement.setAttribute(v,"url("+getLocationHref()+"#"+y+")"),a.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}FootageElement.prototype.prepareFrame=function(){},extendPrototype([RenderableElement,BaseElement,FrameElement],FootageElement),FootageElement.prototype.getBaseElement=function(){return null},FootageElement.prototype.renderFrame=function(){},FootageElement.prototype.destroy=function(){},FootageElement.prototype.initExpressions=function(){this.layerInterface=FootageInterface(this)},FootageElement.prototype.getFootageData=function(){return this.footageData},AudioElement.prototype.prepareFrame=function(t){if(this.prepareRenderableFrame(t,!0),this.prepareProperties(t,!0),this.tm._placeholder)this._currentTime=t/this.data.sr;else{var e=this.tm.v;this._currentTime=e}},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},AudioElement.prototype.show=function(){},AudioElement.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},AudioElement.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},AudioElement.prototype.resume=function(){this._canPlay=!0},AudioElement.prototype.setRate=function(t){this.audio.rate(t)},AudioElement.prototype.volume=function(t){this.audio.volume(t)},AudioElement.prototype.getBaseElement=function(){return null},AudioElement.prototype.destroy=function(){},AudioElement.prototype.sourceRectAtTime=function(){},AudioElement.prototype.initExpressions=function(){},BaseRenderer.prototype.checkLayers=function(t){var e,r,i=this.layers.length;for(this.completeLayers=!0,e=i-1;e>=0;e-=1)this.elements[e]||(r=this.layers[e]).ip-r.st<=t-this.layers[e].st&&r.op-r.st>t-this.layers[e].st&&this.buildItem(e),this.completeLayers=!!this.elements[e]&&this.completeLayers;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(t){switch(t.ty){case 2:return this.createImage(t);case 0:return this.createComp(t);case 1:return this.createSolid(t);case 3:default:return this.createNull(t);case 4:return this.createShape(t);case 5:return this.createText(t);case 6:return this.createAudio(t);case 13:return this.createCamera(t);case 15:return this.createFootage(t)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(t){return new AudioElement(t,this.globalData,this)},BaseRenderer.prototype.createFootage=function(t){return new FootageElement(t,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var t,e=this.layers.length;for(t=0;t1&&(a+=" C"+e.o[i-1][0]+","+e.o[i-1][1]+" "+e.i[0][0]+","+e.i[0][1]+" "+e.v[0][0]+","+e.v[0][1]),r.lastPath!==a){var n="";r.elem&&(e.c&&(n=t.inv?this.solidPath+a:a),r.elem.setAttribute("d",n)),r.lastPath=a}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var t={};return t.createFilter=function(t,e){var r=createNS("filter");r.setAttribute("id",t),!0!==e&&(r.setAttribute("filterUnits","objectBoundingBox"),r.setAttribute("x","0%"),r.setAttribute("y","0%"),r.setAttribute("width","100%"),r.setAttribute("height","100%"));return r},t.createAlphaToLuminanceFilter=function(){var t=createNS("feColorMatrix");return t.setAttribute("type","matrix"),t.setAttribute("color-interpolation-filters","sRGB"),t.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),t},t}(),featureSupport=function(){var t={maskType:!0};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(t.maskType=!1),t}();function SVGTintFilter(t,e){this.filterManager=e;var r=createNS("feColorMatrix");if(r.setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","linearRGB"),r.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),r.setAttribute("result","f1"),t.appendChild(r),(r=createNS("feColorMatrix")).setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","sRGB"),r.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),r.setAttribute("result","f2"),t.appendChild(r),this.matrixFilter=r,100!==e.effectElements[2].p.v||e.effectElements[2].p.k){var i,s=createNS("feMerge");t.appendChild(s),(i=createNS("feMergeNode")).setAttribute("in","SourceGraphic"),s.appendChild(i),(i=createNS("feMergeNode")).setAttribute("in","f2"),s.appendChild(i)}}function SVGFillFilter(t,e){this.filterManager=e;var r=createNS("feColorMatrix");r.setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","sRGB"),r.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),t.appendChild(r),this.matrixFilter=r}function SVGStrokeEffect(t,e){this.initialized=!1,this.filterManager=e,this.elem=t,this.paths=[]}function SVGTritoneFilter(t,e){this.filterManager=e;var r=createNS("feColorMatrix");r.setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","linearRGB"),r.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),r.setAttribute("result","f1"),t.appendChild(r);var i=createNS("feComponentTransfer");i.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(i),this.matrixFilter=i;var s=createNS("feFuncR");s.setAttribute("type","table"),i.appendChild(s),this.feFuncR=s;var a=createNS("feFuncG");a.setAttribute("type","table"),i.appendChild(a),this.feFuncG=a;var n=createNS("feFuncB");n.setAttribute("type","table"),i.appendChild(n),this.feFuncB=n}function SVGProLevelsFilter(t,e){this.filterManager=e;var r=this.filterManager.effectElements,i=createNS("feComponentTransfer");(r[10].p.k||0!==r[10].p.v||r[11].p.k||1!==r[11].p.v||r[12].p.k||1!==r[12].p.v||r[13].p.k||0!==r[13].p.v||r[14].p.k||1!==r[14].p.v)&&(this.feFuncR=this.createFeFunc("feFuncR",i)),(r[17].p.k||0!==r[17].p.v||r[18].p.k||1!==r[18].p.v||r[19].p.k||1!==r[19].p.v||r[20].p.k||0!==r[20].p.v||r[21].p.k||1!==r[21].p.v)&&(this.feFuncG=this.createFeFunc("feFuncG",i)),(r[24].p.k||0!==r[24].p.v||r[25].p.k||1!==r[25].p.v||r[26].p.k||1!==r[26].p.v||r[27].p.k||0!==r[27].p.v||r[28].p.k||1!==r[28].p.v)&&(this.feFuncB=this.createFeFunc("feFuncB",i)),(r[31].p.k||0!==r[31].p.v||r[32].p.k||1!==r[32].p.v||r[33].p.k||1!==r[33].p.v||r[34].p.k||0!==r[34].p.v||r[35].p.k||1!==r[35].p.v)&&(this.feFuncA=this.createFeFunc("feFuncA",i)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(i.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(i),i=createNS("feComponentTransfer")),(r[3].p.k||0!==r[3].p.v||r[4].p.k||1!==r[4].p.v||r[5].p.k||1!==r[5].p.v||r[6].p.k||0!==r[6].p.v||r[7].p.k||1!==r[7].p.v)&&(i.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(i),this.feFuncRComposed=this.createFeFunc("feFuncR",i),this.feFuncGComposed=this.createFeFunc("feFuncG",i),this.feFuncBComposed=this.createFeFunc("feFuncB",i))}function SVGDropShadowEffect(t,e){var r=e.container.globalData.renderConfig.filterSize;t.setAttribute("x",r.x),t.setAttribute("y",r.y),t.setAttribute("width",r.width),t.setAttribute("height",r.height),this.filterManager=e;var i=createNS("feGaussianBlur");i.setAttribute("in","SourceAlpha"),i.setAttribute("result","drop_shadow_1"),i.setAttribute("stdDeviation","0"),this.feGaussianBlur=i,t.appendChild(i);var s=createNS("feOffset");s.setAttribute("dx","25"),s.setAttribute("dy","0"),s.setAttribute("in","drop_shadow_1"),s.setAttribute("result","drop_shadow_2"),this.feOffset=s,t.appendChild(s);var a=createNS("feFlood");a.setAttribute("flood-color","#00ff00"),a.setAttribute("flood-opacity","1"),a.setAttribute("result","drop_shadow_3"),this.feFlood=a,t.appendChild(a);var n=createNS("feComposite");n.setAttribute("in","drop_shadow_3"),n.setAttribute("in2","drop_shadow_2"),n.setAttribute("operator","in"),n.setAttribute("result","drop_shadow_4"),t.appendChild(n);var o,h=createNS("feMerge");t.appendChild(h),o=createNS("feMergeNode"),h.appendChild(o),(o=createNS("feMergeNode")).setAttribute("in","SourceGraphic"),this.feMergeNode=o,this.feMerge=h,this.originalNodeAdded=!1,h.appendChild(o)}SVGTintFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,i=this.filterManager.effectElements[2].p.v/100;this.matrixFilter.setAttribute("values",r[0]-e[0]+" 0 0 0 "+e[0]+" "+(r[1]-e[1])+" 0 0 0 "+e[1]+" "+(r[2]-e[2])+" 0 0 0 "+e[2]+" 0 0 0 "+i+" 0")}},SVGFillFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[2].p.v,r=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+e[0]+" 0 0 0 0 "+e[1]+" 0 0 0 0 "+e[2]+" 0 0 0 "+r+" 0")}},SVGStrokeEffect.prototype.initialize=function(){var t,e,r,i,s=this.elem.layerElement.children||this.elem.layerElement.childNodes;for(1===this.filterManager.effectElements[1].p.v?(i=this.elem.maskManager.masksProperties.length,r=0):i=(r=this.filterManager.effectElements[0].p.v-1)+1,(e=createNS("g")).setAttribute("fill","none"),e.setAttribute("stroke-linecap","round"),e.setAttribute("stroke-dashoffset",1);r=l?c<0?i:s:i+m*Math.pow((a-t)/c,1/r),p[f]=n,f+=1,o+=256/255;return p.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e,r=this.filterManager.effectElements;this.feFuncRComposed&&(t||r[3].p._mdf||r[4].p._mdf||r[5].p._mdf||r[6].p._mdf||r[7].p._mdf)&&(e=this.getTableValue(r[3].p.v,r[4].p.v,r[5].p.v,r[6].p.v,r[7].p.v),this.feFuncRComposed.setAttribute("tableValues",e),this.feFuncGComposed.setAttribute("tableValues",e),this.feFuncBComposed.setAttribute("tableValues",e)),this.feFuncR&&(t||r[10].p._mdf||r[11].p._mdf||r[12].p._mdf||r[13].p._mdf||r[14].p._mdf)&&(e=this.getTableValue(r[10].p.v,r[11].p.v,r[12].p.v,r[13].p.v,r[14].p.v),this.feFuncR.setAttribute("tableValues",e)),this.feFuncG&&(t||r[17].p._mdf||r[18].p._mdf||r[19].p._mdf||r[20].p._mdf||r[21].p._mdf)&&(e=this.getTableValue(r[17].p.v,r[18].p.v,r[19].p.v,r[20].p.v,r[21].p.v),this.feFuncG.setAttribute("tableValues",e)),this.feFuncB&&(t||r[24].p._mdf||r[25].p._mdf||r[26].p._mdf||r[27].p._mdf||r[28].p._mdf)&&(e=this.getTableValue(r[24].p.v,r[25].p.v,r[26].p.v,r[27].p.v,r[28].p.v),this.feFuncB.setAttribute("tableValues",e)),this.feFuncA&&(t||r[31].p._mdf||r[32].p._mdf||r[33].p._mdf||r[34].p._mdf||r[35].p._mdf)&&(e=this.getTableValue(r[31].p.v,r[32].p.v,r[33].p.v,r[34].p.v,r[35].p.v),this.feFuncA.setAttribute("tableValues",e))}},SVGDropShadowEffect.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){if((t||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),t||this.filterManager.effectElements[0].p._mdf){var e=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(255*e[0]),Math.round(255*e[1]),Math.round(255*e[2])))}if((t||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),t||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var r=this.filterManager.effectElements[3].p.v,i=(this.filterManager.effectElements[2].p.v-90)*degToRads,s=r*Math.cos(i),a=r*Math.sin(i);this.feOffset.setAttribute("dx",s),this.feOffset.setAttribute("dy",a)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(t,e,r){this.initialized=!1,this.filterManager=e,this.filterElem=t,this.elem=r,r.matteElement=createNS("g"),r.matteElement.appendChild(r.layerElement),r.matteElement.appendChild(r.transformedElement),r.baseElement=r.matteElement}function SVGGaussianBlurEffect(t,e){t.setAttribute("x","-100%"),t.setAttribute("y","-100%"),t.setAttribute("width","300%"),t.setAttribute("height","300%"),this.filterManager=e;var r=createNS("feGaussianBlur");t.appendChild(r),this.feGaussianBlur=r}SVGMatte3Effect.prototype.findSymbol=function(t){for(var e=0,r=_svgMatteSymbols.length;e=0&&!this.shapeModifiers[t].processShapes(this._isFirstFrame);t-=1);}},searchProcessedElement:function(t){for(var e=this.processedElements,r=0,i=e.length;r.01)return!1;r+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!=this.c.length/4)return!1;if(this.data.k.k[0].s)for(var t=0,e=this.data.k.k.length;t0;)h=i.transformers[u].mProps._mdf||h,d-=1,u-=1;if(h)for(d=g-i.styles[p].lvl,u=i.transformers.length-1;d>0;)c=i.transformers[u].mProps.v.props,m.transform(c[0],c[1],c[2],c[3],c[4],c[5],c[6],c[7],c[8],c[9],c[10],c[11],c[12],c[13],c[14],c[15]),d-=1,u-=1}else m=t;if(n=(f=i.sh.paths)._length,h){for(o="",a=0;a=1?v=.99:v<=-1&&(v=-.99);var b=o*v,P=Math.cos(g+e.a.v)*b+p[0],E=Math.sin(g+e.a.v)*b+p[1];h.setAttribute("fx",P),h.setAttribute("fy",E),l&&!e.g._collapsable&&(e.of.setAttribute("fx",P),e.of.setAttribute("fy",E))}}function h(t,e,r){var i=e.style,s=e.d;s&&(s._mdf||r)&&s.dashStr&&(i.pElem.setAttribute("stroke-dasharray",s.dashStr),i.pElem.setAttribute("stroke-dashoffset",s.dashoffset[0])),e.c&&(e.c._mdf||r)&&i.pElem.setAttribute("stroke","rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||r)&&i.pElem.setAttribute("stroke-opacity",e.o.v),(e.w._mdf||r)&&(i.pElem.setAttribute("stroke-width",e.w.v),i.msElem&&i.msElem.setAttribute("stroke-width",e.w.v))}return{createRenderFunction:function(t){switch(t.ty){case"fl":return a;case"gf":return o;case"gs":return n;case"st":return h;case"sh":case"el":case"rc":case"sr":return s;case"tr":return r;case"no":return i;default:return null}}}}();function SVGShapeElement(t,e,r){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(t,e,r),this.prevViewData=[]}function LetterProps(t,e,r,i,s,a){this.o=t,this.sw=e,this.sc=r,this.fc=i,this.m=s,this.p=a,this._mdf={o:!0,sw:!!e,sc:!!r,fc:!!i,m:!0,p:!0}}function TextProperty(t,e){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,this.data=e,this.elem=t,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var t,e,r,i,s=this.shapes.length,a=this.stylesList.length,n=[],o=!1;for(r=0;r1&&o&&this.setShapesAsAnimated(n)}},SVGShapeElement.prototype.setShapesAsAnimated=function(t){var e,r=t.length;for(e=0;e=0;o-=1){if((m=this.searchProcessedElement(t[o]))?e[o]=r[m-1]:t[o]._render=n,"fl"===t[o].ty||"st"===t[o].ty||"gf"===t[o].ty||"gs"===t[o].ty||"no"===t[o].ty)m?e[o].style.closed=!1:e[o]=this.createStyleElement(t[o],s),t[o]._render&&e[o].style.pElem.parentNode!==i&&i.appendChild(e[o].style.pElem),u.push(e[o].style);else if("gr"===t[o].ty){if(m)for(l=e[o].it.length,h=0;h1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(t){this.effectsSequence.push(t),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(t){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length||t){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var e=this.currentData,r=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{var i;this.lock=!0,this._mdf=!1;var s=this.effectsSequence.length,a=t||this.data.d.k[this.keysIndex].s;for(i=0;ie);)r+=1;return this.keysIndex!==r&&(this.keysIndex=r),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(t){for(var e,r,i=[],s=0,a=t.length,n=!1;s=55296&&e<=56319?(r=t.charCodeAt(s+1))>=56320&&r<=57343?(n||FontManager.isModifier(e,r)?(i[i.length-1]+=t.substr(s,2),n=!1):i.push(t.substr(s,2)),s+=1):i.push(t.charAt(s)):e>56319?(r=t.charCodeAt(s+1),FontManager.isZeroWidthJoiner(e,r)?(n=!0,i[i.length-1]+=t.substr(s,2),s+=1):i.push(t.charAt(s))):FontManager.isZeroWidthJoiner(e)?(i[i.length-1]+=t.charAt(s),n=!0):i.push(t.charAt(s)),s+=1;return i},TextProperty.prototype.completeTextData=function(t){t.__complete=!0;var e,r,i,s,a,n,o,h=this.elem.globalData.fontManager,l=this.data,p=[],f=0,m=l.m.g,c=0,d=0,u=0,y=[],g=0,v=0,b=h.getFontByName(t.f),P=0,E=getFontProperties(b);t.fWeight=E.weight,t.fStyle=E.style,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),r=t.finalText.length,t.finalLineHeight=t.lh;var x,S=t.tr/1e3*t.finalSize;if(t.sz)for(var C,A,_=!0,T=t.sz[0],k=t.sz[1];_;){C=0,g=0,r=(A=this.buildFinalText(t.t)).length,S=t.tr/1e3*t.finalSize;var D=-1;for(e=0;eT&&" "!==A[e]?(-1===D?r+=1:e=D,C+=t.finalLineHeight||1.2*t.finalSize,A.splice(e,D===e?1:0,"\r"),D=-1,g=0):(g+=P,g+=S);C+=b.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&kv?g:v,g=-2*S,s="",i=!0,u+=1):s=M,h.chars?(o=h.getCharData(M,b.fStyle,h.getFontByName(t.f).fFamily),P=i?0:o.w*t.finalSize/100):P=h.measureText(s,t.f,t.finalSize)," "===M?F+=P+S:(g+=P+S+F,F=0),p.push({l:P,an:P,add:c,n:i,anIndexes:[],val:s,line:u,animatorJustifyOffset:0}),2==m){if(c+=P,""===s||" "===s||e===r-1){for(""!==s&&" "!==s||(c-=P);d<=e;)p[d].an=c,p[d].ind=f,p[d].extra=P,d+=1;f+=1,c=0}}else if(3==m){if(c+=P,""===s||e===r-1){for(""===s&&(c-=P);d<=e;)p[d].an=c,p[d].ind=f,p[d].extra=P,d+=1;c=0,f+=1}}else p[f].ind=f,p[f].extra=0,f+=1;if(t.l=p,v=g>v?g:v,y.push(g),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=v,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0}t.lineWidths=y;var w,I,V,B,R=l.a;n=R.length;var L=[];for(a=0;a0?s=this.ne.v/100:a=-this.ne.v/100,this.xe.v>0?n=1-this.xe.v/100:o=1+this.xe.v/100;var h=BezierFactory.getBezierEasing(s,a,n,o).get,l=0,p=this.finalS,f=this.finalE,m=this.data.sh;if(2===m)l=h(l=f===p?i>=f?1:0:t(0,e(.5/(f-p)+(i-p)/(f-p),1)));else if(3===m)l=h(l=f===p?i>=f?0:1:1-t(0,e(.5/(f-p)+(i-p)/(f-p),1)));else if(4===m)f===p?l=0:(l=t(0,e(.5/(f-p)+(i-p)/(f-p),1)))<.5?l*=2:l=1-2*(l-.5),l=h(l);else if(5===m){if(f===p)l=0;else{var c=f-p,d=-c/2+(i=e(t(0,i+.5-p),f-p)),u=c/2;l=Math.sqrt(1-d*d/(u*u))}l=h(l)}else 6===m?(f===p?l=0:(i=e(t(0,i+.5-p),f-p),l=(1+Math.cos(Math.PI+2*Math.PI*i/(f-p)))/2),l=h(l)):(i>=r(p)&&(l=t(0,e(i-p<0?e(f,1)-(p-i):f-i,1))),l=h(l));if(100!==this.sm.v){var y=.01*this.sm.v;0===y&&(y=1e-8);var g=.5-.5*y;l1&&(l=1)}return l*this.a.v},getValue:function(t){this.iterateDynamicProperties(),this._mdf=t||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,t&&2===this.data.r&&(this.e.v=this._currentTextLength);var e=2===this.data.r?1:100/this.data.totalChars,r=this.o.v/e,i=this.s.v/e+r,s=this.e.v/e+r;if(i>s){var a=i;i=s,s=a}this.finalS=i,this.finalE=s}},extendPrototype([DynamicPropertyContainer],i),{getTextSelectorProp:function(t,e,r){return new i(t,e,r)}}}();function TextAnimatorDataProperty(t,e,r){var i={propType:!1},s=PropertyFactory.getProp,a=e.a;this.a={r:a.r?s(t,a.r,0,degToRads,r):i,rx:a.rx?s(t,a.rx,0,degToRads,r):i,ry:a.ry?s(t,a.ry,0,degToRads,r):i,sk:a.sk?s(t,a.sk,0,degToRads,r):i,sa:a.sa?s(t,a.sa,0,degToRads,r):i,s:a.s?s(t,a.s,1,.01,r):i,a:a.a?s(t,a.a,1,0,r):i,o:a.o?s(t,a.o,0,.01,r):i,p:a.p?s(t,a.p,1,0,r):i,sw:a.sw?s(t,a.sw,0,0,r):i,sc:a.sc?s(t,a.sc,1,0,r):i,fc:a.fc?s(t,a.fc,1,0,r):i,fh:a.fh?s(t,a.fh,0,0,r):i,fs:a.fs?s(t,a.fs,0,.01,r):i,fb:a.fb?s(t,a.fb,0,.01,r):i,t:a.t?s(t,a.t,0,0,r):i},this.s=TextSelectorProp.getTextSelectorProp(t,e.s,r),this.s.t=e.s.t}function TextAnimatorProperty(t,e,r){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=t,this._renderType=e,this._elem=r,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(r)}function ITextElement(){}TextAnimatorProperty.prototype.searchProperties=function(){var t,e,r=this._textData.a.length,i=PropertyFactory.getProp;for(t=0;t=o+ot||!d?(v=(o+ot-l)/h.partialLength,G=c.point[0]+(h.point[0]-c.point[0])*v,z=c.point[1]+(h.point[1]-c.point[1])*v,C.translate(-E[0]*T[s].an*.005,-E[1]*B*.01),p=!1):d&&(l+=h.partialLength,(f+=1)>=d.length&&(f=0,u[m+=1]?d=u[m].points:P.v.c?(f=0,d=u[m=0].points):(l-=h.partialLength,d=null)),d&&(c=h,y=(h=d[f]).partialLength));L=T[s].an/2-T[s].add,C.translate(-L,0,0)}else L=T[s].an/2-T[s].add,C.translate(-L,0,0),C.translate(-E[0]*T[s].an*.005,-E[1]*B*.01,0);for(F=0;Ft?this.textSpans[t].span:createNS(h?"g":"text"),y<=t){if(n.setAttribute("stroke-linecap","butt"),n.setAttribute("stroke-linejoin","round"),n.setAttribute("stroke-miterlimit","4"),this.textSpans[t].span=n,h){var g=createNS("g");n.appendChild(g),this.textSpans[t].childSpan=g}this.textSpans[t].span=n,this.layerElement.appendChild(n)}n.style.display="inherit"}if(l.reset(),l.scale(r.finalSize/100,r.finalSize/100),p&&(o[t].n&&(f=-d,m+=r.yOffset,m+=c?1:0,c=!1),this.applyTextPropertiesToMatrix(r,l,o[t].line,f,m),f+=o[t].l||0,f+=d),h){var v;if(1===(u=this.globalData.fontManager.getCharData(r.finalText[t],i.fStyle,this.globalData.fontManager.getFontByName(r.f).fFamily)).t)v=new SVGCompElement(u.data,this.globalData,this);else{var b=emptyShapeData;u.data&&u.data.shapes&&(b=u.data),v=new SVGShapeElement(b,this.globalData,this)}this.textSpans[t].glyph=v,v._debug=!0,v.prepareFrame(0),v.renderFrame(),this.textSpans[t].childSpan.appendChild(v.layerElement),this.textSpans[t].childSpan.setAttribute("transform","scale("+r.finalSize/100+","+r.finalSize/100+")")}else p&&n.setAttribute("transform","translate("+l.props[12]+","+l.props[13]+")"),n.textContent=o[t].val,n.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}p&&n&&n.setAttribute("d","")}else{var P=this.textContainer,E="start";switch(r.j){case 1:E="end";break;case 2:E="middle";break;default:E="start"}P.setAttribute("text-anchor",E),P.setAttribute("letter-spacing",d);var x=this.buildTextContents(r.finalText);for(e=x.length,m=r.ps?r.ps[1]+r.ascent:0,t=0;t=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].prepareFrame(t-this.layers[e].st);if(this.globalData._mdf)for(e=0;e=0;r-=1)(this.completeLayers||this.elements[r])&&(this.elements[r].prepareFrame(this.renderedFrame-this.layers[r].st),this.elements[r]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var t,e=this.layers.length;for(t=0;t=0;i-=1)r=t.transforms[i].transform.mProps.v.props,t.finalTransform.transform(r[0],r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15]);t._mdf=a},processSequences:function(t){var e,r=this.sequenceList.length;for(e=0;e=0;a-=1){if((h=this.searchProcessedElement(t[a]))?e[a]=r[h-1]:t[a]._shouldRender=i,"fl"===t[a].ty||"st"===t[a].ty||"gf"===t[a].ty||"gs"===t[a].ty)h?e[a].style.closed=!1:e[a]=this.createStyleElement(t[a],d),m.push(e[a].style);else if("gr"===t[a].ty){if(h)for(o=e[a].it.length,n=0;n=0;s-=1)"tr"===e[s].ty?(a=r[s].transform,this.renderShapeTransform(t,a)):"sh"===e[s].ty||"el"===e[s].ty||"rc"===e[s].ty||"sr"===e[s].ty?this.renderPath(e[s],r[s]):"fl"===e[s].ty?this.renderFill(e[s],r[s],a):"st"===e[s].ty?this.renderStroke(e[s],r[s],a):"gf"===e[s].ty||"gs"===e[s].ty?this.renderGradientFill(e[s],r[s],a):"gr"===e[s].ty?this.renderShape(a,e[s].it,r[s].it):e[s].ty;i&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(t,e){if(this._isFirstFrame||e._mdf||t.transforms._mdf){var r,i,s,a=t.trNodes,n=e.paths,o=n._length;a.length=0;var h=t.transforms.finalTransform;for(s=0;s=1?f=.99:f<=-1&&(f=-.99);var m=l*f,c=Math.cos(p+e.a.v)*m+o[0],d=Math.sin(p+e.a.v)*m+o[1];i=n.createRadialGradient(c,d,0,o[0],o[1],l)}var u=t.g.p,y=e.g.c,g=1;for(a=0;ao&&"xMidYMid slice"===h||nr&&"meet"===a||ir&&"slice"===a)?(t-this.transformCanvas.w*(e/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===o&&(ir&&"slice"===a)?(t-this.transformCanvas.w*(e/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.ty="YMid"===h&&(i>r&&"meet"===a||ir&&"meet"===a||i=0;t-=1)this.elements[t]&&this.elements[t].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(t,e){if((this.renderedFrame!==t||!0!==this.renderConfig.clearCanvas||e)&&!this.destroyed&&-1!==t){var r;this.renderedFrame=t,this.globalData.frameNum=t-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||e,this.globalData.projectInterface.currentFrame=t;var i=this.layers.length;for(this.completeLayers||this.checkLayers(t),r=0;r=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].renderFrame();!0!==this.renderConfig.clearCanvas&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(t){var e=this.elements;if(!e[t]&&99!==this.layers[t].ty){var r=this.createItem(this.layers[t],this,this.globalData);e[t]=r,r.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){this.pendingElements.pop().checkParenting()}},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"},extendPrototype([CanvasRendererBase,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var t,e=this.canvasContext;for(e.beginPath(),e.moveTo(0,0),e.lineTo(this.data.w,0),e.lineTo(this.data.w,this.data.h),e.lineTo(0,this.data.h),e.lineTo(0,0),e.clip(),t=this.layers.length-1;t>=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},CVCompElement.prototype.destroy=function(){var t;for(t=this.layers.length-1;t>=0;t-=1)this.elements[t]&&this.elements[t].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(t){return new CVCompElement(t,this.globalData,this)},extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(t){return new CVCompElement(t,this.globalData,this)},HBaseElement.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=createTag(this.data.tg||"div"),this.data.hasMask?(this.svgElement=createNS("svg"),this.layerElement=createNS("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,styleDiv(this.baseElement)},createContainerElements:function(){this.renderableEffectsManager=new CVEffects(this),this.transformedElement=this.baseElement,this.maskedElement=this.layerElement,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0!==this.data.bm&&this.setBlendMode()},renderElement:function(){var t=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var e=this.finalTransform.mat.toCSS();t.transform=e,t.webkitTransform=e}this.finalTransform._opMdf&&(t.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=BaseRenderer.prototype.buildElementParenting,extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var t;this.data.hasMask?((t=createNS("rect")).setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):((t=createTag("div")).style.width=this.data.sw+"px",t.style.height=this.data.sh+"px",t.style.backgroundColor=this.data.sc),this.layerElement.appendChild(t)},extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var t;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),t=this.svgElement;else{t=createNS("svg");var e=this.comp.data?this.comp.data:this.globalData.compSize;t.setAttribute("width",e.w),t.setAttribute("height",e.h),t.appendChild(this.shapesContainer),this.layerElement.appendChild(t)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=t},HShapeElement.prototype.getTransformedPoint=function(t,e){var r,i=t.length;for(r=0;r0&&o<1&&f[m].push(this.calculateF(o,t,e,r,i,m)):(h=a*a-4*n*s)>=0&&((l=(-a+bmSqrt(h))/(2*s))>0&&l<1&&f[m].push(this.calculateF(l,t,e,r,i,m)),(p=(-a-bmSqrt(h))/(2*s))>0&&p<1&&f[m].push(this.calculateF(p,t,e,r,i,m))));this.shapeBoundingBox.left=bmMin.apply(null,f[0]),this.shapeBoundingBox.top=bmMin.apply(null,f[1]),this.shapeBoundingBox.right=bmMax.apply(null,f[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,f[1])},HShapeElement.prototype.calculateF=function(t,e,r,i,s,a){return bmPow(1-t,3)*e[a]+3*bmPow(1-t,2)*t*r[a]+3*(1-t)*bmPow(t,2)*i[a]+bmPow(t,3)*s[a]},HShapeElement.prototype.calculateBoundingBox=function(t,e){var r,i=t.length;for(r=0;r=t.x+t.width&&this.currentBBox.height+this.currentBBox.y>=t.y+t.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var t=this.tempBoundingBox,e=999999;if(t.x=e,t.xMax=-e,t.y=e,t.yMax=-e,this.calculateBoundingBox(this.itemsData,t),t.width=t.xMax=0;t-=1){var i=this.hierarchy[t].finalTransform.mProp;this.mat.translate(-i.p.v[0],-i.p.v[1],i.p.v[2]),this.mat.rotateX(-i.or.v[0]).rotateY(-i.or.v[1]).rotateZ(i.or.v[2]),this.mat.rotateX(-i.rx.v).rotateY(-i.ry.v).rotateZ(i.rz.v),this.mat.scale(1/i.s.v[0],1/i.s.v[1],1/i.s.v[2]),this.mat.translate(i.a.v[0],i.a.v[1],i.a.v[2])}if(this.p?this.mat.translate(-this.p.v[0],-this.p.v[1],this.p.v[2]):this.mat.translate(-this.px.v,-this.py.v,this.pz.v),this.a){var s;s=this.p?[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var a=Math.sqrt(Math.pow(s[0],2)+Math.pow(s[1],2)+Math.pow(s[2],2)),n=[s[0]/a,s[1]/a,s[2]/a],o=Math.sqrt(n[2]*n[2]+n[0]*n[0]),h=Math.atan2(n[1],o),l=Math.atan2(n[0],-n[2]);this.mat.rotateY(l).rotateX(-h)}this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v);var p=!this._prevMat.equals(this.mat);if((p||this.pe._mdf)&&this.comp.threeDElements){var f,m,c;for(e=this.comp.threeDElements.length,t=0;t=t)return this.threeDElements[e].perspectiveElem;e+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(t,e){var r,i,s=createTag("div");styleDiv(s);var a=createTag("div");if(styleDiv(a),"3d"===e){(r=s.style).width=this.globalData.compSize.w+"px",r.height=this.globalData.compSize.h+"px";var n="50% 50%";r.webkitTransformOrigin=n,r.mozTransformOrigin=n,r.transformOrigin=n;var o="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";(i=a.style).transform=o,i.webkitTransform=o}s.appendChild(a);var h={container:a,perspectiveElem:s,startPos:t,endPos:t,type:e};return this.threeDElements.push(h),h},HybridRendererBase.prototype.build3dContainers=function(){var t,e,r=this.layers.length,i="";for(t=0;t=0;t-=1)this.resizerElem.appendChild(this.threeDElements[t].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(t,e){for(var r=0,i=this.threeDElements.length;rn?(t=s/this.globalData.compSize.w,e=s/this.globalData.compSize.w,r=0,i=(a-this.globalData.compSize.h*(s/this.globalData.compSize.w))/2):(t=a/this.globalData.compSize.h,e=a/this.globalData.compSize.h,r=(s-this.globalData.compSize.w*(a/this.globalData.compSize.h))/2,i=0);var o=this.resizerElem.style;o.webkitTransform="matrix3d("+t+",0,0,0,0,"+e+",0,0,0,0,1,0,"+r+","+i+",0,1)",o.transform=o.webkitTransform},HybridRendererBase.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRendererBase.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRendererBase.prototype.show=function(){this.resizerElem.style.display="block"},HybridRendererBase.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var t,e=this.globalData.compSize.w,r=this.globalData.compSize.h,i=this.threeDElements.length;for(t=0;t=o;)t/=2,e/=2,r>>>=1;return(t+r)/e};return b.int32=function(){return 0|v.g(4)},b.quick=function(){return v.g(4)/4294967296},b.double=b,m(c(v.S),t),(d.pass||u||function(t,r,i,s){return s&&(s.S&&p(s,v),t.state=function(){return p(v,{})}),i?(e.random=t,r):t})(b,g,"global"in d?d.global:this==e,d.state)},m(e.random(),t)}function initialize$2(t){seedRandom([],t)}var propTypes={SHAPE:"shape"};function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null;function $bm_isInstanceOfArray(t){return t.constructor===Array||t.constructor===Float32Array}function isNumerable(t,e){return"number"===t||"boolean"===t||"string"===t||e instanceof Number}function $bm_neg(t){var e=_typeof(t);if("number"===e||"boolean"===e||t instanceof Number)return-t;if($bm_isInstanceOfArray(t)){var r,i=t.length,s=[];for(r=0;rr){var i=r;r=e,e=i}return Math.min(Math.max(t,e),r)}function radiansToDegrees(t){return t/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(t){return t*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(t,e){if("number"==typeof t||t instanceof Number)return e=e||0,Math.abs(t-e);var r;e||(e=helperLengthArray);var i=Math.min(t.length,e.length),s=0;for(r=0;r.5?l/(2-n-o):l/(n+o),n){case i:e=(s-a)/l+(s1&&(r-=1),r<1/6?t+6*(e-t)*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t}function hslToRgb(t){var e,r,i,s=t[0],a=t[1],n=t[2];if(0===a)e=n,i=n,r=n;else{var o=n<.5?n*(1+a):n+a-n*a,h=2*n-o;e=hue2rgb(h,o,s+1/3),r=hue2rgb(h,o,s),i=hue2rgb(h,o,s-1/3)}return[e,r,i,t[3]]}function linear(t,e,r,i,s){if(void 0!==i&&void 0!==s||(i=e,s=r,e=0,r=1),r=r)return s;var n,o=r===e?0:(t-e)/(r-e);if(!i.length)return i+(s-i)*o;var h=i.length,l=createTypedArray("float32",h);for(n=0;n1){for(i=0;i1?e=1:e<0&&(e=0);var n=t(e);if($bm_isInstanceOfArray(s)){var o,h=s.length,l=createTypedArray("float32",h);for(o=0;odata.k[e].t&&tdata.k[e+1].t-t?(r=e+2,i=data.k[e+1].t):(r=e+1,i=data.k[e].t);break}}-1===r&&(r=e+1,i=data.k[e].t)}else r=0,i=0;var a={};return a.index=r,a.time=i/elem.comp.globalData.frameRate,a}function key(t){var e,r,i;if(!data.k.length||"number"==typeof data.k[0])throw new Error("The property has no keyframe at index "+t);t-=1,e={time:data.k[t].t/elem.comp.globalData.frameRate,value:[]};var s=Object.prototype.hasOwnProperty.call(data.k[t],"s")?data.k[t].s:data.k[t-1].e;for(i=s.length,r=0;rl.length-1)&&(e=l.length-1),i=p-(s=l[l.length-1-e].t)),"pingpong"===t){if(Math.floor((h-s)/i)%2!=0)return this.getValueAtTime((i-(h-s)%i+s)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var f=this.getValueAtTime(s/this.comp.globalData.frameRate,0),m=this.getValueAtTime(p/this.comp.globalData.frameRate,0),c=this.getValueAtTime(((h-s)%i+s)/this.comp.globalData.frameRate,0),d=Math.floor((h-s)/i);if(this.pv.length){for(n=(o=new Array(f.length)).length,a=0;a=p)return this.pv;if(r?s=p+(i=e?Math.abs(this.elem.comp.globalData.frameRate*e):Math.max(0,this.elem.data.op-p)):((!e||e>l.length-1)&&(e=l.length-1),i=(s=l[e].t)-p),"pingpong"===t){if(Math.floor((p-h)/i)%2==0)return this.getValueAtTime(((p-h)%i+p)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var f=this.getValueAtTime(p/this.comp.globalData.frameRate,0),m=this.getValueAtTime(s/this.comp.globalData.frameRate,0),c=this.getValueAtTime((i-(p-h)%i+p)/this.comp.globalData.frameRate,0),d=Math.floor((p-h)/i)+1;if(this.pv.length){for(n=(o=new Array(f.length)).length,a=0;a1?(s+t-a)/(e-1):1,o=0,h=0;for(r=this.pv.length?createTypedArray("float32",this.pv.length):0;on){var p=o,f=r.c&&o===h-1?0:o+1,m=(n-l)/a[o].addedLength;i=bez.getPointInSegment(r.v[p],r.v[f],r.o[p],r.i[f],m,a[o]);break}l+=a[o].addedLength,o+=1}return i||(i=r.c?[r.v[0][0],r.v[0][1]]:[r.v[r._length-1][0],r.v[r._length-1][1]]),i},vectorOnPath:function(t,e,r){1==t?t=this.v.c:0==t&&(t=.999);var i=this.pointOnPath(t,e),s=this.pointOnPath(t+.001,e),a=s[0]-i[0],n=s[1]-i[1],o=Math.sqrt(Math.pow(a,2)+Math.pow(n,2));return 0===o?[0,0]:"tangent"===r?[a/o,n/o]:[-n/o,a/o]},tangentOnPath:function(t,e){return this.vectorOnPath(t,e,"tangent")},normalOnPath:function(t,e){return this.vectorOnPath(t,e,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([l],o),extendPrototype([l],h),h.prototype.getValueAtTime=function(t){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),t*=this.elem.globalData.frameRate,(t-=this.offsetTime)!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime1?r[1]=1:r[1]<=0&&(r[1]=0),HSVtoRGB(r[0],r[1],r[2])}function addBrightnessToRGB(t,e){var r=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return r[2]+=e,r[2]>1?r[2]=1:r[2]<0&&(r[2]=0),HSVtoRGB(r[0],r[1],r[2])}function addHueToRGB(t,e){var r=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return r[0]+=e/360,r[0]>1?r[0]-=1:r[0]<0&&(r[0]+=1),HSVtoRGB(r[0],r[1],r[2])}var rgbToHex=function(){var t,e,r=[];for(t=0;t<256;t+=1)e=t.toString(16),r[t]=1===e.length?"0"+e:e;return function(t,e,i){return t<0&&(t=0),e<0&&(e=0),i<0&&(i=0),"#"+r[t]+r[e]+r[i]}}(),setSubframeEnabled=function(t){subframeEnabled=!!t},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(t){expressionsPlugin=t},getExpressionsPlugin=function(){return expressionsPlugin},setDefaultCurveSegments=function(t){defaultCurveSegments=t},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(t){idPrefix=t},getIdPrefix=function(){return idPrefix};function createNS(t){return document.createElementNS(svgNS,t)}function _typeof$5(t){return _typeof$5="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$5(t)}var dataManager=function(){var t,e,r=1,i=[],s={onmessage:function(){},postMessage:function(e){t({data:e})}},a={postMessage:function(t){s.onmessage({data:t})}};function n(){e||(e=function(e){if(window.Worker&&window.Blob&&getWebWorker()){var r=new Blob(["var _workerSelf = self; self.onmessage = ",e.toString()],{type:"text/javascript"}),i=URL.createObjectURL(r);return new Worker(i)}return t=e,s}((function(t){if(a.dataManager||(a.dataManager=function(){function t(s,a){var n,o,h,l,p,m,c=s.length;for(o=0;o=0;e-=1)if("sh"===t[e].ty)if(t[e].ks.k.i)i(t[e].ks.k);else for(a=t[e].ks.k.length,s=0;sr[0]||!(r[0]>t[0])&&(t[1]>r[1]||!(r[1]>t[1])&&(t[2]>r[2]||!(r[2]>t[2])&&null))}var a,n=function(){var t=[4,4,14];function e(t){var e,r,i,s=t.length;for(e=0;e=0;r-=1)if("sh"===t[r].ty)if(t[r].ks.k.i)t[r].ks.k.c=t[r].closed;else for(s=t[r].ks.k.length,i=0;i500)&&(this._imageLoaded(),clearInterval(r)),e+=1}.bind(this),50)}function a(t){var e={assetData:t},r=i(t,this.assetsPath,this.path);return dataManager.loadData(r,function(t){e.img=t,this._footageLoaded()}.bind(this),function(){e.img={},this._footageLoaded()}.bind(this)),e}function n(){this._imageLoaded=e.bind(this),this._footageLoaded=r.bind(this),this.testImageLoaded=s.bind(this),this.createFootageData=a.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return n.prototype={loadAssets:function(t,e){var r;this.imagesLoadedCb=e;var i=t.length;for(r=0;rthis.animationData.op&&(this.animationData.op=t.op,this.totalFrames=Math.floor(t.op-this.animationData.ip));var e,r,i=this.animationData.layers,s=i.length,a=t.layers,n=a.length;for(r=0;rthis.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(!1!==this.isLoaded&&this.renderer)try{this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(t){this.triggerRenderFrameError(t)}},AnimationItem.prototype.play=function(t){t&&this.name!==t||!0===this.isPaused&&(this.isPaused=!1,this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(t){t&&this.name!==t||!1===this.isPaused&&(this.isPaused=!0,this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(t){t&&this.name!==t||(!0===this.isPaused?this.play():this.pause())},AnimationItem.prototype.stop=function(t){t&&this.name!==t||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(t){for(var e,r=0;r=this.totalFrames-1&&this.frameModifier>0?this.loop&&this.playCount!==this.loop?e>=this.totalFrames?(this.playCount+=1,this.checkSegments(e%this.totalFrames)||(this.setCurrentRawFrameValue(e%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(e):this.checkSegments(e>this.totalFrames?e%this.totalFrames:0)||(r=!0,e=this.totalFrames-1):e<0?this.checkSegments(e%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(r=!0,e=0):(this.setCurrentRawFrameValue(this.totalFrames+e%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(e),r&&(this.setCurrentRawFrameValue(e),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(t,e){this.playCount=0,t[1]0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=t[0]-t[1],this.timeCompleted=this.totalFrames,this.firstFrame=t[1],this.setCurrentRawFrameValue(this.totalFrames-.001-e)):t[1]>t[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=t[1]-t[0],this.timeCompleted=this.totalFrames,this.firstFrame=t[0],this.setCurrentRawFrameValue(.001+e)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(t,e){var r=-1;this.isPaused&&(this.currentRawFrame+this.firstFramee&&(r=e-t)),this.firstFrame=t,this.totalFrames=e-t,this.timeCompleted=this.totalFrames,-1!==r&&this.goToAndStop(r,!0)},AnimationItem.prototype.playSegments=function(t,e){if(e&&(this.segments.length=0),"object"===_typeof$4(t[0])){var r,i=t.length;for(r=0;r=0;r-=1)e[r].animation.destroy(t)},t.freeze=function(){n=!0},t.unfreeze=function(){n=!1,d()},t.setVolume=function(t,r){var s;for(s=0;s=.001?function(t,e,r,i){for(var s=0;s<4;++s){var a=h(e,r,i);if(0===a)return e;e-=(o(e,r,i)-t)/a}return e}(t,l,e,i):0===p?l:function(t,e,r,i,s){var a,n,h=0;do{(a=o(n=e+(r-e)/2,i,s)-t)>0?r=n:e=n}while(Math.abs(a)>1e-7&&++h<10);return n}(t,a,a+r,e,i)}},t}(),pooling={double:function(t){return t.concat(createSizedArray(t.length))}},poolFactory=function(t,e,r){var i=0,s=t,a=createSizedArray(s);return{newElement:function(){return i?a[i-=1]:e()},release:function(t){i===s&&(a=pooling.double(a),s*=2),r&&r(t),a[i]=t,i+=1}}},bezierLengthPool=poolFactory(8,(function(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}})),segmentsLengthPool=poolFactory(8,(function(){return{lengths:[],totalLength:0}}),(function(t){var e,r=t.lengths.length;for(e=0;e-.001&&n<.001}var r=function(t,e,r,i){var s,a,n,o,h,l,p=getDefaultCurveSegments(),f=0,m=[],c=[],d=bezierLengthPool.newElement();for(n=r.length,s=0;sn?-1:1,l=!0;l;)if(i[a]<=n&&i[a+1]>n?(o=(n-i[a])/(i[a+1]-i[a]),l=!1):a+=h,a<0||a>=s-1){if(a===s-1)return r[a];l=!1}return r[a]+(r[a+1]-r[a])*o}var h=createTypedArray("float32",8);return{getSegmentsLength:function(t){var e,i=segmentsLengthPool.newElement(),s=t.c,a=t.v,n=t.o,o=t.i,h=t._length,l=i.lengths,p=0;for(e=0;e1&&(a=1);var p,f=o(a,l),m=o(n=n>1?1:n,l),c=e.length,d=1-f,u=1-m,y=d*d*d,g=f*d*d*3,v=f*f*d*3,b=f*f*f,P=d*d*u,E=f*d*u+d*f*u+d*d*m,x=f*f*u+d*f*m+f*d*m,S=f*f*m,C=d*u*u,A=f*u*u+d*m*u+d*u*m,_=f*m*u+d*m*m+f*u*m,T=f*m*m,k=u*u*u,D=m*u*u+u*m*u+u*u*m,M=m*m*u+u*m*m+m*u*m,F=m*m*m;for(p=0;pc?m>d?m-c-d:d-c-m:d>c?d-c-m:c-m-d)>-1e-4&&f<1e-4}}}var bez=bezFunction(),PropertyFactory=function(){var t=initialDefaultFrame,e=Math.abs;function r(t,e){var r,s=this.offsetTime;"multidimensional"===this.propType&&(r=createTypedArray("float32",this.pv.length));for(var a,n,o,h,l,p,f,m,c,d=e.lastIndex,u=d,y=this.keyframes.length-1,g=!0;g;){if(a=this.keyframes[u],n=this.keyframes[u+1],u===y-1&&t>=n.t-s){a.h&&(a=n),d=0;break}if(n.t-s>t){d=u;break}u=k||t=k?M.points.length-1:0;for(l=M.points[F].point.length,h=0;h=V&&I=k)r[0]=v[0],r[1]=v[1],r[2]=v[2];else if(t<=D)r[0]=a.s[0],r[1]=a.s[1],r[2]=a.s[2];else{var N=i(a.s),O=i(v);b=r,P=function(t,e,r){var i,s,a,n,o,h=[],l=t[0],p=t[1],f=t[2],m=t[3],c=e[0],d=e[1],u=e[2],y=e[3];return(s=l*c+p*d+f*u+m*y)<0&&(s=-s,c=-c,d=-d,u=-u,y=-y),1-s>1e-6?(i=Math.acos(s),a=Math.sin(i),n=Math.sin((1-r)*i)/a,o=Math.sin(r*i)/a):(n=1-r,o=r),h[0]=n*l+o*c,h[1]=n*p+o*d,h[2]=n*f+o*u,h[3]=n*m+o*y,h}(N,O,(t-D)/(k-D)),E=P[0],x=P[1],S=P[2],C=P[3],A=Math.atan2(2*x*C-2*E*S,1-2*x*x-2*S*S),_=Math.asin(2*E*x+2*S*C),T=Math.atan2(2*E*C-2*x*S,1-2*E*E-2*S*S),b[0]=A/degToRads,b[1]=_/degToRads,b[2]=T/degToRads}else for(u=0;u=k?p=1:t=i&&e>=i||this._caching.lastFrame=e&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var s=this.interpolateValue(e,this._caching);this.pv=s}return this._caching.lastFrame=e,this.pv}function a(t){var r;if("unidimensional"===this.propType)r=t*this.mult,e(this.v-r)>1e-5&&(this.v=r,this._mdf=!0);else for(var i=0,s=this.v.length;i1e-5&&(this.v[i]=r,this._mdf=!0),i+=1}function n(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var t;this.lock=!0,this._mdf=this._isFirstFrame;var e=this.effectsSequence.length,r=this.kf?this.pv:this.data.k;for(t=0;t=this._maxLength&&this.doubleArrayLength(),r){case"v":a=this.v;break;case"i":a=this.i;break;case"o":a=this.o;break;default:a=[]}(!a[i]||a[i]&&!s)&&(a[i]=pointPool.newElement()),a[i][0]=t,a[i][1]=e},ShapePath.prototype.setTripleAt=function(t,e,r,i,s,a,n,o){this.setXYAt(t,e,"v",n,o),this.setXYAt(r,i,"o",n,o),this.setXYAt(s,a,"i",n,o)},ShapePath.prototype.reverse=function(){var t=new ShapePath;t.setPathData(this.c,this._length);var e=this.v,r=this.o,i=this.i,s=0;this.c&&(t.setTripleAt(e[0][0],e[0][1],i[0][0],i[0][1],r[0][0],r[0][1],0,!1),s=1);var a,n=this._length-1,o=this._length;for(a=s;a=c[c.length-1].t-this.offsetTime)i=c[c.length-1].s?c[c.length-1].s[0]:c[c.length-2].e[0],a=!0;else{for(var d,u,y,g=m,v=c.length-1,b=!0;b&&(d=c[g],!((u=c[g+1]).t-this.offsetTime>t));)g=u.t-this.offsetTime)p=1;else if(ti&&e>i)||(this._caching.lastIndex=s0||t>-1e-6&&t<0?i(1e4*t)/1e4:t}function w(){var t=this.props;return"matrix("+F(t[0])+","+F(t[1])+","+F(t[4])+","+F(t[5])+","+F(t[12])+","+F(t[13])+")"}return function(){this.reset=s,this.rotate=a,this.rotateX=n,this.rotateY=o,this.rotateZ=h,this.skew=p,this.skewFromAxis=f,this.shear=l,this.scale=m,this.setTransform=c,this.translate=d,this.transform=u,this.applyToPoint=P,this.applyToX=E,this.applyToY=x,this.applyToZ=S,this.applyToPointArray=k,this.applyToTriplePoints=T,this.applyToPointStringified=D,this.toCSS=M,this.to2dCSS=w,this.clone=v,this.cloneFromProps=b,this.equals=g,this.inversePoints=_,this.inversePoint=A,this.getInverseMatrix=C,this._t=this.transform,this.isIdentity=y,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(t){return _typeof$3="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$3(t)}var lottie={},standalone="__[STANDALONE]__",animationData="__[ANIMATIONDATA]__",renderer="",queryString;function setLocation(t){setLocationHref(t)}function searchAnimations(){!0===standalone?animationManager.searchAnimations(animationData,standalone,renderer):animationManager.searchAnimations()}function setSubframeRendering(t){setSubframeEnabled(t)}function setPrefix(t){setIdPrefix(t)}function loadAnimation(t){return!0===standalone&&(t.animationData=JSON.parse(animationData)),animationManager.loadAnimation(t)}function setQuality(t){if("string"==typeof t)switch(t){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10)}else!isNaN(t)&&t>1&&setDefaultCurveSegments(t);getDefaultCurveSegments()>=50?roundValues(!1):roundValues(!0)}function inBrowser(){return"undefined"!=typeof navigator}function installPlugin(t,e){"expressions"===t&&setExpressionsPlugin(e)}function getFactory(t){switch(t){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}function checkReady(){"complete"===document.readyState&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(t){for(var e=queryString.split("&"),r=0;r=1?a.push({s:t-1,e:e-1}):(a.push({s:t,e:1}),a.push({s:0,e:e-1}));var n,o,h=[],l=a.length;for(n=0;ni+r))p=o.s*s<=i?0:(o.s*s-i)/r,f=o.e*s>=i+r?1:(o.e*s-i)/r,h.push([p,f])}return h.length||h.push([0,0]),h},TrimModifier.prototype.releasePathsData=function(t){var e,r=t.length;for(e=0;e1?1+a:this.s.v<0?0+a:this.s.v+a)>(r=this.e.v>1?1+a:this.e.v<0?0+a:this.e.v+a)){var n=e;e=r,r=n}e=1e-4*Math.round(1e4*e),r=1e-4*Math.round(1e4*r),this.sValue=e,this.eValue=r}else e=this.sValue,r=this.eValue;var o,h,l,p,f,m=this.shapes.length,c=0;if(r===e)for(s=0;s=0;s-=1)if((d=this.shapes[s]).shape._mdf){for((u=d.localShapeCollection).releaseShapes(),2===this.m&&m>1?(g=this.calculateShapeEdges(e,r,d.totalShapeLength,P,c),P+=d.totalShapeLength):g=[[v,b]],h=g.length,o=0;o=1?y.push({s:d.totalShapeLength*(v-1),e:d.totalShapeLength*(b-1)}):(y.push({s:d.totalShapeLength*v,e:d.totalShapeLength}),y.push({s:0,e:d.totalShapeLength*(b-1)}));var E=this.addShapes(d,y[0]);if(y[0].s!==y[0].e){if(y.length>1)if(d.shape.paths.shapes[d.shape.paths._length-1].c){var x=E.pop();this.addPaths(E,u),E=this.addShapes(d,y[1],x)}else this.addPaths(E,u),E=this.addShapes(d,y[1]);this.addPaths(E,u)}}d.shape.paths=u}}},TrimModifier.prototype.addPaths=function(t,e){var r,i=t.length;for(r=0;re.e){r.c=!1;break}e.s<=d&&e.e>=d+n.addedLength?(this.addSegment(m[i].v[s-1],m[i].o[s-1],m[i].i[s],m[i].v[s],r,o,y),y=!1):(l=bez.getNewSegment(m[i].v[s-1],m[i].v[s],m[i].o[s-1],m[i].i[s],(e.s-d)/n.addedLength,(e.e-d)/n.addedLength,h[s-1]),this.addSegmentFromArray(l,r,o,y),y=!1,r.c=!1),d+=n.addedLength,o+=1}if(m[i].c&&h.length){if(n=h[s-1],d<=e.e){var g=h[s-1].addedLength;e.s<=d&&e.e>=d+g?(this.addSegment(m[i].v[s-1],m[i].o[s-1],m[i].i[0],m[i].v[0],r,o,y),y=!1):(l=bez.getNewSegment(m[i].v[s-1],m[i].v[0],m[i].o[s-1],m[i].i[0],(e.s-d)/g,(e.e-d)/g,h[s-1]),this.addSegmentFromArray(l,r,o,y),y=!1,r.c=!1)}else r.c=!1;d+=n.addedLength,o+=1}if(r._length&&(r.setXYAt(r.v[p][0],r.v[p][1],"i",p),r.setXYAt(r.v[r._length-1][0],r.v[r._length-1][1],"o",r._length-1)),d>e.e)break;i=this.p.keyframes[this.p.keyframes.length-1].t?(i=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/r,0),s=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/r,0)):(i=this.p.pv,s=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/r,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){i=[],s=[];var a=this.px,n=this.py;a._caching.lastFrame+a.offsetTime<=a.keyframes[0].t?(i[0]=a.getValueAtTime((a.keyframes[0].t+.01)/r,0),i[1]=n.getValueAtTime((n.keyframes[0].t+.01)/r,0),s[0]=a.getValueAtTime(a.keyframes[0].t/r,0),s[1]=n.getValueAtTime(n.keyframes[0].t/r,0)):a._caching.lastFrame+a.offsetTime>=a.keyframes[a.keyframes.length-1].t?(i[0]=a.getValueAtTime(a.keyframes[a.keyframes.length-1].t/r,0),i[1]=n.getValueAtTime(n.keyframes[n.keyframes.length-1].t/r,0),s[0]=a.getValueAtTime((a.keyframes[a.keyframes.length-1].t-.01)/r,0),s[1]=n.getValueAtTime((n.keyframes[n.keyframes.length-1].t-.01)/r,0)):(i=[a.pv,n.pv],s[0]=a.getValueAtTime((a._caching.lastFrame+a.offsetTime-.01)/r,a.offsetTime),s[1]=n.getValueAtTime((n._caching.lastFrame+n.offsetTime-.01)/r,n.offsetTime))}else i=s=t;this.v.rotate(-Math.atan2(i[1]-s[1],i[0]-s[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}},precalculateMatrix:function(){if(!this.a.k&&(this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1,!this.s.effectsSequence.length)){if(this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2,this.sk){if(this.sk.effectsSequence.length||this.sa.effectsSequence.length)return;this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3}this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):this.rz.effectsSequence.length||this.ry.effectsSequence.length||this.rx.effectsSequence.length||this.or.effectsSequence.length||(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}},autoOrient:function(){}},extendPrototype([DynamicPropertyContainer],e),e.prototype.addDynamicProperty=function(t){this._addDynamicProperty(t),this.elem.addDynamicProperty(t),this._isDirty=!0},e.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:function(t,r,i){return new e(t,r,i)}}}();function RepeaterModifier(){}function RoundCornersModifier(){}function getFontProperties(t){for(var e=t.fStyle?t.fStyle.split(" "):[],r="normal",i="normal",s=e.length,a=0;a0;)r-=1,this._elements.unshift(e[r]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(t){var e,r=t.length;for(e=0;e0?Math.floor(m):Math.ceil(m),u=this.pMatrix.props,y=this.rMatrix.props,g=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var v,b,P=0;if(m>0){for(;Pd;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),P-=1;c&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-c,!0),P-=c)}for(i=1===this.data.m?0:this._currentCopies-1,s=1===this.data.m?1:-1,a=this._currentCopies;a;){if(b=(r=(e=this.elemsData[i].it)[e.length-1].transform.mProps.v.props).length,e[e.length-1].transform.mProps._mdf=!0,e[e.length-1].transform.op._mdf=!0,e[e.length-1].transform.op.v=1===this._currentCopies?this.so.v:this.so.v+(this.eo.v-this.so.v)*(i/(this._currentCopies-1)),0!==P){for((0!==i&&1===s||i!==this._currentCopies-1&&-1===s)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(y[0],y[1],y[2],y[3],y[4],y[5],y[6],y[7],y[8],y[9],y[10],y[11],y[12],y[13],y[14],y[15]),this.matrix.transform(g[0],g[1],g[2],g[3],g[4],g[5],g[6],g[7],g[8],g[9],g[10],g[11],g[12],g[13],g[14],g[15]),this.matrix.transform(u[0],u[1],u[2],u[3],u[4],u[5],u[6],u[7],u[8],u[9],u[10],u[11],u[12],u[13],u[14],u[15]),v=0;v0&&(p=!1),p){var f=createTag("style");f.setAttribute("f-forigin",i[r].fOrigin),f.setAttribute("f-origin",i[r].origin),f.setAttribute("f-family",i[r].fFamily),f.type="text/css",f.innerText="@font-face {font-family: "+i[r].fFamily+"; font-style: normal; src: url('"+i[r].fPath+"');}",e.appendChild(f)}}else if("g"===i[r].fOrigin||1===i[r].origin){for(h=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),l=0;lt?!0!==this.isInRange&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):!1!==this.isInRange&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var t,e=this.renderableComponents.length;for(t=0;t0&&(this.maskElement.setAttribute("id",y),this.element.maskedElement.setAttribute(v,"url("+getLocationHref()+"#"+y+")"),a.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}FootageElement.prototype.prepareFrame=function(){},extendPrototype([RenderableElement,BaseElement,FrameElement],FootageElement),FootageElement.prototype.getBaseElement=function(){return null},FootageElement.prototype.renderFrame=function(){},FootageElement.prototype.destroy=function(){},FootageElement.prototype.initExpressions=function(){this.layerInterface=FootageInterface(this)},FootageElement.prototype.getFootageData=function(){return this.footageData},AudioElement.prototype.prepareFrame=function(t){if(this.prepareRenderableFrame(t,!0),this.prepareProperties(t,!0),this.tm._placeholder)this._currentTime=t/this.data.sr;else{var e=this.tm.v;this._currentTime=e}},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},AudioElement.prototype.show=function(){},AudioElement.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},AudioElement.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},AudioElement.prototype.resume=function(){this._canPlay=!0},AudioElement.prototype.setRate=function(t){this.audio.rate(t)},AudioElement.prototype.volume=function(t){this.audio.volume(t)},AudioElement.prototype.getBaseElement=function(){return null},AudioElement.prototype.destroy=function(){},AudioElement.prototype.sourceRectAtTime=function(){},AudioElement.prototype.initExpressions=function(){},BaseRenderer.prototype.checkLayers=function(t){var e,r,i=this.layers.length;for(this.completeLayers=!0,e=i-1;e>=0;e-=1)this.elements[e]||(r=this.layers[e]).ip-r.st<=t-this.layers[e].st&&r.op-r.st>t-this.layers[e].st&&this.buildItem(e),this.completeLayers=!!this.elements[e]&&this.completeLayers;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(t){switch(t.ty){case 2:return this.createImage(t);case 0:return this.createComp(t);case 1:return this.createSolid(t);case 3:default:return this.createNull(t);case 4:return this.createShape(t);case 5:return this.createText(t);case 6:return this.createAudio(t);case 13:return this.createCamera(t);case 15:return this.createFootage(t)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(t){return new AudioElement(t,this.globalData,this)},BaseRenderer.prototype.createFootage=function(t){return new FootageElement(t,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var t,e=this.layers.length;for(t=0;t1&&(a+=" C"+e.o[i-1][0]+","+e.o[i-1][1]+" "+e.i[0][0]+","+e.i[0][1]+" "+e.v[0][0]+","+e.v[0][1]),r.lastPath!==a){var n="";r.elem&&(e.c&&(n=t.inv?this.solidPath+a:a),r.elem.setAttribute("d",n)),r.lastPath=a}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var t={};return t.createFilter=function(t,e){var r=createNS("filter");r.setAttribute("id",t),!0!==e&&(r.setAttribute("filterUnits","objectBoundingBox"),r.setAttribute("x","0%"),r.setAttribute("y","0%"),r.setAttribute("width","100%"),r.setAttribute("height","100%"));return r},t.createAlphaToLuminanceFilter=function(){var t=createNS("feColorMatrix");return t.setAttribute("type","matrix"),t.setAttribute("color-interpolation-filters","sRGB"),t.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),t},t}(),featureSupport=function(){var t={maskType:!0};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(t.maskType=!1),t}();function SVGTintFilter(t,e){this.filterManager=e;var r=createNS("feColorMatrix");if(r.setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","linearRGB"),r.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),r.setAttribute("result","f1"),t.appendChild(r),(r=createNS("feColorMatrix")).setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","sRGB"),r.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),r.setAttribute("result","f2"),t.appendChild(r),this.matrixFilter=r,100!==e.effectElements[2].p.v||e.effectElements[2].p.k){var i,s=createNS("feMerge");t.appendChild(s),(i=createNS("feMergeNode")).setAttribute("in","SourceGraphic"),s.appendChild(i),(i=createNS("feMergeNode")).setAttribute("in","f2"),s.appendChild(i)}}function SVGFillFilter(t,e){this.filterManager=e;var r=createNS("feColorMatrix");r.setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","sRGB"),r.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),t.appendChild(r),this.matrixFilter=r}function SVGStrokeEffect(t,e){this.initialized=!1,this.filterManager=e,this.elem=t,this.paths=[]}function SVGTritoneFilter(t,e){this.filterManager=e;var r=createNS("feColorMatrix");r.setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","linearRGB"),r.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),r.setAttribute("result","f1"),t.appendChild(r);var i=createNS("feComponentTransfer");i.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(i),this.matrixFilter=i;var s=createNS("feFuncR");s.setAttribute("type","table"),i.appendChild(s),this.feFuncR=s;var a=createNS("feFuncG");a.setAttribute("type","table"),i.appendChild(a),this.feFuncG=a;var n=createNS("feFuncB");n.setAttribute("type","table"),i.appendChild(n),this.feFuncB=n}function SVGProLevelsFilter(t,e){this.filterManager=e;var r=this.filterManager.effectElements,i=createNS("feComponentTransfer");(r[10].p.k||0!==r[10].p.v||r[11].p.k||1!==r[11].p.v||r[12].p.k||1!==r[12].p.v||r[13].p.k||0!==r[13].p.v||r[14].p.k||1!==r[14].p.v)&&(this.feFuncR=this.createFeFunc("feFuncR",i)),(r[17].p.k||0!==r[17].p.v||r[18].p.k||1!==r[18].p.v||r[19].p.k||1!==r[19].p.v||r[20].p.k||0!==r[20].p.v||r[21].p.k||1!==r[21].p.v)&&(this.feFuncG=this.createFeFunc("feFuncG",i)),(r[24].p.k||0!==r[24].p.v||r[25].p.k||1!==r[25].p.v||r[26].p.k||1!==r[26].p.v||r[27].p.k||0!==r[27].p.v||r[28].p.k||1!==r[28].p.v)&&(this.feFuncB=this.createFeFunc("feFuncB",i)),(r[31].p.k||0!==r[31].p.v||r[32].p.k||1!==r[32].p.v||r[33].p.k||1!==r[33].p.v||r[34].p.k||0!==r[34].p.v||r[35].p.k||1!==r[35].p.v)&&(this.feFuncA=this.createFeFunc("feFuncA",i)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(i.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(i),i=createNS("feComponentTransfer")),(r[3].p.k||0!==r[3].p.v||r[4].p.k||1!==r[4].p.v||r[5].p.k||1!==r[5].p.v||r[6].p.k||0!==r[6].p.v||r[7].p.k||1!==r[7].p.v)&&(i.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(i),this.feFuncRComposed=this.createFeFunc("feFuncR",i),this.feFuncGComposed=this.createFeFunc("feFuncG",i),this.feFuncBComposed=this.createFeFunc("feFuncB",i))}function SVGDropShadowEffect(t,e){var r=e.container.globalData.renderConfig.filterSize;t.setAttribute("x",r.x),t.setAttribute("y",r.y),t.setAttribute("width",r.width),t.setAttribute("height",r.height),this.filterManager=e;var i=createNS("feGaussianBlur");i.setAttribute("in","SourceAlpha"),i.setAttribute("result","drop_shadow_1"),i.setAttribute("stdDeviation","0"),this.feGaussianBlur=i,t.appendChild(i);var s=createNS("feOffset");s.setAttribute("dx","25"),s.setAttribute("dy","0"),s.setAttribute("in","drop_shadow_1"),s.setAttribute("result","drop_shadow_2"),this.feOffset=s,t.appendChild(s);var a=createNS("feFlood");a.setAttribute("flood-color","#00ff00"),a.setAttribute("flood-opacity","1"),a.setAttribute("result","drop_shadow_3"),this.feFlood=a,t.appendChild(a);var n=createNS("feComposite");n.setAttribute("in","drop_shadow_3"),n.setAttribute("in2","drop_shadow_2"),n.setAttribute("operator","in"),n.setAttribute("result","drop_shadow_4"),t.appendChild(n);var o,h=createNS("feMerge");t.appendChild(h),o=createNS("feMergeNode"),h.appendChild(o),(o=createNS("feMergeNode")).setAttribute("in","SourceGraphic"),this.feMergeNode=o,this.feMerge=h,this.originalNodeAdded=!1,h.appendChild(o)}SVGTintFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,i=this.filterManager.effectElements[2].p.v/100;this.matrixFilter.setAttribute("values",r[0]-e[0]+" 0 0 0 "+e[0]+" "+(r[1]-e[1])+" 0 0 0 "+e[1]+" "+(r[2]-e[2])+" 0 0 0 "+e[2]+" 0 0 0 "+i+" 0")}},SVGFillFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[2].p.v,r=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+e[0]+" 0 0 0 0 "+e[1]+" 0 0 0 0 "+e[2]+" 0 0 0 "+r+" 0")}},SVGStrokeEffect.prototype.initialize=function(){var t,e,r,i,s=this.elem.layerElement.children||this.elem.layerElement.childNodes;for(1===this.filterManager.effectElements[1].p.v?(i=this.elem.maskManager.masksProperties.length,r=0):i=(r=this.filterManager.effectElements[0].p.v-1)+1,(e=createNS("g")).setAttribute("fill","none"),e.setAttribute("stroke-linecap","round"),e.setAttribute("stroke-dashoffset",1);r=l?c<0?i:s:i+m*Math.pow((a-t)/c,1/r),p[f]=n,f+=1,o+=256/255;return p.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e,r=this.filterManager.effectElements;this.feFuncRComposed&&(t||r[3].p._mdf||r[4].p._mdf||r[5].p._mdf||r[6].p._mdf||r[7].p._mdf)&&(e=this.getTableValue(r[3].p.v,r[4].p.v,r[5].p.v,r[6].p.v,r[7].p.v),this.feFuncRComposed.setAttribute("tableValues",e),this.feFuncGComposed.setAttribute("tableValues",e),this.feFuncBComposed.setAttribute("tableValues",e)),this.feFuncR&&(t||r[10].p._mdf||r[11].p._mdf||r[12].p._mdf||r[13].p._mdf||r[14].p._mdf)&&(e=this.getTableValue(r[10].p.v,r[11].p.v,r[12].p.v,r[13].p.v,r[14].p.v),this.feFuncR.setAttribute("tableValues",e)),this.feFuncG&&(t||r[17].p._mdf||r[18].p._mdf||r[19].p._mdf||r[20].p._mdf||r[21].p._mdf)&&(e=this.getTableValue(r[17].p.v,r[18].p.v,r[19].p.v,r[20].p.v,r[21].p.v),this.feFuncG.setAttribute("tableValues",e)),this.feFuncB&&(t||r[24].p._mdf||r[25].p._mdf||r[26].p._mdf||r[27].p._mdf||r[28].p._mdf)&&(e=this.getTableValue(r[24].p.v,r[25].p.v,r[26].p.v,r[27].p.v,r[28].p.v),this.feFuncB.setAttribute("tableValues",e)),this.feFuncA&&(t||r[31].p._mdf||r[32].p._mdf||r[33].p._mdf||r[34].p._mdf||r[35].p._mdf)&&(e=this.getTableValue(r[31].p.v,r[32].p.v,r[33].p.v,r[34].p.v,r[35].p.v),this.feFuncA.setAttribute("tableValues",e))}},SVGDropShadowEffect.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){if((t||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),t||this.filterManager.effectElements[0].p._mdf){var e=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(255*e[0]),Math.round(255*e[1]),Math.round(255*e[2])))}if((t||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),t||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var r=this.filterManager.effectElements[3].p.v,i=(this.filterManager.effectElements[2].p.v-90)*degToRads,s=r*Math.cos(i),a=r*Math.sin(i);this.feOffset.setAttribute("dx",s),this.feOffset.setAttribute("dy",a)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(t,e,r){this.initialized=!1,this.filterManager=e,this.filterElem=t,this.elem=r,r.matteElement=createNS("g"),r.matteElement.appendChild(r.layerElement),r.matteElement.appendChild(r.transformedElement),r.baseElement=r.matteElement}function SVGGaussianBlurEffect(t,e){t.setAttribute("x","-100%"),t.setAttribute("y","-100%"),t.setAttribute("width","300%"),t.setAttribute("height","300%"),this.filterManager=e;var r=createNS("feGaussianBlur");t.appendChild(r),this.feGaussianBlur=r}SVGMatte3Effect.prototype.findSymbol=function(t){for(var e=0,r=_svgMatteSymbols.length;e=0&&!this.shapeModifiers[t].processShapes(this._isFirstFrame);t-=1);}},searchProcessedElement:function(t){for(var e=this.processedElements,r=0,i=e.length;r.01)return!1;r+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!=this.c.length/4)return!1;if(this.data.k.k[0].s)for(var t=0,e=this.data.k.k.length;t0;)h=i.transformers[u].mProps._mdf||h,d-=1,u-=1;if(h)for(d=g-i.styles[p].lvl,u=i.transformers.length-1;d>0;)c=i.transformers[u].mProps.v.props,m.transform(c[0],c[1],c[2],c[3],c[4],c[5],c[6],c[7],c[8],c[9],c[10],c[11],c[12],c[13],c[14],c[15]),d-=1,u-=1}else m=t;if(n=(f=i.sh.paths)._length,h){for(o="",a=0;a=1?v=.99:v<=-1&&(v=-.99);var b=o*v,P=Math.cos(g+e.a.v)*b+p[0],E=Math.sin(g+e.a.v)*b+p[1];h.setAttribute("fx",P),h.setAttribute("fy",E),l&&!e.g._collapsable&&(e.of.setAttribute("fx",P),e.of.setAttribute("fy",E))}}function h(t,e,r){var i=e.style,s=e.d;s&&(s._mdf||r)&&s.dashStr&&(i.pElem.setAttribute("stroke-dasharray",s.dashStr),i.pElem.setAttribute("stroke-dashoffset",s.dashoffset[0])),e.c&&(e.c._mdf||r)&&i.pElem.setAttribute("stroke","rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||r)&&i.pElem.setAttribute("stroke-opacity",e.o.v),(e.w._mdf||r)&&(i.pElem.setAttribute("stroke-width",e.w.v),i.msElem&&i.msElem.setAttribute("stroke-width",e.w.v))}return{createRenderFunction:function(t){switch(t.ty){case"fl":return a;case"gf":return o;case"gs":return n;case"st":return h;case"sh":case"el":case"rc":case"sr":return s;case"tr":return r;case"no":return i;default:return null}}}}();function SVGShapeElement(t,e,r){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(t,e,r),this.prevViewData=[]}function LetterProps(t,e,r,i,s,a){this.o=t,this.sw=e,this.sc=r,this.fc=i,this.m=s,this.p=a,this._mdf={o:!0,sw:!!e,sc:!!r,fc:!!i,m:!0,p:!0}}function TextProperty(t,e){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,this.data=e,this.elem=t,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var t,e,r,i,s=this.shapes.length,a=this.stylesList.length,n=[],o=!1;for(r=0;r1&&o&&this.setShapesAsAnimated(n)}},SVGShapeElement.prototype.setShapesAsAnimated=function(t){var e,r=t.length;for(e=0;e=0;o-=1){if((m=this.searchProcessedElement(t[o]))?e[o]=r[m-1]:t[o]._render=n,"fl"===t[o].ty||"st"===t[o].ty||"gf"===t[o].ty||"gs"===t[o].ty||"no"===t[o].ty)m?e[o].style.closed=!1:e[o]=this.createStyleElement(t[o],s),t[o]._render&&e[o].style.pElem.parentNode!==i&&i.appendChild(e[o].style.pElem),u.push(e[o].style);else if("gr"===t[o].ty){if(m)for(l=e[o].it.length,h=0;h1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(t){this.effectsSequence.push(t),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(t){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length||t){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var e=this.currentData,r=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{var i;this.lock=!0,this._mdf=!1;var s=this.effectsSequence.length,a=t||this.data.d.k[this.keysIndex].s;for(i=0;ie);)r+=1;return this.keysIndex!==r&&(this.keysIndex=r),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(t){for(var e,r,i=[],s=0,a=t.length,n=!1;s=55296&&e<=56319?(r=t.charCodeAt(s+1))>=56320&&r<=57343?(n||FontManager.isModifier(e,r)?(i[i.length-1]+=t.substr(s,2),n=!1):i.push(t.substr(s,2)),s+=1):i.push(t.charAt(s)):e>56319?(r=t.charCodeAt(s+1),FontManager.isZeroWidthJoiner(e,r)?(n=!0,i[i.length-1]+=t.substr(s,2),s+=1):i.push(t.charAt(s))):FontManager.isZeroWidthJoiner(e)?(i[i.length-1]+=t.charAt(s),n=!0):i.push(t.charAt(s)),s+=1;return i},TextProperty.prototype.completeTextData=function(t){t.__complete=!0;var e,r,i,s,a,n,o,h=this.elem.globalData.fontManager,l=this.data,p=[],f=0,m=l.m.g,c=0,d=0,u=0,y=[],g=0,v=0,b=h.getFontByName(t.f),P=0,E=getFontProperties(b);t.fWeight=E.weight,t.fStyle=E.style,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),r=t.finalText.length,t.finalLineHeight=t.lh;var x,S=t.tr/1e3*t.finalSize;if(t.sz)for(var C,A,_=!0,T=t.sz[0],k=t.sz[1];_;){C=0,g=0,r=(A=this.buildFinalText(t.t)).length,S=t.tr/1e3*t.finalSize;var D=-1;for(e=0;eT&&" "!==A[e]?(-1===D?r+=1:e=D,C+=t.finalLineHeight||1.2*t.finalSize,A.splice(e,D===e?1:0,"\r"),D=-1,g=0):(g+=P,g+=S);C+=b.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&kv?g:v,g=-2*S,s="",i=!0,u+=1):s=M,h.chars?(o=h.getCharData(M,b.fStyle,h.getFontByName(t.f).fFamily),P=i?0:o.w*t.finalSize/100):P=h.measureText(s,t.f,t.finalSize)," "===M?F+=P+S:(g+=P+S+F,F=0),p.push({l:P,an:P,add:c,n:i,anIndexes:[],val:s,line:u,animatorJustifyOffset:0}),2==m){if(c+=P,""===s||" "===s||e===r-1){for(""!==s&&" "!==s||(c-=P);d<=e;)p[d].an=c,p[d].ind=f,p[d].extra=P,d+=1;f+=1,c=0}}else if(3==m){if(c+=P,""===s||e===r-1){for(""===s&&(c-=P);d<=e;)p[d].an=c,p[d].ind=f,p[d].extra=P,d+=1;c=0,f+=1}}else p[f].ind=f,p[f].extra=0,f+=1;if(t.l=p,v=g>v?g:v,y.push(g),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=v,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0}t.lineWidths=y;var w,I,V,B,R=l.a;n=R.length;var L=[];for(a=0;a0?s=this.ne.v/100:a=-this.ne.v/100,this.xe.v>0?n=1-this.xe.v/100:o=1+this.xe.v/100;var h=BezierFactory.getBezierEasing(s,a,n,o).get,l=0,p=this.finalS,f=this.finalE,m=this.data.sh;if(2===m)l=h(l=f===p?i>=f?1:0:t(0,e(.5/(f-p)+(i-p)/(f-p),1)));else if(3===m)l=h(l=f===p?i>=f?0:1:1-t(0,e(.5/(f-p)+(i-p)/(f-p),1)));else if(4===m)f===p?l=0:(l=t(0,e(.5/(f-p)+(i-p)/(f-p),1)))<.5?l*=2:l=1-2*(l-.5),l=h(l);else if(5===m){if(f===p)l=0;else{var c=f-p,d=-c/2+(i=e(t(0,i+.5-p),f-p)),u=c/2;l=Math.sqrt(1-d*d/(u*u))}l=h(l)}else 6===m?(f===p?l=0:(i=e(t(0,i+.5-p),f-p),l=(1+Math.cos(Math.PI+2*Math.PI*i/(f-p)))/2),l=h(l)):(i>=r(p)&&(l=t(0,e(i-p<0?e(f,1)-(p-i):f-i,1))),l=h(l));if(100!==this.sm.v){var y=.01*this.sm.v;0===y&&(y=1e-8);var g=.5-.5*y;l1&&(l=1)}return l*this.a.v},getValue:function(t){this.iterateDynamicProperties(),this._mdf=t||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,t&&2===this.data.r&&(this.e.v=this._currentTextLength);var e=2===this.data.r?1:100/this.data.totalChars,r=this.o.v/e,i=this.s.v/e+r,s=this.e.v/e+r;if(i>s){var a=i;i=s,s=a}this.finalS=i,this.finalE=s}},extendPrototype([DynamicPropertyContainer],i),{getTextSelectorProp:function(t,e,r){return new i(t,e,r)}}}();function TextAnimatorDataProperty(t,e,r){var i={propType:!1},s=PropertyFactory.getProp,a=e.a;this.a={r:a.r?s(t,a.r,0,degToRads,r):i,rx:a.rx?s(t,a.rx,0,degToRads,r):i,ry:a.ry?s(t,a.ry,0,degToRads,r):i,sk:a.sk?s(t,a.sk,0,degToRads,r):i,sa:a.sa?s(t,a.sa,0,degToRads,r):i,s:a.s?s(t,a.s,1,.01,r):i,a:a.a?s(t,a.a,1,0,r):i,o:a.o?s(t,a.o,0,.01,r):i,p:a.p?s(t,a.p,1,0,r):i,sw:a.sw?s(t,a.sw,0,0,r):i,sc:a.sc?s(t,a.sc,1,0,r):i,fc:a.fc?s(t,a.fc,1,0,r):i,fh:a.fh?s(t,a.fh,0,0,r):i,fs:a.fs?s(t,a.fs,0,.01,r):i,fb:a.fb?s(t,a.fb,0,.01,r):i,t:a.t?s(t,a.t,0,0,r):i},this.s=TextSelectorProp.getTextSelectorProp(t,e.s,r),this.s.t=e.s.t}function TextAnimatorProperty(t,e,r){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=t,this._renderType=e,this._elem=r,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(r)}function ITextElement(){}TextAnimatorProperty.prototype.searchProperties=function(){var t,e,r=this._textData.a.length,i=PropertyFactory.getProp;for(t=0;t=o+ot||!d?(v=(o+ot-l)/h.partialLength,G=c.point[0]+(h.point[0]-c.point[0])*v,z=c.point[1]+(h.point[1]-c.point[1])*v,C.translate(-E[0]*T[s].an*.005,-E[1]*B*.01),p=!1):d&&(l+=h.partialLength,(f+=1)>=d.length&&(f=0,u[m+=1]?d=u[m].points:P.v.c?(f=0,d=u[m=0].points):(l-=h.partialLength,d=null)),d&&(c=h,y=(h=d[f]).partialLength));L=T[s].an/2-T[s].add,C.translate(-L,0,0)}else L=T[s].an/2-T[s].add,C.translate(-L,0,0),C.translate(-E[0]*T[s].an*.005,-E[1]*B*.01,0);for(F=0;Ft?this.textSpans[t].span:createNS(h?"g":"text"),y<=t){if(n.setAttribute("stroke-linecap","butt"),n.setAttribute("stroke-linejoin","round"),n.setAttribute("stroke-miterlimit","4"),this.textSpans[t].span=n,h){var g=createNS("g");n.appendChild(g),this.textSpans[t].childSpan=g}this.textSpans[t].span=n,this.layerElement.appendChild(n)}n.style.display="inherit"}if(l.reset(),l.scale(r.finalSize/100,r.finalSize/100),p&&(o[t].n&&(f=-d,m+=r.yOffset,m+=c?1:0,c=!1),this.applyTextPropertiesToMatrix(r,l,o[t].line,f,m),f+=o[t].l||0,f+=d),h){var v;if(1===(u=this.globalData.fontManager.getCharData(r.finalText[t],i.fStyle,this.globalData.fontManager.getFontByName(r.f).fFamily)).t)v=new SVGCompElement(u.data,this.globalData,this);else{var b=emptyShapeData;u.data&&u.data.shapes&&(b=u.data),v=new SVGShapeElement(b,this.globalData,this)}this.textSpans[t].glyph=v,v._debug=!0,v.prepareFrame(0),v.renderFrame(),this.textSpans[t].childSpan.appendChild(v.layerElement),this.textSpans[t].childSpan.setAttribute("transform","scale("+r.finalSize/100+","+r.finalSize/100+")")}else p&&n.setAttribute("transform","translate("+l.props[12]+","+l.props[13]+")"),n.textContent=o[t].val,n.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}p&&n&&n.setAttribute("d","")}else{var P=this.textContainer,E="start";switch(r.j){case 1:E="end";break;case 2:E="middle";break;default:E="start"}P.setAttribute("text-anchor",E),P.setAttribute("letter-spacing",d);var x=this.buildTextContents(r.finalText);for(e=x.length,m=r.ps?r.ps[1]+r.ascent:0,t=0;t=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].prepareFrame(t-this.layers[e].st);if(this.globalData._mdf)for(e=0;e=0;r-=1)(this.completeLayers||this.elements[r])&&(this.elements[r].prepareFrame(this.renderedFrame-this.layers[r].st),this.elements[r]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var t,e=this.layers.length;for(t=0;t=0;i-=1)r=t.transforms[i].transform.mProps.v.props,t.finalTransform.transform(r[0],r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15]);t._mdf=a},processSequences:function(t){var e,r=this.sequenceList.length;for(e=0;e=0;a-=1){if((h=this.searchProcessedElement(t[a]))?e[a]=r[h-1]:t[a]._shouldRender=i,"fl"===t[a].ty||"st"===t[a].ty||"gf"===t[a].ty||"gs"===t[a].ty)h?e[a].style.closed=!1:e[a]=this.createStyleElement(t[a],d),m.push(e[a].style);else if("gr"===t[a].ty){if(h)for(o=e[a].it.length,n=0;n=0;s-=1)"tr"===e[s].ty?(a=r[s].transform,this.renderShapeTransform(t,a)):"sh"===e[s].ty||"el"===e[s].ty||"rc"===e[s].ty||"sr"===e[s].ty?this.renderPath(e[s],r[s]):"fl"===e[s].ty?this.renderFill(e[s],r[s],a):"st"===e[s].ty?this.renderStroke(e[s],r[s],a):"gf"===e[s].ty||"gs"===e[s].ty?this.renderGradientFill(e[s],r[s],a):"gr"===e[s].ty?this.renderShape(a,e[s].it,r[s].it):e[s].ty;i&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(t,e){if(this._isFirstFrame||e._mdf||t.transforms._mdf){var r,i,s,a=t.trNodes,n=e.paths,o=n._length;a.length=0;var h=t.transforms.finalTransform;for(s=0;s=1?f=.99:f<=-1&&(f=-.99);var m=l*f,c=Math.cos(p+e.a.v)*m+o[0],d=Math.sin(p+e.a.v)*m+o[1];i=n.createRadialGradient(c,d,0,o[0],o[1],l)}var u=t.g.p,y=e.g.c,g=1;for(a=0;ao&&"xMidYMid slice"===h||nr&&"meet"===a||ir&&"slice"===a)?(t-this.transformCanvas.w*(e/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===o&&(ir&&"slice"===a)?(t-this.transformCanvas.w*(e/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.ty="YMid"===h&&(i>r&&"meet"===a||ir&&"meet"===a||i=0;t-=1)this.elements[t]&&this.elements[t].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(t,e){if((this.renderedFrame!==t||!0!==this.renderConfig.clearCanvas||e)&&!this.destroyed&&-1!==t){var r;this.renderedFrame=t,this.globalData.frameNum=t-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||e,this.globalData.projectInterface.currentFrame=t;var i=this.layers.length;for(this.completeLayers||this.checkLayers(t),r=0;r=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].renderFrame();!0!==this.renderConfig.clearCanvas&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(t){var e=this.elements;if(!e[t]&&99!==this.layers[t].ty){var r=this.createItem(this.layers[t],this,this.globalData);e[t]=r,r.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){this.pendingElements.pop().checkParenting()}},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"},extendPrototype([CanvasRendererBase,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var t,e=this.canvasContext;for(e.beginPath(),e.moveTo(0,0),e.lineTo(this.data.w,0),e.lineTo(this.data.w,this.data.h),e.lineTo(0,this.data.h),e.lineTo(0,0),e.clip(),t=this.layers.length-1;t>=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},CVCompElement.prototype.destroy=function(){var t;for(t=this.layers.length-1;t>=0;t-=1)this.elements[t]&&this.elements[t].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(t){return new CVCompElement(t,this.globalData,this)},extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(t){return new CVCompElement(t,this.globalData,this)},HBaseElement.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=createTag(this.data.tg||"div"),this.data.hasMask?(this.svgElement=createNS("svg"),this.layerElement=createNS("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,styleDiv(this.baseElement)},createContainerElements:function(){this.renderableEffectsManager=new CVEffects(this),this.transformedElement=this.baseElement,this.maskedElement=this.layerElement,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0!==this.data.bm&&this.setBlendMode()},renderElement:function(){var t=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var e=this.finalTransform.mat.toCSS();t.transform=e,t.webkitTransform=e}this.finalTransform._opMdf&&(t.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=BaseRenderer.prototype.buildElementParenting,extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var t;this.data.hasMask?((t=createNS("rect")).setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):((t=createTag("div")).style.width=this.data.sw+"px",t.style.height=this.data.sh+"px",t.style.backgroundColor=this.data.sc),this.layerElement.appendChild(t)},extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var t;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),t=this.svgElement;else{t=createNS("svg");var e=this.comp.data?this.comp.data:this.globalData.compSize;t.setAttribute("width",e.w),t.setAttribute("height",e.h),t.appendChild(this.shapesContainer),this.layerElement.appendChild(t)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=t},HShapeElement.prototype.getTransformedPoint=function(t,e){var r,i=t.length;for(r=0;r0&&o<1&&f[m].push(this.calculateF(o,t,e,r,i,m)):(h=a*a-4*n*s)>=0&&((l=(-a+bmSqrt(h))/(2*s))>0&&l<1&&f[m].push(this.calculateF(l,t,e,r,i,m)),(p=(-a-bmSqrt(h))/(2*s))>0&&p<1&&f[m].push(this.calculateF(p,t,e,r,i,m))));this.shapeBoundingBox.left=bmMin.apply(null,f[0]),this.shapeBoundingBox.top=bmMin.apply(null,f[1]),this.shapeBoundingBox.right=bmMax.apply(null,f[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,f[1])},HShapeElement.prototype.calculateF=function(t,e,r,i,s,a){return bmPow(1-t,3)*e[a]+3*bmPow(1-t,2)*t*r[a]+3*(1-t)*bmPow(t,2)*i[a]+bmPow(t,3)*s[a]},HShapeElement.prototype.calculateBoundingBox=function(t,e){var r,i=t.length;for(r=0;r=t.x+t.width&&this.currentBBox.height+this.currentBBox.y>=t.y+t.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var t=this.tempBoundingBox,e=999999;if(t.x=e,t.xMax=-e,t.y=e,t.yMax=-e,this.calculateBoundingBox(this.itemsData,t),t.width=t.xMax=0;t-=1){var i=this.hierarchy[t].finalTransform.mProp;this.mat.translate(-i.p.v[0],-i.p.v[1],i.p.v[2]),this.mat.rotateX(-i.or.v[0]).rotateY(-i.or.v[1]).rotateZ(i.or.v[2]),this.mat.rotateX(-i.rx.v).rotateY(-i.ry.v).rotateZ(i.rz.v),this.mat.scale(1/i.s.v[0],1/i.s.v[1],1/i.s.v[2]),this.mat.translate(i.a.v[0],i.a.v[1],i.a.v[2])}if(this.p?this.mat.translate(-this.p.v[0],-this.p.v[1],this.p.v[2]):this.mat.translate(-this.px.v,-this.py.v,this.pz.v),this.a){var s;s=this.p?[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var a=Math.sqrt(Math.pow(s[0],2)+Math.pow(s[1],2)+Math.pow(s[2],2)),n=[s[0]/a,s[1]/a,s[2]/a],o=Math.sqrt(n[2]*n[2]+n[0]*n[0]),h=Math.atan2(n[1],o),l=Math.atan2(n[0],-n[2]);this.mat.rotateY(l).rotateX(-h)}this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v);var p=!this._prevMat.equals(this.mat);if((p||this.pe._mdf)&&this.comp.threeDElements){var f,m,c;for(e=this.comp.threeDElements.length,t=0;t=t)return this.threeDElements[e].perspectiveElem;e+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(t,e){var r,i,s=createTag("div");styleDiv(s);var a=createTag("div");if(styleDiv(a),"3d"===e){(r=s.style).width=this.globalData.compSize.w+"px",r.height=this.globalData.compSize.h+"px";var n="50% 50%";r.webkitTransformOrigin=n,r.mozTransformOrigin=n,r.transformOrigin=n;var o="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";(i=a.style).transform=o,i.webkitTransform=o}s.appendChild(a);var h={container:a,perspectiveElem:s,startPos:t,endPos:t,type:e};return this.threeDElements.push(h),h},HybridRendererBase.prototype.build3dContainers=function(){var t,e,r=this.layers.length,i="";for(t=0;t=0;t-=1)this.resizerElem.appendChild(this.threeDElements[t].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(t,e){for(var r=0,i=this.threeDElements.length;rn?(t=s/this.globalData.compSize.w,e=s/this.globalData.compSize.w,r=0,i=(a-this.globalData.compSize.h*(s/this.globalData.compSize.w))/2):(t=a/this.globalData.compSize.h,e=a/this.globalData.compSize.h,r=(s-this.globalData.compSize.w*(a/this.globalData.compSize.h))/2,i=0);var o=this.resizerElem.style;o.webkitTransform="matrix3d("+t+",0,0,0,0,"+e+",0,0,0,0,1,0,"+r+","+i+",0,1)",o.transform=o.webkitTransform},HybridRendererBase.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRendererBase.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRendererBase.prototype.show=function(){this.resizerElem.style.display="block"},HybridRendererBase.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var t,e=this.globalData.compSize.w,r=this.globalData.compSize.h,i=this.threeDElements.length;for(t=0;t=o;)t/=2,e/=2,r>>>=1;return(t+r)/e};return b.int32=function(){return 0|v.g(4)},b.quick=function(){return v.g(4)/4294967296},b.double=b,m(c(v.S),t),(d.pass||u||function(t,r,i,s){return s&&(s.S&&p(s,v),t.state=function(){return p(v,{})}),i?(e.random=t,r):t})(b,g,"global"in d?d.global:this==e,d.state)},m(e.random(),t)}function initialize$2(t){seedRandom([],t)}var propTypes={SHAPE:"shape"};function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null;function $bm_isInstanceOfArray(t){return t.constructor===Array||t.constructor===Float32Array}function isNumerable(t,e){return"number"===t||"boolean"===t||"string"===t||e instanceof Number}function $bm_neg(t){var e=_typeof(t);if("number"===e||"boolean"===e||t instanceof Number)return-t;if($bm_isInstanceOfArray(t)){var r,i=t.length,s=[];for(r=0;rr){var i=r;r=e,e=i}return Math.min(Math.max(t,e),r)}function radiansToDegrees(t){return t/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(t){return t*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(t,e){if("number"==typeof t||t instanceof Number)return e=e||0,Math.abs(t-e);var r;e||(e=helperLengthArray);var i=Math.min(t.length,e.length),s=0;for(r=0;r.5?l/(2-n-o):l/(n+o),n){case i:e=(s-a)/l+(s1&&(r-=1),r<1/6?t+6*(e-t)*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t}function hslToRgb(t){var e,r,i,s=t[0],a=t[1],n=t[2];if(0===a)e=n,i=n,r=n;else{var o=n<.5?n*(1+a):n+a-n*a,h=2*n-o;e=hue2rgb(h,o,s+1/3),r=hue2rgb(h,o,s),i=hue2rgb(h,o,s-1/3)}return[e,r,i,t[3]]}function linear(t,e,r,i,s){if(void 0!==i&&void 0!==s||(i=e,s=r,e=0,r=1),r=r)return s;var n,o=r===e?0:(t-e)/(r-e);if(!i.length)return i+(s-i)*o;var h=i.length,l=createTypedArray("float32",h);for(n=0;n1){for(i=0;i1?e=1:e<0&&(e=0);var n=t(e);if($bm_isInstanceOfArray(s)){var o,h=s.length,l=createTypedArray("float32",h);for(o=0;odata.k[e].t&&tdata.k[e+1].t-t?(r=e+2,i=data.k[e+1].t):(r=e+1,i=data.k[e].t);break}}-1===r&&(r=e+1,i=data.k[e].t)}else r=0,i=0;var a={};return a.index=r,a.time=i/elem.comp.globalData.frameRate,a}function key(t){var e,r,i;if(!data.k.length||"number"==typeof data.k[0])throw new Error("The property has no keyframe at index "+t);t-=1,e={time:data.k[t].t/elem.comp.globalData.frameRate,value:[]};var s=Object.prototype.hasOwnProperty.call(data.k[t],"s")?data.k[t].s:data.k[t-1].e;for(i=s.length,r=0;rl.length-1)&&(e=l.length-1),i=p-(s=l[l.length-1-e].t)),"pingpong"===t){if(Math.floor((h-s)/i)%2!=0)return this.getValueAtTime((i-(h-s)%i+s)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var f=this.getValueAtTime(s/this.comp.globalData.frameRate,0),m=this.getValueAtTime(p/this.comp.globalData.frameRate,0),c=this.getValueAtTime(((h-s)%i+s)/this.comp.globalData.frameRate,0),d=Math.floor((h-s)/i);if(this.pv.length){for(n=(o=new Array(f.length)).length,a=0;a=p)return this.pv;if(r?s=p+(i=e?Math.abs(this.elem.comp.globalData.frameRate*e):Math.max(0,this.elem.data.op-p)):((!e||e>l.length-1)&&(e=l.length-1),i=(s=l[e].t)-p),"pingpong"===t){if(Math.floor((p-h)/i)%2==0)return this.getValueAtTime(((p-h)%i+p)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var f=this.getValueAtTime(p/this.comp.globalData.frameRate,0),m=this.getValueAtTime(s/this.comp.globalData.frameRate,0),c=this.getValueAtTime((i-(p-h)%i+p)/this.comp.globalData.frameRate,0),d=Math.floor((p-h)/i)+1;if(this.pv.length){for(n=(o=new Array(f.length)).length,a=0;a1?(s+t-a)/(e-1):1,o=0,h=0;for(r=this.pv.length?createTypedArray("float32",this.pv.length):0;on){var p=o,f=r.c&&o===h-1?0:o+1,m=(n-l)/a[o].addedLength;i=bez.getPointInSegment(r.v[p],r.v[f],r.o[p],r.i[f],m,a[o]);break}l+=a[o].addedLength,o+=1}return i||(i=r.c?[r.v[0][0],r.v[0][1]]:[r.v[r._length-1][0],r.v[r._length-1][1]]),i},vectorOnPath:function(t,e,r){1==t?t=this.v.c:0==t&&(t=.999);var i=this.pointOnPath(t,e),s=this.pointOnPath(t+.001,e),a=s[0]-i[0],n=s[1]-i[1],o=Math.sqrt(Math.pow(a,2)+Math.pow(n,2));return 0===o?[0,0]:"tangent"===r?[a/o,n/o]:[-n/o,a/o]},tangentOnPath:function(t,e){return this.vectorOnPath(t,e,"tangent")},normalOnPath:function(t,e){return this.vectorOnPath(t,e,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([l],o),extendPrototype([l],h),h.prototype.getValueAtTime=function(t){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),t*=this.elem.globalData.frameRate,(t-=this.offsetTime)!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime=o.clientWidth&&n>=o.clientHeight}),l=0a[e]&&!t.escapeWithReference&&(n=Q(f[o],a[e]-('right'===e?f.width:f.height))),le({},o,n)}};return l.forEach(function(e){var t=-1===['left','top'].indexOf(e)?'secondary':'primary';f=fe({},f,m[t](e))}),e.offsets.popper=f,e},priority:['left','right','top','bottom'],padding:5,boundariesElement:'scrollParent'},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,o=t.popper,n=t.reference,i=e.placement.split('-')[0],r=Z,p=-1!==['top','bottom'].indexOf(i),s=p?'right':'bottom',d=p?'left':'top',a=p?'width':'height';return o[s]r(n[s])&&(e.offsets.popper[d]=r(n[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,o){var n;if(!K(e.instance.modifiers,'arrow','keepTogether'))return e;var i=o.element;if('string'==typeof i){if(i=e.instance.popper.querySelector(i),!i)return e;}else if(!e.instance.popper.contains(i))return console.warn('WARNING: `arrow.element` must be child of its popper element!'),e;var r=e.placement.split('-')[0],p=e.offsets,s=p.popper,d=p.reference,a=-1!==['left','right'].indexOf(r),l=a?'height':'width',f=a?'Top':'Left',m=f.toLowerCase(),h=a?'left':'top',c=a?'bottom':'right',u=S(i)[l];d[c]-us[c]&&(e.offsets.popper[m]+=d[m]+u-s[c]),e.offsets.popper=g(e.offsets.popper);var b=d[m]+d[l]/2-u/2,w=t(e.instance.popper),y=parseFloat(w['margin'+f],10),E=parseFloat(w['border'+f+'Width'],10),v=b-e.offsets.popper[m]-y-E;return v=ee(Q(s[l]-u,v),0),e.arrowElement=i,e.offsets.arrow=(n={},le(n,m,$(v)),le(n,h,''),n),e},element:'[x-arrow]'},flip:{order:600,enabled:!0,fn:function(e,t){if(W(e.instance.modifiers,'inner'))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var o=v(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),n=e.placement.split('-')[0],i=T(n),r=e.placement.split('-')[1]||'',p=[];switch(t.behavior){case ge.FLIP:p=[n,i];break;case ge.CLOCKWISE:p=G(n);break;case ge.COUNTERCLOCKWISE:p=G(n,!0);break;default:p=t.behavior;}return p.forEach(function(s,d){if(n!==s||p.length===d+1)return e;n=e.placement.split('-')[0],i=T(n);var a=e.offsets.popper,l=e.offsets.reference,f=Z,m='left'===n&&f(a.right)>f(l.left)||'right'===n&&f(a.left)f(l.top)||'bottom'===n&&f(a.top)f(o.right),g=f(a.top)f(o.bottom),b='left'===n&&h||'right'===n&&c||'top'===n&&g||'bottom'===n&&u,w=-1!==['top','bottom'].indexOf(n),y=!!t.flipVariations&&(w&&'start'===r&&h||w&&'end'===r&&c||!w&&'start'===r&&g||!w&&'end'===r&&u);(m||b||y)&&(e.flipped=!0,(m||b)&&(n=p[d+1]),y&&(r=z(r)),e.placement=n+(r?'-'+r:''),e.offsets.popper=fe({},e.offsets.popper,D(e.instance.popper,e.offsets.reference,e.placement)),e=P(e.instance.modifiers,e,'flip'))}),e},behavior:'flip',padding:5,boundariesElement:'viewport'},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,o=t.split('-')[0],n=e.offsets,i=n.popper,r=n.reference,p=-1!==['left','right'].indexOf(o),s=-1===['top','left'].indexOf(o);return i[p?'left':'top']=r[o]-(s?i[p?'width':'height']:0),e.placement=T(t),e.offsets.popper=g(i),e}},hide:{order:800,enabled:!0,fn:function(e){if(!K(e.instance.modifiers,'hide','preventOverflow'))return e;var t=e.offsets.reference,o=C(e.instance.modifiers,function(e){return'preventOverflow'===e.name}).boundaries;if(t.bottomo.right||t.top>o.bottom||t.rightwindow.devicePixelRatio||!me),c='bottom'===o?'top':'bottom',g='right'===n?'left':'right',b=H('transform');if(d='bottom'==c?'HTML'===l.nodeName?-l.clientHeight+h.bottom:-f.height+h.bottom:h.top,s='right'==g?'HTML'===l.nodeName?-l.clientWidth+h.right:-f.width+h.right:h.left,a&&b)m[b]='translate3d('+s+'px, '+d+'px, 0)',m[c]=0,m[g]=0,m.willChange='transform';else{var w='bottom'==c?-1:1,y='right'==g?-1:1;m[c]=d*w,m[g]=s*y,m.willChange=c+', '+g}var E={"x-placement":e.placement};return e.attributes=fe({},E,e.attributes),e.styles=fe({},m,e.styles),e.arrowStyles=fe({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:'bottom',y:'right'},applyStyle:{order:900,enabled:!0,fn:function(e){return j(e.instance.popper,e.styles),V(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&j(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,o,n,i){var r=L(i,t,e,o.positionFixed),p=O(o.placement,r,t,e,o.modifiers.flip.boundariesElement,o.modifiers.flip.padding);return t.setAttribute('x-placement',p),j(t,{position:o.positionFixed?'fixed':'absolute'}),o},gpuAcceleration:void 0}}},ue}); -//# sourceMappingURL=popper.min.js.map +/* + Copyright (C) Federico Zivolo 2018 + Distributed under the MIT License (license terms are at http://opensource.org/licenses/MIT). + */(function(e,t){'object'==typeof exports&&'undefined'!=typeof module?module.exports=t():'function'==typeof define&&define.amd?define(t):e.Popper=t()})(this,function(){'use strict';function e(e){return e&&'[object Function]'==={}.toString.call(e)}function t(e,t){if(1!==e.nodeType)return[];var o=e.ownerDocument.defaultView,n=o.getComputedStyle(e,null);return t?n[t]:n}function o(e){return'HTML'===e.nodeName?e:e.parentNode||e.host}function n(e){if(!e)return document.body;switch(e.nodeName){case'HTML':case'BODY':return e.ownerDocument.body;case'#document':return e.body;}var i=t(e),r=i.overflow,p=i.overflowX,s=i.overflowY;return /(auto|scroll|overlay)/.test(r+s+p)?e:n(o(e))}function r(e){return 11===e?pe:10===e?se:pe||se}function p(e){if(!e)return document.documentElement;for(var o=r(10)?document.body:null,n=e.offsetParent||null;n===o&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&'BODY'!==i&&'HTML'!==i?-1!==['TH','TD','TABLE'].indexOf(n.nodeName)&&'static'===t(n,'position')?p(n):n:e?e.ownerDocument.documentElement:document.documentElement}function s(e){var t=e.nodeName;return'BODY'!==t&&('HTML'===t||p(e.firstElementChild)===e)}function d(e){return null===e.parentNode?e:d(e.parentNode)}function a(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var o=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,n=o?e:t,i=o?t:e,r=document.createRange();r.setStart(n,0),r.setEnd(i,0);var l=r.commonAncestorContainer;if(e!==l&&t!==l||n.contains(i))return s(l)?l:p(l);var f=d(e);return f.host?a(f.host,t):a(e,d(t).host)}function l(e){var t=1=o.clientWidth&&n>=o.clientHeight}),l=0a[e]&&!t.escapeWithReference&&(n=Q(f[o],a[e]-('right'===e?f.width:f.height))),le({},o,n)}};return l.forEach(function(e){var t=-1===['left','top'].indexOf(e)?'secondary':'primary';f=fe({},f,m[t](e))}),e.offsets.popper=f,e},priority:['left','right','top','bottom'],padding:5,boundariesElement:'scrollParent'},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,o=t.popper,n=t.reference,i=e.placement.split('-')[0],r=Z,p=-1!==['top','bottom'].indexOf(i),s=p?'right':'bottom',d=p?'left':'top',a=p?'width':'height';return o[s]r(n[s])&&(e.offsets.popper[d]=r(n[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,o){var n;if(!K(e.instance.modifiers,'arrow','keepTogether'))return e;var i=o.element;if('string'==typeof i){if(i=e.instance.popper.querySelector(i),!i)return e;}else if(!e.instance.popper.contains(i))return console.warn('WARNING: `arrow.element` must be child of its popper element!'),e;var r=e.placement.split('-')[0],p=e.offsets,s=p.popper,d=p.reference,a=-1!==['left','right'].indexOf(r),l=a?'height':'width',f=a?'Top':'Left',m=f.toLowerCase(),h=a?'left':'top',c=a?'bottom':'right',u=S(i)[l];d[c]-us[c]&&(e.offsets.popper[m]+=d[m]+u-s[c]),e.offsets.popper=g(e.offsets.popper);var b=d[m]+d[l]/2-u/2,w=t(e.instance.popper),y=parseFloat(w['margin'+f],10),E=parseFloat(w['border'+f+'Width'],10),v=b-e.offsets.popper[m]-y-E;return v=ee(Q(s[l]-u,v),0),e.arrowElement=i,e.offsets.arrow=(n={},le(n,m,$(v)),le(n,h,''),n),e},element:'[x-arrow]'},flip:{order:600,enabled:!0,fn:function(e,t){if(W(e.instance.modifiers,'inner'))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var o=v(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),n=e.placement.split('-')[0],i=T(n),r=e.placement.split('-')[1]||'',p=[];switch(t.behavior){case ge.FLIP:p=[n,i];break;case ge.CLOCKWISE:p=G(n);break;case ge.COUNTERCLOCKWISE:p=G(n,!0);break;default:p=t.behavior;}return p.forEach(function(s,d){if(n!==s||p.length===d+1)return e;n=e.placement.split('-')[0],i=T(n);var a=e.offsets.popper,l=e.offsets.reference,f=Z,m='left'===n&&f(a.right)>f(l.left)||'right'===n&&f(a.left)f(l.top)||'bottom'===n&&f(a.top)f(o.right),g=f(a.top)f(o.bottom),b='left'===n&&h||'right'===n&&c||'top'===n&&g||'bottom'===n&&u,w=-1!==['top','bottom'].indexOf(n),y=!!t.flipVariations&&(w&&'start'===r&&h||w&&'end'===r&&c||!w&&'start'===r&&g||!w&&'end'===r&&u);(m||b||y)&&(e.flipped=!0,(m||b)&&(n=p[d+1]),y&&(r=z(r)),e.placement=n+(r?'-'+r:''),e.offsets.popper=fe({},e.offsets.popper,D(e.instance.popper,e.offsets.reference,e.placement)),e=P(e.instance.modifiers,e,'flip'))}),e},behavior:'flip',padding:5,boundariesElement:'viewport'},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,o=t.split('-')[0],n=e.offsets,i=n.popper,r=n.reference,p=-1!==['left','right'].indexOf(o),s=-1===['top','left'].indexOf(o);return i[p?'left':'top']=r[o]-(s?i[p?'width':'height']:0),e.placement=T(t),e.offsets.popper=g(i),e}},hide:{order:800,enabled:!0,fn:function(e){if(!K(e.instance.modifiers,'hide','preventOverflow'))return e;var t=e.offsets.reference,o=C(e.instance.modifiers,function(e){return'preventOverflow'===e.name}).boundaries;if(t.bottomo.right||t.top>o.bottom||t.rightwindow.devicePixelRatio||!me),c='bottom'===o?'top':'bottom',g='right'===n?'left':'right',b=H('transform');if(d='bottom'==c?'HTML'===l.nodeName?-l.clientHeight+h.bottom:-f.height+h.bottom:h.top,s='right'==g?'HTML'===l.nodeName?-l.clientWidth+h.right:-f.width+h.right:h.left,a&&b)m[b]='translate3d('+s+'px, '+d+'px, 0)',m[c]=0,m[g]=0,m.willChange='transform';else{var w='bottom'==c?-1:1,y='right'==g?-1:1;m[c]=d*w,m[g]=s*y,m.willChange=c+', '+g}var E={"x-placement":e.placement};return e.attributes=fe({},E,e.attributes),e.styles=fe({},m,e.styles),e.arrowStyles=fe({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:'bottom',y:'right'},applyStyle:{order:900,enabled:!0,fn:function(e){return j(e.instance.popper,e.styles),V(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&j(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,o,n,i){var r=L(i,t,e,o.positionFixed),p=O(o.placement,r,t,e,o.modifiers.flip.boundariesElement,o.modifiers.flip.padding);return t.setAttribute('x-placement',p),j(t,{position:o.positionFixed?'fixed':'absolute'}),o},gpuAcceleration:void 0}}},ue}); +//# sourceMappingURL=popper.min.js.map diff --git a/media/LoaderIcon.gif b/media/LoaderIcon.gif new file mode 100644 index 0000000000000000000000000000000000000000..fe378daf0c984d1a064f56f31b1d3877408f4a16 GIT binary patch literal 8026 zcmZ9RS5%YTy0$|SdQIqv5TrM$DxwlfC;_B{sHilNrUHVZB8Fb2Hvs|ZRYDUKl#W#C zMT&H!6Cflcq-?*n|9`Kw_j@!C-Z95Kc&>5H`=0tpJ+-S2;Q(g$CdL~9Eq}tBje7I|?1)Ig z5-E#E#O&#l)QOYNE2m}i_?dlT`vzh2g!HOsFZSm_(l|DK?C|II>8E*Y;ViCk37a&6 zDW1bE9+A=}Prj`YVulXBte(~{pXScs2Dgb73;2osv!!EF&n98vkd!-hw2CFIVM!^Y zn7vbS>FhCvKneJ?GY$c>Mowt`v<>ve0Fe3J|d8N{`}nmw~af)pHYUk@DvIa zOC*o%oOW;EhPLs4PR?fb2@`v#JsY@%L*h1$w0uOwoRUX(P7ev>hNY9Pb=>o=-51@v z%SUJa-Mc$@QrqfD?;qUQ?rFjp_Jl~D*d=UW&+30;cW|VpzyELGCiVyhatS}-K$^3 z_H5u+j))`*1w$aWt`mm0PkT4Q5{eMnK__}LB=zj#tPcRajHj334{ui*Caq&+;j za~=O{pKwSdCr_O0;K_4`q?#rC=^3Sa1D`y85;JlIwB< zp9q!NMAynvN6SoC`Jy6-1^@tv5Wuud04hN4?;7wACIAL1fXpapfX-_VVc?Xp>qUR; zjNlM8%-$THE@ok|KtzMxbKBrT+MjwSqoCc%QkLadeb5a0&Y5F>igZHmP}Y?jg*(q& ziiUG#uOyf$)@=@EswMwsX=7#{DKXFE-N_((!-;CM$4yO!JQeUN*Qei! ziQvk)WV9`ZywPQkJM}1EgO>x1ACs(}ZB5;H-H3)&zu`P*tZ0n3Zw?y=0t#%EX!+vK z>%_(4*n|25-0XWR-z)y<1!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pkY6i&5yCOzHBr$(kA~pWV!Ui`iH*a+$F!I zQVsi*h)4O2s24pYfv2GR@ej&_+Ti7SV=uZhY`z}3!*jYa=j9r{%V@#Lz02W#mWo@^ zG*l9kCp^qf#6wa~=xn%lLO@H;Hx2j;Ts!f6ZWz=Fl%#{#dSnX4j2d5rrNK~jucbiDr-z3qdyiCi*HDE>G#Rtk7 zKhLkjGQsceyL(`cbQL-J7V_S)tM9jZ8dy-y(nvtqt?Rn82g0-6$LA5(e2pJ6a)rK! hWGxbY-XOM86p~q)uQ#@^Z=1m7ka5^G`FG5({TF4*qYeN7 literal 0 HcmV?d00001 diff --git a/media/data.svg b/media/data.svg index 2529e20..2f5cb22 100644 --- a/media/data.svg +++ b/media/data.svg @@ -1,8 +1,8 @@ - - - - - - - + + + + + + + \ No newline at end of file diff --git a/media/file_upload/finanzen/20230420_111236_RG_100121618035.pdf b/media/file_upload/finanzen/20230420_111236_RG_100121618035.pdf new file mode 100644 index 0000000000000000000000000000000000000000..ea2faddf09ce9059da7b653f04b63cbe3bde8376 GIT binary patch literal 39520 zcmce;1z1#F_cx4$A|)*$Fi0aY%naRK(%s!D-5t{1DIro)q97n44U$T?gh7LJd}r|X zxqa@(|NB1I`+ncYbq#ao>{x5>{absVwSIda8bvV)W;PZW8qLw_#UdIT2n=#CwnpRQ zLt|C-bTk98iW<2X**aLDv8tOnIa@i{gIL*EIMG-YjV#QZK@cFjGMaz@nwh;RycqPi z;-XGwMlL`BF(Vf<5WN@=1PpZ6Np|~L0&-x zxTE4~Y;9)Z0-{$oGqJRHwYLDVfx&DLHV!r}Fq9q0AnfX5>F}!nNJSjDrE2A33yAq2 zO8l)MT;qRl;7v==SY@qDok2P@}C9KSmn%2t&Bt*JU}{N z7BC3@VdrLNfpD^exL|B7T%7DcZHh)tW5dT7fTR? zlM@&>2`gI{ps!gaY=L1BGc$28HG>y(b^%7q4in8IJ4buoVXgs(u9~&$wdJtf=0Fcw z^}W6>i6?wY)Z(SRDAg@ZZny?^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iN)6!blHu=E|F3BYl?N0 zMeDiG{S+;2ha)zXmsn_;J-V2vKO3)TRqqK^nE1)fwbJAU2OUaVN>fU;N1G%8m(=!d zT4k>nFzO@VjiAHot*`L0@hu}p($1{6hl}pWXT0U#aRcs)e(`b5X0N*%=zB4PtrY5I zR!Lem)*!1C73F8{bPw@&J{89`+F2^pr{1(h3)%SIaPDk)VcpPj8Ee4rvP@vy^6x@I z&x*2uYLyk)fv2}F^9U*t2OnesTMfywS{gtm0}>QD;8o9m5m4$Ze&mRj7)o0;=oLSXbT8bhw&(o(MXSXJusY>KtPNS%r-D1fV>N4B(MTO3KmBPV2~EMtja+MgTS0 z`wRhMGA1J!>p)Nx*p#5TD05FifF!U&L3J3NG6^#R7|&ov^5NeSA^42*j1UBn%|UZX zkbKHuDDca{br`|u3xZIYj07GkcrL{_lL&3hsfD2;=-=xD{g$ zFdSi=dyM1*_tjF52yr0DXBD$-Y*^e~;o%?%b}^WhyJ-IVC#03@>d5i2almm$if|$* zo;||HDAbBT?YB8OB7Br`KoG)7!1@0Y5be18$jM;({#(2>1H}=GHzF``fwWj-V<(So GtiJ)i#Fg*> literal 0 HcmV?d00001 diff --git a/media/file_upload/finanzen/20230420_111614_RG_100117336090.pdf b/media/file_upload/finanzen/20230420_111614_RG_100117336090.pdf new file mode 100644 index 0000000000000000000000000000000000000000..7956d69f6ff4b5bc1a2a0f8ee1153d197a656da8 GIT binary patch literal 40271 zcmce;1z40@*Edc}gOZ}aC?Oy{!wf@rmvncxbc0e-($XOzA|WXt4IcW19G38;~qQvJw~7>CkInk6Ei0egS4W8 zq6%W!BBQMJ5WK`)y2}`X9JLmIB-kV%EcBS z^B-FL$svN{zYg$fB-m`SR;JD%9SCATdf05D4zBhtAdX*#hA8>>hS+TKW~Np~A`TuP z9d=fB5aPoH=VIlAae=rY9IV_hE}%ChBPTPUyC1U!^lk3~`~;|RA*g|%f6!Dmb9Qib zG6AL)hPVR^)85_zQH}em8vN=%2S5X8!+}^R;OnYO5C>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=yq_bAKp!>};P#U7YOUaz2GB=j&Z964kCKVa%5na(kRpz95oZK+WBdAE|b$|kB zH3)@1T>wl5Bq$n!Pd)#Y08(e_r=eh4W8zc|y!=N435z6+2>>-jAB*gRaAp<32RK|H zqY*Ek+JHC!(nZt|h+G%NGs|YyWzjjLKC>8rxkL0pbP#AqsLKK@E}{nG#4&;o1{^S= zhI7G)8qNnJX>4+zLC_${hX7m`u`UXjLnIAwfCw5)2f3Rh4JEY!qBu!yz)Y|b#JWrl zxeW*;F%o?&I%#Y$3n#_l<5y-wqQfZMhLO70ni{0+nUYJZlx}SU)47KKZvoMcJH3y4;pgAfq3I#?pE?mCa3MCu*m#rUX39U&3FwCa literal 0 HcmV?d00001 diff --git a/templates/modern/dashboard/bak_nav.html b/templates/modern/dashboard/bak_nav.html index 2c61013..c80ab58 100644 --- a/templates/modern/dashboard/bak_nav.html +++ b/templates/modern/dashboard/bak_nav.html @@ -1,46 +1,46 @@ -

- +
+
\ No newline at end of file diff --git a/templates/modern/dashboard/changepwd.html b/templates/modern/dashboard/changepwd.html index 1410dc3..6855869 100644 --- a/templates/modern/dashboard/changepwd.html +++ b/templates/modern/dashboard/changepwd.html @@ -1,88 +1,88 @@ -{if $action == ''} - - - - JU & MI Passwort - - - - - - - - - - - - - - - - - {literal} - - {/literal} -
- - -
-
- - - -
-
-
- - Passwortwechsel -
-
-
-
-
Altes Passwort:
-
- -
-
- -
-
Neues Passwort:
-
- -
-
-
-
Passwortwiederholung:
-
- -
-
-
-

- -

-
-
-
-
-
- - -
-
- - -{/if} +{if $action == ''} + + + + JU & MI Passwort + + + + + + + + + + + + + + + + + {literal} + + {/literal} +
+ + +
+
+ + + +
+
+
+ + Passwortwechsel +
+
+
+
+
Altes Passwort:
+
+ +
+
+ +
+
Neues Passwort:
+
+ +
+
+
+
Passwortwiederholung:
+
+ +
+
+
+

+ +

+
+
+
+
+
+ + +
+
+ + +{/if} diff --git a/templates/modern/dashboard/create_member.html b/templates/modern/dashboard/create_member.html index 7d00804..a1792db 100644 --- a/templates/modern/dashboard/create_member.html +++ b/templates/modern/dashboard/create_member.html @@ -1,217 +1,217 @@ -{if $action == ''} - - - - {if $create_edit == ''} - JU & MI SängerIn erfassen - {else} - JU & MI SängerIn bearbeiten - {/if} - - - - - - - - - - - - - - - - - {literal} - - {/literal} -
- - -
-
-
- -
-
- - {if $create_edit == ''} - SängerIn erfassen - {else} - SängerIn bearbeiten - {/if} -
-
-
-
-
Vorname:
-
-
-
-
Nachname:
-
-
-
-
Mailadresse:
-
- -
-
- -
-
-
Singstimme:
-
- -
-
-
Einwilligungserklärung:
-
-
-
- -
-
-
-
Mind. 16 Jahre alt oder älter?
-
-
- - -
-
- - -
-
-
-
-
Bemerkung:
-
-
- -
-
-
- {if $create_edit != ''} -
-
Registrierungsdatum:
-
- {$member_anlegen_selfreg_date_form} -
-
- -
-
Dateien:
-
-
- - - - - - - - - - {section name=table_data loop=$table_data} - - - - - - {/section} - -
DateiUploaddatumAktion
- {if $table_data[table_data].file_exists == 1} - {$table_data[table_data].originalname} - {else} - {$table_data[table_data].originalname} - {/if} - {$table_data[table_data].uploaddatum}
-
-
-
- {/if} -
- -
- - - - - - - - - - - -
DateiStatusGrößeAktion
-
-

- {if $create_edit != ''} - - {else} - - {/if} - -

-
-
-
-
-
- -
-
- - - - - -
-
- - +{if $action == ''} + + + + {if $create_edit == ''} + JU & MI SängerIn erfassen + {else} + JU & MI SängerIn bearbeiten + {/if} + + + + + + + + + + + + + + + + + {literal} + + {/literal} +
+ + +
+
+
+
+
+
+ + {if $create_edit == ''} + SängerIn erfassen + {else} + SängerIn bearbeiten + {/if} +
+
+
+
+
Vorname:
+
+
+
+
Nachname:
+
+
+
+
Mailadresse:
+
+ +
+
+ +
+
+
Singstimme:
+
+ +
+
+
Einwilligungserklärung:
+
+
+
+ +
+
+
+
Mind. 16 Jahre alt oder älter?
+
+
+ + +
+
+ + +
+
+
+
+
Bemerkung:
+
+
+ +
+
+
+ {if $create_edit != ''} +
+
Registrierungsdatum:
+
+ {$member_anlegen_selfreg_date_form} +
+
+ +
+
Dateien:
+
+
+ + + + + + + + + + {section name=table_data loop=$table_data} + + + + + + {/section} + +
DateiUploaddatumAktion
+ {if $table_data[table_data].file_exists == 1} + {$table_data[table_data].originalname} + {else} + {$table_data[table_data].originalname} + {/if} + {$table_data[table_data].uploaddatum}
+
+
+
+ {/if} +
+ +
+ + + + + + + + + + + +
DateiStatusGrößeAktion
+
+

+ {if $create_edit != ''} + + {else} + + {/if} + +

+
+
+
+
+
+
+
+
+ + + + + +
+
+ + {/if} \ No newline at end of file diff --git a/templates/modern/dashboard/create_user.html b/templates/modern/dashboard/create_user.html index 4dc700a..1ee91ff 100644 --- a/templates/modern/dashboard/create_user.html +++ b/templates/modern/dashboard/create_user.html @@ -1,224 +1,224 @@ -{if $action == ''} - - - - JU & MI Benutzer erstellen - - - - - - - - - - - - - - - - {literal} - - {/literal} -
- - -
-
- - - -
-
-
- - {if $create_edit == ''} - Benutzer erstellen - {else} - Benutzer bearbeiten - {/if} -
-
-
-
-
Vorname:
-
-
-
-
Nachname:
-
-
-
-
Mailadresse:
-
-
-
-
Rolle:
-
- -
- {if $create_edit != ''} -
-
Passwort zurücksetzen:
-
- -
-
- {/if} -
-

- {if $create_edit == ''} - - {else} - - {/if} -

-
-
-
-
-
-
- - -
-
- - -{/if} +{if $action == ''} + + + + JU & MI Benutzer erstellen + + + + + + + + + + + + + + + + {literal} + + {/literal} +
+ + +
+
+ + + +
+
+
+ + {if $create_edit == ''} + Benutzer erstellen + {else} + Benutzer bearbeiten + {/if} +
+
+
+
+
Vorname:
+
+
+
+
Nachname:
+
+
+
+
Mailadresse:
+
+
+
+
Rolle:
+
+ +
+ {if $create_edit != ''} +
+
Passwort zurücksetzen:
+
+ +
+
+ {/if} +
+

+ {if $create_edit == ''} + + {else} + + {/if} +

+
+
+
+
+
+
+ + +
+
+ + +{/if} diff --git a/templates/modern/dashboard/edit_member.html b/templates/modern/dashboard/edit_member.html index 3d5b163..cc0c13e 100644 --- a/templates/modern/dashboard/edit_member.html +++ b/templates/modern/dashboard/edit_member.html @@ -1,111 +1,111 @@ -{if $action == ''} - - - - JU & MI SängerIn bearbeiten - - - - - - - - - - - - - - - - - - - - - - - - - - {literal} - - {/literal} -
- - -
-
- - - -
-
-
- - SängerIn bearbeiten -
-
- - - - - - - - - - - - - - - {section name=table_data loop=$table_data} - - - - - - - - {/section} - -
VornameNachname MailSingstimmeAktion
{$table_data[table_data].vorname}{$table_data[table_data].nachname}{$table_data[table_data].mail}{$table_data[table_data].singstimme} - -   - -
- - -
-
-
-
-
- - -
-
- - - -{/if} +{if $action == ''} + + + + JU & MI SängerIn bearbeiten + + + + + + + + + + + + + + + + + + + + + + + + + + {literal} + + {/literal} +
+ + +
+
+ + + +
+
+
+ + SängerIn bearbeiten +
+
+ + + + + + + + + + + + + + + {section name=table_data loop=$table_data} + + + + + + + + {/section} + +
VornameNachname MailSingstimmeAktion
{$table_data[table_data].vorname}{$table_data[table_data].nachname}{$table_data[table_data].mail}{$table_data[table_data].singstimme} + +   + +
+ + +
+
+
+
+
+ + +
+
+ + + +{/if} diff --git a/templates/modern/dashboard/edit_noten.html b/templates/modern/dashboard/edit_noten.html index 025fbfc..de36455 100644 --- a/templates/modern/dashboard/edit_noten.html +++ b/templates/modern/dashboard/edit_noten.html @@ -1,113 +1,113 @@ -{if $action == ''} - - - - JU & MI Noten bearbeiten - - - - - - - - - - - - - - - - - - - - - - - - - - {literal} - - {/literal} -
- - -
-
- - - -
-
-
- - Noten bearbeiten -
-
- - - - - - - - - - - - - - - - {section name=table_data loop=$table_data} - - - - - - - - - {/section} - -
TitelVerlagSongbook LizenzmengeStreamlizenzAktion
{$table_data[table_data].titel}{$table_data[table_data].verlag}{$table_data[table_data].songbook}{$table_data[table_data].restlizenz}/{$table_data[table_data].anz_lizenzen}{$table_data[table_data].streamlizenz_vorh} - -   - -
- - -
-
-
-
-
- - -
-
- - - -{/if} +{if $action == ''} + + + + JU & MI Noten bearbeiten + + + + + + + + + + + + + + + + + + + + + + + + + + {literal} + + {/literal} +
+ + +
+
+ + + +
+
+
+ + Noten bearbeiten +
+
+ + + + + + + + + + + + + + + + {section name=table_data loop=$table_data} + + + + + + + + + {/section} + +
TitelVerlagSongbook LizenzmengeStreamlizenzAktion
{$table_data[table_data].titel}{$table_data[table_data].verlag}{$table_data[table_data].songbook}{$table_data[table_data].restlizenz}/{$table_data[table_data].anz_lizenzen}{$table_data[table_data].streamlizenz_vorh} + +   + +
+ + +
+
+
+
+
+ + +
+
+ + + +{/if} diff --git a/templates/modern/dashboard/edit_user.html b/templates/modern/dashboard/edit_user.html index 429d17c..eb544e1 100644 --- a/templates/modern/dashboard/edit_user.html +++ b/templates/modern/dashboard/edit_user.html @@ -1,136 +1,136 @@ -{if $action == ''} - - - - JU & MI Benutzer bearbeiten - - - - - - - - - - - - - - - - - - - - - - - - - - {literal} - - {/literal} -
- - -
-
- - - -
-
-
- - Benutzer bearbeiten -
-
- - - - - - - - - - - - - - - - {section name=table_data loop=$table_data} - - - - - - - - - {/section} - -
VornameNachname MailLetzter LoginStatusAktion
{$table_data[table_data].vorname}{$table_data[table_data].nachname}{$table_data[table_data].mail}{$table_data[table_data].last_login} - - {if $table_data[table_data].status == '4'} - Neu - {/if} - {if $table_data[table_data].status == '3'} - Deaktiviert - {/if} - {if $table_data[table_data].status == '2'} - Inaktiv - {/if} - {if $table_data[table_data].status == '1'} - Aktiv - {/if} - - -   - {if $table_data[table_data].aktiv == 1} - - {else} - - {/if} -
- - -
-
-
-
-
- - -
-
- - - -{/if} +{if $action == ''} + + + + JU & MI Benutzer bearbeiten + + + + + + + + + + + + + + + + + + + + + + + + + + {literal} + + {/literal} +
+ + +
+
+ + + +
+
+
+ + Benutzer bearbeiten +
+
+ + + + + + + + + + + + + + + + {section name=table_data loop=$table_data} + + + + + + + + + {/section} + +
VornameNachname MailLetzter LoginStatusAktion
{$table_data[table_data].vorname}{$table_data[table_data].nachname}{$table_data[table_data].mail}{$table_data[table_data].last_login} + + {if $table_data[table_data].status == '4'} + Neu + {/if} + {if $table_data[table_data].status == '3'} + Deaktiviert + {/if} + {if $table_data[table_data].status == '2'} + Inaktiv + {/if} + {if $table_data[table_data].status == '1'} + Aktiv + {/if} + + +   + {if $table_data[table_data].aktiv == 1} + + {else} + + {/if} +
+ + +
+
+
+
+
+ + +
+
+ + + +{/if} diff --git a/templates/modern/dashboard/einwilligungen.html b/templates/modern/dashboard/einwilligungen.html index b315e01..c4d1b31 100644 --- a/templates/modern/dashboard/einwilligungen.html +++ b/templates/modern/dashboard/einwilligungen.html @@ -1,123 +1,123 @@ -{if $action == ''} - - - - JU & MI Einwilligungen - - - - - - - - - - - - - - - - - - - - - - - - - - {literal} - - {/literal} -
- - -
-
- - -
-
-
- - Einwilligungen -
- Querformat für Mobilgeräte -
-
-
- - - - - - - - - - - - - {section name=table_data loop=$table_data} - - - - - - - - {/section} - -
VornameNachnameLivestreamHomepageSocial Media
{$table_data[table_data].vorname}{$table_data[table_data].nachname} - {if $table_data[table_data].einw_livestream == '1'} - - {else} - - {/if} - - {if $table_data[table_data].einw_homepage == '1'} - - {else} - - {/if} - - {if $table_data[table_data].einw_socialmedia == '1'} - - {else} - - {/if} -
-
-
-
-
-
- - -
-
- - - +{if $action == ''} + + + + JU & MI Einwilligungen + + + + + + + + + + + + + + + + + + + + + + + + + + {literal} + + {/literal} +
+ + +
+
+ + +
+
+
+ + Einwilligungen +
+ Querformat für Mobilgeräte +
+
+
+ + + + + + + + + + + + + {section name=table_data loop=$table_data} + + + + + + + + {/section} + +
VornameNachnameLivestreamHomepageSocial Media
{$table_data[table_data].vorname}{$table_data[table_data].nachname} + {if $table_data[table_data].einw_livestream == '1'} + + {else} + + {/if} + + {if $table_data[table_data].einw_homepage == '1'} + + {else} + + {/if} + + {if $table_data[table_data].einw_socialmedia == '1'} + + {else} + + {/if} +
+
+
+
+
+
+ + +
+
+ + + {/if} \ No newline at end of file diff --git a/templates/modern/dashboard/error.html b/templates/modern/dashboard/error.html index a2f09ce..d24dae1 100644 --- a/templates/modern/dashboard/error.html +++ b/templates/modern/dashboard/error.html @@ -1,42 +1,42 @@ - - - - JU & MI Startseite - - - - - - - - - - - - - - - {literal} - - {/literal} -
- - -
-
-
Sie haben keinen Zugriff auf diese Seite
-
- - -
-
- - + + + + JU & MI Startseite + + + + + + + + + + + + + + + {literal} + + {/literal} +
+ + +
+
+
Sie haben keinen Zugriff auf diese Seite
+
+ + +
+
+ + \ No newline at end of file diff --git a/templates/modern/dashboard/finanzen.html b/templates/modern/dashboard/finanzen.html index 9df7396..8d25258 100644 --- a/templates/modern/dashboard/finanzen.html +++ b/templates/modern/dashboard/finanzen.html @@ -1,307 +1,307 @@ -{if $action == ''} - - - - - {if $create_edit == ''} - JU & MI Finazen erfassen - {else} - JU & MI Finazen bearbeiten - {/if} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {literal} - - {/literal} -
- - -
-
-
-
-
-
- - {if $create_edit == ''} - Finanzen erfassen - {else} - Finanzen bearbeiten - {/if} -
- Querformat für Mobilgeräte -
-
-
-
-
-
Datum:
-
- -
-
-
-
Beschreibung:
-
- -
-
-
-
Firma:
-
- -
-
-
-
Art:
-
- -
-
-
-
Betrag:
-
- -
-
-
-
Bemerkung:
-
- -
-
- {if $create_edit != ''} -
-
Dateien:
-
-
- - - - - - - - - - {section name=table_data2 loop=$table_data2} - - - - - - {/section} - -
DateiUploaddatumAktion
{$table_data2[table_data2].originalname}{$table_data2[table_data2].uploaddatum}
-
-
-
- {/if} -
- -
- - - - - - - - - - - -
DateiStatusGrößeAktion
-
-

- {if $create_edit != ''} - - {else} - - {/if} - -

-
-
-
-
- -
-
-
- - Kontostand: {if $kontostand < 0}{/if}{$kontostand}{if $kontostand < 0}{/if} -
- Querformat für Mobilgeräte -
-
-
- - - - - - - - - - - - - - - {section name=table_data loop=$table_data} - - - - - - - - - - {/section} - -
VornameBeschreibungFirmaBelegBetragBemerkungAktion
{$table_data[table_data].datum_form}{$table_data[table_data].beschreibung}{$table_data[table_data].firma} - {section name=inner loop=$table_data[table_data].inner} - {if $table_data[table_data].inner[inner].file_exists == 1} - -
{$table_data[table_data].inner[inner].originalname_short}
-
{$table_data[table_data].inner[inner].originalname}
-
- {else} -
{$table_data[table_data].inner[inner].originalname_short}
-
{$table_data[table_data].inner[inner].originalname}
- {/if} - {/section} -
{$table_data[table_data].betrag_form}{$table_data[table_data].bemerkung} - -   - -
-
-
- -
- - - - -
-
- - - +{if $action == ''} + + + + + {if $create_edit == ''} + JU & MI Finazen erfassen + {else} + JU & MI Finazen bearbeiten + {/if} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {literal} + + {/literal} +
+ + +
+
+
+
+
+
+ + {if $create_edit == ''} + Finanzen erfassen + {else} + Finanzen bearbeiten + {/if} +
+ Querformat für Mobilgeräte +
+
+
+
+
+
Datum:
+
+ +
+
+
+
Beschreibung:
+
+ +
+
+
+
Firma:
+
+ +
+
+
+
Art:
+
+ +
+
+
+
Betrag:
+
+ +
+
+
+
Bemerkung:
+
+ +
+
+ {if $create_edit != ''} +
+
Dateien:
+
+
+ + + + + + + + + + {section name=table_data2 loop=$table_data2} + + + + + + {/section} + +
DateiUploaddatumAktion
{$table_data2[table_data2].originalname}{$table_data2[table_data2].uploaddatum}
+
+
+
+ {/if} +
+ +
+ + + + + + + + + + + +
DateiStatusGrößeAktion
+
+

+ {if $create_edit != ''} + + {else} + + {/if} + +

+
+
+
+
+ +
+
+
+ + Kontostand: {if $kontostand < 0}{/if}{$kontostand}{if $kontostand < 0}{/if} +
+ Querformat für Mobilgeräte +
+
+
+ + + + + + + + + + + + + + + {section name=table_data loop=$table_data} + + + + + + + + + + {/section} + +
VornameBeschreibungFirmaBelegBetragBemerkungAktion
{$table_data[table_data].datum_form}{$table_data[table_data].beschreibung}{$table_data[table_data].firma} + {section name=inner loop=$table_data[table_data].inner} + {if $table_data[table_data].inner[inner].file_exists == 1} + +
{$table_data[table_data].inner[inner].originalname_short}
+
{$table_data[table_data].inner[inner].originalname}
+
+ {else} +
{$table_data[table_data].inner[inner].originalname_short}
+
{$table_data[table_data].inner[inner].originalname}
+ {/if} + {/section} +
{$table_data[table_data].betrag_form}{$table_data[table_data].bemerkung} + +   + +
+
+
+ +
+ + + + +
+
+ + + {/if} \ No newline at end of file diff --git a/templates/modern/dashboard/footer.html b/templates/modern/dashboard/footer.html index 9b1e118..4baa147 100644 --- a/templates/modern/dashboard/footer.html +++ b/templates/modern/dashboard/footer.html @@ -1,8 +1,8 @@ -
-
-
-
Copyright © JU & MI 2023
-
-
-
- +
+
+
+
Copyright © JU & MI 2023
+
+
+
+ diff --git a/templates/modern/dashboard/index.html b/templates/modern/dashboard/index.html index 9342f7a..70c39bf 100644 --- a/templates/modern/dashboard/index.html +++ b/templates/modern/dashboard/index.html @@ -1,93 +1,93 @@ - - - - JU & MI Startseite - - - - - - - - - - - - - - - {literal} - - {/literal} -
- - -
-
-
-
-
- - Herzlich willkommen {$startseite_name} -
-
-

Herzlich willkommen zur Administration von Jugendchor & Miteinander.

-

- - - - -
-
-
-
- - -
-
- - + + + + JU & MI Startseite + + + + + + + + + + + + + + + {literal} + + {/literal} +
+ + +
+
+
+
+
+ + Herzlich willkommen {$startseite_name} +
+
+

Herzlich willkommen zur Administration von Jugendchor & Miteinander.

+

+ + + + +
+
+
+
+ + +
+
+ + \ No newline at end of file diff --git a/templates/modern/dashboard/login.html b/templates/modern/dashboard/login.html index 105b373..5eb52a5 100644 --- a/templates/modern/dashboard/login.html +++ b/templates/modern/dashboard/login.html @@ -1,133 +1,133 @@ -{if $action == ''} - - - - - - - - - JU & MI Administration - - - - - - - - - - - - {literal} - - {/literal} -
-
-
- - -
-
-
-
-
-
-

Login

-
-
-
- - -
-
- - -
- - - -
- - -
-
-
-
-
-
- -
- {literal} - - {/literal} -
- -
- - - -{/if} +{if $action == ''} + + + + + + + + + JU & MI Administration + + + + + + + + + + + + {literal} + + {/literal} +
+
+
+ + +
+
+
+
+
+
+

Login

+
+
+
+ + +
+
+ + +
+ + + +
+ + +
+
+
+
+
+
+ +
+ {literal} + + {/literal} +
+ +
+ + + +{/if} diff --git a/templates/modern/dashboard/mailversand.html b/templates/modern/dashboard/mailversand.html new file mode 100644 index 0000000..be690ab --- /dev/null +++ b/templates/modern/dashboard/mailversand.html @@ -0,0 +1,169 @@ +{if $action == ''} + + + + JU & MI Mailversand + + + + + + + + + + + + + + + + + {literal} + + {/literal} +
+ + +
+
+ + +
+
+
+ + Mailversand +
+
+
+
+
+ +
+
+
+ +
+
+ +
+
+ +
+
+
+
+ +
+
+
+
+
+
+
+

+ +

+
+
+
+
+
+ + +
+
+ + + + + +
+
+ + +{/if} diff --git a/templates/modern/dashboard/nav.html b/templates/modern/dashboard/nav.html index 8391bbc..bc96c94 100644 --- a/templates/modern/dashboard/nav.html +++ b/templates/modern/dashboard/nav.html @@ -1,41 +1,41 @@ -
- +
+
\ No newline at end of file diff --git a/templates/modern/dashboard/navtop.html b/templates/modern/dashboard/navtop.html index 3757b4a..368bfe6 100644 --- a/templates/modern/dashboard/navtop.html +++ b/templates/modern/dashboard/navtop.html @@ -1,49 +1,49 @@ - - - + + +
\ No newline at end of file diff --git a/templates/modern/dashboard/notenbuch.html b/templates/modern/dashboard/notenbuch.html index 2fc37df..f40ac0a 100644 --- a/templates/modern/dashboard/notenbuch.html +++ b/templates/modern/dashboard/notenbuch.html @@ -1,161 +1,161 @@ -{if $action == ''} - - - - - Notenbuch erfassen - - - - - - - - - - - - - - - - - - - - {literal} - - {/literal} -
- - -
-
- - -
-
-
- - Notenbuch erfassen -
-
-
Notenbuchname:
-
-
-
-
Lizenz erfoderlich:
-
-
-
-
Anzahl vorhandene Lizenzen:
-
-
- - -
-
-
-
-
-
-
-
-
- - Vorhandene Notenbücher -
-
-
-
-
Notenbuch
-
Lizenzen
-
Aktion
-
- {section name=table_data loop=$table_data} -
-
{$table_data[table_data].bezeichnung}
-
{$table_data[table_data].restlizenz}/{$table_data[table_data].anzahl_lizenz}
-
- - - - -
-
- {/section} - - - - {literal} - - {/literal} -
-
-
-
-
- - - -
-
- - -{/if} - +{if $action == ''} + + + + + Notenbuch erfassen + + + + + + + + + + + + + + + + + + + + {literal} + + {/literal} +
+ + +
+
+ + +
+
+
+ + Notenbuch erfassen +
+
+
Notenbuchname:
+
+
+
+
Lizenz erfoderlich:
+
+
+
+
Anzahl vorhandene Lizenzen:
+
+
+ + +
+
+
+
+
+
+
+
+
+ + Vorhandene Notenbücher +
+
+
+
+
Notenbuch
+
Lizenzen
+
Aktion
+
+ {section name=table_data loop=$table_data} +
+
{$table_data[table_data].bezeichnung}
+
{$table_data[table_data].restlizenz}/{$table_data[table_data].anzahl_lizenz}
+
+ + + + +
+
+ {/section} + + + + {literal} + + {/literal} +
+
+
+
+
+ + + +
+
+ + +{/if} + diff --git a/templates/modern/dashboard/notenbuchzuordnung.html b/templates/modern/dashboard/notenbuchzuordnung.html index 0c98af0..9bb6c7e 100644 --- a/templates/modern/dashboard/notenbuchzuordnung.html +++ b/templates/modern/dashboard/notenbuchzuordnung.html @@ -1,147 +1,147 @@ -{if $action == ''} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - -

{$notenbuchzuordnung_bezeichnung}

-
-
-
- - Nicht zugewiesene Rechte -
-
- - - - - - - - - - {section name=table_data loop=$table_data} - - - - - {/section} - -
LiedAktion
{$table_data[table_data].titel} -

- -

-
- -
-
-
-
-
- - Nicht zugewiesene Lieder -
-
- - - - - - - - - - {section name=table_data1 loop=$table_data1} - - - - - {/section} - -
LiedAktion
{$table_data1[table_data1].titel} -

- -

-
- -
-
-
-
-
- - - - - - -{/if} +{if $action == ''} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +

{$notenbuchzuordnung_bezeichnung}

+
+
+
+ + Nicht zugewiesene Rechte +
+
+ + + + + + + + + + {section name=table_data loop=$table_data} + + + + + {/section} + +
LiedAktion
{$table_data[table_data].titel} +

+ +

+
+ +
+
+
+
+
+ + Nicht zugewiesene Lieder +
+
+ + + + + + + + + + {section name=table_data1 loop=$table_data1} + + + + + {/section} + +
LiedAktion
{$table_data1[table_data1].titel} +

+ +

+
+ +
+
+
+
+
+ + + + + + +{/if} diff --git a/templates/modern/dashboard/notenupload.html b/templates/modern/dashboard/notenupload.html index 8449383..e82b65b 100644 --- a/templates/modern/dashboard/notenupload.html +++ b/templates/modern/dashboard/notenupload.html @@ -1,189 +1,189 @@ -{if $action == ''} - - - - - {if $create_edit == ''} - JU & MI Noten erfassen - {else} - JU & MI Noten bearbeiten - {/if} - - - - - - - - - - - - - - - - - - - - - - {literal} - - {/literal} -
- - -
-
-
-
-
-
- - {if $create_edit == ''} - Noten erfassen - {else} - Noten bearbeiten - {/if} -
-
-
-
-
Titel:
-
- -
-
-
-
LiedNr:
-
- -
-
-
-
Verlag:
-
- -
-
-
-
Anzahl Lizenzen:
-
- -
-
-
-
Streamlizenz vorhanden:
-
- -
-
- - {if $create_edit != ''} -
-
Dateien:
-
-
- - - - - - - - - - {section name=table_data loop=$table_data} - - - - - - {/section} - -
DateiUploaddatumAktion
- {if $table_data[table_data].file_exists == 1} - {$table_data[table_data].originalname} - {else} - {$table_data[table_data].originalname} - {/if} - {$table_data[table_data].uploaddatum}
-
-
-
- {/if} - -
- -
- - - - - - - - - - - -
DateiStatusGrößeAktion
-
-

- {if $create_edit != ''} - - {else} - - {/if} - -

-
-
-
-
- - -
- - - - -
-
- - -{/if} +{if $action == ''} + + + + + {if $create_edit == ''} + JU & MI Noten erfassen + {else} + JU & MI Noten bearbeiten + {/if} + + + + + + + + + + + + + + + + + + + + + + {literal} + + {/literal} +
+ + +
+
+
+
+
+
+ + {if $create_edit == ''} + Noten erfassen + {else} + Noten bearbeiten + {/if} +
+
+
+
+
Titel:
+
+ +
+
+
+
LiedNr:
+
+ +
+
+
+
Verlag:
+
+ +
+
+
+
Anzahl Lizenzen:
+
+ +
+
+
+
Streamlizenz vorhanden:
+
+ +
+
+ + {if $create_edit != ''} +
+
Dateien:
+
+
+ + + + + + + + + + {section name=table_data loop=$table_data} + + + + + + {/section} + +
DateiUploaddatumAktion
+ {if $table_data[table_data].file_exists == 1} + {$table_data[table_data].originalname} + {else} + {$table_data[table_data].originalname} + {/if} + {$table_data[table_data].uploaddatum}
+
+
+
+ {/if} + +
+ +
+ + + + + + + + + + + +
DateiStatusGrößeAktion
+
+

+ {if $create_edit != ''} + + {else} + + {/if} + +

+
+
+
+
+ + +
+ + + + +
+
+ + +{/if} diff --git a/templates/modern/dashboard/notenuserzuordnung.html b/templates/modern/dashboard/notenuserzuordnung.html index a15d5d5..7d232a5 100644 --- a/templates/modern/dashboard/notenuserzuordnung.html +++ b/templates/modern/dashboard/notenuserzuordnung.html @@ -1,150 +1,150 @@ -{if $action == ''} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - -

{$notenzuordnung_bezeichnung}

-
-
-
- - Nicht zugewiesene SägerIn -
-
- - - - - - - - - - {section name=table_data loop=$table_data} - - - - - - {/section} - -
VornameNachnameAktion
{$table_data[table_data].vorname}{$table_data[table_data].nachname} -

- -

-
-
-
-
-
-
- - Zugewiesene SägerIn -
-
- - - - - - - - - - {section name=table_data1 loop=$table_data1} - - - - - - {/section} - -
VornameNachnameAktion
{$table_data1[table_data1].vorname}{$table_data1[table_data1].nachname} -

- -

-
-
-
-
-
- - - - - - - -{/if} +{if $action == ''} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +

{$notenzuordnung_bezeichnung}

+
+
+
+ + Nicht zugewiesene SägerIn +
+
+ + + + + + + + + + {section name=table_data loop=$table_data} + + + + + + {/section} + +
VornameNachnameAktion
{$table_data[table_data].vorname}{$table_data[table_data].nachname} +

+ +

+
+
+
+
+
+
+ + Zugewiesene SägerIn +
+
+ + + + + + + + + + {section name=table_data1 loop=$table_data1} + + + + + + {/section} + +
VornameNachnameAktion
{$table_data1[table_data1].vorname}{$table_data1[table_data1].nachname} +

+ +

+
+
+
+
+
+ + + + + + + +{/if} diff --git a/templates/modern/dashboard/parameter.html b/templates/modern/dashboard/parameter.html index 10cfd2c..7671be6 100644 --- a/templates/modern/dashboard/parameter.html +++ b/templates/modern/dashboard/parameter.html @@ -1,63 +1,63 @@ -{if $action == ''} - - - - JU & MI Systemparameter - - - - - - - - - - - - - - {literal} - - {/literal} -
- - -
-
- - -
-
-
- - Systemparameter -
-
- {section name=table_data1 loop=$table_data1} -
-
{$table_data1[table_data1].beschreibung}
-
-
- {/section} -
-
-
-
- -
-
-
- - -
-
- - +{if $action == ''} + + + + JU & MI Systemparameter + + + + + + + + + + + + + + {literal} + + {/literal} +
+ + +
+
+ + +
+
+
+ + Systemparameter +
+
+ {section name=table_data1 loop=$table_data1} +
+
{$table_data1[table_data1].beschreibung}
+
+
+ {/section} +
+
+
+
+ +
+
+
+ + +
+
+ + {/if} \ No newline at end of file diff --git a/templates/modern/dashboard/passwortvergessen.html b/templates/modern/dashboard/passwortvergessen.html index e562985..f180630 100644 --- a/templates/modern/dashboard/passwortvergessen.html +++ b/templates/modern/dashboard/passwortvergessen.html @@ -1,96 +1,96 @@ -{if $action == ''} - - - - - - - - - JU & MI Passwort vergessen - - - - - - - - - - - - {literal} - - {/literal} -
-
-
- - -
-
-
-
-
-
-

Passwort vergessen

-
-
-
- - -
-
- -
-
-
-
-
-
- -
- {literal} - - {/literal} -
- -
- - -{/if} +{if $action == ''} + + + + + + + + + JU & MI Passwort vergessen + + + + + + + + + + + + {literal} + + {/literal} +
+
+
+ + +
+
+
+
+
+
+

Passwort vergessen

+
+
+
+ + +
+
+ +
+
+
+
+
+
+ +
+ {literal} + + {/literal} +
+ +
+ + +{/if} diff --git a/templates/modern/dashboard/passwortzuruecksetzen.html b/templates/modern/dashboard/passwortzuruecksetzen.html index 4ef876c..02d9190 100644 --- a/templates/modern/dashboard/passwortzuruecksetzen.html +++ b/templates/modern/dashboard/passwortzuruecksetzen.html @@ -1,111 +1,111 @@ -{if $action == ''} - - - - JU & MI Passwort - - - - - - - - - - - - - - - - - {literal} - - {/literal} -
-
-
- - -
-
-
-
-
-
-

Passwort vergeben

-
-
-
-
-
Neues Passwort:
-
- - - -
-
-
-
Passwortwiederholung:
-
- -
-
-
-
- -
-
- {if $error == 1} -
{$error_text}
- {/if} -
-
-
-
- -
- {literal} - - {/literal} -
- -
- - -{/if} +{if $action == ''} + + + + JU & MI Passwort + + + + + + + + + + + + + + + + + {literal} + + {/literal} +
+
+
+ + +
+
+
+
+
+
+

Passwort vergeben

+
+
+
+
+
Neues Passwort:
+
+ + + +
+
+
+
Passwortwiederholung:
+
+ +
+
+
+
+ +
+
+ {if $error == 1} +
{$error_text}
+ {/if} +
+
+
+
+ +
+ {literal} + + {/literal} +
+ +
+ + +{/if} diff --git a/templates/modern/dashboard/result_latest.html b/templates/modern/dashboard/result_latest.html index a338ba6..4d781c7 100644 --- a/templates/modern/dashboard/result_latest.html +++ b/templates/modern/dashboard/result_latest.html @@ -1,116 +1,116 @@ -{if $action == ''} - - - - - - Auswertung - - - - - - -
-
-
-

-

{$result_headline}

-

-

({$result_datum_von} bis {$result_datum_bis})

-
-
- - - - - - - - - - -
Vollständige Teilnehmer{$result_anz_fertige}
Teilweise beantwortet{$result_anz_angefangen}
-
-
-
-
- {section name=table_data loop=$table_data} -

{$table_data[table_data].frage}
({$table_data[table_data].anz_userfrage} Personen)

- {if $table_data[table_data].multiple == '1'} -

(Multiple Choice Frage)

- {/if} - {section name=inner loop=$table_data[table_data].inner} -
-
- -
-
-
-
{$table_data[table_data].inner[inner].prozent}%
-
-
-
- {/section} -
- {/section} -
-
-
- -
- - {section name=table_data3 loop=$table_data3} - {if $smarty.section.table_data3.rownum == 1} - - - - - - - {/if} - - - - {/section} - -

Bemerkungen

{$table_data3[table_data3].freitext}
-
-
-
- - - -{/if} +{if $action == ''} + + + + + + Auswertung + + + + + + +
+
+
+

+

{$result_headline}

+

+

({$result_datum_von} bis {$result_datum_bis})

+
+
+ + + + + + + + + + +
Vollständige Teilnehmer{$result_anz_fertige}
Teilweise beantwortet{$result_anz_angefangen}
+
+
+
+
+ {section name=table_data loop=$table_data} +

{$table_data[table_data].frage}
({$table_data[table_data].anz_userfrage} Personen)

+ {if $table_data[table_data].multiple == '1'} +

(Multiple Choice Frage)

+ {/if} + {section name=inner loop=$table_data[table_data].inner} +
+
+ +
+
+
+
{$table_data[table_data].inner[inner].prozent}%
+
+
+
+ {/section} +
+ {/section} +
+
+
+ +
+ + {section name=table_data3 loop=$table_data3} + {if $smarty.section.table_data3.rownum == 1} + + + + + + + {/if} + + + + {/section} + +

Bemerkungen

{$table_data3[table_data3].freitext}
+
+
+
+ + + +{/if} diff --git a/templates/modern/dashboard/rollen.html b/templates/modern/dashboard/rollen.html index 138cc4a..f0cd4b6 100644 --- a/templates/modern/dashboard/rollen.html +++ b/templates/modern/dashboard/rollen.html @@ -1,164 +1,164 @@ -{if $action == ''} - - - - - - - - - - - - - - - - - - - - - - - - {literal} - - {/literal} -
- - -
-
- - -
-
-
- - Rollen erfassen -
-
-
Rollenname:
-
-
-
-
-
-
-
-
-
-
-
- - Vorhandene Rollen -
-
-
-
-
Rolle
-
Aktion
-
- {section name=table_data loop=$table_data} -
-
{$table_data[table_data].bezeichnung}
-
- - - - -
-
- {/section} - - - - {literal} - - {/literal} -
-
-
-
-
- - - -
-
- - - -{/if} - +{if $action == ''} + + + + + + + + + + + + + + + + + + + + + + + + {literal} + + {/literal} +
+ + +
+
+ + +
+
+
+ + Rollen erfassen +
+
+
Rollenname:
+
+
+
+
+
+
+
+
+
+
+
+ + Vorhandene Rollen +
+
+
+
+
Rolle
+
Aktion
+
+ {section name=table_data loop=$table_data} +
+
{$table_data[table_data].bezeichnung}
+
+ + + + +
+
+ {/section} + + + + {literal} + + {/literal} +
+
+
+
+
+ + + +
+
+ + + +{/if} + diff --git a/templates/modern/dashboard/rollenzuordnung.html b/templates/modern/dashboard/rollenzuordnung.html index 64df75f..b418315 100644 --- a/templates/modern/dashboard/rollenzuordnung.html +++ b/templates/modern/dashboard/rollenzuordnung.html @@ -1,90 +1,90 @@ -{if $action == ''} - - - - - - - - - - - - - - - - - - - - -
- - -

{$rollenzuordnung_bezeichnung}

-
-
-
- - Nicht zugewiesene Rechte -
-
-
-
-
Recht
-
Aktion
-
- {section name=table_data loop=$table_data} -
-
{$table_data[table_data].headline}
-
-
- {/section} -
-
-
-
-
-
- - Zugewiesene Rechte -
-
-
-
-
Recht
-
Aktion
-
- {section name=table_data1 loop=$table_data1} -
-
{$table_data1[table_data1].headline}
-
-
- {/section} -
-
-
-
-
- - - - - - -{/if} +{if $action == ''} + + + + + + + + + + + + + + + + + + + + +
+ + +

{$rollenzuordnung_bezeichnung}

+
+
+
+ + Nicht zugewiesene Rechte +
+
+
+
+
Recht
+
Aktion
+
+ {section name=table_data loop=$table_data} +
+
{$table_data[table_data].headline}
+
+
+ {/section} +
+
+
+
+
+
+ + Zugewiesene Rechte +
+
+
+
+
Recht
+
Aktion
+
+ {section name=table_data1 loop=$table_data1} +
+
{$table_data1[table_data1].headline}
+
+
+ {/section} +
+
+
+
+
+ + + + + + +{/if} diff --git a/templates/modern/dashboard/survey_edit.html b/templates/modern/dashboard/survey_edit.html index 4f1d516..8cbaa3b 100644 --- a/templates/modern/dashboard/survey_edit.html +++ b/templates/modern/dashboard/survey_edit.html @@ -1,115 +1,115 @@ -{if $action == ''} - - - - JU & MI Umfragen bearbeiten - - - - - - - - - - - - - - - - - {literal} - - {/literal} -
- - -
-
- - - -
-
-
- - Erfasste Umfragen -
-
-
- -
Nr
-
Überschrift
-
Startdatum
-
Enddatum
-
Bearbeiten
-
- {section name=table_data1 loop=$table_data1} -
-
{$smarty.section.table_data1.rownum}
-
{$table_data1[table_data1].headline} -
{$table_data1[table_data1].datum_von} -
-
{$table_data1[table_data1].datum_bis}
-
-
{$table_data1[table_data1].datum_von}
-
{$table_data1[table_data1].datum_bis}
-
- - - -
-
- {/section} - - - - - - - -{literal} - -{/literal} - - -
-
-
-
- - -
-
- - -{/if} +{if $action == ''} + + + + JU & MI Umfragen bearbeiten + + + + + + + + + + + + + + + + + {literal} + + {/literal} +
+ + +
+
+ + + +
+
+
+ + Erfasste Umfragen +
+
+
+ +
Nr
+
Überschrift
+
Startdatum
+
Enddatum
+
Bearbeiten
+
+ {section name=table_data1 loop=$table_data1} +
+
{$smarty.section.table_data1.rownum}
+
{$table_data1[table_data1].headline} +
{$table_data1[table_data1].datum_von} -
+
{$table_data1[table_data1].datum_bis}
+
+
{$table_data1[table_data1].datum_von}
+
{$table_data1[table_data1].datum_bis}
+
+ + + +
+
+ {/section} + + + + + + + +{literal} + +{/literal} + + +
+
+
+
+ + +
+
+ + +{/if} diff --git a/templates/modern/dashboard/test.html b/templates/modern/dashboard/test.html index 3fd9fe6..70c0b8c 100644 --- a/templates/modern/dashboard/test.html +++ b/templates/modern/dashboard/test.html @@ -1,17 +1,17 @@ - - - - - - - -

TinyMCE Quick Start Guide

-
- -
- + + + + + + + +

TinyMCE Quick Start Guide

+
+ +
+ \ No newline at end of file diff --git a/templates/modern/dashboard/userzuordnung.html b/templates/modern/dashboard/userzuordnung.html index c65f3d5..c0fa9e0 100644 --- a/templates/modern/dashboard/userzuordnung.html +++ b/templates/modern/dashboard/userzuordnung.html @@ -1,150 +1,150 @@ -{if $action == ''} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - -

{$rollenzuordnung_bezeichnung}

-
-
-
- - Nicht zugewiesene Lieder -
-
- - - - - - - - - - {section name=table_data loop=$table_data} - - - - - - {/section} - -
VornameNachnameAktion
{$table_data[table_data].vorname}{$table_data[table_data].nachname} -

- -

-
-
-
-
-
-
- - Zugewiesene Benutzer -
-
- - - - - - - - - - {section name=table_data1 loop=$table_data1} - - - - - - {/section} - -
VornameNachnameAktion
{$table_data1[table_data1].vorname}{$table_data1[table_data1].nachname} -

- -

-
-
-
-
-
- - - - - - - -{/if} +{if $action == ''} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +

{$rollenzuordnung_bezeichnung}

+
+
+
+ + Nicht zugewiesene Lieder +
+
+ + + + + + + + + + {section name=table_data loop=$table_data} + + + + + + {/section} + +
VornameNachnameAktion
{$table_data[table_data].vorname}{$table_data[table_data].nachname} +

+ +

+
+
+
+
+
+
+ + Zugewiesene Benutzer +
+
+ + + + + + + + + + {section name=table_data1 loop=$table_data1} + + + + + + {/section} + +
VornameNachnameAktion
{$table_data1[table_data1].vorname}{$table_data1[table_data1].nachname} +

+ +

+
+
+
+
+
+ + + + + + + +{/if} diff --git a/templates/modern/selfregistration/index.html b/templates/modern/selfregistration/index.html index 925c620..2d901c3 100644 --- a/templates/modern/selfregistration/index.html +++ b/templates/modern/selfregistration/index.html @@ -1,76 +1,77 @@ - - - - JU & MI Registrierung - - - - - - - - - - - -
-
- - - -
-
-
- - JU & MI Registrierung -
-
-
-
-
Vorname:
-
-
-
-
Nachname:
-
-
-
-
Mailadresse:
-
-
-
-
Ich bin 16 Jahre alt oder älter?
-
-
- - -
-
- - -
-
-
-
-
Singstimme:
-
- -
-

- -

-
-
-
-
-
-
- - + + + + JU & MI Registrierung + + + + + + + + + + + +
+
+ + + +
+
+
+ + JU & MI Registrierung +
+
+
+
+
Vorname:
+
+
+
+
Nachname:
+
+
+
+
Mailadresse:
+
+
+
+
Ich bin 16 Jahre alt oder älter?
+
+
+ + +
+
+ + +
+
+
+
+
Singstimme:
+
+ +
+

+ +

+
+
+
+
+
+
+
+ + \ No newline at end of file diff --git a/templates/modern/survey/index.html b/templates/modern/survey/index.html index 5351d08..ba4243f 100644 --- a/templates/modern/survey/index.html +++ b/templates/modern/survey/index.html @@ -1,335 +1,335 @@ -{if $action == ''} - - - - - - Umfrage - - - - - - - -
-
-
-
- -
-
- {if $umfrage_anzeigen == '0'} -
-

-

Aktuell sind keine Umfragen verfügbar

-

-
- {/if} - {if $umfrage_ende == '1'} -
-

-

Herzlichen Dank für deine Teilnahme

-

-
- {/if} - {if $umfrage_anzeigen == '1' AND $umfrage_ende != '1'} -
-

-

Umfrage wird geladen

-

-
- {/if} - {if $umfrage_anzeigen == '1' AND $umfrage_ende == 0} -
-
-
-
- - -
- {/if} -
-
- - -{/if} -{if $action == 'umfrage'} - - - - - - Umfrage - - - - - - - - - -
- {if $umfrage_showende != '1'} -
-
-
-
-
-

-

{$umfrage_headline}

-

-
-
- {if $umfrage_showfreitext == '0'} - {section name=table_data loop=$table_data} -
-

-

{$table_data[table_data].frage}

-

- {if $table_data[table_data].multiple == '1'} -

Mehrfachantworten möglich

- {/if} -
-
-
- {section name=inner loop=$table_data[table_data].inner} - {if $table_data[table_data].multiple == '0'} - - {else} - - {/if} - - {/section} -
-
- - - {if $umfrage_start0 == '1'} - - {/if} - {if $umfrage_start0 == '2'} - Zurück - {/if} - {if $umfrage_end0 == '1'} - - - - {/if} - {if $umfrage_end0 == '2'} - - - - {/if} -
- {/section} - {/if} - {if $umfrage_showfreitext == '1'} -
-

-

Raum für Hinweise/Bemerkungen

-

-
-
-
- -
-
- - - {if $umfrage_start0 == '1'} - - {/if} - {if $umfrage_start0 == '2'} - Zurück - {/if} - {if $umfrage_end0 == '1'} - - - - {/if} - {if $umfrage_end0 == '2'} - - - - {/if} -
- {/if} -
- - {/if} - {if $umfrage_showende == '1'} -
-
-
- -
-
-

-

Herzlichen Dank für deine Teilnahme

-

-
-
- {/if} -
- - - - - - +{if $action == ''} + + + + + + Umfrage + + + + + + + +
+
+
+
+ +
+
+ {if $umfrage_anzeigen == '0'} +
+

+

Aktuell sind keine Umfragen verfügbar

+

+
+ {/if} + {if $umfrage_ende == '1'} +
+

+

Herzlichen Dank für deine Teilnahme

+

+
+ {/if} + {if $umfrage_anzeigen == '1' AND $umfrage_ende != '1'} +
+

+

Umfrage wird geladen

+

+
+ {/if} + {if $umfrage_anzeigen == '1' AND $umfrage_ende == 0} +
+
+
+
+ + +
+ {/if} +
+
+ + +{/if} +{if $action == 'umfrage'} + + + + + + Umfrage + + + + + + + + + +
+ {if $umfrage_showende != '1'} +
+
+
+
+
+

+

{$umfrage_headline}

+

+
+
+ {if $umfrage_showfreitext == '0'} + {section name=table_data loop=$table_data} +
+

+

{$table_data[table_data].frage}

+

+ {if $table_data[table_data].multiple == '1'} +

Mehrfachantworten möglich

+ {/if} +
+
+
+ {section name=inner loop=$table_data[table_data].inner} + {if $table_data[table_data].multiple == '0'} + + {else} + + {/if} + + {/section} +
+
+ + + {if $umfrage_start0 == '1'} + + {/if} + {if $umfrage_start0 == '2'} + Zurück + {/if} + {if $umfrage_end0 == '1'} + + + + {/if} + {if $umfrage_end0 == '2'} + + + + {/if} +
+ {/section} + {/if} + {if $umfrage_showfreitext == '1'} +
+

+

Raum für Hinweise/Bemerkungen

+

+
+
+
+ +
+
+ + + {if $umfrage_start0 == '1'} + + {/if} + {if $umfrage_start0 == '2'} + Zurück + {/if} + {if $umfrage_end0 == '1'} + + + + {/if} + {if $umfrage_end0 == '2'} + + + + {/if} +
+ {/if} +
+ + {/if} + {if $umfrage_showende == '1'} +
+
+
+ +
+
+

+

Herzlichen Dank für deine Teilnahme

+

+
+
+ {/if} +
+ + + + + + {/if} \ No newline at end of file