first commit
This commit is contained in:
339
wp-content/plugins/popups/LICENSE.txt
Normal file
339
wp-content/plugins/popups/LICENSE.txt
Normal file
@@ -0,0 +1,339 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
License is intended to guarantee your freedom to share and change free
|
||||
software--to make sure the software is free for all its users. This
|
||||
General Public License applies to most of the Free Software
|
||||
Foundation's software and to any other program whose authors commit to
|
||||
using it. (Some other Free Software Foundation software is covered by
|
||||
the GNU Lesser General Public License instead.) You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
this service if you wish), that you receive source code or can get it
|
||||
if you want it, that you can change the software or use pieces of it
|
||||
in new free programs; and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
anyone to deny you these rights or to ask you to surrender the rights.
|
||||
These restrictions translate to certain responsibilities for you if you
|
||||
distribute copies of the software, or if you modify it.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must give the recipients all the rights that
|
||||
you have. You must make sure that they, too, receive or can get the
|
||||
source code. And you must show them these terms so they know their
|
||||
rights.
|
||||
|
||||
We protect your rights with two steps: (1) copyright the software, and
|
||||
(2) offer you this license which gives you legal permission to copy,
|
||||
distribute and/or modify the software.
|
||||
|
||||
Also, for each author's protection and ours, we want to make certain
|
||||
that everyone understands that there is no warranty for this free
|
||||
software. If the software is modified by someone else and passed on, we
|
||||
want its recipients to know that what they have is not the original, so
|
||||
that any problems introduced by others will not reflect on the original
|
||||
authors' reputations.
|
||||
|
||||
Finally, any free program is threatened constantly by software
|
||||
patents. We wish to avoid the danger that redistributors of a free
|
||||
program will individually obtain patent licenses, in effect making the
|
||||
program proprietary. To prevent this, we have made it clear that any
|
||||
patent must be licensed for everyone's free use or not licensed at all.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License applies to any program or other work which contains
|
||||
a notice placed by the copyright holder saying it may be distributed
|
||||
under the terms of this General Public License. The "Program", below,
|
||||
refers to any such program or work, and a "work based on the Program"
|
||||
means either the Program or any derivative work under copyright law:
|
||||
that is to say, a work containing the Program or a portion of it,
|
||||
either verbatim or with modifications and/or translated into another
|
||||
language. (Hereinafter, translation is included without limitation in
|
||||
the term "modification".) Each licensee is addressed as "you".
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running the Program is not restricted, and the output from the Program
|
||||
is covered only if its contents constitute a work based on the
|
||||
Program (independent of having been made by running the Program).
|
||||
Whether that is true depends on what the Program does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Program's
|
||||
source code as you receive it, in any medium, provided that you
|
||||
conspicuously and appropriately publish on each copy an appropriate
|
||||
copyright notice and disclaimer of warranty; keep intact all the
|
||||
notices that refer to this License and to the absence of any warranty;
|
||||
and give any other recipients of the Program a copy of this License
|
||||
along with the Program.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and
|
||||
you may at your option offer warranty protection in exchange for a fee.
|
||||
|
||||
2. You may modify your copy or copies of the Program or any portion
|
||||
of it, thus forming a work based on the Program, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) You must cause the modified files to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
b) You must cause any work that you distribute or publish, that in
|
||||
whole or in part contains or is derived from the Program or any
|
||||
part thereof, to be licensed as a whole at no charge to all third
|
||||
parties under the terms of this License.
|
||||
|
||||
c) If the modified program normally reads commands interactively
|
||||
when run, you must cause it, when started running for such
|
||||
interactive use in the most ordinary way, to print or display an
|
||||
announcement including an appropriate copyright notice and a
|
||||
notice that there is no warranty (or else, saying that you provide
|
||||
a warranty) and that users may redistribute the program under
|
||||
these conditions, and telling the user how to view a copy of this
|
||||
License. (Exception: if the Program itself is interactive but
|
||||
does not normally print such an announcement, your work based on
|
||||
the Program is not required to print an announcement.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Program,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Program, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Program.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Program
|
||||
with the Program (or with a work based on the Program) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may copy and distribute the Program (or a work based on it,
|
||||
under Section 2) in object code or executable form under the terms of
|
||||
Sections 1 and 2 above provided that you also do one of the following:
|
||||
|
||||
a) Accompany it with the complete corresponding machine-readable
|
||||
source code, which must be distributed under the terms of Sections
|
||||
1 and 2 above on a medium customarily used for software interchange; or,
|
||||
|
||||
b) Accompany it with a written offer, valid for at least three
|
||||
years, to give any third party, for a charge no more than your
|
||||
cost of physically performing source distribution, a complete
|
||||
machine-readable copy of the corresponding source code, to be
|
||||
distributed under the terms of Sections 1 and 2 above on a medium
|
||||
customarily used for software interchange; or,
|
||||
|
||||
c) Accompany it with the information you received as to the offer
|
||||
to distribute corresponding source code. (This alternative is
|
||||
allowed only for noncommercial distribution and only if you
|
||||
received the program in object code or executable form with such
|
||||
an offer, in accord with Subsection b above.)
|
||||
|
||||
The source code for a work means the preferred form of the work for
|
||||
making modifications to it. For an executable work, complete source
|
||||
code means all the source code for all modules it contains, plus any
|
||||
associated interface definition files, plus the scripts used to
|
||||
control compilation and installation of the executable. However, as a
|
||||
special exception, the source code distributed need not include
|
||||
anything that is normally distributed (in either source or binary
|
||||
form) with the major components (compiler, kernel, and so on) of the
|
||||
operating system on which the executable runs, unless that component
|
||||
itself accompanies the executable.
|
||||
|
||||
If distribution of executable or object code is made by offering
|
||||
access to copy from a designated place, then offering equivalent
|
||||
access to copy the source code from the same place counts as
|
||||
distribution of the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
4. You may not copy, modify, sublicense, or distribute the Program
|
||||
except as expressly provided under this License. Any attempt
|
||||
otherwise to copy, modify, sublicense or distribute the Program is
|
||||
void, and will automatically terminate your rights under this License.
|
||||
However, parties who have received copies, or rights, from you under
|
||||
this License will not have their licenses terminated so long as such
|
||||
parties remain in full compliance.
|
||||
|
||||
5. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Program or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Program (or any work based on the
|
||||
Program), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Program or works based on it.
|
||||
|
||||
6. Each time you redistribute the Program (or any work based on the
|
||||
Program), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute or modify the Program subject to
|
||||
these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties to
|
||||
this License.
|
||||
|
||||
7. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Program at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Program by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Program.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under
|
||||
any particular circumstance, the balance of the section is intended to
|
||||
apply and the section as a whole is intended to apply in other
|
||||
circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system, which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
8. If the distribution and/or use of the Program is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Program under this License
|
||||
may add an explicit geographical distribution limitation excluding
|
||||
those countries, so that distribution is permitted only in or among
|
||||
countries not thus excluded. In such case, this License incorporates
|
||||
the limitation as if written in the body of this License.
|
||||
|
||||
9. The Free Software Foundation may publish revised and/or new versions
|
||||
of the General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Program
|
||||
specifies a version number of this License which applies to it and "any
|
||||
later version", you have the option of following the terms and conditions
|
||||
either of that version or of any later version published by the Free
|
||||
Software Foundation. If the Program does not specify a version number of
|
||||
this License, you may choose any version ever published by the Free Software
|
||||
Foundation.
|
||||
|
||||
10. If you wish to incorporate parts of the Program into other free
|
||||
programs whose distribution conditions are different, write to the author
|
||||
to ask for permission. For software which is copyrighted by the Free
|
||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||
make exceptions for this. Our decision will be guided by the two goals
|
||||
of preserving the free status of all derivatives of our free software and
|
||||
of promoting the sharing and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||
REPAIR OR CORRECTION.
|
||||
|
||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
convey the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program is interactive, make it output a short notice like this
|
||||
when it starts in an interactive mode:
|
||||
|
||||
Gnomovision version 69, Copyright (C) year name of author
|
||||
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, the commands you use may
|
||||
be called something other than `show w' and `show c'; they could even be
|
||||
mouse-clicks or menu items--whatever suits your program.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||
|
||||
<signature of Ty Coon>, 1 April 1989
|
||||
Ty Coon, President of Vice
|
||||
|
||||
This General Public License does not permit incorporating your program into
|
||||
proprietary programs. If your program is a subroutine library, you may
|
||||
consider it more useful to permit linking proprietary applications with the
|
||||
library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License.
|
||||
509
wp-content/plugins/popups/README.txt
Normal file
509
wp-content/plugins/popups/README.txt
Normal file
@@ -0,0 +1,509 @@
|
||||
=== Popups - WordPress Popup ===
|
||||
Contributors: timersys
|
||||
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=K4T6L69EV9G2Q
|
||||
Tags: popup,twitter,google+,facebook,Popups,twitter follow,facebook like,mailchimp,Activecampaign,Mailpoet,Postmatic,Infusionsoft,mailerlite,constant contact,aweber,google plus,social boost,social splash,postmatic,mailpoet,facebook popup,scroll popups,popups,wordpress popup,wp popups,cf7,gf,gravity forms,contact form 7,ifs,infusion soft,subscribe,login popup,ajax login popups,popupmaker
|
||||
Requires at least: 3.6
|
||||
Tested up to: 5.3
|
||||
Stable tag: 1.9.3.8
|
||||
Requires PHP: 5.3
|
||||
Text Domain: popups
|
||||
License: GPLv2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
Popups plugin is now discontinued in favor of the most powerful and intuitive popup maker plugin for WordPress.
|
||||
|
||||
== Description ==
|
||||
|
||||
Popups plugin is now discontinued in favor of [WP Popups](https://wordpress.org/plugins/wp-popups-lite), the most powerful and intuitive popup maker plugin for WordPress.
|
||||
|
||||
= WP Popups =
|
||||
|
||||
https://www.youtube.com/embed/_yJ-xHVOQYw
|
||||
|
||||
Download [WP Popups](https://wordpress.org/plugins/wp-popups-lite) Now! or [check all the premium features](https://wppopups.com/features/)
|
||||
|
||||
|
||||
== Installation ==
|
||||
|
||||
1. Unzip and Upload the directory 'social-popup' to the '/wp-content/plugins/' directory
|
||||
|
||||
2. Activate the plugin through the 'Plugins' menu in WordPress
|
||||
|
||||
3. Go to Popups menu and add as many popups as needed
|
||||
|
||||
== Screenshots ==
|
||||
|
||||
1. Popups Front end with default settings
|
||||
2. Popups Back end - visual editor
|
||||
3. Popups Back end - display rules and options
|
||||
4. Popups Back end - appearance
|
||||
|
||||
== Frequently Asked Questions ==
|
||||
|
||||
= How to open a popup by pressing a link or button ? =
|
||||
Check the following gist (https://gist.github.com/timersys/d68690a85aed14a02318)
|
||||
|
||||
= How can I include a custom link inside of the popup ? =
|
||||
By default any link you enter will be used as a conversion link. By that we mean that if the link is clicked the popup will be closed as the user already performed the desired action.
|
||||
To avoid that you can add the class attribute .spu-not-close to the link
|
||||
|
||||
= Popups plugin is compatible with Gravity Forms ? =
|
||||
Yes, you need to configure your form to use ajax when inserting it
|
||||
|
||||
= Popups plugin is compatible with Ninja Forms ? =
|
||||
Yes, you need to configure your form to use ajax. Go to the setting of the created form and enable AJAX. Then you need to disable AJAX on popups settings page.
|
||||
|
||||
= Mailchimp4wp form it's compatible? =
|
||||
Yes, you need to disable AJAX on popups settings page
|
||||
|
||||
= Jetpack form it's compatible? =
|
||||
Yes, you need to disable AJAX on popups settings page
|
||||
|
||||
= Popups plugin is compatible with USP Forms ? =
|
||||
Yes, you need to add to the usp form shortcode the class spu-disable-ajax like : [usp_form class="spu-disable-ajax"]
|
||||
|
||||
= How can I change other styles of the popup like padding, rounded corners, etc ? =
|
||||
You can modify everything with css. If your popup id is 120 you can add some css like for example:
|
||||
`#spu-120{ ---your css here--- }`
|
||||
|
||||
= Can I give other roles permissions to edit popups ? =
|
||||
You need to add [this code](https://gist.github.com/timersys/03067ac7594fdce288ca) to your functions.php
|
||||
|
||||
= If I have multiple Gravity forms on my page, form is not working =
|
||||
On certain occasions multiple GF instances can cause problems. There is a plugin that fixes that https://wordpress.org/plugins/gravity-forms-multiple-form-instances/
|
||||
|
||||
= How to make Popups plugin compatible with Maxbuttons Plugin (https://es.wordpress.org/plugins/maxbuttons/) =
|
||||
Check the following gists ( https://gist.github.com/timersys/e3648ba93955ddef4087 )
|
||||
|
||||
= Can I attach my custom js events to popups plugin? =
|
||||
Yes you can attach to any of this events . id = Popup id
|
||||
`jQuery(document).on('spu.box_close',function(e,id){ ... });
|
||||
jQuery(document).on('spu.box_open',function(e,id){ ... });
|
||||
jQuery(document).on('spu.form_submitted',function(e,id){ ... });`
|
||||
|
||||
= How to edit the content of my popup only on certain pages ? =
|
||||
You can filter the content by using the [following function](https://gist.github.com/timersys/d3c34d736fd3188f1293)
|
||||
|
||||
= Can I remove js for Facebook, Twitter or Google if I already loaded mine? =
|
||||
Yes you can remove them in the settings page of the plugin
|
||||
|
||||
= Popup is not showing, why ? =
|
||||
Check your page source code. At the bottom of your page search for an html comment that looks something like :
|
||||
|
||||
`<!-- Popups v1.1 - http://wordpress.org/plugins/social-popup/-->`
|
||||
If you see that comment, then the error is probably a javascript error. Check your browser console for problems.
|
||||
|
||||
If you are not seeing that code instead, the problem is that one of the display rules you configured is preventing it to show. Double check your display rules.
|
||||
|
||||
If you have cache be sure to enable AJAX mode in the plugin settings page
|
||||
|
||||
== Changelog ==
|
||||
|
||||
= 1.9.3.8 =
|
||||
* Discontinued for WP Popups
|
||||
|
||||
= 1.9.3.7 =
|
||||
* Cookies in days/hours
|
||||
* Fix popup showing in search results
|
||||
* Fixed issue to make it compatible with WP3.6
|
||||
* Fixed iframes to work not only with youtube/vimeo
|
||||
|
||||
= 1.9.3.6 =
|
||||
* Disable Gutenberg entirely for popups premium full support
|
||||
* Added slovak language
|
||||
|
||||
= 1.9.3.5 =
|
||||
* Gutenberg support
|
||||
* Minor bugfixes
|
||||
|
||||
= 1.9.3.4 =
|
||||
* Update for new contact form 7
|
||||
|
||||
= 1.9.3.3 =
|
||||
* Fixed page/post parent rule issue
|
||||
* More forms compatibility
|
||||
|
||||
= 1.9.3.2 =
|
||||
* Ninja forms fix
|
||||
* Added new display rule "custom url"
|
||||
* Added new display rule "keyword in url"
|
||||
* Basic css removed to make it more compatible with themes
|
||||
|
||||
= 1.9.3.1 =
|
||||
* Fixed security vulnerability. Thanks DefenseCode and their ThunderScan tool
|
||||
|
||||
= 1.9.3 =
|
||||
* New Bottom and top bar positions
|
||||
* New conversion and close button
|
||||
* Improved posts display rules for sites with thousands of posts
|
||||
* Javascript new resize method
|
||||
|
||||
= 1.9.2 =
|
||||
* Added support for Visual Form Builder
|
||||
* Added cookie name support, so users can reset cookies for popups
|
||||
* Fix for woocommerce follow up emails
|
||||
* Fix for popup showing for a milisecond on certain themes
|
||||
* updated ID rule to accept multiple values
|
||||
* Added vimeo, youtube auto play support
|
||||
* Removed debug mode and safe mode, to make it less complicate
|
||||
|
||||
= 1.9.1.1 =
|
||||
* Hotfix for draft popups showing
|
||||
= 1.9.1 =
|
||||
* Added ninja forms 3 compatibility (thanks https://github.com/cr0ybot)
|
||||
* Fixed compatibility with latest WPML version
|
||||
* Fixed preview mode when post is draft
|
||||
* Fixed issue with gravity forms and language sites
|
||||
|
||||
= 1.9.0.1 =
|
||||
* Fixed problem with popup being removed on close
|
||||
|
||||
= 1.9 =
|
||||
* Added German language
|
||||
* Fixed messages not showing for mailchinp for wordpress
|
||||
* Fixed preview mode with ajax mode turned on
|
||||
* Fixed browser rule
|
||||
* Fixed taxonomies archives rule
|
||||
* Improved performance with rules
|
||||
* Youtube/vimeo videos are automatically removed when popup it's closed
|
||||
* Updated CF7 events
|
||||
|
||||
= 1.8 =
|
||||
* Redesigned popups admin pages
|
||||
* Added lot of new appearance options
|
||||
* New rule to match browsers
|
||||
* Added popups preview
|
||||
* Removed freemius
|
||||
|
||||
= 1.7.3 =
|
||||
* Improved how post id is detected
|
||||
* Rule match category also check on category pages now
|
||||
* Updated freemius library
|
||||
* Polylang plugin support
|
||||
* Added special classes for not closig the popup when clicked
|
||||
= 1.7.2 =
|
||||
* Added french language
|
||||
* Query string rule is wide match now
|
||||
* New trigger method , X amount of pixels
|
||||
|
||||
|
||||
= 1.7.1.1 =
|
||||
* Added freemius insights
|
||||
* Changed some assets
|
||||
|
||||
= 1.7.1 =
|
||||
* Added new google+ version
|
||||
* Added fractional time support for cookies
|
||||
* Removed session start that was causing issues with varnish cache
|
||||
* Fixed problem with shortcode popup
|
||||
* Fixed takeover popup bug
|
||||
* Fixed bug with referral not working fine on certian urls
|
||||
* Fixed undefined errors php warnings
|
||||
* Fixed incompatibility with underscores library
|
||||
|
||||
|
||||
= 1.7.0.1 =
|
||||
* Left some debug code on previous release that can cause issues
|
||||
|
||||
= 1.7 =
|
||||
* Fixed referrer issue
|
||||
* Added popup button to easily add popups on posts/pages
|
||||
|
||||
= 1.6.0.1 =
|
||||
* Fixed bug with manual triggering popup making all page cursor pointer
|
||||
|
||||
= 1.6 =
|
||||
* Fixed unistall routine that was not deleting data
|
||||
* Update mobile detect class
|
||||
* Added crawlers detect class
|
||||
* Added crawlers/bot display rule
|
||||
* Added query string display rule
|
||||
* Added new cookie field to distinguish between conversion and impression
|
||||
* Fixed jquery attached events not firing
|
||||
* Improved queries
|
||||
|
||||
= 1.5.1 =
|
||||
* Fixed grey screen of death that happened to some users. Sorry guys :(
|
||||
|
||||
= 1.5 =
|
||||
* Added new rule to match Desktop devices
|
||||
* Added custom CSS box for popups
|
||||
* Added trigger class so popups can be triggered by applying that class to any element
|
||||
* Changed styling on rules
|
||||
* Fixed mc4wp ajax submission
|
||||
* PHP Undefined notices fixes
|
||||
|
||||
= 1.4.6.1 =
|
||||
* Fixed bug where manual trigger was not saving properly
|
||||
* Fixed bug that was preventing social shortcodes to display properly
|
||||
|
||||
= 1.4.6 =
|
||||
* Added manual trigger option on display options
|
||||
* Fixed bug with session check
|
||||
* Fixed bug with border when no color was choosen
|
||||
* Now operators can be modified upon rules
|
||||
* Changes for premium version
|
||||
|
||||
= 1.4.5.1 =
|
||||
* Missing commit that only affect premium version
|
||||
|
||||
= 1.4.5 =
|
||||
* Fixed undefined js error
|
||||
* Fixed redeclared class error for Mobile Detect class
|
||||
* Several css and text fixes. Pull request by lucpse
|
||||
* Added switch ON/OFF button for popups
|
||||
* Removed unnedded buttons / action from admin
|
||||
* Custom status now show in display rules
|
||||
|
||||
= 1.4.4 =
|
||||
* Added WpGlobus Support
|
||||
* Added new rule for search pages
|
||||
* Fixed db error with wpml plugin
|
||||
* Added support for Newsletter plugin
|
||||
* Rearranged appearence into a new box
|
||||
* Ninja forms small fix
|
||||
* Fixed support link in backend
|
||||
|
||||
= 1.4.3.1 =
|
||||
* Removed "powered by" by default.
|
||||
|
||||
= 1.4.3 =
|
||||
|
||||
* Fixed bug with close on conversion and social networks
|
||||
* Css Fixes
|
||||
|
||||
= 1.4.2 =
|
||||
|
||||
* Added Facebook Login plugin support
|
||||
* Minor code edits for premium version
|
||||
* Fixed bug with Mailchimp for Wordpress plugin [mc4wp_form]
|
||||
* Popup fires later for better shortcodes support
|
||||
* Updates in language packs
|
||||
* Now users can have custom links inside of popup that does not count as conversion (read faq)
|
||||
|
||||
= 1.4.1 =
|
||||
|
||||
* Now you can delete all data on uninstall
|
||||
* Now tags can be used as display rule ( In taxonomy)
|
||||
* Any link inside popup is treated as custom conversion
|
||||
* Added support for USP Forms
|
||||
* Fixed bug when removing styles
|
||||
* Fixed bug when settings were not being saved on certain occassions
|
||||
* Fixed bug with manually triggered popups
|
||||
* Lang files updates
|
||||
|
||||
= 1.3.4 =
|
||||
|
||||
* Added support for usp forms
|
||||
* Added option to delete all data after uninstall
|
||||
* Now you can target popups by posts tags using taxonomy rule
|
||||
* Any link you place inside popup is treatead as conversion when clicked
|
||||
* Update popups admin screen
|
||||
* Fixed bug with ninja forms
|
||||
* Fixed bug with manually triggered popups
|
||||
* Fixed several other bugs ( js events, settings not saving, etc)
|
||||
* Updated FAQ and readme
|
||||
|
||||
= 1.3.3 =
|
||||
|
||||
* Updated languages and added transifex
|
||||
* Updated FAQ
|
||||
* Fixed bug with facebook page
|
||||
* Removed plugin version from facebook url to avoid some errors
|
||||
* Fixed call popups with custom links
|
||||
* Fixed bug when automatic shortcode style is disabled
|
||||
* Improved code so other plugins can create custom rules fields
|
||||
|
||||
|
||||
= 1.3.2.2 =
|
||||
* new Facebook page js was not being loaded if you didn't have another popup with fb shortcode
|
||||
|
||||
= 1.3.2.1 =
|
||||
* Comit failed and minified file wasn't uploaded
|
||||
|
||||
= 1.3.2 =
|
||||
* Added support for postmatic forms
|
||||
* Fixed Centering of shortcodes
|
||||
* Added new facebook page shortcode
|
||||
|
||||
= 1.3.1.2 =
|
||||
* Hotfix with problems in ajax mode. Sorry :)
|
||||
* Added Imagesloaded library
|
||||
|
||||
= 1.3.1.1 =
|
||||
* Plugin now disabled ajax on forms that are not compatible with it
|
||||
* Added some visuals on backend
|
||||
* Code changes for premium version
|
||||
* Fixed bug when multiple images are use in a post
|
||||
|
||||
= 1.3.1 =
|
||||
* Fixed bug popup not closing when using conversion close option
|
||||
* Changed ajax mode to be on by default
|
||||
|
||||
= 1.3.0.3 =
|
||||
* Social providers not loading on https sites
|
||||
* Fixed bug preventing popups to show on non ajax mode
|
||||
|
||||
= 1.3.0.2 =
|
||||
* Fixed bug preventing to save settings
|
||||
* Fixed bug with popups not closing
|
||||
|
||||
= 1.3.0.1 =
|
||||
|
||||
* New editor style only show on popups now
|
||||
* Fixed bug with optin in premium version
|
||||
|
||||
= 1.3 =
|
||||
|
||||
* Added new option to keep popup open on conversion
|
||||
* Added spanish language
|
||||
* Added "powered by" link with affiliate support
|
||||
* Improved popups style in admin area
|
||||
* User can now remove ajax from generic form by added .spu-disable-ajax class
|
||||
* Fixed bug when not using social shortcodes
|
||||
* Updated core to work with latest premium version
|
||||
|
||||
= 1.2.3.5 =
|
||||
|
||||
* Added IFS (infusion soft) support
|
||||
* Added display rule - Post ID
|
||||
* Added display rule - Categories / Archives
|
||||
* Now both version are shown if you use premium
|
||||
|
||||
= 1.2.3.4 =
|
||||
|
||||
* Added referrer display rule
|
||||
* Fixed spuvar_social undefined when not using wordpress jquery
|
||||
* Fixed wpml support in ajax mode
|
||||
* Added trigger events in javascript so devs can hook in
|
||||
* Added geotargeting support in popups using [Geotargeting plugin](https://timersys.com/geotargeting/)
|
||||
* Fixed undefined variable in admin
|
||||
|
||||
= 1.2.3.3 =
|
||||
|
||||
* Added Serbo-Croatian language
|
||||
* Removed track function from premium plugin that was causing error on form submission
|
||||
* Fixed error that was preventing form submission in ajax mode
|
||||
|
||||
= 1.2.3.2 =
|
||||
|
||||
* Improved popup center
|
||||
* Improved popup in mobile for different effects / positions / popup sizes
|
||||
* WPML compatibility ( Sitepress Multilanguage )
|
||||
* Fixed javascript error preventing some basics functions as closing popup on fb like
|
||||
|
||||
|
||||
= 1.2.3.1 =
|
||||
|
||||
* Hotfix- Bug with ajax mode & testmode preventing plugin to work. Please update
|
||||
|
||||
= 1.2.3 =
|
||||
|
||||
* Added Ajax mode in settings page to make popups compatible with cache plugins
|
||||
* Added a close button shortcode
|
||||
* Fixed bug with settings page
|
||||
* Fixed bug detecting triggered clicks on iphone 6
|
||||
* Some other minor bugfixes
|
||||
|
||||
= 1.2.2.2 =
|
||||
|
||||
* Improved and fixed generic form compatiblity and m4wp
|
||||
|
||||
= 1.2.2.1 =
|
||||
|
||||
* Fixed bug when images where used on popup
|
||||
* Fixed bug with size of popup not working fine
|
||||
|
||||
= 1.2.2 =
|
||||
|
||||
* Fixed compability with events calendar
|
||||
* Fixed compability with [mc4wp] (Mail chimp for WordPress)
|
||||
* Fixed bug with popup auto dissapearing by programatically clicks of themes/plugins
|
||||
* Fixed popup in mobile to let users scroll it
|
||||
* Fixed bug with contact form 7 plugin support
|
||||
* Small bugfixes
|
||||
|
||||
= 1.2.1 =
|
||||
|
||||
* Added support for Contact Form 7, Gravity Forms and most of other generic forms
|
||||
* Added function to close popup when user actually follow/like
|
||||
* Fixed undefined notices
|
||||
|
||||
|
||||
|
||||
= 1.2 =
|
||||
|
||||
* Fixed permissions to edit popups settings
|
||||
* Update Mobile detect class
|
||||
* Added safe mode
|
||||
* Added js to fix facebook width bug "failed to resize in 45s"
|
||||
* Added qTranslate support
|
||||
* Fixed bug when disabling shortcodes js in settings page
|
||||
* General js fixes
|
||||
|
||||
= 1.1.1 =
|
||||
|
||||
* Sorry!! fixed bug in settings page and js file
|
||||
|
||||
= 1.1 =
|
||||
|
||||
* Added settings page
|
||||
* Added option to disable auto style of shortcodes
|
||||
* Plugin compatible with Popups Premium
|
||||
* Minor bugfixes
|
||||
* Js improvement
|
||||
|
||||
|
||||
= 1.0.7 =
|
||||
|
||||
* Fixed bug with alignment in mobile devices
|
||||
* Fixed bug in new aligning method for shortcodes
|
||||
|
||||
= 1.0.6 =
|
||||
|
||||
* Fixed locale problem with facebook js
|
||||
* Fixed lang setting for Twitter Shortcode
|
||||
* Removed text attribute of Twitter Shortcode because is not longer supported by Twitter
|
||||
* Changed method for aligning shortcodes for better compatibility
|
||||
|
||||
|
||||
= 1.0.5 =
|
||||
|
||||
* Changed to only admins users can edit/create popups
|
||||
* Fixed error that facebook layout were not working properly
|
||||
* Added the ability to remove JS from facebook, twitter, and google by using variables
|
||||
|
||||
= 1.0.4 =
|
||||
|
||||
* Fixed bug that cookies where not set when user closes the box by clicking outside or with ESC key
|
||||
|
||||
= 1.0.3 =
|
||||
|
||||
* Fixed bug with popup on mobiles devices
|
||||
* Css fixed for better alignment of social networks
|
||||
* Added filters and actions for a future premium version of the plugin
|
||||
|
||||
= 1.0.2 =
|
||||
|
||||
* Added checks for shortcode values to avoid problems
|
||||
* Changed style of Popup shortcodes help box to avoid problems
|
||||
* Now popups can be closed with esc and clicking outside of the boxes
|
||||
* Fixed the delete rule button that was missing
|
||||
* Fixed Javascript error when editing popups
|
||||
|
||||
= 1.0.1 =
|
||||
|
||||
* Fixed mobile/tablets display rule and splitted in two new rules
|
||||
* Changed cookie script to a small one
|
||||
* Now public js is server minified
|
||||
* Removed min-width from the popup
|
||||
|
||||
= 1.0.0 =
|
||||
|
||||
* Recoded from scratch. This is a totally new plugin
|
||||
* Multiple popups are available now handled with custom post types
|
||||
|
||||
== Upgrade Notice ==
|
||||
|
||||
= 1.9.3.1 =
|
||||
This version fixes a security related bug. Upgrade immediately.
|
||||
747
wp-content/plugins/popups/admin/assets/css/admin.css
Normal file
747
wp-content/plugins/popups/admin/assets/css/admin.css
Normal file
@@ -0,0 +1,747 @@
|
||||
/* This stylesheet is used to style the admin option form of the plugin. */
|
||||
/*----------
|
||||
Alerts
|
||||
---------------*/
|
||||
.alert-premium {
|
||||
border: 4px solid #dd3d36;
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
margin: 15px;
|
||||
}
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
Tables
|
||||
---------------------------------------------------------------------------------------------*/
|
||||
#spu-rules > .inside {
|
||||
padding: 0;
|
||||
}
|
||||
table.spu_table {
|
||||
border: 0 none;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
table.spu_table tbody tr td {
|
||||
padding: 13px 15px;
|
||||
border-top: 1px solid #f5f5f5;
|
||||
border-bottom: 0 none;
|
||||
}
|
||||
|
||||
table.spu_table tbody tr td.label {
|
||||
width: 24%;
|
||||
vertical-align: top;
|
||||
background: #F9F9F9;
|
||||
border-top: 1px solid #f0f0f0;
|
||||
border-right: 1px solid #E1E1E1;
|
||||
}
|
||||
|
||||
table.spu_table > tbody > tr:first-child > td,
|
||||
table.spu_table > tbody > tr:first-child > td.label {
|
||||
border-top: 0 none;
|
||||
}
|
||||
|
||||
table.spu_table td.label ul.hl {
|
||||
margin: 20px 0 0;
|
||||
}
|
||||
table.spu_table td.label ul.hl li {
|
||||
margin: 0 3px 0 0;
|
||||
|
||||
}
|
||||
|
||||
table.spu_table td.label ul.hl li a.spu-button {
|
||||
font-size: 12px;
|
||||
padding: 6px 10px;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
table.spu_table tbody tr td.label label {
|
||||
display: block;
|
||||
font-size: 13px;
|
||||
line-height: 1.4em;
|
||||
font-weight: bold;
|
||||
padding: 0;
|
||||
margin: 0 0 3px;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
table.spu_table tbody tr td.label label span.required {
|
||||
color: #f00;
|
||||
display: inline;
|
||||
margin-left: 3px;
|
||||
}
|
||||
|
||||
|
||||
table.spu_table tbody tr td.label p {
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
line-height: 1.4em;
|
||||
padding: 0 !important;
|
||||
margin: 3px 0 0 !important;
|
||||
font-style: normal;
|
||||
line-height: 16px;
|
||||
color: #899194;
|
||||
}
|
||||
|
||||
table.spu_table input[type="text"],
|
||||
table.spu_table input[type="number"],
|
||||
table.spu_table textarea,
|
||||
table.spu_table select{
|
||||
width: 99.95%;
|
||||
padding: 3px 5px;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
table.spu_table select {
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
table.spu_table select option {
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
table.spu_table input[type="text"]:focus,
|
||||
table.spu_table textarea:focus,
|
||||
table.spu_table select:focus {
|
||||
border-color:#98B6CB;
|
||||
}
|
||||
#spu-options .no-top-margin{
|
||||
margin-top:0 !important;
|
||||
}
|
||||
|
||||
#spu-options .wp-picker-clear, #spu-options div.wp-picker-holder, #spu-options .wp-picker-input-wrap {
|
||||
background:white;
|
||||
z-index: 999 !important;
|
||||
position: absolute !important;
|
||||
}
|
||||
.spu-label {
|
||||
display: block;
|
||||
font-weight: bold;
|
||||
margin-bottom: 6px;
|
||||
cursor: default;
|
||||
}
|
||||
#spu-options .wp-picker-container{ white-space: nowrap; }
|
||||
input#spu-width {
|
||||
width: 90px;
|
||||
}
|
||||
|
||||
h3.spu-title {
|
||||
border-bottom: 1px solid #ccc;
|
||||
font-size: 18px !important;
|
||||
}
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
*
|
||||
* Rules
|
||||
*
|
||||
*---------------------------------------------------------------------------------------------*/
|
||||
|
||||
#spu-rules .inside {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#spu-rules .rules-groups {
|
||||
padding: 5px 0;
|
||||
}
|
||||
|
||||
#spu-rules h4 {
|
||||
margin: 15px 0 5px;
|
||||
}
|
||||
|
||||
#spu-rules .rules-group {
|
||||
margin: 0 0 15px;
|
||||
}
|
||||
|
||||
#spu-rules .rules-group h4 {
|
||||
margin: 0 0 3px;;
|
||||
}
|
||||
|
||||
#spu-rules .rules-group table.spu_table tbody tr td {
|
||||
padding: 4px;
|
||||
border: 0 none;
|
||||
}
|
||||
|
||||
#spu-rules .rules-group td.param {
|
||||
width: 40%;
|
||||
}
|
||||
|
||||
#spu-rules .rules-group td.operator {
|
||||
width: 20%;
|
||||
}
|
||||
|
||||
#spu-rules .rules-group td.add {
|
||||
width: 40px;
|
||||
}
|
||||
|
||||
#spu-rules .rules-group td.remove {
|
||||
width: 18px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
#spu-rules .rules-group tr .rules-remove-rule {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#spu-rules .rules-group tr:hover .rules-remove-rule {
|
||||
display: block;
|
||||
padding: 0 7px;
|
||||
font-weight: bold;
|
||||
font-size: 16px;
|
||||
border-radius: 50%;
|
||||
-moz-border-radius: 50%;
|
||||
-webkit-border-radius: 50%;
|
||||
box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
#spu-rules .rules-group .rules-remove-rule:hover {
|
||||
color: red;
|
||||
}
|
||||
/**
|
||||
* Other Rules
|
||||
*/
|
||||
.spu-loading{
|
||||
height: 16px;
|
||||
margin: 10px auto;
|
||||
padding: 6px;
|
||||
width: 16px;
|
||||
}
|
||||
div#spu-premium {
|
||||
border: 2px solid #999;
|
||||
box-shadow: 7px 11px 13px -3px #ccc;
|
||||
}
|
||||
div#spu-premium li{
|
||||
list-style: square;
|
||||
margin-left: 30px;
|
||||
}
|
||||
/* Don't allow user to delete the first field group */
|
||||
#spu-rules .rules-group:first-child tr:first-child:hover .rules-remove-rule {
|
||||
display: none;
|
||||
}
|
||||
#spu-options p.help {
|
||||
font-weight: normal;
|
||||
font-size: .9em !important;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'spufont';
|
||||
src:url('../../../public/assets/fonts/spufont.eot?xaknv7');
|
||||
src:url('../../../public/assets/fonts/spufont.eot?#iefixxaknv7') format('embedded-opentype'),
|
||||
url('../../../public/assets/fonts/spufont.woff?xaknv7') format('woff'),
|
||||
url('../../../public/assets/fonts/spufont.ttf?xaknv7') format('truetype'),
|
||||
url('../../../public/assets/fonts/spufont.svg?xaknv7#spufont') format('svg');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
[class^="spu-icon-"], [class*=" spu-icon-"] {
|
||||
font-family: 'spufont';
|
||||
speak: none;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-variant: normal;
|
||||
text-transform: none;
|
||||
line-height: 1;
|
||||
padding-right: 5px;
|
||||
|
||||
/* Better Font Rendering =========== */
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.spu-icon-envelope:before {
|
||||
content: "\f003";
|
||||
}
|
||||
.spu-icon-check:before {
|
||||
content: "\f00c";
|
||||
}
|
||||
.spu-icon-close:before {
|
||||
content: "\f00d";
|
||||
}
|
||||
.spu-icon-eye:before {
|
||||
content: "\f06e";
|
||||
}
|
||||
.spu-icon-gears:before {
|
||||
content: "\f085";
|
||||
}
|
||||
.spu-icon-magic:before {
|
||||
content: "\f0d0";
|
||||
}
|
||||
.spu-icon-angle-up:before {
|
||||
content: "\f106";
|
||||
}
|
||||
.spu-icon-angle-down:before {
|
||||
content: "\f107";
|
||||
}
|
||||
.spu-icon-toggle-off:before {
|
||||
content: "\f204";
|
||||
}
|
||||
.spu-icon-toggle-on:before {
|
||||
content: "\f205";
|
||||
}
|
||||
.spu-icon-info:before {
|
||||
content: "\ea0c";
|
||||
}
|
||||
.spu-icon-spinner:before {
|
||||
content: "\f110";
|
||||
animation: spu-rotate 1s infinite linear;
|
||||
-webkit-animation: spu-rotate 1s infinite linear;
|
||||
-o-animation: spu-rotate 1s infinite linear;
|
||||
-moz-animation: spu-rotate 1s infinite linear;
|
||||
}
|
||||
h3 .spu-icon {
|
||||
margin-right: 7px;
|
||||
}
|
||||
@keyframes spu-rotate {
|
||||
0% {
|
||||
transform: rotate(0deg);
|
||||
opacity: 1;
|
||||
}
|
||||
50% {
|
||||
opacity: .7;
|
||||
}
|
||||
100% {
|
||||
transform: rotate(359deg);
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
th#spu_switch{
|
||||
width: 70px;
|
||||
text-align: center;
|
||||
}
|
||||
td.spu_switch{
|
||||
text-align: center;
|
||||
}
|
||||
.spu_switch a {
|
||||
font-size: 2em;
|
||||
}
|
||||
.spu_switch a i.spu-icon-toggle-off {
|
||||
color: #999;
|
||||
}
|
||||
.spu_switch a i.spu-icon-toggle-on {
|
||||
color: forestgreen;
|
||||
}
|
||||
.post-type-spucpt div#preview-action {
|
||||
display: none;
|
||||
}
|
||||
h4.rules-or {
|
||||
border-top: 2px dashed #ddd;
|
||||
line-height: 1;
|
||||
text-align: center;
|
||||
}
|
||||
h4.rules-or span{
|
||||
background: #ffffff;
|
||||
position: relative;
|
||||
top: -8px;
|
||||
padding: 2px 10px;
|
||||
}
|
||||
|
||||
.spu-admin-options h3{
|
||||
border-bottom: 1px solid #555;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
.spu-setting-box {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
span.spu-help {
|
||||
font-size: 12px;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
|
||||
#wppopups-welcome {
|
||||
border-top: 3px solid #0073aa;
|
||||
color: #555;
|
||||
padding-top: 110px;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
#wppopups-welcome {
|
||||
padding-top: 64px;
|
||||
}
|
||||
}
|
||||
|
||||
#wppopups-welcome *,
|
||||
#wppopups-welcome *::before,
|
||||
#wppopups-welcome *::after {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
#wppopups-welcome .container {
|
||||
margin: 0 auto;
|
||||
max-width: 720px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#wppopups-welcome .block {
|
||||
padding: 40px;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
#wppopups-welcome .block {
|
||||
padding: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
#wppopups-welcome img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
width: 135px;
|
||||
}
|
||||
.upgrade-welcome-cta{display: flex; align-items: center;}
|
||||
a.play-video {
|
||||
background: url(../images/video-bg.jpg) no-repeat center center;
|
||||
display: block;
|
||||
padding: 80px;
|
||||
border: 2px solid #ccc;
|
||||
margin: 10px;
|
||||
background-size: cover;
|
||||
}
|
||||
a.play-video img{
|
||||
transition: all 100ms ease-in;
|
||||
}
|
||||
a.play-video:hover img{
|
||||
opacity: .8;
|
||||
}
|
||||
#wppopups-welcome h1 {
|
||||
color: #222;
|
||||
font-size: 24px;
|
||||
text-align: center;
|
||||
margin: 0 0 16px 0;
|
||||
}
|
||||
|
||||
#wppopups-welcome h5 {
|
||||
color: #222;
|
||||
font-size: 16px;
|
||||
margin: 0 0 8px 0;
|
||||
}
|
||||
|
||||
#wppopups-welcome h6 {
|
||||
font-size: 16px;
|
||||
font-weight: 400;
|
||||
line-height: 1.6;
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#wppopups-welcome p {
|
||||
font-size: 14px;
|
||||
margin: 0 0 20px 0;
|
||||
}
|
||||
|
||||
#wppopups-welcome .button-wrap {
|
||||
max-width: 590px;
|
||||
margin: 0 auto 0 auto;
|
||||
}
|
||||
|
||||
#wppopups-welcome .button-wrap .left {
|
||||
float: left;
|
||||
width: 50%;
|
||||
padding-right: 20px;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
#wppopups-welcome .button-wrap .left {
|
||||
float: none;
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
#wppopups-welcome .button-wrap .right {
|
||||
float: right;
|
||||
width: 50%;
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
#wppopups-welcome .button-wrap .right {
|
||||
float: none;
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
|
||||
#wppopups-welcome .intro {
|
||||
background-color: #fff;
|
||||
border: 2px solid #e1e1e1;
|
||||
border-radius: 2px;
|
||||
margin-bottom: 30px;
|
||||
position: relative;
|
||||
padding-top: 40px;
|
||||
}
|
||||
|
||||
#wppopups-welcome .intro .sullie {
|
||||
background-color: #fff;
|
||||
border: 2px solid #e1e1e1;
|
||||
border-radius: 50%;
|
||||
height: 110px;
|
||||
width: 110px;
|
||||
padding: 18px 14px 0 14px;
|
||||
position: absolute;
|
||||
top: -58px;
|
||||
left: 50%;
|
||||
margin-left: -55px;
|
||||
}
|
||||
|
||||
#wppopups-welcome .intro .video-thumbnail {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
#wppopups-welcome .intro .button-wrap {
|
||||
margin-top: 25px;
|
||||
}
|
||||
|
||||
#wppopups-welcome .features {
|
||||
background-color: #fff;
|
||||
border: 2px solid #e1e1e1;
|
||||
border-bottom: 0;
|
||||
border-radius: 2px 2px 0 0;
|
||||
position: relative;
|
||||
padding-top: 20px;
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
|
||||
#wppopups-welcome .features .feature-list {
|
||||
margin-top: 60px;
|
||||
}
|
||||
|
||||
#wppopups-welcome .features .feature-block {
|
||||
float: left;
|
||||
width: 50%;
|
||||
padding-bottom: 35px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
#wppopups-welcome .features .feature-block {
|
||||
float: none;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
#wppopups-welcome .features .feature-block.first {
|
||||
padding-right: 20px;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
#wppopups-welcome .features .feature-block.first {
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
#wppopups-welcome .features .feature-block.last {
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
#wppopups-welcome .features .feature-block.last {
|
||||
padding-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
#wppopups-welcome .features .feature-block img {
|
||||
float: left;
|
||||
max-width: 46px;
|
||||
}
|
||||
|
||||
#wppopups-welcome .features .feature-block h5 {
|
||||
margin-left: 68px;
|
||||
}
|
||||
|
||||
#wppopups-welcome .features .feature-block p {
|
||||
margin: 0;
|
||||
margin-left: 68px;
|
||||
}
|
||||
|
||||
#wppopups-welcome .features .button-wrap {
|
||||
margin-top: 25px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#wppopups-welcome .upgrade-cta {
|
||||
background-color: #000;
|
||||
border: 2px solid #e1e1e1;
|
||||
border-top: 0;
|
||||
border-bottom: 0;
|
||||
color: #fff;
|
||||
}
|
||||
a.wppopups-btn {
|
||||
background-color: #2273aa;
|
||||
border-radius: 3px;
|
||||
border: none;
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
font-weight: 700;
|
||||
letter-spacing: 2px;
|
||||
line-height: 1;
|
||||
padding: 16px 13px;
|
||||
text-align: center;
|
||||
text-transform: uppercase;
|
||||
width: auto;
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
}
|
||||
.wppopups-clear:before {
|
||||
content: " ";
|
||||
display: table;
|
||||
}
|
||||
|
||||
.wppopups-clear:after {
|
||||
clear: both;
|
||||
content: " ";
|
||||
display: table;
|
||||
}
|
||||
#wppopups-welcome .upgrade-cta h2 {
|
||||
color: #fff;
|
||||
font-size: 20px;
|
||||
margin: 0 0 30px 0;
|
||||
}
|
||||
|
||||
#wppopups-welcome .upgrade-cta ul {
|
||||
display: -ms-flex;
|
||||
display: -webkit-flex;
|
||||
display: flex;
|
||||
-webkit-flex-wrap: wrap;
|
||||
flex-wrap: wrap;
|
||||
font-size: 15px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#wppopups-welcome .upgrade-cta ul li {
|
||||
display: block;
|
||||
width: 50%;
|
||||
margin: 0 0 8px 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#wppopups-welcome .upgrade-cta ul li .dashicons {
|
||||
color: #2a9b39;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
#wppopups-welcome .upgrade-cta .left {
|
||||
float: left;
|
||||
width: 66.666666%;
|
||||
padding-right: 20px;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
#wppopups-welcome .upgrade-cta .left {
|
||||
float: none;
|
||||
width: 100%;
|
||||
padding-right: 0;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
#wppopups-welcome .upgrade-cta .right {
|
||||
float: right;
|
||||
width: 33.333333%;
|
||||
padding-left: 20px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
#wppopups-welcome .upgrade-cta .right {
|
||||
float: none;
|
||||
width: 100%;
|
||||
padding-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
#wppopups-welcome .upgrade-cta .right h2 {
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#wppopups-welcome .upgrade-cta .right h2 span {
|
||||
display: inline-block;
|
||||
border-bottom: 1px solid #555;
|
||||
padding: 0 15px 12px;
|
||||
}
|
||||
|
||||
#wppopups-welcome .upgrade-cta .right .price {
|
||||
padding: 26px 0;
|
||||
}
|
||||
|
||||
#wppopups-welcome .upgrade-cta .right .price .amount {
|
||||
font-size: 48px;
|
||||
font-weight: 600;
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
#wppopups-welcome .upgrade-cta .right .price .amount:before {
|
||||
content: '$';
|
||||
position: absolute;
|
||||
top: -8px;
|
||||
left: -16px;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
#wppopups-welcome .upgrade-cta .right .price .term {
|
||||
font-size: 12px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
#wppopups-welcome .testimonials {
|
||||
background-color: #fff;
|
||||
border: 2px solid #e1e1e1;
|
||||
border-top: 0;
|
||||
padding: 20px 0;
|
||||
}
|
||||
|
||||
#wppopups-welcome .testimonials .testimonial-block {
|
||||
margin: 50px 0 0 0;
|
||||
}
|
||||
|
||||
#wppopups-welcome .testimonials .testimonial-block img {
|
||||
border-radius: 50%;
|
||||
float: left;
|
||||
max-width: 100px;
|
||||
box-shadow: 0 0 18px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
#wppopups-welcome .testimonials .testimonial-block img {
|
||||
width: 65px;
|
||||
}
|
||||
}
|
||||
|
||||
#wppopups-welcome .testimonials .testimonial-block p {
|
||||
font-size: 14px;
|
||||
margin: 0 0 12px 140px;
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
#wppopups-welcome .testimonials .testimonial-block p {
|
||||
margin-left: 100px;
|
||||
}
|
||||
}
|
||||
|
||||
#wppopups-welcome .testimonials .testimonial-block p:last-of-type {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
#wppopups-welcome .footer {
|
||||
background-color: #f1f1f1;
|
||||
border: 2px solid #e1e1e1;
|
||||
border-top: 0;
|
||||
border-radius: 0 0 2px 2px;
|
||||
}
|
||||
|
||||
#wppopups-welcome.pro .features {
|
||||
border: 2px solid #e1e1e1;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
#wppopups-welcome.pro .upgrade,
|
||||
#wppopups-welcome.pro .footer {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#wppopups-welcome.pro .testimonials {
|
||||
border: 2px solid #e1e1e1;
|
||||
}
|
||||
62
wp-content/plugins/popups/admin/assets/css/editor-style.css
Normal file
62
wp-content/plugins/popups/admin/assets/css/editor-style.css
Normal file
@@ -0,0 +1,62 @@
|
||||
/**
|
||||
* Editor
|
||||
*/
|
||||
html{
|
||||
background: #9C9B9B;
|
||||
}
|
||||
body#tinymce.wp-editor{
|
||||
margin: 20px auto;
|
||||
}
|
||||
body#tinymce.wp-editor,
|
||||
body#tinymce.wp-editor * {
|
||||
box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
}
|
||||
body#tinymce.wp-editor{
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
/**
|
||||
* Top position
|
||||
*/
|
||||
body#tinymce.spu-optin-editor.spu-position-top-bar,
|
||||
body#tinymce.spu-position-top-bar {
|
||||
margin-top: 0 !important;
|
||||
border-top: none !important;
|
||||
}
|
||||
body#tinymce.spu-optin-editor.spu-position-top-bar,
|
||||
body#tinymce.spu-position-top-bar ,
|
||||
body#tinymce.spu-optin-editor.spu-position-bottom-bar,
|
||||
body#tinymce.spu-position-bottom-bar {
|
||||
padding-top: 10px !important;
|
||||
padding-bottom: 10px !important;
|
||||
width: 100% !important;
|
||||
border-left: none !important;
|
||||
border-right: none !important;
|
||||
border-radius: 0;
|
||||
}
|
||||
body#tinymce.spu-optin-editor.spu-position-bottom-bar,
|
||||
body#tinymce.spu-position-bottom-bar {
|
||||
margin-bottom: 0 !important;
|
||||
border-bottom: none !important;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
body#tinymce.spu-position-top-bar h1,
|
||||
body#tinymce.spu-position-top-bar h2,
|
||||
body#tinymce.spu-position-top-bar h3,
|
||||
body#tinymce.spu-position-top-bar h4,
|
||||
body#tinymce.spu-position-top-bar h5,
|
||||
body#tinymce.spu-position-top-bar h6,
|
||||
body#tinymce.spu-position-top-bar p,
|
||||
body#tinymce.spu-position-bottom-bar h1,
|
||||
body#tinymce.spu-position-bottom-bar h2,
|
||||
body#tinymce.spu-position-bottom-bar h3,
|
||||
body#tinymce.spu-position-bottom-bar h4,
|
||||
body#tinymce.spu-position-bottom-bar h5,
|
||||
body#tinymce.spu-position-bottom-bar h6,
|
||||
body#tinymce.spu-position-bottom-bar p{
|
||||
margin: 0;
|
||||
}
|
||||
1
wp-content/plugins/popups/admin/assets/css/index.php
Normal file
1
wp-content/plugins/popups/admin/assets/css/index.php
Normal file
@@ -0,0 +1 @@
|
||||
<?php // Silence is golden
|
||||
11
wp-content/plugins/popups/admin/assets/js/ace.js
Normal file
11
wp-content/plugins/popups/admin/assets/js/ace.js
Normal file
File diff suppressed because one or more lines are too long
362
wp-content/plugins/popups/admin/assets/js/admin.js
Normal file
362
wp-content/plugins/popups/admin/assets/js/admin.js
Normal file
@@ -0,0 +1,362 @@
|
||||
var spu = {
|
||||
// module
|
||||
rules : null
|
||||
};
|
||||
|
||||
SPU_ADMIN = (function ( $ ) {
|
||||
|
||||
var spu_editor = '';
|
||||
$(document).ready(function(){
|
||||
|
||||
spu.rules.init();
|
||||
var color_field = $('#spu-appearance input.spu-color-field'),
|
||||
spu_optin = $('#spu_optin');
|
||||
// Only run if there is no optin being used in premium version
|
||||
if( color_field.length && ( ! spu_optin.length || spu_optin.val() == '' ) ){
|
||||
color_field.wpColorPicker({ change: applyStyles, clear: applyStyles });
|
||||
}
|
||||
$("#spu-appearance input,#spu-appearance select").not(".spu-color-field").change(applyStyles);
|
||||
|
||||
//Toogle trigger boxes on init
|
||||
checkTriggerMethod( $("#spu_trigger").val() );
|
||||
|
||||
//Toogle trigger boxes on change
|
||||
$("#spu_trigger").change(function(){
|
||||
checkTriggerMethod( $(this).val() );
|
||||
})
|
||||
|
||||
/**
|
||||
* Updates on position change
|
||||
*/
|
||||
$('#spu_position').on('change', function(){
|
||||
var $editor = SPU_ADMIN.spu_editor,
|
||||
val = $(this).val();
|
||||
//update editor
|
||||
$editor.alterClass('spu-position-*', 'spu-position-'+ val )
|
||||
if( val == 'top-bar' || val == 'bottom-bar') {
|
||||
$editor.find('.spu-box-container *:not("p, .spu-fields-container, .spu-fields-container *")').remove();
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
/**
|
||||
* When tinyMcr loads
|
||||
*/
|
||||
function TinyMceOptin() {
|
||||
SPU_ADMIN.spu_editor = $("#content_ifr").contents().find('html #tinymce');
|
||||
|
||||
// add position class
|
||||
SPU_ADMIN.spu_editor.addClass(' spu-position-' + spu_js.opts.css.position).removeClass('wp-autoresize');
|
||||
applyStyles();
|
||||
}
|
||||
|
||||
function checkTriggerMethod( val ) {
|
||||
if( val == 'pixels' || val == 'percentage' || val == 'visible') {
|
||||
$('tr.auto_hide').fadeIn('fast');
|
||||
} else {
|
||||
$('tr.auto_hide').fadeOut('fast');
|
||||
}/*TODO I should fix premium so these values are not even considered here*/
|
||||
if( val == 'manual' || val == 'trigger-click' || val == 'visible' || val == 'exit-intent') {
|
||||
$('.spu-trigger-number').fadeOut('fast');
|
||||
} else {
|
||||
$('.spu-trigger-number').fadeIn('fast');
|
||||
}
|
||||
}
|
||||
|
||||
// functions
|
||||
function getPxValue($el, retval) {
|
||||
if($el.val()) {
|
||||
return parseInt($el.val());
|
||||
} else {
|
||||
return (retval !== undefined) ? retval + "px" : 0;
|
||||
}
|
||||
}
|
||||
|
||||
function getColor($el, retval) {
|
||||
if($el.val().length > 0) {
|
||||
return $el.wpColorPicker('color');
|
||||
} else {
|
||||
return (retval !== undefined) ? retval : '';
|
||||
}
|
||||
}
|
||||
|
||||
function applyStyles() {
|
||||
var $editor = $("#content_ifr").contents().find('html');
|
||||
$editor.trigger('spu_tinymce_init');
|
||||
$editor.css({
|
||||
'background': spu_hexToRgb(getColor($("#spu_bgcolor")),$("#spu_bgopacity").val())
|
||||
});
|
||||
|
||||
// if there is no optin mode load defaults
|
||||
if (typeof spup_js == "undefined" || $('#spu_optin').val() == '') {
|
||||
// remove any field that could be there after deactivating premium version
|
||||
$editor.find(".spu-fields-container").remove();
|
||||
$editor.find("#tinymce").attr('style', 'padding: ' + getPxValue($("#spu-padding")) + 'px !important');
|
||||
$editor.find("#tinymce").css({
|
||||
'background-color': spu_hexToRgb(getColor($("#spu-background-color")),$("#spu_background_opacity").val()),
|
||||
'border-color': getColor($("#spu-border-color")),
|
||||
'border-width': getPxValue($("#spu-border-width")),
|
||||
'border-style': $("#spu-border-type").val(),
|
||||
'width': $("#spu-width").val(),
|
||||
'color': getColor($("#spu-color")),
|
||||
'height': 'auto',
|
||||
'min-width': '200px',
|
||||
'max-width': '100%',
|
||||
'margin': '8px auto 0;',
|
||||
'box-shadow': ($("#spu-shadow-type").val() == 'inset' ? 'inset' : '') +' '+ $("#spu-shadow-x").val() + 'px ' + $("#spu-shadow-y").val() + 'px ' + $("#spu-shadow-blur").val() + 'px ' + $("#spu-shadow-spread").val() + 'px ' + getColor($("#spu-shadow-color"))
|
||||
});
|
||||
|
||||
var img_src = $('#spu_bgimage').val();
|
||||
$editor.find("#tinymce").css({
|
||||
'background-image': 'url("'+img_src+'")',
|
||||
'background-size' : 'cover'
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Rules
|
||||
*
|
||||
* Js for needed for rules
|
||||
*
|
||||
* @since: 1.0.0
|
||||
* Thanks to advanced custom fields plugin for part of this code
|
||||
*/
|
||||
spu.rules = {
|
||||
$el : null,
|
||||
init : function(){
|
||||
|
||||
// vars
|
||||
var _this = this;
|
||||
|
||||
// $el
|
||||
_this.$el = $('#spu-rules');
|
||||
|
||||
// add rule
|
||||
_this.$el.on('click', '.rules-add-rule', function(){
|
||||
_this.add_rule( $(this).closest('tr') );
|
||||
return false;
|
||||
});
|
||||
|
||||
// remove rule
|
||||
_this.$el.on('click', '.rules-remove-rule', function(){
|
||||
_this.remove_rule( $(this).closest('tr') );
|
||||
return false;
|
||||
});
|
||||
|
||||
// add rule
|
||||
_this.$el.on('click', '.rules-add-group', function(){
|
||||
_this.add_group();
|
||||
return false;
|
||||
});
|
||||
|
||||
// change rule
|
||||
_this.$el.on('change', '.param select', function(){
|
||||
|
||||
// vars
|
||||
var $tr = $(this).closest('tr'),
|
||||
rule_id = $tr.attr('data-id'),
|
||||
$group = $tr.closest('.rules-group'),
|
||||
group_id = $group.attr('data-id'),
|
||||
val_td = $tr.find('td.value'),
|
||||
ajax_data = {
|
||||
'action' : "spu/field_group/render_rules",
|
||||
'nonce' : spu_js.nonce,
|
||||
'rule_id' : rule_id,
|
||||
'group_id' : group_id,
|
||||
'value' : '',
|
||||
'param' : $(this).val()
|
||||
};
|
||||
|
||||
// add loading gif
|
||||
var div = $('<div class="spu-loading"><img src="'+spu_js.admin_url+'/images/wpspin_light.gif"/> </div>');
|
||||
val_td.html( div );
|
||||
|
||||
// load rules html
|
||||
$.ajax({
|
||||
url: ajaxurl,
|
||||
data: ajax_data,
|
||||
type: 'post',
|
||||
dataType: 'html',
|
||||
success: function(html){
|
||||
val_td.html(html);
|
||||
}
|
||||
});
|
||||
|
||||
// Operators Rules
|
||||
var operator_td = $tr.find('td.operator'),
|
||||
ajax_data = {
|
||||
'action' : "spu/field_group/render_operator",
|
||||
'nonce' : spu_js.nonce,
|
||||
'rule_id' : rule_id,
|
||||
'group_id' : group_id,
|
||||
'value' : '',
|
||||
'param' : $(this).val()
|
||||
};
|
||||
|
||||
operator_td.html( div );
|
||||
$.ajax({
|
||||
url: ajaxurl,
|
||||
data: ajax_data,
|
||||
type: 'post',
|
||||
dataType: 'html',
|
||||
success: function(html){
|
||||
operator_td.html(html);
|
||||
}
|
||||
});
|
||||
});
|
||||
},
|
||||
add_rule : function( $tr ){
|
||||
|
||||
// vars
|
||||
var $tr2 = $tr.clone(),
|
||||
old_id = $tr2.attr('data-id'),
|
||||
new_id = 'rule_' + ( parseInt( old_id.replace('rule_', ''), 10 ) + 1);
|
||||
|
||||
// update names
|
||||
$tr2.find('[name]').each(function(){
|
||||
|
||||
$(this).attr('name', $(this).attr('name').replace( old_id, new_id ));
|
||||
$(this).attr('id', $(this).attr('id').replace( old_id, new_id ));
|
||||
});
|
||||
|
||||
// update data-i
|
||||
$tr2.attr( 'data-id', new_id );
|
||||
|
||||
// add tr
|
||||
$tr.after( $tr2 );
|
||||
|
||||
return false;
|
||||
},
|
||||
remove_rule : function( $tr ){
|
||||
|
||||
// vars
|
||||
var siblings = $tr.siblings('tr').length;
|
||||
|
||||
if( siblings == 0 ) {
|
||||
// remove group
|
||||
this.remove_group( $tr.closest('.rules-group') );
|
||||
} else {
|
||||
// remove tr
|
||||
$tr.remove();
|
||||
}
|
||||
},
|
||||
add_group : function(){
|
||||
|
||||
// vars
|
||||
var $group = this.$el.find('.rules-group:last'),
|
||||
$group2 = $group.clone(),
|
||||
old_id = $group2.attr('data-id'),
|
||||
new_id = 'group_' + ( parseInt( old_id.replace('group_', ''), 10 ) + 1);
|
||||
|
||||
// update names
|
||||
$group2.find('[name]').each(function(){
|
||||
|
||||
$(this).attr('name', $(this).attr('name').replace( old_id, new_id ));
|
||||
$(this).attr('id', $(this).attr('id').replace( old_id, new_id ));
|
||||
|
||||
});
|
||||
|
||||
// update data-i
|
||||
$group2.attr( 'data-id', new_id );
|
||||
|
||||
// update h4
|
||||
$group2.find('h4').html( spu_js.l10n.or ).addClass('rules-or');
|
||||
|
||||
// remove all tr's except the first one
|
||||
$group2.find('tr:not(:first)').remove();
|
||||
|
||||
// add tr
|
||||
$group.after( $group2 );
|
||||
},
|
||||
remove_group : function( $group ){
|
||||
$group.remove();
|
||||
}
|
||||
};
|
||||
|
||||
return {
|
||||
onTinyMceInit: function() {
|
||||
TinyMceOptin();
|
||||
}
|
||||
}
|
||||
}(jQuery));
|
||||
|
||||
|
||||
( function( global, $ ) {
|
||||
var editor,
|
||||
syncCSS = function() {
|
||||
$( '#spu-custom-css' ).val( editor.getSession().getValue() );
|
||||
},
|
||||
loadAce = function() {
|
||||
if(! $('#custom_css').length )
|
||||
return;
|
||||
editor = ace.edit( 'custom_css' );
|
||||
global.safecss_editor = editor;
|
||||
editor.getSession().setUseWrapMode( true );
|
||||
editor.setShowPrintMargin( false );
|
||||
editor.getSession().setValue( $( '#spu-custom-css' ).val() );
|
||||
editor.getSession().setMode( "ace/mode/css" );
|
||||
jQuery.fn.spin&&$( '#custom_css_container' ).spin( false );
|
||||
$( '#post' ).submit( syncCSS );
|
||||
};
|
||||
if ( $.browser.msie&&parseInt( $.browser.version, 10 ) <= 7 ) {
|
||||
$( '#custom_css_container' ).hide();
|
||||
$( '#spu-custom-css' ).show();
|
||||
return false;
|
||||
} else {
|
||||
$( global ).load( loadAce );
|
||||
}
|
||||
global.aceSyncCSS = syncCSS;
|
||||
} )( this, jQuery );
|
||||
function spu_hexToRgb(hex, alpha) {
|
||||
hex = hex.replace('#', '');
|
||||
var r = parseInt(hex.length == 3 ? hex.slice(0, 1).repeat(2) : hex.slice(0, 2), 16);
|
||||
var g = parseInt(hex.length == 3 ? hex.slice(1, 2).repeat(2) : hex.slice(2, 4), 16);
|
||||
var b = parseInt(hex.length == 3 ? hex.slice(2, 3).repeat(2) : hex.slice(4, 6), 16);
|
||||
if ( alpha ) {
|
||||
return 'rgba(' + r + ', ' + g + ', ' + b + ', ' + alpha + ')';
|
||||
}
|
||||
else {
|
||||
return 'rgb(' + r + ', ' + g + ', ' + b + ')';
|
||||
}
|
||||
}
|
||||
/**
|
||||
* jQuery alterClass plugin
|
||||
*
|
||||
* Remove element classes with wildcard matching. Optionally add classes:
|
||||
* $( '#foo' ).alterClass( 'foo-* bar-*', 'foobar' )
|
||||
*
|
||||
* Copyright (c) 2011 Pete Boere (the-echoplex.net)
|
||||
* Free under terms of the MIT license: http://www.opensource.org/licenses/mit-license.php
|
||||
*
|
||||
*/
|
||||
(function ( $ ) {
|
||||
$.fn.alterClass = function ( removals, additions ) {
|
||||
|
||||
var self = this;
|
||||
if ( removals.indexOf( '*' ) === -1 ) {
|
||||
// Use native jQuery methods if there is no wildcard matching
|
||||
self.removeClass( removals );
|
||||
return !additions ? self : self.addClass( additions );
|
||||
}
|
||||
|
||||
var patt = new RegExp( '\\s' +
|
||||
removals.
|
||||
replace( /\*/g, '[A-Za-z0-9-_]+' ).
|
||||
split( ' ' ).
|
||||
join( '\\s|\\s' ) +
|
||||
'\\s', 'g' );
|
||||
|
||||
self.each( function ( i, it ) {
|
||||
var cn = ' ' + it.className + ' ';
|
||||
while ( patt.test( cn ) ) {
|
||||
cn = cn.replace( patt, ' ' );
|
||||
}
|
||||
it.className = $.trim( cn );
|
||||
});
|
||||
|
||||
return !additions ? self : self.addClass( additions );
|
||||
};
|
||||
})( jQuery );
|
||||
1
wp-content/plugins/popups/admin/assets/js/index.php
Normal file
1
wp-content/plugins/popups/admin/assets/js/index.php
Normal file
@@ -0,0 +1 @@
|
||||
<?php // Silence is golden
|
||||
1
wp-content/plugins/popups/admin/assets/js/mode-css.js
Normal file
1
wp-content/plugins/popups/admin/assets/js/mode-css.js
Normal file
File diff suppressed because one or more lines are too long
BIN
wp-content/plugins/popups/admin/assets/js/popup.png
Normal file
BIN
wp-content/plugins/popups/admin/assets/js/popup.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.7 KiB |
65
wp-content/plugins/popups/admin/assets/js/spu-tinymce.js
Normal file
65
wp-content/plugins/popups/admin/assets/js/spu-tinymce.js
Normal file
@@ -0,0 +1,65 @@
|
||||
(function( $ ) {
|
||||
'use strict';
|
||||
|
||||
|
||||
tinymce.create('tinymce.plugins.SPU', {
|
||||
init : function(ed, url) {
|
||||
ed.addButton('spu_button', {
|
||||
title : 'Add Popup',
|
||||
cmd : 'spu_button',
|
||||
image : url+'/popup.png'
|
||||
});
|
||||
ed.addCommand('spu_button', function() {
|
||||
|
||||
jQuery('#spu_editor').dialog({
|
||||
height: 500,
|
||||
width: '600px',
|
||||
buttons: {
|
||||
"Insert Shortcode": function() {
|
||||
|
||||
var spu_id = jQuery('#spu-posts').val();
|
||||
var str = "";
|
||||
|
||||
str = '[spu popup="'+spu_id+'"';
|
||||
var selected_text = ed.selection.getContent();
|
||||
if (selected_text) {
|
||||
|
||||
str += "]" + selected_text + "[/spu]";
|
||||
|
||||
} else {
|
||||
|
||||
str += "]YOUR TEXT OR IMG HERE[/spu]";
|
||||
|
||||
}
|
||||
|
||||
|
||||
var Editor = tinyMCE.get('content');
|
||||
Editor.focus();
|
||||
Editor.selection.setContent(str);
|
||||
|
||||
|
||||
jQuery( this ).dialog( "close" );
|
||||
},
|
||||
Cancel: function() {
|
||||
jQuery( this ).dialog( "close" );
|
||||
}
|
||||
}
|
||||
}).dialog('open');
|
||||
|
||||
});
|
||||
},
|
||||
createControl : function(n, cm) {
|
||||
return null;
|
||||
},
|
||||
getInfo : function() {
|
||||
return {
|
||||
longname : 'Popups Button',
|
||||
author : 'Damian Logghe',
|
||||
authorurl : 'https://timersys.com',
|
||||
infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/example',
|
||||
version : "0.1"
|
||||
};
|
||||
}
|
||||
});
|
||||
tinymce.PluginManager.add('spu', tinymce.plugins.SPU);
|
||||
})( jQuery );
|
||||
1
wp-content/plugins/popups/admin/assets/js/worker-css.js
Normal file
1
wp-content/plugins/popups/admin/assets/js/worker-css.js
Normal file
File diff suppressed because one or more lines are too long
972
wp-content/plugins/popups/admin/class-social-popup-admin.php
Normal file
972
wp-content/plugins/popups/admin/class-social-popup-admin.php
Normal file
@@ -0,0 +1,972 @@
|
||||
<?php
|
||||
/**
|
||||
* Popups.
|
||||
*
|
||||
* @package SocialPopup_Admin
|
||||
* @author Damian Logghe <info@timersys.com>
|
||||
* @license GPL-2.0+
|
||||
* @link https://timersys.com
|
||||
* @copyright 2014 Timersys
|
||||
*/
|
||||
|
||||
|
||||
define( 'SPU_ADMIN_DIR' , plugin_dir_path(__FILE__) );
|
||||
|
||||
|
||||
/**
|
||||
* Admin Class of the plugin
|
||||
*
|
||||
* @package SocialPopup_Admin
|
||||
* @author Damian Logghe <info@timersys.com>
|
||||
*/
|
||||
class SocialPopup_Admin {
|
||||
|
||||
/**
|
||||
* Instance of this class.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*
|
||||
* @var object
|
||||
*/
|
||||
protected static $instance = null;
|
||||
|
||||
/**
|
||||
* Slug of the plugin screen.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $plugin_screen_hook_suffix = null;
|
||||
|
||||
/**
|
||||
* Plugins settings
|
||||
* @var array
|
||||
*/
|
||||
protected $spu_settings = array();
|
||||
|
||||
/**
|
||||
* Premium version is enabled
|
||||
*
|
||||
* @since 1.1
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
protected $premium = false;
|
||||
|
||||
/**
|
||||
* Helper function
|
||||
*
|
||||
* @since 1.1
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
protected $helper = '';
|
||||
|
||||
/**
|
||||
* Initialize the plugin by loading admin scripts & styles and adding a
|
||||
* settings page and menu.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private function __construct() {
|
||||
|
||||
|
||||
$plugin = SocialPopup::get_instance();
|
||||
$this->plugin_slug = $plugin->get_plugin_slug();
|
||||
|
||||
// helper funcs
|
||||
$this->helper = new Spu_Helper;
|
||||
|
||||
//settings name
|
||||
$this->options_name = $this->plugin_slug .'_settings';
|
||||
|
||||
//load settings
|
||||
$this->spu_settings = $plugin->get_settings();
|
||||
|
||||
//premium version ?
|
||||
$this->premium = defined('SPUP_PLUGIN_HOOK');
|
||||
|
||||
// add settings page
|
||||
add_action('admin_menu' , array( $this, 'add_settings_menu' ) );
|
||||
|
||||
//Add our metaboxes
|
||||
add_action( 'add_meta_boxes', array( $this, 'add_meta_boxes' ) );
|
||||
|
||||
//Save metaboxes
|
||||
add_action( 'save_post', array( $this, 'save_meta_options' ), 20, 2 );
|
||||
|
||||
// Load admin style sheet and JavaScript.
|
||||
add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_admin_styles' ) );
|
||||
add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_admin_scripts' ) );
|
||||
|
||||
// Add an action link pointing to the options page.
|
||||
add_filter( 'plugin_action_links_' . SPU_PLUGIN_HOOK, array( $this, 'add_action_links' ) );
|
||||
|
||||
//Filters for rules
|
||||
add_filter('spu/get_post_types', array($this, 'get_post_types'), 1, 3);
|
||||
add_filter('spu/get_taxonomies', array($this, 'get_taxonomies'), 1, 3);
|
||||
|
||||
//AJAX Actions
|
||||
add_action('wp_ajax_spu/field_group/render_rules', array( $this->helper, 'ajax_render_rules' ) );
|
||||
add_action('wp_ajax_spu/field_group/render_operator', array( $this->helper, 'ajax_render_operator' ) );
|
||||
add_action('wp_ajax_spu_enable_ajax_notice_handler', array( $this, 'ajax_notice_handler' ) );
|
||||
|
||||
//Tinymce
|
||||
add_filter( 'tiny_mce_before_init', array($this, 'tinymce_init'), 9999 );
|
||||
add_action( 'admin_init', array( $this, 'editor_styles' ) );
|
||||
add_action( 'init', array( $this, 'register_tiny_buttons' ) );
|
||||
|
||||
//Columns in cpt
|
||||
add_filter( 'manage_edit-spucpt_columns' , array( $this, 'set_custom_cpt_columns'), 10, 2 );
|
||||
add_action( 'manage_spucpt_posts_custom_column' , array( $this, 'custom_columns'), 10, 2 );
|
||||
add_action( 'admin_init' , array( $this, 'toggle_on_popup') );
|
||||
|
||||
add_action( 'admin_init' , array( $this, 'extra_checks') );
|
||||
|
||||
add_filter('use_block_editor_for_post_type', array( $this, 'disable_gutenberg' ), 9999, 2 );
|
||||
add_filter('gutenberg_can_edit_post_type', array( $this, 'disable_gutenberg' ), 9999, 2 );
|
||||
|
||||
$this->set_rules_fields();
|
||||
}
|
||||
|
||||
/**
|
||||
* Return an instance of this class.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*
|
||||
* @return object A single instance of this class.
|
||||
*/
|
||||
public static function get_instance() {
|
||||
|
||||
|
||||
// If the single instance hasn't been set, set it now.
|
||||
if ( null == self::$instance ) {
|
||||
self::$instance = new self;
|
||||
}
|
||||
|
||||
return self::$instance;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Add menu for Settings page of the plugin
|
||||
* @since 1.1
|
||||
* @return void
|
||||
*/
|
||||
public function add_settings_menu() {
|
||||
|
||||
add_submenu_page('edit.php?post_type=spucpt', __( 'Settings', 'popups' ), __( 'Settings', 'popups' ), apply_filters( 'spu/settings_page/roles', 'manage_options'), 'spu_settings', array( $this, 'settings_page' ) );
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Settings page of the plugin
|
||||
* @since 1.1
|
||||
* @return void
|
||||
*/
|
||||
public function settings_page() {
|
||||
|
||||
$defaults = apply_filters( 'spu/settings_page/defaults_opts', array(
|
||||
'aff_link' => '',
|
||||
'ajax_mode' => '0',
|
||||
'shortcodes_style' => '',
|
||||
'facebook' => '',
|
||||
'google' => '',
|
||||
'twitter' => '',
|
||||
'spu_license_key' => '',
|
||||
'ua_code' => '',
|
||||
'mc_api' => '',
|
||||
));
|
||||
$opts = apply_filters( 'spu/settings_page/opts', get_option( 'spu_settings', $defaults ) );
|
||||
|
||||
|
||||
if ( isset( $_POST['spu_nonce'] ) && wp_verify_nonce( $_POST['spu_nonce'], 'spu_save_settings' ) ) {
|
||||
$opts = esc_sql( @$_POST['spu_settings'] );
|
||||
update_option( 'spu_settings' , $opts );
|
||||
}
|
||||
|
||||
|
||||
include 'views/settings-page.php';
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Register the metaboxes for our cpt and remove others
|
||||
*/
|
||||
public function add_meta_boxes() {
|
||||
|
||||
|
||||
add_meta_box(
|
||||
'spu-video',
|
||||
'<i class="spu-icon-info spu-icon"></i>' . __( 'Help video', 'popups' ),
|
||||
array( $this, 'metabox_video' ),
|
||||
'spucpt',
|
||||
'normal',
|
||||
'core'
|
||||
);
|
||||
|
||||
add_meta_box(
|
||||
'spu-appearance',
|
||||
'<i class="spu-icon-magic spu-icon"></i>' . __( 'PopUp Appearance', 'popups' ),
|
||||
array( $this, 'popup_appearance' ),
|
||||
'spucpt',
|
||||
'normal',
|
||||
'core'
|
||||
);
|
||||
|
||||
add_meta_box(
|
||||
'spu-rules',
|
||||
'<i class="spu-icon-eye spu-icon"></i>' . __( 'PopUp Display Rules', 'popups' ),
|
||||
array( $this, 'popup_rules' ),
|
||||
'spucpt',
|
||||
'normal',
|
||||
'core'
|
||||
);
|
||||
|
||||
add_meta_box(
|
||||
'spu-options',
|
||||
'<i class="spu-icon-gears spu-icon"></i>' . __( 'Display Options', 'popups' ),
|
||||
array( $this, 'popup_options' ),
|
||||
'spucpt',
|
||||
'normal',
|
||||
'core'
|
||||
);
|
||||
if( !$this->premium ) {
|
||||
|
||||
add_meta_box(
|
||||
'spu-premium',
|
||||
__( 'Popups Premium', 'popups' ),
|
||||
array( $this, 'popup_premium' ),
|
||||
'spucpt',
|
||||
'normal',
|
||||
'core'
|
||||
);
|
||||
|
||||
}
|
||||
add_meta_box(
|
||||
'spu-help',
|
||||
'<i class="spu-icon-info spu-icon"></i>' . __( 'PopUp Shortcodes', 'popups' ),
|
||||
array( $this, 'popup_help' ),
|
||||
'spucpt',
|
||||
'normal',
|
||||
'core'
|
||||
);
|
||||
|
||||
add_meta_box(
|
||||
'spu-support',
|
||||
__( 'Need support?', 'popups' ),
|
||||
array( $this, 'metabox_support' ),
|
||||
'spucpt',
|
||||
'side'
|
||||
);
|
||||
|
||||
add_meta_box(
|
||||
'spu-donate',
|
||||
__( 'Donate & support', 'popups' ),
|
||||
array( $this, 'metabox_donate' ),
|
||||
'spucpt',
|
||||
'side'
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Include the metabox view for popup premium
|
||||
* @param object $post spucpt post object
|
||||
* @param array $metabox full metabox items array
|
||||
* @since 1.1
|
||||
*/
|
||||
public function popup_premium( $post, $metabox ) {
|
||||
|
||||
include 'views/metaboxes/metabox-premium.php';
|
||||
}
|
||||
|
||||
/**
|
||||
* Include the metabox view for popup help
|
||||
* @param object $post spucpt post object
|
||||
* @param array $metabox full metabox items array
|
||||
* @since 1.1
|
||||
*/
|
||||
public function popup_help( $post, $metabox ) {
|
||||
|
||||
include 'views/metaboxes/metabox-help.php';
|
||||
}
|
||||
/**
|
||||
* Include the metabox view for popup rules
|
||||
* @param object $post spucpt post object
|
||||
* @param array $metabox full metabox items array
|
||||
* @since 1.1
|
||||
*/
|
||||
public function popup_rules( $post, $metabox ) {
|
||||
|
||||
$groups = apply_filters('spu/metaboxes/get_box_rules', $this->helper->get_box_rules( $post->ID ), $post->ID);
|
||||
|
||||
include 'views/metaboxes/metabox-rules.php';
|
||||
}
|
||||
/**
|
||||
* Include the metabox view for popup options
|
||||
* @param object $post spucpt post object
|
||||
* @param array $metabox full metabox items array
|
||||
* @since 1.1
|
||||
*/
|
||||
public function popup_options( $post, $metabox ) {
|
||||
|
||||
$opts = apply_filters('spu/metaboxes/get_box_options', $this->helper->get_box_options( $post->ID ), $post->ID );
|
||||
|
||||
include 'views/metaboxes/metabox-options.php';
|
||||
}
|
||||
/**
|
||||
* Include the metabox view for popup appearance
|
||||
* @param object $post spucpt post object
|
||||
* @param array $metabox full metabox items array
|
||||
* @since 1.1
|
||||
*/
|
||||
public function popup_appearance( $post, $metabox ) {
|
||||
|
||||
$opts = apply_filters('spu/metaboxes/get_box_options', $this->helper->get_box_options( $post->ID ), $post->ID );
|
||||
|
||||
include 'views/metaboxes/metabox-appearance.php';
|
||||
}
|
||||
|
||||
/**
|
||||
* Include the metabox view for donate box
|
||||
* @param object $post spucpt post object
|
||||
* @param array $metabox full metabox items array
|
||||
* @since 1.1
|
||||
*/
|
||||
public function metabox_donate( $post, $metabox ) {
|
||||
|
||||
$donate_metabox = apply_filters( 'spu/metaboxes/donate_metabox', dirname(__FILE__) . '/views/metaboxes/metabox-donate.php' );
|
||||
|
||||
include $donate_metabox;
|
||||
}
|
||||
|
||||
/**
|
||||
* Include the metabox view for help video
|
||||
* @param object $post spucpt post object
|
||||
* @param array $metabox full metabox items array
|
||||
* @since 1.1
|
||||
*/
|
||||
public function metabox_video( $post, $metabox ) {
|
||||
|
||||
$video_metabox = apply_filters( 'spu/metaboxes/video_metabox', dirname(__FILE__) . '/views/metaboxes/metabox-video.php' );
|
||||
|
||||
include $video_metabox;
|
||||
}
|
||||
/**
|
||||
* Include the metabox view for support box
|
||||
* @param object $post spucpt post object
|
||||
* @param array $metabox full metabox items array
|
||||
* @since 1.1
|
||||
*/
|
||||
public function metabox_support( $post, $metabox ) {
|
||||
|
||||
$support_metabox = apply_filters( 'spu/metaboxes/support_metabox', dirname(__FILE__) . '/views/metaboxes/metabox-support.php' );
|
||||
|
||||
include $support_metabox;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Saves popup options and rules
|
||||
*
|
||||
* @param $post_id
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
public function save_meta_options( $post_id, $post ) {
|
||||
static $spu_save = 0;
|
||||
|
||||
if ( $post->post_type != 'spucpt' )
|
||||
return $post_id;
|
||||
|
||||
// For some reason sometimes this hook run twice, until I can find the reason and reproduce error
|
||||
// let's use a static var to prevent this
|
||||
if( $spu_save > 0 )
|
||||
return $post_id;
|
||||
|
||||
// Verify that the nonce is set and valid.
|
||||
if ( !isset( $_POST['spu_options_nonce'] ) || ! wp_verify_nonce( $_POST['spu_options_nonce'], 'spu_options' ) ) {
|
||||
return $post_id;
|
||||
}
|
||||
// If this is an autosave, our form has not been submitted, so we don't want to do anything.
|
||||
if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) {
|
||||
return $post_id;
|
||||
}
|
||||
// same for ajax
|
||||
if ( defined( 'DOING_AJAX' ) && DOING_AJAX ) {
|
||||
return $post_id;
|
||||
}
|
||||
// same for cron
|
||||
if ( defined( 'DOING_CRON' ) && DOING_CRON ) {
|
||||
return $post_id;
|
||||
}
|
||||
// same for posts revisions
|
||||
if ( wp_is_post_revision( $post_id ) ) {
|
||||
return $post_id;
|
||||
}
|
||||
|
||||
// can user edit this post?
|
||||
if ( ! current_user_can( 'edit_post', $post_id ) ) {
|
||||
return $post_id;
|
||||
}
|
||||
|
||||
$opts = $_POST['spu'];
|
||||
unset( $_POST['spu'] );
|
||||
|
||||
$post = get_post($post_id);
|
||||
|
||||
// sanitize settings
|
||||
$opts['css']['bgopacity'] = sanitize_text_field( $opts['css']['bgopacity'] );
|
||||
$opts['css']['overlay_color'] = sanitize_text_field( $opts['css']['overlay_color'] );
|
||||
$opts['css']['background_color'] = sanitize_text_field( $opts['css']['background_color'] );
|
||||
$opts['css']['background_opacity'] = sanitize_text_field( $opts['css']['background_opacity'] );
|
||||
$opts['css']['width'] = sanitize_text_field( $opts['css']['width'] );
|
||||
$opts['css']['padding'] = absint( sanitize_text_field( $opts['css']['padding'] ) );
|
||||
$opts['css']['color'] = sanitize_text_field( $opts['css']['color'] );
|
||||
$opts['css']['shadow_color'] = sanitize_text_field( $opts['css']['shadow_color'] );
|
||||
$opts['css']['shadow_type'] = sanitize_text_field( $opts['css']['shadow_type'] );
|
||||
$opts['css']['shadow_x_offset'] = absint( sanitize_text_field( $opts['css']['shadow_x_offset'] ) );
|
||||
$opts['css']['shadow_y_offset'] = absint( sanitize_text_field( $opts['css']['shadow_y_offset'] ) );
|
||||
$opts['css']['shadow_blur'] = absint( sanitize_text_field( $opts['css']['shadow_blur'] ) );
|
||||
$opts['css']['shadow_spread'] = absint( sanitize_text_field( $opts['css']['shadow_spread'] ) );
|
||||
$opts['css']['border_color'] = sanitize_text_field( $opts['css']['border_color'] );
|
||||
$opts['css']['border_width'] = absint( sanitize_text_field( $opts['css']['border_width'] ) );
|
||||
$opts['css']['border_radius'] = absint( sanitize_text_field( $opts['css']['border_radius'] ) );
|
||||
$opts['css']['border_type'] = sanitize_text_field( $opts['css']['border_type'] );
|
||||
$opts['css']['close_color'] = sanitize_text_field( $opts['css']['close_color'] );
|
||||
$opts['css']['close_hover_color'] = sanitize_text_field( $opts['css']['close_hover_color'] );
|
||||
$opts['css']['close_size'] = sanitize_text_field( $opts['css']['close_size'] );
|
||||
$opts['css']['close_position'] = sanitize_text_field( $opts['css']['close_position'] );
|
||||
$opts['css']['close_shadow_color'] = sanitize_text_field( $opts['css']['close_shadow_color'] );
|
||||
$opts['css']['position'] = sanitize_text_field( $opts['css']['position'] );
|
||||
|
||||
$opts['name-convert-cookie'] = sanitize_text_field( $opts['name-convert-cookie'] ) ;
|
||||
$opts['name-close-cookie'] = sanitize_text_field( $opts['name-close-cookie'] );
|
||||
$opts['type-convert-cookie'] = sanitize_text_field( $opts['type-convert-cookie'] ) ;
|
||||
$opts['type-close-cookie'] = sanitize_text_field( $opts['type-close-cookie'] );
|
||||
$opts['duration-convert-cookie'] = absint( sanitize_text_field( $opts['duration-convert-cookie'] ) );
|
||||
$opts['duration-close-cookie'] = absint( sanitize_text_field( $opts['duration-close-cookie'] ) );
|
||||
// add popup ID to make the unique
|
||||
$opts['name-convert-cookie'] = $opts['name-convert-cookie'] == 'spu_conversion' ? 'spu_conversion_'.$post_id : $opts['name-convert-cookie'] ;
|
||||
$opts['name-close-cookie'] = $opts['name-close-cookie'] == 'spu_closing' ? 'spu_closing_'.$post_id : $opts['name-close-cookie'];
|
||||
|
||||
$opts['trigger_number'] = absint( sanitize_text_field( $opts['trigger_number'] ) );
|
||||
|
||||
|
||||
|
||||
// Check for social shortcodes and update post meta ( we check later if we need to enqueue any social js)
|
||||
$total_shortcodes =0;
|
||||
if( has_shortcode( $post->post_content, 'spu-facebook' ) || has_shortcode( $post->post_content, 'spu-facebook-page' ) ){
|
||||
$total_shortcodes++;
|
||||
update_post_meta( $post_id, 'spu_fb', true );
|
||||
} else {
|
||||
delete_post_meta( $post_id, 'spu_fb');
|
||||
}
|
||||
if( has_shortcode( $post->post_content, 'spu-twitter' ) ){
|
||||
$total_shortcodes++;
|
||||
update_post_meta( $post_id, 'spu_tw', true );
|
||||
} else {
|
||||
delete_post_meta( $post_id, 'spu_tw');
|
||||
}
|
||||
if( has_shortcode( $post->post_content, 'spu-google' ) ){
|
||||
$total_shortcodes++;
|
||||
$opts['google'] = true;
|
||||
update_post_meta( $post_id, 'spu_google', true );
|
||||
} else {
|
||||
delete_post_meta( $post_id, 'spu_google');
|
||||
}
|
||||
// save total shortcodes (for auto styling)
|
||||
if( $total_shortcodes ){
|
||||
update_post_meta( $post_id, 'spu_social', $total_shortcodes );
|
||||
} else {
|
||||
delete_post_meta( $post_id, 'spu_social' );
|
||||
}
|
||||
if( has_shortcode( $post->post_content, 'gravityform' ) ) {
|
||||
preg_match('/\[gravityform id="([0-9]+)".*\]/i', $post->post_content, $matches);
|
||||
if( !empty( $matches[1] ) )
|
||||
update_post_meta( $post_id, 'spu_gravity', $matches[1]);
|
||||
} else {
|
||||
delete_post_meta( $post_id, 'spu_gravity' );
|
||||
}
|
||||
|
||||
// save box settings
|
||||
update_post_meta( $post_id, 'spu_options', apply_filters( 'spu/metaboxes/sanitized_options', $opts ) );
|
||||
|
||||
// Start with rules
|
||||
if( isset($_POST['spu_rules']) && is_array($_POST['spu_rules']) )
|
||||
{
|
||||
// clean array keys
|
||||
$groups = array_values( $_POST['spu_rules'] );
|
||||
foreach($groups as $group_id => $group )
|
||||
{
|
||||
if( is_array($group) )
|
||||
{
|
||||
// clean array keys
|
||||
$groups_a[] = array_values( $group );
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
update_post_meta( $post_id, 'spu_rules', apply_filters( 'spu/metaboxes/sanitized_rules', $groups_a ) );
|
||||
unset( $_POST['spu_rules'] );
|
||||
}
|
||||
$spu_save++;
|
||||
}
|
||||
/**
|
||||
* Register and enqueue admin-specific style sheet.
|
||||
*
|
||||
* @TODO:
|
||||
*
|
||||
* - Rename "Plugin_Name" to the name your plugin
|
||||
*
|
||||
* @since 1.0.0
|
||||
*
|
||||
* @return null Return early if no settings page is registered.
|
||||
*/
|
||||
public function enqueue_admin_styles() {
|
||||
|
||||
global $pagenow;
|
||||
|
||||
$post_type = isset($_GET['post_type']) ? $_GET['post_type'] : get_post_type();
|
||||
|
||||
if ( $post_type !== 'spucpt' || !in_array( $pagenow, array( 'post-new.php', 'post.php', 'edit.php' ) ) ) {
|
||||
return;
|
||||
}
|
||||
wp_enqueue_style( 'spu-admin-css', plugins_url( 'assets/css/admin.css', __FILE__ ) , '', SocialPopup::VERSION );
|
||||
wp_enqueue_style( 'wp-color-picker' );
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Register and enqueue admin-specific JavaScript.
|
||||
*
|
||||
* @TODO:
|
||||
*
|
||||
* - Rename "Plugin_Name" to the name your plugin
|
||||
*
|
||||
* @since 1.0.0
|
||||
*
|
||||
* @return null Return early if no settings page is registered.
|
||||
*/
|
||||
public function enqueue_admin_scripts() {
|
||||
global $pagenow, $post;
|
||||
|
||||
if ( get_post_type() !== 'spucpt' || !in_array( $pagenow, array( 'post-new.php', 'edit.php', 'post.php' ) ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
$box_id = isset( $post->ID ) ? $post->ID : '';
|
||||
|
||||
wp_enqueue_script( 'wp-color-picker' );
|
||||
wp_enqueue_script( 'ace_code_highlighter_js', plugins_url( 'assets/js/ace.js', __FILE__ ) , '', '1.0.0', true );
|
||||
wp_enqueue_script( 'ace_mode_js', plugins_url( 'assets/js/mode-css.js', __FILE__ ) , array( 'ace_code_highlighter_js' ), '1.0.0', true );
|
||||
wp_enqueue_script( 'worker_css_js', plugins_url( 'assets/js/worker-css.js', __FILE__ ) , array( 'jquery', 'ace_code_highlighter_js' ), '1.0.0', true );
|
||||
wp_enqueue_script( 'spu-admin-js', plugins_url( 'assets/js/admin.js', __FILE__ ) , '', SocialPopup::VERSION );
|
||||
|
||||
wp_localize_script( 'spu-admin-js', 'spu_js',
|
||||
array(
|
||||
'admin_url' => admin_url( ),
|
||||
'nonce' => wp_create_nonce( 'spu_nonce' ),
|
||||
'l10n' => array (
|
||||
'or' => '<span>'.__('OR', 'popups' ).'</span>'
|
||||
),
|
||||
'opts' => $this->helper->get_box_options($box_id)
|
||||
)
|
||||
);
|
||||
|
||||
wp_localize_script( 'spup-admin-js' , 'spup_js' ,
|
||||
array(
|
||||
'opts' => $this->helper->get_box_options($box_id),
|
||||
'spinner' => SPU_PLUGIN_URL . 'public/assets/img/ajax-loader.gif'
|
||||
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Add settings action link to the plugins page.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function add_action_links( $links ) {
|
||||
|
||||
return array_merge(
|
||||
array(
|
||||
'settings' => '<a href="' . admin_url( 'edit.php?post_type=spucpt' ) . '">' . __( 'Add a Popup', 'popups' ) . '</a>'
|
||||
),
|
||||
$links
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Return available posts types. Used in filters
|
||||
* @param array $post_types custom post types
|
||||
* @param array $exclude cpt to explude
|
||||
* @param array $include cpts to include
|
||||
* @return array Resulting cpts
|
||||
*/
|
||||
function get_post_types( $post_types, $exclude = array(), $include = array() ) {
|
||||
|
||||
// get all custom post types
|
||||
$post_types = array_merge($post_types, get_post_types());
|
||||
|
||||
|
||||
// core include / exclude
|
||||
$spu_includes = array_merge( array(), $include );
|
||||
$spu_excludes = array_merge( array( 'spucpt', 'acf', 'revision', 'nav_menu_item','custom_css', 'customize_changeset', 'oembed_cache', 'wpvqgr_quiz_trivia', 'wpvqgr_quiz_perso', 'wpvqgr_user', 'popup', 'popup_theme', 'page_rating', 'sa_slider', 'faq', 'opanda-item', 'amn_smtp' ), $exclude );
|
||||
|
||||
foreach( $spu_includes as $p )
|
||||
{
|
||||
if( post_type_exists($p) )
|
||||
{
|
||||
$post_types[ $p ] = $p;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// exclude
|
||||
foreach( $spu_excludes as $p )
|
||||
{
|
||||
unset( $post_types[ $p ] );
|
||||
}
|
||||
|
||||
|
||||
return $post_types;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Get taxonomies. Used in filters rules
|
||||
*
|
||||
* @param array $choices [description]
|
||||
* @param boolean $simple_value [description]
|
||||
*
|
||||
* @return array [type] [description]
|
||||
*/
|
||||
function get_taxonomies( $choices, $simple_value = false ) {
|
||||
|
||||
// vars
|
||||
$post_types = get_post_types();
|
||||
|
||||
|
||||
if($post_types)
|
||||
{
|
||||
foreach($post_types as $post_type)
|
||||
{
|
||||
$post_type_object = get_post_type_object($post_type);
|
||||
$taxonomies = get_object_taxonomies($post_type);
|
||||
if($taxonomies)
|
||||
{
|
||||
foreach($taxonomies as $taxonomy)
|
||||
{
|
||||
if( 'nav_menu' == $taxonomy ) continue;
|
||||
$terms = get_terms($taxonomy, array('hide_empty' => true));
|
||||
if($terms)
|
||||
{
|
||||
foreach($terms as $term)
|
||||
{
|
||||
$value = $taxonomy . ':' . $term->term_id;
|
||||
|
||||
if( $simple_value )
|
||||
{
|
||||
$value = $term->term_id;
|
||||
}
|
||||
|
||||
$choices[$post_type_object->label . ': ' . $taxonomy][$value] = $term->name;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return $choices;
|
||||
}
|
||||
|
||||
/**
|
||||
* Load tinymce style on load
|
||||
* @param [type] $args [description]
|
||||
* @return [type] [description]
|
||||
*/
|
||||
public function tinymce_init($args) {
|
||||
|
||||
if( get_post_type() !== 'spucpt') {
|
||||
return $args;
|
||||
}
|
||||
$func = '';
|
||||
// dirty hax, WPML replace our function so let's try to get theirs and add to ours
|
||||
// same with follow up emails by woocommerce
|
||||
if( array_key_exists('setup', $args) && strpos($args['setup'], 'function(ed)') !== false) {
|
||||
if( $pos = strpos($args['setup'], 'function(ed){') !== false ) {
|
||||
if( $pos < 15 ){
|
||||
$func .= rtrim(substr_replace($args['setup'],'',$pos,strlen('function(ed){')),'}');
|
||||
}
|
||||
}
|
||||
if( $pos = strpos($args['setup'], 'function(ed) {') !== false ) {
|
||||
if( $pos < 15 ){
|
||||
$func .= rtrim(substr_replace($args['setup'],'',$pos,strlen('function(ed) {')),'}');
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
$args['setup'] = 'function(ed) {
|
||||
if(typeof SPU_ADMIN === \'undefined\') {
|
||||
return;
|
||||
}
|
||||
ed.onInit.add(SPU_ADMIN.onTinyMceInit);
|
||||
if(typeof SPUP_ADMIN === \'undefined\') {
|
||||
return;
|
||||
}
|
||||
ed.onInit.add(SPUP_ADMIN.onTinyMceInit);
|
||||
'.$func.'
|
||||
}';
|
||||
|
||||
return $args;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add the stylesheet for optin in editor
|
||||
* @since 1.2.3.6
|
||||
*/
|
||||
function editor_styles() {
|
||||
global $pagenow;
|
||||
$post_type = isset($_GET['post']) ? get_post_type($_GET['post']) : '';
|
||||
|
||||
if( 'spucpt' == $post_type || get_post_type() == 'spucpt' || (isset( $_GET['post_type']) && $_GET['post_type'] == 'spucpt') ) {
|
||||
add_editor_style( SPU_PLUGIN_URL . 'admin/assets/css/editor-style.css' );
|
||||
}
|
||||
// Add html for shortcodes popup
|
||||
if( 'post.php' == $pagenow || 'post-new.php' == $pagenow ) {
|
||||
wp_enqueue_script( 'jquery-ui-dialog' );
|
||||
wp_enqueue_style( 'wp-jquery-ui-dialog' );
|
||||
add_action( 'in_admin_footer', array($this, 'add_editor' ),100 );
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
function get_rules_choices() {
|
||||
$choices = array(
|
||||
__("User", 'popups' ) => array(
|
||||
'user_type' => __("User role", 'popups' ),
|
||||
'logged_user' => __("User is logged", 'popups' ),
|
||||
'left_comment' => __("User never left a comment", 'popups' ),
|
||||
'search_engine' => __("User came via a search engine", 'popups' ),
|
||||
'same_site' => __("User did not arrive via another page on your site", 'popups' ),
|
||||
),
|
||||
__("Post", 'popups' ) => array(
|
||||
'post' => __("Post", 'popups' ),
|
||||
'post_id' => __("Post ID", 'popups' ),
|
||||
'post_type' => __("Post Type", 'popups' ),
|
||||
'post_category' => __("Post Category", 'popups' ),
|
||||
'post_format' => __("Post Format", 'popups' ),
|
||||
'post_status' => __("Post Status", 'popups' ),
|
||||
'taxonomy' => __("Post Taxonomy", 'popups' ),
|
||||
),
|
||||
__("Page", 'popups' ) => array(
|
||||
'page' => __("Page", 'popups' ),
|
||||
'page_type' => __("Page Type", 'popups' ),
|
||||
'page_parent' => __("Page Parent", 'popups' ),
|
||||
'page_template' => __("Page Template", 'popups' ),
|
||||
),
|
||||
__("Other", 'popups' ) => array(
|
||||
'referrer' => __("Referrer", 'popups' ),
|
||||
'query_string' => __("Query String", 'popups' ),
|
||||
'keyword_url' => __("Url contains keyword", 'popups' ),
|
||||
'custom_url' => __("Custom Url", 'popups' ),
|
||||
'mobiles' => __("Mobile Phone", 'popups' ),
|
||||
'tablets' => __("Tablet", 'popups' ),
|
||||
'desktop' => __("Desktop", 'popups' ),
|
||||
'crawlers' => __("Bots/Crawlers", 'popups' ),
|
||||
'browser' => __("Browser", 'popups' ),
|
||||
)
|
||||
);
|
||||
// allow custom rules rules
|
||||
return apply_filters( 'spu/metaboxes/rule_types', $choices );
|
||||
}
|
||||
|
||||
/**
|
||||
* Hook each rule to a field to print
|
||||
*/
|
||||
private function set_rules_fields() {
|
||||
|
||||
// User
|
||||
add_action('spu/rules/print_user_type_field', array('Spu_Helper', 'print_select'), 10, 2);
|
||||
add_action('spu/rules/print_logged_user_field', array('Spu_Helper', 'print_select'), 10, 2);
|
||||
add_action('spu/rules/print_left_comment_field', array('Spu_Helper', 'print_select'), 10, 2);
|
||||
add_action('spu/rules/print_search_engine_field', array('Spu_Helper', 'print_select'), 10, 2);
|
||||
add_action('spu/rules/print_same_site_field', array('Spu_Helper', 'print_select'), 10, 2);
|
||||
|
||||
// Post
|
||||
add_action('spu/rules/print_post_type_field', array('Spu_Helper', 'print_select'), 10, 2);
|
||||
add_action('spu/rules/print_post_id_field', array('Spu_Helper', 'print_textfield'), 10, 1);
|
||||
add_action('spu/rules/print_post_field', array('Spu_Helper', 'print_select'), 10, 2);
|
||||
add_action('spu/rules/print_post_category_field', array('Spu_Helper', 'print_select'), 10, 2);
|
||||
add_action('spu/rules/print_post_format_field', array('Spu_Helper', 'print_select'), 10, 2);
|
||||
add_action('spu/rules/print_post_status_field', array('Spu_Helper', 'print_select'), 10, 2);
|
||||
add_action('spu/rules/print_taxonomy_field', array('Spu_Helper', 'print_select'), 10, 2);
|
||||
|
||||
// Page
|
||||
add_action('spu/rules/print_page_field', array('Spu_Helper', 'print_select'), 10, 2);
|
||||
add_action('spu/rules/print_page_type_field', array('Spu_Helper', 'print_select'), 10, 2);
|
||||
add_action('spu/rules/print_page_parent_field', array('Spu_Helper', 'print_select'), 10, 2);
|
||||
add_action('spu/rules/print_page_template_field', array('Spu_Helper', 'print_select'), 10, 2);
|
||||
|
||||
//Other
|
||||
add_action('spu/rules/print_mobiles_field', array('Spu_Helper', 'print_select'), 10, 2);
|
||||
add_action('spu/rules/print_desktop_field', array('Spu_Helper', 'print_select'), 10, 2);
|
||||
add_action('spu/rules/print_tablets_field', array('Spu_Helper', 'print_select'), 10, 2);
|
||||
add_action('spu/rules/print_crawlers_field', array('Spu_Helper', 'print_select'), 10, 2);
|
||||
add_action('spu/rules/print_referrer_field', array('Spu_Helper', 'print_textfield'), 10, 1);
|
||||
add_action('spu/rules/print_query_string_field', array('Spu_Helper', 'print_textfield'), 10, 1);
|
||||
add_action('spu/rules/print_keyword_url_field', array('Spu_Helper', 'print_textfield'), 10, 1);
|
||||
add_action('spu/rules/print_custom_url_field', array('Spu_Helper', 'print_textfield'), 10, 1);
|
||||
add_action('spu/rules/print_browser_field', array('Spu_Helper', 'print_textfield'), 10, 1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Add custom columns to spu cpt
|
||||
*
|
||||
* @param [type] $columns [description]
|
||||
*
|
||||
* @since 1.3.3
|
||||
* @return array|int
|
||||
*/
|
||||
public function set_custom_cpt_columns( $columns ){
|
||||
|
||||
unset( $columns['date'] );
|
||||
$spu_switch = array( 'spu_switch' => __( 'On / Off', 'popups' ) );
|
||||
$columns = array_slice($columns, 0, 1, true) + $spu_switch + array_slice($columns, 1, count( $columns ) - 1, true) ;
|
||||
$columns['spu_id'] = __( 'ID', 'popups' );
|
||||
$columns['spu_trigger_class'] = __( 'Trigger class', 'popups' );
|
||||
|
||||
return $columns;
|
||||
}
|
||||
/**
|
||||
* Add callbacks for custom colums
|
||||
* @param array $column [description]
|
||||
* @param int $post_id [description]
|
||||
* @return echo html
|
||||
* @since 1.3.3
|
||||
*/
|
||||
function custom_columns( $column, $post_id ) {
|
||||
global $wpdb;
|
||||
|
||||
switch ( $column ) {
|
||||
case 'spu_id' :
|
||||
echo '#spu-'.$post_id;
|
||||
break;
|
||||
case 'spu_switch' :
|
||||
echo '<a href="'. wp_nonce_url( admin_url('edit.php?post_type=spucpt&post='. $post_id . '&spu_action=spu_toggle_on'), 'spu_toggle_on', 'spu_nonce') .'"><i class="spu-icon spu-icon-';
|
||||
echo get_post_status( $post_id ) == 'publish' ? 'toggle-on' : 'toggle-off';
|
||||
echo '"></i></a>';
|
||||
break;
|
||||
case 'spu_trigger_class':
|
||||
echo '.spu-open-' . $post_id;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Catch the toggle on/off action and change post status
|
||||
* Redirect to clear url once is completed
|
||||
*/
|
||||
function toggle_on_popup() {
|
||||
//checks
|
||||
if ( ! isset( $_GET['spu_action'] ) || $_GET['spu_action'] != 'spu_toggle_on' )
|
||||
return;
|
||||
if ( !isset( $_GET['spu_nonce'] ) || !wp_verify_nonce($_GET['spu_nonce'], 'spu_toggle_on') )
|
||||
return;
|
||||
if ( empty( $_GET['post'] ) )
|
||||
return;
|
||||
$post_id = esc_attr( $_GET['post'] );
|
||||
$post_status = get_post_status( $post_id );
|
||||
|
||||
$post = array(
|
||||
'ID' => $post_id,
|
||||
'post_status' => $post_status != 'publish' ? 'publish' : 'draft'
|
||||
);
|
||||
wp_update_post( $post );
|
||||
wp_safe_redirect( admin_url('edit.php?post_type=spucpt') );
|
||||
exit;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add filters for tinymce buttons
|
||||
*/
|
||||
public function register_tiny_buttons() {
|
||||
add_filter( "mce_external_plugins", array( $this, "add_button" ) );
|
||||
add_filter( 'mce_buttons', array( $this, 'register_button' ) );
|
||||
}
|
||||
|
||||
/**
|
||||
* Add buton js file
|
||||
* @param [type] $plugin_array [description]
|
||||
*/
|
||||
function add_button( $plugin_array ) {
|
||||
|
||||
$plugin_array['spu'] = plugins_url( 'assets/js/spu-tinymce.js' , __FILE__ );
|
||||
return $plugin_array;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Register button
|
||||
* @param [type] $buttons [description]
|
||||
* @return [type] [description]
|
||||
*/
|
||||
function register_button( $buttons ) {
|
||||
array_push( $buttons, '|', 'spu_button' ); // dropcap', 'recentposts
|
||||
return $buttons;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add popup editor for
|
||||
*/
|
||||
function add_editor() {
|
||||
|
||||
include 'includes/tinymce-editor.php';
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Save into db the dimissed notice
|
||||
* @return [type] [description]
|
||||
*/
|
||||
function ajax_notice_handler() {
|
||||
update_option( 'spu_enabled_cache', TRUE );
|
||||
die();
|
||||
}
|
||||
|
||||
/**
|
||||
* Extra checks needed on admin init
|
||||
*/
|
||||
public function extra_checks(){
|
||||
// second check it's because on 1.9 by mistake was not added SPUP_VERSION
|
||||
if( ( defined('SPUP_VERSION') && version_compare(SPUP_VERSION, '1.9.1', '<') ) || ( defined( 'SPUP_PLUGIN_FILE') && ! defined('SPUP_VERSION') ) ){
|
||||
deactivate_plugins( array('popups-premium/popups-premium.php'));
|
||||
update_option('spu_pair_plugins',true);
|
||||
add_action( 'admin_notices', array('SocialPopup_Notices','pair_plugins' ));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Disabled Gutenberg for Popup CPT
|
||||
*/
|
||||
public function disable_gutenberg($current_status, $post_type) {
|
||||
|
||||
if ($post_type === 'spucpt') {
|
||||
return false;
|
||||
}
|
||||
|
||||
return $current_status;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Class that handle all admin notices
|
||||
*
|
||||
* @since 1.3.1
|
||||
* @package SocialPopup
|
||||
* @subpackage SocialPopup/Admin/Includes
|
||||
* @author Damian Logghe <info@timersys.com>
|
||||
*/
|
||||
class SocialPopup_Notices {
|
||||
|
||||
|
||||
/**
|
||||
* Initialize the class and set its properties.
|
||||
*
|
||||
* @since 1.3.1
|
||||
*/
|
||||
public function __construct( ) {
|
||||
|
||||
if( isset( $_GET['spu_notice'])){
|
||||
update_option('spu_'.esc_attr($_GET['spu_notice']), true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public function rate_plugin(){
|
||||
?><div class="notice-info notice">
|
||||
<h3><i class=" dashicons-before dashicons-share-alt"></i>WordPress Popups Plugin</h3>
|
||||
<p><?php echo sprintf(__( 'We noticed that you have been using our plugin for a while and we would like to ask you a little favour. If you are happy with it and can take a minute please <a href="%s" target="_blank">leave a nice review</a> on WordPress. It will be a tremendous help for us!', 'spu' ), 'https://wordpress.org/support/view/plugin-reviews/popups?filter=5' ); ?></p>
|
||||
<ul>
|
||||
<li><?php echo sprintf(__('<a href="%s" target="_blank">Leave a nice review</a>'),'https://wordpress.org/support/view/plugin-reviews/popups?filter=5');?></li>
|
||||
<li><?php echo sprintf(__('<a href="%s">I already did</a>'), admin_url('?spu_notice=rate_plugin'));?></li>
|
||||
</ul>
|
||||
</div><?php
|
||||
}
|
||||
|
||||
public static function pair_plugins(){
|
||||
?><div class="notice-info error">
|
||||
<h3><i class=" dashicons-before dashicons-share-alt"></i>WordPress Popups Plugin error</h3>
|
||||
<p><?php _e('The Popups premium was automatically deactivated.', 'spu');?></p>
|
||||
<p><?php _e( 'Your current version of Popups premium it\'s not compatible with the core Popups plugin you just installed/updated. Please upgrade your premium version to at least 1.9.1 or downgrade the core version to 1.7.3 .', 'spu' ); ?></p>
|
||||
<p><a href="<?= admin_url('?spu_notice=pair_plugins_dismiss');?>" class="button-primary"><?php _e('Dismiss','spu');?></a></p>
|
||||
</div><?php
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* Upgrader Class
|
||||
*
|
||||
* @description: Upgrade rutines and upgrade messages
|
||||
* @since 1.3.1
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
class SocialPopup_Upgrader {
|
||||
|
||||
public function upgrade_plugin() {
|
||||
global $wpdb;
|
||||
$current_version = get_option('spu-version');
|
||||
|
||||
if( !get_option('spu_plugin_updated') ) {
|
||||
// show feedback box if updating plugin
|
||||
if ( empty( $current_version ) ) {
|
||||
$total = $wpdb->get_var( "SELECT count(*) FROM $wpdb->posts WHERE post_status = 'publish' AND post_type = 'spucpt'" );
|
||||
if ( $total > 0 ) {
|
||||
update_option( 'spu_plugin_updated', true );
|
||||
}
|
||||
} elseif ( ! empty( $current_version ) && version_compare( $current_version, SPU_VERSION, '<' ) ) {
|
||||
update_option( 'spu_plugin_updated', true );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
374
wp-content/plugins/popups/admin/includes/class-welcome.php
Normal file
374
wp-content/plugins/popups/admin/includes/class-welcome.php
Normal file
@@ -0,0 +1,374 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Welcome page class.
|
||||
*/
|
||||
class SPU_Welcome {
|
||||
|
||||
/**
|
||||
* Primary class constructor.
|
||||
*
|
||||
* @since 2.0.0
|
||||
*/
|
||||
public function __construct() {
|
||||
|
||||
add_action( 'admin_menu', [ $this, 'register' ] );
|
||||
add_action( 'admin_head', [ $this, 'hide_menu' ] );
|
||||
add_action( 'admin_enqueue_scripts', [ $this, 'scripts' ] );
|
||||
add_action( 'admin_init', [ $this, 'redirect' ], 9999 );
|
||||
add_action( 'admin_print_scripts', [ $this, 'wppopups_admin_hide_unrelated_notices' ] );
|
||||
if( get_post_type() == 'spucpt' || ( isset($_GET['post_type']) && $_GET['post_type'] == 'spucpt') ) {
|
||||
add_action( 'admin_notices', [ $this, 'popups_small_notice' ] );
|
||||
}
|
||||
}
|
||||
|
||||
public function scripts(){
|
||||
if ( isset($_GET['page']) && $_GET['page'] == 'spu-getting-started' ){
|
||||
wp_enqueue_style( 'spu-admin-css', SPU_PLUGIN_URL .'admin/assets/css/admin.css', '', SocialPopup::VERSION );
|
||||
}
|
||||
}
|
||||
|
||||
public static function popups_small_notice(){
|
||||
?><div class="notice-info error is-dismiseable">
|
||||
<h3><i class=" dashicons-before dashicons-share-alt"></i>Popups plugin is discontinued</h3>
|
||||
<p>Popups plugin is now discontinued and only security updates will be released.</p>
|
||||
<p>Please migrate to <a href="<?= admin_url( 'index.php?page=spu-getting-started' );?>">WP Popups</a>, the most powerful and easy to use popup maker plugin. You will be able to import legacy popups with a few clicks.</p>
|
||||
|
||||
</div><?php
|
||||
}
|
||||
/**
|
||||
* Register the pages to be used for the Welcome screen (and tabs).
|
||||
*
|
||||
* These pages will be removed from the Dashboard menu, so they will
|
||||
* not actually show. Sneaky, sneaky.
|
||||
*
|
||||
* @since 2.0.0
|
||||
*/
|
||||
public function register() {
|
||||
|
||||
// Getting started - shows after installation.
|
||||
add_dashboard_page(
|
||||
esc_html__( 'Popups is discontinued', 'wppopups' ),
|
||||
esc_html__( 'Popups is discontinued', 'popups' ),
|
||||
apply_filters( 'spu_welcome_cap', 'manage_options' ),
|
||||
'spu-getting-started',
|
||||
[ $this, 'output' ]
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Removed the dashboard pages from the admin menu.
|
||||
*
|
||||
* This means the pages are still available to us, but hidden.
|
||||
*
|
||||
* @since 2.0.0
|
||||
*/
|
||||
public function hide_menu() {
|
||||
remove_submenu_page( 'index.php', 'spu-getting-started' );
|
||||
}
|
||||
|
||||
/**
|
||||
* Welcome screen redirect.
|
||||
*
|
||||
* This function checks if a new install or update has just occurred. If so,
|
||||
* then we redirect the user to the appropriate page.
|
||||
*
|
||||
* @since 2.0.0
|
||||
*/
|
||||
public function redirect() {
|
||||
// Check option to disable welcome redirect.
|
||||
if ( ( isset($_GET['page']) && $_GET['page'] == 'spu-getting-started' ) || get_option( 'spu_activation_redirect', false ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Only do this for single site installs.
|
||||
if ( is_network_admin() || isset( $_GET['activate-multi'] ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
// Initial install.
|
||||
wp_safe_redirect( admin_url( 'index.php?page=spu-getting-started' ) );
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Hide unrelated notices in popups
|
||||
*/
|
||||
function wppopups_admin_hide_unrelated_notices() {
|
||||
|
||||
// Bail if we're not on a WP Popups screen or page.
|
||||
if ( ( ! isset($_GET['post_type']) || $_GET['post_type'] == 'spucpt') && get_post_type() !== 'spucpt' && ( empty( $_GET['page'] ) || ( strpos( $_REQUEST['page'], 'spu' ) === false && strpos( $_REQUEST['page'], 'popups' ) === false ) ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
global $wp_filter;
|
||||
|
||||
if ( ! empty( $wp_filter['user_admin_notices']->callbacks ) && is_array( $wp_filter['user_admin_notices']->callbacks ) ) {
|
||||
foreach ( $wp_filter['user_admin_notices']->callbacks as $priority => $hooks ) {
|
||||
foreach ( $hooks as $name => $arr ) {
|
||||
if ( is_object( $arr['function'] ) && $arr['function'] instanceof Closure ) {
|
||||
unset( $wp_filter['user_admin_notices']->callbacks[ $priority ][ $name ] );
|
||||
continue;
|
||||
}
|
||||
if ( ! empty( $arr['function'][0] ) && is_object( $arr['function'][0] ) && strpos( strtolower( get_class( $arr['function'][0] ) ), 'popups' ) !== false ) {
|
||||
continue;
|
||||
}
|
||||
if ( ! empty( $name ) && strpos( $name, 'popups' ) === false ) {
|
||||
unset( $wp_filter['user_admin_notices']->callbacks[ $priority ][ $name ] );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ( ! empty( $wp_filter['admin_notices']->callbacks ) && is_array( $wp_filter['admin_notices']->callbacks ) ) {
|
||||
foreach ( $wp_filter['admin_notices']->callbacks as $priority => $hooks ) {
|
||||
foreach ( $hooks as $name => $arr ) {
|
||||
if ( is_object( $arr['function'] ) && $arr['function'] instanceof Closure ) {
|
||||
unset( $wp_filter['admin_notices']->callbacks[ $priority ][ $name ] );
|
||||
continue;
|
||||
}
|
||||
if ( ! empty( $arr['function'][0] ) && is_object( $arr['function'][0] ) && strpos( strtolower( get_class( $arr['function'][0] ) ), 'popups' ) !== false ) {
|
||||
continue;
|
||||
}
|
||||
if ( ! empty( $name ) && strpos( $name, 'popups' ) === false ) {
|
||||
unset( $wp_filter['admin_notices']->callbacks[ $priority ][ $name ] );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ( ! empty( $wp_filter['all_admin_notices']->callbacks ) && is_array( $wp_filter['all_admin_notices']->callbacks ) ) {
|
||||
foreach ( $wp_filter['all_admin_notices']->callbacks as $priority => $hooks ) {
|
||||
foreach ( $hooks as $name => $arr ) {
|
||||
if ( is_object( $arr['function'] ) && $arr['function'] instanceof Closure ) {
|
||||
unset( $wp_filter['all_admin_notices']->callbacks[ $priority ][ $name ] );
|
||||
continue;
|
||||
}
|
||||
if ( ! empty( $arr['function'][0] ) && is_object( $arr['function'][0] ) && strpos( strtolower( get_class( $arr['function'][0] ) ), 'popups' ) !== false ) {
|
||||
continue;
|
||||
}
|
||||
if ( ! empty( $name ) && strpos( $name, 'popups' ) === false ) {
|
||||
unset( $wp_filter['all_admin_notices']->callbacks[ $priority ][ $name ] );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Getting Started screen. Shows after first install.
|
||||
*
|
||||
* @since 2.0.0
|
||||
*/
|
||||
public function output() {
|
||||
|
||||
?>
|
||||
<div id="wppopups-welcome" class="">
|
||||
|
||||
<div class="container">
|
||||
|
||||
<div class="intro">
|
||||
|
||||
<div class="wppopups-logo-welcome" style="background-image: url(<?php echo 'data:image/svg+xml;base64,' . base64_encode( '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 153 151" width="153" height="151"><defs><image width="151" height="151" id="img1" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJcAAACXCAMAAAAvQTlLAAAAAXNSR0IB2cksfwAAAMBQTFRFAHOqAHOqAHOqAAAAAHOqAHOqAHOqAHOqAHOqAHOqAHOqAHOqAHOqAHOqAHOqAHOqAHOqAHOqAHOqAHOqAHOqAHOqAHOqAHOqAHOqAHOqAHOqAHOqAHOqAHOqAHOqAHOqAHOqL22LZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZm1Y1mKQAAAEB0Uk5TbIBMANj/mOk17gwj1BfhIOPdFtca5SbsMPAp5yQoMhzfcIA+aP989OsjhdQR0RLXGd/ZFRjY1h3cGx7lqLfAXWj80ucAAAE5SURBVHic7djJTgJBFEbhhouAOLSCMjiCeFVUhgbEWd7/rViYKC7ohKRM/5pz9rfy5S6qkoqiXFblLaWosJFVRVy4cOHChetPukqirvKmpquyta3psp1dTZfFe5oui/c1XVatabrs4FDTZfWGpsuaLU2XHR1ruuzkF2AhXHYa/kkK4rKz4BsL47LztqbL4sD/E52L1XXXcIXu0ld3hQsXLly4cOHChQsXLly4cOHChQsXLly4cOHChQsXLly4cOHChQsXLly4cOHChQsXLly4cOHChQsXLly4cP0rV9rkdcrk+t30fp5+K+Lyu3tNl/cHmi7vL29MyOXDkabLk2+YlMvHE02XD6eari+YmssfJpounw00XZ/XhaDLk0dNlz89a7o8edF0+eubpis1XLhw4cKFy+z9I6vmC+sAc2Bjpu3VAAAAAElFTkSuQmCC"/></defs><style>tspan { white-space:pre }</style><use id="Layer 1" href="#img1" x="1" y="0" /></svg>' );?>
|
||||
) !important;">
|
||||
</div>
|
||||
|
||||
<div class="block">
|
||||
<h1><?php esc_html_e( 'Popups plugin it\'s being discontinued but..', 'popups' ); ?></h1>
|
||||
<h6><?php _e( 'It\'s being replaced for the most powerful and intuitive plugin called', 'popups' ); ?></h6>
|
||||
<h1 style="margin: 15px 0 0 0;font-size: 29px;"> <strong>WP Popups</strong></h1>
|
||||
</div>
|
||||
|
||||
<iframe style="margin: 0 auto;display: block;" width="560" height="315" src="https://www.youtube.com/embed/_yJ-xHVOQYw" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
|
||||
|
||||
<div class="block">
|
||||
|
||||
<h6><?php esc_html_e( 'WP Popups was coded to be the most powerful Popup builder. Once installed you can migrate your legacy popups easily with a few clicks.', 'popups' ); ?></h6>
|
||||
|
||||
<div class="button-wrap wppopups-clear">
|
||||
<div class="left">
|
||||
<a href="https://wordpress.org/plugins/wp-popups-lite/"
|
||||
class="wppopups-btn wppopups-btn-block wppopups-btn-lg wppopups-btn-blue">
|
||||
<?php esc_html_e( 'Download WP Popups', 'popups' ); ?>
|
||||
</a>
|
||||
</div>
|
||||
<div class="right">
|
||||
<a href="https://wppopups.com/docs/how-to-import-legacy-popups-from-old-plugin/?utm_source=WordPress&utm_medium=link&utm_campaign=legacy-upgrade-page"
|
||||
class="wppopups-btn wppopups-btn-block wppopups-btn-lg wppopups-btn-grey"
|
||||
target="_blank" rel="noopener noreferrer">
|
||||
<?php esc_html_e( 'IMPORT LEGACY POPUPS', 'popups' ); ?>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p style="text-align: center;margin-top: 30px;">Popups plugin will only receive security updates for a year and after that it will be discontinued. Please migrate to WP Popups as soon as possible.</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div><!-- /.intro -->
|
||||
|
||||
<div class="features">
|
||||
|
||||
<div class="block">
|
||||
|
||||
<h1><?php esc_html_e( 'WP Popups', 'popups' ); ?></h1>
|
||||
<h6><?php esc_html_e( 'WP Popups is the best multipurpose popup maker plugin for WordPress.', 'popups' ); ?></h6>
|
||||
|
||||
<div class="feature-list wppopups-clear">
|
||||
|
||||
<div class="feature-block first">
|
||||
<img src="<?php echo WPPOPUPS_PLUGIN_URL; ?>assets/images/icons/custom-templates.svg">
|
||||
<h5><?php esc_html_e( 'Template Builder', 'popups' ); ?></h5>
|
||||
<p><?php esc_html_e( 'Use a prebuilt template or create your own. Easily export them to use it in all your sites!', 'popups' ); ?></p>
|
||||
</div>
|
||||
|
||||
<div class="feature-block last">
|
||||
<img src="<?php echo WPPOPUPS_PLUGIN_URL; ?>assets/images/icons/display-rules.svg">
|
||||
<h5><?php esc_html_e( '30+ Display rules', 'popups' ); ?></h5>
|
||||
<p><?php esc_html_e( 'Trigger popup based on multiple rules. There is no other Popup plugin with the same flexibility!', 'popups' ); ?></p>
|
||||
</div>
|
||||
|
||||
<div class="feature-block first">
|
||||
<img src="<?php echo WPPOPUPS_PLUGIN_URL; ?>assets/images/icons/animations.svg">
|
||||
<h5><?php esc_html_e( '45+ Animations', 'popups' ); ?></h5>
|
||||
<p><?php esc_html_e( 'Animate your popup with some magic to capture your users attention.', 'popups' ); ?></p>
|
||||
</div>
|
||||
|
||||
<div class="feature-block last">
|
||||
<img src="<?php echo WPPOPUPS_PLUGIN_URL; ?>assets/images/icons/triggers.svg">
|
||||
<h5><?php esc_html_e( 'Multiple triggers', 'popups' ); ?></h5>
|
||||
<p><?php esc_html_e( 'Show popup by using one more triggers combined,positions.svg like when user leaves the page, after X seconds, etc.', 'popups' ); ?></p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<h1><?php esc_html_e( 'Premium features', 'popups' ); ?></h1>
|
||||
|
||||
<h6><?php esc_html_e( 'Upgrade to WP Popups to unlock all the magic!', 'popups' ); ?></h6>
|
||||
|
||||
<div class="feature-list wppopups-clear">
|
||||
|
||||
<div class="feature-block first">
|
||||
<img src="<?php echo WPPOPUPS_PLUGIN_URL; ?>assets/images/icons/ab-test.svg">
|
||||
<h5><?php esc_html_e( 'A/B Testing', 'popups' ); ?></h5>
|
||||
<p><?php esc_html_e( 'Create different versions, measure results and choose the best popup for your campaign.', 'popups' ); ?></p>
|
||||
</div>
|
||||
|
||||
<div class="feature-block last">
|
||||
<img src="<?php echo WPPOPUPS_PLUGIN_URL; ?>assets/images/icons/analytics.svg">
|
||||
<h5><?php esc_html_e( 'Analytics', 'popups' ); ?></h5>
|
||||
<p><?php esc_html_e( 'Track conversions and impressions of your popups and integrate it with Google Analytics.', 'popups' ); ?></p>
|
||||
</div>
|
||||
|
||||
<div class="feature-block first">
|
||||
<img src="<?php echo WPPOPUPS_PLUGIN_URL; ?>assets/images/icons/email-marketing.svg">
|
||||
<h5><?php esc_html_e( 'Email Marketing', 'popups' ); ?></h5>
|
||||
<p><?php esc_html_e( 'Integrates with all the popular email providers. Capture leads easily!', 'popups' ); ?></p>
|
||||
</div>
|
||||
|
||||
<div class="feature-block last">
|
||||
<img src="<?php echo WPPOPUPS_PLUGIN_URL; ?>assets/images/icons/geolocation.svg">
|
||||
<h5><?php esc_html_e( 'Geolocation Addon', 'popups' ); ?></h5>
|
||||
<p><?php esc_html_e( 'With the geolocation addon you can show the popup just to geotargeted users of your choice.', 'popups' ); ?></p>
|
||||
</div>
|
||||
|
||||
<div class="feature-block first">
|
||||
<img src="<?php echo WPPOPUPS_PLUGIN_URL; ?>assets/images/icons/age-verification.svg">
|
||||
<h5><?php esc_html_e( 'Age Verification Addon', 'popups' ); ?></h5>
|
||||
<p><?php esc_html_e( 'Create an Age Verification Popup to ask for user\'s age before seeing content.', 'popups' ); ?></p>
|
||||
</div>
|
||||
|
||||
<div class="feature-block last">
|
||||
<img src="<?php echo WPPOPUPS_PLUGIN_URL; ?>assets/images/icons/idle-logout.svg">
|
||||
<h5><?php esc_html_e( 'Idle Logout Addon', 'popups' ); ?></h5>
|
||||
<p><?php esc_html_e( 'Log out your users after inactivity time, but give them a chance to continue logged by showing a popup.', 'popups' ); ?></p>
|
||||
</div>
|
||||
|
||||
<div class="feature-block first">
|
||||
<img src="<?php echo WPPOPUPS_PLUGIN_URL; ?>assets/images/icons/leaving-notice.svg">
|
||||
<h5><?php esc_html_e( 'Leaving Notice Addon', 'popups' ); ?></h5>
|
||||
<p><?php esc_html_e( 'Show a warning to users when they click on external links before they leave your site.', 'popups' ); ?></p>
|
||||
</div>
|
||||
|
||||
<div class="feature-block last">
|
||||
<img src="<?php echo WPPOPUPS_PLUGIN_URL; ?>assets/images/icons/login-registration.svg">
|
||||
<h5><?php esc_html_e( 'AJAX Login/Registration Addon', 'popups' ); ?></h5>
|
||||
<p><?php esc_html_e( 'Convert your popup into a login and registration form powered by ajax.', 'popups' ); ?></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="button-wrap">
|
||||
<a href="https://wppopups.com/features/?utm_source=WordPress&utm_medium=link&utm_campaign=liteplugin"
|
||||
class="wppopups-btn wppopups-btn-lg wppopups-btn-grey" rel="noopener noreferrer"
|
||||
target="_blank">
|
||||
<?php esc_html_e( 'See All Features', 'popups' ); ?>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="upgrade-cta upgrade">
|
||||
|
||||
<div class="block wppopups-clear upgrade-welcome-cta">
|
||||
|
||||
<div class="left">
|
||||
<h2><?php esc_html_e( 'Upgrade to PRO', 'popups' ); ?></h2>
|
||||
<ul>
|
||||
<li>
|
||||
<span class="dashicons dashicons-yes"></span> <?php esc_html_e( 'Analytics', 'popups' ); ?>
|
||||
</li>
|
||||
<li>
|
||||
<span class="dashicons dashicons-yes"></span> <?php esc_html_e( 'Exit intent', 'popups' ); ?>
|
||||
</li>
|
||||
<li>
|
||||
<span class="dashicons dashicons-yes"></span> <?php esc_html_e( 'Optin templates', 'popups' ); ?>
|
||||
</li>
|
||||
<li>
|
||||
<span class="dashicons dashicons-yes"></span> <?php esc_html_e( 'A/B Testing', 'popups' ); ?>
|
||||
</li>
|
||||
<li>
|
||||
<span class="dashicons dashicons-yes"></span> <?php esc_html_e( 'Email Marketing', 'popups' ); ?>
|
||||
</li>
|
||||
<li>
|
||||
<span class="dashicons dashicons-yes"></span> <?php esc_html_e( 'More Animations', 'popups' ); ?>
|
||||
</li>
|
||||
<li>
|
||||
<span class="dashicons dashicons-yes"></span> <?php esc_html_e( 'More positions', 'popups' ); ?>
|
||||
</li>
|
||||
<li>
|
||||
<span class="dashicons dashicons-yes"></span> <?php esc_html_e( 'Geolocation', 'popups' ); ?>
|
||||
</li>
|
||||
<li>
|
||||
<span class="dashicons dashicons-yes"></span> <?php esc_html_e( 'More triggers', 'popups' ); ?>
|
||||
</li>
|
||||
<li>
|
||||
<span class="dashicons dashicons-yes"></span> <?php esc_html_e( 'Multiple addons', 'popups' ); ?>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="right">
|
||||
<a href="https://wppopups.com/pricing/?utm_source=WordPress&utm_medium=link&utm_campaign=legacy-upgrade-page" rel="noopener noreferrer"
|
||||
target="_blank"
|
||||
class="wppopups-btn wppopups-btn-block wppopups-btn-lg wppopups-btn-blue wppopups-upgrade-modal">
|
||||
<?php esc_html_e( 'Upgrade Now', 'popups' ); ?>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div><!-- /.container -->
|
||||
|
||||
</div><!-- /#wppopups-welcome -->
|
||||
<?php
|
||||
update_option('spu_activation_redirect',true);
|
||||
}
|
||||
}
|
||||
|
||||
new SPU_Welcome();
|
||||
1
wp-content/plugins/popups/admin/includes/index.php
Normal file
1
wp-content/plugins/popups/admin/includes/index.php
Normal file
@@ -0,0 +1 @@
|
||||
<?php // Silence is golden
|
||||
38
wp-content/plugins/popups/admin/includes/tinymce-editor.php
Normal file
38
wp-content/plugins/popups/admin/includes/tinymce-editor.php
Normal file
@@ -0,0 +1,38 @@
|
||||
<form name="form" autocomplete="off">
|
||||
<div id="spu_editor" class="shortcode_editor" title="Insert popup link to page" style="display:none;height:500px">
|
||||
<div style="display: none;"><!--hack for chrome-->
|
||||
<input type="text" id="PreventChromeAutocomplete" name="PreventChromeAutocomplete" autocomplete="address-level4" />
|
||||
</div>
|
||||
<table class="form-table">
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<p>
|
||||
<?php _e('Choose which popup you want to insert. This will generate an href link that you can use with text or images', 'spu');?>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><label for="spu_what"><?php _e( 'Choose:', 'spu' ); ?></label></th>
|
||||
<td>
|
||||
<select name="spu-post" id="spu-posts">
|
||||
<option value=""><?php _e('Choose one','spu');?></option>
|
||||
<?php
|
||||
|
||||
global $wpdb;
|
||||
$popups = $wpdb->get_results( "SELECT post_title, ID FROM $wpdb->posts WHERE post_status = 'publish' AND post_type = 'spucpt'");
|
||||
|
||||
// The Loop
|
||||
if ( $popups ) {
|
||||
foreach( $popups as $po ) {
|
||||
echo '<option value="'.$po->ID.'">'.$po->post_title.'</option>"';
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</div>
|
||||
</form>
|
||||
1
wp-content/plugins/popups/admin/views/index.php
Normal file
1
wp-content/plugins/popups/admin/views/index.php
Normal file
@@ -0,0 +1 @@
|
||||
<?php // Silence is golden
|
||||
@@ -0,0 +1,211 @@
|
||||
<?php
|
||||
// Exit if accessed directly
|
||||
if ( !defined( 'ABSPATH' ) ) exit;?>
|
||||
|
||||
<div class="spu-admin-options">
|
||||
|
||||
<?php do_action( 'spu/metaboxes/before_appearance_options', $opts );?>
|
||||
<h3>Overlay</h3>
|
||||
<table class="form-table">
|
||||
<tr>
|
||||
<th><label class="spu-label" for="spu_bgopacity"><?php _e( 'Overlay opacity', 'popups' ); ?></label></th>
|
||||
<td>
|
||||
<input type="number" id="spu_bgopacity" name="spu[css][bgopacity]" min="0" step="0.1" max="1" value="<?php echo esc_attr($opts['css']['bgopacity']); ?>" />
|
||||
<p class="spu-help"><?php _e( 'Leave at 0 for no background. Max value is 1', 'popups' ); ?></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><label class="spu-label" for="spu_bgcolor"><?php _e( 'Overlay color', 'popups' ); ?></label></th>
|
||||
<td>
|
||||
<input id="spu_bgcolor" name="spu[css][overlay_color]" type="text" class="spu-color-field" value="<?php echo esc_attr($opts['css']['overlay_color']); ?>" />
|
||||
</td>
|
||||
</tr>
|
||||
<?php do_action( 'spu/metaboxes/after_overlay_appearance', $opts );?>
|
||||
<tr><th colspan="2"><?php if( ! defined('SPUP_VERSION') ) echo sprintf( __( 'On <a href="%s">Premium version</a> you can have full screen popups, or sticky popups, insert optin forms inside yours post and much more!','popups'), 'https://timersys.com/plugins/popups-premium/?utm_source=Plugin&utm_medium=appearance_overlay&utm_campaign=Popups%20Premium');?></th></tr>
|
||||
</table>
|
||||
<h3>Popup Background</h3>
|
||||
<table class="form-table">
|
||||
<tr>
|
||||
<th><label class="spu-label" for="spu-background-color"><?php _e( 'Background color', 'popups' ); ?></label></th>
|
||||
<td>
|
||||
<input id="spu-background-color" name="spu[css][background_color]" type="text" class="spu-color-field" value="<?php echo esc_attr($opts['css']['background_color']); ?>" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><label class="spu-label" for="spu_background_opacity"><?php _e( 'Background opacity', 'popups' ); ?></label></th>
|
||||
<td>
|
||||
<input type="number" id="spu_background_opacity" name="spu[css][background_opacity]" min="0" step="0.1" max="1" value="<?php echo esc_attr($opts['css']['background_opacity']); ?>" />
|
||||
<p class="spu-help"><?php _e( 'Leave at 0 for no background. Max value is 1', 'popups' ); ?></p>
|
||||
</td>
|
||||
</tr>
|
||||
<?php do_action( 'spu/metaboxes/after_background_appearance', $opts );?>
|
||||
<tr><th colspan="2"><?php if( ! defined('SPUP_VERSION') ) echo sprintf( __( 'Check <a href="%s">Premium version</a> to add background images or choose a pre made optin theme!','popups'), 'https://timersys.com/plugins/popups-premium/?utm_source=Plugin&utm_medium=appearance_bg&utm_campaign=Popups%20Premium');?></th></tr>
|
||||
</table>
|
||||
<h3>Popup Box</h3>
|
||||
<table class="form-table">
|
||||
<tr class="hide-for-optins">
|
||||
<th><label class="spu-label" for="spu-width"><?php _e( 'Box width', 'popups' ); ?></label></th>
|
||||
<td>
|
||||
<input id="spu-width" name="spu[css][width]" id="spu-box-width" type="text" class="small" value="<?php echo esc_attr($opts['css']['width']); ?>" />
|
||||
<p class="spu-help"><?php _e( 'Max size the responsive popup will grow. You can use % or px.', 'popups' ); ?></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="hide-for-optins">
|
||||
<th><label class="spu-label" for="spu-padding"><?php _e( 'Padding', 'popups' ); ?></label></th>
|
||||
<td>
|
||||
<input id="spu-padding" name="spu[css][padding]" id="spu-box-padding" type="number" class="small" value="<?php echo esc_attr($opts['css']['padding']); ?>" />px
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><label class="spu-label" for="spu-color"><?php _e( 'Text color', 'popups' ); ?></label></th>
|
||||
<td>
|
||||
<input id="spu-color" name="spu[css][color]" type="text" class="spu-color-field" value="<?php echo esc_attr($opts['css']['color']); ?>" />
|
||||
</td>
|
||||
</tr>
|
||||
<?php do_action( 'spu/metaboxes/after_box_appearance', $opts );?>
|
||||
</table>
|
||||
<h3>Popup Shadow</h3>
|
||||
<table class="form-table">
|
||||
<tr>
|
||||
<th><label class="spu-label" for="spu-shadow-color"><?php _e( 'Shadow Color', 'popups' ); ?></label></th>
|
||||
<td>
|
||||
<input id="spu-shadow-color" name="spu[css][shadow_color]" type="text" class="spu-color-field" value="<?php echo esc_attr($opts['css']['shadow_color']); ?>" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><label class="spu-label" for="spu-shadow-type"><?php _e( 'Shadow Type', 'popups' ); ?></label></th>
|
||||
<td>
|
||||
<select name="spu[css][shadow_type]" id="spu-shadow-type">
|
||||
<option value="inset" <?php selected('inset',esc_attr($opts['css']['shadow_type']));?>>Inset</option>
|
||||
<option value="outset" <?php selected('outset',esc_attr($opts['css']['shadow_type']));?>>Outset</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><label class="spu-label" for="spu-shadow-x"><?php _e( 'X Offset', 'popups' ); ?></label></th>
|
||||
<td>
|
||||
<input id="spu-shadow-x" name="spu[css][shadow_x_offset]" type="number" step="1" class="small" value="<?php echo esc_attr($opts['css']['shadow_x_offset']); ?>" />px
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><label class="spu-label" for="spu-shadow-y"><?php _e( 'Y Offset', 'popups' ); ?></label></th>
|
||||
<td>
|
||||
<input id="spu-shadow-y" name="spu[css][shadow_y_offset]" type="number" step="1" class="small" value="<?php echo esc_attr($opts['css']['shadow_y_offset']); ?>" />px
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><label class="spu-label" for="spu-shadow-blur"><?php _e( 'Blur', 'popups' ); ?></label></th>
|
||||
<td>
|
||||
<input id="spu-shadow-blur" name="spu[css][shadow_blur]" type="number" step="1" class="small" value="<?php echo esc_attr($opts['css']['shadow_blur']); ?>" />px
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><label class="spu-label" for="spu-shadow-spread"><?php _e( 'Spread', 'popups' ); ?></label></th>
|
||||
<td>
|
||||
<input id="spu-shadow-spread" name="spu[css][shadow_spread]" type="number" step="1" class="small" value="<?php echo esc_attr($opts['css']['shadow_spread']); ?>" />px
|
||||
</td>
|
||||
</tr>
|
||||
<?php do_action( 'spu/metaboxes/after_shadow_appearance', $opts );?>
|
||||
</table>
|
||||
<h3>Border</h3>
|
||||
|
||||
<table class="form-table">
|
||||
<tr>
|
||||
<th><label class="spu-label" for="spu-border-color"><?php _e( 'Border color', 'popups' ); ?></label></th>
|
||||
<td>
|
||||
<input name="spu[css][border_color]" id="spu-border-color" type="text" class="spu-color-field" value="<?php echo esc_attr($opts['css']['border_color']); ?>" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><label class="spu-label" for="spu-border-width"><?php _e( 'Border width', 'popups' ); ?></label></th>
|
||||
<td>
|
||||
<input name="spu[css][border_width]" id="spu-border-width" type="number" min="0" max="25" value="<?php echo esc_attr($opts['css']['border_width']); ?>" /> px
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><label class="spu-label" for="spu-border-radius"><?php _e( 'Border radius', 'popups' ); ?></label></th>
|
||||
<td>
|
||||
<input name="spu[css][border_radius]" id="spu-border-radius" type="number" min="0" max="25" value="<?php echo esc_attr($opts['css']['border_radius']); ?>" /> px
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><label class="spu-label" for="spu-border-type"><?php _e( 'Border type', 'popups' ); ?></label></th>
|
||||
<td>
|
||||
<select name="spu[css][border_type]" id="spu-border-type">
|
||||
<option value="none" <?php selected('none',esc_attr($opts['css']['border_type']));?>>None</option>
|
||||
<option value="solid" <?php selected('solid',esc_attr($opts['css']['border_type']));?>>Solid</option>
|
||||
<option value="dotted" <?php selected('dotted',esc_attr($opts['css']['border_type']));?>>Dotted</option>
|
||||
<option value="dashed" <?php selected('dashed',esc_attr($opts['css']['border_type']));?>>Dashed</option>
|
||||
<option value="double" <?php selected('double',esc_attr($opts['css']['border_type']));?>>Double</option>
|
||||
<option value="groove" <?php selected('groove',esc_attr($opts['css']['border_type']));?>>Groove</option>
|
||||
<option value="inset" <?php selected('inset',esc_attr($opts['css']['border_type']));?>>Inset</option>
|
||||
<option value="outset" <?php selected('outset',esc_attr($opts['css']['border_type']));?>>Outset</option>
|
||||
<option value="ridge" <?php selected('ridge',esc_attr($opts['css']['border_type']));?>>Ridge</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<?php do_action( 'spu/metaboxes/after_border_appearance', $opts );?>
|
||||
</table>
|
||||
<h3>Close</h3>
|
||||
<table class="form-table">
|
||||
<tr>
|
||||
<th><label class="spu-label" for="spu-close-color"><?php _e( 'Color', 'popups' ); ?></label></th>
|
||||
<td>
|
||||
<input name="spu[css][close_color]" id="spu-close-color" type="text" class="spu-color-field" value="<?php echo esc_attr($opts['css']['close_color']); ?>" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><label class="spu-label" for="spu-close-color"><?php _e( 'Hover Color', 'popups' ); ?></label></th>
|
||||
<td>
|
||||
<input name="spu[css][close_hover_color]" id="spu-close-color" type="text" class="spu-color-field" value="<?php echo esc_attr($opts['css']['close_hover_color']); ?>" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><label class="spu-label" for="spu-close-color"><?php _e( 'Shadow Color', 'popups' ); ?></label></th>
|
||||
<td>
|
||||
<input name="spu[css][close_shadow_color]" id="spu-close-color" type="text" class="spu-color-field" value="<?php echo esc_attr($opts['css']['close_shadow_color']); ?>" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><label class="spu-label" for="spu-close-size"><?php _e( 'Size', 'popups' ); ?></label></th>
|
||||
<td>
|
||||
<input name="spu[css][close_size]" id="spu-close-size" type="text" class="" value="<?php echo esc_attr($opts['css']['close_size']); ?>" />
|
||||
<p class="spu-help"><?php _e( 'You can use px, em or rem units', 'popups' ); ?></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><label class="spu-label" for="spu-border-radius"><?php _e( 'Position', 'popups' ); ?></label></th>
|
||||
<td>
|
||||
<select name="spu[css][close_position]" id="spu-border-type">
|
||||
<option value="top_right" <?php selected('top_right',esc_attr($opts['css']['close_position']));?>>Top right</option>
|
||||
<option value="top_left" <?php selected('top_left',esc_attr($opts['css']['close_position']));?>>Top Left</option>
|
||||
<option value="bottom_right" <?php selected('bottom_right',esc_attr($opts['css']['close_position']));?>>Bottom Right</option>
|
||||
<option value="bottom_left" <?php selected('bottom_left',esc_attr($opts['css']['close_position']));?>>Bottom Left</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<?php do_action( 'spu/metaboxes/after_close_appearance', $opts );?>
|
||||
</table>
|
||||
<h3>CSS</h3>
|
||||
<table class="form-table">
|
||||
<tr>
|
||||
<th><label class="spu-label" for="spu-custom-css"><?php _e( 'Custom CSS', 'popups' ); ?></label></th>
|
||||
<td>
|
||||
<div id="custom_css_container">
|
||||
<div name="custom_css" id="custom_css" style="border: 1px solid #DFDFDF; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; width: 100%; height: 200px; position: relative;"></div>
|
||||
</div>
|
||||
<?php
|
||||
if( !isset( $opts['css']['custom_css'] ) ) {
|
||||
$popup_id = get_the_id();
|
||||
$opts['css']['custom_css'] = "/*
|
||||
* Add custom CSS for this popup
|
||||
* Be sure to start your rules with #spu-{$popup_id} { } and use !important when needed to override plugin rules
|
||||
*/";
|
||||
}
|
||||
?>
|
||||
<textarea name="spu[css][custom_css]" id="spu-custom-css" style="display: none;"><?php echo esc_attr($opts['css']['custom_css']); ?></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<?php do_action( 'spu/metaboxes/after_appearance_options', $opts );?>
|
||||
</div>
|
||||
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
// Exit if accessed directly
|
||||
if ( !defined( 'ABSPATH' ) ) exit;
|
||||
?>
|
||||
|
||||
<p><?php _e( 'If you like this plugin, consider supporting it by donating.', 'popups' );?></p>
|
||||
|
||||
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=K4T6L69EV9G2Q" class="button-primary"><?php _e( 'Donate with PayPal', 'popups' );?></a>
|
||||
|
||||
<p><?php _e( 'Some other ways to support this plugin', 'popups' );?></p>
|
||||
<ul class="ul-square">
|
||||
<li><a href="http://wordpress.org/support/view/plugin-reviews/popups?rate=5#postform" target="_blank"><?php _e( 'Leave a ★★★★★ review on WordPress.org', 'popups' );?></a></li>
|
||||
<li><a href="https://timersys.com/free-plugins/popups/" target="_blank"><?php _e( 'Write about Popups on your blog', 'popups' );?></a></li>
|
||||
<li><a href="http://twitter.com/intent/tweet/?text=I+am+using+Social+PopUP+on+my+WordPress+site.+It%27s+great%21&via=chifliiii&url=http%3A%2F%2Fwordpress.org%2Fplugins%2Fpopups%2F" target="_blank"><?php _e( 'Tweet about Popups', 'popups' );?></a></li>
|
||||
<li><a href="http://wordpress.org/plugins/popups/#compatibility"><?php _e( 'Vote "works" on the WordPress.org plugin page', 'popups' );?></a></li>
|
||||
</ul>
|
||||
@@ -0,0 +1,67 @@
|
||||
<?php
|
||||
// Exit if accessed directly
|
||||
if ( !defined( 'ABSPATH' ) ) exit;
|
||||
?>
|
||||
|
||||
<p><?php _e( 'You have some social shortcodes to use that will print a Facebook like, a Google+ Follow and a Twitter follow. Check the available options and <strong>configure them with your social accounts</strong>:', 'popups' );?></p>
|
||||
|
||||
<p><strong><?php _e( 'Facebook Page', 'popups' );?>:</strong></p>
|
||||
<p>
|
||||
[spu-facebook-page href="" name="" show_faces="" hide_cover="" width=""]
|
||||
</p>
|
||||
<a href="fb-opts" onclick="jQuery('#fbpage-opts').slideToggle();return false;"><?php _e( 'View Facebook Page Options', 'popups' );?></a>
|
||||
<ul id="fbpage-opts" style="display:none;">
|
||||
<li><b>href:</b> <?php _e( 'Your Facebook page url', 'popups' );?></li>
|
||||
<li><b>name:</b> <?php _e( 'Your page name', 'popups' );?></li>
|
||||
<li><b>show_faces:</b> <?php _e( 'true|false <b>Default value:</b> true', 'popups' );?></li>
|
||||
<li><b>hide_cover:</b> <?php _e( 'true|false <b>Default value:</b> false', 'popups' );?></li>
|
||||
<li><b>width:</b> <?php _e( 'number <b>Default value:</b> 500', 'popups' );?></b></li>
|
||||
</ul>
|
||||
|
||||
<p><strong><?php _e( 'Facebook Button', 'popups' );?>:</strong></p>
|
||||
<p>
|
||||
[spu-facebook href="" layout="" show_faces="" share="" action="" width=""]
|
||||
</p>
|
||||
<a href="fb-opts" onclick="jQuery('#fb-opts').slideToggle();return false;"><?php _e( 'View Facebook Options', 'popups' );?></a>
|
||||
<ul id="fb-opts" style="display:none;">
|
||||
<li><b>href:</b> <?php _e( 'Your Facebook page url', 'popups' );?></li>
|
||||
<li><b>layout:</b> <?php _e( 'standard, box_count, button <b>Default value:</b> button_count', 'popups' );?></li>
|
||||
<li><b>show_faces:</b> <?php _e( 'true <b>Default value:</b> false', 'popups' );?></li>
|
||||
<li><b>share:</b> <?php _e( 'true <b>Default value:</b> false', 'popups' );?></li>
|
||||
<li><b>action:</b> <?php _e( 'recommend <b>Default value:</b> like', 'popups' );?></li>
|
||||
<li><b>width:</b> <?php _e( 'number <b>Default value:</b>', 'popups' );?></li>
|
||||
</ul>
|
||||
<p><strong><?php _e( 'Google+ Button', 'popups' );?>:</strong></p>
|
||||
<p>
|
||||
[spu-google url="" size="" annotation=""]
|
||||
</p>
|
||||
<a href="go-opts" onclick="jQuery('#go-opts').slideToggle();return false;"><?php _e( 'View Google+ Options', 'popups' );?></a>
|
||||
<ul id="go-opts" style="display:none;">
|
||||
<li><b>url:</b> <?php _e( 'Your Google+ url', 'popups' );?></li>
|
||||
<li><b>type:</b> g-plusone, g-follow <?php _e( '<b>Default value:</b>', 'popups' );?>g-plusone</li>
|
||||
<li><b>size:</b> <?php _e( 'small, standard, tall <b>Default value:</b> medium', 'popups' );?></li>
|
||||
<li><b>annotation:</b> <?php _e( 'inline, none <b>Default value:</b> bubble', 'popups' );?></li>
|
||||
</ul>
|
||||
<p><strong><?php _e( 'Twitter Button', 'popups' );?>:</strong></p>
|
||||
<p>
|
||||
[spu-twitter user="" show_count="" size="" lang=""]
|
||||
</p>
|
||||
<a href="tw-opts" onclick="jQuery('#tw-opts').slideToggle();return false;"><?php _e( 'View Twitter Options', 'popups' );?></a>
|
||||
<ul id="tw-opts" style="display:none;">
|
||||
<li><b>user:</b> <?php _e( 'Your Twitter user <b>Default value: </b>', 'popups' ); echo ' ' . apply_filters( 'spu/social/tw_user', 'chifliiiii' ); ?></li>
|
||||
<li><b>show_count:</b> <?php _e( 'false <b>Default value:</b> true', 'popups' );?></li>
|
||||
<li><b>size:</b> <?php _e( 'large <b>Default value:</b> ""', 'popups' );?></li>
|
||||
<li><b>lang:</b> </li>
|
||||
</ul>
|
||||
<h3 style="padding-left:0;margin: 20px 0;"><strong><?php _e('Other available Shortcodes:', 'popups' );?></strong></h3>
|
||||
<p><strong><?php _e( 'Close Button', 'popups' );?>:</strong></p>
|
||||
<p>
|
||||
[spu-close class="" text="" align="" conversion="false"]
|
||||
</p>
|
||||
<a href="close-opts" onclick="jQuery('#close-opts').slideToggle();return false;"><?php _e( 'View Close shortcode Options', 'popups' );?></a>
|
||||
<ul id="close-opts" style="display:none;">
|
||||
<li><b>class:</b> <?php _e( 'Pass a custom class to style your button', 'popups' );?></li>
|
||||
<li><b>text:</b> <?php _e( 'Button label - <b>Default value:</b> Close', 'popups' );?></li>
|
||||
<li><b>conversion:</b> <?php _e( 'Conversion button?- <b>Default value:</b> False', 'popups' );?></li>
|
||||
<li><b>align:</b> <?php _e( 'left, right, center, none - <b>Default value:</b> center', 'popups' );?></li>
|
||||
</ul>
|
||||
@@ -0,0 +1,149 @@
|
||||
<?php
|
||||
// Exit if accessed directly
|
||||
if ( !defined( 'ABSPATH' ) ) exit;?>
|
||||
<div class="spu-admin-options">
|
||||
<h3>Position</h3>
|
||||
<table class="form-table">
|
||||
|
||||
<?php do_action( 'spu/metaboxes/before_display_options', $opts );?>
|
||||
<tr valign="top">
|
||||
<th><label for="spu_position"><?php _e( 'Box Position', 'popups' ); ?></label></th>
|
||||
<td>
|
||||
<select id="spu_position" name="spu[css][position]" class="widefat">
|
||||
<option value="centered" <?php selected($opts['css']['position'], 'centered'); ?>><?php _e( 'Centered', 'popups' ); ?></option>
|
||||
<option value="top-left" <?php selected($opts['css']['position'], 'top-left'); ?>><?php _e( 'Top Left', 'popups' ); ?></option>
|
||||
<option value="top-right" <?php selected($opts['css']['position'], 'top-right'); ?>><?php _e( 'Top Right', 'popups' ); ?></option>
|
||||
<option value="bottom-left" <?php selected($opts['css']['position'], 'bottom-left'); ?>><?php _e( 'Bottom Left', 'popups' ); ?></option>
|
||||
<option value="bottom-right" <?php selected($opts['css']['position'], 'bottom-right'); ?>><?php _e( 'Bottom Right', 'popups' ); ?></option>
|
||||
<option value="top-bar" <?php selected($opts['css']['position'], 'top-bar'); ?>><?php _e( 'Top Bar', 'popups' ); ?></option>
|
||||
<option value="bottom-bar" <?php selected($opts['css']['position'], 'bottom-bar'); ?>><?php _e( 'Bottom Bar', 'popups' ); ?></option>
|
||||
<?php do_action( 'spu/metaboxes/positions', $opts );?>
|
||||
</select>
|
||||
</td>
|
||||
<td colspan="2"></td>
|
||||
</tr>
|
||||
<tr><th colspan="2"><?php if( ! defined('SPUP_VERSION') ) echo sprintf( __( 'On <a href="%s">Premium version</a> there are more cool positions and popup styles.','popups'), 'https://timersys.com/plugins/popups-premium/?utm_source=Plugin&utm_medium=options_position&utm_campaign=Popups%20Premium');?></th></tr>
|
||||
<?php do_action( 'spu/metaboxes/after_position_options', $opts );?>
|
||||
</table>
|
||||
<h3>Trigger</h3>
|
||||
<table class="form-table">
|
||||
<tr valign="top">
|
||||
<th><label for="spu_trigger"><?php _e( 'Trigger action', 'popups' ); ?></label></th>
|
||||
<td class="spu-sm">
|
||||
<select id="spu_trigger" name="spu[trigger]" class="widefat">
|
||||
|
||||
<option value="seconds" <?php selected($opts['trigger'], 'seconds'); ?>><?php _e( 'seconds after page load', 'popups' ); ?></option>
|
||||
<option value="percentage" <?php selected($opts['trigger'], 'percentage'); ?>>% <?php _e( 'of page height', 'popups' ); ?></option>
|
||||
<option value="pixels" <?php selected($opts['trigger'], 'pixels'); ?>><?php _e( 'Scrolled down pixels', 'popups' ); ?></option>
|
||||
<option value="manual" <?php selected($opts['trigger'], 'manual'); ?>><?php _e( 'Manual Triggering', 'popups' ); ?></option>
|
||||
<?php do_action( 'spu/metaboxes/trigger_options', $opts );?>
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
<input type="number" class="spu-trigger-number" name="spu[trigger_number]" min="0" value="<?php echo esc_attr($opts['trigger_number']); ?>" />
|
||||
<?php do_action( 'spu/metaboxes/trigger_values', $opts );?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="margin:0;padding:0"></td><td style="position: relative;top: -15px;margin:0;padding:0 0 0 10px"><p class="help"><?php _e( 'Choose how the popup will be triggered on the page', 'popups' ); ?></p></td>
|
||||
</tr>
|
||||
<tr><th colspan="2"><?php if( ! defined('SPUP_VERSION') ) echo sprintf( __( 'On <a href="%s">Premium version</a> you can use exit intent trigger technology, or attach to any element that appears in the viewport.','popups'), 'https://timersys.com/plugins/popups-premium/?utm_source=Plugin&utm_medium=options_trigger&utm_campaign=Popups%20Premium');?></th></tr>
|
||||
<?php do_action( 'spu/metaboxes/after_trigger_options', $opts );?>
|
||||
</table>
|
||||
<h3><?php _e( 'Cookies', 'popups');?></h3>
|
||||
<p><?php _e( 'We use PHP cookies to prevent popups opening for users after they closed it.', 'popups');?></p>
|
||||
<table class="form-table">
|
||||
<tr valign="top">
|
||||
<th><label for="spu_name_conversion_cookie"><?php _e( 'Conversion cookie name', 'popups' ); ?></label></th>
|
||||
<td colspan="3">
|
||||
<input type="text" id="spu_name_conversion_cookie" name="spu[name-convert-cookie]" value="<?php echo esc_attr($opts['name-convert-cookie']); ?>" />
|
||||
<p class="help"><?php _e( 'The name that the popup will use for convertion cookie. Changing this name will reset the cookie, so all users will see popup again.', 'popups' ); ?></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<th><label for="spu_duration_conversion_cookie"><?php _e( 'Conversion cookie Duration', 'popups' ); ?></label></th>
|
||||
<td colspan="3">
|
||||
<input type="number" id="spu_duration_conversion_cookie" name="spu[duration-convert-cookie]" min="0" value="<?php echo esc_attr($opts['duration-convert-cookie']); ?>" />
|
||||
<select name="spu[type-convert-cookie]">
|
||||
<option value="h" <?php selected(esc_attr($opts['type-convert-cookie']),'h'); ?>><?php _e('Hours','popups'); ?></option>
|
||||
<option value="d" <?php selected(esc_attr($opts['type-convert-cookie']),'d'); ?>><?php _e('Days','popups'); ?></option>
|
||||
</select>
|
||||
<p class="help"><?php _e( 'When a user do a conversion like for example a click or form submission, how many days/hours should it stay hidden?', 'popups' ); ?></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<th><label for="spu_name_closing_cookie"><?php _e( 'Closing cookie name', 'popups' ); ?></label></th>
|
||||
<td colspan="3">
|
||||
<input type="text" id="spu_name_closing_cookie" name="spu[name-close-cookie]" value="<?php echo esc_attr($opts['name-close-cookie']); ?>" />
|
||||
<p class="help"><?php _e( 'The name that the popup will use for closing cookie. Changing this name will reset the cookie, so all users will see popup again.', 'popups' ); ?></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<th><label for="spu_duration_close_cookie"><?php _e( 'Closing cookie duration', 'popups' ); ?></label></th>
|
||||
<td colspan="3">
|
||||
<input type="number" id="spu_duration_close_cookie" name="spu[duration-close-cookie]" min="0" value="<?php echo isset( $opts['duration-close-cookie'] ) ? esc_attr($opts['duration-close-cookie']) : esc_attr($opts['duration-convert-cookie']); ?>" />
|
||||
<select name="spu[type-close-cookie]">
|
||||
<option value="h" <?php selected(esc_attr($opts['type-close-cookie']),'h'); ?>><?php _e('Hours','popups'); ?></option>
|
||||
<option value="d" <?php selected(esc_attr($opts['type-close-cookie']),'d'); ?>><?php _e('Days','popups'); ?></option>
|
||||
</select>
|
||||
<p class="help"><?php _e( 'After closing the popup, how many days/hours should it stay hidden?', 'popups' ); ?></p>
|
||||
</td>
|
||||
</tr>
|
||||
<?php do_action( 'spu/metaboxes/after_cookie_options', $opts );?>
|
||||
</table>
|
||||
<h3>Close options</h3>
|
||||
<table class="form-table">
|
||||
<tr valign="top" class="conversion_close">
|
||||
<th><label for="spu_conversion_close"><?php _e( 'Close on conversion?', 'popups' ); ?></label></th>
|
||||
<td colspan="3">
|
||||
<label><input type="radio" id="spu_conversion_close_1" name="spu[conversion_close]" value="1" <?php checked($opts['conversion_close'], 1); ?> /> <?php _e( 'Yes' ); ?></label>
|
||||
<label><input type="radio" id="spu_conversion_close_0" name="spu[conversion_close]" value="0" <?php checked($opts['conversion_close'], 0); ?> /> <?php _e( 'No' ); ?></label>
|
||||
<p class="help"><?php _e( 'If you have a form or social shortcode, by default popup will close on submission/conversion', 'popups' ); ?></p>
|
||||
</td>
|
||||
</tr>
|
||||
<?php do_action( 'spu/metaboxes/after_close_options', $opts );?>
|
||||
</table>
|
||||
<h3>Other options</h3>
|
||||
<table class="form-table">
|
||||
<tr valign="top" class="auto_hide">
|
||||
<th><label for="spu_auto_hide"><?php _e( 'Auto-hide?', 'popups' ); ?></label></th>
|
||||
<td colspan="3">
|
||||
<label><input type="radio" id="spu_auto_hide_1" name="spu[auto_hide]" value="1" <?php checked($opts['auto_hide'], 1); ?> /> <?php _e( 'Yes' ); ?></label>
|
||||
<label><input type="radio" id="spu_auto_hide_0" name="spu[auto_hide]" value="0" <?php checked($opts['auto_hide'], 0); ?> /> <?php _e( 'No' ); ?></label>
|
||||
<p class="help"><?php _e( 'Hide box again when visitors scroll back up?', 'popups' ); ?></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<th><label for="spu_test_mode"><?php _e( 'Enable test mode?', 'popups' ); ?></label></th>
|
||||
<td colspan="3">
|
||||
<label><input type="radio" id="spu_test_mode_1" name="spu[test_mode]" value="1" <?php checked($opts['test_mode'], 1); ?> /> <?php _e( 'Yes' ); ?></label>
|
||||
<label><input type="radio" id="spu_test_mode_0" name="spu[test_mode]" value="0" <?php checked($opts['test_mode'], 0); ?> /> <?php _e( 'No' ); ?></label>
|
||||
<p class="help"><?php _e( 'If test mode is enabled, the box will show up regardless of whether a cookie has been set. (To admins only)', 'popups' ); ?></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<th><label><?php _e( 'Animation', 'popups' ); ?></label></th>
|
||||
<td colspan="3">
|
||||
<select id="spu_animation" name="spu[animation]" class="widefat">
|
||||
<option value="fade" <?php selected($opts['animation'], 'fade'); ?> > <?php _e( 'Fade In', 'popups' ); ?></option>
|
||||
<option value="slide" <?php selected($opts['animation'], 'slide'); ?> > <?php _e( 'Slide In', 'popups' ); ?></option>
|
||||
<?php do_action( 'spu/metaboxes/animations', $opts );?>
|
||||
<option value="disable" <?php selected($opts['animation'], 'disable'); ?> > <?php _e( 'Disable animations', 'popups' ); ?></option>
|
||||
</select>
|
||||
<p class="help"><?php _e( 'Slide will only apply when popup is on the corners', 'popups' ); ?></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><th colspan="2"><?php if( ! defined('SPUP_VERSION') ) echo sprintf( __( 'On <a href="%s">Premium version</a> you have 8 new animations to play with!','popups'), 'https://timersys.com/plugins/popups-premium/?utm_source=Plugin&utm_medium=options_trigger&utm_campaign=Popups%20Premium');?></th></tr>
|
||||
<tr valign="top" class="powered_link">
|
||||
<th><label for="spu_powered_link"><?php _e( 'Show powered by link?', 'popups' ); ?></label></th>
|
||||
<td colspan="3">
|
||||
<label><input type="radio" id="spu_powered_link_1" name="spu[powered_link]" value="1" <?php checked($opts['powered_link'], 1); ?> /> <?php _e( 'Yes' ); ?></label>
|
||||
<label><input type="radio" id="spu_powered_link_0" name="spu[powered_link]" value="0" <?php checked($opts['powered_link'], 0); ?> /> <?php _e( 'No' ); ?></label>
|
||||
<p class="help"><?php echo sprintf(__( 'Shows a "powered by" link below your popup. If your affiliate link is set in the <a href="%s">settings</a>, it will be used.', 'popups' ), admin_url('edit.php?post_type=spucpt&page=spu_settings')); ?></p>
|
||||
</td>
|
||||
</tr>
|
||||
<?php do_action( 'spu/metaboxes/after_other_options', $opts );?>
|
||||
</table>
|
||||
<?php do_action( 'spu/metaboxes/after_options', $opts );?>
|
||||
</div>
|
||||
<?php wp_nonce_field( 'spu_options', 'spu_options_nonce' ); ?>
|
||||
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
// Exit if accessed directly
|
||||
if ( !defined( 'ABSPATH' ) ) exit;
|
||||
?>
|
||||
<?php
|
||||
|
||||
$today = strtotime(date("Y-m-d H:i:s"));
|
||||
$blackbegin = strtotime("2014-11-28");
|
||||
$blackend = strtotime("2014-12-02");
|
||||
if($today > $blackbegin && $today < $blackend) : ?>
|
||||
<div class="alert-premium">
|
||||
<p><strong>Happy Black Friday!</strong> Get any Timersys Plugin with a 40% discount using the <code>BLACKFRIDAY</code> coupon code </p>
|
||||
</div>
|
||||
<?php endif;?>
|
||||
|
||||
<p><?php _e( 'Take the best WordPress Popups plugin to the next level with Popups Premium extension.', 'popups' );?></p>
|
||||
<h2><?php _e( 'Popups Premium Features:', 'popups' );?></h2>
|
||||
<ul>
|
||||
<li><?php _e( 'Beautiful optin forms for popular mail providers', 'popups' );?></li>
|
||||
<li><?php _e( 'Currently supporting MailChimp, Aweber, Postmatic, Mailpoet, Constant Contact, ActiveCampaign, Newsletter plugin, InfusionSoft, etc', 'popups' );?></li>
|
||||
<li><?php _e( 'A/B testing. Explore which popup perform better for you.', 'popups' );?></li>
|
||||
<li><?php _e( 'Track impressions and Conversions of social likes and forms submissions like Contact Form 7, Gravity forms, etc', 'popups' );?></li>
|
||||
<li><?php _e( 'Track impressions and Conversions in Google Analytics ande define custom events', 'popups' );?></li>
|
||||
<li><?php _e( 'Exit Intent technology', 'popups' );?></li>
|
||||
<li><?php _e( 'New popup positions: top/bottoms bars , fullscreen mode, after post content', 'popups' );?></li>
|
||||
<li><?php _e( '8 New animations effects', 'popups' );?> - <a href="https://timersys.com/popups/?utm_source=Plugin&utm_medium=demo-button&utm_campaign=Popups%20Premium">Online demo</a></li>
|
||||
<li><?php _e( 'New trigger methods', 'popups' );?></li>
|
||||
<li><?php _e( 'More Display Rules: Show after N(numbers) of pages viewed', 'popups' );?></li>
|
||||
<li><?php _e( 'More Display Rules: Show popup at certain time', 'popups' );?></li>
|
||||
<li><?php _e( 'More Display Rules: Show popup at certain day', 'popups' );?></li>
|
||||
<li><?php _e( 'More Display Rules: Show/hide if another popup already converted', 'popups' );?></li>
|
||||
<li><?php _e( 'Timer for auto closing', 'popups' );?></li>
|
||||
<li><?php _e( 'Ability to disable close button', 'popups' );?></li>
|
||||
<li><?php _e( 'Ability to disable Advanced close methods like esc or clicking outside of the popup', 'popups' );?></li>
|
||||
<li><?php _e( 'Premium support', 'popups' );?></li>
|
||||
</ul>
|
||||
<p><strong>Hurry up and get your copy!</strong> Take advantage of this <span style="color:red">launch offer</span> before the price goes up. We have a <strong>lot of new features</strong> to be added soon!</p>
|
||||
<p style="text-align:center">
|
||||
<a class="button-primary" href="https://timersys.com/downloads/popups-premium/?utm_source=Plugin&utm_medium=buy-button&utm_campaign=Popups%20Premium"><?php _e( 'Buy Now!', 'popups' );?></a>
|
||||
</p>
|
||||
@@ -0,0 +1,109 @@
|
||||
<?php
|
||||
// Exit if accessed directly
|
||||
if ( !defined( 'ABSPATH' ) ) exit;
|
||||
|
||||
/*
|
||||
* Meta box - Rules
|
||||
*
|
||||
* This template file is used when editing a popup and creates the interface for editing popup rules.
|
||||
*
|
||||
* @type template
|
||||
* @since 2.0
|
||||
*/
|
||||
do_action( 'spu/metaboxes/before_rules', $post );
|
||||
?>
|
||||
|
||||
<table class="spu_table widefat" id="spu_rules">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="label">
|
||||
<label for="post_type"><?php _e("Rules", 'popups' ); ?></label>
|
||||
<p class="description"><?php _e("Create a set of rules to determine where the popup will show", 'popups' ); ?></p>
|
||||
</td>
|
||||
<td>
|
||||
<div class="rules-groups">
|
||||
|
||||
<?php if( is_array($groups) ): ?>
|
||||
<?php foreach( $groups as $group_id => $group ):
|
||||
$group_id = 'group_' . $group_id;
|
||||
?>
|
||||
<div class="rules-group" data-id="<?php echo $group_id; ?>">
|
||||
<?php if( $group_id == 'group_0' ): ?>
|
||||
<h4><?php _e("Show this popup if", 'popups' ); ?></h4>
|
||||
<?php else: ?>
|
||||
<h4 class="rules-or"><span><?php _e("OR", 'popups' ); ?></span></h4>
|
||||
<?php endif; ?>
|
||||
<?php if( is_array($group) ): ?>
|
||||
<table class="spu_table widefat">
|
||||
<tbody>
|
||||
<?php foreach( $group as $rule_id => $rule ):
|
||||
$rule_id = 'rule_' . $rule_id;
|
||||
?>
|
||||
<tr data-id="<?php echo $rule_id; ?>">
|
||||
<td class="param"><?php
|
||||
|
||||
$choices = $this->get_rules_choices();
|
||||
|
||||
// create field
|
||||
$args = array(
|
||||
'group_id' => $group_id,
|
||||
'rule_id' => $rule_id,
|
||||
'name' => 'spu_rules[' . $group_id . '][' . $rule_id . '][param]',
|
||||
'value' => $rule['param']
|
||||
);
|
||||
|
||||
Spu_Helper::print_select( $args, $choices );
|
||||
|
||||
|
||||
?></td>
|
||||
<td class="operator"><?php
|
||||
|
||||
$args = array(
|
||||
'group_id' => $group_id,
|
||||
'rule_id' => $rule_id,
|
||||
'name' => 'spu_rules[' . $group_id . '][' . $rule_id . '][operator]',
|
||||
'value' => $rule['operator'],
|
||||
'param' => $rule['param'],
|
||||
|
||||
);
|
||||
Spu_Helper::ajax_render_operator( $args );
|
||||
|
||||
?></td>
|
||||
<td class="value"><?php
|
||||
$args = array(
|
||||
'group_id' => $group_id,
|
||||
'rule_id' => $rule_id,
|
||||
'value' => !empty($rule['value']) ? $rule['value'] : '',
|
||||
'name' => 'spu_rules[' . $group_id . '][' . $rule_id . '][value]',
|
||||
'param' => $rule['param'],
|
||||
);
|
||||
Spu_Helper::ajax_render_rules( $args );
|
||||
|
||||
?></td>
|
||||
<td class="add">
|
||||
<a href="#" class="rules-add-rule button"><?php _e("+ AND", 'popups' ); ?></a>
|
||||
</td>
|
||||
<td class="remove">
|
||||
<a href="#" class="rules-remove-rule rules-remove-rule">-</a>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
|
||||
<h4 class="rules-or"><span><?php _e("OR", 'popups' ); ?></span></h4>
|
||||
|
||||
<a class="button rules-add-group" href="#"><?php _e("Add rule group (+ OR)", 'popups' ); ?></a>
|
||||
<p style="margin-top:30px">
|
||||
<?php echo sprintf(__('<strong>Hint</strong>: If you are planning to open the popup with a button, simple leave this set to "All Pages" and change trigger method below to "Manual triggering". Then inside the page you want to open the popup add the following shortcode [spu popup="%s"]Click here[/spu]','spu'),$post->ID);?>
|
||||
</p>
|
||||
<?php endif; ?>
|
||||
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@@ -0,0 +1,6 @@
|
||||
<?php
|
||||
// Exit if accessed directly
|
||||
if ( !defined( 'ABSPATH' ) ) exit;
|
||||
?>
|
||||
<p><?php echo sprintf( __( 'You are using Popups plugin v%s', 'popups' ), SocialPopup::VERSION );?></p>
|
||||
<p><?php echo sprintf( __( 'If you need support please go to the WordPress.org <a href="%s">support forums</a>', 'popups' ), 'http://wordpress.org/support/plugin/popups/');?></p>
|
||||
@@ -0,0 +1,6 @@
|
||||
<?php
|
||||
// Exit if accessed directly
|
||||
if ( !defined( 'ABSPATH' ) ) exit;
|
||||
?>
|
||||
<p><?= __('Take a look to this "How to add a Popup" help video to better understand how the plugin works. Remember you can minimize this box click clicking on the top right arrow.');?></p>
|
||||
<iframe width="100%" height="315" style="max-width:550px;display: block;margin:10px auto;" src="https://www.youtube.com/embed/S_MfZne6X2I??rel=0&showinfo=0" frameborder="0" allowfullscreen></iframe>
|
||||
77
wp-content/plugins/popups/admin/views/settings-page.php
Normal file
77
wp-content/plugins/popups/admin/views/settings-page.php
Normal file
@@ -0,0 +1,77 @@
|
||||
<?php
|
||||
/**
|
||||
* Settings page template
|
||||
* @since 1.1
|
||||
*/
|
||||
?>
|
||||
<div class="wrap">
|
||||
<h2>Popups <?php echo SocialPopup::VERSION;
|
||||
if( class_exists('PopupsP') ){
|
||||
echo ' - Premium v', PopupsP::VERSION;
|
||||
}
|
||||
?></h2>
|
||||
<form name="spu-settings" method="post">
|
||||
<table class="form-table">
|
||||
<?php do_action( 'spu/settings_page/before' ); ?>
|
||||
<tr valign="top" class="">
|
||||
<th><label for="add_link"><?php _e( 'Affiliate link', 'popups' ); ?></label></th>
|
||||
<td colspan="3">
|
||||
<label><input type="text" id="add_link" name="spu_settings[aff_link]" value="<?php echo isset($opts['aff_link']) ? $opts['aff_link'] :'';?>" class="regular-text" />
|
||||
<p class="help"><?php echo sprintf(__( 'You can earn money by promoting the plugin! Join <a href="%s">our affiliate program</a> and paste your affiliate link here to earn 35% in commissions . Once entered, it will replace the default "Powered by" on the popups.', 'popups' ) , 'https://timersys.com/affiliates/'); ?></p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top" class="">
|
||||
<th><label for="ajax_mode"><?php _e( 'Ajax mode?', 'popups' ); ?></label></th>
|
||||
<td colspan="3">
|
||||
<label><input type="checkbox" id="ajax_mode" name="spu_settings[ajax_mode]" value="1" <?php isset($opts['ajax_mode']) && checked($opts['ajax_mode'], 1); ?> />
|
||||
<p class="help"><?php _e( 'Load popups using ajax. Compatible with cache plugins, but might not work with all plugins', 'popups' ); ?></p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr valign="top" class="">
|
||||
<th><label for="style"><?php _e( 'Remove shortcodes style', 'popups' ); ?></label></th>
|
||||
<td colspan="3">
|
||||
<label><input type="checkbox" id="style" name="spu_settings[shortcodes_style]" value="1" <?php isset($opts['shortcodes_style']) && checked($opts['shortcodes_style'], 1); ?> />
|
||||
<p class="help"><?php _e( 'By default the plugin will apply some style to shortcodes. Check here if you want to manually style them', 'popups' ); ?></p>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr valign="top" class="">
|
||||
<th><label for="style"><?php _e( 'Unload Facebook javascript', 'popups' ); ?></label></th>
|
||||
<td colspan="3">
|
||||
<label><input type="checkbox" id="style" name="spu_settings[facebook]" value="1" <?php isset($opts['facebook']) && checked($opts['facebook'], 1); ?> />
|
||||
<p class="help"><?php _e( 'If you use your own Facebook script, check this', 'popups' ); ?></p>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr valign="top" class="">
|
||||
<th><label for="style"><?php _e( 'Unload Google javascript', 'popups' ); ?></label></th>
|
||||
<td colspan="3">
|
||||
<label><input type="checkbox" id="style" name="spu_settings[google]" value="1" <?php isset($opts['google']) && checked($opts['google'], 1); ?> />
|
||||
<p class="help"><?php _e( 'If you use your own Google script, check this', 'popups' ); ?></p>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr valign="top" class="">
|
||||
<th><label for="style"><?php _e( 'Unload Twitter javascript', 'popups' ); ?></label></th>
|
||||
<td colspan="3">
|
||||
<label><input type="checkbox" id="style" name="spu_settings[twitter]" value="1" <?php isset($opts['twitter']) && checked($opts['twitter'], 1); ?> />
|
||||
<p class="help"><?php _e( 'If you use your own Twitter script, check this', 'popups' ); ?></p>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<?php do_action( 'spu/settings_page/after' ); ?>
|
||||
|
||||
<tr valign="top" class="">
|
||||
<th><label for="uninstall"><?php _e( 'Delete all data on Uninstall', 'popups' ); ?></label></th>
|
||||
<td colspan="3">
|
||||
<label><input type="checkbox" id="uninstall" name="spu_settings[uninstall]" value="1" <?php isset($opts['uninstall']) && checked($opts['uninstall'], 1); ?> />
|
||||
<p class="help"><?php _e( 'When you uninstall the plugin all popups, settings and stats will be deleted from your db', 'popups' ); ?></p>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr><td><input type="submit" class="button-primary" value="<?php _e( 'Save settings', 'popups' );?>"/></td>
|
||||
<?php wp_nonce_field('spu_save_settings','spu_nonce'); ?>
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
8
wp-content/plugins/popups/composer.json
Normal file
8
wp-content/plugins/popups/composer.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"minimum-stability": "dev",
|
||||
"require": {
|
||||
"jaybizzle/crawler-detect": "1.*",
|
||||
"mobiledetect/mobiledetectlib": "^2.8",
|
||||
"cbschuld/browser.php": "^1.95@dev"
|
||||
}
|
||||
}
|
||||
166
wp-content/plugins/popups/composer.lock
generated
Normal file
166
wp-content/plugins/popups/composer.lock
generated
Normal file
@@ -0,0 +1,166 @@
|
||||
{
|
||||
"_readme": [
|
||||
"This file locks the dependencies of your project to a known state",
|
||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"content-hash": "fe7213eeccfa0dd003c369f624314b84",
|
||||
"packages": [
|
||||
{
|
||||
"name": "cbschuld/browser.php",
|
||||
"version": "dev-master",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/cbschuld/Browser.php.git",
|
||||
"reference": "6bde9efb0b14a4917affe741500c29149419e491"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/cbschuld/Browser.php/zipball/6bde9efb0b14a4917affe741500c29149419e491",
|
||||
"reference": "6bde9efb0b14a4917affe741500c29149419e491",
|
||||
"shasum": ""
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "1.95-dev"
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
"files": [
|
||||
"lib/Browser.php"
|
||||
]
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Chris Schuld",
|
||||
"email": "chris@chrisschuld.com",
|
||||
"homepage": "http://chrisschuld.com"
|
||||
}
|
||||
],
|
||||
"description": "A PHP Class to detect a user's Browser",
|
||||
"homepage": "http://chrisschuld.com/projects/browser-php-detecting-a-users-browser-from-php.html",
|
||||
"keywords": [
|
||||
"browser",
|
||||
"detection",
|
||||
"user agent"
|
||||
],
|
||||
"time": "2017-07-31T23:43:17+00:00"
|
||||
},
|
||||
{
|
||||
"name": "jaybizzle/crawler-detect",
|
||||
"version": "v1.2.63",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/JayBizzle/Crawler-Detect.git",
|
||||
"reference": "3566bc69d0839ab2dfd739a660b00f25a6f02031"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/JayBizzle/Crawler-Detect/zipball/3566bc69d0839ab2dfd739a660b00f25a6f02031",
|
||||
"reference": "3566bc69d0839ab2dfd739a660b00f25a6f02031",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=5.3.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^4.8|^5.5|^6.5",
|
||||
"satooshi/php-coveralls": "1.*"
|
||||
},
|
||||
"type": "library",
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Jaybizzle\\CrawlerDetect\\": "src/"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Mark Beech",
|
||||
"email": "m@rkbee.ch",
|
||||
"role": "Developer"
|
||||
}
|
||||
],
|
||||
"description": "CrawlerDetect is a PHP class for detecting bots/crawlers/spiders via the user agent",
|
||||
"homepage": "https://github.com/JayBizzle/Crawler-Detect/",
|
||||
"keywords": [
|
||||
"crawler",
|
||||
"crawler detect",
|
||||
"crawler detector",
|
||||
"crawlerdetect",
|
||||
"php crawler detect"
|
||||
],
|
||||
"time": "2018-05-21T19:56:44+00:00"
|
||||
},
|
||||
{
|
||||
"name": "mobiledetect/mobiledetectlib",
|
||||
"version": "2.8.31",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/serbanghita/Mobile-Detect.git",
|
||||
"reference": "adb882ea3b9d154f087ecb2c333180dad6f4dd37"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/serbanghita/Mobile-Detect/zipball/adb882ea3b9d154f087ecb2c333180dad6f4dd37",
|
||||
"reference": "adb882ea3b9d154f087ecb2c333180dad6f4dd37",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=5.0.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "~4.8.35||~5.7"
|
||||
},
|
||||
"type": "library",
|
||||
"autoload": {
|
||||
"classmap": [
|
||||
"Mobile_Detect.php"
|
||||
],
|
||||
"psr-0": {
|
||||
"Detection": "namespaced/"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Serban Ghita",
|
||||
"email": "serbanghita@gmail.com",
|
||||
"homepage": "http://mobiledetect.net",
|
||||
"role": "Developer"
|
||||
}
|
||||
],
|
||||
"description": "Mobile_Detect is a lightweight PHP class for detecting mobile devices. It uses the User-Agent string combined with specific HTTP headers to detect the mobile environment.",
|
||||
"homepage": "https://github.com/serbanghita/Mobile-Detect",
|
||||
"keywords": [
|
||||
"detect mobile devices",
|
||||
"mobile",
|
||||
"mobile detect",
|
||||
"mobile detector",
|
||||
"php mobile detect"
|
||||
],
|
||||
"time": "2018-02-26T19:39:55+00:00"
|
||||
}
|
||||
],
|
||||
"packages-dev": [],
|
||||
"aliases": [],
|
||||
"minimum-stability": "dev",
|
||||
"stability-flags": {
|
||||
"cbschuld/browser.php": 20
|
||||
},
|
||||
"prefer-stable": false,
|
||||
"prefer-lowest": false,
|
||||
"platform": [],
|
||||
"platform-dev": []
|
||||
}
|
||||
566
wp-content/plugins/popups/includes/class-spu-helper.php
Normal file
566
wp-content/plugins/popups/includes/class-spu-helper.php
Normal file
@@ -0,0 +1,566 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Helper class of SPu for admin
|
||||
*
|
||||
* @package SocialPopup_Admin
|
||||
* @author Damian Logghe <info@timersys.com>
|
||||
*/
|
||||
class Spu_Helper {
|
||||
/**
|
||||
* Plugin slug
|
||||
* @var string
|
||||
*/
|
||||
protected static $plugin_slug = '';
|
||||
|
||||
/**
|
||||
* ajax_render_operator
|
||||
*
|
||||
* @description creates the HTML for the field group operator metabox. Called from both Ajax and PHP
|
||||
* @since 1.4.6
|
||||
* I took this functions from the awesome Advanced custom fields plugin http://www.advancedcustomfields.com/
|
||||
*/
|
||||
|
||||
public static function ajax_render_operator( $options = array() ) {
|
||||
// defaults
|
||||
$defaults = array(
|
||||
'group_id' => 0,
|
||||
'rule_id' => 0,
|
||||
'value' => null,
|
||||
'param' => null,
|
||||
);
|
||||
|
||||
$is_ajax = false;
|
||||
|
||||
if( isset($_POST['nonce']) && wp_verify_nonce($_POST['nonce'], 'spu_nonce') )
|
||||
{
|
||||
$is_ajax = true;
|
||||
}
|
||||
|
||||
// Is AJAX call?
|
||||
if( $is_ajax )
|
||||
{
|
||||
$options = array_merge($defaults, $_POST);
|
||||
$options['name'] = 'spu_rules[' . $options['group_id'] . '][' . $options['rule_id'] . '][operator]';
|
||||
}
|
||||
else
|
||||
{
|
||||
$options = array_merge($defaults, $options);
|
||||
}
|
||||
// default for all rules
|
||||
$choices = array(
|
||||
'==' => __("is equal to", 'popups' ),
|
||||
'!=' => __("is not equal to", 'popups' ),
|
||||
);
|
||||
if( $options['param'] == 'local_time' ) {
|
||||
$choices = array(
|
||||
'<' => __("less than", 'popups' ),
|
||||
'>' => __("greater than", 'popups' ),
|
||||
);
|
||||
}
|
||||
|
||||
if( $options['param'] == 'date' ) {
|
||||
$choices = array_merge( $choices,array(
|
||||
'<' => __("less than", 'popups' ),
|
||||
'>' => __("greater than", 'popups' ),
|
||||
));
|
||||
}
|
||||
|
||||
// allow custom operators
|
||||
$choices = apply_filters( 'spu/metaboxes/rule_operators', $choices, $options );
|
||||
|
||||
self::print_select( $options, $choices );
|
||||
|
||||
// ajax?
|
||||
if( $is_ajax )
|
||||
{
|
||||
die();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* ajax_render_rules
|
||||
*
|
||||
* @description creates the HTML for the field group rules metabox. Called from both Ajax and PHP
|
||||
* @since 2.0
|
||||
* I took this functions from the awesome Advanced custom fields plugin http://www.advancedcustomfields.com/
|
||||
*/
|
||||
|
||||
public static function ajax_render_rules( $options = array() )
|
||||
{
|
||||
|
||||
// defaults
|
||||
$defaults = array(
|
||||
'group_id' => 0,
|
||||
'rule_id' => 0,
|
||||
'value' => null,
|
||||
'param' => null,
|
||||
);
|
||||
|
||||
$is_ajax = false;
|
||||
|
||||
if( isset($_POST['nonce']) && wp_verify_nonce($_POST['nonce'], 'spu_nonce') )
|
||||
{
|
||||
$is_ajax = true;
|
||||
}
|
||||
|
||||
// Is AJAX call?
|
||||
if( $is_ajax )
|
||||
{
|
||||
$options = array_merge($defaults, $_POST);
|
||||
$options['name'] = 'spu_rules[' . $options['group_id'] . '][' . $options['rule_id'] . '][value]';
|
||||
}
|
||||
else
|
||||
{
|
||||
$options = array_merge($defaults, $options);
|
||||
}
|
||||
|
||||
// vars
|
||||
$choices = array();
|
||||
|
||||
|
||||
// some case's have the same outcome
|
||||
if($options['param'] == "page_parent")
|
||||
{
|
||||
$options['param'] = "page";
|
||||
}
|
||||
|
||||
|
||||
switch($options['param'])
|
||||
{
|
||||
case "post_type":
|
||||
|
||||
// all post types except attachment
|
||||
$choices = apply_filters('spu/get_post_types', array(), array('attachment') );
|
||||
|
||||
break;
|
||||
|
||||
|
||||
case "page":
|
||||
|
||||
$post_type = 'page';
|
||||
$args = array(
|
||||
'posts_per_page' => -1,
|
||||
'post_type' => $post_type,
|
||||
'orderby' => 'menu_order title',
|
||||
'order' => 'ASC',
|
||||
'post_status' => 'any',
|
||||
'suppress_filters' => false,
|
||||
'update_post_meta_cache' => false,
|
||||
);
|
||||
|
||||
$posts = get_posts( apply_filters('spu/rules/page_args', $args ) );
|
||||
|
||||
if( $posts )
|
||||
{
|
||||
// sort into hierachial order!
|
||||
if( is_post_type_hierarchical( $post_type ) )
|
||||
{
|
||||
$posts = get_page_children( 0, $posts );
|
||||
}
|
||||
|
||||
foreach( $posts as $page )
|
||||
{
|
||||
$title = '';
|
||||
$ancestors = get_ancestors($page->ID, 'page');
|
||||
if($ancestors)
|
||||
{
|
||||
foreach($ancestors as $a)
|
||||
{
|
||||
$title .= '- ';
|
||||
}
|
||||
}
|
||||
|
||||
$title .= apply_filters( 'the_title', $page->post_title, $page->ID );
|
||||
|
||||
|
||||
// status
|
||||
if($page->post_status != "publish")
|
||||
{
|
||||
$title .= " ($page->post_status)";
|
||||
}
|
||||
|
||||
$choices[ $page->ID ] = $title;
|
||||
|
||||
}
|
||||
// foreach($pages as $page)
|
||||
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
|
||||
case "page_type" :
|
||||
|
||||
$choices = array(
|
||||
'all_pages' => __("All Pages", 'popups'),
|
||||
'front_page' => __("Front Page", 'popups'),
|
||||
'posts_page' => __("Posts Page", 'popups'),
|
||||
'category_page' => __("Category Page", 'popups'),
|
||||
'search_page' => __("Search Page", 'popups'),
|
||||
'archive_page' => __("Archives Page", 'popups'),
|
||||
'top_level' => __("Top Level Page (parent of 0)", 'popups'),
|
||||
'parent' => __("Parent Page (has children)", 'popups'),
|
||||
'child' => __("Child Page (has parent)", 'popups'),
|
||||
);
|
||||
|
||||
break;
|
||||
|
||||
case "page_template" :
|
||||
|
||||
$choices = array(
|
||||
'default' => __("Default Template", 'popups'),
|
||||
);
|
||||
|
||||
$templates = get_page_templates();
|
||||
foreach($templates as $k => $v)
|
||||
{
|
||||
$choices[$v] = $k;
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
case "post" :
|
||||
$post_types = apply_filters('spu/get_post_types', array());
|
||||
unset( $post_types['page'], $post_types['attachment'], $post_types['revision'] , $post_types['nav_menu_item'], $post_types['spucpt'] );
|
||||
if( $post_types )
|
||||
{
|
||||
foreach( $post_types as $post_type )
|
||||
{
|
||||
$args = array(
|
||||
'numberposts' => '-1',
|
||||
'post_type' => $post_type,
|
||||
'post_status' => array('publish', 'private', 'draft', 'inherit', 'future'),
|
||||
'suppress_filters' => false,
|
||||
'update_post_meta_cache' => false,
|
||||
'update_post_term_cache' => false,
|
||||
);
|
||||
$posts = get_posts(apply_filters('spu/rules/post_args', $args ));
|
||||
|
||||
if( $posts)
|
||||
{
|
||||
$choices[$post_type] = array();
|
||||
|
||||
foreach($posts as $post)
|
||||
{
|
||||
$title = apply_filters( 'the_title', $post->post_title, $post->ID );
|
||||
|
||||
// status
|
||||
if($post->post_status != "publish")
|
||||
{
|
||||
$title .= " ($post->post_status)";
|
||||
}
|
||||
|
||||
$choices[$post_type][$post->ID] = $title;
|
||||
|
||||
}
|
||||
// foreach($posts as $post)
|
||||
}
|
||||
// if( $posts )
|
||||
}
|
||||
// foreach( $post_types as $post_type )
|
||||
}
|
||||
// if( $post_types )
|
||||
|
||||
|
||||
break;
|
||||
|
||||
case "post_category" :
|
||||
|
||||
$categories = get_terms('category', array('get' => 'all', 'fields' => 'id=>name' ) );
|
||||
$choices = apply_filters('spu/rules/categories', $categories );
|
||||
|
||||
break;
|
||||
|
||||
case "post_format" :
|
||||
|
||||
$choices = get_post_format_strings();
|
||||
|
||||
break;
|
||||
|
||||
case "post_status" :
|
||||
|
||||
$choices = get_post_stati();
|
||||
|
||||
break;
|
||||
|
||||
case "user_type" :
|
||||
|
||||
global $wp_roles;
|
||||
|
||||
$choices = $wp_roles->get_names();
|
||||
|
||||
if( is_multisite() )
|
||||
{
|
||||
$choices['super_admin'] = __('Super Admin');
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
case "taxonomy" :
|
||||
|
||||
$choices = array();
|
||||
$simple_value = true;
|
||||
$choices = apply_filters('spu/get_taxonomies', $choices, $simple_value);
|
||||
|
||||
break;
|
||||
|
||||
case "logged_user" :
|
||||
case "mobiles" :
|
||||
case "tablets" :
|
||||
case "desktop" :
|
||||
case "crawlers" :
|
||||
case "left_comment" :
|
||||
case "search_engine" :
|
||||
case "same_site" :
|
||||
|
||||
$choices = array('true' => __( 'True', 'popups' ) );
|
||||
|
||||
break;
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
// allow custom rules rules
|
||||
$choices = apply_filters( 'spu/rules/rule_values/' . $options['param'], $choices );
|
||||
|
||||
// Custom fields for rules
|
||||
do_action( 'spu/rules/print_' . $options['param'] . '_field', $options, $choices );
|
||||
|
||||
// ajax?
|
||||
if( $is_ajax )
|
||||
{
|
||||
die();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Helper function to print select fields for rules
|
||||
* @since 2.0
|
||||
* @param array $choices options values for select
|
||||
* @param array $options array to pass group, id, rule_id etc
|
||||
* @return echo the select field
|
||||
*/
|
||||
static function print_select( $options, $choices ) {
|
||||
|
||||
// value must be array
|
||||
if( !is_array($options['value']) )
|
||||
{
|
||||
// perhaps this is a default value with new lines in it?
|
||||
if( strpos($options['value'], "\n") !== false )
|
||||
{
|
||||
// found multiple lines, explode it
|
||||
$options['value'] = explode("\n", $options['value']);
|
||||
}
|
||||
else
|
||||
{
|
||||
$options['value'] = array( $options['value'] );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// trim value
|
||||
$options['value'] = array_map('trim', $options['value']);
|
||||
// determin if choices are grouped (2 levels of array)
|
||||
if( is_array($choices) )
|
||||
{
|
||||
foreach( $choices as $k => $v )
|
||||
{
|
||||
if( is_array($v) )
|
||||
{
|
||||
$optgroup = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
echo '<select id="spu_rule_'.$options['group_id'].'_rule_'.$options['rule_id'].'" class="select" name="'.$options['name'].'">';
|
||||
|
||||
// loop through values and add them as options
|
||||
if( is_array($choices) )
|
||||
{
|
||||
foreach( $choices as $key => $value )
|
||||
{
|
||||
if( isset($optgroup) )
|
||||
{
|
||||
// this select is grouped with optgroup
|
||||
if($key != '') echo '<optgroup label="'.$key.'">';
|
||||
|
||||
if( is_array($value) )
|
||||
{
|
||||
foreach($value as $id => $label)
|
||||
{
|
||||
|
||||
$selected = in_array($id, $options['value']) ? 'selected="selected"' : '';
|
||||
|
||||
echo '<option value="'.$id.'" '.$selected.'>'.$label.'</option>';
|
||||
}
|
||||
}
|
||||
|
||||
if($key != '') echo '</optgroup>';
|
||||
}
|
||||
else
|
||||
{
|
||||
$selected = in_array($key, $options['value']) ? 'selected="selected"' : '';
|
||||
echo '<option value="'.$key.'" '.$selected.'>'.$value.'</option>';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
echo '</select>';
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Prints a text field rule
|
||||
* @param $options
|
||||
*/
|
||||
static function print_textfield( $options ) {
|
||||
echo '<input type="text" name="'.$options['name'].'" value="'.$options['value'].'" id="spu_rule_'.$options['group_id'].'_rule_'.$options['rule_id'].'" />';
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the box options
|
||||
* @param int $id spucpt id
|
||||
* @since 2.0
|
||||
* @return array metadata values
|
||||
*/
|
||||
function get_box_options( $id )
|
||||
{
|
||||
$defaults = array(
|
||||
'css' => array(
|
||||
'bgopacity' => '0.5',
|
||||
'overlay_color' => '#000',
|
||||
'background_color' => '#eeeeee',
|
||||
'background_opacity'=> '1',
|
||||
'width' => '600px',
|
||||
'padding' => '25',
|
||||
'color' => '#333',
|
||||
'shadow_color' => '#666',
|
||||
'shadow_type' => 'outset',
|
||||
'shadow_x_offset' => '0',
|
||||
'shadow_y_offset' => '0',
|
||||
'shadow_blur' => '10',
|
||||
'shadow_spread' => '1',
|
||||
'border_color' => '#eee',
|
||||
'border_width' => '8',
|
||||
'border_radius' => '0',
|
||||
'border_type' => 'none',
|
||||
'close_color' => '#666',
|
||||
'close_hover_color' => '#000',
|
||||
'close_size' => '30px',
|
||||
'close_position' => 'top_right',
|
||||
'close_shadow_color'=> '#fff',
|
||||
'position' => 'centered',
|
||||
),
|
||||
'trigger' => 'seconds',
|
||||
'trigger_number' => '5',
|
||||
'animation' => 'fade',
|
||||
'duration-convert-cookie' => '999',
|
||||
'type-convert-cookie' => 'd',
|
||||
'duration-close-cookie' => '30',
|
||||
'type-close-cookie' => 'd',
|
||||
'name-convert-cookie' => 'spu_conversion',
|
||||
'name-close-cookie' => 'spu_closing',
|
||||
'auto_hide' => 0,
|
||||
'test_mode' => 0,
|
||||
'conversion_close' => '1',
|
||||
'powered_link' => '0',
|
||||
);
|
||||
|
||||
$opts = apply_filters( 'spu/metaboxes/box_options', get_post_meta( $id, 'spu_options', true ), $id );
|
||||
|
||||
$opts = wp_parse_args( $opts, apply_filters( 'spu/metaboxes/default_options', $defaults ) );
|
||||
// we added new rules as we can't merge recursively, so manual check them
|
||||
foreach ( $defaults['css'] as $key => $value ) {
|
||||
if( ! isset($opts['css'][$key] ) )
|
||||
$opts['css'][$key] = $value;
|
||||
}
|
||||
|
||||
return $opts;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the box rules
|
||||
* @param int $id spucpt id
|
||||
* @since 2.0
|
||||
* @return array metadata values
|
||||
*/
|
||||
function get_box_rules( $id )
|
||||
{
|
||||
$defaults = array(
|
||||
// group_0
|
||||
array(
|
||||
|
||||
// rule_0
|
||||
array(
|
||||
'param' => 'page_type',
|
||||
'operator' => '==',
|
||||
'value' => 'all_pages',
|
||||
'order_no' => 0,
|
||||
'group_no' => 0
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
$rules = get_post_meta( $id, 'spu_rules', true );
|
||||
|
||||
if( empty( $rules ) ) {
|
||||
|
||||
return apply_filters( 'spu/metaboxes/default_rules', $defaults );
|
||||
|
||||
} else {
|
||||
|
||||
return $rules;
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Simple HEX TO RGBA converter
|
||||
* @param $color
|
||||
* @param bool $opacity
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public static function hex2rgba($color, $opacity = false) {
|
||||
|
||||
$default = 'rgb(0,0,0)';
|
||||
|
||||
//Return default if no color provided
|
||||
if(empty($color))
|
||||
return $default;
|
||||
|
||||
//Sanitize $color if "#" is provided
|
||||
if ($color[0] == '#' ) {
|
||||
$color = substr( $color, 1 );
|
||||
}
|
||||
|
||||
//Check if color has 6 or 3 characters and get values
|
||||
if (strlen($color) == 6) {
|
||||
$hex = array( $color[0] . $color[1], $color[2] . $color[3], $color[4] . $color[5] );
|
||||
} elseif ( strlen( $color ) == 3 ) {
|
||||
$hex = array( $color[0] . $color[0], $color[1] . $color[1], $color[2] . $color[2] );
|
||||
} else {
|
||||
return $default;
|
||||
}
|
||||
|
||||
//Convert hexadec to rgb
|
||||
$rgb = array_map('hexdec', $hex);
|
||||
|
||||
//Check if opacity is set(rgba or rgb)
|
||||
if($opacity){
|
||||
if(abs($opacity) > 1)
|
||||
$opacity = 1.0;
|
||||
$output = 'rgba('.implode(",",$rgb).','.$opacity.')';
|
||||
} else {
|
||||
$output = 'rgb('.implode(",",$rgb).')';
|
||||
}
|
||||
|
||||
//Return rgb(a) color string
|
||||
return $output;
|
||||
}
|
||||
}
|
||||
1
wp-content/plugins/popups/includes/index.php
Normal file
1
wp-content/plugins/popups/includes/index.php
Normal file
@@ -0,0 +1 @@
|
||||
<?php // Silence is golden
|
||||
8
wp-content/plugins/popups/includes/updates-msg.html
Normal file
8
wp-content/plugins/popups/includes/updates-msg.html
Normal file
@@ -0,0 +1,8 @@
|
||||
<div class="warning">
|
||||
<p><strong>Warning:</strong></p>
|
||||
<p>Popups v1.0.0 it's a totally new version of the plugin. Previous version are deprecated as the plugin was totally recoded from scracth. Please save your popups if you have custom text on them because the <strong>will be lost after update</strong></p>
|
||||
</div>
|
||||
<div class="error">
|
||||
<p><strong>Warning:</strong></p>
|
||||
<p>Popups v1.0.0 it's a totally new version of the plugin. Previous version are deprecated as the plugin was totally recoded from scracth. Please save your popups if you have custom text on them because the <strong>will be lost after update</strong></p>
|
||||
</div>
|
||||
1
wp-content/plugins/popups/index.php
Normal file
1
wp-content/plugins/popups/index.php
Normal file
@@ -0,0 +1 @@
|
||||
<?php // Silence is golden
|
||||
1
wp-content/plugins/popups/languages/index.php
Normal file
1
wp-content/plugins/popups/languages/index.php
Normal file
@@ -0,0 +1 @@
|
||||
<?php // Silence is golden
|
||||
BIN
wp-content/plugins/popups/languages/popups-de_DE.mo
Normal file
BIN
wp-content/plugins/popups/languages/popups-de_DE.mo
Normal file
Binary file not shown.
870
wp-content/plugins/popups/languages/popups-de_DE.po
Normal file
870
wp-content/plugins/popups/languages/popups-de_DE.po
Normal file
@@ -0,0 +1,870 @@
|
||||
# Copyright (C) 2013 TODO
|
||||
# This file is distributed under the same license as the TODO package.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Popups\n"
|
||||
"Report-Msgid-Bugs-To: http://wordpress.org/plugins/plugin-name\n"
|
||||
"POT-Creation-Date: 2016-02-04 13:02+0100\n"
|
||||
"PO-Revision-Date: 2018-01-22 16:35+0000\n"
|
||||
"Language-Team: Timersys <info@timersys.com>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Poedit 2.0.6\n"
|
||||
"X-Poedit-KeywordsList: __;_e;_n;_x;esc_html_e;esc_html__;esc_attr_e;"
|
||||
"esc_attr__;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_x:1,2c;_n:1,2\n"
|
||||
"X-Poedit-Basepath: ..\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"Last-Translator: \n"
|
||||
"Language: de_DE@formal\n"
|
||||
"X-Poedit-SearchPath-0: .\n"
|
||||
|
||||
#: admin/class-social-popup-admin.php:159
|
||||
msgctxt "post type singular name"
|
||||
msgid "Popups"
|
||||
msgstr "PopUps"
|
||||
|
||||
#: admin/class-social-popup-admin.php:160
|
||||
msgctxt "admin menu"
|
||||
msgid "Popups"
|
||||
msgstr "PopUps"
|
||||
|
||||
#: admin/class-social-popup-admin.php:161
|
||||
msgctxt "add new on admin bar"
|
||||
msgid "Popups"
|
||||
msgstr "PopUps"
|
||||
|
||||
#: admin/class-social-popup-admin.php:162
|
||||
msgctxt "Popups"
|
||||
msgid "Add New"
|
||||
msgstr "Neues hinzufügen"
|
||||
|
||||
#: admin/class-social-popup-admin.php:163
|
||||
msgid "Add New Popups"
|
||||
msgstr "Neue Popups hinzufügen"
|
||||
|
||||
#: admin/class-social-popup-admin.php:164
|
||||
msgid "New Popups"
|
||||
msgstr "Neue Popups"
|
||||
|
||||
#: admin/class-social-popup-admin.php:165
|
||||
msgid "Edit Popups"
|
||||
msgstr "Popups bearbeiten"
|
||||
|
||||
#: admin/class-social-popup-admin.php:166
|
||||
msgid "View Popups"
|
||||
msgstr "Popups anzeigen"
|
||||
|
||||
#: admin/class-social-popup-admin.php:167
|
||||
msgid "All Popups"
|
||||
msgstr "Alle Popups"
|
||||
|
||||
#: admin/class-social-popup-admin.php:168
|
||||
msgid "Search Popups"
|
||||
msgstr "Suche Popups"
|
||||
|
||||
#: admin/class-social-popup-admin.php:169
|
||||
msgid "Parent Popups:"
|
||||
msgstr "Übergeordnete Popups:"
|
||||
|
||||
#: admin/class-social-popup-admin.php:170
|
||||
msgid "No Popups found."
|
||||
msgstr "Keine Popups gefunden."
|
||||
|
||||
#: admin/class-social-popup-admin.php:171
|
||||
msgid "No Popups found in Trash."
|
||||
msgstr "Keine Popups im Papierkorb gefunden."
|
||||
|
||||
#: admin/class-social-popup-admin.php:212
|
||||
msgid "Settings"
|
||||
msgstr "Einstellungen"
|
||||
|
||||
#: admin/class-social-popup-admin.php:260
|
||||
msgid "Popups Premium"
|
||||
msgstr "Popups Premium"
|
||||
|
||||
#: admin/class-social-popup-admin.php:271
|
||||
msgid "PopUp Shortcodes"
|
||||
msgstr "PopUp Shortcodes"
|
||||
|
||||
#: admin/class-social-popup-admin.php:280
|
||||
msgid "PopUp Appearance"
|
||||
msgstr "Popup Stil"
|
||||
|
||||
#: admin/class-social-popup-admin.php:289
|
||||
msgid "PopUp Display Rules"
|
||||
msgstr "Popup-Anzeigeregeln"
|
||||
|
||||
#: admin/class-social-popup-admin.php:298
|
||||
msgid "Display Options"
|
||||
msgstr "Anzeige-Optionen"
|
||||
|
||||
#: admin/class-social-popup-admin.php:307
|
||||
msgid "Need support?"
|
||||
msgstr "Unterstützung benötigt?"
|
||||
|
||||
#: admin/class-social-popup-admin.php:315
|
||||
msgid "Donate & support"
|
||||
msgstr "Spenden & unterstützen"
|
||||
|
||||
#: admin/class-social-popup-admin.php:323
|
||||
msgid "About the developer"
|
||||
msgstr "Über den Hersteller"
|
||||
|
||||
#: admin/class-social-popup-admin.php:589
|
||||
#: admin/views/metaboxes/metabox-rules.php:33
|
||||
#: admin/views/metaboxes/metabox-rules.php:106
|
||||
msgid "or"
|
||||
msgstr "oder"
|
||||
|
||||
#: admin/class-social-popup-admin.php:616
|
||||
msgid "Add a Popup"
|
||||
msgstr "Ein PopUp zufügen"
|
||||
|
||||
#: admin/class-social-popup-admin.php:740
|
||||
msgid "User"
|
||||
msgstr "Benutzer"
|
||||
|
||||
#: admin/class-social-popup-admin.php:741
|
||||
msgid "User role"
|
||||
msgstr "Benutzer Rolle"
|
||||
|
||||
#: admin/class-social-popup-admin.php:742
|
||||
msgid "User is logged"
|
||||
msgstr "Benutzer ist angemeldet"
|
||||
|
||||
#: admin/class-social-popup-admin.php:743
|
||||
msgid "User never left a comment"
|
||||
msgstr "Benutzer hat nie einen Kommentar verfasst"
|
||||
|
||||
#: admin/class-social-popup-admin.php:744
|
||||
msgid "User came via a search engine"
|
||||
msgstr "Benutzer kam über eine Suchmaschine"
|
||||
|
||||
#: admin/class-social-popup-admin.php:745
|
||||
msgid "User did not arrive via another page on your site"
|
||||
msgstr "Benutzer kam nicht über eine andere Seite Ihrer Webseite"
|
||||
|
||||
#: admin/class-social-popup-admin.php:747
|
||||
#: admin/class-social-popup-admin.php:748
|
||||
msgid "Post"
|
||||
msgstr "Beitrag"
|
||||
|
||||
#: admin/class-social-popup-admin.php:749
|
||||
msgid "Post ID"
|
||||
msgstr "Beitrags ID"
|
||||
|
||||
#: admin/class-social-popup-admin.php:750
|
||||
msgid "Post Type"
|
||||
msgstr "Beitragstyp"
|
||||
|
||||
#: admin/class-social-popup-admin.php:751
|
||||
msgid "Post Category"
|
||||
msgstr "Beitragskategorie"
|
||||
|
||||
#: admin/class-social-popup-admin.php:752
|
||||
msgid "Post Format"
|
||||
msgstr "Beitragsformat"
|
||||
|
||||
#: admin/class-social-popup-admin.php:753
|
||||
msgid "Post Status"
|
||||
msgstr "Veröffentlichungsstatus"
|
||||
|
||||
#: admin/class-social-popup-admin.php:754
|
||||
msgid "Post Taxonomy"
|
||||
msgstr "Beitragsklassifizierung"
|
||||
|
||||
#: admin/class-social-popup-admin.php:756
|
||||
#: admin/class-social-popup-admin.php:757
|
||||
msgid "Page"
|
||||
msgstr "Seite"
|
||||
|
||||
#: admin/class-social-popup-admin.php:758
|
||||
msgid "Page Type"
|
||||
msgstr "Seitentyp"
|
||||
|
||||
#: admin/class-social-popup-admin.php:759
|
||||
msgid "Page Parent"
|
||||
msgstr "Übergeordnete Seite"
|
||||
|
||||
#: admin/class-social-popup-admin.php:760
|
||||
msgid "Page Template"
|
||||
msgstr "Seitentemplate"
|
||||
|
||||
#: admin/class-social-popup-admin.php:762
|
||||
msgid "Other"
|
||||
msgstr "Sonstiges"
|
||||
|
||||
#: admin/class-social-popup-admin.php:763
|
||||
msgid "Referrer"
|
||||
msgstr "Empfehler"
|
||||
|
||||
#: admin/class-social-popup-admin.php:764
|
||||
msgid "Mobile Phone"
|
||||
msgstr "Mobil Nummer"
|
||||
|
||||
#: admin/class-social-popup-admin.php:765
|
||||
msgid "Tablet"
|
||||
msgstr "Tablet"
|
||||
|
||||
#: admin/class-social-popup-admin.php:813
|
||||
msgid "ID"
|
||||
msgstr "ID"
|
||||
|
||||
#: admin/includes/class-spu-notices.php:30
|
||||
#, php-format
|
||||
msgid ""
|
||||
"We noticed that you have been using our plugin for a while and we would like "
|
||||
"to ask you a little favour. If you are happy with it and can take a minute "
|
||||
"please <a href=\"%s\" target=\"_blank\">leave a nice review</a> on "
|
||||
"WordPress. It will be a tremendous help for us!"
|
||||
msgstr ""
|
||||
"Wir haben festgestellt, dass Sie unser Plugin bereits für eine Weile "
|
||||
"verwendet haben und möchten Sie um einen Gefallen bitten. Wenn Sie mit "
|
||||
"unserem Plugin zufrieden sind, nehmen Sie sich bitte eine Minute Zeit und <a "
|
||||
"href=\"%s\" target=\"_blank\">hinterlassen eine positive Rezension</a> auf "
|
||||
"WordPress. Es wird für uns eine große Hilfe sein!"
|
||||
|
||||
#: admin/includes/class-spu-notices.php:32
|
||||
#, php-format
|
||||
msgid "<a href=\"%s\" target=\"_blank\">Leave a nice review</a>"
|
||||
msgstr "<a href=\"%s\" target=\"_blank\">Eine positive Rezension verfassen</a>"
|
||||
|
||||
#: admin/includes/class-spu-notices.php:33
|
||||
#, php-format
|
||||
msgid "<a href=\"%s\">No, thanks</a>"
|
||||
msgstr "<a href=\"%s\">Nein Danke!</a>"
|
||||
|
||||
#: admin/views/metaboxes/metabox-appearance.php:10
|
||||
msgid "Background opacity"
|
||||
msgstr "Hintergrund Transparenz"
|
||||
|
||||
#: admin/views/metaboxes/metabox-appearance.php:12
|
||||
msgid "Leave at 0 for no background. Max value is 1"
|
||||
msgstr "0 für keinen Hintergrund. Max ist 1"
|
||||
|
||||
#: admin/views/metaboxes/metabox-appearance.php:18
|
||||
msgid "Background color"
|
||||
msgstr "Hintergrundfarbe"
|
||||
|
||||
#: admin/views/metaboxes/metabox-appearance.php:22
|
||||
msgid "Text color"
|
||||
msgstr "Text Farbe"
|
||||
|
||||
#: admin/views/metaboxes/metabox-appearance.php:26
|
||||
msgid "Box width"
|
||||
msgstr "Breite des Inhalts-Blocks"
|
||||
|
||||
#: admin/views/metaboxes/metabox-appearance.php:32
|
||||
msgid "Border color"
|
||||
msgstr "Rahmenfarbe"
|
||||
|
||||
#: admin/views/metaboxes/metabox-appearance.php:36
|
||||
msgid "Border width"
|
||||
msgstr "Rahmenbreite"
|
||||
|
||||
#: admin/views/metaboxes/metabox-donate.php:6
|
||||
msgid "If you like this plugin, consider supporting it by donating."
|
||||
msgstr ""
|
||||
"Wenn Ihnen dieses Plugin gefällt, unterstützen Sie es mit einer Spende."
|
||||
|
||||
#: admin/views/metaboxes/metabox-donate.php:8
|
||||
msgid "Donate with PayPal"
|
||||
msgstr "Mit PayPal spenden"
|
||||
|
||||
#: admin/views/metaboxes/metabox-donate.php:10
|
||||
msgid "Some other ways to support this plugin"
|
||||
msgstr "Einige andere Möglichkeiten, dieses Plugin zu unterstützen"
|
||||
|
||||
#: admin/views/metaboxes/metabox-donate.php:12
|
||||
msgid "Leave a ★★★★★ review on WordPress.org"
|
||||
msgstr ""
|
||||
"Hinterlassen Sie eine ★★★★★ Bewertung auf "
|
||||
"WordPress.org"
|
||||
|
||||
#: admin/views/metaboxes/metabox-donate.php:13
|
||||
msgid "Write about Popups on your blog"
|
||||
msgstr "Über Popups in Ihrem Blog schreiben"
|
||||
|
||||
#: admin/views/metaboxes/metabox-donate.php:14
|
||||
msgid "Tweet about Popups"
|
||||
msgstr "Tweet über Popups"
|
||||
|
||||
#: admin/views/metaboxes/metabox-donate.php:15
|
||||
msgid "Vote \"works\" on the WordPress.org plugin page"
|
||||
msgstr ""
|
||||
"Stimmen Sie mit "funktioniert" auf der WordPress.org Plugin Seite"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:6
|
||||
msgid ""
|
||||
"You have some social shortcodes to use that will print a Facebook like, a "
|
||||
"Google+ Follow and a Twitter follow. Check the available options and "
|
||||
"<strong>configure them with your social accounts</strong>:"
|
||||
msgstr ""
|
||||
"Sie haben einige Shortcodes zur Verfügung, die: Facebook like, Google + "
|
||||
"folgen und ein Twitter folgen auf der Seite anzeigen können. Überprüfen Sie "
|
||||
"die verfügbaren Optionen um <strong>sie mit Ihren sozialen Netzwerkkonten zu "
|
||||
"konfigurieren</strong>:"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:8
|
||||
msgid "Facebook Page"
|
||||
msgstr "Facebook-Seite"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:12
|
||||
msgid "View Facebook Page Options"
|
||||
msgstr "Zeige Facebook-Seitenoptionen"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:14
|
||||
#: admin/views/metaboxes/metabox-help.php:27
|
||||
msgid "Your Facebook page url"
|
||||
msgstr "Ihre Facebook-URL"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:15
|
||||
msgid "Your page name"
|
||||
msgstr "Ihr Seitenname"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:16
|
||||
msgid "true|false <b>Default value:</b> true"
|
||||
msgstr "richtig|falsch <b>Standart-Einstellung</b> richtig"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:17
|
||||
msgid "true|false <b>Default value:</b> false"
|
||||
msgstr "richtig|falsch <b>Standart-Einstellung</b> falsch"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:18
|
||||
msgid "number <b>Default value:</b> 500"
|
||||
msgstr "Anzahl <b>Standart-Wert:</b> 500"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:21
|
||||
msgid "Facebook Button"
|
||||
msgstr "Facebook Taste"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:25
|
||||
msgid "View Facebook Options"
|
||||
msgstr "Zeige Facebook-Optionen"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:28
|
||||
msgid "standard, box_count, button <b>Default value:</b> button_count"
|
||||
msgstr "standart, box_drücke, taste <b>Standard Wert:</b> tasten_drücke"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:29
|
||||
#: admin/views/metaboxes/metabox-help.php:30
|
||||
msgid "true <b>Default value:</b> false"
|
||||
msgstr "richtig <b>Standart-Einstellung</b> falsch"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:31
|
||||
msgid "recommend <b>Default value:</b> like"
|
||||
msgstr "empfohlen <b>Default-Wert:</b> like"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:32
|
||||
msgid "number <b>Default value:</b>"
|
||||
msgstr "Anzahl <b>Standart-Wert:</b>"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:34
|
||||
msgid "Google+ Button"
|
||||
msgstr "Google+Taste"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:38
|
||||
msgid "View Google+ Options"
|
||||
msgstr "Zeige Google +-Optionen"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:40
|
||||
msgid "Your Google+ url"
|
||||
msgstr "Geben Sie Ihren Google+-Link an."
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:41
|
||||
msgid "small, standard, tall <b>Default value:</b> medium"
|
||||
msgstr "klein, standart, groß <b>Standart-Wert:</b> medium"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:42
|
||||
msgid "inline, none <b>Default value:</b> bubble"
|
||||
msgstr "inline, none <b>Standartt-Wert:</b> bubble"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:44
|
||||
msgid "Twitter Button"
|
||||
msgstr "Twitter Taste"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:48
|
||||
msgid "View Twitter Options"
|
||||
msgstr "Zeige Twitter Optionen"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:50
|
||||
msgid "Your Twitter user <b>Default chifliiiii</b>"
|
||||
msgstr "Ihr Twitter Benutzername <b>Standard-chifliiiii</b>"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:51
|
||||
msgid "false <b>Default value:</b> true"
|
||||
msgstr "falsch <b>Standart-Einstellung</b> richtig"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:52
|
||||
msgid "large <b>Default value:</b> \"\""
|
||||
msgstr "groß <b>Standart-Wert:</b> \"\""
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:55
|
||||
msgid "Other available Shortcodes:"
|
||||
msgstr "Weitere Shortcodes:"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:56
|
||||
msgid "Close Button"
|
||||
msgstr "Schließen-Schaltfläche"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:60
|
||||
msgid "View Close shortcode Options"
|
||||
msgstr "Zeige Shortcodes-Optionen zu: Schließen"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:62
|
||||
msgid "Pass a custom class to style your button"
|
||||
msgstr ""
|
||||
"Bestimmen Sie eine benutzerdefinierte CSS-Klasse, zu Ihrer Schaltfläche"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:63
|
||||
msgid "Button label - <b>Default value:</b> Close"
|
||||
msgstr "Schaltflächentext - <b>Default-Wert:</b> Schließen"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:64
|
||||
msgid "left, right, center, none - <b>Default value:</b> center"
|
||||
msgstr "links, rechts, mittig, ohne - <b>Default-Wert:</b> mittig"
|
||||
|
||||
#: admin/views/metaboxes/metabox-links.php:6
|
||||
msgid "My name is"
|
||||
msgstr "Mein Name ist"
|
||||
|
||||
#: admin/views/metaboxes/metabox-links.php:6
|
||||
msgid "I develop WordPress plugins and themes."
|
||||
msgstr "Ich entwickle WordPress Plugins und Themes."
|
||||
|
||||
#: admin/views/metaboxes/metabox-links.php:7
|
||||
#, php-format
|
||||
msgid ""
|
||||
"Take a look at my <a href=\"%s\">site</a> to see my other plugins or hire "
|
||||
"me. Subscribe to get updates!"
|
||||
msgstr ""
|
||||
"Werfen Sie einen Blick auf meine <a href=\"%s\">Website</a>, um andere "
|
||||
"Plugins von mir zu sehen oder mir direkt einen Kundenauftrag zu erteilen. "
|
||||
"Abonnieren Sie meine Newsletter für Updates!"
|
||||
|
||||
#: admin/views/metaboxes/metabox-links.php:8
|
||||
msgid "Other plugins I built:"
|
||||
msgstr "Andere Plugins von mir:"
|
||||
|
||||
#: admin/views/metaboxes/metabox-links.php:10
|
||||
msgid "Install multiple plugins and create collections"
|
||||
msgstr "Mehrere Plugins installieren und Sammlungen erstellen"
|
||||
|
||||
#: admin/views/metaboxes/metabox-links.php:11
|
||||
msgid "Geotarget your content"
|
||||
msgstr "Geotarget Ihrer Inhalte"
|
||||
|
||||
#: admin/views/metaboxes/metabox-links.php:12
|
||||
msgid "Invite your network friends and import contacts"
|
||||
msgstr "Lade Freunde ein und importiere Kontakte"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:9
|
||||
msgid "Box Position"
|
||||
msgstr "Position der Box"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:12
|
||||
msgid "Centered"
|
||||
msgstr "Zentriert"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:13
|
||||
msgid "Top Left"
|
||||
msgstr "Oben links"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:14
|
||||
msgid "Top Right"
|
||||
msgstr "Oben rechts"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:15
|
||||
msgid "Bottom Left"
|
||||
msgstr "Unten links"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:16
|
||||
msgid "Bottom Right"
|
||||
msgstr "Unten rechts"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:23
|
||||
msgid "Trigger action"
|
||||
msgstr "Auslöseaktion"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:27
|
||||
msgid "seconds after page load"
|
||||
msgstr "Sekunden nach dem Laden der Seite"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:28
|
||||
msgid "of page height"
|
||||
msgstr "der Seitenhöhe"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:38
|
||||
msgid "Auto-hide?"
|
||||
msgstr "Automatisch ausblenden?"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:40
|
||||
#: admin/views/metaboxes/metabox-options.php:68
|
||||
#: admin/views/metaboxes/metabox-options.php:76
|
||||
#: admin/views/metaboxes/metabox-options.php:84
|
||||
msgid "Yes"
|
||||
msgstr "Ja"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:41
|
||||
#: admin/views/metaboxes/metabox-options.php:69
|
||||
#: admin/views/metaboxes/metabox-options.php:77
|
||||
#: admin/views/metaboxes/metabox-options.php:85
|
||||
msgid "No"
|
||||
msgstr "Nein"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:42
|
||||
msgid "Hide box again when visitors scroll back up?"
|
||||
msgstr ""
|
||||
"Soll die Box wieder versteckt werden, wenn Besucher zurück nach oben "
|
||||
"scrollen?"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:46
|
||||
msgid "Animation"
|
||||
msgstr "Animieren"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:49
|
||||
msgid "Fade In"
|
||||
msgstr "Einblenden"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:50
|
||||
msgid "Slide In"
|
||||
msgstr "Seitlich einfahren"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:53
|
||||
msgid "Slide will only apply when popup is on the corners"
|
||||
msgstr "Seitliches Einfahren nur: wenn das Popup in den Ecken platziert ist"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:58
|
||||
msgid "Cookie expiration days"
|
||||
msgstr "Cookie läuft aus in Tagen"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:61
|
||||
msgid "After closing the box, how many days should it stay hidden?"
|
||||
msgstr "Wie viele Tage sollte das Popup nach Schließen nicht angezeigt werden?"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:66
|
||||
msgid "Enable test mode?"
|
||||
msgstr "Testmodus aktivieren?"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:70
|
||||
msgid ""
|
||||
"If test mode is enabled, the box will show up regardless of whether a cookie "
|
||||
"has been set. (To admins only)"
|
||||
msgstr ""
|
||||
"Wenn Test-Modus aktiviert ist, wird das Popup angezeigt. Unabhängig davon, "
|
||||
"ob ein Cookie festgelegt wurde. (Nur für Admins)"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:74
|
||||
msgid "Close on conversion?"
|
||||
msgstr "Schließen nach Konvertierung?"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:78
|
||||
msgid ""
|
||||
"If you have a form or social shortcode, by default popup will close on "
|
||||
"submission/conversion"
|
||||
msgstr ""
|
||||
"Wenn Sie ein Formular oder ein Shortcode für soziale Netzwerkehaben, wird "
|
||||
"standardmäßig das Popup nach Anmeldung/Konversion geschlossen"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:82
|
||||
msgid "Show powered by link?"
|
||||
msgstr "Mit Unterstützung von Link anzeigen?"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:86
|
||||
#, php-format
|
||||
msgid ""
|
||||
"Shows a \"powered by\" link below your popup. If your affiliate link is set "
|
||||
"in the <a href=\"%s\">settings</a>, it will be used."
|
||||
msgstr ""
|
||||
"Zeigt einen \"powered by\" Link unten in Ihrem Popup. Wenn Ihr Affiliate-"
|
||||
"Link in den <a href=\"%s\">Einstellungen</a> festgelegt ist, wird dieser "
|
||||
"verwendet."
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:16
|
||||
msgid ""
|
||||
"Take the best WordPress Popups plugin to the next level with Popups Premium "
|
||||
"extension."
|
||||
msgstr ""
|
||||
"Bringen Sie das beste WordPress Popups-Plugin auf den nächsten Level mit der "
|
||||
"Popups Premium-Erweiterung."
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:17
|
||||
msgid "Popups Premium Features:"
|
||||
msgstr "Popups Premium Features:"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:19
|
||||
msgid "Beautiful optin forms for popular mail providers"
|
||||
msgstr "Schöne Opt-In Formulare für die bekanntesten E-Mail-Anbieter"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:20
|
||||
msgid "Currently supporting MailChimp, Aweber, Postmatic, Mailpoet"
|
||||
msgstr "Aktuell unterstützt: MailChimp, Aweber, Postmatic, Mailpoet"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:21
|
||||
msgid ""
|
||||
"Track impressions and Conversions of social likes and forms submissions like "
|
||||
"Contact Form 7, Gravity forms, etc"
|
||||
msgstr ""
|
||||
"Verfolge Impressionen und Konversionen von sozialen Likes und "
|
||||
"Formularübermittlungen wie: Contact Form 7, Gravity forms, etc."
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:22
|
||||
msgid "Track impressions and Conversions also in Google Analytics"
|
||||
msgstr "Verfolge Impressionen und Conversions auch in Google Analytics"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:23
|
||||
#: admin/views/metaboxes/metabox-premium.php:25
|
||||
msgid "Exit Intent technology"
|
||||
msgstr "\"Beim Verlassen der Seite\" Technologie"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:24
|
||||
msgid "8 New animations effects"
|
||||
msgstr "8 neue Animationen"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:26
|
||||
msgid "New trigger methods"
|
||||
msgstr "Neue Trigger-Methoden"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:27
|
||||
msgid "Timer for auto closing"
|
||||
msgstr "Timer für automatische Schließung"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:28
|
||||
msgid "Ability to disable close button"
|
||||
msgstr "Möglichkeit zum Deaktivieren der Schaltfläche \"schließen\""
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:29
|
||||
msgid ""
|
||||
"Ability to disable Advanced close methods like esc or clicking outside of "
|
||||
"the popup"
|
||||
msgstr ""
|
||||
"Möglichkeit, fortschrittliche \"Schließen\" Methoden wie ESC oder Klicken "
|
||||
"außerhalb des Popups zu deaktivieren"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:30
|
||||
msgid "Premium support"
|
||||
msgstr "Premium-Support"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:34
|
||||
msgid "Buy Now!"
|
||||
msgstr "Sofort Kaufen!"
|
||||
|
||||
#: admin/views/metaboxes/metabox-rules.php:19
|
||||
msgid "Rules"
|
||||
msgstr "Regeln"
|
||||
|
||||
#: admin/views/metaboxes/metabox-rules.php:20
|
||||
msgid "Create a set of rules to determine where the popup will show"
|
||||
msgstr ""
|
||||
"Erstellen Sie einen Satz von Regeln, um festzustellen, wo das Popup "
|
||||
"angezeigt wird"
|
||||
|
||||
#: admin/views/metaboxes/metabox-rules.php:31
|
||||
msgid "Show this popup if"
|
||||
msgstr "Zeigen Sie dieses Popup wenn"
|
||||
|
||||
#: admin/views/metaboxes/metabox-rules.php:61
|
||||
msgid "is equal to"
|
||||
msgstr "ist gleich"
|
||||
|
||||
#: admin/views/metaboxes/metabox-rules.php:62
|
||||
msgid "is not equal to"
|
||||
msgstr "ist nicht gleich"
|
||||
|
||||
#: admin/views/metaboxes/metabox-rules.php:93
|
||||
msgid "and"
|
||||
msgstr "und"
|
||||
|
||||
#: admin/views/metaboxes/metabox-rules.php:108
|
||||
msgid "Add rule group"
|
||||
msgstr "Regelgruppe hinzufügen"
|
||||
|
||||
#: admin/views/metaboxes/metabox-support.php:6
|
||||
#, php-format
|
||||
msgid "You are using Popups plugin v%s"
|
||||
msgstr "Sie verwenden Popups Plugin v%s"
|
||||
|
||||
#: admin/views/metaboxes/metabox-support.php:7
|
||||
#, php-format
|
||||
msgid ""
|
||||
"If you need support please go to the WordPress.org <a href=\"%s\">support "
|
||||
"forums</a>"
|
||||
msgstr ""
|
||||
"Wenn Sie Unterstützung benötigen, gehen Sie bitte auf WordPress.org <a href="
|
||||
"\"%s\">Support-Foren</a>"
|
||||
|
||||
#: admin/views/settings-page.php:17
|
||||
msgid "Affiliate link"
|
||||
msgstr "Affiliate Link"
|
||||
|
||||
#: admin/views/settings-page.php:20
|
||||
#, php-format
|
||||
msgid ""
|
||||
"You can earn money by promoting the plugin! Join <a href=\"%s\">our "
|
||||
"affiliate program</a> and paste your affiliate link here to earn 35% in "
|
||||
"commissions . Once entered, it will replace the default \"Powered by\" on "
|
||||
"the popups."
|
||||
msgstr ""
|
||||
"Sie können Geld verdienen durch Promotion des Plugin! Treten Sie <a href=\"%s"
|
||||
"\">unserem Affiliate-Programm</a> bei und fügen Sie Ihren Affiliate-Link "
|
||||
"hier ein, um 35% an Provisionen zu verdienen. Einmal eingegeben, und der "
|
||||
"Standardwert \"Powered by\" wird mit Ihrem Link in den Popups ersetzt."
|
||||
|
||||
#: admin/views/settings-page.php:24
|
||||
msgid "Ajax mode?"
|
||||
msgstr "Ajax-Modus?"
|
||||
|
||||
#: admin/views/settings-page.php:27
|
||||
msgid ""
|
||||
"Load popups using ajax. Compatible with cache plugins, but might not work "
|
||||
"with all plugins"
|
||||
msgstr ""
|
||||
"Laden Sie Popups mit Ajax. Kompatibel mit Cache-Plugins, aber funktioniert "
|
||||
"möglicherweise nicht mit allen Plugins"
|
||||
|
||||
#: admin/views/settings-page.php:32
|
||||
msgid "Enable Debug mode?"
|
||||
msgstr "Fehlersuche aktivieren?"
|
||||
|
||||
#: admin/views/settings-page.php:35
|
||||
msgid "Will use uncompressed js"
|
||||
msgstr "Unkomprimierte Js verwenden"
|
||||
|
||||
#: admin/views/settings-page.php:40
|
||||
msgid "Enable safe mode?"
|
||||
msgstr "Aktivieren abgesicherter Modus?"
|
||||
|
||||
#: admin/views/settings-page.php:43
|
||||
msgid "Will move all popups to top of the screen."
|
||||
msgstr "Alle Popups wird zum oberen Rand des Bildschirms verschoben werden."
|
||||
|
||||
#: admin/views/settings-page.php:48
|
||||
msgid "Remove shortcodes style"
|
||||
msgstr "Shortcodes Stil entfernen"
|
||||
|
||||
#: admin/views/settings-page.php:51
|
||||
msgid ""
|
||||
"By default the plugin will apply some style to shortcodes. Check here if you "
|
||||
"want to manually style them"
|
||||
msgstr ""
|
||||
"Standardmäßig wird das Plugin eigene Stil-Shortcodes zuweisen. Aktivieren, "
|
||||
"wenn Sie Stile manuell erzeugen wollen"
|
||||
|
||||
#: admin/views/settings-page.php:56
|
||||
msgid "Unload Facebook javascript"
|
||||
msgstr "Facebook Javascript nicht laden"
|
||||
|
||||
#: admin/views/settings-page.php:59
|
||||
msgid "If you use your own Facebook script, check this"
|
||||
msgstr ""
|
||||
"Wenn Sie Ihr eigenes Facebook-Skript verwenden, aktivieren Sie dies hier"
|
||||
|
||||
#: admin/views/settings-page.php:64
|
||||
msgid "Unload Google javascript"
|
||||
msgstr "Google Javascript nicht laden"
|
||||
|
||||
#: admin/views/settings-page.php:67
|
||||
msgid "If you use your own Google script, check this"
|
||||
msgstr "Wenn Sie Ihre eigenes Google-Skript verwenden, aktivieren Sie dies"
|
||||
|
||||
#: admin/views/settings-page.php:72
|
||||
msgid "Unload Twitter javascript"
|
||||
msgstr "Twitter-Javascript nicht laden"
|
||||
|
||||
#: admin/views/settings-page.php:75
|
||||
msgid "If you use your own Twitter script, check this"
|
||||
msgstr ""
|
||||
"Wenn Sie Ihr eigenes Twitter-Skript verwenden, aktivieren Sie dies hier"
|
||||
|
||||
#: admin/views/settings-page.php:82
|
||||
msgid "Delete all data on Uninstall"
|
||||
msgstr "Alle Daten bei der Deinstallation löschen"
|
||||
|
||||
#: admin/views/settings-page.php:85
|
||||
msgid ""
|
||||
"When you uninstall the plugin all popups, settings and stats will be deleted "
|
||||
"from your db"
|
||||
msgstr ""
|
||||
"Wenn Sie das Plugin deinstallieren werden alle Popups, Einstellungen und "
|
||||
"Statistiken aus der Datenbank gelöscht"
|
||||
|
||||
#: admin/views/settings-page.php:89
|
||||
msgid "Save settings"
|
||||
msgstr "Einstellungen speichern"
|
||||
|
||||
#: includes/class-spu-helper.php:131
|
||||
msgid "All Pages"
|
||||
msgstr "Alle Seiten"
|
||||
|
||||
#: includes/class-spu-helper.php:132
|
||||
msgid "Front Page"
|
||||
msgstr "Startseite"
|
||||
|
||||
#: includes/class-spu-helper.php:133
|
||||
msgid "Posts Page"
|
||||
msgstr "Beiträge Seite"
|
||||
|
||||
#: includes/class-spu-helper.php:134
|
||||
msgid "Category Page"
|
||||
msgstr "Kategorie Seite"
|
||||
|
||||
#: includes/class-spu-helper.php:135
|
||||
msgid "Search Page"
|
||||
msgstr "Suche-Seite"
|
||||
|
||||
#: includes/class-spu-helper.php:136
|
||||
msgid "Archives Page"
|
||||
msgstr "Archivseite"
|
||||
|
||||
#: includes/class-spu-helper.php:137
|
||||
msgid "Top Level Page (parent of 0)"
|
||||
msgstr "Hauptseite (nicht übergeordnet)"
|
||||
|
||||
#: includes/class-spu-helper.php:138
|
||||
msgid "Parent Page (has children)"
|
||||
msgstr "Eltern-Seite (mit Kind-Seiten darunter)"
|
||||
|
||||
#: includes/class-spu-helper.php:139
|
||||
msgid "Child Page (has parent)"
|
||||
msgstr "Kind-Seite (hat Eltern)"
|
||||
|
||||
#: includes/class-spu-helper.php:147
|
||||
msgid "Default Template"
|
||||
msgstr "Standardvorlage"
|
||||
|
||||
#: includes/class-spu-helper.php:220
|
||||
msgid "Publish"
|
||||
msgstr "Veröffentlichen"
|
||||
|
||||
#: includes/class-spu-helper.php:221
|
||||
msgid "Pending Review"
|
||||
msgstr "Ausstehende Bewertung"
|
||||
|
||||
#: includes/class-spu-helper.php:222
|
||||
msgid "Draft"
|
||||
msgstr "Entwurf"
|
||||
|
||||
#: includes/class-spu-helper.php:223
|
||||
msgid "Future"
|
||||
msgstr "Zukunft"
|
||||
|
||||
#: includes/class-spu-helper.php:224
|
||||
msgid "Private"
|
||||
msgstr "Privat"
|
||||
|
||||
#: includes/class-spu-helper.php:225
|
||||
msgid "Revision"
|
||||
msgstr "Revision"
|
||||
|
||||
#: includes/class-spu-helper.php:226
|
||||
msgid "Trash"
|
||||
msgstr "Papierkorb"
|
||||
|
||||
#: includes/class-spu-helper.php:239
|
||||
msgid "Super Admin"
|
||||
msgstr "Super Administrator"
|
||||
|
||||
#: includes/class-spu-helper.php:259
|
||||
msgid "True"
|
||||
msgstr "Richtig"
|
||||
BIN
wp-content/plugins/popups/languages/popups-es_ES.mo
Normal file
BIN
wp-content/plugins/popups/languages/popups-es_ES.mo
Normal file
Binary file not shown.
814
wp-content/plugins/popups/languages/popups-es_ES.po
Normal file
814
wp-content/plugins/popups/languages/popups-es_ES.po
Normal file
@@ -0,0 +1,814 @@
|
||||
# Copyright (C) 2013 TODO
|
||||
# This file is distributed under the same license as the TODO package.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Popups\n"
|
||||
"Report-Msgid-Bugs-To: http://wordpress.org/plugins/plugin-name\n"
|
||||
"POT-Creation-Date: 2015-06-14 00:02-0300\n"
|
||||
"PO-Revision-Date: 2015-10-01 15:15-0300\n"
|
||||
"Last-Translator: Damian Logghe <info@timersys.com>\n"
|
||||
"Language-Team: Timersys <info@timersys.com>\n"
|
||||
"Language: es_ES\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Poedit 1.7.4\n"
|
||||
"X-Poedit-KeywordsList: __;_e;_n;_x;esc_html_e;esc_html__;esc_attr_e;"
|
||||
"esc_attr__;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_x:1,2c;_n:1,2\n"
|
||||
"X-Poedit-Basepath: ../\n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Poedit-SearchPath-0: .\n"
|
||||
|
||||
#: admin/class-social-popup-admin.php:154
|
||||
msgctxt "post type singular name"
|
||||
msgid "Popups"
|
||||
msgstr "Popups [postear nombre singular del tipo]"
|
||||
|
||||
#: admin/class-social-popup-admin.php:155
|
||||
msgctxt "admin menu"
|
||||
msgid "Popups"
|
||||
msgstr "Popups [menú del admin]"
|
||||
|
||||
#: admin/class-social-popup-admin.php:156
|
||||
msgctxt "add new on admin bar"
|
||||
msgid "Popups"
|
||||
msgstr "Popups [adicionar nuevo en la barra de admin]"
|
||||
|
||||
#: admin/class-social-popup-admin.php:157
|
||||
msgctxt "Popups"
|
||||
msgid "Add New"
|
||||
msgstr "Adicionar nuevo [Popups]"
|
||||
|
||||
#: admin/class-social-popup-admin.php:158
|
||||
msgid "Add New Popups"
|
||||
msgstr "Adicionar Nuevo Popups"
|
||||
|
||||
#: admin/class-social-popup-admin.php:159
|
||||
msgid "New Popups"
|
||||
msgstr "Nuevo Popups"
|
||||
|
||||
#: admin/class-social-popup-admin.php:160
|
||||
msgid "Edit Popups"
|
||||
msgstr "Editar Popups"
|
||||
|
||||
#: admin/class-social-popup-admin.php:161
|
||||
msgid "View Popups"
|
||||
msgstr "Ver Popups"
|
||||
|
||||
#: admin/class-social-popup-admin.php:162
|
||||
msgid "All Popups"
|
||||
msgstr "Todos los Popups"
|
||||
|
||||
#: admin/class-social-popup-admin.php:163
|
||||
msgid "Search Popups"
|
||||
msgstr "Buscar Popups"
|
||||
|
||||
#: admin/class-social-popup-admin.php:164
|
||||
msgid "Parent Popups:"
|
||||
msgstr "Popups Padre:"
|
||||
|
||||
#: admin/class-social-popup-admin.php:165
|
||||
msgid "No Popups found."
|
||||
msgstr "No se encontraron Popups."
|
||||
|
||||
#: admin/class-social-popup-admin.php:166
|
||||
msgid "No Popups found in Trash."
|
||||
msgstr "No se encontraron Popups en la Papelera."
|
||||
|
||||
#: admin/class-social-popup-admin.php:255
|
||||
msgid "Popups Premium"
|
||||
msgstr "Popups Premium"
|
||||
|
||||
#: admin/class-social-popup-admin.php:266
|
||||
msgid "PopUp Shortcodes"
|
||||
msgstr "Códigos Cortos del PopUp"
|
||||
|
||||
#: admin/class-social-popup-admin.php:275
|
||||
msgid "PopUp Display Rules"
|
||||
msgstr "Reglas de Visualización del PopUp"
|
||||
|
||||
#: admin/class-social-popup-admin.php:284
|
||||
msgid "Display Options"
|
||||
msgstr "Opciones de Visualización"
|
||||
|
||||
#: admin/class-social-popup-admin.php:293
|
||||
msgid "Need support?"
|
||||
msgstr "¿Necesita soporte?"
|
||||
|
||||
#: admin/class-social-popup-admin.php:301
|
||||
msgid "Donate & support"
|
||||
msgstr "Donar y soporte"
|
||||
|
||||
#: admin/class-social-popup-admin.php:309
|
||||
msgid "About the developer"
|
||||
msgstr "Acerca del desarrollador"
|
||||
|
||||
#: admin/class-social-popup-admin.php:557
|
||||
#: admin/views/metaboxes/metabox-rules.php:33
|
||||
#: admin/views/metaboxes/metabox-rules.php:106
|
||||
msgid "or"
|
||||
msgstr "o"
|
||||
|
||||
#: admin/class-social-popup-admin.php:584
|
||||
msgid "Add a Popup"
|
||||
msgstr "Adicionar un Popup"
|
||||
|
||||
#: admin/class-social-popup-admin.php:708
|
||||
msgid "User"
|
||||
msgstr "Usuario"
|
||||
|
||||
#: admin/class-social-popup-admin.php:709
|
||||
msgid "User role"
|
||||
msgstr "Rol de Usuario"
|
||||
|
||||
#: admin/class-social-popup-admin.php:710
|
||||
msgid "User is logged"
|
||||
msgstr "El usuario está autenticado"
|
||||
|
||||
#: admin/class-social-popup-admin.php:711
|
||||
msgid "User never left a comment"
|
||||
msgstr "El usuario nunca dejó un comentario"
|
||||
|
||||
#: admin/class-social-popup-admin.php:712
|
||||
msgid "User came via a search engine"
|
||||
msgstr "El usuario vino via un motor de búsqueda"
|
||||
|
||||
#: admin/class-social-popup-admin.php:713
|
||||
msgid "User did not arrive via another page on your site"
|
||||
msgstr "El usuario no llegó via ninguna otra página de su sitio"
|
||||
|
||||
#: admin/class-social-popup-admin.php:715
|
||||
#: admin/class-social-popup-admin.php:716
|
||||
msgid "Post"
|
||||
msgstr "Post"
|
||||
|
||||
#: admin/class-social-popup-admin.php:717
|
||||
msgid "Post ID"
|
||||
msgstr "ID del Post"
|
||||
|
||||
#: admin/class-social-popup-admin.php:718
|
||||
msgid "Post Type"
|
||||
msgstr "Tipo del Post"
|
||||
|
||||
#: admin/class-social-popup-admin.php:719
|
||||
msgid "Post Category"
|
||||
msgstr "Categoría del Post"
|
||||
|
||||
#: admin/class-social-popup-admin.php:720
|
||||
msgid "Post Format"
|
||||
msgstr "Formato del Post"
|
||||
|
||||
#: admin/class-social-popup-admin.php:721
|
||||
msgid "Post Status"
|
||||
msgstr "Estado del Post"
|
||||
|
||||
#: admin/class-social-popup-admin.php:722
|
||||
msgid "Post Taxonomy"
|
||||
msgstr "Taxonomía del Post"
|
||||
|
||||
#: admin/class-social-popup-admin.php:724
|
||||
#: admin/class-social-popup-admin.php:725
|
||||
msgid "Page"
|
||||
msgstr "Página"
|
||||
|
||||
#: admin/class-social-popup-admin.php:726
|
||||
msgid "Page Type"
|
||||
msgstr "Tipo de Página"
|
||||
|
||||
#: admin/class-social-popup-admin.php:727
|
||||
msgid "Page Parent"
|
||||
msgstr "Padre de la Página"
|
||||
|
||||
#: admin/class-social-popup-admin.php:728
|
||||
msgid "Page Template"
|
||||
msgstr "Plantilla de la Página"
|
||||
|
||||
#: admin/class-social-popup-admin.php:730
|
||||
msgid "Other"
|
||||
msgstr "Otro"
|
||||
|
||||
#: admin/class-social-popup-admin.php:731
|
||||
msgid "Referrer"
|
||||
msgstr "Remitente"
|
||||
|
||||
#: admin/class-social-popup-admin.php:732
|
||||
msgid "Mobile Phone"
|
||||
msgstr "Teléfono Móvil"
|
||||
|
||||
#: admin/class-social-popup-admin.php:733
|
||||
msgid "Tablet"
|
||||
msgstr "Tablet"
|
||||
|
||||
#: admin/includes/class-spu-notices.php:30
|
||||
#, php-format
|
||||
msgid ""
|
||||
"We noticed that you have been using our plugin for a while and we would like "
|
||||
"to ask you a little favour. If you are happy with it and can take a minute "
|
||||
"please <a href=\"%s\" target=\"_blank\">leave a nice review</a> on "
|
||||
"WordPress. It will be a tremendous help for us!"
|
||||
msgstr ""
|
||||
|
||||
#: admin/includes/class-spu-notices.php:32
|
||||
#, php-format
|
||||
msgid "<a href=\"%s\" target=\"_blank\">Leave a nice review</a>"
|
||||
msgstr ""
|
||||
|
||||
#: admin/includes/class-spu-notices.php:33
|
||||
#, php-format
|
||||
msgid "<a href=\"%s\">No, thanks</a>"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-donate.php:6
|
||||
msgid "If you like this plugin, consider supporting it by donating."
|
||||
msgstr "Si le gusta este plugin, considere soportarlo donando."
|
||||
|
||||
#: admin/views/metaboxes/metabox-donate.php:8
|
||||
msgid "Donate with PayPal"
|
||||
msgstr "Donar con PayPal"
|
||||
|
||||
#: admin/views/metaboxes/metabox-donate.php:10
|
||||
msgid "Some other ways to support this plugin"
|
||||
msgstr "Otras formas de soportar este plugin"
|
||||
|
||||
#: admin/views/metaboxes/metabox-donate.php:12
|
||||
msgid "Leave a ★★★★★ review on WordPress.org"
|
||||
msgstr ""
|
||||
"Deje un ★★★★★ comentario en WordPress.org"
|
||||
|
||||
#: admin/views/metaboxes/metabox-donate.php:13
|
||||
msgid "Write about Popups on your blog"
|
||||
msgstr "Escriba acerca de Popups en su blog"
|
||||
|
||||
#: admin/views/metaboxes/metabox-donate.php:14
|
||||
msgid "Tweet about Popups"
|
||||
msgstr "Haga tweet acerca de Popups"
|
||||
|
||||
#: admin/views/metaboxes/metabox-donate.php:15
|
||||
msgid "Vote \"works\" on the WordPress.org plugin page"
|
||||
msgstr "Vote \"funciona\" en la página del plugin de WordPress.org"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:6
|
||||
msgid ""
|
||||
"You have three social shortcodes to use that will print a Facebook like, a "
|
||||
"Google+ Follow and a Twitter follow. Check the available options and "
|
||||
"<strong>configure them with your social accounts</strong>:"
|
||||
msgstr ""
|
||||
"Tiene tres códigos cortos sociales para usar que mostrarán un me gusta de "
|
||||
"Facebook, un seguir de Google+ y un seguir de Twitter. Chequee las opciones "
|
||||
"de disponibilidad y <strong>configúrelas con sus cuentas sociales</strong>:"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:12
|
||||
msgid "View Facebook Page Options"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:14
|
||||
#: admin/views/metaboxes/metabox-help.php:27
|
||||
msgid "Your facebook page url"
|
||||
msgstr "La url de su página de Facebook"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:15
|
||||
msgid "Your page name"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:16
|
||||
msgid "true|false <b>Default value:</b> true"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:17
|
||||
msgid "true|false <b>Default value:</b> false"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:25
|
||||
msgid "View Facebook Options"
|
||||
msgstr "Ver Opciones de Facebook"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:28
|
||||
msgid "standard, box_count, button <b>Default value:</b> button_count"
|
||||
msgstr "standard, box_count, button <b> Valor por defecto:</b> button_count"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:29
|
||||
#: admin/views/metaboxes/metabox-help.php:30
|
||||
msgid "true <b>Default value:</b> false"
|
||||
msgstr "true <b>Valor por defecto:</b> false"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:31
|
||||
msgid "recommend <b>Default value:</b> like"
|
||||
msgstr "recommend <b>Valor por defecto:</b> like"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:38
|
||||
msgid "View Google+ Options"
|
||||
msgstr "Ver Opciones de Google+"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:40
|
||||
msgid "Your Google+ url"
|
||||
msgstr "Su url de Google+"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:41
|
||||
msgid "small, standard, tall <b>Default value:</b> medium"
|
||||
msgstr "small, standard, tall <b>Valor por defecto:</b> medium"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:42
|
||||
msgid "inline, none <b>Default value:</b> bubble"
|
||||
msgstr "inline, none <b>Valor por defecto:</b> bubble"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:48
|
||||
msgid "View Twitter Options"
|
||||
msgstr "Ver Opciones de Twitter"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:50
|
||||
msgid "Your Twitter user <b>Default chifli</b>iiii"
|
||||
msgstr "Su <b>chifli</b>iiii Por Defecto de su usuario de Twitter "
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:51
|
||||
msgid "false <b>Default value:</b> true"
|
||||
msgstr "false <b>Valor por defecto:</b> true"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:52
|
||||
msgid "large <b>Default value:</b> \"\""
|
||||
msgstr "large <b>Valor por defecto:</b> \"\""
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:55
|
||||
msgid "Other available Shortcodes:"
|
||||
msgstr "Otros Códigos Cortos disponibles:"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:60
|
||||
msgid "View Close shortcode Options"
|
||||
msgstr "Ver Opciones Cerradas de códigos cortos "
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:62
|
||||
msgid "Pass a custom class to style your button"
|
||||
msgstr "Pasar una clase personalizada para darle estilo a su botón"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:63
|
||||
msgid "Button label - <b>Default value:</b> Close"
|
||||
msgstr "Button label - <b>Valor por defecto:</b> Close"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:64
|
||||
msgid "left, right, center, none - <b>Default value:</b> center"
|
||||
msgstr "left, right, center, none - <b>Valor por defecto:</b> center"
|
||||
|
||||
#: admin/views/metaboxes/metabox-links.php:6
|
||||
msgid "My name is"
|
||||
msgstr "Mi nombre es"
|
||||
|
||||
#: admin/views/metaboxes/metabox-links.php:6
|
||||
msgid "I develop WordPress plugins and themes."
|
||||
msgstr "Yo desarrollo plugins y temas de WordPress."
|
||||
|
||||
#: admin/views/metaboxes/metabox-links.php:7
|
||||
#, php-format
|
||||
msgid ""
|
||||
"Take a look at my <a href=\"%s\">site</a> to see my other plugins or hire "
|
||||
"me. Subscribe to get updates!"
|
||||
msgstr ""
|
||||
"Eche una ojeada a mi <a href=\"%s\">sitio</a> para ver mis otros plugins o "
|
||||
"contratarme. ¡Suscríbase para obtener actualizaciones!"
|
||||
|
||||
#: admin/views/metaboxes/metabox-links.php:8
|
||||
msgid "Other plugins I built:"
|
||||
msgstr "Otros plugins que hago:"
|
||||
|
||||
#: admin/views/metaboxes/metabox-links.php:10
|
||||
msgid "Install multiple plugins and create collections"
|
||||
msgstr "Instalar múltiples plugins y crear colecciones"
|
||||
|
||||
#: admin/views/metaboxes/metabox-links.php:11
|
||||
msgid "Geotarget your content"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-links.php:12
|
||||
msgid "Invite your network friends and import contacts"
|
||||
msgstr "Invitar a sus amigos de la red e importar contactos"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:9
|
||||
msgid "Box Position"
|
||||
msgstr "Posición de la Caja"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:12
|
||||
msgid "Centered"
|
||||
msgstr "Centrada"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:13
|
||||
msgid "Top Left"
|
||||
msgstr "Arriba a la Izquierda"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:14
|
||||
msgid "Top Right"
|
||||
msgstr "Arriba a la Derecha"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:15
|
||||
msgid "Bottom Left"
|
||||
msgstr "Debajo a la Izquierda"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:16
|
||||
msgid "Bottom Right"
|
||||
msgstr "Debajo a la Derecha"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:23
|
||||
msgid "Trigger action"
|
||||
msgstr "Acción que se desencadena"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:27
|
||||
msgid "seconds after page load"
|
||||
msgstr "segundos luego de la carga de la página"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:28
|
||||
msgid "of page height"
|
||||
msgstr "del largo de la página"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:38
|
||||
msgid "Auto-hide?"
|
||||
msgstr "¿Auto ocultar?"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:40
|
||||
#: admin/views/metaboxes/metabox-options.php:68
|
||||
#: admin/views/metaboxes/metabox-options.php:76
|
||||
#: admin/views/metaboxes/metabox-options.php:84
|
||||
msgid "Yes"
|
||||
msgstr "Si"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:41
|
||||
#: admin/views/metaboxes/metabox-options.php:69
|
||||
#: admin/views/metaboxes/metabox-options.php:77
|
||||
#: admin/views/metaboxes/metabox-options.php:85
|
||||
msgid "No"
|
||||
msgstr "No"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:42
|
||||
#, php-format
|
||||
msgid ""
|
||||
"Hide box again when visitors scroll back up? Only works when Trigger action "
|
||||
"is set to % of page height"
|
||||
msgstr ""
|
||||
"¿Ocultar la caja nuevamente cuando los visitantes se desplazan hacia arriba? "
|
||||
"Solamente funciona cuando la acción Desencadenante se establece a % del "
|
||||
"largo de la página"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:46
|
||||
msgid "Animation"
|
||||
msgstr "Animación"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:49
|
||||
msgid "Fade In"
|
||||
msgstr "Entrar apareciendo"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:50
|
||||
msgid "Slide In"
|
||||
msgstr "Entrar deslizándose"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:53
|
||||
msgid "Slide will only apply when popup is on the corners"
|
||||
msgstr ""
|
||||
"El deslizado solamente se aplicará cuando el popup esté en las esquinas."
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:58
|
||||
msgid "Cookie expiration days"
|
||||
msgstr "Días de expiración de la cookie"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:61
|
||||
msgid "After closing the box, how many days should it stay hidden?"
|
||||
msgstr "Luego de cerrar la caja, ¿cuántos días debería estar oculta?"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:66
|
||||
msgid "Enable test mode?"
|
||||
msgstr " ¿Habilitar modo de prueba?"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:70
|
||||
msgid ""
|
||||
"If test mode is enabled, the box will show up regardless of whether a cookie "
|
||||
"has been set. (To admins only)"
|
||||
msgstr ""
|
||||
"el modo de prueba está habilitado, la caja se va a mostrar no importa si la "
|
||||
"cookie ha sido enviada. (Para administradores solamente)"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:74
|
||||
msgid "Close on conversion?"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:78
|
||||
msgid ""
|
||||
"If you have a form or social shortcode, by default popup will close on "
|
||||
"submission/conversion"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:82
|
||||
msgid "Show powered by link?"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:86
|
||||
#, php-format
|
||||
msgid ""
|
||||
"Shows a \"powered by\" link below your popup. If your affiliate link is set "
|
||||
"in the <a href=\"%s\">settings</a>, it will be used."
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:91
|
||||
msgid "Appearance"
|
||||
msgstr "Apariencia"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:95
|
||||
msgid "Background opacity"
|
||||
msgstr "Opacidad de fondo"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:98
|
||||
msgid "Leave at 0 for no background. Max value is 1"
|
||||
msgstr "dejarlo en 0 para no tener fondo. El valor máx es 1"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:104
|
||||
msgid "Background color"
|
||||
msgstr "Color de fondo"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:108
|
||||
msgid "Text color"
|
||||
msgstr "Color de texto"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:112
|
||||
msgid "Box width"
|
||||
msgstr "Ancho de la caja"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:118
|
||||
msgid "Border color"
|
||||
msgstr "Color de borde"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:122
|
||||
msgid "Border width"
|
||||
msgstr "Color de borde"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:16
|
||||
msgid ""
|
||||
"Take the best WordPress Popups plugin to the next level with Popups Premium "
|
||||
"extension."
|
||||
msgstr ""
|
||||
"Obtenga el mejor plugin de Popups de WordPress al siguiente nivel con la "
|
||||
"extensión Popups Premium."
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:17
|
||||
msgid "Popups Premium Features:"
|
||||
msgstr "Características de Popups Premium:"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:19
|
||||
msgid "Beautiful optin forms for popular mail providers"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:20
|
||||
msgid "Currently supporting MailChimp, Aweber, Postmatic, Mailpoet"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:21
|
||||
msgid ""
|
||||
"Track impressions and Conversions of social likes and forms submissions like "
|
||||
"Contact Form 7, Gravity forms, etc"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:22
|
||||
msgid "Track impressions and Conversions also in Google Analytics"
|
||||
msgstr "Track impressions and Conversions también en Google Analytics"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:23
|
||||
#: admin/views/metaboxes/metabox-premium.php:25
|
||||
msgid "Exit Intent technology"
|
||||
msgstr "Salir de la tecnología de Propósito"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:24
|
||||
msgid "8 New animations effects"
|
||||
msgstr "8 efectos de nuevas animaciones"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:26
|
||||
msgid "New trigger methods"
|
||||
msgstr " Nuevos métodos de desencadenamiento"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:27
|
||||
msgid "Timer for auto closing"
|
||||
msgstr "Temporizador para auto cerrado"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:28
|
||||
msgid "Ability to disable close button"
|
||||
msgstr "Habilidad para deshabilitar el botón de cerrado"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:29
|
||||
msgid ""
|
||||
"Ability to disable Advanced close methods like esc or clicking outside of "
|
||||
"the popup"
|
||||
msgstr ""
|
||||
"Habilidad para deshabilitar métodos de cerrado Avanzados como esc o "
|
||||
"haciendo clic fuera del popup"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:30
|
||||
msgid "Premium support"
|
||||
msgstr "Soporte Premium"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:34
|
||||
msgid "Buy Now!"
|
||||
msgstr "¡Comprar Ahora!"
|
||||
|
||||
#: admin/views/metaboxes/metabox-rules.php:19
|
||||
msgid "Rules"
|
||||
msgstr "Reglas"
|
||||
|
||||
#: admin/views/metaboxes/metabox-rules.php:20
|
||||
msgid "Create a set of rules to determine where the popup will show"
|
||||
msgstr ""
|
||||
"Crear un grupo de reglas para determinar dónde el popup se va a mostrar"
|
||||
|
||||
#: admin/views/metaboxes/metabox-rules.php:31
|
||||
msgid "Show this popup if"
|
||||
msgstr "Mostrar este popup si"
|
||||
|
||||
#: admin/views/metaboxes/metabox-rules.php:61
|
||||
msgid "is equal to"
|
||||
msgstr "es igual a"
|
||||
|
||||
#: admin/views/metaboxes/metabox-rules.php:62
|
||||
msgid "is not equal to"
|
||||
msgstr "no es igual a "
|
||||
|
||||
#: admin/views/metaboxes/metabox-rules.php:93
|
||||
msgid "and"
|
||||
msgstr "y"
|
||||
|
||||
#: admin/views/metaboxes/metabox-rules.php:108
|
||||
msgid "Add rule group"
|
||||
msgstr "Adicionar grupo de regla"
|
||||
|
||||
#: admin/views/metaboxes/metabox-support.php:6
|
||||
#, php-format
|
||||
msgid "You are using Popups plugin v%s"
|
||||
msgstr "Usted está usando el plugin Popups v%s"
|
||||
|
||||
#: admin/views/metaboxes/metabox-support.php:7
|
||||
#, php-format
|
||||
msgid ""
|
||||
"If you need support please go to the WordPress.org <a href=\"%s\">support "
|
||||
"forums</a>"
|
||||
msgstr ""
|
||||
"Si usted necesita soporte por favor vaya a <a href=\"%s\">los foros de "
|
||||
"soporte</a> de WordPress.org"
|
||||
|
||||
#: admin/views/settings-page.php:17
|
||||
msgid "Affiliate link"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/settings-page.php:20
|
||||
#, php-format
|
||||
msgid ""
|
||||
"You can earn money by promoting the plugin! Join <a href=\"%s\">our "
|
||||
"affiliate program</a> and paste your affiliate link here to earn 35% in "
|
||||
"commissions . Once entered, it will replace the default \"Powered by\" on "
|
||||
"the popups."
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/settings-page.php:24
|
||||
msgid "Ajax mode?"
|
||||
msgstr "¿Modo Ajax?"
|
||||
|
||||
#: admin/views/settings-page.php:27
|
||||
msgid ""
|
||||
"Load popups using ajax. Compatible with cache plugins, but might not work "
|
||||
"with all plugins"
|
||||
msgstr ""
|
||||
"Cargar popups usando ajax. Compatible con plugins de caché, pero puede no "
|
||||
"funcionar con todos los plugins"
|
||||
|
||||
#: admin/views/settings-page.php:32
|
||||
msgid "Enable Debug mode?"
|
||||
msgstr "¿Habilitar modo Debug?"
|
||||
|
||||
#: admin/views/settings-page.php:35
|
||||
msgid "Will use uncompressed js"
|
||||
msgstr "Va a usar js descomprimido"
|
||||
|
||||
#: admin/views/settings-page.php:40
|
||||
msgid "Enable safe mode?"
|
||||
msgstr "¿Habilitar modo seguro?"
|
||||
|
||||
#: admin/views/settings-page.php:43
|
||||
msgid "Will move all popups to top of the screen."
|
||||
msgstr "Moverá todos los popups hacia arriba de la pantalla."
|
||||
|
||||
#: admin/views/settings-page.php:48
|
||||
msgid "Remove shortcodes style"
|
||||
msgstr "Eliminar el estilo de los códigos cortos"
|
||||
|
||||
#: admin/views/settings-page.php:51
|
||||
msgid ""
|
||||
"By default the plugin will apply some style to shortcodes. Check here if you "
|
||||
"want to manually style them"
|
||||
msgstr ""
|
||||
"Por defecto el plugin aplicará algún estilo a códigos cortos. Seleccione "
|
||||
"aquí si quiere aplicarle el estilo manualmente"
|
||||
|
||||
#: admin/views/settings-page.php:56
|
||||
msgid "Unload Facebook javascript"
|
||||
msgstr "No cargar el javascript de Facebook"
|
||||
|
||||
#: admin/views/settings-page.php:59
|
||||
msgid "If you use your own Facebook script, check this"
|
||||
msgstr "Si usted usa su propio script de Facebook, seleccione aquí"
|
||||
|
||||
#: admin/views/settings-page.php:64
|
||||
msgid "Unload Google javascript"
|
||||
msgstr "No cargar javascript de Google"
|
||||
|
||||
#: admin/views/settings-page.php:67
|
||||
msgid "If you use your own Google script, check this"
|
||||
msgstr "Si usted usa su propio script de Google, seleccione aquí"
|
||||
|
||||
#: admin/views/settings-page.php:72
|
||||
msgid "Unload Twitter javascript"
|
||||
msgstr "No cargar javascript de Twitter"
|
||||
|
||||
#: admin/views/settings-page.php:75
|
||||
msgid "If you use your own Twitter script, check this"
|
||||
msgstr "Si usted usa su propio script de Twitter, seleccione aquí"
|
||||
|
||||
#: admin/views/settings-page.php:80
|
||||
msgid "Save settings"
|
||||
msgstr "Salvar ajustes"
|
||||
|
||||
#: includes/class-spu-helper.php:133
|
||||
msgid "All Pages"
|
||||
msgstr "Todas las Páginas"
|
||||
|
||||
#: includes/class-spu-helper.php:134
|
||||
msgid "Front Page"
|
||||
msgstr "Página Frontal"
|
||||
|
||||
#: includes/class-spu-helper.php:135
|
||||
msgid "Posts Page"
|
||||
msgstr "Página de Posts"
|
||||
|
||||
#: includes/class-spu-helper.php:136
|
||||
msgid "Category Page"
|
||||
msgstr "Página de Categoría"
|
||||
|
||||
#: includes/class-spu-helper.php:137
|
||||
msgid "Archives Page"
|
||||
msgstr "Página de Archivos"
|
||||
|
||||
#: includes/class-spu-helper.php:138
|
||||
msgid "Top Level Page (parent of 0)"
|
||||
msgstr "Página de Nivel Superior (padre de 0)"
|
||||
|
||||
#: includes/class-spu-helper.php:139
|
||||
msgid "Parent Page (has children)"
|
||||
msgstr "Página Padre (tiene hijos)"
|
||||
|
||||
#: includes/class-spu-helper.php:140
|
||||
msgid "Child Page (has parent)"
|
||||
msgstr "Página hija (tiene padre)"
|
||||
|
||||
#: includes/class-spu-helper.php:148
|
||||
msgid "Default Template"
|
||||
msgstr "Plantilla Por Defecto"
|
||||
|
||||
#: includes/class-spu-helper.php:221
|
||||
msgid "Publish"
|
||||
msgstr "Publicar"
|
||||
|
||||
#: includes/class-spu-helper.php:222
|
||||
msgid "Pending Review"
|
||||
msgstr "Revisión Pendiente"
|
||||
|
||||
#: includes/class-spu-helper.php:223
|
||||
msgid "Draft"
|
||||
msgstr "Borrador"
|
||||
|
||||
#: includes/class-spu-helper.php:224
|
||||
msgid "Future"
|
||||
msgstr "Futuro"
|
||||
|
||||
#: includes/class-spu-helper.php:225
|
||||
msgid "Private"
|
||||
msgstr "Privado"
|
||||
|
||||
#: includes/class-spu-helper.php:226
|
||||
msgid "Revision"
|
||||
msgstr "Revisión"
|
||||
|
||||
#: includes/class-spu-helper.php:227
|
||||
msgid "Trash"
|
||||
msgstr "Papelera"
|
||||
|
||||
#: includes/class-spu-helper.php:240
|
||||
msgid "Super Admin"
|
||||
msgstr "Super Admin"
|
||||
|
||||
#: includes/class-spu-helper.php:260
|
||||
msgid "True"
|
||||
msgstr "Verdadero"
|
||||
|
||||
#~ msgid "What's new"
|
||||
#~ msgstr "Qué hay de nuevo"
|
||||
|
||||
#~ msgid "credits"
|
||||
#~ msgstr "créditos"
|
||||
|
||||
#~ msgid "Like Facebook like box but for Twitter"
|
||||
#~ msgstr "Caja de me gusta de Facebook pero para Twitter"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "Track impressions and Conversions of social likes/follow and forms "
|
||||
#~ "submissions like Contact Form 7, Gravity forms, etc"
|
||||
#~ msgstr ""
|
||||
#~ "Track impressions and Conversions de likes/follow sociales y envíos de "
|
||||
#~ "formas como Contact Form 7, Gravity forms, etc"
|
||||
BIN
wp-content/plugins/popups/languages/popups-fr_FR .mo
Normal file
BIN
wp-content/plugins/popups/languages/popups-fr_FR .mo
Normal file
Binary file not shown.
864
wp-content/plugins/popups/languages/popups-fr_FR .po
Normal file
864
wp-content/plugins/popups/languages/popups-fr_FR .po
Normal file
@@ -0,0 +1,864 @@
|
||||
# Copyright (C) 2013 TODO
|
||||
# This file is distributed under the same license as the TODO package.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Popups\n"
|
||||
"Report-Msgid-Bugs-To: http://wordpress.org/plugins/plugin-name\n"
|
||||
"POT-Creation-Date: 2017-05-20 10:47+0200\n"
|
||||
"PO-Revision-Date: 2017-05-21 18:21+0200\n"
|
||||
"Language-Team: Timersys <info@timersys.com>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Poedit 2.0.2\n"
|
||||
"X-Poedit-KeywordsList: __;_e;_n;_x;esc_html_e;esc_html__;esc_attr_e;"
|
||||
"esc_attr__;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_x:1,2c;_n:1,2\n"
|
||||
"X-Poedit-Basepath: ..\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
"Last-Translator: Hubert Desrues <hdesrues@icloud.com>\n"
|
||||
"Language: fr_FR\n"
|
||||
"X-Poedit-SearchPath-0: .\n"
|
||||
|
||||
#: admin/class-social-popup-admin.php:159
|
||||
msgctxt "post type singular name"
|
||||
msgid "Popups"
|
||||
msgstr "Popups"
|
||||
|
||||
#: admin/class-social-popup-admin.php:160
|
||||
msgctxt "admin menu"
|
||||
msgid "Popups"
|
||||
msgstr "Popups"
|
||||
|
||||
#: admin/class-social-popup-admin.php:161
|
||||
msgctxt "add new on admin bar"
|
||||
msgid "Popups"
|
||||
msgstr "Popups"
|
||||
|
||||
#: admin/class-social-popup-admin.php:162
|
||||
msgctxt "Popups"
|
||||
msgid "Add New"
|
||||
msgstr "Ajouter"
|
||||
|
||||
#: admin/class-social-popup-admin.php:163
|
||||
msgid "Add New Popups"
|
||||
msgstr "Ajouter nouveaux Popups"
|
||||
|
||||
#: admin/class-social-popup-admin.php:164
|
||||
msgid "New Popups"
|
||||
msgstr "Nouveau Popups"
|
||||
|
||||
#: admin/class-social-popup-admin.php:165
|
||||
msgid "Edit Popups"
|
||||
msgstr "Éditer"
|
||||
|
||||
#: admin/class-social-popup-admin.php:166
|
||||
msgid "View Popups"
|
||||
msgstr "Visualiser"
|
||||
|
||||
#: admin/class-social-popup-admin.php:167
|
||||
msgid "All Popups"
|
||||
msgstr "Tous les Popups"
|
||||
|
||||
#: admin/class-social-popup-admin.php:168
|
||||
msgid "Search Popups"
|
||||
msgstr "Rechercher des Popups"
|
||||
|
||||
#: admin/class-social-popup-admin.php:169
|
||||
msgid "Parent Popups:"
|
||||
msgstr "Popups parent :"
|
||||
|
||||
#: admin/class-social-popup-admin.php:170
|
||||
msgid "No Popups found."
|
||||
msgstr "Pas de Popups trouvé."
|
||||
|
||||
#: admin/class-social-popup-admin.php:171
|
||||
msgid "No Popups found in Trash."
|
||||
msgstr "Pas de Popups dans la corbeille."
|
||||
|
||||
#: admin/class-social-popup-admin.php:212
|
||||
msgid "Settings"
|
||||
msgstr "Réglages"
|
||||
|
||||
#: admin/class-social-popup-admin.php:260
|
||||
msgid "Popups Premium"
|
||||
msgstr "Popups Premium"
|
||||
|
||||
#: admin/class-social-popup-admin.php:271
|
||||
msgid "PopUp Shortcodes"
|
||||
msgstr "Shortcodes Popups"
|
||||
|
||||
#: admin/class-social-popup-admin.php:280
|
||||
msgid "PopUp Appearance"
|
||||
msgstr "Apparence"
|
||||
|
||||
#: admin/class-social-popup-admin.php:289
|
||||
msgid "PopUp Display Rules"
|
||||
msgstr "Règles d’affichage"
|
||||
|
||||
#: admin/class-social-popup-admin.php:298
|
||||
msgid "Display Options"
|
||||
msgstr "Options de visualisation"
|
||||
|
||||
#: admin/class-social-popup-admin.php:307
|
||||
msgid "Need support?"
|
||||
msgstr "Besoin de support ?"
|
||||
|
||||
#: admin/class-social-popup-admin.php:315
|
||||
msgid "Donate & support"
|
||||
msgstr "Faites un don de soutien"
|
||||
|
||||
#: admin/class-social-popup-admin.php:323
|
||||
msgid "About the developer"
|
||||
msgstr "A propos du développeur"
|
||||
|
||||
#: admin/class-social-popup-admin.php:589
|
||||
#: admin/views/metaboxes/metabox-rules.php:33
|
||||
#: admin/views/metaboxes/metabox-rules.php:106
|
||||
msgid "or"
|
||||
msgstr "ou"
|
||||
|
||||
#: admin/class-social-popup-admin.php:616
|
||||
msgid "Add a Popup"
|
||||
msgstr "Ajouter un Popup"
|
||||
|
||||
#: admin/class-social-popup-admin.php:740
|
||||
msgid "User"
|
||||
msgstr "Utilisateur"
|
||||
|
||||
#: admin/class-social-popup-admin.php:741
|
||||
msgid "User role"
|
||||
msgstr "Rôle de l’utilisateur"
|
||||
|
||||
#: admin/class-social-popup-admin.php:742
|
||||
msgid "User is logged"
|
||||
msgstr "Utilisateur inscrit"
|
||||
|
||||
#: admin/class-social-popup-admin.php:743
|
||||
msgid "User never left a comment"
|
||||
msgstr "Utilisateur n’ayant jamais laissé de commentaire"
|
||||
|
||||
#: admin/class-social-popup-admin.php:744
|
||||
msgid "User came via a search engine"
|
||||
msgstr "Utilisateur venu par un moteur de recherche"
|
||||
|
||||
#: admin/class-social-popup-admin.php:745
|
||||
msgid "User did not arrive via another page on your site"
|
||||
msgstr "Utilisateur ne venant pas d’une autre page de votre site"
|
||||
|
||||
#: admin/class-social-popup-admin.php:747
|
||||
#: admin/class-social-popup-admin.php:748
|
||||
msgid "Post"
|
||||
msgstr "Article"
|
||||
|
||||
#: admin/class-social-popup-admin.php:749
|
||||
msgid "Post ID"
|
||||
msgstr "ID de l’article"
|
||||
|
||||
#: admin/class-social-popup-admin.php:750
|
||||
msgid "Post Type"
|
||||
msgstr "Type d’articles"
|
||||
|
||||
#: admin/class-social-popup-admin.php:751
|
||||
msgid "Post Category"
|
||||
msgstr "Catégorie d’articles"
|
||||
|
||||
#: admin/class-social-popup-admin.php:752
|
||||
msgid "Post Format"
|
||||
msgstr "Format d’articles"
|
||||
|
||||
#: admin/class-social-popup-admin.php:753
|
||||
msgid "Post Status"
|
||||
msgstr "Statut d’articles"
|
||||
|
||||
#: admin/class-social-popup-admin.php:754
|
||||
msgid "Post Taxonomy"
|
||||
msgstr "Taxynomie d’articles"
|
||||
|
||||
#: admin/class-social-popup-admin.php:756
|
||||
#: admin/class-social-popup-admin.php:757
|
||||
msgid "Page"
|
||||
msgstr "Page"
|
||||
|
||||
#: admin/class-social-popup-admin.php:758
|
||||
msgid "Page Type"
|
||||
msgstr "Type de pages"
|
||||
|
||||
#: admin/class-social-popup-admin.php:759
|
||||
msgid "Page Parent"
|
||||
msgstr "Parent de pages"
|
||||
|
||||
#: admin/class-social-popup-admin.php:760
|
||||
msgid "Page Template"
|
||||
msgstr "Modèle de pages"
|
||||
|
||||
#: admin/class-social-popup-admin.php:762
|
||||
msgid "Other"
|
||||
msgstr "Autres"
|
||||
|
||||
#: admin/class-social-popup-admin.php:763
|
||||
msgid "Referrer"
|
||||
msgstr "Référant"
|
||||
|
||||
#: admin/class-social-popup-admin.php:764
|
||||
msgid "Mobile Phone"
|
||||
msgstr "Téléphone mobile"
|
||||
|
||||
#: admin/class-social-popup-admin.php:765
|
||||
msgid "Tablet"
|
||||
msgstr "Tablette"
|
||||
|
||||
#: admin/class-social-popup-admin.php:813
|
||||
msgid "ID"
|
||||
msgstr "ID"
|
||||
|
||||
#: admin/includes/class-spu-notices.php:30
|
||||
#, php-format
|
||||
msgid ""
|
||||
"We noticed that you have been using our plugin for a while and we would like "
|
||||
"to ask you a little favour. If you are happy with it and can take a minute "
|
||||
"please <a href=\"%s\" target=\"_blank\">leave a nice review</a> on "
|
||||
"WordPress. It will be a tremendous help for us!"
|
||||
msgstr ""
|
||||
"Nous avons remarqué que vous avez utilisé notre plugin pendant un certain "
|
||||
"temps et nous vous demandons une faveur. Si vous êtes satisfait de ce plugin "
|
||||
"et si vous avez une minute, veuillez <a href=\"%s\" target=\"_blank\"> "
|
||||
"laisser une bonne critique </a> sur WordPress. Ce sera une aide formidable "
|
||||
"pour nous!"
|
||||
|
||||
#: admin/includes/class-spu-notices.php:32
|
||||
#, php-format
|
||||
msgid "<a href=\"%s\" target=\"_blank\">Leave a nice review</a>"
|
||||
msgstr "<a href=\"%s\" target=\"_blank\">Laissez une bonne appréciation</a>"
|
||||
|
||||
#: admin/includes/class-spu-notices.php:33
|
||||
#, php-format
|
||||
msgid "<a href=\"%s\">No, thanks</a>"
|
||||
msgstr "<a href=\"%s\">Non, merci</a>"
|
||||
|
||||
#: admin/views/metaboxes/metabox-appearance.php:10
|
||||
msgid "Background opacity"
|
||||
msgstr "Opacité du fond"
|
||||
|
||||
#: admin/views/metaboxes/metabox-appearance.php:12
|
||||
msgid "Leave at 0 for no background. Max value is 1"
|
||||
msgstr "Mettre 0 pour aucune opacité. Valeur maximale 1"
|
||||
|
||||
#: admin/views/metaboxes/metabox-appearance.php:18
|
||||
msgid "Background color"
|
||||
msgstr "Couleur du fond"
|
||||
|
||||
#: admin/views/metaboxes/metabox-appearance.php:22
|
||||
msgid "Text color"
|
||||
msgstr "Couleur du texte"
|
||||
|
||||
#: admin/views/metaboxes/metabox-appearance.php:26
|
||||
msgid "Box width"
|
||||
msgstr "Largeur du popup"
|
||||
|
||||
#: admin/views/metaboxes/metabox-appearance.php:32
|
||||
msgid "Border color"
|
||||
msgstr "Couleur du cadre"
|
||||
|
||||
#: admin/views/metaboxes/metabox-appearance.php:36
|
||||
msgid "Border width"
|
||||
msgstr "Épaisseur du cadre"
|
||||
|
||||
#: admin/views/metaboxes/metabox-donate.php:6
|
||||
msgid "If you like this plugin, consider supporting it by donating."
|
||||
msgstr "Si vous aimez ce plugin, manifestez-le par une donation."
|
||||
|
||||
#: admin/views/metaboxes/metabox-donate.php:8
|
||||
msgid "Donate with PayPal"
|
||||
msgstr "Donnez avec PayPal"
|
||||
|
||||
#: admin/views/metaboxes/metabox-donate.php:10
|
||||
msgid "Some other ways to support this plugin"
|
||||
msgstr "Quelques autres façons de supporter ce plugin"
|
||||
|
||||
#: admin/views/metaboxes/metabox-donate.php:12
|
||||
msgid "Leave a ★★★★★ review on WordPress.org"
|
||||
msgstr ""
|
||||
"Laissez une ★★★★★ appréciation sur WordPress."
|
||||
"org"
|
||||
|
||||
#: admin/views/metaboxes/metabox-donate.php:13
|
||||
msgid "Write about Popups on your blog"
|
||||
msgstr "Ecrivez un article à propos de Popups dans votre blog"
|
||||
|
||||
#: admin/views/metaboxes/metabox-donate.php:14
|
||||
msgid "Tweet about Popups"
|
||||
msgstr "Tweetez à propos de Popups"
|
||||
|
||||
#: admin/views/metaboxes/metabox-donate.php:15
|
||||
msgid "Vote \"works\" on the WordPress.org plugin page"
|
||||
msgstr "Votez « works » sur la page plugin de WordPress.org"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:6
|
||||
msgid ""
|
||||
"You have some social shortcodes to use that will print a Facebook like, a "
|
||||
"Google+ Follow and a Twitter follow. Check the available options and "
|
||||
"<strong>configure them with your social accounts</strong>:"
|
||||
msgstr ""
|
||||
"Vous avez des shortcodes pour imprimer des « like » dans Facebook, des "
|
||||
"« Follow » dans Google+ ou dans Twitter. Vérifiez les options disponibles et "
|
||||
"<strong> configurez-les avec vos comptes sociaux </strong> :"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:8
|
||||
msgid "Facebook Page"
|
||||
msgstr "Page Facebook"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:12
|
||||
msgid "View Facebook Page Options"
|
||||
msgstr "Voir les options pour les pages Facebook"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:14
|
||||
#: admin/views/metaboxes/metabox-help.php:27
|
||||
msgid "Your Facebook page url"
|
||||
msgstr "L’url de votre page Facebook"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:15
|
||||
msgid "Your page name"
|
||||
msgstr "Le nom de votre page"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:16
|
||||
msgid "true|false <b>Default value:</b> true"
|
||||
msgstr "vrai|faux <b>valeur par défaut :</b> vrai"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:17
|
||||
msgid "true|false <b>Default value:</b> false"
|
||||
msgstr "vrai|faux <b>valeur par défaut :</b> faux"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:18
|
||||
msgid "number <b>Default value:</b> 500"
|
||||
msgstr "nombre <b>Valeur par défaut :</b> 500"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:21
|
||||
msgid "Facebook Button"
|
||||
msgstr "Bouton Facebook"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:25
|
||||
msgid "View Facebook Options"
|
||||
msgstr "Voir les options Facebook"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:28
|
||||
msgid "standard, box_count, button <b>Default value:</b> button_count"
|
||||
msgstr "standard, box_count, bouton <b> Valeur par défaut: </b> button_count"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:29
|
||||
#: admin/views/metaboxes/metabox-help.php:30
|
||||
msgid "true <b>Default value:</b> false"
|
||||
msgstr "vrai <b>Valeur par défaut :</b> faux"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:31
|
||||
msgid "recommend <b>Default value:</b> like"
|
||||
msgstr "recommander <b>Valeur par défaut:</b> aimer"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:32
|
||||
msgid "number <b>Default value:</b>"
|
||||
msgstr "nombre <b>Valeur par défaut :</b>"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:34
|
||||
msgid "Google+ Button"
|
||||
msgstr "Bouton Google+"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:38
|
||||
msgid "View Google+ Options"
|
||||
msgstr "Voir les options Google+"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:40
|
||||
msgid "Your Google+ url"
|
||||
msgstr "Votre url Google+"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:41
|
||||
msgid "small, standard, tall <b>Default value:</b> medium"
|
||||
msgstr "petit, standard, grand <b>Valeur par défaut:</b> médium"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:42
|
||||
msgid "inline, none <b>Default value:</b> bubble"
|
||||
msgstr "en ligne, non <b>Valeur par défaut :</b> bulle"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:44
|
||||
msgid "Twitter Button"
|
||||
msgstr "Bouton twitter"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:48
|
||||
msgid "View Twitter Options"
|
||||
msgstr "Voir les options twitter"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:50
|
||||
msgid "Your Twitter user <b>Default chifliiiii</b>"
|
||||
msgstr "Votre nom d’utilisateur Twitter <b>Par défaut chifliiiii</b>"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:51
|
||||
msgid "false <b>Default value:</b> true"
|
||||
msgstr "faux <b>valeur par défaut:</b> vrai"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:52
|
||||
msgid "large <b>Default value:</b> \"\""
|
||||
msgstr "grans <b>Valeur par défaut :</b> \"\""
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:55
|
||||
msgid "Other available Shortcodes:"
|
||||
msgstr "Autres Shortcodes utilisables :"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:56
|
||||
msgid "Close Button"
|
||||
msgstr "Bouton de fermeture"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:60
|
||||
msgid "View Close shortcode Options"
|
||||
msgstr "Voir les options shortcode de fermeture"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:62
|
||||
msgid "Pass a custom class to style your button"
|
||||
msgstr "Envoie une classe personnalisée pour styler votre bouton"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:63
|
||||
msgid "Button label - <b>Default value:</b> Close"
|
||||
msgstr "Nom du bouton - <b>valeur par défaut :</b> Fermer"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:64
|
||||
msgid "left, right, center, none - <b>Default value:</b> center"
|
||||
msgstr "gauche, droite, centré, aucun - <b>valeur par défaut:</b> centré"
|
||||
|
||||
#: admin/views/metaboxes/metabox-links.php:6
|
||||
msgid "My name is"
|
||||
msgstr "Mon nom est"
|
||||
|
||||
#: admin/views/metaboxes/metabox-links.php:6
|
||||
msgid "I develop WordPress plugins and themes."
|
||||
msgstr "Je développe des thèmes et des plugins pour WordPress."
|
||||
|
||||
#: admin/views/metaboxes/metabox-links.php:7
|
||||
#, php-format
|
||||
msgid ""
|
||||
"Take a look at my <a href=\"%s\">site</a> to see my other plugins or hire "
|
||||
"me. Subscribe to get updates!"
|
||||
msgstr ""
|
||||
"Jetez un coup d’œil à mon <a href=\"%s\">site</a> pour découvrir mes autres "
|
||||
"plugins ou me passer une commande. Inscrivez-vous pour obtenir des mises à "
|
||||
"jour !"
|
||||
|
||||
#: admin/views/metaboxes/metabox-links.php:8
|
||||
msgid "Other plugins I built:"
|
||||
msgstr "Mes autres plugins :"
|
||||
|
||||
#: admin/views/metaboxes/metabox-links.php:10
|
||||
msgid "Install multiple plugins and create collections"
|
||||
msgstr "Installez de multiples plugins et créez des ensembles"
|
||||
|
||||
#: admin/views/metaboxes/metabox-links.php:11
|
||||
msgid "Geotarget your content"
|
||||
msgstr "Ciblez géographiquement votre contenu"
|
||||
|
||||
#: admin/views/metaboxes/metabox-links.php:12
|
||||
msgid "Invite your network friends and import contacts"
|
||||
msgstr "Invitez vos amis et vos contacts importés"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:9
|
||||
msgid "Box Position"
|
||||
msgstr "Position du popup"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:12
|
||||
msgid "Centered"
|
||||
msgstr "Centré"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:13
|
||||
msgid "Top Left"
|
||||
msgstr "En haut à gauche"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:14
|
||||
msgid "Top Right"
|
||||
msgstr "En haut à droite"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:15
|
||||
msgid "Bottom Left"
|
||||
msgstr "En bas à gauche"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:16
|
||||
msgid "Bottom Right"
|
||||
msgstr "En bas à droite"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:23
|
||||
msgid "Trigger action"
|
||||
msgstr "Action de déclenchement"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:27
|
||||
msgid "seconds after page load"
|
||||
msgstr "secondes après chargement de la page"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:28
|
||||
msgid "of page height"
|
||||
msgstr "de hauteur de page"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:38
|
||||
msgid "Auto-hide?"
|
||||
msgstr "Auto-disparition ?"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:40
|
||||
#: admin/views/metaboxes/metabox-options.php:68
|
||||
#: admin/views/metaboxes/metabox-options.php:76
|
||||
#: admin/views/metaboxes/metabox-options.php:84
|
||||
msgid "Yes"
|
||||
msgstr "Oui"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:41
|
||||
#: admin/views/metaboxes/metabox-options.php:69
|
||||
#: admin/views/metaboxes/metabox-options.php:77
|
||||
#: admin/views/metaboxes/metabox-options.php:85
|
||||
msgid "No"
|
||||
msgstr "Non"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:42
|
||||
msgid "Hide box again when visitors scroll back up?"
|
||||
msgstr "Cacher le popup quand les visiteurs provoquent un défilement ?"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:46
|
||||
msgid "Animation"
|
||||
msgstr "Animation"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:49
|
||||
msgid "Fade In"
|
||||
msgstr "Par fondu"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:50
|
||||
msgid "Slide In"
|
||||
msgstr "Par glissement"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:53
|
||||
msgid "Slide will only apply when popup is on the corners"
|
||||
msgstr "Le glissement ne se fait que si le popup est dans un coin"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:58
|
||||
msgid "Cookie expiration days"
|
||||
msgstr "Durée du cookie en jours"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:61
|
||||
msgid "After closing the box, how many days should it stay hidden?"
|
||||
msgstr ""
|
||||
"Après fermeture du popup pendant combien de jours ne doit-il pas reparaître ?"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:66
|
||||
msgid "Enable test mode?"
|
||||
msgstr "Activer le mode test ?"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:70
|
||||
msgid ""
|
||||
"If test mode is enabled, the box will show up regardless of whether a cookie "
|
||||
"has been set. (To admins only)"
|
||||
msgstr ""
|
||||
"Si le mode test est activé, le popup ne tiendra pas compte des consignes du "
|
||||
"cookie. (Administrateurs seulement)"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:74
|
||||
msgid "Close on conversion?"
|
||||
msgstr "Fermer sur conversion ?"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:78
|
||||
msgid ""
|
||||
"If you have a form or social shortcode, by default popup will close on "
|
||||
"submission/conversion"
|
||||
msgstr ""
|
||||
"Si vous avez un formulaire ou un shortcode de réseau social, par défaut le "
|
||||
"popup se fermera sur soumission/conversion"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:82
|
||||
msgid "Show powered by link?"
|
||||
msgstr "Afficher un lien « powered by » ?"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:86
|
||||
#, php-format
|
||||
msgid ""
|
||||
"Shows a \"powered by\" link below your popup. If your affiliate link is set "
|
||||
"in the <a href=\"%s\">settings</a>, it will be used."
|
||||
msgstr ""
|
||||
"Afficher un lien « Powered by » sous votre popup. Si vous êtes affilié le "
|
||||
"lien est mis dans <a href=\"%s\">réglages</a>, pour être utilisé."
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:16
|
||||
msgid ""
|
||||
"Take the best WordPress Popups plugin to the next level with Popups Premium "
|
||||
"extension."
|
||||
msgstr ""
|
||||
"Avec l’extension Popups Premium pour WordPress choisissez le meilleur plugin."
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:17
|
||||
msgid "Popups Premium Features:"
|
||||
msgstr "Fonctionnalités de Popups Premium :"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:19
|
||||
msgid "Beautiful optin forms for popular mail providers"
|
||||
msgstr ""
|
||||
"Élégants formulaires de souscription pour les plus populaires distributeurs "
|
||||
"de mails"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:20
|
||||
msgid "Currently supporting MailChimp, Aweber, Postmatic, Mailpoet"
|
||||
msgstr "Supporte MailChimp, Aweber, Postmatic, Mailpoet"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:21
|
||||
msgid ""
|
||||
"Track impressions and Conversions of social likes and forms submissions like "
|
||||
"Contact Form 7, Gravity forms, etc"
|
||||
msgstr ""
|
||||
"Enregistre les impressions et conversions à partir des réseaux sociaux ou "
|
||||
"des formulaires de soumission comme Contac Form 7, Gravity Forms etc"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:22
|
||||
msgid "Track impressions and Conversions also in Google Analytics"
|
||||
msgstr "Enregistre aussi les impressions et conversion dans Google Analytics"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:23
|
||||
#: admin/views/metaboxes/metabox-premium.php:25
|
||||
msgid "Exit Intent technology"
|
||||
msgstr ""
|
||||
"Intégration de « Exit Intent technology » pour suivre les mouvements de la "
|
||||
"souris de l’utilisateur et prévoir sa sortie"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:24
|
||||
msgid "8 New animations effects"
|
||||
msgstr "8 nouvelles animations"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:26
|
||||
msgid "New trigger methods"
|
||||
msgstr "Nouvelles méthodes de déclenchement"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:27
|
||||
msgid "Timer for auto closing"
|
||||
msgstr "Minuteur pour fermeture automatique"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:28
|
||||
msgid "Ability to disable close button"
|
||||
msgstr "Possibilité de désactiver le bouton de fermeture"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:29
|
||||
msgid ""
|
||||
"Ability to disable Advanced close methods like esc or clicking outside of "
|
||||
"the popup"
|
||||
msgstr ""
|
||||
"Possibilité de désactiver les méthodes avances de fermeture comme esc ou "
|
||||
"clic à l’extérieur du popup"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:30
|
||||
msgid "Premium support"
|
||||
msgstr "Support Premium"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:34
|
||||
msgid "Buy Now!"
|
||||
msgstr "Achetez maintenant !"
|
||||
|
||||
#: admin/views/metaboxes/metabox-rules.php:19
|
||||
msgid "Rules"
|
||||
msgstr "Règles"
|
||||
|
||||
#: admin/views/metaboxes/metabox-rules.php:20
|
||||
msgid "Create a set of rules to determine where the popup will show"
|
||||
msgstr ""
|
||||
"Créez un ensemble de règles pour déterminer quand le popup doit apparaître"
|
||||
|
||||
#: admin/views/metaboxes/metabox-rules.php:31
|
||||
msgid "Show this popup if"
|
||||
msgstr "Affichez le popup si"
|
||||
|
||||
#: admin/views/metaboxes/metabox-rules.php:61
|
||||
msgid "is equal to"
|
||||
msgstr "est égal à"
|
||||
|
||||
#: admin/views/metaboxes/metabox-rules.php:62
|
||||
msgid "is not equal to"
|
||||
msgstr "est différent de"
|
||||
|
||||
#: admin/views/metaboxes/metabox-rules.php:93
|
||||
msgid "and"
|
||||
msgstr "et"
|
||||
|
||||
#: admin/views/metaboxes/metabox-rules.php:108
|
||||
msgid "Add rule group"
|
||||
msgstr "Ajoutez une règle"
|
||||
|
||||
#: admin/views/metaboxes/metabox-support.php:6
|
||||
#, php-format
|
||||
msgid "You are using Popups plugin v%s"
|
||||
msgstr "Vous utilisez la version v%s du plugin Popups"
|
||||
|
||||
#: admin/views/metaboxes/metabox-support.php:7
|
||||
#, php-format
|
||||
msgid ""
|
||||
"If you need support please go to the WordPress.org <a href=\"%s\">support "
|
||||
"forums</a>"
|
||||
msgstr ""
|
||||
"Si vous avez besoin d’une aide, d’un support, rendez-vous sur le <a href=\"%s"
|
||||
"\">forum WordPress.org</a>"
|
||||
|
||||
#: admin/views/settings-page.php:17
|
||||
msgid "Affiliate link"
|
||||
msgstr "Lien affilié"
|
||||
|
||||
#: admin/views/settings-page.php:20
|
||||
#, php-format
|
||||
msgid ""
|
||||
"You can earn money by promoting the plugin! Join <a href=\"%s\">our "
|
||||
"affiliate program</a> and paste your affiliate link here to earn 35% in "
|
||||
"commissions . Once entered, it will replace the default \"Powered by\" on "
|
||||
"the popups."
|
||||
msgstr ""
|
||||
"Monétisez votre site en faisant la promotion du plugin ! Rejoignez <a "
|
||||
"href=« %s »>notre programme d’affiliation</a> et collez votre lien d’affilié "
|
||||
"ici pour percevoir 35% par commission . Une fois enregistrer il "
|
||||
"remplacera la notation par défaut « Powered by » dans les popups."
|
||||
|
||||
#: admin/views/settings-page.php:24
|
||||
msgid "Ajax mode?"
|
||||
msgstr "Mode Ajax ?"
|
||||
|
||||
#: admin/views/settings-page.php:27
|
||||
msgid ""
|
||||
"Load popups using ajax. Compatible with cache plugins, but might not work "
|
||||
"with all plugins"
|
||||
msgstr ""
|
||||
"Utilise Ajax pour charger les popups. Compatible avec les plugins de cache, "
|
||||
"mais peut ne pas fonctionner avec tous les plugins"
|
||||
|
||||
#: admin/views/settings-page.php:32
|
||||
msgid "Enable Debug mode?"
|
||||
msgstr "Activer mode de débogage ?"
|
||||
|
||||
#: admin/views/settings-page.php:35
|
||||
msgid "Will use uncompressed js"
|
||||
msgstr "Utilisera des js non compressés"
|
||||
|
||||
#: admin/views/settings-page.php:40
|
||||
msgid "Enable safe mode?"
|
||||
msgstr "Activer mode sans échec ?"
|
||||
|
||||
#: admin/views/settings-page.php:43
|
||||
msgid "Will move all popups to top of the screen."
|
||||
msgstr "Ouvrira tous les popups en haut de l’écran."
|
||||
|
||||
#: admin/views/settings-page.php:48
|
||||
msgid "Remove shortcodes style"
|
||||
msgstr "Supprimer le style des shortcodes"
|
||||
|
||||
#: admin/views/settings-page.php:51
|
||||
msgid ""
|
||||
"By default the plugin will apply some style to shortcodes. Check here if you "
|
||||
"want to manually style them"
|
||||
msgstr ""
|
||||
"Par défaut le plugin applique un style aux shortcodes. Cochez ici si vous "
|
||||
"voulez les styler manuellement"
|
||||
|
||||
#: admin/views/settings-page.php:56
|
||||
msgid "Unload Facebook javascript"
|
||||
msgstr "Ne pas charger le javascript de Facebook"
|
||||
|
||||
#: admin/views/settings-page.php:59
|
||||
msgid "If you use your own Facebook script, check this"
|
||||
msgstr "Si vous utilisez votre propre script Facebook, cochez ici"
|
||||
|
||||
#: admin/views/settings-page.php:64
|
||||
msgid "Unload Google javascript"
|
||||
msgstr "Ne pas charger le javascript de Google"
|
||||
|
||||
#: admin/views/settings-page.php:67
|
||||
msgid "If you use your own Google script, check this"
|
||||
msgstr "Si vous utilisez votre propre script Google, cochez ici"
|
||||
|
||||
#: admin/views/settings-page.php:72
|
||||
msgid "Unload Twitter javascript"
|
||||
msgstr "Ne pas charger le javascript de Twitter"
|
||||
|
||||
#: admin/views/settings-page.php:75
|
||||
msgid "If you use your own Twitter script, check this"
|
||||
msgstr "Si vous utilisez votre propre script pour Twitter, cochez ici"
|
||||
|
||||
#: admin/views/settings-page.php:82
|
||||
msgid "Delete all data on Uninstall"
|
||||
msgstr "Effacez toutes les données en cas de désinstallation"
|
||||
|
||||
#: admin/views/settings-page.php:85
|
||||
msgid ""
|
||||
"When you uninstall the plugin all popups, settings and stats will be deleted "
|
||||
"from your db"
|
||||
msgstr ""
|
||||
"Quand vous désinstallez le plugin tous les popups, les réglages et les "
|
||||
"statistiques sont effacées de la base de données"
|
||||
|
||||
#: admin/views/settings-page.php:89
|
||||
msgid "Save settings"
|
||||
msgstr "Sauvegarder les réglages"
|
||||
|
||||
#: includes/class-spu-helper.php:131
|
||||
msgid "All Pages"
|
||||
msgstr "Toutes les pages"
|
||||
|
||||
#: includes/class-spu-helper.php:132
|
||||
msgid "Front Page"
|
||||
msgstr "Page de garde"
|
||||
|
||||
#: includes/class-spu-helper.php:133
|
||||
msgid "Posts Page"
|
||||
msgstr "Page des articles"
|
||||
|
||||
#: includes/class-spu-helper.php:134
|
||||
msgid "Category Page"
|
||||
msgstr "Page catégories"
|
||||
|
||||
#: includes/class-spu-helper.php:135
|
||||
msgid "Search Page"
|
||||
msgstr "Page recherche"
|
||||
|
||||
#: includes/class-spu-helper.php:136
|
||||
msgid "Archives Page"
|
||||
msgstr "Page archives"
|
||||
|
||||
#: includes/class-spu-helper.php:137
|
||||
msgid "Top Level Page (parent of 0)"
|
||||
msgstr "Page de premier niveau (parent de 0)"
|
||||
|
||||
#: includes/class-spu-helper.php:138
|
||||
msgid "Parent Page (has children)"
|
||||
msgstr "Page parent (a un enfant)"
|
||||
|
||||
#: includes/class-spu-helper.php:139
|
||||
msgid "Child Page (has parent)"
|
||||
msgstr "Page enfant (a un parent)"
|
||||
|
||||
#: includes/class-spu-helper.php:147
|
||||
msgid "Default Template"
|
||||
msgstr "Modèle par défaut"
|
||||
|
||||
#: includes/class-spu-helper.php:220
|
||||
msgid "Publish"
|
||||
msgstr "Publier"
|
||||
|
||||
#: includes/class-spu-helper.php:221
|
||||
msgid "Pending Review"
|
||||
msgstr "Révision en attente"
|
||||
|
||||
#: includes/class-spu-helper.php:222
|
||||
msgid "Draft"
|
||||
msgstr "Brouillon"
|
||||
|
||||
#: includes/class-spu-helper.php:223
|
||||
msgid "Future"
|
||||
msgstr "Avenir"
|
||||
|
||||
#: includes/class-spu-helper.php:224
|
||||
msgid "Private"
|
||||
msgstr "Privé"
|
||||
|
||||
#: includes/class-spu-helper.php:225
|
||||
msgid "Revision"
|
||||
msgstr "Révision"
|
||||
|
||||
#: includes/class-spu-helper.php:226
|
||||
msgid "Trash"
|
||||
msgstr "Corbeille"
|
||||
|
||||
#: includes/class-spu-helper.php:239
|
||||
msgid "Super Admin"
|
||||
msgstr "Super Administrateur"
|
||||
|
||||
#: includes/class-spu-helper.php:259
|
||||
msgid "True"
|
||||
msgstr "Vrai"
|
||||
BIN
wp-content/plugins/popups/languages/popups-ru_RU.mo
Normal file
BIN
wp-content/plugins/popups/languages/popups-ru_RU.mo
Normal file
Binary file not shown.
730
wp-content/plugins/popups/languages/popups-ru_RU.po
Normal file
730
wp-content/plugins/popups/languages/popups-ru_RU.po
Normal file
@@ -0,0 +1,730 @@
|
||||
# Copyright (C) 2013 TODO
|
||||
# This file is distributed under the same license as the TODO package.
|
||||
# Translators:
|
||||
# Анатолий, 2015
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Popups\n"
|
||||
"Report-Msgid-Bugs-To: http://wordpress.org/plugins/plugin-name\n"
|
||||
"POT-Creation-Date: 2015-06-14 00:02-0300\n"
|
||||
"PO-Revision-Date: 2015-10-01 11:18-0300\n"
|
||||
"Last-Translator: Анатолий\n"
|
||||
"Language-Team: Russian (Russia) (http://www.transifex.com/timersys/popups/language/ru_RU/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: ru_RU\n"
|
||||
"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n"
|
||||
"X-Generator: Poedit 1.7.4\n"
|
||||
"X-Poedit-Basepath: ../\n"
|
||||
"X-Poedit-KeywordsList: __;_e;_n;_x;esc_html_e;esc_html__;esc_attr_e;esc_attr__;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_x:1,2c;_n:1,2\n"
|
||||
"X-Poedit-SearchPath-0: .\n"
|
||||
|
||||
#: admin/class-social-popup-admin.php:154
|
||||
msgctxt "post type singular name"
|
||||
msgid "Popups"
|
||||
msgstr "Popups"
|
||||
|
||||
#: admin/class-social-popup-admin.php:155
|
||||
msgctxt "admin menu"
|
||||
msgid "Popups"
|
||||
msgstr "Popups"
|
||||
|
||||
#: admin/class-social-popup-admin.php:156
|
||||
msgctxt "add new on admin bar"
|
||||
msgid "Popups"
|
||||
msgstr "Popups"
|
||||
|
||||
#: admin/class-social-popup-admin.php:157
|
||||
msgctxt "Popups"
|
||||
msgid "Add New"
|
||||
msgstr "Добавить новый"
|
||||
|
||||
#: admin/class-social-popup-admin.php:158
|
||||
msgid "Add New Popups"
|
||||
msgstr "Добавить новый Popups"
|
||||
|
||||
#: admin/class-social-popup-admin.php:159
|
||||
msgid "New Popups"
|
||||
msgstr "Новый Popups"
|
||||
|
||||
#: admin/class-social-popup-admin.php:160
|
||||
msgid "Edit Popups"
|
||||
msgstr "Редактировать Popups"
|
||||
|
||||
#: admin/class-social-popup-admin.php:161
|
||||
msgid "View Popups"
|
||||
msgstr "Редактировать Popups"
|
||||
|
||||
#: admin/class-social-popup-admin.php:162
|
||||
msgid "All Popups"
|
||||
msgstr "Все Popups"
|
||||
|
||||
#: admin/class-social-popup-admin.php:163
|
||||
msgid "Search Popups"
|
||||
msgstr "Поиск Popups"
|
||||
|
||||
#: admin/class-social-popup-admin.php:164
|
||||
msgid "Parent Popups:"
|
||||
msgstr "Родительский Popups:"
|
||||
|
||||
#: admin/class-social-popup-admin.php:165
|
||||
msgid "No Popups found."
|
||||
msgstr "Не найден Popups"
|
||||
|
||||
#: admin/class-social-popup-admin.php:166
|
||||
msgid "No Popups found in Trash."
|
||||
msgstr "Не найден Popups в Корзине"
|
||||
|
||||
#: admin/class-social-popup-admin.php:255
|
||||
msgid "Popups Premium"
|
||||
msgstr "Премиум Popups"
|
||||
|
||||
#: admin/class-social-popup-admin.php:266
|
||||
msgid "PopUp Shortcodes"
|
||||
msgstr "Шорткоды PopUp"
|
||||
|
||||
#: admin/class-social-popup-admin.php:275
|
||||
msgid "PopUp Display Rules"
|
||||
msgstr "Отображать правила PopUp"
|
||||
|
||||
#: admin/class-social-popup-admin.php:284
|
||||
msgid "Display Options"
|
||||
msgstr "Отображать опции"
|
||||
|
||||
#: admin/class-social-popup-admin.php:293
|
||||
msgid "Need support?"
|
||||
msgstr "Нужна помощь?"
|
||||
|
||||
#: admin/class-social-popup-admin.php:301
|
||||
msgid "Donate & support"
|
||||
msgstr "Помощь и Поддержка"
|
||||
|
||||
#: admin/class-social-popup-admin.php:309
|
||||
msgid "About the developer"
|
||||
msgstr "О разработчике"
|
||||
|
||||
#: admin/class-social-popup-admin.php:557 admin/views/metaboxes/metabox-rules.php:33 admin/views/metaboxes/metabox-rules.php:106
|
||||
msgid "or"
|
||||
msgstr "или"
|
||||
|
||||
#: admin/class-social-popup-admin.php:584
|
||||
msgid "Add a Popup"
|
||||
msgstr "Добавить Popup"
|
||||
|
||||
#: admin/class-social-popup-admin.php:708
|
||||
msgid "User"
|
||||
msgstr "Пользователь"
|
||||
|
||||
#: admin/class-social-popup-admin.php:709
|
||||
msgid "User role"
|
||||
msgstr "Роль пользователя"
|
||||
|
||||
#: admin/class-social-popup-admin.php:710
|
||||
msgid "User is logged"
|
||||
msgstr "Пользователь залогинен"
|
||||
|
||||
#: admin/class-social-popup-admin.php:711
|
||||
msgid "User never left a comment"
|
||||
msgstr "Пользователь никогда не комментировал"
|
||||
|
||||
#: admin/class-social-popup-admin.php:712
|
||||
msgid "User came via a search engine"
|
||||
msgstr "Пользователь пришел из поисковых систем"
|
||||
|
||||
#: admin/class-social-popup-admin.php:713
|
||||
msgid "User did not arrive via another page on your site"
|
||||
msgstr "Пользователь не пришел с другой страницы на вашем сайте"
|
||||
|
||||
#: admin/class-social-popup-admin.php:715 admin/class-social-popup-admin.php:716
|
||||
msgid "Post"
|
||||
msgstr "Публикация"
|
||||
|
||||
#: admin/class-social-popup-admin.php:717
|
||||
msgid "Post ID"
|
||||
msgstr "ID публикации"
|
||||
|
||||
#: admin/class-social-popup-admin.php:718
|
||||
msgid "Post Type"
|
||||
msgstr "Тип публикации"
|
||||
|
||||
#: admin/class-social-popup-admin.php:719
|
||||
msgid "Post Category"
|
||||
msgstr "Категория публикации"
|
||||
|
||||
#: admin/class-social-popup-admin.php:720
|
||||
msgid "Post Format"
|
||||
msgstr "Формат публикации"
|
||||
|
||||
#: admin/class-social-popup-admin.php:721
|
||||
msgid "Post Status"
|
||||
msgstr "Статус публикации"
|
||||
|
||||
#: admin/class-social-popup-admin.php:722
|
||||
msgid "Post Taxonomy"
|
||||
msgstr "Таксономия публикации"
|
||||
|
||||
#: admin/class-social-popup-admin.php:724 admin/class-social-popup-admin.php:725
|
||||
msgid "Page"
|
||||
msgstr "Страница"
|
||||
|
||||
#: admin/class-social-popup-admin.php:726
|
||||
msgid "Page Type"
|
||||
msgstr "Тип страницы"
|
||||
|
||||
#: admin/class-social-popup-admin.php:727
|
||||
msgid "Page Parent"
|
||||
msgstr "Родительская страница"
|
||||
|
||||
#: admin/class-social-popup-admin.php:728
|
||||
msgid "Page Template"
|
||||
msgstr "Шаблон страницы"
|
||||
|
||||
#: admin/class-social-popup-admin.php:730
|
||||
msgid "Other"
|
||||
msgstr "Другие"
|
||||
|
||||
#: admin/class-social-popup-admin.php:731
|
||||
msgid "Referrer"
|
||||
msgstr "Реферер"
|
||||
|
||||
#: admin/class-social-popup-admin.php:732
|
||||
msgid "Mobile Phone"
|
||||
msgstr "Мобильный телефон"
|
||||
|
||||
#: admin/class-social-popup-admin.php:733
|
||||
msgid "Tablet"
|
||||
msgstr "Планшет"
|
||||
|
||||
#: admin/includes/class-spu-notices.php:30
|
||||
#, php-format
|
||||
msgid "We noticed that you have been using our plugin for a while and we would like to ask you a little favour. If you are happy with it and can take a minute please <a href=\"%s\" target=\"_blank\">leave a nice review</a> on WordPress. It will be a tremendous help for us!"
|
||||
msgstr "Мы заметили, что вы использовали наш плагин некоторое время, и мы хотели бы попросить оказать нам небольшую услугу. Если вам понравился наш плагин и у вас есть свободная минутка, пожалуйста <a href=\"%s\" target=\"_blank\">оставьте хороший отзыв</a> на WordPress. Это будет огромная помощь для нас!"
|
||||
|
||||
#: admin/includes/class-spu-notices.php:32
|
||||
#, php-format
|
||||
msgid "<a href=\"%s\" target=\"_blank\">Leave a nice review</a>"
|
||||
msgstr "<a href=\"%s\" target=\"_blank\">Оставьте хороший отзыв</a>"
|
||||
|
||||
#: admin/includes/class-spu-notices.php:33
|
||||
#, php-format
|
||||
msgid "<a href=\"%s\">No, thanks</a>"
|
||||
msgstr "<a href=\"%s\">Нет, спасибо</a>"
|
||||
|
||||
#: admin/views/metaboxes/metabox-donate.php:6
|
||||
msgid "If you like this plugin, consider supporting it by donating."
|
||||
msgstr "Если вам нравится этот плагин, поддержите, пожалуйста, его."
|
||||
|
||||
#: admin/views/metaboxes/metabox-donate.php:8
|
||||
msgid "Donate with PayPal"
|
||||
msgstr "Помочь через PayPal"
|
||||
|
||||
#: admin/views/metaboxes/metabox-donate.php:10
|
||||
msgid "Some other ways to support this plugin"
|
||||
msgstr "Некоторые другие способы поддержки этого плагина"
|
||||
|
||||
#: admin/views/metaboxes/metabox-donate.php:12
|
||||
msgid "Leave a ★★★★★ review on WordPress.org"
|
||||
msgstr "Оставьте ★★★★★ отзыв на WordPress.org"
|
||||
|
||||
#: admin/views/metaboxes/metabox-donate.php:13
|
||||
msgid "Write about Popups on your blog"
|
||||
msgstr "Напишите о плагине Popups на своем блоге"
|
||||
|
||||
#: admin/views/metaboxes/metabox-donate.php:14
|
||||
msgid "Tweet about Popups"
|
||||
msgstr "Твитнуть о плагине Popups"
|
||||
|
||||
#: admin/views/metaboxes/metabox-donate.php:15
|
||||
msgid "Vote \"works\" on the WordPress.org plugin page"
|
||||
msgstr "Проголосовать \"работает\" на странице плагина в WordPress.org"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:6
|
||||
msgid "You have three social shortcodes to use that will print a Facebook like, a Google+ Follow and a Twitter follow. Check the available options and <strong>configure them with your social accounts</strong>:"
|
||||
msgstr "У вас есть возможность использовать три социальных Шорткода: Facebook Лайк, подписка на Google+ и следовать в Twitter. Проверьте доступные варианты и <strong>настройте их со своими социальными профилями</strong>:"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:12
|
||||
msgid "View Facebook Page Options"
|
||||
msgstr "Смотреть параметры страницы в Facebook"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:14 admin/views/metaboxes/metabox-help.php:27
|
||||
msgid "Your facebook page url"
|
||||
msgstr "Ссылка на вашу страницу Facebook"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:15
|
||||
msgid "Your page name"
|
||||
msgstr "Имя вашей страницы"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:16
|
||||
msgid "true|false <b>Default value:</b> true"
|
||||
msgstr "true|false <b>Значение по умолчанию:</b> true"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:17
|
||||
msgid "true|false <b>Default value:</b> false"
|
||||
msgstr "true|false <b>Значение по умолчанию:</b> false"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:25
|
||||
msgid "View Facebook Options"
|
||||
msgstr "Посмотреть опции Facebook"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:28
|
||||
msgid "standard, box_count, button <b>Default value:</b> button_count"
|
||||
msgstr "standard, box_count, button <b>Значение по умолчанию:</b> button_count"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:29 admin/views/metaboxes/metabox-help.php:30
|
||||
msgid "true <b>Default value:</b> false"
|
||||
msgstr "true <b>Значение по умолчанию:</b> false"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:31
|
||||
msgid "recommend <b>Default value:</b> like"
|
||||
msgstr "рекомендованное <b>Значение по умолчанию:</b> like"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:38
|
||||
msgid "View Google+ Options"
|
||||
msgstr "Посмотреть опции Google+"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:40
|
||||
msgid "Your Google+ url"
|
||||
msgstr "Ссылка на ваш Google+"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:41
|
||||
msgid "small, standard, tall <b>Default value:</b> medium"
|
||||
msgstr "small, standard, tall <b>Значение по умолчанию:</b> medium"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:42
|
||||
msgid "inline, none <b>Default value:</b> bubble"
|
||||
msgstr "inline, none <b>Значение по умолчанию:</b> bubble"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:48
|
||||
msgid "View Twitter Options"
|
||||
msgstr "Посмотреть опции в Twitter"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:50
|
||||
msgid "Your Twitter user <b>Default chifli</b>iiii"
|
||||
msgstr "Ваш пользователь в Twitter <b>chifli по умолчанию</b>iiii"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:51
|
||||
msgid "false <b>Default value:</b> true"
|
||||
msgstr "false <b>Значение по умолчанию:</b> true"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:52
|
||||
msgid "large <b>Default value:</b> \"\""
|
||||
msgstr "large <b>Значение по умолчанию:</b> \"\""
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:55
|
||||
msgid "Other available Shortcodes:"
|
||||
msgstr "Другие доступные шорткоды:"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:60
|
||||
msgid "View Close shortcode Options"
|
||||
msgstr "Помостреть Закрыть опции шорткодов"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:62
|
||||
msgid "Pass a custom class to style your button"
|
||||
msgstr "Передайте собственный класс стиля для ваших кнопок"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:63
|
||||
msgid "Button label - <b>Default value:</b> Close"
|
||||
msgstr "Значение кнопки - <b>Значение по умолчанию:</b> Close"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:64
|
||||
msgid "left, right, center, none - <b>Default value:</b> center"
|
||||
msgstr "left, right, center, none - <b>Значение по умолчанию:</b> center"
|
||||
|
||||
#: admin/views/metaboxes/metabox-links.php:6
|
||||
msgid "My name is"
|
||||
msgstr "Меня зовут"
|
||||
|
||||
#: admin/views/metaboxes/metabox-links.php:6
|
||||
msgid "I develop WordPress plugins and themes."
|
||||
msgstr "Я разрабатываю плагины и темы для WordPress."
|
||||
|
||||
#: admin/views/metaboxes/metabox-links.php:7
|
||||
#, php-format
|
||||
msgid "Take a look at my <a href=\"%s\">site</a> to see my other plugins or hire me. Subscribe to get updates!"
|
||||
msgstr "Взгляните на мой <a href=\"%s\">сайт</a> чтобы увидеть мои другие плагины или нанять меня. Подпишитесь на обновления!"
|
||||
|
||||
#: admin/views/metaboxes/metabox-links.php:8
|
||||
msgid "Other plugins I built:"
|
||||
msgstr "Другие плагины которые я разработал:"
|
||||
|
||||
#: admin/views/metaboxes/metabox-links.php:10
|
||||
msgid "Install multiple plugins and create collections"
|
||||
msgstr "Установка нескольких плагинов и создать коллекции"
|
||||
|
||||
#: admin/views/metaboxes/metabox-links.php:11
|
||||
msgid "Geotarget your content"
|
||||
msgstr "Геотаргетинг вашего контента"
|
||||
|
||||
#: admin/views/metaboxes/metabox-links.php:12
|
||||
msgid "Invite your network friends and import contacts"
|
||||
msgstr "Пригласить своих друзей из сети и импортировать контакты"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:9
|
||||
msgid "Box Position"
|
||||
msgstr "Позиция Box"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:12
|
||||
msgid "Centered"
|
||||
msgstr "По центру"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:13
|
||||
msgid "Top Left"
|
||||
msgstr "Слева вверху"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:14
|
||||
msgid "Top Right"
|
||||
msgstr "Справа вверху"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:15
|
||||
msgid "Bottom Left"
|
||||
msgstr "Внизу слева"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:16
|
||||
msgid "Bottom Right"
|
||||
msgstr "Внизу справа"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:23
|
||||
msgid "Trigger action"
|
||||
msgstr "Запуск действия"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:27
|
||||
msgid "seconds after page load"
|
||||
msgstr "секунд после загрузки страницы"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:28
|
||||
msgid "of page height"
|
||||
msgstr "высоты страницы"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:38
|
||||
msgid "Auto-hide?"
|
||||
msgstr "Авто-скрытие?"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:40 admin/views/metaboxes/metabox-options.php:68 admin/views/metaboxes/metabox-options.php:76 admin/views/metaboxes/metabox-options.php:84
|
||||
msgid "Yes"
|
||||
msgstr "Да"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:41 admin/views/metaboxes/metabox-options.php:69 admin/views/metaboxes/metabox-options.php:77 admin/views/metaboxes/metabox-options.php:85
|
||||
msgid "No"
|
||||
msgstr "Нет"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:42
|
||||
#, php-format
|
||||
msgid "Hide box again when visitors scroll back up? Only works when Trigger action is set to % of page height"
|
||||
msgstr "Скрыть окно снова, когда посетители прокрутили обратно? Работает только когда действие триггера установлено % oт высоты страницы"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:46
|
||||
msgid "Animation"
|
||||
msgstr "Анимация"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:49
|
||||
msgid "Fade In"
|
||||
msgstr "Плавное появление"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:50
|
||||
msgid "Slide In"
|
||||
msgstr "Выдвижение"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:53
|
||||
msgid "Slide will only apply when popup is on the corners"
|
||||
msgstr "Выдвижение будет применяться только тогда, когда всплывающее окно находится по углах"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:58
|
||||
msgid "Cookie expiration days"
|
||||
msgstr "Куки действуют дней"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:61
|
||||
msgid "After closing the box, how many days should it stay hidden?"
|
||||
msgstr "После закрытия окна, сколько дней PopUp должен оставаться скрытым?"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:66
|
||||
msgid "Enable test mode?"
|
||||
msgstr "Включить тестовый режим?"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:70
|
||||
msgid "If test mode is enabled, the box will show up regardless of whether a cookie has been set. (To admins only)"
|
||||
msgstr "Если тестовый режим включен, окно будет отображаться независимо от того, были ли установлены куки. (только Админам)"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:74
|
||||
msgid "Close on conversion?"
|
||||
msgstr "Закрыть при конверсии?"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:78
|
||||
msgid "If you have a form or social shortcode, by default popup will close on submission/conversion"
|
||||
msgstr "Если у вас есть форма или социальной шорткод, по умолчанию всплывающие закроется при подтверждении/конверсии"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:82
|
||||
msgid "Show powered by link?"
|
||||
msgstr "Показать ссылку powered by?"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:86
|
||||
#, php-format
|
||||
msgid "Shows a \"powered by\" link below your popup. If your affiliate link is set in the <a href=\"%s\">settings</a>, it will be used."
|
||||
msgstr "Показать ссылку \"powered by\" под вашим PopUp. Если ваша партнерская ссылка указана в <a href=\"%s\">настройках</a>, она будет использована."
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:91
|
||||
msgid "Appearance"
|
||||
msgstr "Появление"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:95
|
||||
msgid "Background opacity"
|
||||
msgstr "Размытие фона"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:98
|
||||
msgid "Leave at 0 for no background. Max value is 1"
|
||||
msgstr "Оставьте 0 для без фона. Максимальное значение равно 1"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:104
|
||||
msgid "Background color"
|
||||
msgstr "Цвет фона"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:108
|
||||
msgid "Text color"
|
||||
msgstr "Цвет текста"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:112
|
||||
msgid "Box width"
|
||||
msgstr "Ширина Бокса"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:118
|
||||
msgid "Border color"
|
||||
msgstr "Цвет рамки"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:122
|
||||
msgid "Border width"
|
||||
msgstr "Ширина рамки"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:16
|
||||
msgid "Take the best WordPress Popups plugin to the next level with Popups Premium extension."
|
||||
msgstr "Используйте максимум преимуществ плагина \"всплывающие окна\" для WordPress с расширением Popups Premium ."
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:17
|
||||
msgid "Popups Premium Features:"
|
||||
msgstr "Преимущества Popups Premium:"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:19
|
||||
msgid "Beautiful optin forms for popular mail providers"
|
||||
msgstr "Красивые OptIn формы для популярных почтовых служб"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:20
|
||||
msgid "Currently supporting MailChimp, Aweber, Postmatic, Mailpoet"
|
||||
msgstr "Сейчас поддерживаются MailChimp, Aweber, Postmatic, Mailpoet"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:21
|
||||
msgid "Track impressions and Conversions of social likes and forms submissions like Contact Form 7, Gravity forms, etc"
|
||||
msgstr "Отслеживать показы и переходы из социальных сетей и формировать отчеты по действиям Contact Form 7, Gravity формы, и т.д."
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:22
|
||||
msgid "Track impressions and Conversions also in Google Analytics"
|
||||
msgstr "Отслеживать показы и переходы также и в Google Analytics"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:23 admin/views/metaboxes/metabox-premium.php:25
|
||||
msgid "Exit Intent technology"
|
||||
msgstr "Выход Целевой технологии"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:24
|
||||
msgid "8 New animations effects"
|
||||
msgstr "8 новых анимационных эффектов"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:26
|
||||
msgid "New trigger methods"
|
||||
msgstr "Новые методы отслеживания"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:27
|
||||
msgid "Timer for auto closing"
|
||||
msgstr "Таймер для автоматического закрытия"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:28
|
||||
msgid "Ability to disable close button"
|
||||
msgstr "Возможность отключения кнопки закрытия"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:29
|
||||
msgid "Ability to disable Advanced close methods like esc or clicking outside of the popup"
|
||||
msgstr "Возможность отключения расширенных методов закрытия, такие как нажатие ESC или клик снаружи всплывающего окна"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:30
|
||||
msgid "Premium support"
|
||||
msgstr "Премиум поддержка"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:34
|
||||
msgid "Buy Now!"
|
||||
msgstr "Купить сейчас!"
|
||||
|
||||
#: admin/views/metaboxes/metabox-rules.php:19
|
||||
msgid "Rules"
|
||||
msgstr "Правила"
|
||||
|
||||
#: admin/views/metaboxes/metabox-rules.php:20
|
||||
msgid "Create a set of rules to determine where the popup will show"
|
||||
msgstr "Создать набор правил для показа всплывающего окна"
|
||||
|
||||
#: admin/views/metaboxes/metabox-rules.php:31
|
||||
msgid "Show this popup if"
|
||||
msgstr "Показать это всплывающее окно, если"
|
||||
|
||||
#: admin/views/metaboxes/metabox-rules.php:61
|
||||
msgid "is equal to"
|
||||
msgstr "равно"
|
||||
|
||||
#: admin/views/metaboxes/metabox-rules.php:62
|
||||
msgid "is not equal to"
|
||||
msgstr "неравно"
|
||||
|
||||
#: admin/views/metaboxes/metabox-rules.php:93
|
||||
msgid "and"
|
||||
msgstr "и"
|
||||
|
||||
#: admin/views/metaboxes/metabox-rules.php:108
|
||||
msgid "Add rule group"
|
||||
msgstr "Добавить группу правил"
|
||||
|
||||
#: admin/views/metaboxes/metabox-support.php:6
|
||||
#, php-format
|
||||
msgid "You are using Popups plugin v%s"
|
||||
msgstr "Вы используете плагин Popups v%s"
|
||||
|
||||
#: admin/views/metaboxes/metabox-support.php:7
|
||||
#, php-format
|
||||
msgid "If you need support please go to the WordPress.org <a href=\"%s\">support forums</a>"
|
||||
msgstr "Если вам нужна поддержка, пожалуйста, перейдите на <a href=\"%s\">форум поддержки</a> WordPress.org"
|
||||
|
||||
#: admin/views/settings-page.php:17
|
||||
msgid "Affiliate link"
|
||||
msgstr "Партнерская ссылка"
|
||||
|
||||
#: admin/views/settings-page.php:20
|
||||
#, php-format
|
||||
msgid "You can earn money by promoting the plugin! Join <a href=\"%s\">our affiliate program</a> and paste your affiliate link here to earn 35% in commissions . Once entered, it will replace the default \"Powered by\" on the popups."
|
||||
msgstr "Вы можете заработать деньги, продвигая плагин! Присоединяйтесь к <a href=\"%s\">нашей партнерской программе</a> и вставьте свою партнерскую ссылку, чтобы заработать 35% комиссионных . После того, как вы введете ее, она заменит значение по умолчанию \"Powered by\" во всплывающих окнах."
|
||||
|
||||
#: admin/views/settings-page.php:24
|
||||
msgid "Ajax mode?"
|
||||
msgstr "Режим Ajax?"
|
||||
|
||||
#: admin/views/settings-page.php:27
|
||||
msgid "Load popups using ajax. Compatible with cache plugins, but might not work with all plugins"
|
||||
msgstr "Загрузка всплывающего окна с помощью Ajax. Совместима с плагинами кэширования, но не может работать с некоторыми плагинами"
|
||||
|
||||
#: admin/views/settings-page.php:32
|
||||
msgid "Enable Debug mode?"
|
||||
msgstr "Включить режим отладки?"
|
||||
|
||||
#: admin/views/settings-page.php:35
|
||||
msgid "Will use uncompressed js"
|
||||
msgstr "Будут использоваться несжатые JS"
|
||||
|
||||
#: admin/views/settings-page.php:40
|
||||
msgid "Enable safe mode?"
|
||||
msgstr "Включить безопасный режим?"
|
||||
|
||||
#: admin/views/settings-page.php:43
|
||||
msgid "Will move all popups to top of the screen."
|
||||
msgstr "Будут передвинуты все всплывающие окна в верхнюю часть экрана."
|
||||
|
||||
#: admin/views/settings-page.php:48
|
||||
msgid "Remove shortcodes style"
|
||||
msgstr "Удалить стили Шорткодов"
|
||||
|
||||
#: admin/views/settings-page.php:51
|
||||
msgid "By default the plugin will apply some style to shortcodes. Check here if you want to manually style them"
|
||||
msgstr "По умолчанию плагин будет применять некоторые стили Шорткодов. Отметьте здесь, если вы хотите задать их стиль вручную"
|
||||
|
||||
#: admin/views/settings-page.php:56
|
||||
msgid "Unload Facebook javascript"
|
||||
msgstr "Выгрузка JavaScript Facebook"
|
||||
|
||||
#: admin/views/settings-page.php:59
|
||||
msgid "If you use your own Facebook script, check this"
|
||||
msgstr "Если вы используете свой собственный скрипт Facebook, отметьте это"
|
||||
|
||||
#: admin/views/settings-page.php:64
|
||||
msgid "Unload Google javascript"
|
||||
msgstr "Выгрузка JavaScript Google"
|
||||
|
||||
#: admin/views/settings-page.php:67
|
||||
msgid "If you use your own Google script, check this"
|
||||
msgstr "Если вы используете свой собственный скрипт Google, отметьте это"
|
||||
|
||||
#: admin/views/settings-page.php:72
|
||||
msgid "Unload Twitter javascript"
|
||||
msgstr "Выгрузка JavaScript Twitter"
|
||||
|
||||
#: admin/views/settings-page.php:75
|
||||
msgid "If you use your own Twitter script, check this"
|
||||
msgstr "Если вы используете свой собственный скрипт Twitter, отметьте это"
|
||||
|
||||
#: admin/views/settings-page.php:80
|
||||
msgid "Save settings"
|
||||
msgstr "Сохранить настройки"
|
||||
|
||||
#: includes/class-spu-helper.php:133
|
||||
msgid "All Pages"
|
||||
msgstr "Все страницы"
|
||||
|
||||
#: includes/class-spu-helper.php:134
|
||||
msgid "Front Page"
|
||||
msgstr "Титульная страница"
|
||||
|
||||
#: includes/class-spu-helper.php:135
|
||||
msgid "Posts Page"
|
||||
msgstr "Страница Публикаций"
|
||||
|
||||
#: includes/class-spu-helper.php:136
|
||||
msgid "Category Page"
|
||||
msgstr "Страница Категорий"
|
||||
|
||||
#: includes/class-spu-helper.php:137
|
||||
msgid "Archives Page"
|
||||
msgstr "Страница Архивов"
|
||||
|
||||
#: includes/class-spu-helper.php:138
|
||||
msgid "Top Level Page (parent of 0)"
|
||||
msgstr "Верхний уровень страницы (родителей 0)"
|
||||
|
||||
#: includes/class-spu-helper.php:139
|
||||
msgid "Parent Page (has children)"
|
||||
msgstr "Родительская страница (имеет потомков)"
|
||||
|
||||
#: includes/class-spu-helper.php:140
|
||||
msgid "Child Page (has parent)"
|
||||
msgstr "Дочерняя страница (имеет родителя)"
|
||||
|
||||
#: includes/class-spu-helper.php:148
|
||||
msgid "Default Template"
|
||||
msgstr "Шаблон по умолчанию"
|
||||
|
||||
#: includes/class-spu-helper.php:221
|
||||
msgid "Publish"
|
||||
msgstr "Опубликовать"
|
||||
|
||||
#: includes/class-spu-helper.php:222
|
||||
msgid "Pending Review"
|
||||
msgstr "Ожидает оценки"
|
||||
|
||||
#: includes/class-spu-helper.php:223
|
||||
msgid "Draft"
|
||||
msgstr "Черновик"
|
||||
|
||||
#: includes/class-spu-helper.php:224
|
||||
msgid "Future"
|
||||
msgstr "Запланировать"
|
||||
|
||||
#: includes/class-spu-helper.php:225
|
||||
msgid "Private"
|
||||
msgstr "Приватное"
|
||||
|
||||
#: includes/class-spu-helper.php:226
|
||||
msgid "Revision"
|
||||
msgstr "Ревизии"
|
||||
|
||||
#: includes/class-spu-helper.php:227
|
||||
msgid "Trash"
|
||||
msgstr "Корзина"
|
||||
|
||||
#: includes/class-spu-helper.php:240
|
||||
msgid "Super Admin"
|
||||
msgstr "Супер Админ"
|
||||
|
||||
#: includes/class-spu-helper.php:260
|
||||
msgid "True"
|
||||
msgstr "Правда"
|
||||
BIN
wp-content/plugins/popups/languages/popups-sk_SK.mo
Normal file
BIN
wp-content/plugins/popups/languages/popups-sk_SK.mo
Normal file
Binary file not shown.
858
wp-content/plugins/popups/languages/popups-sk_SK.po
Normal file
858
wp-content/plugins/popups/languages/popups-sk_SK.po
Normal file
@@ -0,0 +1,858 @@
|
||||
# Copyright (C) 2013 TODO
|
||||
# This file is distributed under the same license as the TODO package.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Popups SK\n"
|
||||
"Report-Msgid-Bugs-To: http://wordpress.org/plugins/plugin-name\n"
|
||||
"POT-Creation-Date: 2016-02-04 13:02+0100\n"
|
||||
"PO-Revision-Date: 2019-04-08 06:16+0200\n"
|
||||
"Language-Team: Fajo <ja@fajo.name>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Poedit 2.2.1\n"
|
||||
"X-Poedit-KeywordsList: __;_e;_n;_x;esc_html_e;esc_html__;esc_attr_e;"
|
||||
"esc_attr__;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_x:1,2c;_n:1,2\n"
|
||||
"X-Poedit-Basepath: ..\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n>=2 && n<=4 ? 1 : 2);\n"
|
||||
"Last-Translator: \n"
|
||||
"Language: sk_SK\n"
|
||||
"X-Poedit-SourceCharset: UTF-8\n"
|
||||
"X-Poedit-SearchPath-0: .\n"
|
||||
|
||||
#: admin/class-social-popup-admin.php:159
|
||||
msgctxt "post type singular name"
|
||||
msgid "Popups"
|
||||
msgstr "Popups"
|
||||
|
||||
#: admin/class-social-popup-admin.php:160
|
||||
msgctxt "admin menu"
|
||||
msgid "Popups"
|
||||
msgstr "Popups"
|
||||
|
||||
#: admin/class-social-popup-admin.php:161
|
||||
msgctxt "add new on admin bar"
|
||||
msgid "Popups"
|
||||
msgstr "Popups"
|
||||
|
||||
#: admin/class-social-popup-admin.php:162
|
||||
msgctxt "Popups"
|
||||
msgid "Add New"
|
||||
msgstr "Pridajte nové"
|
||||
|
||||
#: admin/class-social-popup-admin.php:163
|
||||
msgid "Add New Popups"
|
||||
msgstr "Pridajte nové Popups"
|
||||
|
||||
#: admin/class-social-popup-admin.php:164
|
||||
msgid "New Popups"
|
||||
msgstr "Nové Popups"
|
||||
|
||||
#: admin/class-social-popup-admin.php:165
|
||||
msgid "Edit Popups"
|
||||
msgstr "Upraviť Popups"
|
||||
|
||||
#: admin/class-social-popup-admin.php:166
|
||||
msgid "View Popups"
|
||||
msgstr "Zobraziť Popups"
|
||||
|
||||
#: admin/class-social-popup-admin.php:167
|
||||
msgid "All Popups"
|
||||
msgstr "Všetky Popups"
|
||||
|
||||
#: admin/class-social-popup-admin.php:168
|
||||
msgid "Search Popups"
|
||||
msgstr "Hľadať Popups"
|
||||
|
||||
#: admin/class-social-popup-admin.php:169
|
||||
msgid "Parent Popups:"
|
||||
msgstr "Nadradené Popups:"
|
||||
|
||||
#: admin/class-social-popup-admin.php:170
|
||||
msgid "No Popups found."
|
||||
msgstr "Žiadne Popups nenájdené."
|
||||
|
||||
#: admin/class-social-popup-admin.php:171
|
||||
msgid "No Popups found in Trash."
|
||||
msgstr "Žiadne Popups nenájdené v koši."
|
||||
|
||||
#: admin/class-social-popup-admin.php:212
|
||||
msgid "Settings"
|
||||
msgstr "Nastavenia"
|
||||
|
||||
#: admin/class-social-popup-admin.php:260
|
||||
msgid "Popups Premium"
|
||||
msgstr "Popups Premium"
|
||||
|
||||
#: admin/class-social-popup-admin.php:271
|
||||
msgid "PopUp Shortcodes"
|
||||
msgstr "PopUp skrátené kódy"
|
||||
|
||||
#: admin/class-social-popup-admin.php:280
|
||||
msgid "PopUp Appearance"
|
||||
msgstr "Vzhľad PopUp"
|
||||
|
||||
#: admin/class-social-popup-admin.php:289
|
||||
msgid "PopUp Display Rules"
|
||||
msgstr "Pravidlá zobrazenia PopUp"
|
||||
|
||||
#: admin/class-social-popup-admin.php:298
|
||||
msgid "Display Options"
|
||||
msgstr "Možnosti zobrazenia"
|
||||
|
||||
#: admin/class-social-popup-admin.php:307
|
||||
msgid "Need support?"
|
||||
msgstr "Potrebujete pomoc?"
|
||||
|
||||
#: admin/class-social-popup-admin.php:315
|
||||
msgid "Donate & support"
|
||||
msgstr "Dar & podpora"
|
||||
|
||||
#: admin/class-social-popup-admin.php:323
|
||||
msgid "About the developer"
|
||||
msgstr "O developerovi"
|
||||
|
||||
#: admin/class-social-popup-admin.php:589
|
||||
#: admin/views/metaboxes/metabox-rules.php:33
|
||||
#: admin/views/metaboxes/metabox-rules.php:106
|
||||
msgid "or"
|
||||
msgstr "alebo"
|
||||
|
||||
#: admin/class-social-popup-admin.php:616
|
||||
msgid "Add a Popup"
|
||||
msgstr "Pridať Popup"
|
||||
|
||||
#: admin/class-social-popup-admin.php:740
|
||||
msgid "User"
|
||||
msgstr "Používateľ"
|
||||
|
||||
#: admin/class-social-popup-admin.php:741
|
||||
msgid "User role"
|
||||
msgstr "Používateľské role"
|
||||
|
||||
#: admin/class-social-popup-admin.php:742
|
||||
msgid "User is logged"
|
||||
msgstr "Používateľ je prihlásený"
|
||||
|
||||
#: admin/class-social-popup-admin.php:743
|
||||
msgid "User never left a comment"
|
||||
msgstr "Používateľ nikdy nezanechal komentár"
|
||||
|
||||
#: admin/class-social-popup-admin.php:744
|
||||
msgid "User came via a search engine"
|
||||
msgstr "Používateľ prišiel cez vyhľadávací nástroj"
|
||||
|
||||
#: admin/class-social-popup-admin.php:745
|
||||
msgid "User did not arrive via another page on your site"
|
||||
msgstr "Používateľ neprišiel cez inú stránku na vašej stránke"
|
||||
|
||||
#: admin/class-social-popup-admin.php:747
|
||||
#: admin/class-social-popup-admin.php:748
|
||||
msgid "Post"
|
||||
msgstr "Článok"
|
||||
|
||||
#: admin/class-social-popup-admin.php:749
|
||||
msgid "Post ID"
|
||||
msgstr "ID článku"
|
||||
|
||||
#: admin/class-social-popup-admin.php:750
|
||||
msgid "Post Type"
|
||||
msgstr "Typ článku"
|
||||
|
||||
#: admin/class-social-popup-admin.php:751
|
||||
msgid "Post Category"
|
||||
msgstr "Kategória článkov"
|
||||
|
||||
#: admin/class-social-popup-admin.php:752
|
||||
msgid "Post Format"
|
||||
msgstr "Formát článkov"
|
||||
|
||||
#: admin/class-social-popup-admin.php:753
|
||||
msgid "Post Status"
|
||||
msgstr "Stav článkov"
|
||||
|
||||
#: admin/class-social-popup-admin.php:754
|
||||
msgid "Post Taxonomy"
|
||||
msgstr "Taxonómia článkov"
|
||||
|
||||
#: admin/class-social-popup-admin.php:756
|
||||
#: admin/class-social-popup-admin.php:757
|
||||
msgid "Page"
|
||||
msgstr "Stránka"
|
||||
|
||||
#: admin/class-social-popup-admin.php:758
|
||||
msgid "Page Type"
|
||||
msgstr "Typ stránky"
|
||||
|
||||
#: admin/class-social-popup-admin.php:759
|
||||
msgid "Page Parent"
|
||||
msgstr "Nadradená stránka"
|
||||
|
||||
#: admin/class-social-popup-admin.php:760
|
||||
msgid "Page Template"
|
||||
msgstr "Šablóna stránky"
|
||||
|
||||
#: admin/class-social-popup-admin.php:762
|
||||
msgid "Other"
|
||||
msgstr "Iné"
|
||||
|
||||
#: admin/class-social-popup-admin.php:763
|
||||
msgid "Referrer"
|
||||
msgstr "Referrer"
|
||||
|
||||
#: admin/class-social-popup-admin.php:764
|
||||
msgid "Mobile Phone"
|
||||
msgstr "Mobil"
|
||||
|
||||
#: admin/class-social-popup-admin.php:765
|
||||
msgid "Tablet"
|
||||
msgstr "Tablet"
|
||||
|
||||
#: admin/class-social-popup-admin.php:813
|
||||
msgid "ID"
|
||||
msgstr "ID"
|
||||
|
||||
#: admin/includes/class-spu-notices.php:30
|
||||
#, php-format
|
||||
msgid ""
|
||||
"We noticed that you have been using our plugin for a while and we would like "
|
||||
"to ask you a little favour. If you are happy with it and can take a minute "
|
||||
"please <a href=\"%s\" target=\"_blank\">leave a nice review</a> on "
|
||||
"WordPress. It will be a tremendous help for us!"
|
||||
msgstr ""
|
||||
"Všimli sme si, že ste nejaký čas používali náš plugin a chceli by sme vás "
|
||||
"požiadať o malú láskavosť. Ak ste s ním spokojní a môžete obetovať minútu, "
|
||||
"<a href=\"%s\" target=\"_blank\"> nechajte nám na stránke WordPress peknú "
|
||||
"recenziu </a>. Bude to pre nás obrovská pomoc!"
|
||||
|
||||
#: admin/includes/class-spu-notices.php:32
|
||||
#, php-format
|
||||
msgid "<a href=\"%s\" target=\"_blank\">Leave a nice review</a>"
|
||||
msgstr "<a href=\"%s\" target=\"_blank\">Zanechajte peknú recenziu</a>"
|
||||
|
||||
#: admin/includes/class-spu-notices.php:33
|
||||
#, php-format
|
||||
msgid "<a href=\"%s\">No, thanks</a>"
|
||||
msgstr "<a href=\"%s\">Nie, vďaka</a>"
|
||||
|
||||
#: admin/views/metaboxes/metabox-appearance.php:10
|
||||
msgid "Background opacity"
|
||||
msgstr "Priehľadnosť pozadia"
|
||||
|
||||
#: admin/views/metaboxes/metabox-appearance.php:12
|
||||
msgid "Leave at 0 for no background. Max value is 1"
|
||||
msgstr "Nechajte hodnotu 0 pre žiadne pozadie. Maximálna hodnota je 1"
|
||||
|
||||
#: admin/views/metaboxes/metabox-appearance.php:18
|
||||
msgid "Background color"
|
||||
msgstr "Farba pozadia"
|
||||
|
||||
#: admin/views/metaboxes/metabox-appearance.php:22
|
||||
msgid "Text color"
|
||||
msgstr "Farba textu"
|
||||
|
||||
#: admin/views/metaboxes/metabox-appearance.php:26
|
||||
msgid "Box width"
|
||||
msgstr "Šírka boxu"
|
||||
|
||||
#: admin/views/metaboxes/metabox-appearance.php:32
|
||||
msgid "Border color"
|
||||
msgstr "Farba okraja"
|
||||
|
||||
#: admin/views/metaboxes/metabox-appearance.php:36
|
||||
msgid "Border width"
|
||||
msgstr "Šírka okraja"
|
||||
|
||||
#: admin/views/metaboxes/metabox-donate.php:6
|
||||
msgid "If you like this plugin, consider supporting it by donating."
|
||||
msgstr "Ak sa vám páči tento plugin, zvážte jeho podporu darovaním."
|
||||
|
||||
#: admin/views/metaboxes/metabox-donate.php:8
|
||||
msgid "Donate with PayPal"
|
||||
msgstr "Darujte s PayPal"
|
||||
|
||||
#: admin/views/metaboxes/metabox-donate.php:10
|
||||
msgid "Some other ways to support this plugin"
|
||||
msgstr "Niektoré ďalšie spôsoby, ako podporiť tento plugin"
|
||||
|
||||
#: admin/views/metaboxes/metabox-donate.php:12
|
||||
msgid "Leave a ★★★★★ review on WordPress.org"
|
||||
msgstr ""
|
||||
"Zanechajte ★★★★★ recenziu na WordPress.org"
|
||||
|
||||
#: admin/views/metaboxes/metabox-donate.php:13
|
||||
msgid "Write about Popups on your blog"
|
||||
msgstr "Píšte o Popups na svojom blogu"
|
||||
|
||||
#: admin/views/metaboxes/metabox-donate.php:14
|
||||
msgid "Tweet about Popups"
|
||||
msgstr "Tweetujte o Popups"
|
||||
|
||||
#: admin/views/metaboxes/metabox-donate.php:15
|
||||
msgid "Vote \"works\" on the WordPress.org plugin page"
|
||||
msgstr "Hlasujte „funguje“ na stránke pluginu na WordPress.org"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:6
|
||||
msgid ""
|
||||
"You have some social shortcodes to use that will print a Facebook like, a "
|
||||
"Google+ Follow and a Twitter follow. Check the available options and "
|
||||
"<strong>configure them with your social accounts</strong>:"
|
||||
msgstr ""
|
||||
"Skontrolujte dostupné možnosti a <strong> nakonfigurujte ich pomocou svojich "
|
||||
"účtov na sociálnych sieťach </strong>:"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:8
|
||||
msgid "Facebook Page"
|
||||
msgstr "Stránka Facebook"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:12
|
||||
msgid "View Facebook Page Options"
|
||||
msgstr "Zobrazenie možností stránky Facebook"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:14
|
||||
#: admin/views/metaboxes/metabox-help.php:27
|
||||
msgid "Your Facebook page url"
|
||||
msgstr "Adresa URL vašej stránky v službe Facebook"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:15
|
||||
msgid "Your page name"
|
||||
msgstr "Názov vašej stránky"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:16
|
||||
msgid "true|false <b>Default value:</b> true"
|
||||
msgstr "true|false <b>Predvolená hodnota:</b> true"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:17
|
||||
msgid "true|false <b>Default value:</b> false"
|
||||
msgstr "true|false <b>Predvolená hodnota:</b> false"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:18
|
||||
msgid "number <b>Default value:</b> 500"
|
||||
msgstr "number <b>Predvolená hodnota:</b> 500"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:21
|
||||
msgid "Facebook Button"
|
||||
msgstr "Tlačidlo Facebook"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:25
|
||||
msgid "View Facebook Options"
|
||||
msgstr "Zobrazenie možností služby Facebook"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:28
|
||||
msgid "standard, box_count, button <b>Default value:</b> button_count"
|
||||
msgstr "standard, box_count, button <b>Predvolená hodnota:</b> button_count"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:29
|
||||
#: admin/views/metaboxes/metabox-help.php:30
|
||||
msgid "true <b>Default value:</b> false"
|
||||
msgstr "true <b>Predvolená hodnota:</b> false"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:31
|
||||
msgid "recommend <b>Default value:</b> like"
|
||||
msgstr "recommend <b>Predvolená hodnota:</b> like"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:32
|
||||
msgid "number <b>Default value:</b>"
|
||||
msgstr "number <b>Predvolená hodnota:</b>"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:34
|
||||
msgid "Google+ Button"
|
||||
msgstr "Tlačidlo Google+"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:38
|
||||
msgid "View Google+ Options"
|
||||
msgstr "Zobraziť možnosti služby Google+"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:40
|
||||
msgid "Your Google+ url"
|
||||
msgstr "Vaša adresa URL služby Google+"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:41
|
||||
msgid "small, standard, tall <b>Default value:</b> medium"
|
||||
msgstr "small, standard, tall <b>Predvolená hodnota:</b> medium"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:42
|
||||
msgid "inline, none <b>Default value:</b> bubble"
|
||||
msgstr "inline, none <b>Predvolená hodnota:</b> bubble"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:44
|
||||
msgid "Twitter Button"
|
||||
msgstr "Tlačidlo Twitter"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:48
|
||||
msgid "View Twitter Options"
|
||||
msgstr "Zobraziť možnosti služby Twitter"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:50
|
||||
msgid "Your Twitter user <b>Default chifliiiii</b>"
|
||||
msgstr "Váš používateľ služby Twitter <b>Default chifliiiii</b>"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:51
|
||||
msgid "false <b>Default value:</b> true"
|
||||
msgstr "false <b>Predvolená hodnota:</b> true"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:52
|
||||
msgid "large <b>Default value:</b> \"\""
|
||||
msgstr "large <b>Predvolená hodnota:</b> \"\""
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:55
|
||||
msgid "Other available Shortcodes:"
|
||||
msgstr "Ďalšie dostupné skrátené kódy:"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:56
|
||||
msgid "Close Button"
|
||||
msgstr "Tlačidlo Zavrieť"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:60
|
||||
msgid "View Close shortcode Options"
|
||||
msgstr "Zobraziť možnosti skráteného kódu tlačidla Zavrieť"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:62
|
||||
msgid "Pass a custom class to style your button"
|
||||
msgstr "Vložte vlastnú triedu do štýlu, aby ste upravili svoje tlačidlo"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:63
|
||||
msgid "Button label - <b>Default value:</b> Close"
|
||||
msgstr "Button label - <b>Predvolená hodnota:</b> Close"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:64
|
||||
msgid "left, right, center, none - <b>Default value:</b> center"
|
||||
msgstr "left, right, center, none - <b>Predvolená hodnota:</b> center"
|
||||
|
||||
#: admin/views/metaboxes/metabox-links.php:6
|
||||
msgid "My name is"
|
||||
msgstr "Moje meno je"
|
||||
|
||||
#: admin/views/metaboxes/metabox-links.php:6
|
||||
msgid "I develop WordPress plugins and themes."
|
||||
msgstr "Vyvíjam WordPress pluginy a témy."
|
||||
|
||||
#: admin/views/metaboxes/metabox-links.php:7
|
||||
#, php-format
|
||||
msgid ""
|
||||
"Take a look at my <a href=\"%s\">site</a> to see my other plugins or hire "
|
||||
"me. Subscribe to get updates!"
|
||||
msgstr ""
|
||||
"Pozrite sa na moju <a href=\"%s\">webovú stránku</a> , aby ste videli ďalšie "
|
||||
"moje pluginy alebo si ma najali. Prihlásiť sa na odber aktualizácií!"
|
||||
|
||||
#: admin/views/metaboxes/metabox-links.php:8
|
||||
msgid "Other plugins I built:"
|
||||
msgstr "Ďalšie vytvorené pluginy:"
|
||||
|
||||
#: admin/views/metaboxes/metabox-links.php:10
|
||||
msgid "Install multiple plugins and create collections"
|
||||
msgstr "Nainštalujte multiple plugins a vytvorte kolekcie"
|
||||
|
||||
#: admin/views/metaboxes/metabox-links.php:11
|
||||
msgid "Geotarget your content"
|
||||
msgstr "Zamerajte zemepisne váš obsah"
|
||||
|
||||
#: admin/views/metaboxes/metabox-links.php:12
|
||||
msgid "Invite your network friends and import contacts"
|
||||
msgstr "Pozvite priateľov zo siete a importujte kontakty"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:9
|
||||
msgid "Box Position"
|
||||
msgstr "Poloha boxu"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:12
|
||||
msgid "Centered"
|
||||
msgstr "Na stred"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:13
|
||||
msgid "Top Left"
|
||||
msgstr "Hore vľavo"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:14
|
||||
msgid "Top Right"
|
||||
msgstr "Hore vpravo"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:15
|
||||
msgid "Bottom Left"
|
||||
msgstr "Dole vľavo"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:16
|
||||
msgid "Bottom Right"
|
||||
msgstr "Dole vpravo"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:23
|
||||
msgid "Trigger action"
|
||||
msgstr "Aktivácia spúšťania"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:27
|
||||
msgid "seconds after page load"
|
||||
msgstr "sekúnd po načítaní stránky"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:28
|
||||
msgid "of page height"
|
||||
msgstr "výšky stránky"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:38
|
||||
msgid "Auto-hide?"
|
||||
msgstr "Automatická výška?"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:40
|
||||
#: admin/views/metaboxes/metabox-options.php:68
|
||||
#: admin/views/metaboxes/metabox-options.php:76
|
||||
#: admin/views/metaboxes/metabox-options.php:84
|
||||
msgid "Yes"
|
||||
msgstr "Áno"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:41
|
||||
#: admin/views/metaboxes/metabox-options.php:69
|
||||
#: admin/views/metaboxes/metabox-options.php:77
|
||||
#: admin/views/metaboxes/metabox-options.php:85
|
||||
msgid "No"
|
||||
msgstr "Nie"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:42
|
||||
msgid "Hide box again when visitors scroll back up?"
|
||||
msgstr "Skryť box znova, keď návštevníci skrolujú späť na začiatok stránky?"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:46
|
||||
msgid "Animation"
|
||||
msgstr "Animácia"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:49
|
||||
msgid "Fade In"
|
||||
msgstr "Fade In"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:50
|
||||
msgid "Slide In"
|
||||
msgstr "Slide In"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:53
|
||||
msgid "Slide will only apply when popup is on the corners"
|
||||
msgstr "Slide bude použitý len v prípade, keď je vyskakovacie okno v rohoch"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:58
|
||||
msgid "Cookie expiration days"
|
||||
msgstr "Dni vypršania platnosti súboru cookie"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:61
|
||||
msgid "After closing the box, how many days should it stay hidden?"
|
||||
msgstr "Koľko dní by malo zostať vyskakovacie okno skryté po jeho zatvorení?"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:66
|
||||
msgid "Enable test mode?"
|
||||
msgstr "Povoliť testovací režim?"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:70
|
||||
msgid ""
|
||||
"If test mode is enabled, the box will show up regardless of whether a cookie "
|
||||
"has been set. (To admins only)"
|
||||
msgstr ""
|
||||
"Ak je testovací režim povolený, box sa zobrazí bez ohľadu na to, či bol "
|
||||
"súbor cookie nastavený. (Len pre administrátorov)"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:74
|
||||
msgid "Close on conversion?"
|
||||
msgstr "Zatvoriť pri konverzii?"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:78
|
||||
msgid ""
|
||||
"If you have a form or social shortcode, by default popup will close on "
|
||||
"submission/conversion"
|
||||
msgstr ""
|
||||
"Ak máte formulár alebo skrátený kód sociálnej siete, vyskakovacie okno sa "
|
||||
"zatvorí pri potvrdení / konverzii"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:82
|
||||
msgid "Show powered by link?"
|
||||
msgstr "Zobraziť powered by odkaz?"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:86
|
||||
#, php-format
|
||||
msgid ""
|
||||
"Shows a \"powered by\" link below your popup. If your affiliate link is set "
|
||||
"in the <a href=\"%s\">settings</a>, it will be used."
|
||||
msgstr ""
|
||||
"Pod vyskakovacím oknom sa zobrazuje odkaz \"powered by\". Ak je váš "
|
||||
"partnerský odkaz nastavený v <a href=\"%s\">nastaveniach</a>, bude použitý."
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:16
|
||||
msgid ""
|
||||
"Take the best WordPress Popups plugin to the next level with Popups Premium "
|
||||
"extension."
|
||||
msgstr ""
|
||||
"Posuňte ten najlepší plugin WordPress Popups na ďalšiu úroveň s rozšírením "
|
||||
"Popups Premium."
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:17
|
||||
msgid "Popups Premium Features:"
|
||||
msgstr "Prémiové funkcie Popups:"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:19
|
||||
msgid "Beautiful optin forms for popular mail providers"
|
||||
msgstr "Krásne opt-in formuláre pre obľúbených poštových poskytovateľov"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:20
|
||||
msgid "Currently supporting MailChimp, Aweber, Postmatic, Mailpoet"
|
||||
msgstr "V súčasnosti s podporou MailChimp, Aweber, Postmatic, Mailpoet"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:21
|
||||
msgid ""
|
||||
"Track impressions and Conversions of social likes and forms submissions like "
|
||||
"Contact Form 7, Gravity forms, etc"
|
||||
msgstr ""
|
||||
"Sledovanie zobrazení a konverzií lajkov zo sociálnych sietí a formulárov, "
|
||||
"ako je Contact Form 7, Gravity forms atď"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:22
|
||||
msgid "Track impressions and Conversions also in Google Analytics"
|
||||
msgstr "Sledujte zobrazenia a konverzie aj v službe Google Analytics"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:23
|
||||
#: admin/views/metaboxes/metabox-premium.php:25
|
||||
msgid "Exit Intent technology"
|
||||
msgstr "Exit Intent technology"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:24
|
||||
msgid "8 New animations effects"
|
||||
msgstr "8 nových efektov animácií"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:26
|
||||
msgid "New trigger methods"
|
||||
msgstr "Nové metódy spúšťania"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:27
|
||||
msgid "Timer for auto closing"
|
||||
msgstr "Časovač pre automatické zatváranie"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:28
|
||||
msgid "Ability to disable close button"
|
||||
msgstr "Možnosť vypnúť tlačidlo Zatvoriť"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:29
|
||||
msgid ""
|
||||
"Ability to disable Advanced close methods like esc or clicking outside of "
|
||||
"the popup"
|
||||
msgstr ""
|
||||
"Možnosť vypnúť Pokročilé metódy zatvárania, ako napríklad klávesou esc alebo "
|
||||
"kliknutím mimo vyskakovacie okno"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:30
|
||||
msgid "Premium support"
|
||||
msgstr "Prémiová podpora"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:34
|
||||
msgid "Buy Now!"
|
||||
msgstr "Kúp teraz!"
|
||||
|
||||
#: admin/views/metaboxes/metabox-rules.php:19
|
||||
msgid "Rules"
|
||||
msgstr "Pravidlá"
|
||||
|
||||
#: admin/views/metaboxes/metabox-rules.php:20
|
||||
msgid "Create a set of rules to determine where the popup will show"
|
||||
msgstr ""
|
||||
"Vytvorte množinu pravidiel, aby ste určili, kde sa bude kontextové okno "
|
||||
"zobrazovať"
|
||||
|
||||
#: admin/views/metaboxes/metabox-rules.php:31
|
||||
msgid "Show this popup if"
|
||||
msgstr "Zobraziť toto okno, ak"
|
||||
|
||||
#: admin/views/metaboxes/metabox-rules.php:61
|
||||
msgid "is equal to"
|
||||
msgstr "rovná sa"
|
||||
|
||||
#: admin/views/metaboxes/metabox-rules.php:62
|
||||
msgid "is not equal to"
|
||||
msgstr "nerovná sa"
|
||||
|
||||
#: admin/views/metaboxes/metabox-rules.php:93
|
||||
msgid "and"
|
||||
msgstr "a"
|
||||
|
||||
#: admin/views/metaboxes/metabox-rules.php:108
|
||||
msgid "Add rule group"
|
||||
msgstr "Pridať skupinu pravidiel"
|
||||
|
||||
#: admin/views/metaboxes/metabox-support.php:6
|
||||
#, php-format
|
||||
msgid "You are using Popups plugin v%s"
|
||||
msgstr "Používate Popups plugin v%s"
|
||||
|
||||
#: admin/views/metaboxes/metabox-support.php:7
|
||||
#, php-format
|
||||
msgid ""
|
||||
"If you need support please go to the WordPress.org <a href=\"%s\">support "
|
||||
"forums</a>"
|
||||
msgstr ""
|
||||
"Ak potrebujete podporu, prejdite na stránku <a href=\"%s\">fóra podpory</a> "
|
||||
"WordPress.org"
|
||||
|
||||
#: admin/views/settings-page.php:17
|
||||
msgid "Affiliate link"
|
||||
msgstr "Affiliate odkaz"
|
||||
|
||||
#: admin/views/settings-page.php:20
|
||||
#, php-format
|
||||
msgid ""
|
||||
"You can earn money by promoting the plugin! Join <a href=\"%s\">our "
|
||||
"affiliate program</a> and paste your affiliate link here to earn 35% in "
|
||||
"commissions . Once entered, it will replace the default \"Powered by\" on "
|
||||
"the popups."
|
||||
msgstr ""
|
||||
"Môžete zarábať peniaze propagáciou tohoto pluginu! Pridajte sa k nášmu <a "
|
||||
"href=\"%s\">partnerskému programu</a> a vložte svoj partnerský odkaz, aby "
|
||||
"ste získali 35% v províziách. Po zadaní nahradí predvolené \"Powered by"
|
||||
"\" na vyskakovacích oknách."
|
||||
|
||||
#: admin/views/settings-page.php:24
|
||||
msgid "Ajax mode?"
|
||||
msgstr "Ajax režim?"
|
||||
|
||||
#: admin/views/settings-page.php:27
|
||||
msgid ""
|
||||
"Load popups using ajax. Compatible with cache plugins, but might not work "
|
||||
"with all plugins"
|
||||
msgstr ""
|
||||
"Načítanie vyskakovacích okien pomocou metódy ajax. Je kompatibilné s "
|
||||
"pluginmi cache, ale nemusí fungovať so všetkými pluginmi"
|
||||
|
||||
#: admin/views/settings-page.php:32
|
||||
msgid "Enable Debug mode?"
|
||||
msgstr "Povoliť režim ladenia?"
|
||||
|
||||
#: admin/views/settings-page.php:35
|
||||
msgid "Will use uncompressed js"
|
||||
msgstr "Bude použitý nekomprimovaný javascript"
|
||||
|
||||
#: admin/views/settings-page.php:40
|
||||
msgid "Enable safe mode?"
|
||||
msgstr "Povoliť bezpečnostný režim?"
|
||||
|
||||
#: admin/views/settings-page.php:43
|
||||
msgid "Will move all popups to top of the screen."
|
||||
msgstr "Presunie všetky vyskakovacie okná na začiatok obrazovky."
|
||||
|
||||
#: admin/views/settings-page.php:48
|
||||
msgid "Remove shortcodes style"
|
||||
msgstr "Odstráňte štýl skrátených kódov"
|
||||
|
||||
#: admin/views/settings-page.php:51
|
||||
msgid ""
|
||||
"By default the plugin will apply some style to shortcodes. Check here if you "
|
||||
"want to manually style them"
|
||||
msgstr ""
|
||||
"Štandardne bude plugin aplikovať určitý štýl na skrátené kódy. Označte, ak "
|
||||
"ich chcete manuálne upraviť"
|
||||
|
||||
#: admin/views/settings-page.php:56
|
||||
msgid "Unload Facebook javascript"
|
||||
msgstr "Uvoľniť Facebook javascript"
|
||||
|
||||
#: admin/views/settings-page.php:59
|
||||
msgid "If you use your own Facebook script, check this"
|
||||
msgstr "Označte, ak používate vlastný Facebookuskript"
|
||||
|
||||
#: admin/views/settings-page.php:64
|
||||
msgid "Unload Google javascript"
|
||||
msgstr "Uvoľniť Google javascript"
|
||||
|
||||
#: admin/views/settings-page.php:67
|
||||
msgid "If you use your own Google script, check this"
|
||||
msgstr "Označte, ak používate vlastný Googleskript"
|
||||
|
||||
#: admin/views/settings-page.php:72
|
||||
msgid "Unload Twitter javascript"
|
||||
msgstr "Uvoľniť Twitter javascript"
|
||||
|
||||
#: admin/views/settings-page.php:75
|
||||
msgid "If you use your own Twitter script, check this"
|
||||
msgstr "Označte, ak používate vlastný Twitter skript"
|
||||
|
||||
#: admin/views/settings-page.php:82
|
||||
msgid "Delete all data on Uninstall"
|
||||
msgstr "Odstráňte všetky údaje pri odinštalovaní"
|
||||
|
||||
#: admin/views/settings-page.php:85
|
||||
msgid ""
|
||||
"When you uninstall the plugin all popups, settings and stats will be deleted "
|
||||
"from your db"
|
||||
msgstr ""
|
||||
"Keď odinštalujete plugin, všetky kontextové okná, nastavenia a štatistiky "
|
||||
"budú z vašej db odstránené"
|
||||
|
||||
#: admin/views/settings-page.php:89
|
||||
msgid "Save settings"
|
||||
msgstr "Uložiť nastavenia"
|
||||
|
||||
#: includes/class-spu-helper.php:131
|
||||
msgid "All Pages"
|
||||
msgstr "Všetky stránky"
|
||||
|
||||
#: includes/class-spu-helper.php:132
|
||||
msgid "Front Page"
|
||||
msgstr "Titulná strana"
|
||||
|
||||
#: includes/class-spu-helper.php:133
|
||||
msgid "Posts Page"
|
||||
msgstr "Stránka článkov"
|
||||
|
||||
#: includes/class-spu-helper.php:134
|
||||
msgid "Category Page"
|
||||
msgstr "Stránka kategórií"
|
||||
|
||||
#: includes/class-spu-helper.php:135
|
||||
msgid "Search Page"
|
||||
msgstr "Stránka vyhľadávania"
|
||||
|
||||
#: includes/class-spu-helper.php:136
|
||||
msgid "Archives Page"
|
||||
msgstr "Stránka archívov"
|
||||
|
||||
#: includes/class-spu-helper.php:137
|
||||
msgid "Top Level Page (parent of 0)"
|
||||
msgstr "Stránka najvyššej úrovne (parent of 0)"
|
||||
|
||||
#: includes/class-spu-helper.php:138
|
||||
msgid "Parent Page (has children)"
|
||||
msgstr "Nadradená stránka (has children)"
|
||||
|
||||
#: includes/class-spu-helper.php:139
|
||||
msgid "Child Page (has parent)"
|
||||
msgstr "Podradená stránka (has parent)"
|
||||
|
||||
#: includes/class-spu-helper.php:147
|
||||
msgid "Default Template"
|
||||
msgstr "Predvolená šablóna"
|
||||
|
||||
#: includes/class-spu-helper.php:220
|
||||
msgid "Publish"
|
||||
msgstr "Publikované alebo publikovať"
|
||||
|
||||
#: includes/class-spu-helper.php:221
|
||||
msgid "Pending Review"
|
||||
msgstr "Čaká na posúdenie"
|
||||
|
||||
#: includes/class-spu-helper.php:222
|
||||
msgid "Draft"
|
||||
msgstr "Návrh"
|
||||
|
||||
#: includes/class-spu-helper.php:223
|
||||
msgid "Future"
|
||||
msgstr "Plánované"
|
||||
|
||||
#: includes/class-spu-helper.php:224
|
||||
msgid "Private"
|
||||
msgstr "Súkromné"
|
||||
|
||||
#: includes/class-spu-helper.php:225
|
||||
msgid "Revision"
|
||||
msgstr "Revízia"
|
||||
|
||||
#: includes/class-spu-helper.php:226
|
||||
msgid "Trash"
|
||||
msgstr "Kôš"
|
||||
|
||||
#: includes/class-spu-helper.php:239
|
||||
msgid "Super Admin"
|
||||
msgstr "Super Admin"
|
||||
|
||||
#: includes/class-spu-helper.php:259
|
||||
msgid "True"
|
||||
msgstr "True"
|
||||
BIN
wp-content/plugins/popups/languages/popups-sr_RS.mo
Normal file
BIN
wp-content/plugins/popups/languages/popups-sr_RS.mo
Normal file
Binary file not shown.
821
wp-content/plugins/popups/languages/popups-sr_RS.po
Normal file
821
wp-content/plugins/popups/languages/popups-sr_RS.po
Normal file
@@ -0,0 +1,821 @@
|
||||
# Copyright (C) 2013 TODO
|
||||
# This file is distributed under the same license as the TODO package.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Popups\n"
|
||||
"Report-Msgid-Bugs-To: http://wordpress.org/plugins/plugin-name\n"
|
||||
"POT-Creation-Date: 2015-06-14 10:53-0300\n"
|
||||
"PO-Revision-Date: 2015-06-14 10:53-0300\n"
|
||||
"Last-Translator: Damian Logghe <info@timersys.com>\n"
|
||||
"Language-Team: Timersys <info@timersys.com>\n"
|
||||
"Language: en_EN\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Poedit 1.7.4\n"
|
||||
"X-Poedit-KeywordsList: __;_e;_n;_x;esc_html_e;esc_html__;esc_attr_e;"
|
||||
"esc_attr__;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_x:1,2c;_n:1,2\n"
|
||||
"X-Poedit-Basepath: ../\n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Poedit-SearchPath-0: .\n"
|
||||
|
||||
#: admin/class-social-popup-admin.php:154
|
||||
msgctxt "post type singular name"
|
||||
msgid "Popups"
|
||||
msgstr "Popups [pojedinačni naziv vrste posta]"
|
||||
|
||||
#: admin/class-social-popup-admin.php:155
|
||||
msgctxt "admin menu"
|
||||
msgid "Popups"
|
||||
msgstr "Iskačući prozori [meni administratora]"
|
||||
|
||||
#: admin/class-social-popup-admin.php:156
|
||||
msgctxt "add new on admin bar"
|
||||
msgid "Popups"
|
||||
msgstr "Iskačući prozori [dodaj novi na traci sa menijem administratora]"
|
||||
|
||||
#: admin/class-social-popup-admin.php:157
|
||||
msgctxt "Popups"
|
||||
msgid "Add New"
|
||||
msgstr "Dodaj nove [iskačuće prozore]"
|
||||
|
||||
#: admin/class-social-popup-admin.php:158
|
||||
msgid "Add New Popups"
|
||||
msgstr "Dodaj nove iskačuće prozore"
|
||||
|
||||
#: admin/class-social-popup-admin.php:159
|
||||
msgid "New Popups"
|
||||
msgstr "Novi iskačući prozori "
|
||||
|
||||
#: admin/class-social-popup-admin.php:160
|
||||
msgid "Edit Popups"
|
||||
msgstr "Uredi iskačuće prozore"
|
||||
|
||||
#: admin/class-social-popup-admin.php:161
|
||||
msgid "View Popups"
|
||||
msgstr "Vidi iskačuće prozore"
|
||||
|
||||
#: admin/class-social-popup-admin.php:162
|
||||
msgid "All Popups"
|
||||
msgstr "Svi iskačući prozori "
|
||||
|
||||
#: admin/class-social-popup-admin.php:163
|
||||
msgid "Search Popups"
|
||||
msgstr "Pretraži iskačuće prozore"
|
||||
|
||||
#: admin/class-social-popup-admin.php:164
|
||||
msgid "Parent Popups:"
|
||||
msgstr "Nadređeni iskačući prozori "
|
||||
|
||||
#: admin/class-social-popup-admin.php:165
|
||||
msgid "No Popups found."
|
||||
msgstr "Nisu pronađeni iskačući prozori "
|
||||
|
||||
#: admin/class-social-popup-admin.php:166
|
||||
msgid "No Popups found in Trash."
|
||||
msgstr "Nisu pronađeni iskačući prozori u korpi za otpatke"
|
||||
|
||||
#: admin/class-social-popup-admin.php:255
|
||||
msgid "Popups Premium"
|
||||
msgstr "Popups Premium"
|
||||
|
||||
#: admin/class-social-popup-admin.php:266
|
||||
msgid "PopUp Shortcodes"
|
||||
msgstr "PopUp Shortcodes"
|
||||
|
||||
#: admin/class-social-popup-admin.php:275
|
||||
msgid "PopUp Display Rules"
|
||||
msgstr "PopUp pravila prikazivanja"
|
||||
|
||||
#: admin/class-social-popup-admin.php:284
|
||||
msgid "Display Options"
|
||||
msgstr "Opcije prikazivanja"
|
||||
|
||||
#: admin/class-social-popup-admin.php:293
|
||||
msgid "Need support?"
|
||||
msgstr "Treba vam podrška?"
|
||||
|
||||
#: admin/class-social-popup-admin.php:301
|
||||
msgid "Donate & support"
|
||||
msgstr "Donirajte i podržite"
|
||||
|
||||
#: admin/class-social-popup-admin.php:309
|
||||
msgid "About the developer"
|
||||
msgstr "O programeru"
|
||||
|
||||
#: admin/class-social-popup-admin.php:557
|
||||
#: admin/views/metaboxes/metabox-rules.php:33
|
||||
#: admin/views/metaboxes/metabox-rules.php:106
|
||||
msgid "or"
|
||||
msgstr "ili"
|
||||
|
||||
#: admin/class-social-popup-admin.php:584
|
||||
msgid "Add a Popup"
|
||||
msgstr "Dodaj iskačući prozor"
|
||||
|
||||
#: admin/class-social-popup-admin.php:708
|
||||
msgid "User"
|
||||
msgstr "Korisnik"
|
||||
|
||||
#: admin/class-social-popup-admin.php:709
|
||||
msgid "User role"
|
||||
msgstr "Korisnička uloga"
|
||||
|
||||
#: admin/class-social-popup-admin.php:710
|
||||
msgid "User is logged"
|
||||
msgstr "Korisnik je prijavljen"
|
||||
|
||||
#: admin/class-social-popup-admin.php:711
|
||||
msgid "User never left a comment"
|
||||
msgstr "Korisnik nikad nije ostavio komentar"
|
||||
|
||||
#: admin/class-social-popup-admin.php:712
|
||||
msgid "User came via a search engine"
|
||||
msgstr "Korisnik je došao putem pretraživača"
|
||||
|
||||
#: admin/class-social-popup-admin.php:713
|
||||
msgid "User did not arrive via another page on your site"
|
||||
msgstr "Korisnik nije došao preko druge stranice na vašem site-u"
|
||||
|
||||
#: admin/class-social-popup-admin.php:715
|
||||
#: admin/class-social-popup-admin.php:716
|
||||
msgid "Post"
|
||||
msgstr "Post"
|
||||
|
||||
#: admin/class-social-popup-admin.php:717
|
||||
msgid "Post ID"
|
||||
msgstr ""
|
||||
|
||||
#: admin/class-social-popup-admin.php:718
|
||||
msgid "Post Type"
|
||||
msgstr "Vrsta posta"
|
||||
|
||||
#: admin/class-social-popup-admin.php:719
|
||||
msgid "Post Category"
|
||||
msgstr "Kategorija posta"
|
||||
|
||||
#: admin/class-social-popup-admin.php:720
|
||||
msgid "Post Format"
|
||||
msgstr "Format posta"
|
||||
|
||||
#: admin/class-social-popup-admin.php:721
|
||||
msgid "Post Status"
|
||||
msgstr "Status posta"
|
||||
|
||||
#: admin/class-social-popup-admin.php:722
|
||||
msgid "Post Taxonomy"
|
||||
msgstr "Taksonomija posta"
|
||||
|
||||
#: admin/class-social-popup-admin.php:724
|
||||
#: admin/class-social-popup-admin.php:725
|
||||
msgid "Page"
|
||||
msgstr "Stranica"
|
||||
|
||||
#: admin/class-social-popup-admin.php:726
|
||||
msgid "Page Type"
|
||||
msgstr "Vrsta stranice"
|
||||
|
||||
#: admin/class-social-popup-admin.php:727
|
||||
msgid "Page Parent"
|
||||
msgstr "Nadređena stranica"
|
||||
|
||||
#: admin/class-social-popup-admin.php:728
|
||||
msgid "Page Template"
|
||||
msgstr "Šablon stranice"
|
||||
|
||||
#: admin/class-social-popup-admin.php:730
|
||||
msgid "Other"
|
||||
msgstr "Drugi"
|
||||
|
||||
#: admin/class-social-popup-admin.php:731
|
||||
msgid "Referrer"
|
||||
msgstr ""
|
||||
|
||||
#: admin/class-social-popup-admin.php:732
|
||||
msgid "Mobile Phone"
|
||||
msgstr "Mobilni telefon"
|
||||
|
||||
#: admin/class-social-popup-admin.php:733
|
||||
msgid "Tablet"
|
||||
msgstr "Tablet"
|
||||
|
||||
#: admin/includes/class-spu-notices.php:30
|
||||
#, php-format
|
||||
msgid ""
|
||||
"We noticed that you have been using our plugin for a while and we would like "
|
||||
"to ask you a little favour. If you are happy with it and can take a minute "
|
||||
"please <a href=\"%s\" target=\"_blank\">leave a nice review</a> on "
|
||||
"WordPress. It will be a tremendous help for us!"
|
||||
msgstr ""
|
||||
|
||||
#: admin/includes/class-spu-notices.php:32
|
||||
#, php-format
|
||||
msgid "<a href=\"%s\" target=\"_blank\">Leave a nice review</a>"
|
||||
msgstr ""
|
||||
|
||||
#: admin/includes/class-spu-notices.php:33
|
||||
#, php-format
|
||||
msgid "<a href=\"%s\">No, thanks</a>"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-donate.php:6
|
||||
msgid "If you like this plugin, consider supporting it by donating."
|
||||
msgstr ""
|
||||
"Ako vam se sviđa ovaj plugin, razmislite o tome da ga podržite donacijom."
|
||||
|
||||
#: admin/views/metaboxes/metabox-donate.php:8
|
||||
msgid "Donate with PayPal"
|
||||
msgstr "Donirajte putem PayPal-a"
|
||||
|
||||
#: admin/views/metaboxes/metabox-donate.php:10
|
||||
msgid "Some other ways to support this plugin"
|
||||
msgstr "Drugi načini za podržavanje ovog plugin-a."
|
||||
|
||||
#: admin/views/metaboxes/metabox-donate.php:12
|
||||
msgid "Leave a ★★★★★ review on WordPress.org"
|
||||
msgstr "Ostavite komentar ★★★★★ na WordPress.org"
|
||||
|
||||
#: admin/views/metaboxes/metabox-donate.php:13
|
||||
msgid "Write about Popups on your blog"
|
||||
msgstr "Pišite o Popups plugin-u na svom blogu"
|
||||
|
||||
#: admin/views/metaboxes/metabox-donate.php:14
|
||||
msgid "Tweet about Popups"
|
||||
msgstr "Pišite na Twitter-u o Popups plugin-u"
|
||||
|
||||
#: admin/views/metaboxes/metabox-donate.php:15
|
||||
msgid "Vote \"works\" on the WordPress.org plugin page"
|
||||
msgstr "Glasajte da \"radi\" na WordPress.org plugin stranici."
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:6
|
||||
msgid ""
|
||||
"You have three social shortcodes to use that will print a Facebook like, a "
|
||||
"Google+ Follow and a Twitter follow. Check the available options and "
|
||||
"<strong>configure them with your social accounts</strong>:"
|
||||
msgstr ""
|
||||
"Imate tri shortcode-a društvenih mreža na raspolaganju, koji će štampati "
|
||||
"Facebook ‘sviđa mi se’, Google+ ‘prati’ i Twitter ‘prati’. Pogledajte "
|
||||
"raspoložive opcije i <strong>uskladite ih sa svojim nalozima na društvenim "
|
||||
"mrežama</strong>:"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:12
|
||||
msgid "View Facebook Page Options"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:14
|
||||
#: admin/views/metaboxes/metabox-help.php:27
|
||||
msgid "Your facebook page url"
|
||||
msgstr "Url vaše Facebook stranice"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:15
|
||||
msgid "Your page name"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:16
|
||||
msgid "true|false <b>Default value:</b> true"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:17
|
||||
msgid "true|false <b>Default value:</b> false"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:25
|
||||
msgid "View Facebook Options"
|
||||
msgstr "Vidi Facebook opcije"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:28
|
||||
msgid "standard, box_count, button <b>Default value:</b> button_count"
|
||||
msgstr ""
|
||||
"standardni, box_count, taster <b>Podrazumevana vrednost:</b> button_count"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:29
|
||||
#: admin/views/metaboxes/metabox-help.php:30
|
||||
msgid "true <b>Default value:</b> false"
|
||||
msgstr "istina <b>Podrazumevana vrednost:</b> laž"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:31
|
||||
msgid "recommend <b>Default value:</b> like"
|
||||
msgstr "preporučena<b>Podrazumevana vrednost:</b> sviđa mi se"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:38
|
||||
msgid "View Google+ Options"
|
||||
msgstr "Vidi Google+ opcije "
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:40
|
||||
msgid "Your Google+ url"
|
||||
msgstr "Url za vaš Google+"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:41
|
||||
msgid "small, standard, tall <b>Default value:</b> medium"
|
||||
msgstr "Mali, standardni, visok<b>Podrazumevana vrednost:</b> srednji"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:42
|
||||
msgid "inline, none <b>Default value:</b> bubble"
|
||||
msgstr "inline, nijedan <b>Podrazumevana vrednost:</b>balončić"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:48
|
||||
msgid "View Twitter Options"
|
||||
msgstr "Vidi Twitter opcije"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:50
|
||||
msgid "Your Twitter user <b>Default chifli</b>iiii"
|
||||
msgstr "Vaš Twitter korisnik <b>Podrazumevani chifli</b>iiii"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:51
|
||||
msgid "false <b>Default value:</b> true"
|
||||
msgstr "laž<b>Podrazumevana vrednost:</b> istina"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:52
|
||||
msgid "large <b>Default value:</b> \"\""
|
||||
msgstr "veliki <b>Podrazumevana vrednost:</b>\"\""
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:55
|
||||
msgid "Other available Shortcodes:"
|
||||
msgstr "Drugi raspoloživi shortcode-ovi"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:60
|
||||
msgid "View Close shortcode Options"
|
||||
msgstr "Vidi: zatvori shortcode opcije "
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:62
|
||||
msgid "Pass a custom class to style your button"
|
||||
msgstr "Dodajte prilagođenu klasu da biste stilizovali svoj taster"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:63
|
||||
msgid "Button label - <b>Default value:</b> Close"
|
||||
msgstr "Oznaka tastera <b>Podrazumevana vrednost:</b> Zatvori"
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:64
|
||||
msgid "left, right, center, none - <b>Default value:</b> center"
|
||||
msgstr ""
|
||||
"evo, desno, u sredini, nijedan <b>Podrazumevana vrednost:</b> u sredini"
|
||||
|
||||
#: admin/views/metaboxes/metabox-links.php:6
|
||||
msgid "My name is"
|
||||
msgstr "Zovem se"
|
||||
|
||||
#: admin/views/metaboxes/metabox-links.php:6
|
||||
msgid "I develop WordPress plugins and themes."
|
||||
msgstr "Programiram WordPress dodatke i teme."
|
||||
|
||||
#: admin/views/metaboxes/metabox-links.php:7
|
||||
#, php-format
|
||||
msgid ""
|
||||
"Take a look at my <a href=\"%s\">site</a> to see my other plugins or hire "
|
||||
"me. Subscribe to get updates!"
|
||||
msgstr ""
|
||||
"Pogledajte moj <a href=\"%s\">site</a> da biste videli ostale moje dodatke "
|
||||
"ili da biste me angažovali. Pretplatite se da biste dobijali aržuriranja!"
|
||||
|
||||
#: admin/views/metaboxes/metabox-links.php:8
|
||||
msgid "Other plugins I built:"
|
||||
msgstr "Ostali dodaci koje sam napravio:"
|
||||
|
||||
#: admin/views/metaboxes/metabox-links.php:10
|
||||
msgid "Install multiple plugins and create collections"
|
||||
msgstr "Instaliraj višestruke dodatke i kreiraj zbirke"
|
||||
|
||||
#: admin/views/metaboxes/metabox-links.php:11
|
||||
msgid "Geotarget your content"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-links.php:12
|
||||
msgid "Invite your network friends and import contacts"
|
||||
msgstr "Pozovite svoje prijatelje sa mreže i uvezite kontakte"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:9
|
||||
msgid "Box Position"
|
||||
msgstr "Pozicija okvira"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:12
|
||||
msgid "Centered"
|
||||
msgstr "U sredini"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:13
|
||||
msgid "Top Left"
|
||||
msgstr "Gore levo"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:14
|
||||
msgid "Top Right"
|
||||
msgstr "Gore desno"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:15
|
||||
msgid "Bottom Left"
|
||||
msgstr "Dole levo"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:16
|
||||
msgid "Bottom Right"
|
||||
msgstr "Dole desno"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:23
|
||||
msgid "Trigger action"
|
||||
msgstr "Pokreni aktivnost"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:27
|
||||
msgid "seconds after page load"
|
||||
msgstr "sekundi nakon učitavanja stranice"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:28
|
||||
msgid "of page height"
|
||||
msgstr "ili visina stranice"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:38
|
||||
msgid "Auto-hide?"
|
||||
msgstr "Automatski sakrij?"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:40
|
||||
#: admin/views/metaboxes/metabox-options.php:68
|
||||
#: admin/views/metaboxes/metabox-options.php:76
|
||||
#: admin/views/metaboxes/metabox-options.php:84
|
||||
msgid "Yes"
|
||||
msgstr "Da"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:41
|
||||
#: admin/views/metaboxes/metabox-options.php:69
|
||||
#: admin/views/metaboxes/metabox-options.php:77
|
||||
#: admin/views/metaboxes/metabox-options.php:85
|
||||
msgid "No"
|
||||
msgstr "Ne"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:42
|
||||
msgid ""
|
||||
"Hide box again when visitors scroll back up? Only works when Trigger action "
|
||||
"is set to % of page height"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:46
|
||||
msgid "Animation"
|
||||
msgstr "Animacija"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:49
|
||||
msgid "Fade In"
|
||||
msgstr "Bledi"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:50
|
||||
msgid "Slide In"
|
||||
msgstr "Kliza"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:53
|
||||
msgid "Slide will only apply when popup is on the corners"
|
||||
msgstr "Klizanje će funkcionisati samo kad je iskačući prozor u ćoškovima"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:58
|
||||
msgid "Cookie expiration days"
|
||||
msgstr "Rok trajanja kolačića"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:61
|
||||
msgid "After closing the box, how many days should it stay hidden?"
|
||||
msgstr "Koliko dana okvir treba da ostane sakriven nakon zatvaranja?"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:66
|
||||
msgid "Enable test mode?"
|
||||
msgstr "Aktiviraj režim testa?"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:70
|
||||
msgid ""
|
||||
"If test mode is enabled, the box will show up regardless of whether a cookie "
|
||||
"has been set. (To admins only)"
|
||||
msgstr ""
|
||||
"Ako je aktiviran režim testa, okvir će se prikazati bez obzira na "
|
||||
"podešavanje kolačića (samo administratorima)."
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:74
|
||||
msgid "Close on conversion?"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:78
|
||||
msgid ""
|
||||
"If you have a form or social shortcode, by default popup will close on "
|
||||
"submission/conversion"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:82
|
||||
msgid "Show powered by link?"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:86
|
||||
#, php-format
|
||||
msgid ""
|
||||
"Shows a \"powered by\" link below your popup. If your affiliate link is set "
|
||||
"in the <a href=\"%s\">settings</a>, it will be used."
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:91
|
||||
msgid "Appearance"
|
||||
msgstr "Izgled"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:95
|
||||
msgid "Background opacity"
|
||||
msgstr "Neprozirnost pozadine"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:98
|
||||
msgid "Leave at 0 for no background. Max value is 1"
|
||||
msgstr "Ostavite na 0 ako ne želite pozadinu. Maksimalna vrednost je 1."
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:104
|
||||
msgid "Background color"
|
||||
msgstr "Boja pozadine"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:108
|
||||
msgid "Text color"
|
||||
msgstr "Boja teksta"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:112
|
||||
msgid "Box width"
|
||||
msgstr "Širina okvira"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:118
|
||||
msgid "Border color"
|
||||
msgstr "Boja ivice"
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:122
|
||||
msgid "Border width"
|
||||
msgstr "Širina ivice"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:16
|
||||
msgid ""
|
||||
"Take the best WordPress Popups plugin to the next level with Popups Premium "
|
||||
"extension."
|
||||
msgstr ""
|
||||
"Podignite najbolji WordPress Popups plugin na viši nivo Popups Premium "
|
||||
"ekstenzijom"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:17
|
||||
msgid "Popups Premium Features:"
|
||||
msgstr "Popups Premium funkcionalnosti:"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:19
|
||||
msgid "Beautiful optin forms for popular mail providers"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:20
|
||||
msgid "Currently supporting MailChimp, Aweber, Postmatic, Mailpoet"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:21
|
||||
msgid ""
|
||||
"Track impressions and Conversions of social likes and forms submissions like "
|
||||
"Contact Form 7, Gravity forms, etc"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:22
|
||||
msgid "Track impressions and Conversions also in Google Analytics"
|
||||
msgstr "Praćenje utisaka i konverzija u Google analitici"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:23
|
||||
#: admin/views/metaboxes/metabox-premium.php:25
|
||||
msgid "Exit Intent technology"
|
||||
msgstr "Exit Intent tehnologija"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:24
|
||||
msgid "8 New animations effects"
|
||||
msgstr "8 novih efekata animacije"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:26
|
||||
msgid "New trigger methods"
|
||||
msgstr "Nove metode okidača"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:27
|
||||
msgid "Timer for auto closing"
|
||||
msgstr "Vremensko podešavanje automatskog zatvaranja"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:28
|
||||
msgid "Ability to disable close button"
|
||||
msgstr "Mogućnost deaktiviranja tastera za zatvaranje"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:29
|
||||
msgid ""
|
||||
"Ability to disable Advanced close methods like esc or clicking outside of "
|
||||
"the popup"
|
||||
msgstr ""
|
||||
"Mogućnost deaktiviranja naprednih metoda zatvaranja kao što su esc ili klik "
|
||||
"izvan iskačućeg prozora"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:30
|
||||
msgid "Premium support"
|
||||
msgstr "Premium podrška"
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:34
|
||||
msgid "Buy Now!"
|
||||
msgstr "Kupite sada!"
|
||||
|
||||
#: admin/views/metaboxes/metabox-rules.php:19
|
||||
msgid "Rules"
|
||||
msgstr "Pravila"
|
||||
|
||||
#: admin/views/metaboxes/metabox-rules.php:20
|
||||
msgid "Create a set of rules to determine where the popup will show"
|
||||
msgstr ""
|
||||
"Kreirajte skup pravila da biste odredili gde će se pojaviti iskačući prozor"
|
||||
|
||||
#: admin/views/metaboxes/metabox-rules.php:31
|
||||
msgid "Show this popup if"
|
||||
msgstr "Prikaži ovaj iskačući prozor ako"
|
||||
|
||||
#: admin/views/metaboxes/metabox-rules.php:61
|
||||
msgid "is equal to"
|
||||
msgstr "jednak je"
|
||||
|
||||
#: admin/views/metaboxes/metabox-rules.php:62
|
||||
msgid "is not equal to"
|
||||
msgstr "nije jednak"
|
||||
|
||||
#: admin/views/metaboxes/metabox-rules.php:93
|
||||
msgid "and"
|
||||
msgstr "i"
|
||||
|
||||
#: admin/views/metaboxes/metabox-rules.php:108
|
||||
msgid "Add rule group"
|
||||
msgstr "Dodaj pravilo za grupu"
|
||||
|
||||
#: admin/views/metaboxes/metabox-support.php:6
|
||||
#, php-format
|
||||
msgid "You are using Popups plugin v%s"
|
||||
msgstr "Koristite Popups plugin v%s"
|
||||
|
||||
#: admin/views/metaboxes/metabox-support.php:7
|
||||
#, php-format
|
||||
msgid ""
|
||||
"If you need support please go to the WordPress.org <a href=\"%s\">support "
|
||||
"forums</a>"
|
||||
msgstr ""
|
||||
"Ako vam je potrebna podrška, idite na WordPress.org <a href=\"%s\">forume za "
|
||||
"podršku</a>"
|
||||
|
||||
#: admin/views/settings-page.php:17
|
||||
msgid "Affiliate link"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/settings-page.php:20
|
||||
#, php-format
|
||||
msgid ""
|
||||
"You can earn money by promoting the plugin! Join <a href=\"%s\">our "
|
||||
"affiliate program</a> and paste your affiliate link here to earn 35% in "
|
||||
"commissions . Once entered, it will replace the default \"Powered by\" on "
|
||||
"the popups."
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/settings-page.php:24
|
||||
msgid "Ajax mode?"
|
||||
msgstr "Ajax režim?"
|
||||
|
||||
#: admin/views/settings-page.php:27
|
||||
msgid ""
|
||||
"Load popups using ajax. Compatible with cache plugins, but might not work "
|
||||
"with all plugins"
|
||||
msgstr ""
|
||||
"Koristi Ajax za učitavanje iskačućih prozora. Kompatibilan je sa keš "
|
||||
"dodacima, ali možda neće raditi sa svim dodacima."
|
||||
|
||||
#: admin/views/settings-page.php:32
|
||||
msgid "Enable Debug mode?"
|
||||
msgstr "Aktiviraj režim za otklanjanje grešaka?"
|
||||
|
||||
#: admin/views/settings-page.php:35
|
||||
msgid "Will use uncompressed js"
|
||||
msgstr "Koristiće nekompresovan js"
|
||||
|
||||
#: admin/views/settings-page.php:40
|
||||
msgid "Enable safe mode?"
|
||||
msgstr "Aktiviraj bezbedni režim?"
|
||||
|
||||
#: admin/views/settings-page.php:43
|
||||
msgid "Will move all popups to top of the screen."
|
||||
msgstr "Pomeriće sve iskačuće prozore na vrh ekrana"
|
||||
|
||||
#: admin/views/settings-page.php:48
|
||||
msgid "Remove shortcodes style"
|
||||
msgstr "Ukloni shortcode stilove"
|
||||
|
||||
#: admin/views/settings-page.php:51
|
||||
msgid ""
|
||||
"By default the plugin will apply some style to shortcodes. Check here if you "
|
||||
"want to manually style them"
|
||||
msgstr ""
|
||||
"Po standardu, plugin će primeniti neki stil na shortcode-ove. Štiklirajte "
|
||||
"ovde ako želite da ih manuelno stilizujete "
|
||||
|
||||
#: admin/views/settings-page.php:56
|
||||
msgid "Unload Facebook javascript"
|
||||
msgstr "Ne učitavaj Facebook javascript"
|
||||
|
||||
#: admin/views/settings-page.php:59
|
||||
msgid "If you use your own Facebook script, check this"
|
||||
msgstr "Štiklirajte ovo ako koristite svoj Facebook script, proverite ovo"
|
||||
|
||||
#: admin/views/settings-page.php:64
|
||||
msgid "Unload Google javascript"
|
||||
msgstr "Ne učitavaj Google javascript"
|
||||
|
||||
#: admin/views/settings-page.php:67
|
||||
msgid "If you use your own Google script, check this"
|
||||
msgstr "Štiklirajte ovo ako koristite svoj Google script"
|
||||
|
||||
#: admin/views/settings-page.php:72
|
||||
msgid "Unload Twitter javascript"
|
||||
msgstr "Ne učitavaj Twitter javascript"
|
||||
|
||||
#: admin/views/settings-page.php:75
|
||||
msgid "If you use your own Twitter script, check this"
|
||||
msgstr "Ne učitavaj Twitter javascript"
|
||||
|
||||
#: admin/views/settings-page.php:80
|
||||
msgid "Save settings"
|
||||
msgstr "Sačuvaj podešavanja"
|
||||
|
||||
#: includes/class-spu-helper.php:133
|
||||
msgid "All Pages"
|
||||
msgstr "Sve stranice"
|
||||
|
||||
#: includes/class-spu-helper.php:134
|
||||
msgid "Front Page"
|
||||
msgstr "Prva stranica"
|
||||
|
||||
#: includes/class-spu-helper.php:135
|
||||
msgid "Posts Page"
|
||||
msgstr "Postovi na stranici"
|
||||
|
||||
#: includes/class-spu-helper.php:136
|
||||
msgid "Category Page"
|
||||
msgstr ""
|
||||
|
||||
#: includes/class-spu-helper.php:137
|
||||
msgid "Archives Page"
|
||||
msgstr ""
|
||||
|
||||
#: includes/class-spu-helper.php:138
|
||||
msgid "Top Level Page (parent of 0)"
|
||||
msgstr "Stranica vrhunskog nivoa (nadređena 0)"
|
||||
|
||||
#: includes/class-spu-helper.php:139
|
||||
msgid "Parent Page (has children)"
|
||||
msgstr "Nadređena stranica (ima podređene)"
|
||||
|
||||
#: includes/class-spu-helper.php:140
|
||||
msgid "Child Page (has parent)"
|
||||
msgstr "Podređena stranica (ima nadređene)"
|
||||
|
||||
#: includes/class-spu-helper.php:148
|
||||
msgid "Default Template"
|
||||
msgstr "Podređena stranica (ima nadređene)"
|
||||
|
||||
#: includes/class-spu-helper.php:221
|
||||
msgid "Publish"
|
||||
msgstr "Podrazumevani šablon"
|
||||
|
||||
#: includes/class-spu-helper.php:222
|
||||
msgid "Pending Review"
|
||||
msgstr "Objavi"
|
||||
|
||||
#: includes/class-spu-helper.php:223
|
||||
msgid "Draft"
|
||||
msgstr "Skica"
|
||||
|
||||
#: includes/class-spu-helper.php:224
|
||||
msgid "Future"
|
||||
msgstr "Buduci"
|
||||
|
||||
#: includes/class-spu-helper.php:225
|
||||
msgid "Private"
|
||||
msgstr "Privatni"
|
||||
|
||||
#: includes/class-spu-helper.php:226
|
||||
msgid "Revision"
|
||||
msgstr "Revizija"
|
||||
|
||||
#: includes/class-spu-helper.php:227
|
||||
msgid "Trash"
|
||||
msgstr "Korpa za otpatke"
|
||||
|
||||
#: includes/class-spu-helper.php:240
|
||||
msgid "Super Admin"
|
||||
msgstr "Super Admin"
|
||||
|
||||
#: includes/class-spu-helper.php:260
|
||||
msgid "True"
|
||||
msgstr "Super Admin"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "Hide box again when visitors scroll back up? Only works when Trigger "
|
||||
#~ "action is set to % of page height"
|
||||
#~ msgstr ""
|
||||
#~ "Ponovo sakrij okvir kad se posetioci vrate na početak? Radi samo kad je "
|
||||
#~ "okidač aktivnosti podešen na % visinu stranice"
|
||||
|
||||
#~ msgctxt "post type general name"
|
||||
#~ msgid "Popups v"
|
||||
#~ msgstr "Popups v [opšti naziv vrste posta]"
|
||||
|
||||
#~ msgid "What's new"
|
||||
#~ msgstr "Šta ima novo"
|
||||
|
||||
#~ msgid "Like Facebook like box but for Twitter"
|
||||
#~ msgstr "Kao Facebook taster ‘sviđa mi se’, samo za Twiter"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "Track impressions and Conversions of social likes/follow and forms "
|
||||
#~ "submissions like Contact Form 7, Gravity forms, etc"
|
||||
#~ msgstr ""
|
||||
#~ "Praćenje utisaka, konverzija opcija ‘sviđa mi se’ i ‘prati me’ na "
|
||||
#~ "društvenim mrežama, kao i podnošenje obrazaca, kao što je Obrazac "
|
||||
#~ "kontakta br 7, obrazaca gravitacije itd."
|
||||
BIN
wp-content/plugins/popups/languages/popups.mo
Normal file
BIN
wp-content/plugins/popups/languages/popups.mo
Normal file
Binary file not shown.
823
wp-content/plugins/popups/languages/popups.pot
Normal file
823
wp-content/plugins/popups/languages/popups.pot
Normal file
@@ -0,0 +1,823 @@
|
||||
# Copyright (C) 2013 TODO
|
||||
# This file is distributed under the same license as the TODO package.
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Popups\n"
|
||||
"Report-Msgid-Bugs-To: http://wordpress.org/plugins/plugin-name\n"
|
||||
"POT-Creation-Date: 2016-02-04 13:02+0100\n"
|
||||
"PO-Revision-Date: 2015-06-14 00:02-0300\n"
|
||||
"Last-Translator: Damian Logghe <info@timersys.com>\n"
|
||||
"Language-Team: Timersys <info@timersys.com>\n"
|
||||
"Language: en_EN\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Poedit 1.8.5\n"
|
||||
"X-Poedit-KeywordsList: __;_e;_n;_x;esc_html_e;esc_html__;esc_attr_e;"
|
||||
"esc_attr__;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_x:1,2c;_n:1,2\n"
|
||||
"X-Poedit-Basepath: ..\n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Poedit-SearchPath-0: .\n"
|
||||
|
||||
#: admin/class-social-popup-admin.php:159
|
||||
msgctxt "post type singular name"
|
||||
msgid "Popups"
|
||||
msgstr ""
|
||||
|
||||
#: admin/class-social-popup-admin.php:160
|
||||
msgctxt "admin menu"
|
||||
msgid "Popups"
|
||||
msgstr ""
|
||||
|
||||
#: admin/class-social-popup-admin.php:161
|
||||
msgctxt "add new on admin bar"
|
||||
msgid "Popups"
|
||||
msgstr ""
|
||||
|
||||
#: admin/class-social-popup-admin.php:162
|
||||
msgctxt "Popups"
|
||||
msgid "Add New"
|
||||
msgstr ""
|
||||
|
||||
#: admin/class-social-popup-admin.php:163
|
||||
msgid "Add New Popups"
|
||||
msgstr ""
|
||||
|
||||
#: admin/class-social-popup-admin.php:164
|
||||
msgid "New Popups"
|
||||
msgstr ""
|
||||
|
||||
#: admin/class-social-popup-admin.php:165
|
||||
msgid "Edit Popups"
|
||||
msgstr ""
|
||||
|
||||
#: admin/class-social-popup-admin.php:166
|
||||
msgid "View Popups"
|
||||
msgstr ""
|
||||
|
||||
#: admin/class-social-popup-admin.php:167
|
||||
msgid "All Popups"
|
||||
msgstr ""
|
||||
|
||||
#: admin/class-social-popup-admin.php:168
|
||||
msgid "Search Popups"
|
||||
msgstr ""
|
||||
|
||||
#: admin/class-social-popup-admin.php:169
|
||||
msgid "Parent Popups:"
|
||||
msgstr ""
|
||||
|
||||
#: admin/class-social-popup-admin.php:170
|
||||
msgid "No Popups found."
|
||||
msgstr ""
|
||||
|
||||
#: admin/class-social-popup-admin.php:171
|
||||
msgid "No Popups found in Trash."
|
||||
msgstr ""
|
||||
|
||||
#: admin/class-social-popup-admin.php:212
|
||||
msgid "Settings"
|
||||
msgstr ""
|
||||
|
||||
#: admin/class-social-popup-admin.php:260
|
||||
msgid "Popups Premium"
|
||||
msgstr ""
|
||||
|
||||
#: admin/class-social-popup-admin.php:271
|
||||
msgid "PopUp Shortcodes"
|
||||
msgstr ""
|
||||
|
||||
#: admin/class-social-popup-admin.php:280
|
||||
msgid "PopUp Appearance"
|
||||
msgstr ""
|
||||
|
||||
#: admin/class-social-popup-admin.php:289
|
||||
msgid "PopUp Display Rules"
|
||||
msgstr ""
|
||||
|
||||
#: admin/class-social-popup-admin.php:298
|
||||
msgid "Display Options"
|
||||
msgstr ""
|
||||
|
||||
#: admin/class-social-popup-admin.php:307
|
||||
msgid "Need support?"
|
||||
msgstr ""
|
||||
|
||||
#: admin/class-social-popup-admin.php:315
|
||||
msgid "Donate & support"
|
||||
msgstr ""
|
||||
|
||||
#: admin/class-social-popup-admin.php:323
|
||||
msgid "About the developer"
|
||||
msgstr ""
|
||||
|
||||
#: admin/class-social-popup-admin.php:589
|
||||
#: admin/views/metaboxes/metabox-rules.php:33
|
||||
#: admin/views/metaboxes/metabox-rules.php:106
|
||||
msgid "or"
|
||||
msgstr ""
|
||||
|
||||
#: admin/class-social-popup-admin.php:616
|
||||
msgid "Add a Popup"
|
||||
msgstr ""
|
||||
|
||||
#: admin/class-social-popup-admin.php:740
|
||||
msgid "User"
|
||||
msgstr ""
|
||||
|
||||
#: admin/class-social-popup-admin.php:741
|
||||
msgid "User role"
|
||||
msgstr ""
|
||||
|
||||
#: admin/class-social-popup-admin.php:742
|
||||
msgid "User is logged"
|
||||
msgstr ""
|
||||
|
||||
#: admin/class-social-popup-admin.php:743
|
||||
msgid "User never left a comment"
|
||||
msgstr ""
|
||||
|
||||
#: admin/class-social-popup-admin.php:744
|
||||
msgid "User came via a search engine"
|
||||
msgstr ""
|
||||
|
||||
#: admin/class-social-popup-admin.php:745
|
||||
msgid "User did not arrive via another page on your site"
|
||||
msgstr ""
|
||||
|
||||
#: admin/class-social-popup-admin.php:747
|
||||
#: admin/class-social-popup-admin.php:748
|
||||
msgid "Post"
|
||||
msgstr ""
|
||||
|
||||
#: admin/class-social-popup-admin.php:749
|
||||
msgid "Post ID"
|
||||
msgstr ""
|
||||
|
||||
#: admin/class-social-popup-admin.php:750
|
||||
msgid "Post Type"
|
||||
msgstr ""
|
||||
|
||||
#: admin/class-social-popup-admin.php:751
|
||||
msgid "Post Category"
|
||||
msgstr ""
|
||||
|
||||
#: admin/class-social-popup-admin.php:752
|
||||
msgid "Post Format"
|
||||
msgstr ""
|
||||
|
||||
#: admin/class-social-popup-admin.php:753
|
||||
msgid "Post Status"
|
||||
msgstr ""
|
||||
|
||||
#: admin/class-social-popup-admin.php:754
|
||||
msgid "Post Taxonomy"
|
||||
msgstr ""
|
||||
|
||||
#: admin/class-social-popup-admin.php:756
|
||||
#: admin/class-social-popup-admin.php:757
|
||||
msgid "Page"
|
||||
msgstr ""
|
||||
|
||||
#: admin/class-social-popup-admin.php:758
|
||||
msgid "Page Type"
|
||||
msgstr ""
|
||||
|
||||
#: admin/class-social-popup-admin.php:759
|
||||
msgid "Page Parent"
|
||||
msgstr ""
|
||||
|
||||
#: admin/class-social-popup-admin.php:760
|
||||
msgid "Page Template"
|
||||
msgstr ""
|
||||
|
||||
#: admin/class-social-popup-admin.php:762
|
||||
msgid "Other"
|
||||
msgstr ""
|
||||
|
||||
#: admin/class-social-popup-admin.php:763
|
||||
msgid "Referrer"
|
||||
msgstr ""
|
||||
|
||||
#: admin/class-social-popup-admin.php:764
|
||||
msgid "Mobile Phone"
|
||||
msgstr ""
|
||||
|
||||
#: admin/class-social-popup-admin.php:765
|
||||
msgid "Tablet"
|
||||
msgstr ""
|
||||
|
||||
#: admin/class-social-popup-admin.php:813
|
||||
msgid "ID"
|
||||
msgstr ""
|
||||
|
||||
#: admin/includes/class-spu-notices.php:30
|
||||
#, php-format
|
||||
msgid ""
|
||||
"We noticed that you have been using our plugin for a while and we would like "
|
||||
"to ask you a little favour. If you are happy with it and can take a minute "
|
||||
"please <a href=\"%s\" target=\"_blank\">leave a nice review</a> on "
|
||||
"WordPress. It will be a tremendous help for us!"
|
||||
msgstr ""
|
||||
|
||||
#: admin/includes/class-spu-notices.php:32
|
||||
#, php-format
|
||||
msgid "<a href=\"%s\" target=\"_blank\">Leave a nice review</a>"
|
||||
msgstr ""
|
||||
|
||||
#: admin/includes/class-spu-notices.php:33
|
||||
#, php-format
|
||||
msgid "<a href=\"%s\">No, thanks</a>"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-appearance.php:10
|
||||
msgid "Background opacity"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-appearance.php:12
|
||||
msgid "Leave at 0 for no background. Max value is 1"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-appearance.php:18
|
||||
msgid "Background color"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-appearance.php:22
|
||||
msgid "Text color"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-appearance.php:26
|
||||
msgid "Box width"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-appearance.php:32
|
||||
msgid "Border color"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-appearance.php:36
|
||||
msgid "Border width"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-donate.php:6
|
||||
msgid "If you like this plugin, consider supporting it by donating."
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-donate.php:8
|
||||
msgid "Donate with PayPal"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-donate.php:10
|
||||
msgid "Some other ways to support this plugin"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-donate.php:12
|
||||
msgid "Leave a ★★★★★ review on WordPress.org"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-donate.php:13
|
||||
msgid "Write about Popups on your blog"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-donate.php:14
|
||||
msgid "Tweet about Popups"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-donate.php:15
|
||||
msgid "Vote \"works\" on the WordPress.org plugin page"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:6
|
||||
msgid ""
|
||||
"You have some social shortcodes to use that will print a Facebook like, a "
|
||||
"Google+ Follow and a Twitter follow. Check the available options and "
|
||||
"<strong>configure them with your social accounts</strong>:"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:8
|
||||
msgid "Facebook Page"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:12
|
||||
msgid "View Facebook Page Options"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:14
|
||||
#: admin/views/metaboxes/metabox-help.php:27
|
||||
msgid "Your Facebook page url"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:15
|
||||
msgid "Your page name"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:16
|
||||
msgid "true|false <b>Default value:</b> true"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:17
|
||||
msgid "true|false <b>Default value:</b> false"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:18
|
||||
msgid "number <b>Default value:</b> 500"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:21
|
||||
msgid "Facebook Button"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:25
|
||||
msgid "View Facebook Options"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:28
|
||||
msgid "standard, box_count, button <b>Default value:</b> button_count"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:29
|
||||
#: admin/views/metaboxes/metabox-help.php:30
|
||||
msgid "true <b>Default value:</b> false"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:31
|
||||
msgid "recommend <b>Default value:</b> like"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:32
|
||||
msgid "number <b>Default value:</b>"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:34
|
||||
msgid "Google+ Button"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:38
|
||||
msgid "View Google+ Options"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:40
|
||||
msgid "Your Google+ url"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:41
|
||||
msgid "small, standard, tall <b>Default value:</b> medium"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:42
|
||||
msgid "inline, none <b>Default value:</b> bubble"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:44
|
||||
msgid "Twitter Button"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:48
|
||||
msgid "View Twitter Options"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:50
|
||||
msgid "Your Twitter user <b>Default chifliiiii</b>"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:51
|
||||
msgid "false <b>Default value:</b> true"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:52
|
||||
msgid "large <b>Default value:</b> \"\""
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:55
|
||||
msgid "Other available Shortcodes:"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:56
|
||||
msgid "Close Button"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:60
|
||||
msgid "View Close shortcode Options"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:62
|
||||
msgid "Pass a custom class to style your button"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:63
|
||||
msgid "Button label - <b>Default value:</b> Close"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-help.php:64
|
||||
msgid "left, right, center, none - <b>Default value:</b> center"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-links.php:6
|
||||
msgid "My name is"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-links.php:6
|
||||
msgid "I develop WordPress plugins and themes."
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-links.php:7
|
||||
#, php-format
|
||||
msgid ""
|
||||
"Take a look at my <a href=\"%s\">site</a> to see my other plugins or hire "
|
||||
"me. Subscribe to get updates!"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-links.php:8
|
||||
msgid "Other plugins I built:"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-links.php:10
|
||||
msgid "Install multiple plugins and create collections"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-links.php:11
|
||||
msgid "Geotarget your content"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-links.php:12
|
||||
msgid "Invite your network friends and import contacts"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:9
|
||||
msgid "Box Position"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:12
|
||||
msgid "Centered"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:13
|
||||
msgid "Top Left"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:14
|
||||
msgid "Top Right"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:15
|
||||
msgid "Bottom Left"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:16
|
||||
msgid "Bottom Right"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:23
|
||||
msgid "Trigger action"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:27
|
||||
msgid "seconds after page load"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:28
|
||||
msgid "of page height"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:38
|
||||
msgid "Auto-hide?"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:40
|
||||
#: admin/views/metaboxes/metabox-options.php:68
|
||||
#: admin/views/metaboxes/metabox-options.php:76
|
||||
#: admin/views/metaboxes/metabox-options.php:84
|
||||
msgid "Yes"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:41
|
||||
#: admin/views/metaboxes/metabox-options.php:69
|
||||
#: admin/views/metaboxes/metabox-options.php:77
|
||||
#: admin/views/metaboxes/metabox-options.php:85
|
||||
msgid "No"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:42
|
||||
msgid "Hide box again when visitors scroll back up?"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:46
|
||||
msgid "Animation"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:49
|
||||
msgid "Fade In"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:50
|
||||
msgid "Slide In"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:53
|
||||
msgid "Slide will only apply when popup is on the corners"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:58
|
||||
msgid "Cookie expiration days"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:61
|
||||
msgid "After closing the box, how many days should it stay hidden?"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:66
|
||||
msgid "Enable test mode?"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:70
|
||||
msgid ""
|
||||
"If test mode is enabled, the box will show up regardless of whether a cookie "
|
||||
"has been set. (To admins only)"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:74
|
||||
msgid "Close on conversion?"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:78
|
||||
msgid ""
|
||||
"If you have a form or social shortcode, by default popup will close on "
|
||||
"submission/conversion"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:82
|
||||
msgid "Show powered by link?"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-options.php:86
|
||||
#, php-format
|
||||
msgid ""
|
||||
"Shows a \"powered by\" link below your popup. If your affiliate link is set "
|
||||
"in the <a href=\"%s\">settings</a>, it will be used."
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:16
|
||||
msgid ""
|
||||
"Take the best WordPress Popups plugin to the next level with Popups Premium "
|
||||
"extension."
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:17
|
||||
msgid "Popups Premium Features:"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:19
|
||||
msgid "Beautiful optin forms for popular mail providers"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:20
|
||||
msgid "Currently supporting MailChimp, Aweber, Postmatic, Mailpoet"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:21
|
||||
msgid ""
|
||||
"Track impressions and Conversions of social likes and forms submissions like "
|
||||
"Contact Form 7, Gravity forms, etc"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:22
|
||||
msgid "Track impressions and Conversions also in Google Analytics"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:23
|
||||
#: admin/views/metaboxes/metabox-premium.php:25
|
||||
msgid "Exit Intent technology"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:24
|
||||
msgid "8 New animations effects"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:26
|
||||
msgid "New trigger methods"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:27
|
||||
msgid "Timer for auto closing"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:28
|
||||
msgid "Ability to disable close button"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:29
|
||||
msgid ""
|
||||
"Ability to disable Advanced close methods like esc or clicking outside of "
|
||||
"the popup"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:30
|
||||
msgid "Premium support"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-premium.php:34
|
||||
msgid "Buy Now!"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-rules.php:19
|
||||
msgid "Rules"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-rules.php:20
|
||||
msgid "Create a set of rules to determine where the popup will show"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-rules.php:31
|
||||
msgid "Show this popup if"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-rules.php:61
|
||||
msgid "is equal to"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-rules.php:62
|
||||
msgid "is not equal to"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-rules.php:93
|
||||
msgid "and"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-rules.php:108
|
||||
msgid "Add rule group"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-support.php:6
|
||||
#, php-format
|
||||
msgid "You are using Popups plugin v%s"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/metaboxes/metabox-support.php:7
|
||||
#, php-format
|
||||
msgid ""
|
||||
"If you need support please go to the WordPress.org <a href=\"%s\">support "
|
||||
"forums</a>"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/settings-page.php:17
|
||||
msgid "Affiliate link"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/settings-page.php:20
|
||||
#, php-format
|
||||
msgid ""
|
||||
"You can earn money by promoting the plugin! Join <a href=\"%s\">our "
|
||||
"affiliate program</a> and paste your affiliate link here to earn 35% in "
|
||||
"commissions . Once entered, it will replace the default \"Powered by\" on "
|
||||
"the popups."
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/settings-page.php:24
|
||||
msgid "Ajax mode?"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/settings-page.php:27
|
||||
msgid ""
|
||||
"Load popups using ajax. Compatible with cache plugins, but might not work "
|
||||
"with all plugins"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/settings-page.php:32
|
||||
msgid "Enable Debug mode?"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/settings-page.php:35
|
||||
msgid "Will use uncompressed js"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/settings-page.php:40
|
||||
msgid "Enable safe mode?"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/settings-page.php:43
|
||||
msgid "Will move all popups to top of the screen."
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/settings-page.php:48
|
||||
msgid "Remove shortcodes style"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/settings-page.php:51
|
||||
msgid ""
|
||||
"By default the plugin will apply some style to shortcodes. Check here if you "
|
||||
"want to manually style them"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/settings-page.php:56
|
||||
msgid "Unload Facebook javascript"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/settings-page.php:59
|
||||
msgid "If you use your own Facebook script, check this"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/settings-page.php:64
|
||||
msgid "Unload Google javascript"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/settings-page.php:67
|
||||
msgid "If you use your own Google script, check this"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/settings-page.php:72
|
||||
msgid "Unload Twitter javascript"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/settings-page.php:75
|
||||
msgid "If you use your own Twitter script, check this"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/settings-page.php:82
|
||||
msgid "Delete all data on Uninstall"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/settings-page.php:85
|
||||
msgid ""
|
||||
"When you uninstall the plugin all popups, settings and stats will be deleted "
|
||||
"from your db"
|
||||
msgstr ""
|
||||
|
||||
#: admin/views/settings-page.php:89
|
||||
msgid "Save settings"
|
||||
msgstr ""
|
||||
|
||||
#: includes/class-spu-helper.php:131
|
||||
msgid "All Pages"
|
||||
msgstr ""
|
||||
|
||||
#: includes/class-spu-helper.php:132
|
||||
msgid "Front Page"
|
||||
msgstr ""
|
||||
|
||||
#: includes/class-spu-helper.php:133
|
||||
msgid "Posts Page"
|
||||
msgstr ""
|
||||
|
||||
#: includes/class-spu-helper.php:134
|
||||
msgid "Category Page"
|
||||
msgstr ""
|
||||
|
||||
#: includes/class-spu-helper.php:135
|
||||
msgid "Search Page"
|
||||
msgstr ""
|
||||
|
||||
#: includes/class-spu-helper.php:136
|
||||
msgid "Archives Page"
|
||||
msgstr ""
|
||||
|
||||
#: includes/class-spu-helper.php:137
|
||||
msgid "Top Level Page (parent of 0)"
|
||||
msgstr ""
|
||||
|
||||
#: includes/class-spu-helper.php:138
|
||||
msgid "Parent Page (has children)"
|
||||
msgstr ""
|
||||
|
||||
#: includes/class-spu-helper.php:139
|
||||
msgid "Child Page (has parent)"
|
||||
msgstr ""
|
||||
|
||||
#: includes/class-spu-helper.php:147
|
||||
msgid "Default Template"
|
||||
msgstr ""
|
||||
|
||||
#: includes/class-spu-helper.php:220
|
||||
msgid "Publish"
|
||||
msgstr ""
|
||||
|
||||
#: includes/class-spu-helper.php:221
|
||||
msgid "Pending Review"
|
||||
msgstr ""
|
||||
|
||||
#: includes/class-spu-helper.php:222
|
||||
msgid "Draft"
|
||||
msgstr ""
|
||||
|
||||
#: includes/class-spu-helper.php:223
|
||||
msgid "Future"
|
||||
msgstr ""
|
||||
|
||||
#: includes/class-spu-helper.php:224
|
||||
msgid "Private"
|
||||
msgstr ""
|
||||
|
||||
#: includes/class-spu-helper.php:225
|
||||
msgid "Revision"
|
||||
msgstr ""
|
||||
|
||||
#: includes/class-spu-helper.php:226
|
||||
msgid "Trash"
|
||||
msgstr ""
|
||||
|
||||
#: includes/class-spu-helper.php:239
|
||||
msgid "Super Admin"
|
||||
msgstr ""
|
||||
|
||||
#: includes/class-spu-helper.php:259
|
||||
msgid "True"
|
||||
msgstr ""
|
||||
79
wp-content/plugins/popups/popups.php
Normal file
79
wp-content/plugins/popups/popups.php
Normal file
@@ -0,0 +1,79 @@
|
||||
<?php
|
||||
/**
|
||||
* Popups
|
||||
*
|
||||
* @package socialpopup
|
||||
* @author Damian Logghe <info@timersys.com>
|
||||
* @license GPL-2.0+
|
||||
* @link http://www.timersys.com/plugins-wordpress/social-popup/
|
||||
* @copyright 2014 Damian Logghe
|
||||
*
|
||||
* @socialpopup
|
||||
* Plugin Name: Popups - WordPress Popup
|
||||
* Plugin URI: http://www.timersys.com/free-plugins/social-popup/
|
||||
* Version: 1.9.3.8
|
||||
* Description: Most complete free Popups plugin, scroll triggered popups, compatible with social networks, Gravity Forms, Ninja Forms, Contact form 7, Mailpoet, Mailchimp for WP, Postmatic, etc
|
||||
* Author: timersys
|
||||
* Author URI: https://timersys.com
|
||||
* Text Domain: popups
|
||||
* License: GPL-2.0+
|
||||
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
|
||||
* Domain Path: /languages
|
||||
*/
|
||||
|
||||
// If this file is called directly, abort.
|
||||
if ( ! defined( 'WPINC' ) ) {
|
||||
die;
|
||||
}
|
||||
|
||||
/*----------------------------------------------------------------------------*
|
||||
* Public-Facing Functionality
|
||||
*----------------------------------------------------------------------------*/
|
||||
|
||||
define( 'SPU_VERSION' , '1.9.3.8' );
|
||||
define( 'SPU_PLUGIN_DIR' , plugin_dir_path(__FILE__) );
|
||||
define( 'SPU_PLUGIN_URL' , plugin_dir_url(__FILE__) );
|
||||
define( 'SPU_PLUGIN_HOOK' , basename( dirname( __FILE__ ) ) . '/' . basename( __FILE__ ) );
|
||||
|
||||
require_once( SPU_PLUGIN_DIR . 'admin/includes/class-spu-upgrader.php' );
|
||||
require_once( SPU_PLUGIN_DIR . 'public/class-social-popup.php' );
|
||||
// Include Helper class
|
||||
require_once( SPU_PLUGIN_DIR . 'includes/class-spu-helper.php' );
|
||||
// Dependencies
|
||||
require_once( SPU_PLUGIN_DIR . 'vendor/autoload.php' );
|
||||
|
||||
/*
|
||||
* Register hooks that are fired when the plugin is activated or deactivated.
|
||||
* When the plugin is deleted, the uninstall.php file is loaded.
|
||||
*/
|
||||
register_activation_hook( __FILE__, array( 'SocialPopup', 'activate' ) );
|
||||
register_deactivation_hook( __FILE__, array( 'SocialPopup', 'deactivate' ) );
|
||||
|
||||
/*
|
||||
* @TODO:
|
||||
*
|
||||
* - replace SocialPopup with the name of the class defined in
|
||||
* `class-plugin-name.php`
|
||||
*/
|
||||
add_action( 'plugins_loaded', array( 'SocialPopup', 'get_instance' ) );
|
||||
/*----------------------------------------------------------------------------*
|
||||
* Dashboard and Administrative Functionality
|
||||
*----------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
if ( is_admin() ) {
|
||||
|
||||
require_once( plugin_dir_path( __FILE__ ) . 'admin/class-social-popup-admin.php' );
|
||||
require_once( plugin_dir_path( __FILE__ ) . 'admin/includes/class-spu-notices.php' );
|
||||
|
||||
require_once( plugin_dir_path( __FILE__ ) . 'admin/includes/class-welcome.php' );
|
||||
$spu_notices = new SocialPopup_Notices();
|
||||
|
||||
add_action( 'plugins_loaded', array( 'SocialPopup_Admin', 'get_instance' ) );
|
||||
|
||||
if( get_option('spu_plugin_updated') && !get_option('spu_rate_plugin') )
|
||||
add_action( 'admin_notices', array( $spu_notices, 'rate_plugin') );
|
||||
|
||||
if( get_option('spu_pair_plugins') && !get_option('spu_pair_plugins_dismiss') )
|
||||
add_action( 'admin_notices', array( 'SocialPopup_Notices', 'pair_plugins') );
|
||||
}
|
||||
1
wp-content/plugins/popups/public/assets/css/index.php
Normal file
1
wp-content/plugins/popups/public/assets/css/index.php
Normal file
@@ -0,0 +1 @@
|
||||
<?php // Silence is golden
|
||||
280
wp-content/plugins/popups/public/assets/css/public.css
Normal file
280
wp-content/plugins/popups/public/assets/css/public.css
Normal file
@@ -0,0 +1,280 @@
|
||||
/* This stylesheet is used to style the public-facing components of the plugin. */
|
||||
html,
|
||||
body {
|
||||
min-height: 100% !important;
|
||||
height: auto !important;
|
||||
}
|
||||
.spu-box, .spu-box *{
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.spu-bg{
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
top: 0;
|
||||
left: 0;
|
||||
display: none;
|
||||
z-index: 99999;
|
||||
}
|
||||
.spu-box:before,
|
||||
.spu-box:after {
|
||||
content:"";
|
||||
display:table;
|
||||
}
|
||||
.spu-box:after {
|
||||
clear:both;
|
||||
}
|
||||
/* Triggers "haslayout" for IE6/7 */
|
||||
.spu-box {
|
||||
zoom:1;
|
||||
}
|
||||
.spu-box {
|
||||
position:fixed;
|
||||
z-index: 999999;
|
||||
margin: 10px;
|
||||
max-width: 100%;
|
||||
}
|
||||
.spu-box.spu-centered{
|
||||
margin: 0;
|
||||
}
|
||||
/** Some basic css for box content**/
|
||||
.spu-box img{
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
/** end basic style**/
|
||||
.spu-box.spu-top-left{
|
||||
top: 0; left: 0; bottom: auto; right: auto;
|
||||
}
|
||||
|
||||
.spu-box.spu-top-right{
|
||||
top: 0; right: 0; bottom: auto; left: auto;
|
||||
}
|
||||
|
||||
.spu-box.spu-bottom-left{
|
||||
bottom: 0; left: 0; top: auto; right: auto;
|
||||
}
|
||||
|
||||
.spu-box.spu-bottom-right{
|
||||
bottom: 0; right: 0; top: auto; left: auto;
|
||||
}
|
||||
|
||||
.spu-content > *:first-child {
|
||||
margin-top: 0; padding-top: 0;
|
||||
}
|
||||
|
||||
.spu-content > *:last-child {
|
||||
margin-bottom:0; padding-bottom:0;
|
||||
}
|
||||
|
||||
.spu-close{
|
||||
position:absolute;
|
||||
padding: 0;
|
||||
cursor: pointer;
|
||||
background: transparent;
|
||||
border: 0;
|
||||
-webkit-appearance: none;
|
||||
line-height: 1;
|
||||
}
|
||||
.spu-close.top_right{
|
||||
right:8px;
|
||||
top:5px;
|
||||
}
|
||||
.spu-close.top_left{
|
||||
left:8px;
|
||||
top:5px;
|
||||
}
|
||||
.spu-close.bottom_right{
|
||||
right:8px;
|
||||
bottom:5px;
|
||||
}
|
||||
.spu-close.bottom_left{
|
||||
left:8px;
|
||||
bottom:5px;
|
||||
}
|
||||
p.spu-powered {
|
||||
position: absolute;
|
||||
bottom: -55px;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
left: 0px;
|
||||
}
|
||||
p.spu-powered a{
|
||||
color: #ccc;
|
||||
text-decoration: underline;
|
||||
}
|
||||
.spu-close:hover, .spu-close:focus {
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
.spu-shortcode {
|
||||
float: left;
|
||||
line-height: normal !important;
|
||||
}
|
||||
.spu-facebook-page{
|
||||
text-align: center;
|
||||
display: block;
|
||||
}
|
||||
.spu-shortcode iframe{
|
||||
max-width: 1200px;
|
||||
}
|
||||
.spu_shortcodes{
|
||||
zoom: 1;
|
||||
}
|
||||
.spu-content .wysija-msg li{
|
||||
list-style: none;
|
||||
}
|
||||
.spu_shortcodes:before,
|
||||
.spu_shortcodes:after { content: ""; display: table; }
|
||||
.spu_shortcodes:after { clear: both; }
|
||||
|
||||
@font-face {
|
||||
font-family: 'spufont';
|
||||
src:url('../fonts/spufont.eot?sze5my');
|
||||
src:url('../fonts/spufont.eot?#iefixsze5my') format('embedded-opentype'),
|
||||
url('../fonts/spufont.woff?sze5my') format('woff'),
|
||||
url('../fonts/spufont.ttf?sze5my') format('truetype'),
|
||||
url('../fonts/spufont.svg?sze5my#spufont') format('svg');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
[class^="spu-icon-"], [class*=" spu-icon-"] {
|
||||
font-family: 'spufont';
|
||||
speak: none;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-variant: normal;
|
||||
text-transform: none;
|
||||
line-height: 1;
|
||||
|
||||
/* Better Font Rendering =========== */
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.spu-icon-envelope:before {
|
||||
content: "\f003";
|
||||
}
|
||||
|
||||
.spu-icon-check:before {
|
||||
content: "\f00c";
|
||||
}
|
||||
|
||||
.spu-icon-close:before {
|
||||
content: "\f00d";
|
||||
}
|
||||
|
||||
.spu-icon-eye:before {
|
||||
content: "\f06e";
|
||||
}
|
||||
|
||||
.spu-icon-gears:before {
|
||||
content: "\f085";
|
||||
}
|
||||
|
||||
.spu-icon-angle-up:before {
|
||||
content: "\f106";
|
||||
}
|
||||
|
||||
.spu-icon-angle-down:before {
|
||||
content: "\f107";
|
||||
}
|
||||
|
||||
.spu-icon-spinner:before {
|
||||
content: "\f110";
|
||||
}
|
||||
|
||||
.spu-spinner {
|
||||
-webkit-animation: spu-rotate 1s infinite linear;
|
||||
-moz-animation: spu-rotate 1s infinite linear;
|
||||
-o-animation: spu-rotate 1s infinite linear;
|
||||
margin: 5px;
|
||||
display: none;
|
||||
}
|
||||
/**
|
||||
* Top Bar position
|
||||
*/
|
||||
.spu-box.spu-top-bar,
|
||||
.spu-box.spu-bottom-bar{
|
||||
margin: 0;
|
||||
width: 100% !important;
|
||||
padding: 10px 30px !important;
|
||||
border-left: none !important;
|
||||
border-right: none !important;
|
||||
border-radius: 0;
|
||||
position: fixed;
|
||||
box-shadow: none;
|
||||
z-index: 1000;
|
||||
}
|
||||
.spu-box.spu-top-bar.with-spu-gdpr{
|
||||
padding-bottom: 40px !important;
|
||||
}
|
||||
.spu-box.spu-top-bar{
|
||||
top: 0;
|
||||
border-top: none !important;
|
||||
}
|
||||
.spu-box.spu-bottom-bar{
|
||||
bottom: 0;
|
||||
border-bottom: none !important;
|
||||
}
|
||||
.spu-box.spu-top-bar h1,
|
||||
.spu-box.spu-top-bar h2,
|
||||
.spu-box.spu-top-bar h3,
|
||||
.spu-box.spu-top-bar h4,
|
||||
.spu-box.spu-top-bar h5,
|
||||
.spu-box.spu-top-bar h6,
|
||||
.spu-box.spu-top-bar p,
|
||||
.spu-box.spu-bottom-bar h1,
|
||||
.spu-box.spu-bottom-bar h2,
|
||||
.spu-box.spu-bottom-bar h3,
|
||||
.spu-box.spu-bottom-bar h4,
|
||||
.spu-box.spu-bottom-bar h5,
|
||||
.spu-box.spu-bottom-bar h6,
|
||||
.spu-box.spu-bottom-bar p{
|
||||
margin: 0;
|
||||
}
|
||||
@keyframes spu-rotate {
|
||||
0% {
|
||||
transform: rotate(0);
|
||||
}
|
||||
100% {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
@-webkit-keyframes spu-rotate {
|
||||
0% {
|
||||
transform: rotate(0);
|
||||
}
|
||||
100% {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
@-moz-keyframes spu-rotate {
|
||||
0% {
|
||||
transform: rotate(0);
|
||||
}
|
||||
100% {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
@-o-keyframes spu-rotate {
|
||||
0% {
|
||||
transform: rotate(0);
|
||||
}
|
||||
100% {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
@media only screen and (max-width: 620px) {
|
||||
.spu-box.taller-than-viewport {
|
||||
left: 0 !important;
|
||||
top: 100px !important;
|
||||
position: absolute !important;
|
||||
}
|
||||
|
||||
.spu-box{
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
BIN
wp-content/plugins/popups/public/assets/fonts/spufont.eot
Normal file
BIN
wp-content/plugins/popups/public/assets/fonts/spufont.eot
Normal file
Binary file not shown.
22
wp-content/plugins/popups/public/assets/fonts/spufont.svg
Normal file
22
wp-content/plugins/popups/public/assets/fonts/spufont.svg
Normal file
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<metadata>Generated by IcoMoon</metadata>
|
||||
<defs>
|
||||
<font id="spufont" horiz-adv-x="1024">
|
||||
<font-face units-per-em="1024" ascent="960" descent="-64" />
|
||||
<missing-glyph horiz-adv-x="1024" />
|
||||
<glyph unicode=" " horiz-adv-x="512" d="" />
|
||||
<glyph unicode="" glyph-name="info" d="M448 656c0 26.4 21.6 48 48 48h32c26.4 0 48-21.6 48-48v-32c0-26.4-21.6-48-48-48h-32c-26.4 0-48 21.6-48 48v32zM640 192h-256v64h64v192h-64v64h192v-256h64zM512 960c-282.77 0-512-229.23-512-512s229.23-512 512-512 512 229.23 512 512-229.23 512-512 512zM512 32c-229.75 0-416 186.25-416 416s186.25 416 416 416 416-186.25 416-416-186.25-416-416-416z" />
|
||||
<glyph unicode="" glyph-name="envelope" d="M950.857 91.428v438.857q-18.286-20.571-39.429-37.714-153.143-117.714-243.429-193.143-29.143-24.571-47.429-38.286t-49.429-27.714-58.571-14h-1.143q-27.429 0-58.571 14t-49.429 27.714-47.429 38.286q-90.286 75.429-243.429 193.143-21.143 17.143-39.429 37.714v-438.857q0-7.429 5.429-12.857t12.857-5.429h841.143q7.429 0 12.857 5.429t5.429 12.857zM950.857 692v14t-0.286 7.429-1.714 7.143-3.143 5.143-5.143 4.286-8 1.429h-841.143q-7.429 0-12.857-5.429t-5.429-12.857q0-96 84-162.286 110.286-86.857 229.143-181.143 3.429-2.857 20-16.857t26.286-21.429 25.429-18 28.857-15.714 24.571-5.143h1.143q11.429 0 24.571 5.143t28.857 15.714 25.429 18 26.286 21.429 20 16.857q118.857 94.286 229.143 181.143 30.857 24.571 57.429 66t26.571 75.143zM1024 713.143v-621.714q0-37.714-26.857-64.571t-64.571-26.857h-841.143q-37.714 0-64.571 26.857t-26.857 64.571v621.714q0 37.714 26.857 64.571t64.571 26.857h841.143q37.714 0 64.571-26.857t26.857-64.571z" />
|
||||
<glyph unicode="" glyph-name="check" d="M954.857 627.428q0-22.857-16-38.857l-491.429-491.429q-16-16-38.857-16t-38.857 16l-284.571 284.571q-16 16-16 38.857t16 38.857l77.714 77.714q16 16 38.857 16t38.857-16l168-168.571 374.857 375.429q16 16 38.857 16t38.857-16l77.714-77.714q16-16 16-38.857z" />
|
||||
<glyph unicode="" glyph-name="close" horiz-adv-x="805" d="M741.714 195.428q0-22.857-16-38.857l-77.714-77.714q-16-16-38.857-16t-38.857 16l-168 168-168-168q-16-16-38.857-16t-38.857 16l-77.714 77.714q-16 16-16 38.857t16 38.857l168 168-168 168q-16 16-16 38.857t16 38.857l77.714 77.714q16 16 38.857 16t38.857-16l168-168 168 168q16 16 38.857 16t38.857-16l77.714-77.714q16-16 16-38.857t-16-38.857l-168-168 168-168q16-16 16-38.857z" />
|
||||
<glyph unicode="" glyph-name="eye" d="M950.857 402.286q-86.857 134.857-217.714 201.714 34.857-59.429 34.857-128.571 0-105.714-75.143-180.857t-180.857-75.143-180.857 75.143-75.143 180.857q0 69.143 34.857 128.571-130.857-66.857-217.714-201.714 76-117.143 190.571-186.571t248.286-69.429 248.286 69.429 190.571 186.571zM539.429 621.714q0 11.429-8 19.429t-19.429 8q-71.429 0-122.571-51.143t-51.143-122.571q0-11.429 8-19.429t19.429-8 19.429 8 8 19.429q0 49.143 34.857 84t84 34.857q11.429 0 19.429 8t8 19.429zM1024 402.286q0-19.429-11.429-39.429-80-131.429-215.143-210.571t-285.429-79.143-285.429 79.429-215.143 210.286q-11.429 20-11.429 39.429t11.429 39.429q80 130.857 215.143 210.286t285.429 79.429 285.429-79.429 215.143-210.286q11.429-20 11.429-39.429z" />
|
||||
<glyph unicode="" glyph-name="gears" horiz-adv-x="1097" d="M512 438.857q0 60.571-42.857 103.429t-103.429 42.857-103.429-42.857-42.857-103.429 42.857-103.429 103.429-42.857 103.429 42.857 42.857 103.429zM950.857 146.286q0 29.714-21.714 51.429t-51.429 21.714-51.429-21.714-21.714-51.429q0-30.286 21.429-51.714t51.714-21.429 51.714 21.429 21.429 51.714zM950.857 731.428q0 29.714-21.714 51.429t-51.429 21.714-51.429-21.714-21.714-51.429q0-30.286 21.429-51.714t51.714-21.429 51.714 21.429 21.429 51.714zM731.429 490.857v-105.714q0-5.714-4-11.143t-9.143-6l-88.571-13.714q-6.286-20-18.286-43.429 19.429-27.429 51.429-65.714 4-5.714 4-11.429 0-6.857-4-10.857-13.143-17.143-47.143-51.143t-44.857-34q-6.286 0-12 4l-65.714 51.429q-21.143-10.857-44-17.714-6.286-61.714-13.143-88.571-4-13.714-17.143-13.714h-106.286q-6.286 0-11.429 4.286t-5.714 10l-13.143 87.429q-19.429 5.714-42.857 17.714l-67.429-50.857q-4-4-11.429-4-6.286 0-12 4.571-82.286 76-82.286 91.429 0 5.143 4 10.857 5.714 8 23.429 30.286t26.857 34.857q-13.143 25.143-20 46.857l-86.857 13.714q-5.714 0.571-9.714 5.429t-4 11.143v105.714q0 5.714 4 11.143t9.143 6l88.571 13.714q6.286 20 18.286 43.429-19.429 27.429-51.429 65.714-4 6.286-4 11.429 0 6.857 4 11.429 12.571 17.143 46.857 50.857t45.143 33.714q6.286 0 12-4l65.714-51.429q19.429 10.286 44 18.286 6.286 61.714 13.143 88 4 13.714 17.143 13.714h106.286q6.286 0 11.429-4.286t5.714-10l13.143-87.429q19.429-5.714 42.857-17.714l67.429 50.857q4.571 4 11.429 4 6.286 0 12-4.571 82.286-76 82.286-91.429 0-5.143-4-10.857-6.857-9.143-24-30.857t-25.714-34.286q13.143-27.429 19.429-46.857l86.857-13.143q5.714-1.143 9.714-6t4-11.143zM1097.143 186.286v-80q0-9.143-85.143-17.714-6.857-15.429-17.143-29.714 29.143-64.571 29.143-78.857 0-2.286-2.286-4-69.714-40.571-70.857-40.571-4.571 0-26.286 26.857t-29.714 38.857q-11.429-1.143-17.143-1.143t-17.143 1.143q-8-12-29.714-38.857t-26.286-26.857q-1.143 0-70.857 40.571-2.286 1.714-2.286 4 0 14.286 29.143 78.857-10.286 14.286-17.143 29.714-85.143 8.571-85.143 17.714v80q0 9.143 85.143 17.714 7.429 16.571 17.143 29.714-29.143 64.571-29.143 78.857 0 2.286 2.286 4 2.286 1.143 20 11.429t33.714 19.429 17.143 9.143q4.571 0 26.286-26.571t29.714-38.571q11.429 1.143 17.143 1.143t17.143-1.143q29.143 40.571 52.571 64l3.429 1.143q2.286 0 70.857-40 2.286-1.714 2.286-4 0-14.286-29.143-78.857 9.714-13.143 17.143-29.714 85.143-8.571 85.143-17.714zM1097.143 771.428v-80q0-9.143-85.143-17.714-6.857-15.429-17.143-29.714 29.143-64.571 29.143-78.857 0-2.286-2.286-4-69.714-40.571-70.857-40.571-4.571 0-26.286 26.857t-29.714 38.857q-11.429-1.143-17.143-1.143t-17.143 1.143q-8-12-29.714-38.857t-26.286-26.857q-1.143 0-70.857 40.571-2.286 1.714-2.286 4 0 14.286 29.143 78.857-10.286 14.286-17.143 29.714-85.143 8.571-85.143 17.714v80q0 9.143 85.143 17.714 7.429 16.571 17.143 29.714-29.143 64.571-29.143 78.857 0 2.286 2.286 4 2.286 1.143 20 11.429t33.714 19.429 17.143 9.143q4.571 0 26.286-26.571t29.714-38.571q11.429 1.143 17.143 1.143t17.143-1.143q29.143 40.571 52.571 64l3.429 1.143q2.286 0 70.857-40 2.286-1.714 2.286-4 0-14.286-29.143-78.857 9.714-13.143 17.143-29.714 85.143-8.571 85.143-17.714z" />
|
||||
<glyph unicode="" glyph-name="magic" horiz-adv-x="951" d="M680 618.857l167.429 167.429-61.143 61.143-167.429-167.429zM935.429 786.286q0-15.429-10.286-25.714l-734.857-734.857q-10.286-10.286-25.714-10.286t-25.714 10.286l-113.143 113.143q-10.286 10.286-10.286 25.714t10.286 25.714l734.857 734.857q10.286 10.286 25.714 10.286t25.714-10.286l113.143-113.143q10.286-10.286 10.286-25.714zM163.429 894.857l56-17.143-56-17.143-17.143-56-17.143 56-56 17.143 56 17.143 17.143 56zM363.429 802.286l112-34.286-112-34.286-34.286-112-34.286 112-112 34.286 112 34.286 34.286 112zM894.857 529.143l56-17.143-56-17.143-17.143-56-17.143 56-56 17.143 56 17.143 17.143 56zM529.143 894.857l56-17.143-56-17.143-17.143-56-17.143 56-56 17.143 56 17.143 17.143 56z" />
|
||||
<glyph unicode="" glyph-name="angle-up" horiz-adv-x="658" d="M614.286 274.286q0-7.429-5.714-13.143l-28.571-28.571q-5.714-5.714-13.143-5.714t-13.143 5.714l-224.571 224.571-224.571-224.571q-5.714-5.714-13.143-5.714t-13.143 5.714l-28.571 28.571q-5.714 5.714-5.714 13.143t5.714 13.143l266.286 266.286q5.714 5.714 13.143 5.714t13.143-5.714l266.286-266.286q5.714-5.714 5.714-13.143z" />
|
||||
<glyph unicode="" glyph-name="angle-down" horiz-adv-x="658" d="M614.286 530.286q0-7.429-5.714-13.143l-266.286-266.286q-5.714-5.714-13.143-5.714t-13.143 5.714l-266.286 266.286q-5.714 5.714-5.714 13.143t5.714 13.143l28.571 28.571q5.714 5.714 13.143 5.714t13.143-5.714l224.571-224.571 224.571 224.571q5.714 5.714 13.143 5.714t13.143-5.714l28.571-28.571q5.714-5.714 5.714-13.143z" />
|
||||
<glyph unicode="" glyph-name="spinner" d="M300.571 154.286q0-30.286-21.429-51.714t-51.714-21.429q-29.714 0-51.429 21.714t-21.714 51.429q0 30.286 21.429 51.714t51.714 21.429 51.714-21.429 21.429-51.714zM585.143 36.571q0-30.286-21.429-51.714t-51.714-21.429-51.714 21.429-21.429 51.714 21.429 51.714 51.714 21.429 51.714-21.429 21.429-51.714zM182.857 438.857q0-30.286-21.429-51.714t-51.714-21.429-51.714 21.429-21.429 51.714 21.429 51.714 51.714 21.429 51.714-21.429 21.429-51.714zM869.714 154.286q0-29.714-21.714-51.429t-51.429-21.714q-30.286 0-51.714 21.429t-21.429 51.714 21.429 51.714 51.714 21.429 51.714-21.429 21.429-51.714zM318.857 723.428q0-37.714-26.857-64.571t-64.571-26.857-64.571 26.857-26.857 64.571 26.857 64.571 64.571 26.857 64.571-26.857 26.857-64.571zM987.429 438.857q0-30.286-21.429-51.714t-51.714-21.429-51.714 21.429-21.429 51.714 21.429 51.714 51.714 21.429 51.714-21.429 21.429-51.714zM621.714 841.143q0-45.714-32-77.714t-77.714-32-77.714 32-32 77.714 32 77.714 77.714 32 77.714-32 32-77.714zM924.571 723.428q0-53.143-37.714-90.571t-90.286-37.429q-53.143 0-90.571 37.429t-37.429 90.571q0 52.571 37.429 90.286t90.571 37.714q52.571 0 90.286-37.714t37.714-90.286z" />
|
||||
<glyph unicode="" glyph-name="toggle-off" horiz-adv-x="1170" d="M658.286 438.857q0 59.429-23.143 113.429t-62.571 93.429-93.429 62.571-113.429 23.143-113.429-23.143-93.429-62.571-62.571-93.429-23.143-113.429 23.143-113.429 62.571-93.429 93.429-62.571 113.429-23.143 113.429 23.143 93.429 62.571 62.571 93.429 23.143 113.429zM1097.143 438.857q0 59.429-23.143 113.429t-62.571 93.429-93.429 62.571-113.429 23.143h-220.571q68-51.429 107.714-128t39.714-164.571-39.714-164.571-107.714-128h220.571q59.429 0 113.429 23.143t93.429 62.571 62.571 93.429 23.143 113.429zM1170.286 438.857q0-74.286-29.143-142t-78-116.571-116.571-78-142-29.143h-438.857q-74.286 0-142 29.143t-116.571 78-78 116.571-29.143 142 29.143 142 78 116.571 116.571 78 142 29.143h438.857q74.286 0 142-29.143t116.571-78 78-116.571 29.143-142z" />
|
||||
<glyph unicode="" glyph-name="toggle-on" horiz-adv-x="1170" d="M0 438.857q0 74.286 29.143 142t78 116.571 116.571 78 142 29.143h438.857q74.286 0 142-29.143t116.571-78 78-116.571 29.143-142-29.143-142-78-116.571-116.571-78-142-29.143h-438.857q-74.286 0-142 29.143t-116.571 78-78 116.571-29.143 142zM804.571 146.286q59.429 0 113.429 23.143t93.429 62.571 62.571 93.429 23.143 113.429-23.143 113.429-62.571 93.429-93.429 62.571-113.429 23.143-113.429-23.143-93.429-62.571-62.571-93.429-23.143-113.429 23.143-113.429 62.571-93.429 93.429-62.571 113.429-23.143z" />
|
||||
</font></defs></svg>
|
||||
|
After Width: | Height: | Size: 10 KiB |
BIN
wp-content/plugins/popups/public/assets/fonts/spufont.ttf
Normal file
BIN
wp-content/plugins/popups/public/assets/fonts/spufont.ttf
Normal file
Binary file not shown.
BIN
wp-content/plugins/popups/public/assets/fonts/spufont.woff
Normal file
BIN
wp-content/plugins/popups/public/assets/fonts/spufont.woff
Normal file
Binary file not shown.
1
wp-content/plugins/popups/public/assets/index.php
Normal file
1
wp-content/plugins/popups/public/assets/index.php
Normal file
@@ -0,0 +1 @@
|
||||
<?php // Silence is golden
|
||||
1
wp-content/plugins/popups/public/assets/js/index.php
Normal file
1
wp-content/plugins/popups/public/assets/js/index.php
Normal file
@@ -0,0 +1 @@
|
||||
<?php // Silence is golden
|
||||
813
wp-content/plugins/popups/public/assets/js/public.js
Normal file
813
wp-content/plugins/popups/public/assets/js/public.js
Normal file
File diff suppressed because one or more lines are too long
862
wp-content/plugins/popups/public/class-social-popup.php
Normal file
862
wp-content/plugins/popups/public/class-social-popup.php
Normal file
@@ -0,0 +1,862 @@
|
||||
<?php
|
||||
/**
|
||||
* Popups.
|
||||
*
|
||||
* @package Popups
|
||||
* @author Damian Logghe <info@timersys.com>
|
||||
* @license GPL-2.0+
|
||||
* @link http://example.com
|
||||
* @copyright 2014 Your Name or Company Name
|
||||
*/
|
||||
|
||||
/**
|
||||
* Public Class of the plugin
|
||||
* @package Popups
|
||||
* @author Damian Logghe <info@timersys.com>
|
||||
*/
|
||||
class SocialPopup {
|
||||
|
||||
/**
|
||||
* Plugin version, used for cache-busting of style and script file references.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
const VERSION = SPU_VERSION;
|
||||
|
||||
/**
|
||||
* Popups to use acrros files
|
||||
*
|
||||
* @since 1.7
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
const PLUGIN_NAME = 'Popups';
|
||||
|
||||
/**
|
||||
*
|
||||
* The variable name is used as the text domain when internationalizing strings
|
||||
* of text. Its value should match the Text Domain file header in the main
|
||||
* plugin file.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $plugin_slug = 'spu';
|
||||
|
||||
/**
|
||||
* Plugins settings
|
||||
* @var array
|
||||
*/
|
||||
protected $spu_settings = array();
|
||||
|
||||
/**
|
||||
* Instance of this class.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*
|
||||
* @var object
|
||||
*/
|
||||
protected static $instance = null;
|
||||
|
||||
/**
|
||||
* Plugin info accesible everywhere
|
||||
* @var array
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public $info;
|
||||
|
||||
/**
|
||||
* Initialize the plugin by setting localization and loading public scripts
|
||||
* and styles.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private function __construct() {
|
||||
|
||||
// vars
|
||||
$this->info = array(
|
||||
'dir' => SPU_PLUGIN_DIR,
|
||||
'url' => SPU_PLUGIN_URL,
|
||||
'hook' => SPU_PLUGIN_HOOK,
|
||||
'version' => self::VERSION,
|
||||
'upgrade_version' => '1.6.4.3',
|
||||
'wpml_lang' => defined('ICL_LANGUAGE_CODE') ? ICL_LANGUAGE_CODE : '',
|
||||
);
|
||||
// Load plugin text domain
|
||||
$this->load_plugin_textdomain();
|
||||
|
||||
$this->load_dependencies();
|
||||
|
||||
$this->spu_settings = apply_filters('spu/settings_page/opts', get_option( 'spu_settings' ) );
|
||||
//Register cpt
|
||||
add_action( 'init', array( $this, 'register_cpt' ) );
|
||||
|
||||
// Add noindex to cpt
|
||||
add_action('wp_head', array($this, 'add_no_index') );
|
||||
|
||||
// Activate plugin when new blog is added
|
||||
add_action( 'wpmu_new_blog', array( $this, 'activate_new_site' ) );
|
||||
|
||||
// Register public-facing style sheet and JavaScript.
|
||||
add_action( 'wp_enqueue_scripts', array( $this, 'register_scripts' ) );
|
||||
add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
|
||||
|
||||
if( empty($this->spu_settings['ajax_mode'] ) ) {
|
||||
//print boxes
|
||||
add_action( 'wp_footer', array( $this, 'print_boxes' ), 1 );
|
||||
}
|
||||
add_action( 'init', array( $this, 'register_spu_ajax' ), 11 );
|
||||
|
||||
//FILTERS
|
||||
add_filter('spu/get_info', array($this, 'get_info'), 1, 1);
|
||||
|
||||
//spu content function
|
||||
add_filter( 'spu/popup/content', 'wptexturize') ;
|
||||
add_filter( 'spu/popup/content', 'convert_smilies' );
|
||||
add_filter( 'spu/popup/content', 'convert_chars' );
|
||||
add_filter( 'spu/popup/content', 'wpautop' );
|
||||
add_filter( 'spu/popup/content', 'shortcode_unautop' );
|
||||
add_filter( 'spu/popup/content', 'do_shortcode', 11 );
|
||||
|
||||
//Register shortcodes
|
||||
add_shortcode( 'spu-facebook', array( $this, 'facebook_shortcode' ) );
|
||||
add_shortcode( 'spu-facebook-page', array( $this, 'facebook_page_shortcode' ) );
|
||||
add_shortcode( 'spu-twitter', array( $this, 'twitter_shortcode' ) );
|
||||
add_shortcode( 'spu-google', array( $this, 'google_shortcode' ) );
|
||||
add_shortcode( 'spu-close', array( $this, 'close_shortcode' ) );
|
||||
add_shortcode( 'spu', array( $this, 'popup_link_shortcode' ) );
|
||||
|
||||
}
|
||||
/**
|
||||
* Return the plugin slug.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*
|
||||
* @return Plugin slug variable.
|
||||
*/
|
||||
public function get_plugin_slug() {
|
||||
return $this->plugin_slug;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return an instance of this class.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*
|
||||
* @return object A single instance of this class.
|
||||
*/
|
||||
public static function get_instance() {
|
||||
|
||||
// If the single instance hasn't been set, set it now.
|
||||
if ( null == self::$instance ) {
|
||||
self::$instance = new self;
|
||||
}
|
||||
|
||||
return self::$instance;
|
||||
}
|
||||
|
||||
/**
|
||||
* Fired when the plugin is activated.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*
|
||||
* @param boolean $network_wide True if WPMU superadmin uses
|
||||
* "Network Activate" action, false if
|
||||
* WPMU is disabled or plugin is
|
||||
* activated on an individual blog.
|
||||
*/
|
||||
public static function activate( $network_wide ) {
|
||||
|
||||
if ( function_exists( 'is_multisite' ) && is_multisite() ) {
|
||||
|
||||
if ( $network_wide ) {
|
||||
|
||||
// Get all blog ids
|
||||
$blog_ids = self::get_blog_ids();
|
||||
|
||||
foreach ( $blog_ids as $blog_id ) {
|
||||
|
||||
switch_to_blog( $blog_id );
|
||||
self::single_activate();
|
||||
}
|
||||
|
||||
restore_current_blog();
|
||||
|
||||
} else {
|
||||
self::single_activate();
|
||||
}
|
||||
|
||||
} else {
|
||||
self::single_activate();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Fired when the plugin is deactivated.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*
|
||||
* @param boolean $network_wide True if WPMU superadmin uses
|
||||
* "Network Deactivate" action, false if
|
||||
* WPMU is disabled or plugin is
|
||||
* deactivated on an individual blog.
|
||||
*/
|
||||
public static function deactivate( $network_wide ) {
|
||||
|
||||
if ( function_exists( 'is_multisite' ) && is_multisite() ) {
|
||||
|
||||
if ( $network_wide ) {
|
||||
|
||||
// Get all blog ids
|
||||
$blog_ids = self::get_blog_ids();
|
||||
|
||||
foreach ( $blog_ids as $blog_id ) {
|
||||
|
||||
switch_to_blog( $blog_id );
|
||||
self::single_deactivate();
|
||||
|
||||
}
|
||||
|
||||
restore_current_blog();
|
||||
|
||||
} else {
|
||||
self::single_deactivate();
|
||||
}
|
||||
|
||||
} else {
|
||||
self::single_deactivate();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Fired when a new site is activated with a WPMU environment.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*
|
||||
* @param int $blog_id ID of the new blog.
|
||||
*/
|
||||
public function activate_new_site( $blog_id ) {
|
||||
|
||||
if ( 1 !== did_action( 'wpmu_new_blog' ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
switch_to_blog( $blog_id );
|
||||
self::single_activate();
|
||||
restore_current_blog();
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Register custom post types
|
||||
* @return void
|
||||
*/
|
||||
function register_cpt() {
|
||||
|
||||
$name = 'Popups v' . SocialPopup::VERSION;
|
||||
if( class_exists('PopupsP') ){
|
||||
$name .= ' - Premium v'. PopupsP::VERSION;
|
||||
}
|
||||
$name = apply_filters( 'spu/display/title', $name );
|
||||
$labels = array(
|
||||
'name' => $name,
|
||||
'singular_name' => _x( 'Popups', 'post type singular name', 'popups' ),
|
||||
'menu_name' => _x( 'Popups', 'admin menu', 'popups' ),
|
||||
'name_admin_bar' => _x( 'Popups', 'add new on admin bar', 'popups' ),
|
||||
'add_new' => _x( 'Add New', 'Popups', 'popups' ),
|
||||
'add_new_item' => __( 'Add New Popups', 'popups' ),
|
||||
'new_item' => __( 'New Popups', 'popups' ),
|
||||
'edit_item' => __( 'Edit Popups', 'popups' ),
|
||||
'view_item' => __( 'View Popups', 'popups' ),
|
||||
'all_items' => __( 'All Popups', 'popups' ),
|
||||
'search_items' => __( 'Search Popups', 'popups' ),
|
||||
'parent_item_colon' => __( 'Parent Popups:', 'popups' ),
|
||||
'not_found' => __( 'No Popups found.', 'popups' ),
|
||||
'not_found_in_trash' => __( 'No Popups found in Trash.', 'popups' )
|
||||
);
|
||||
|
||||
$args = array(
|
||||
'labels' => $labels,
|
||||
'public' => true,
|
||||
'publicly_queryable' => true,
|
||||
'show_ui' => true,
|
||||
'show_in_menu' => true,
|
||||
'query_var' => true,
|
||||
'exclude_from_search' => true,
|
||||
'rewrite' => array( 'slug' => 'spucpt' ),
|
||||
'capability_type' => 'post',
|
||||
'capabilities' => array(
|
||||
'publish_posts' => apply_filters( 'spu/settings_page/roles', 'manage_options'),
|
||||
'edit_posts' => apply_filters( 'spu/settings_page/roles', 'manage_options'),
|
||||
'edit_others_posts' => apply_filters( 'spu/settings_page/roles', 'manage_options'),
|
||||
'delete_posts' => apply_filters( 'spu/settings_page/roles', 'manage_options'),
|
||||
'delete_others_posts' => apply_filters( 'spu/settings_page/roles', 'manage_options'),
|
||||
'read_private_posts' => apply_filters( 'spu/settings_page/roles', 'manage_options'),
|
||||
'edit_post' => apply_filters( 'spu/settings_page/roles', 'manage_options'),
|
||||
'delete_post' => apply_filters( 'spu/settings_page/roles', 'manage_options'),
|
||||
'read_post' => apply_filters( 'spu/settings_page/roles', 'manage_options'),
|
||||
),
|
||||
'has_archive' => false,
|
||||
'hierarchical' => false,
|
||||
'menu_position' => null,
|
||||
'menu_icon' => 'dashicons-share-alt',
|
||||
'supports' => array( 'title', 'editor','author' ),
|
||||
'show_in_rest' => true
|
||||
);
|
||||
|
||||
register_post_type( 'spucpt', $args );
|
||||
|
||||
}
|
||||
|
||||
|
||||
function add_no_index() {
|
||||
global $post;
|
||||
|
||||
if( get_post_type() == 'spucpt' && is_single() )
|
||||
echo '<meta name="robots" content="noindex, nofollow" />';
|
||||
}
|
||||
|
||||
/**
|
||||
* Get all blog ids of blogs in the current network that are:
|
||||
* - not archived
|
||||
* - not spam
|
||||
* - not deleted
|
||||
*
|
||||
* @since 1.0.0
|
||||
*
|
||||
* @return array|false The blog ids, false if no matches.
|
||||
*/
|
||||
private static function get_blog_ids() {
|
||||
|
||||
global $wpdb;
|
||||
|
||||
// get an array of blog ids
|
||||
$sql = "SELECT blog_id FROM $wpdb->blogs
|
||||
WHERE archived = '0' AND spam = '0'
|
||||
AND deleted = '0'";
|
||||
|
||||
return $wpdb->get_col( $sql );
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Fired for each blog when the plugin is activated.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private static function single_activate() {
|
||||
// If there are not popups created let's create a default one
|
||||
global $wpdb;
|
||||
|
||||
$spus = $wpdb->get_results( "SELECT ID FROM $wpdb->posts WHERE post_type='spucpt'");
|
||||
|
||||
|
||||
if ( empty( $spus) ) {
|
||||
$post_content ='<h2 style="text-align:center">Welcome!</h2><p style="text-align:center">This is popup preview that you can fill with any content you want.</p><p style="text-align:center">The plugin include some shortcodes, you can read more about them at the bottom of this page. The main 3 sections to configure the popup are:</p><p>Appearance: Where you edit the look and feel of the popup.<br>Display Rules: Here you choose on which page to display the popup (Set to all by default)<br>Display options: Some important settings about the plugin, being the more important trigger action.</br></p>';
|
||||
$defaults = array(
|
||||
'post_status' => 'draft',
|
||||
'post_type' => 'spucpt',
|
||||
'post_content' => $post_content,
|
||||
'post_title' => 'Popups Example'
|
||||
);
|
||||
wp_insert_post( $defaults, $wp_error );
|
||||
}
|
||||
|
||||
$upgrader = new SocialPopup_Upgrader();
|
||||
$upgrader->upgrade_plugin();
|
||||
|
||||
update_option('spu-version', SPU_VERSION);
|
||||
|
||||
do_action( 'spu/activate' );
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Fired for each blog when the plugin is deactivated.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private static function single_deactivate() {
|
||||
// @TODO: Define deactivation functionality here
|
||||
}
|
||||
|
||||
/**
|
||||
* Load the plugin text domain for translation.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function load_plugin_textdomain() {
|
||||
|
||||
$domain = 'popups';
|
||||
$locale = apply_filters( 'plugin_locale', get_locale(), $domain );
|
||||
|
||||
load_textdomain( $domain, trailingslashit( WP_LANG_DIR ) . $domain . '/' . $domain . '-' . $locale . '.mo' );
|
||||
load_plugin_textdomain( $domain, FALSE, dirname( dirname( plugin_basename( __FILE__ ) ) ) . '/languages/' );
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Register and enqueues public-facing JavaScript files.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function register_scripts() {
|
||||
|
||||
$js_url = plugins_url( 'assets/js/public.js', __FILE__ );
|
||||
$handle = 'spu-public';
|
||||
|
||||
$opts = $this->spu_settings;
|
||||
|
||||
wp_register_style( 'spu-public-css', plugins_url( 'assets/css/public.css', __FILE__ ), array(), self::VERSION );
|
||||
|
||||
wp_register_script( $handle, $js_url, array( 'jquery' ), self::VERSION, true );
|
||||
|
||||
wp_register_script( 'spu-facebook', '//connect.facebook.net/'.get_locale().'/sdk.js#xfbml=1&version=v2.3', array('jquery'), null, FALSE);
|
||||
|
||||
wp_register_script( 'spu-twitter', '//platform.twitter.com/widgets.js', array('jquery'), self::VERSION, FALSE);
|
||||
|
||||
wp_register_script( 'spu-google', '//apis.google.com/js/platform.js', array('jquery'), self::VERSION, FALSE);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* load and print SPU popup when rules matches
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function check_for_matches() {
|
||||
|
||||
$spu_matches = false;
|
||||
|
||||
$spu_rules = new Spu_Rules();
|
||||
|
||||
//Grab all popups ids
|
||||
$spu_ids = $this->get_spu_ids();
|
||||
|
||||
if( !empty($spu_ids) ) {
|
||||
foreach ( $spu_ids as $spu ) {
|
||||
$rules = !empty($spu->spu_rules) ? unserialize($spu->spu_rules) : array();
|
||||
$match = $spu_rules->check_rules( $rules );
|
||||
if ( $match ) {
|
||||
$spu_matches[$spu->ID] = $spu->ID;
|
||||
}
|
||||
}
|
||||
// check if we are viewing a popup, and only show that one (preview mode)
|
||||
$viewing_id = defined('DOING_AJAX') && isset($_REQUEST['pid']) ? $_REQUEST['pid'] : get_queried_object_id();
|
||||
foreach ( $spu_ids as $spu ) {
|
||||
if ( $spu->ID == $viewing_id ) {
|
||||
$spu_matches = array();
|
||||
$spu_matches[$spu->ID] = $spu->ID;
|
||||
}
|
||||
}
|
||||
}
|
||||
return apply_filters( 'spu/check_for_matches', $spu_matches, $spu_ids, $spu_rules );
|
||||
}
|
||||
|
||||
/**
|
||||
* Return array of popups ids
|
||||
*/
|
||||
function get_spu_ids() {
|
||||
global $wpdb;
|
||||
// IF wpml is active and spucpt is translated get correct ids for language
|
||||
if( function_exists('icl_object_id') ) {
|
||||
$spu_ids = $this->get_wpml_ids();
|
||||
if(!empty($spu_ids)) {
|
||||
return $spu_ids;
|
||||
}
|
||||
}
|
||||
// IF polylang is active and spucpt is translated get correct ids for language
|
||||
if( function_exists('pll_current_language') ) {
|
||||
$spu_ids = $this->get_polylang_ids();
|
||||
if(!empty($spu_ids)) {
|
||||
return $spu_ids;
|
||||
}
|
||||
}
|
||||
$post_status = isset( $_REQUEST['is_preview'] ) && $_REQUEST['is_preview'] == '1' ? "AND (post_status='publish' OR post_status='draft')" : "AND post_status='publish'";
|
||||
return $wpdb->get_results( "SELECT ID, post_content, MAX(CASE WHEN pm1.meta_key = 'spu_rules' then pm1.meta_value ELSE NULL END) as spu_rules,
|
||||
MAX(CASE WHEN pm1.meta_key = 'spu_ab_parent' then pm1.meta_value ELSE NULL END) as spu_ab_parent
|
||||
FROM $wpdb->posts p LEFT JOIN $wpdb->postmeta pm1 ON ( pm1.post_id = p.ID) WHERE post_type='spucpt' {$post_status} GROUP BY p.ID");
|
||||
}
|
||||
|
||||
/**
|
||||
* Function that enqueue all needed scritps and styles
|
||||
* @since 1.3
|
||||
*/
|
||||
public function enqueue_scripts() {
|
||||
$handle = 'spu-public';
|
||||
|
||||
$opts = $this->spu_settings;
|
||||
|
||||
if( isset($this->info['wpml_lang']) && !empty($this->info['wpml_lang']) )
|
||||
$ajax_url = '/?spu_action=spu_load&lang='.$this->info['wpml_lang'];
|
||||
else
|
||||
$ajax_url = '/?spu_action=spu_load';
|
||||
|
||||
wp_enqueue_script($handle);
|
||||
wp_enqueue_style('spu-public-css');
|
||||
wp_localize_script( $handle, 'spuvar',
|
||||
array(
|
||||
'is_admin' => current_user_can( apply_filters( 'spu/capabilities/testmode', 'administrator' ) ),
|
||||
'disable_style' => isset( $this->spu_settings['shortcodes_style'] ) ? esc_attr( $this->spu_settings['shortcodes_style'] ) : '',
|
||||
'ajax_mode' => isset( $this->spu_settings['ajax_mode'] ) ? esc_attr( $this->spu_settings['ajax_mode'] ) :'',
|
||||
'ajax_url' => admin_url('admin-ajax.php'),
|
||||
'ajax_mode_url' => site_url($ajax_url),
|
||||
'pid' => get_queried_object_id(),
|
||||
'is_front_page' => is_front_page(),
|
||||
'is_category' => is_category(),
|
||||
'site_url' => site_url(),
|
||||
'is_archive' => is_archive(),
|
||||
'is_search' => is_search(),
|
||||
'is_preview' => (get_post_type() == 'spucpt'),
|
||||
'seconds_confirmation_close' => apply_filters( 'spu/spuvar/seconds_confirmation_close', 5 ),
|
||||
)
|
||||
);
|
||||
$this->enqueue_social_shortcodes();
|
||||
}
|
||||
|
||||
/**
|
||||
* Function that runs the different checks to see if social is enqueue or not
|
||||
* @since 1.3
|
||||
*/
|
||||
private function enqueue_social_shortcodes(){
|
||||
global $wpdb,$spuvar_social;
|
||||
|
||||
$opts = $this->spu_settings;
|
||||
$spuvar_social = array();
|
||||
|
||||
$handle = 'spu-public';
|
||||
|
||||
// Check if any popup have facebook, then enqueue js
|
||||
if( $fb = $wpdb->get_var( "SELECT meta_value FROM $wpdb->postmeta WHERE meta_key = 'spu_fb' " ) ) {
|
||||
// Check if defined or remove js in options
|
||||
if( !defined( 'SPU_UNLOAD_FB_JS') && empty( $opts['facebook'] ) )
|
||||
wp_enqueue_script( 'spu-facebook');
|
||||
|
||||
$spuvar_social['facebook'] = true;
|
||||
|
||||
}
|
||||
|
||||
if( $fb = $wpdb->get_var( "SELECT meta_value FROM $wpdb->postmeta WHERE meta_key ='spu_tw' " ) ) {
|
||||
if( ! defined( 'SPU_UNLOAD_TW_JS') && empty( $opts['twitter'] ) )
|
||||
wp_enqueue_script( 'spu-twitter');
|
||||
|
||||
$spuvar_social['twitter'] = true;
|
||||
|
||||
}
|
||||
|
||||
if( $fb = $wpdb->get_var( "SELECT meta_value FROM $wpdb->postmeta WHERE meta_key ='spu_google' " ) ) {
|
||||
if( ! defined( 'SPU_UNLOAD_GO_JS') && empty( $opts['google'] ) )
|
||||
wp_enqueue_script( 'spu-google');
|
||||
|
||||
$spuvar_social['google'] = true;
|
||||
}
|
||||
wp_localize_script( $handle, 'spuvar_social', $spuvar_social);
|
||||
|
||||
|
||||
//also include gravity forms if needed
|
||||
if( $gf = $wpdb->get_var( "SELECT meta_value FROM $wpdb->postmeta WHERE meta_key ='spu_gravity' " ) ) {
|
||||
if( function_exists('gravity_form_enqueue_scripts'))
|
||||
gravity_form_enqueue_scripts($gf, true);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* [facebook_shortcode description]
|
||||
*
|
||||
* @param $atts
|
||||
* @param $content
|
||||
*
|
||||
* @internal param $ $content [description] $content [description]
|
||||
* @internal param $atts [description] $atts [description]
|
||||
* @return string [description]
|
||||
*/
|
||||
function facebook_shortcode( $atts, $content ) {
|
||||
|
||||
extract( shortcode_atts( array(
|
||||
'href' => apply_filters( 'spu/social/fb_href', 'https://www.facebook.com/pages/Timersys/146687622031640' ),
|
||||
'layout' => 'button_count', // standard, box_count, button_count, button
|
||||
'show_faces' => 'false', // true
|
||||
'share' => 'false', // true
|
||||
'action' => 'like', // recommend
|
||||
'width' => '',
|
||||
), $atts ) );
|
||||
|
||||
$layout = strtolower( trim( $layout ) );
|
||||
$action = strtolower( trim( $action ) );
|
||||
|
||||
// to avoid problems
|
||||
if( 'standard' != $layout && 'box_count' != $layout && 'button_count' != $layout && 'button' != $layout ) {
|
||||
$layout = 'button_count';
|
||||
}
|
||||
if( 'like' != $action && 'recommend' != $action ) {
|
||||
$action = 'like';
|
||||
}
|
||||
|
||||
return '<div class="spu-facebook spu-shortcode"><div class="fb-like" data-width="'.strtolower( trim( $width ) ).'" data-href="'. $href .'" data-layout="'.$layout.'" data-action="'.$action.'" data-show-faces="'.strtolower( trim( $show_faces ) ).'" data-share="'.strtolower( trim( $share ) ).'"></div></div>';
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Shortcode for facebook page
|
||||
*
|
||||
* @param $atts
|
||||
* @param $content
|
||||
*
|
||||
* @internal param $ $content [description] $content [description]
|
||||
* @internal param $atts [description] $atts [description]
|
||||
* @return string [description]
|
||||
*/
|
||||
function facebook_page_shortcode( $atts, $content ) {
|
||||
|
||||
extract( shortcode_atts( array(
|
||||
'href' => apply_filters( 'spu/social/fb_href', 'https://www.facebook.com/pages/Timersys/146687622031640' ),
|
||||
'name' => apply_filters( 'spu/social/fb_name', 'Timersys' ),
|
||||
'show_faces' => 'true', // false
|
||||
'hide_cover' => 'false', // true
|
||||
'width' => '500',
|
||||
), $atts ) );
|
||||
|
||||
return '<div class="spu-facebook-page"><div class="fb-page" data-href="'. $href .'" data-width="'.strtolower( trim( $width ) ).'" data-hide-cover="'.strtolower( trim( $hide_cover ) ).'" data-show-facepile="'.strtolower( trim( $show_faces ) ).'" data-show-posts="false"><div class="fb-xfbml-parse-ignore"><blockquote cite="'. $href .'"><a href="'. $href .'">'.esc_attr( $name ).'</a></blockquote></div></div></div>';
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* [twitter_shortcode description]
|
||||
* @param string $content [description]
|
||||
* @param array $atts [description]
|
||||
* @return string [description]
|
||||
*/
|
||||
function twitter_shortcode( $atts, $content ) {
|
||||
|
||||
extract( shortcode_atts( array(
|
||||
'user' => apply_filters( 'spu/social/tw_user', 'chifliiiii' ),
|
||||
'show_count' => 'true', // false
|
||||
'size' => '', // large
|
||||
'lang' => '',
|
||||
), $atts ) );
|
||||
|
||||
return '<div class="spu-twitter spu-shortcode"><a href="https://twitter.com/'.$user.'" class="twitter-follow-button" data-show-count="'.strtolower( trim( $show_count ) ).'" data-size="'.strtolower( trim( $size ) ).'" data-lang="'.$lang.'"></a></div>';
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* [google_shortcode description]
|
||||
* @param [type] $atts [description]
|
||||
* @param [type] $content [description]
|
||||
* @return string [description]
|
||||
*/
|
||||
function google_shortcode( $atts, $content ) {
|
||||
extract( shortcode_atts( array(
|
||||
'type' => 'g-plusone', //small standard tall
|
||||
'size' => 'medium', //small standard tall
|
||||
'annotation' => 'bubble', //inline none
|
||||
'url' => apply_filters( 'spu/social/gp_url', 'https://plus.google.com/u/0/103508783120806246698/posts' ),
|
||||
), $atts ) );
|
||||
|
||||
$size = strtolower( trim( $size ) );
|
||||
$annotation = strtolower( trim( $annotation ) );
|
||||
|
||||
//to avoid problems
|
||||
if( 'medium' != $size && 'small' != $size && 'standard' != $size && 'tall' != $size ) {
|
||||
$size = 'medium';
|
||||
}
|
||||
if( 'bubble' != $annotation && 'inline' != $annotation && 'none' != $annotation ) {
|
||||
$annotation = 'bubble';
|
||||
}
|
||||
if( 'g-plusone' != $type && 'g-follow' != $type ) {
|
||||
$type = 'g-plusone';
|
||||
}
|
||||
|
||||
return '<div class="spu-google spu-shortcode"><div class="'.$type.'" data-callback="googleCB" data-onendinteraction="closeGoogle" data-recommendations="false" data-annotation="'.$annotation.'" data-size="'.$size.'" data-href="'.$url.'"></div></div>';
|
||||
|
||||
}
|
||||
|
||||
function close_shortcode( $atts, $content ) {
|
||||
extract( shortcode_atts( array(
|
||||
'class' => 'button-primary btn-primary',
|
||||
'text' => 'Close',
|
||||
'conversion' => false
|
||||
), $atts ) );
|
||||
$button_class = ! $conversion || $conversion == 'false' ? 'spu-close-popup ' : 'spu-close-convert ';
|
||||
|
||||
return '<button class="'.$button_class.$class.'">'.$text.'</button>';
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns plugin info
|
||||
* @param string $i info name
|
||||
* @return mixed one all or none
|
||||
*/
|
||||
function get_info( $i )
|
||||
{
|
||||
// vars
|
||||
$return = false;
|
||||
|
||||
|
||||
// specific
|
||||
if( isset($this->info[ $i ]) )
|
||||
{
|
||||
$return = $this->info[ $i ];
|
||||
}
|
||||
|
||||
|
||||
// all
|
||||
if( $i == 'all' )
|
||||
{
|
||||
$return = $this->info;
|
||||
}
|
||||
|
||||
|
||||
// return
|
||||
return $return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Print the actual popup
|
||||
* @return mixed echo popup html
|
||||
*/
|
||||
function print_boxes( ) {
|
||||
|
||||
do_action('spu/print_boxes');
|
||||
|
||||
$spu_matches = $this->check_for_matches();
|
||||
|
||||
//if we have matches continue
|
||||
if( ! empty( $spu_matches) ) {
|
||||
|
||||
foreach ($spu_matches as $spu_id ) {
|
||||
|
||||
include( 'views/popup.php');
|
||||
|
||||
} //endforeach
|
||||
echo '<div id="fb-root" class=" fb_reset"></div>';
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Return plugin settings
|
||||
* @return array
|
||||
* @since 1.1
|
||||
*/
|
||||
function get_settings() {
|
||||
|
||||
return $this->spu_settings;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Load necessary files
|
||||
* @since 1.2.3
|
||||
*/
|
||||
private function load_dependencies(){
|
||||
// Include Helper class
|
||||
require_once( SPU_PLUGIN_DIR . 'includes/class-spu-helper.php' );
|
||||
// Include Rules Class
|
||||
require_once( SPU_PLUGIN_DIR . 'public/includes/class-spu-rules.php' );
|
||||
}
|
||||
|
||||
/**
|
||||
* Custom ajax hook. Wp_ajax won't let us do_shortcode for example
|
||||
* @return mixed Prints all spus
|
||||
*/
|
||||
function register_spu_ajax() {
|
||||
|
||||
if ( empty( $_REQUEST['spu_action'] ) || $_REQUEST['spu_action'] != 'spu_load' )
|
||||
return;
|
||||
|
||||
define( 'DOING_AJAX', TRUE );
|
||||
|
||||
$this->print_boxes();
|
||||
|
||||
die();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Return popups for current language
|
||||
* @return bool | array of ids
|
||||
*/
|
||||
protected function get_polylang_ids( ) {
|
||||
global $wpdb;
|
||||
$post_status = isset( $_REQUEST['is_preview'] ) && $_REQUEST['is_preview'] == '1' ? "AND (post_status='publish' OR post_status='draft')" : "AND post_status='publish'";
|
||||
|
||||
$sql = "SELECT description
|
||||
FROM $wpdb->posts p
|
||||
LEFT JOIN $wpdb->term_relationships as tr ON p.ID = tr.object_id
|
||||
LEFT JOIN $wpdb->term_taxonomy as tt ON tt.term_taxonomy_id = tr.term_taxonomy_id
|
||||
WHERE post_type='spucpt' {$post_status} AND tt.taxonomy = 'post_translations'
|
||||
GROUP BY p.ID";
|
||||
|
||||
$ids = array();
|
||||
$popups = $wpdb->get_results( $sql );
|
||||
if( !empty($popups) ) {
|
||||
$current = pll_current_language();
|
||||
foreach ($popups as $p) {
|
||||
$langs = unserialize($p->description);
|
||||
|
||||
if( isset($langs[$current]) )
|
||||
$ids[] = $langs[$current];
|
||||
}
|
||||
}
|
||||
|
||||
if( !empty($ids)){
|
||||
$sql = "SELECT DISTINCT ID, post_content,
|
||||
MAX(CASE WHEN pm1.meta_key = 'spu_rules' then pm1.meta_value ELSE NULL END) as spu_rules,
|
||||
MAX(CASE WHEN pm1.meta_key = 'spu_ab_parent' then pm1.meta_value ELSE NULL END) as spu_ab_parent
|
||||
FROM $wpdb->posts p
|
||||
LEFT JOIN $wpdb->postmeta pm1 ON ( pm1.post_id = p.ID)
|
||||
WHERE post_type='spucpt' {$post_status} AND ID IN (".implode(',',array_unique($ids)).")
|
||||
GROUP BY p.ID";
|
||||
return $wpdb->get_results( $sql );
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
/**
|
||||
* Return popups for current language
|
||||
* @return bool | array of ids
|
||||
*/
|
||||
protected function get_wpml_ids( ) {
|
||||
global $wpdb;
|
||||
$wpml_settings = get_option( 'icl_sitepress_settings', true);
|
||||
|
||||
if ( ! empty( $wpml_settings['custom_posts_sync_option']['spucpt'] ) ) {
|
||||
$post_status = isset( $_REQUEST['is_preview'] ) && $_REQUEST['is_preview'] == '1' ? "AND (post_status='publish' OR post_status='draft')" : "AND post_status='publish'";
|
||||
$lang_code = isset( $_GET['lang'] ) ? $_GET['lang'] : ICL_LANGUAGE_CODE;
|
||||
$sql = "SELECT DISTINCT ID, post_content,
|
||||
MAX(CASE WHEN pm1.meta_key = 'spu_rules' then pm1.meta_value ELSE NULL END) as spu_rules,
|
||||
MAX(CASE WHEN pm1.meta_key = 'spu_ab_parent' then pm1.meta_value ELSE NULL END) as spu_ab_parent
|
||||
FROM $wpdb->posts p
|
||||
LEFT JOIN $wpdb->postmeta pm1 ON ( pm1.post_id = p.ID)
|
||||
LEFT JOIN {$wpdb->prefix}icl_translations as b ON p.ID = b.element_id
|
||||
WHERE post_type='spucpt' {$post_status} AND b.language_code = '" . esc_sql( $lang_code ) . "'
|
||||
GROUP BY p.ID";
|
||||
|
||||
$ids = $wpdb->get_results( $sql );
|
||||
if( !empty($ids) )
|
||||
return $ids;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Popup button
|
||||
* @param [type] $atts [description]
|
||||
* @param [type] $content [description]
|
||||
* @return [type] [description]
|
||||
*/
|
||||
public function popup_link_shortcode($atts, $content ) {
|
||||
return '<a href="#" class="spu-open-'.$atts['popup'].'">'.do_shortcode( $content ).'</a>';
|
||||
}
|
||||
|
||||
}
|
||||
1151
wp-content/plugins/popups/public/includes/class-spu-rules.php
Normal file
1151
wp-content/plugins/popups/public/includes/class-spu-rules.php
Normal file
File diff suppressed because it is too large
Load Diff
1
wp-content/plugins/popups/public/includes/index.php
Normal file
1
wp-content/plugins/popups/public/includes/index.php
Normal file
@@ -0,0 +1 @@
|
||||
<?php // Silence is golden
|
||||
1
wp-content/plugins/popups/public/views/index.php
Normal file
1
wp-content/plugins/popups/public/views/index.php
Normal file
@@ -0,0 +1 @@
|
||||
<?php // Silence is golden
|
||||
93
wp-content/plugins/popups/public/views/popup.php
Normal file
93
wp-content/plugins/popups/public/views/popup.php
Normal file
@@ -0,0 +1,93 @@
|
||||
<?php
|
||||
/**
|
||||
* Popup view
|
||||
*
|
||||
* @package Popups
|
||||
* @author Damian Logghe <info@timersys.com
|
||||
* @license GPL-2.0+
|
||||
* @link https://timersys.com
|
||||
* @copyright 2014 Timersys
|
||||
*/
|
||||
|
||||
?><!-- Popups v<?php echo self::VERSION; ?> - https://wordpress.org/plugins/popups/ --><?php
|
||||
$box = get_post( $spu_id );
|
||||
$helper = new Spu_Helper;
|
||||
|
||||
// has box with this id been found?
|
||||
if ( ! $box instanceof WP_Post ) {
|
||||
return;
|
||||
}
|
||||
|
||||
$opts = $helper->get_box_options( $box->ID );
|
||||
$css = $opts['css'];
|
||||
$content = $box->post_content;
|
||||
$data_attrs = '';
|
||||
$box_class = '';
|
||||
$width = !empty( $css['width'] ) ? $css['width'] : '';
|
||||
|
||||
// run filters on content
|
||||
$content = apply_filters( 'spu/popup/content', $content, $box );
|
||||
|
||||
// Qtranslate support
|
||||
if ( function_exists('qtrans_useCurrentLanguageIfNotFoundShowAvailable') ) {
|
||||
$content = qtrans_useCurrentLanguageIfNotFoundShowAvailable( $content );
|
||||
}
|
||||
// WPGlobus support
|
||||
if ( class_exists('WPGlobus') ) {
|
||||
$content = WPGlobus_Core::text_filter( $content, WPGlobus::Config()->language );
|
||||
}
|
||||
do_action( 'spu/popup/before_popup', $box, $opts, $css);
|
||||
|
||||
?>
|
||||
<style type="text/css">
|
||||
#spu-<?php echo $box->ID; ?> .spu-close{
|
||||
font-size: <?php echo esc_attr($css['close_size']); ?>;
|
||||
color:<?php echo esc_attr($css['close_color']); ?>;
|
||||
text-shadow: 0 1px 0 <?php echo esc_attr($css['close_shadow_color']); ?>;
|
||||
}
|
||||
#spu-<?php echo $box->ID; ?> .spu-close:hover{
|
||||
color:<?php echo esc_attr($css['close_hover_color']); ?>;
|
||||
}
|
||||
#spu-<?php echo $box->ID; ?> {
|
||||
background-color: <?php echo ( !empty( $css['background_color'] ) ) ? esc_attr($css['background_color']) : 'white'; ?>;
|
||||
background-color: <?php echo ( !empty( $css['background_color'] ) ) ? Spu_Helper::hex2rgba(esc_attr($css['background_color']),esc_attr($css['background_opacity'] )) : 'white'; ?>;
|
||||
color: <?php echo esc_attr($css['color']); ?>;
|
||||
padding: <?php echo esc_attr($css['padding']); ?>px;
|
||||
<?php if ( $css['border_type'] != 'none' ) {
|
||||
?>border: <?php echo esc_attr($css['border_width']) . 'px' ?> <?php echo esc_attr($css['border_type']) ?> <?php echo esc_attr($css['border_color']); echo !empty( $opts['optin'] ) ? ' !important':'';?>;
|
||||
<?php } ?>
|
||||
border-radius: <?php echo esc_attr($css['border_radius']) . 'px' ?>;
|
||||
-moz-border-radius: <?php echo esc_attr($css['border_radius']) . 'px' ?>;
|
||||
-webkit-border-radius: <?php echo esc_attr($css['border_radius']) . 'px' ?>;
|
||||
-moz-box-shadow: <?php echo $css['shadow_type'] == 'inset' ? 'inset' : ''?> <?php echo esc_attr($css['shadow_x_offset']) . 'px' ?> <?php echo esc_attr($css['shadow_y_offset']) . 'px' ?> <?php echo esc_attr($css['shadow_blur']) . 'px' ?> <?php echo esc_attr($css['shadow_spread']) . 'px' ?> <?php echo esc_attr($css['shadow_color'])?>;
|
||||
-webkit-box-shadow: <?php echo $css['shadow_type'] == 'inset' ? 'inset' : ''?> <?php echo esc_attr($css['shadow_x_offset']) . 'px' ?> <?php echo esc_attr($css['shadow_y_offset']) . 'px' ?> <?php echo esc_attr($css['shadow_blur']) . 'px' ?> <?php echo esc_attr($css['shadow_spread']) . 'px' ?> <?php echo esc_attr($css['shadow_color'])?>;
|
||||
box-shadow: <?php echo $css['shadow_type'] == 'inset' ? 'inset' : ''?> <?php echo esc_attr($css['shadow_x_offset']) . 'px' ?> <?php echo esc_attr($css['shadow_y_offset']) . 'px' ?> <?php echo esc_attr($css['shadow_blur']) . 'px' ?> <?php echo esc_attr($css['shadow_spread']) . 'px' ?> <?php echo esc_attr($css['shadow_color'])?>;
|
||||
<?php echo ( empty( $opts['optin'] ) || $opts['optin'] == 'custom' ) ? 'width: ' . esc_attr( $width ) : ''; ?>;
|
||||
|
||||
}
|
||||
#spu-bg-<?php echo $box->ID; ?> {
|
||||
opacity: <?php echo ( !empty( $css['bgopacity'] ) ) ? esc_attr($css['bgopacity']) : 0; ?>;
|
||||
background-color: <?php echo esc_attr($css['overlay_color'])?>;
|
||||
}
|
||||
<?php echo isset( $css['custom_css'] ) ? $css['custom_css'] : '';?>
|
||||
<?php do_action( 'spu/popup/popup_style', $box, $opts, $css);?>
|
||||
</style>
|
||||
<div class="spu-bg" id="spu-bg-<?php echo $box->ID; ?>"></div>
|
||||
<div class="spu-box <?php echo apply_filters( 'spu/popup/box_class', $box_class, $opts, $css, $box );?> spu-<?php echo esc_attr( $opts['css']['position'] ); ?> spu-total-<?php echo get_post_meta($box->ID, 'spu_social',true);?> <?php echo get_post_meta($box->ID, 'spu_google',true) ? 'spu-gogl' : '';?>" id="spu-<?php echo $box->ID; ?>"
|
||||
data-box-id="<?php echo $box->ID ; ?>" data-trigger="<?php echo esc_attr( $opts['trigger'] ); ?>"
|
||||
data-trigger-number="<?php echo esc_attr( absint( $opts['trigger_number'] ) ); ?>"
|
||||
data-spuanimation="<?php echo esc_attr($opts['animation']); ?>" data-tconvert-cookie="<?php echo esc_attr( $opts['type-convert-cookie'] ); ?>" data-tclose-cookie="<?php echo esc_attr( $opts['type-close-cookie'] ); ?>" data-dconvert-cookie="<?php echo esc_attr( absint ( $opts['duration-convert-cookie'] ) ); ?>" data-dclose-cookie="<?php echo esc_attr( absint ( $opts['duration-close-cookie'] ) ); ?>" data-nconvert-cookie="<?php echo esc_attr( $opts['name-convert-cookie'] ); ?>" data-nclose-cookie="<?php echo esc_attr( $opts['name-close-cookie'] ); ?>" data-test-mode="<?php echo esc_attr($opts['test_mode']); ?>"
|
||||
data-auto-hide="<?php echo esc_attr($opts['auto_hide']); ?>" data-close-on-conversion="<?php echo $opts['conversion_close'] == 1 ?'1':''; ?>" data-bgopa="<?php echo esc_attr($css['bgopacity']);?>" data-total="<?php echo get_post_meta($box->ID, 'spu_social',true);?>"
|
||||
style="left:-99999px !important;right:auto;" data-width="<?php echo esc_attr(str_replace('px', '', $width)); ?>" <?php echo apply_filters( 'spu/popup/data_attrs', $data_attrs, $opts, $box );?>>
|
||||
<div class="spu-content"><?php echo $content; ?></div>
|
||||
<span class="spu-close spu-close-popup <?php echo esc_attr($css['close_position']); ?>"><i class="spu-icon spu-icon-close"></i></span>
|
||||
<span class="spu-timer"></span>
|
||||
<?php if( $opts['powered_link'] == '1' ) {
|
||||
$aff_link = !empty($this->spu_settings['aff_link']) ? $this->spu_settings['aff_link'] : 'https://timersys.com/popups/';
|
||||
?>
|
||||
<p class="spu-powered">Powered by <a href="<?php echo $aff_link;?>" target="_blank">WordPress Popup</a></p>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<!-- / Popups Box -->
|
||||
<?php
|
||||
do_action( 'spu/popup/after_popup', $box, $opts, $css);
|
||||
22
wp-content/plugins/popups/uninstall.php
Normal file
22
wp-content/plugins/popups/uninstall.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
/**
|
||||
* Uninstall file. If selected all data from popups plugin will be deleted
|
||||
*/
|
||||
if( !defined( 'ABSPATH') && !defined('WP_UNINSTALL_PLUGIN') ) exit();
|
||||
|
||||
$opts = get_option( 'spu_settings' );
|
||||
|
||||
if( isset( $opts['uninstall']) && '1' == $opts['uninstall'] ) {
|
||||
// delete settings
|
||||
delete_option('spu_settings');
|
||||
delete_option('spu-version');
|
||||
// delete popups
|
||||
global $wpdb;
|
||||
// IF wpml is active and spucpt is translated get correct ids for language
|
||||
$ids = $wpdb->get_results( "SELECT ID FROM $wpdb->posts WHERE post_type='spucpt'");
|
||||
if( !empty( $ids ) ) {
|
||||
foreach( $ids as $p ) {
|
||||
wp_delete_post( $p->ID, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
7
wp-content/plugins/popups/vendor/autoload.php
vendored
Normal file
7
wp-content/plugins/popups/vendor/autoload.php
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
// autoload.php @generated by Composer
|
||||
|
||||
require_once __DIR__ . '/composer/autoload_real.php';
|
||||
|
||||
return ComposerAutoloaderInit28a0833b49959d9021dc40cd45dfc52b::getLoader();
|
||||
0
wp-content/plugins/popups/vendor/cbschuld/browser.php/.gitignore
vendored
Normal file
0
wp-content/plugins/popups/vendor/cbschuld/browser.php/.gitignore
vendored
Normal file
10
wp-content/plugins/popups/vendor/cbschuld/browser.php/.travis.yml
vendored
Normal file
10
wp-content/plugins/popups/vendor/cbschuld/browser.php/.travis.yml
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
language: php
|
||||
|
||||
php:
|
||||
- 7.0
|
||||
- 5.6
|
||||
- 5.5
|
||||
- 5.4
|
||||
- 5.3
|
||||
|
||||
script: phpunit --configuration phpunit.xml.dist
|
||||
7
wp-content/plugins/popups/vendor/cbschuld/browser.php/LICENSE.md
vendored
Normal file
7
wp-content/plugins/popups/vendor/cbschuld/browser.php/LICENSE.md
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
Copyright (c) 2013 Chris Schuld
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
149
wp-content/plugins/popups/vendor/cbschuld/browser.php/README.md
vendored
Normal file
149
wp-content/plugins/popups/vendor/cbschuld/browser.php/README.md
vendored
Normal file
@@ -0,0 +1,149 @@
|
||||
Browser.php
|
||||
=============
|
||||
|
||||
[](https://travis-ci.org/cbschuld/Browser.php)
|
||||
|
||||
Helps detect the user's browser and platform at the PHP level via the user agent
|
||||
|
||||
|
||||
Installation
|
||||
============
|
||||
|
||||
To install, simply `require` the `Browser.php` file under `lib`.
|
||||
|
||||
You can also install it via `Composer` by using the [Packagist archive](https://packagist.org/packages/cbschuld/browser.php).
|
||||
|
||||
|
||||
Background
|
||||
============
|
||||
|
||||
Detecting the user's browser type and version is helpful in web applications that harness some of the newer bleeding edge concepts. With the browser type and version you can notify users about challenges they may experience and suggest they upgrade before using such application. Not a great idea on a large scale public site; but on a private application this type of check can be helpful.
|
||||
|
||||
In an active project of mine we have a pretty graphically intensive and visually appealing user interface which leverages a lot of transparent PNG files. Because we all know how great IE6 supports PNG files it was necessary for us to tell our users the lack of power their browser has in a kind way.
|
||||
|
||||
Searching for a way to do this at the PHP layer and not at the client layer was more of a challenge than I would have guessed; the only script available was written by Gary White and Gary no longer maintains this script because of reliability. I do agree 100% with Gary about the readability; however, there are realistic reasons to desire the user.s browser and browser version and if your visitor is not echoing a false user agent we can take an educated guess.
|
||||
|
||||
I based this solution off of Gary White.s original solution but added a few things:
|
||||
|
||||
I added the ability to view the return values as class constants to increase the readability
|
||||
|
||||
* Added version detectionf for edge via [pixelbacon](https://github.com/pixelbacon)
|
||||
* Updated the version detection for Amaya
|
||||
* Updated the version detection for Firefox
|
||||
* Updated the version detection for Lynx
|
||||
* Updated the version detection for WebTV
|
||||
* Updated the version detection for NetPositive
|
||||
* Updated the version detection for IE
|
||||
* Updated the version detection for OmniWeb
|
||||
* Updated the version detection for iCab
|
||||
* Updated the version detection for Safari
|
||||
* Added detection for Chrome
|
||||
* Added detection for iPhone
|
||||
* Added detection for robots
|
||||
* Added detection for mobile devices
|
||||
* Added detection for BlackBerry
|
||||
* Added detection for iPhone
|
||||
* Added detection for iPad
|
||||
* Added detection for Android
|
||||
* Removed Netscape checks
|
||||
* Updated Safari to remove mobile devices (iPhone)
|
||||
|
||||
**This solution identifies the following Operating Systems:**
|
||||
|
||||
* Windows (Browser::PLATFORM_WINDOWS)
|
||||
* Windows CE (Browser::PLATFORM_WINDOWS_CE)
|
||||
* Apple (Browser::PLATFORM_APPLE)
|
||||
* Linux (Browser::PLATFORM_LINUX)
|
||||
* Android (Browser::PLATFORM_ANDROID)
|
||||
* OS/2 (Browser::PLATFORM_OS2)
|
||||
* BeOS (Browser::PLATFORM_BEOS)
|
||||
* iPhone (Browser::PLATFORM_IPHONE)
|
||||
* iPod (Browser::PLATFORM_IPOD)
|
||||
* BlackBerry (Browser::PLATFORM_BLACKBERRY)
|
||||
* FreeBSD (Browser::PLATFORM_FREEBSD)
|
||||
* OpenBSD (Browser::PLATFORM_OPENBSD)
|
||||
* NetBSD (Browser::PLATFORM_NETBSD)
|
||||
* SunOS (Browser::PLATFORM_SUNOS)
|
||||
* OpenSolaris (Browser::PLATFORM_OPENSOLARIS)
|
||||
* iPad (Browser::PLATFORM_IPAD)
|
||||
|
||||
**This solution identifies the following Browsers and does a best-guess on the version:**
|
||||
|
||||
* Opera (Browser::BROWSER_OPERA)
|
||||
* WebTV (Browser::BROWSER_WEBTV)
|
||||
* NetPositive (Browser::BROWSER_NETPOSITIVE)
|
||||
* Edge (Browser::BROWSER_EDGE)
|
||||
* Internet Explorer (Browser::BROWSER_IE)
|
||||
* Pocket Internet Explorer (Browser::BROWSER_POCKET_IE)
|
||||
* Galeon (Browser::BROWSER_GALEON)
|
||||
* Konqueror (Browser::BROWSER_KONQUEROR)
|
||||
* iCab (Browser::BROWSER_ICAB)
|
||||
* OmniWeb (Browser::BROWSER_OMNIWEB)
|
||||
* Phoenix (Browser::BROWSER_PHOENIX)
|
||||
* Firebird (Browser::BROWSER_FIREBIRD)
|
||||
* Firefox (Browser::BROWSER_FIREFOX)
|
||||
* Mozilla (Browser::BROWSER_MOZILLA)
|
||||
* Amaya (Browser::BROWSER_AMAYA)
|
||||
* Lynx (Browser::BROWSER_LYNX)
|
||||
* Safari (Browser::BROWSER_SAFARI)
|
||||
* iPhone (Browser::BROWSER_IPHONE)
|
||||
* iPod (Browser::BROWSER_IPOD)
|
||||
* Google.s Android(Browser::BROWSER_ANDROID)
|
||||
* Google.s Chrome(Browser::BROWSER_CHROME)
|
||||
* GoogleBot(Browser::BROWSER_GOOGLEBOT)
|
||||
* Yahoo!.s Slurp(Browser::BROWSER_SLURP)
|
||||
* W3C.s Validator(Browser::BROWSER_W3CVALIDATOR)
|
||||
* BlackBerry(Browser::BROWSER_BLACKBERRY)
|
||||
|
||||
**Typical Usage:**
|
||||
|
||||
```php
|
||||
$browser = new Browser();
|
||||
if( $browser->getBrowser() == Browser::BROWSER_FIREFOX && $browser->getVersion() >= 2 ) {
|
||||
echo 'You have FireFox version 2 or greater';
|
||||
}
|
||||
```
|
||||
|
||||
12/9/2008 Update
|
||||
* removed an unused constant and renamed the constructor to use the PHP magic method __construct (thanks to Robin for locating the legacy constant and suggesting the use of the magic method).
|
||||
|
||||
2/19/2009 Update
|
||||
* updated typical usage to show a correct example! (thanks David!)
|
||||
|
||||
2/24/2009 Update
|
||||
* fixed typo in the usage! (thanks Adam!)
|
||||
|
||||
3/14/2009 Update
|
||||
* added support for the iPod; added iPod and iPhone as platforms; added Google.s Android
|
||||
|
||||
4/22/2009 Update
|
||||
* added support for GoogleBot, the W3C Validator and Yahoo! Slurp
|
||||
|
||||
4/27/2009 Update
|
||||
* John pointed out a terrible typo (see below) . removed the typo
|
||||
|
||||
11/08/2009 Update
|
||||
* A lot of changes to the script, thank you to everyone for the suggestions and emails. This release should add all of the requested features. Added BlackBerry, mobile detection, Opera Mini support, robot detection, Opera 10.s UserAgent .mess., detection for IceCat and Shiretoko!
|
||||
|
||||
3/7/2010 Update
|
||||
* Version 1.7 was a *MAJOR* Rebuild (preg_match and other .slow. routine removal(s)) included the following changes:
|
||||
* Almost allof Gary.s original code has been replaced
|
||||
* Large PHPUNIT testing environment created to validate new releases and additions
|
||||
* Added FreeBSD Platform
|
||||
* Added OpenBSD Platform
|
||||
* Added NetBSD Platform
|
||||
* Added SunOS Platform
|
||||
* Added OpenSolaris Platform
|
||||
* Added support of the Iceweazel Browser
|
||||
* Added isChromeFrame() call to check if chromeframe is in use
|
||||
* Moved the Opera check in front of the Firefox check due to legacy Opera User Agents
|
||||
* Added the __toString() method (Thanks Deano)
|
||||
|
||||
4/27/2010: Update (Version 1.8)
|
||||
* Added iPad support
|
||||
|
||||
8/20/2010: Update (Version 1.9)
|
||||
* Added MSN Explorer Browser
|
||||
* Added Bing/MSN Robot
|
||||
* Added the Android Platform
|
||||
* Fixed issue with Android 1.6/2.2
|
||||
22
wp-content/plugins/popups/vendor/cbschuld/browser.php/composer.json
vendored
Normal file
22
wp-content/plugins/popups/vendor/cbschuld/browser.php/composer.json
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"name": "cbschuld/browser.php",
|
||||
"description": "A PHP Class to detect a user's Browser",
|
||||
"keywords": ["browser", "user agent", "detection"],
|
||||
"homepage": "http://chrisschuld.com/projects/browser-php-detecting-a-users-browser-from-php.html",
|
||||
"license": "MIT",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Chris Schuld",
|
||||
"email": "chris@chrisschuld.com",
|
||||
"homepage": "http://chrisschuld.com"
|
||||
}
|
||||
],
|
||||
"autoload": {
|
||||
"files": ["lib/Browser.php"]
|
||||
},
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "1.95-dev"
|
||||
}
|
||||
}
|
||||
}
|
||||
1732
wp-content/plugins/popups/vendor/cbschuld/browser.php/lib/Browser.php
vendored
Normal file
1732
wp-content/plugins/popups/vendor/cbschuld/browser.php/lib/Browser.php
vendored
Normal file
File diff suppressed because it is too large
Load Diff
29
wp-content/plugins/popups/vendor/cbschuld/browser.php/phpunit.xml.dist
vendored
Normal file
29
wp-content/plugins/popups/vendor/cbschuld/browser.php/phpunit.xml.dist
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<phpunit backupGlobals="true"
|
||||
backupStaticAttributes="false"
|
||||
bootstrap="lib/Browser.php"
|
||||
colors="false"
|
||||
convertErrorsToExceptions="true"
|
||||
convertNoticesToExceptions="true"
|
||||
convertWarningsToExceptions="true"
|
||||
forceCoversAnnotation="false"
|
||||
mapTestClassNameToCoveredClassName="false"
|
||||
processIsolation="false"
|
||||
stopOnError="false"
|
||||
stopOnFailure="false"
|
||||
stopOnIncomplete="false"
|
||||
stopOnSkipped="false"
|
||||
testSuiteLoaderFile="phpunit/src/Runner/StandardTestSuiteLoader.php"
|
||||
strict="false"
|
||||
verbose="false">
|
||||
<testsuites>
|
||||
<testsuite name="Unit">
|
||||
<directory>test/Unit</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
<filter>
|
||||
<whitelist>
|
||||
<directory suffix=".php">lib/</directory>
|
||||
</whitelist>
|
||||
</filter>
|
||||
</phpunit>
|
||||
441
wp-content/plugins/popups/vendor/composer/ClassLoader.php
vendored
Normal file
441
wp-content/plugins/popups/vendor/composer/ClassLoader.php
vendored
Normal file
@@ -0,0 +1,441 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Composer.
|
||||
*
|
||||
* (c) Nils Adermann <naderman@naderman.de>
|
||||
* Jordi Boggiano <j.boggiano@seld.be>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Composer\Autoload;
|
||||
|
||||
/**
|
||||
* ClassLoader implements a PSR-0, PSR-4 and classmap class loader.
|
||||
*
|
||||
* $loader = new \Composer\Autoload\ClassLoader();
|
||||
*
|
||||
* // register classes with namespaces
|
||||
* $loader->add('Symfony\Component', __DIR__.'/component');
|
||||
* $loader->add('Symfony', __DIR__.'/framework');
|
||||
*
|
||||
* // activate the autoloader
|
||||
* $loader->register();
|
||||
*
|
||||
* // to enable searching the include path (eg. for PEAR packages)
|
||||
* $loader->setUseIncludePath(true);
|
||||
*
|
||||
* In this example, if you try to use a class in the Symfony\Component
|
||||
* namespace or one of its children (Symfony\Component\Console for instance),
|
||||
* the autoloader will first look for the class under the component/
|
||||
* directory, and it will then fallback to the framework/ directory if not
|
||||
* found before giving up.
|
||||
*
|
||||
* This class is loosely based on the Symfony UniversalClassLoader.
|
||||
*
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
* @author Jordi Boggiano <j.boggiano@seld.be>
|
||||
* @see http://www.php-fig.org/psr/psr-0/
|
||||
* @see http://www.php-fig.org/psr/psr-4/
|
||||
*/
|
||||
class ClassLoader
|
||||
{
|
||||
// PSR-4
|
||||
private $prefixLengthsPsr4 = array();
|
||||
private $prefixDirsPsr4 = array();
|
||||
private $fallbackDirsPsr4 = array();
|
||||
|
||||
// PSR-0
|
||||
private $prefixesPsr0 = array();
|
||||
private $fallbackDirsPsr0 = array();
|
||||
|
||||
private $useIncludePath = false;
|
||||
private $classMap = array();
|
||||
private $classMapAuthoritative = false;
|
||||
private $missingClasses = array();
|
||||
private $apcuPrefix;
|
||||
|
||||
public function getPrefixes()
|
||||
{
|
||||
if (!empty($this->prefixesPsr0)) {
|
||||
return call_user_func_array('array_merge', $this->prefixesPsr0);
|
||||
}
|
||||
|
||||
return array();
|
||||
}
|
||||
|
||||
public function getPrefixesPsr4()
|
||||
{
|
||||
return $this->prefixDirsPsr4;
|
||||
}
|
||||
|
||||
public function getFallbackDirs()
|
||||
{
|
||||
return $this->fallbackDirsPsr0;
|
||||
}
|
||||
|
||||
public function getFallbackDirsPsr4()
|
||||
{
|
||||
return $this->fallbackDirsPsr4;
|
||||
}
|
||||
|
||||
public function getClassMap()
|
||||
{
|
||||
return $this->classMap;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $classMap Class to filename map
|
||||
*/
|
||||
public function addClassMap(array $classMap)
|
||||
{
|
||||
if ($this->classMap) {
|
||||
$this->classMap = array_merge($this->classMap, $classMap);
|
||||
} else {
|
||||
$this->classMap = $classMap;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Registers a set of PSR-0 directories for a given prefix, either
|
||||
* appending or prepending to the ones previously set for this prefix.
|
||||
*
|
||||
* @param string $prefix The prefix
|
||||
* @param array|string $paths The PSR-0 root directories
|
||||
* @param bool $prepend Whether to prepend the directories
|
||||
*/
|
||||
public function add($prefix, $paths, $prepend = false)
|
||||
{
|
||||
if (!$prefix) {
|
||||
if ($prepend) {
|
||||
$this->fallbackDirsPsr0 = array_merge(
|
||||
(array) $paths,
|
||||
$this->fallbackDirsPsr0
|
||||
);
|
||||
} else {
|
||||
$this->fallbackDirsPsr0 = array_merge(
|
||||
$this->fallbackDirsPsr0,
|
||||
(array) $paths
|
||||
);
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
$first = $prefix[0];
|
||||
if (!isset($this->prefixesPsr0[$first][$prefix])) {
|
||||
$this->prefixesPsr0[$first][$prefix] = (array) $paths;
|
||||
|
||||
return;
|
||||
}
|
||||
if ($prepend) {
|
||||
$this->prefixesPsr0[$first][$prefix] = array_merge(
|
||||
(array) $paths,
|
||||
$this->prefixesPsr0[$first][$prefix]
|
||||
);
|
||||
} else {
|
||||
$this->prefixesPsr0[$first][$prefix] = array_merge(
|
||||
$this->prefixesPsr0[$first][$prefix],
|
||||
(array) $paths
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Registers a set of PSR-4 directories for a given namespace, either
|
||||
* appending or prepending to the ones previously set for this namespace.
|
||||
*
|
||||
* @param string $prefix The prefix/namespace, with trailing '\\'
|
||||
* @param array|string $paths The PSR-4 base directories
|
||||
* @param bool $prepend Whether to prepend the directories
|
||||
*
|
||||
* @throws \InvalidArgumentException
|
||||
*/
|
||||
public function addPsr4($prefix, $paths, $prepend = false)
|
||||
{
|
||||
if (!$prefix) {
|
||||
// Register directories for the root namespace.
|
||||
if ($prepend) {
|
||||
$this->fallbackDirsPsr4 = array_merge(
|
||||
(array) $paths,
|
||||
$this->fallbackDirsPsr4
|
||||
);
|
||||
} else {
|
||||
$this->fallbackDirsPsr4 = array_merge(
|
||||
$this->fallbackDirsPsr4,
|
||||
(array) $paths
|
||||
);
|
||||
}
|
||||
} elseif (!isset($this->prefixDirsPsr4[$prefix])) {
|
||||
// Register directories for a new namespace.
|
||||
$length = strlen($prefix);
|
||||
if ('\\' !== $prefix[$length - 1]) {
|
||||
throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator.");
|
||||
}
|
||||
$this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
|
||||
$this->prefixDirsPsr4[$prefix] = (array) $paths;
|
||||
} elseif ($prepend) {
|
||||
// Prepend directories for an already registered namespace.
|
||||
$this->prefixDirsPsr4[$prefix] = array_merge(
|
||||
(array) $paths,
|
||||
$this->prefixDirsPsr4[$prefix]
|
||||
);
|
||||
} else {
|
||||
// Append directories for an already registered namespace.
|
||||
$this->prefixDirsPsr4[$prefix] = array_merge(
|
||||
$this->prefixDirsPsr4[$prefix],
|
||||
(array) $paths
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Registers a set of PSR-0 directories for a given prefix,
|
||||
* replacing any others previously set for this prefix.
|
||||
*
|
||||
* @param string $prefix The prefix
|
||||
* @param array|string $paths The PSR-0 base directories
|
||||
*/
|
||||
public function set($prefix, $paths)
|
||||
{
|
||||
if (!$prefix) {
|
||||
$this->fallbackDirsPsr0 = (array) $paths;
|
||||
} else {
|
||||
$this->prefixesPsr0[$prefix[0]][$prefix] = (array) $paths;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Registers a set of PSR-4 directories for a given namespace,
|
||||
* replacing any others previously set for this namespace.
|
||||
*
|
||||
* @param string $prefix The prefix/namespace, with trailing '\\'
|
||||
* @param array|string $paths The PSR-4 base directories
|
||||
*
|
||||
* @throws \InvalidArgumentException
|
||||
*/
|
||||
public function setPsr4($prefix, $paths)
|
||||
{
|
||||
if (!$prefix) {
|
||||
$this->fallbackDirsPsr4 = (array) $paths;
|
||||
} else {
|
||||
$length = strlen($prefix);
|
||||
if ('\\' !== $prefix[$length - 1]) {
|
||||
throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator.");
|
||||
}
|
||||
$this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
|
||||
$this->prefixDirsPsr4[$prefix] = (array) $paths;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Turns on searching the include path for class files.
|
||||
*
|
||||
* @param bool $useIncludePath
|
||||
*/
|
||||
public function setUseIncludePath($useIncludePath)
|
||||
{
|
||||
$this->useIncludePath = $useIncludePath;
|
||||
}
|
||||
|
||||
/**
|
||||
* Can be used to check if the autoloader uses the include path to check
|
||||
* for classes.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function getUseIncludePath()
|
||||
{
|
||||
return $this->useIncludePath;
|
||||
}
|
||||
|
||||
/**
|
||||
* Turns off searching the prefix and fallback directories for classes
|
||||
* that have not been registered with the class map.
|
||||
*
|
||||
* @param bool $classMapAuthoritative
|
||||
*/
|
||||
public function setClassMapAuthoritative($classMapAuthoritative)
|
||||
{
|
||||
$this->classMapAuthoritative = $classMapAuthoritative;
|
||||
}
|
||||
|
||||
/**
|
||||
* Should class lookup fail if not found in the current class map?
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function isClassMapAuthoritative()
|
||||
{
|
||||
return $this->classMapAuthoritative;
|
||||
}
|
||||
|
||||
/**
|
||||
* APCu prefix to use to cache found/not-found classes, if the extension is enabled.
|
||||
*
|
||||
* @param string|null $apcuPrefix
|
||||
*/
|
||||
public function setApcuPrefix($apcuPrefix)
|
||||
{
|
||||
$this->apcuPrefix = function_exists('apcu_fetch') && ini_get('apc.enabled') ? $apcuPrefix : null;
|
||||
}
|
||||
|
||||
/**
|
||||
* The APCu prefix in use, or null if APCu caching is not enabled.
|
||||
*
|
||||
* @return string|null
|
||||
*/
|
||||
public function getApcuPrefix()
|
||||
{
|
||||
return $this->apcuPrefix;
|
||||
}
|
||||
|
||||
/**
|
||||
* Registers this instance as an autoloader.
|
||||
*
|
||||
* @param bool $prepend Whether to prepend the autoloader or not
|
||||
*/
|
||||
public function register($prepend = false)
|
||||
{
|
||||
spl_autoload_register(array($this, 'loadClass'), true, $prepend);
|
||||
}
|
||||
|
||||
/**
|
||||
* Unregisters this instance as an autoloader.
|
||||
*/
|
||||
public function unregister()
|
||||
{
|
||||
spl_autoload_unregister(array($this, 'loadClass'));
|
||||
}
|
||||
|
||||
/**
|
||||
* Loads the given class or interface.
|
||||
*
|
||||
* @param string $class The name of the class
|
||||
* @return bool|null True if loaded, null otherwise
|
||||
*/
|
||||
public function loadClass($class)
|
||||
{
|
||||
if ($file = $this->findFile($class)) {
|
||||
includeFile($file);
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Finds the path to the file where the class is defined.
|
||||
*
|
||||
* @param string $class The name of the class
|
||||
*
|
||||
* @return string|false The path if found, false otherwise
|
||||
*/
|
||||
public function findFile($class)
|
||||
{
|
||||
// class map lookup
|
||||
if (isset($this->classMap[$class])) {
|
||||
return $this->classMap[$class];
|
||||
}
|
||||
if ($this->classMapAuthoritative || isset($this->missingClasses[$class])) {
|
||||
return false;
|
||||
}
|
||||
if (null !== $this->apcuPrefix) {
|
||||
$file = apcu_fetch($this->apcuPrefix.$class, $hit);
|
||||
if ($hit) {
|
||||
return $file;
|
||||
}
|
||||
}
|
||||
|
||||
$file = $this->findFileWithExtension($class, '.php');
|
||||
|
||||
// Search for Hack files if we are running on HHVM
|
||||
if (false === $file && defined('HHVM_VERSION')) {
|
||||
$file = $this->findFileWithExtension($class, '.hh');
|
||||
}
|
||||
|
||||
if (null !== $this->apcuPrefix) {
|
||||
apcu_add($this->apcuPrefix.$class, $file);
|
||||
}
|
||||
|
||||
if (false === $file) {
|
||||
// Remember that this class does not exist.
|
||||
$this->missingClasses[$class] = true;
|
||||
}
|
||||
|
||||
return $file;
|
||||
}
|
||||
|
||||
private function findFileWithExtension($class, $ext)
|
||||
{
|
||||
// PSR-4 lookup
|
||||
$logicalPathPsr4 = strtr($class, '\\', DIRECTORY_SEPARATOR) . $ext;
|
||||
|
||||
$first = $class[0];
|
||||
if (isset($this->prefixLengthsPsr4[$first])) {
|
||||
foreach ($this->prefixLengthsPsr4[$first] as $prefix => $length) {
|
||||
if (0 === strpos($class, $prefix)) {
|
||||
foreach ($this->prefixDirsPsr4[$prefix] as $dir) {
|
||||
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $length))) {
|
||||
return $file;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// PSR-4 fallback dirs
|
||||
foreach ($this->fallbackDirsPsr4 as $dir) {
|
||||
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) {
|
||||
return $file;
|
||||
}
|
||||
}
|
||||
|
||||
// PSR-0 lookup
|
||||
if (false !== $pos = strrpos($class, '\\')) {
|
||||
// namespaced class name
|
||||
$logicalPathPsr0 = substr($logicalPathPsr4, 0, $pos + 1)
|
||||
. strtr(substr($logicalPathPsr4, $pos + 1), '_', DIRECTORY_SEPARATOR);
|
||||
} else {
|
||||
// PEAR-like class name
|
||||
$logicalPathPsr0 = strtr($class, '_', DIRECTORY_SEPARATOR) . $ext;
|
||||
}
|
||||
|
||||
if (isset($this->prefixesPsr0[$first])) {
|
||||
foreach ($this->prefixesPsr0[$first] as $prefix => $dirs) {
|
||||
if (0 === strpos($class, $prefix)) {
|
||||
foreach ($dirs as $dir) {
|
||||
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
|
||||
return $file;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// PSR-0 fallback dirs
|
||||
foreach ($this->fallbackDirsPsr0 as $dir) {
|
||||
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
|
||||
return $file;
|
||||
}
|
||||
}
|
||||
|
||||
// PSR-0 include paths.
|
||||
if ($this->useIncludePath && $file = stream_resolve_include_path($logicalPathPsr0)) {
|
||||
return $file;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Scope isolated include.
|
||||
*
|
||||
* Prevents access to $this/self from included files.
|
||||
*/
|
||||
function includeFile($file)
|
||||
{
|
||||
include $file;
|
||||
}
|
||||
21
wp-content/plugins/popups/vendor/composer/LICENSE
vendored
Normal file
21
wp-content/plugins/popups/vendor/composer/LICENSE
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
|
||||
Copyright (c) 2016 Nils Adermann, Jordi Boggiano
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is furnished
|
||||
to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
|
||||
10
wp-content/plugins/popups/vendor/composer/autoload_classmap.php
vendored
Normal file
10
wp-content/plugins/popups/vendor/composer/autoload_classmap.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
// autoload_classmap.php @generated by Composer
|
||||
|
||||
$vendorDir = dirname(dirname(__FILE__));
|
||||
$baseDir = dirname($vendorDir);
|
||||
|
||||
return array(
|
||||
'Mobile_Detect' => $vendorDir . '/mobiledetect/mobiledetectlib/Mobile_Detect.php',
|
||||
);
|
||||
10
wp-content/plugins/popups/vendor/composer/autoload_files.php
vendored
Normal file
10
wp-content/plugins/popups/vendor/composer/autoload_files.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
// autoload_files.php @generated by Composer
|
||||
|
||||
$vendorDir = dirname(dirname(__FILE__));
|
||||
$baseDir = dirname($vendorDir);
|
||||
|
||||
return array(
|
||||
'f15d016d70663d5e96ccd2b863511eb8' => $vendorDir . '/cbschuld/browser.php/lib/Browser.php',
|
||||
);
|
||||
10
wp-content/plugins/popups/vendor/composer/autoload_namespaces.php
vendored
Normal file
10
wp-content/plugins/popups/vendor/composer/autoload_namespaces.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
// autoload_namespaces.php @generated by Composer
|
||||
|
||||
$vendorDir = dirname(dirname(__FILE__));
|
||||
$baseDir = dirname($vendorDir);
|
||||
|
||||
return array(
|
||||
'Detection' => array($vendorDir . '/mobiledetect/mobiledetectlib/namespaced'),
|
||||
);
|
||||
10
wp-content/plugins/popups/vendor/composer/autoload_psr4.php
vendored
Normal file
10
wp-content/plugins/popups/vendor/composer/autoload_psr4.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
// autoload_psr4.php @generated by Composer
|
||||
|
||||
$vendorDir = dirname(dirname(__FILE__));
|
||||
$baseDir = dirname($vendorDir);
|
||||
|
||||
return array(
|
||||
'Jaybizzle\\CrawlerDetect\\' => array($vendorDir . '/jaybizzle/crawler-detect/src'),
|
||||
);
|
||||
70
wp-content/plugins/popups/vendor/composer/autoload_real.php
vendored
Normal file
70
wp-content/plugins/popups/vendor/composer/autoload_real.php
vendored
Normal file
@@ -0,0 +1,70 @@
|
||||
<?php
|
||||
|
||||
// autoload_real.php @generated by Composer
|
||||
|
||||
class ComposerAutoloaderInit28a0833b49959d9021dc40cd45dfc52b
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
public static function loadClassLoader($class)
|
||||
{
|
||||
if ('Composer\Autoload\ClassLoader' === $class) {
|
||||
require __DIR__ . '/ClassLoader.php';
|
||||
}
|
||||
}
|
||||
|
||||
public static function getLoader()
|
||||
{
|
||||
if (null !== self::$loader) {
|
||||
return self::$loader;
|
||||
}
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInit28a0833b49959d9021dc40cd45dfc52b', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit28a0833b49959d9021dc40cd45dfc52b', 'loadClassLoader'));
|
||||
|
||||
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
||||
if ($useStaticLoader) {
|
||||
require_once __DIR__ . '/autoload_static.php';
|
||||
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInit28a0833b49959d9021dc40cd45dfc52b::getInitializer($loader));
|
||||
} else {
|
||||
$map = require __DIR__ . '/autoload_namespaces.php';
|
||||
foreach ($map as $namespace => $path) {
|
||||
$loader->set($namespace, $path);
|
||||
}
|
||||
|
||||
$map = require __DIR__ . '/autoload_psr4.php';
|
||||
foreach ($map as $namespace => $path) {
|
||||
$loader->setPsr4($namespace, $path);
|
||||
}
|
||||
|
||||
$classMap = require __DIR__ . '/autoload_classmap.php';
|
||||
if ($classMap) {
|
||||
$loader->addClassMap($classMap);
|
||||
}
|
||||
}
|
||||
|
||||
$loader->register(true);
|
||||
|
||||
if ($useStaticLoader) {
|
||||
$includeFiles = Composer\Autoload\ComposerStaticInit28a0833b49959d9021dc40cd45dfc52b::$files;
|
||||
} else {
|
||||
$includeFiles = require __DIR__ . '/autoload_files.php';
|
||||
}
|
||||
foreach ($includeFiles as $fileIdentifier => $file) {
|
||||
composerRequire28a0833b49959d9021dc40cd45dfc52b($fileIdentifier, $file);
|
||||
}
|
||||
|
||||
return $loader;
|
||||
}
|
||||
}
|
||||
|
||||
function composerRequire28a0833b49959d9021dc40cd45dfc52b($fileIdentifier, $file)
|
||||
{
|
||||
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
||||
require $file;
|
||||
|
||||
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
|
||||
}
|
||||
}
|
||||
51
wp-content/plugins/popups/vendor/composer/autoload_static.php
vendored
Normal file
51
wp-content/plugins/popups/vendor/composer/autoload_static.php
vendored
Normal file
@@ -0,0 +1,51 @@
|
||||
<?php
|
||||
|
||||
// autoload_static.php @generated by Composer
|
||||
|
||||
namespace Composer\Autoload;
|
||||
|
||||
class ComposerStaticInit28a0833b49959d9021dc40cd45dfc52b
|
||||
{
|
||||
public static $files = array (
|
||||
'f15d016d70663d5e96ccd2b863511eb8' => __DIR__ . '/..' . '/cbschuld/browser.php/lib/Browser.php',
|
||||
);
|
||||
|
||||
public static $prefixLengthsPsr4 = array (
|
||||
'J' =>
|
||||
array (
|
||||
'Jaybizzle\\CrawlerDetect\\' => 24,
|
||||
),
|
||||
);
|
||||
|
||||
public static $prefixDirsPsr4 = array (
|
||||
'Jaybizzle\\CrawlerDetect\\' =>
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/jaybizzle/crawler-detect/src',
|
||||
),
|
||||
);
|
||||
|
||||
public static $prefixesPsr0 = array (
|
||||
'D' =>
|
||||
array (
|
||||
'Detection' =>
|
||||
array (
|
||||
0 => __DIR__ . '/..' . '/mobiledetect/mobiledetectlib/namespaced',
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
public static $classMap = array (
|
||||
'Mobile_Detect' => __DIR__ . '/..' . '/mobiledetect/mobiledetectlib/Mobile_Detect.php',
|
||||
);
|
||||
|
||||
public static function getInitializer(ClassLoader $loader)
|
||||
{
|
||||
return \Closure::bind(function () use ($loader) {
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit28a0833b49959d9021dc40cd45dfc52b::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit28a0833b49959d9021dc40cd45dfc52b::$prefixDirsPsr4;
|
||||
$loader->prefixesPsr0 = ComposerStaticInit28a0833b49959d9021dc40cd45dfc52b::$prefixesPsr0;
|
||||
$loader->classMap = ComposerStaticInit28a0833b49959d9021dc40cd45dfc52b::$classMap;
|
||||
|
||||
}, null, ClassLoader::class);
|
||||
}
|
||||
}
|
||||
154
wp-content/plugins/popups/vendor/composer/installed.json
vendored
Normal file
154
wp-content/plugins/popups/vendor/composer/installed.json
vendored
Normal file
@@ -0,0 +1,154 @@
|
||||
[
|
||||
{
|
||||
"name": "cbschuld/browser.php",
|
||||
"version": "dev-master",
|
||||
"version_normalized": "9999999-dev",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/cbschuld/Browser.php.git",
|
||||
"reference": "6bde9efb0b14a4917affe741500c29149419e491"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/cbschuld/Browser.php/zipball/6bde9efb0b14a4917affe741500c29149419e491",
|
||||
"reference": "6bde9efb0b14a4917affe741500c29149419e491",
|
||||
"shasum": ""
|
||||
},
|
||||
"time": "2017-07-31T23:43:17+00:00",
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "1.95-dev"
|
||||
}
|
||||
},
|
||||
"installation-source": "source",
|
||||
"autoload": {
|
||||
"files": [
|
||||
"lib/Browser.php"
|
||||
]
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Chris Schuld",
|
||||
"email": "chris@chrisschuld.com",
|
||||
"homepage": "http://chrisschuld.com"
|
||||
}
|
||||
],
|
||||
"description": "A PHP Class to detect a user's Browser",
|
||||
"homepage": "http://chrisschuld.com/projects/browser-php-detecting-a-users-browser-from-php.html",
|
||||
"keywords": [
|
||||
"browser",
|
||||
"detection",
|
||||
"user agent"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "jaybizzle/crawler-detect",
|
||||
"version": "v1.2.63",
|
||||
"version_normalized": "1.2.63.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/JayBizzle/Crawler-Detect.git",
|
||||
"reference": "3566bc69d0839ab2dfd739a660b00f25a6f02031"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/JayBizzle/Crawler-Detect/zipball/3566bc69d0839ab2dfd739a660b00f25a6f02031",
|
||||
"reference": "3566bc69d0839ab2dfd739a660b00f25a6f02031",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=5.3.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^4.8|^5.5|^6.5",
|
||||
"satooshi/php-coveralls": "1.*"
|
||||
},
|
||||
"time": "2018-05-21T19:56:44+00:00",
|
||||
"type": "library",
|
||||
"installation-source": "dist",
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Jaybizzle\\CrawlerDetect\\": "src/"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Mark Beech",
|
||||
"email": "m@rkbee.ch",
|
||||
"role": "Developer"
|
||||
}
|
||||
],
|
||||
"description": "CrawlerDetect is a PHP class for detecting bots/crawlers/spiders via the user agent",
|
||||
"homepage": "https://github.com/JayBizzle/Crawler-Detect/",
|
||||
"keywords": [
|
||||
"crawler",
|
||||
"crawler detect",
|
||||
"crawler detector",
|
||||
"crawlerdetect",
|
||||
"php crawler detect"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "mobiledetect/mobiledetectlib",
|
||||
"version": "2.8.31",
|
||||
"version_normalized": "2.8.31.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/serbanghita/Mobile-Detect.git",
|
||||
"reference": "adb882ea3b9d154f087ecb2c333180dad6f4dd37"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/serbanghita/Mobile-Detect/zipball/adb882ea3b9d154f087ecb2c333180dad6f4dd37",
|
||||
"reference": "adb882ea3b9d154f087ecb2c333180dad6f4dd37",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=5.0.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "~4.8.35||~5.7"
|
||||
},
|
||||
"time": "2018-02-26T19:39:55+00:00",
|
||||
"type": "library",
|
||||
"installation-source": "dist",
|
||||
"autoload": {
|
||||
"classmap": [
|
||||
"Mobile_Detect.php"
|
||||
],
|
||||
"psr-0": {
|
||||
"Detection": "namespaced/"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Serban Ghita",
|
||||
"email": "serbanghita@gmail.com",
|
||||
"homepage": "http://mobiledetect.net",
|
||||
"role": "Developer"
|
||||
}
|
||||
],
|
||||
"description": "Mobile_Detect is a lightweight PHP class for detecting mobile devices. It uses the User-Agent string combined with specific HTTP headers to detect the mobile environment.",
|
||||
"homepage": "https://github.com/serbanghita/Mobile-Detect",
|
||||
"keywords": [
|
||||
"detect mobile devices",
|
||||
"mobile",
|
||||
"mobile detect",
|
||||
"mobile detector",
|
||||
"php mobile detect"
|
||||
]
|
||||
}
|
||||
]
|
||||
22
wp-content/plugins/popups/vendor/jaybizzle/crawler-detect/LICENSE
vendored
Normal file
22
wp-content/plugins/popups/vendor/jaybizzle/crawler-detect/LICENSE
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2015-2018 Mark Beech
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
||||
68
wp-content/plugins/popups/vendor/jaybizzle/crawler-detect/README.md
vendored
Normal file
68
wp-content/plugins/popups/vendor/jaybizzle/crawler-detect/README.md
vendored
Normal file
@@ -0,0 +1,68 @@
|
||||
<p align="center"><a href="http://crawlerdetect.io/" target="_blank"><img src="https://cloud.githubusercontent.com/assets/340752/23082173/1bd1a396-f550-11e6-8aba-4d3c75edea2f.png" width="321" height="219" /></a><br><br>
|
||||
<a href="http://crawlerdetect.io/" target="_blank">crawlerdetect.io</a>
|
||||
<br><br>
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<a href="https://travis-ci.org/JayBizzle/Crawler-Detect"><img src="https://img.shields.io/travis/JayBizzle/Crawler-Detect/master.svg?style=flat-square" /></a>
|
||||
<a href="https://packagist.org/packages/jaybizzle/crawler-detect"><img src="https://img.shields.io/packagist/dm/JayBizzle/Crawler-Detect.svg?style=flat-square" /></a>
|
||||
<a href="https://scrutinizer-ci.com/g/JayBizzle/Crawler-Detect/?branch=master"><img src="https://img.shields.io/scrutinizer/g/JayBizzle/Crawler-Detect.svg?style=flat-square" /></a>
|
||||
<a href="https://github.com/JayBizzle/Crawler-Detect"><img src="https://img.shields.io/badge/license-MIT-ff69b4.svg?style=flat-square" /></a>
|
||||
<a href="https://packagist.org/packages/jaybizzle/crawler-detect"><img src="https://img.shields.io/packagist/v/jaybizzle/Crawler-Detect.svg?style=flat-square" /></a>
|
||||
<a href="https://styleci.io/repos/32755917"><img src="https://styleci.io/repos/32755917/shield" /></a>
|
||||
<a href="https://coveralls.io/github/JayBizzle/Crawler-Detect"><img src="https://img.shields.io/coveralls/JayBizzle/Crawler-Detect/master.svg?style=flat-square" /></a>
|
||||
</p>
|
||||
|
||||
## About CrawlerDetect
|
||||
|
||||
CrawlerDetect is a PHP class for detecting bots/crawlers/spiders via the user agent and http_from header. Currently able to detect 1,000's of bots/spiders/crawlers.
|
||||
|
||||
### Installation
|
||||
Run `composer require jaybizzle/crawler-detect 1.*` or add `"jaybizzle/crawler-detect" :"1.*"` to your `composer.json`.
|
||||
|
||||
### Usage
|
||||
```PHP
|
||||
use Jaybizzle\CrawlerDetect\CrawlerDetect;
|
||||
|
||||
$CrawlerDetect = new CrawlerDetect;
|
||||
|
||||
// Check the user agent of the current 'visitor'
|
||||
if($CrawlerDetect->isCrawler()) {
|
||||
// true if crawler user agent detected
|
||||
}
|
||||
|
||||
// Pass a user agent as a string
|
||||
if($CrawlerDetect->isCrawler('Mozilla/5.0 (compatible; Sosospider/2.0; +http://help.soso.com/webspider.htm)')) {
|
||||
// true if crawler user agent detected
|
||||
}
|
||||
|
||||
// Output the name of the bot that matched (if any)
|
||||
echo $CrawlerDetect->getMatches();
|
||||
```
|
||||
|
||||
### Contributing
|
||||
If you find a bot/spider/crawler user agent that CrawlerDetect fails to detect, please submit a pull request with the regex pattern added to the `$data` array in `Fixtures/Crawlers.php` and add the failing user agent to `tests/crawlers.txt`.
|
||||
|
||||
Failing that, just create an issue with the user agent you have found, and we'll take it from there :)
|
||||
|
||||
### Laravel Package
|
||||
If you would like to use this with Laravel 4/5, please see [Laravel-Crawler-Detect](https://github.com/JayBizzle/Laravel-Crawler-Detect)
|
||||
|
||||
### Symfony Bundle
|
||||
To use this library with Symfony 2/3/4, check out the [CrawlerDetectBundle](https://github.com/nicolasmure/CrawlerDetectBundle).
|
||||
|
||||
### YII2 Extension
|
||||
To use this library with the YII2 framework, check out [yii2-crawler-detect](https://github.com/AlikDex/yii2-crawler-detect).
|
||||
|
||||
### ES6 Library
|
||||
To use this library with NodeJS or any ES6 application based, check out [es6-crawler-detect](https://github.com/JefferyHus/es6-crawler-detect).
|
||||
|
||||
### .NET Library
|
||||
To use this library in a .net standard (including .net core) based project, check out [NetCrawlerDetect](https://github.com/gplumb/NetCrawlerDetect).
|
||||
|
||||
### Nette Extension
|
||||
To use this library with the Nette framework, checkout [NetteCrawlerDetect](https://github.com/JanGalek/Crawler-Detect).
|
||||
|
||||
_Parts of this class are based on the brilliant [MobileDetect](https://github.com/serbanghita/Mobile-Detect)_
|
||||
|
||||
[](https://github.com/JayBizzle/Crawler-Detect)
|
||||
30
wp-content/plugins/popups/vendor/jaybizzle/crawler-detect/composer.json
vendored
Normal file
30
wp-content/plugins/popups/vendor/jaybizzle/crawler-detect/composer.json
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"name": "jaybizzle/crawler-detect",
|
||||
"type": "library",
|
||||
"description": "CrawlerDetect is a PHP class for detecting bots/crawlers/spiders via the user agent",
|
||||
"keywords": ["crawler", "crawler detect", "crawler detector", "crawlerdetect", "php crawler detect"],
|
||||
"homepage": "https://github.com/JayBizzle/Crawler-Detect/",
|
||||
"license": "MIT",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Mark Beech",
|
||||
"email": "m@rkbee.ch",
|
||||
"role": "Developer"
|
||||
}
|
||||
],
|
||||
"require": {
|
||||
"php": ">=5.3.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^4.8|^5.5|^6.5",
|
||||
"satooshi/php-coveralls": "1.*"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Jaybizzle\\CrawlerDetect\\": "src/"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"test": "vendor/bin/phpunit"
|
||||
}
|
||||
}
|
||||
41
wp-content/plugins/popups/vendor/jaybizzle/crawler-detect/export.php
vendored
Normal file
41
wp-content/plugins/popups/vendor/jaybizzle/crawler-detect/export.php
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Crawler Detect - the web crawler detection library.
|
||||
*
|
||||
* (c) Mark Beech <m@rkbee.ch>
|
||||
*
|
||||
* This source file is subject to the MIT license that is bundled
|
||||
* with this source code in the file LICENSE.
|
||||
*/
|
||||
|
||||
require 'src/Fixtures/AbstractProvider.php';
|
||||
require 'src/Fixtures/Crawlers.php';
|
||||
require 'src/Fixtures/Exclusions.php';
|
||||
require 'src/Fixtures/Headers.php';
|
||||
|
||||
$src = array(
|
||||
'Crawlers',
|
||||
'Exclusions',
|
||||
'Headers',
|
||||
);
|
||||
|
||||
foreach ($src as $class) {
|
||||
$class = "Jaybizzle\\CrawlerDetect\\Fixtures\\$class";
|
||||
$object = new $class;
|
||||
|
||||
outputJson($object);
|
||||
outputTxt($object);
|
||||
}
|
||||
|
||||
function outputJson($object)
|
||||
{
|
||||
$className = (new ReflectionClass($object))->getShortName();
|
||||
file_put_contents("raw/$className.json", json_encode($object->getAll()));
|
||||
}
|
||||
|
||||
function outputTxt($object)
|
||||
{
|
||||
$className = (new ReflectionClass($object))->getShortName();
|
||||
file_put_contents("raw/$className.txt", implode($object->getAll(), PHP_EOL));
|
||||
}
|
||||
1
wp-content/plugins/popups/vendor/jaybizzle/crawler-detect/raw/Crawlers.json
vendored
Normal file
1
wp-content/plugins/popups/vendor/jaybizzle/crawler-detect/raw/Crawlers.json
vendored
Normal file
File diff suppressed because one or more lines are too long
1141
wp-content/plugins/popups/vendor/jaybizzle/crawler-detect/raw/Crawlers.txt
vendored
Normal file
1141
wp-content/plugins/popups/vendor/jaybizzle/crawler-detect/raw/Crawlers.txt
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1
wp-content/plugins/popups/vendor/jaybizzle/crawler-detect/raw/Exclusions.json
vendored
Normal file
1
wp-content/plugins/popups/vendor/jaybizzle/crawler-detect/raw/Exclusions.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
["Safari.[\\d\\.]*","Firefox.[\\d\\.]*","Chrome.[\\d\\.]*","Chromium.[\\d\\.]*","MSIE.[\\d\\.]","Opera\\\/[\\d\\.]*","Mozilla.[\\d\\.]*","AppleWebKit.[\\d\\.]*","Trident.[\\d\\.]*","Windows NT.[\\d\\.]*","Android [\\d\\.]*","Macintosh.","Ubuntu","Linux","[ ]Intel","Mac OS X [\\d_]*","(like )?Gecko(.[\\d\\.]*)?","KHTML,","CriOS.[\\d\\.]*","CPU iPhone OS ([0-9_])* like Mac OS X","CPU OS ([0-9_])* like Mac OS X","iPod","compatible","x86_..","i686","x64","X11","rv:[\\d\\.]*","Version.[\\d\\.]*","WOW64","Win64","Dalvik.[\\d\\.]*"," \\.NET CLR [\\d\\.]*","Presto.[\\d\\.]*","Media Center PC","BlackBerry","Build","Opera Mini\\\/\\d{1,2}\\.\\d{1,2}\\.[\\d\\.]*\\\/\\d{1,2}\\.","Opera"," \\.NET[\\d\\.]*","cubot",";"]
|
||||
42
wp-content/plugins/popups/vendor/jaybizzle/crawler-detect/raw/Exclusions.txt
vendored
Normal file
42
wp-content/plugins/popups/vendor/jaybizzle/crawler-detect/raw/Exclusions.txt
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
Safari.[\d\.]*
|
||||
Firefox.[\d\.]*
|
||||
Chrome.[\d\.]*
|
||||
Chromium.[\d\.]*
|
||||
MSIE.[\d\.]
|
||||
Opera\/[\d\.]*
|
||||
Mozilla.[\d\.]*
|
||||
AppleWebKit.[\d\.]*
|
||||
Trident.[\d\.]*
|
||||
Windows NT.[\d\.]*
|
||||
Android [\d\.]*
|
||||
Macintosh.
|
||||
Ubuntu
|
||||
Linux
|
||||
[ ]Intel
|
||||
Mac OS X [\d_]*
|
||||
(like )?Gecko(.[\d\.]*)?
|
||||
KHTML,
|
||||
CriOS.[\d\.]*
|
||||
CPU iPhone OS ([0-9_])* like Mac OS X
|
||||
CPU OS ([0-9_])* like Mac OS X
|
||||
iPod
|
||||
compatible
|
||||
x86_..
|
||||
i686
|
||||
x64
|
||||
X11
|
||||
rv:[\d\.]*
|
||||
Version.[\d\.]*
|
||||
WOW64
|
||||
Win64
|
||||
Dalvik.[\d\.]*
|
||||
\.NET CLR [\d\.]*
|
||||
Presto.[\d\.]*
|
||||
Media Center PC
|
||||
BlackBerry
|
||||
Build
|
||||
Opera Mini\/\d{1,2}\.\d{1,2}\.[\d\.]*\/\d{1,2}\.
|
||||
Opera
|
||||
\.NET[\d\.]*
|
||||
cubot
|
||||
;
|
||||
1
wp-content/plugins/popups/vendor/jaybizzle/crawler-detect/raw/Headers.json
vendored
Normal file
1
wp-content/plugins/popups/vendor/jaybizzle/crawler-detect/raw/Headers.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
["HTTP_USER_AGENT","HTTP_X_OPERAMINI_PHONE_UA","HTTP_X_DEVICE_USER_AGENT","HTTP_X_ORIGINAL_USER_AGENT","HTTP_X_SKYFIRE_PHONE","HTTP_X_BOLT_PHONE_UA","HTTP_DEVICE_STOCK_UA","HTTP_X_UCBROWSER_DEVICE_UA","HTTP_FROM","HTTP_X_SCANNER"]
|
||||
10
wp-content/plugins/popups/vendor/jaybizzle/crawler-detect/raw/Headers.txt
vendored
Normal file
10
wp-content/plugins/popups/vendor/jaybizzle/crawler-detect/raw/Headers.txt
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
HTTP_USER_AGENT
|
||||
HTTP_X_OPERAMINI_PHONE_UA
|
||||
HTTP_X_DEVICE_USER_AGENT
|
||||
HTTP_X_ORIGINAL_USER_AGENT
|
||||
HTTP_X_SKYFIRE_PHONE
|
||||
HTTP_X_BOLT_PHONE_UA
|
||||
HTTP_DEVICE_STOCK_UA
|
||||
HTTP_X_UCBROWSER_DEVICE_UA
|
||||
HTTP_FROM
|
||||
HTTP_X_SCANNER
|
||||
191
wp-content/plugins/popups/vendor/jaybizzle/crawler-detect/src/CrawlerDetect.php
vendored
Normal file
191
wp-content/plugins/popups/vendor/jaybizzle/crawler-detect/src/CrawlerDetect.php
vendored
Normal file
@@ -0,0 +1,191 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Crawler Detect - the web crawler detection library.
|
||||
*
|
||||
* (c) Mark Beech <m@rkbee.ch>
|
||||
*
|
||||
* This source file is subject to the MIT license that is bundled
|
||||
* with this source code in the file LICENSE.
|
||||
*/
|
||||
|
||||
namespace Jaybizzle\CrawlerDetect;
|
||||
|
||||
use Jaybizzle\CrawlerDetect\Fixtures\Headers;
|
||||
use Jaybizzle\CrawlerDetect\Fixtures\Crawlers;
|
||||
use Jaybizzle\CrawlerDetect\Fixtures\Exclusions;
|
||||
|
||||
class CrawlerDetect
|
||||
{
|
||||
/**
|
||||
* The user agent.
|
||||
*
|
||||
* @var null
|
||||
*/
|
||||
protected $userAgent = null;
|
||||
|
||||
/**
|
||||
* Headers that contain a user agent.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $httpHeaders = array();
|
||||
|
||||
/**
|
||||
* Store regex matches.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $matches = array();
|
||||
|
||||
/**
|
||||
* Crawlers object.
|
||||
*
|
||||
* @var \Jaybizzle\CrawlerDetect\Fixtures\Crawlers
|
||||
*/
|
||||
protected $crawlers;
|
||||
|
||||
/**
|
||||
* Exclusions object.
|
||||
*
|
||||
* @var \Jaybizzle\CrawlerDetect\Fixtures\Exclusions
|
||||
*/
|
||||
protected $exclusions;
|
||||
|
||||
/**
|
||||
* Headers object.
|
||||
*
|
||||
* @var \Jaybizzle\CrawlerDetect\Fixtures\Headers
|
||||
*/
|
||||
protected $uaHttpHeaders;
|
||||
|
||||
/**
|
||||
* The compiled regex string.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $compiledRegex;
|
||||
|
||||
/**
|
||||
* The compiled exclusions regex string.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $compiledExclusions;
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct(array $headers = null, $userAgent = null)
|
||||
{
|
||||
$this->crawlers = new Crawlers();
|
||||
$this->exclusions = new Exclusions();
|
||||
$this->uaHttpHeaders = new Headers();
|
||||
|
||||
$this->compiledRegex = $this->compileRegex($this->crawlers->getAll());
|
||||
$this->compiledExclusions = $this->compileRegex($this->exclusions->getAll());
|
||||
|
||||
$this->setHttpHeaders($headers);
|
||||
$this->userAgent = $this->setUserAgent($userAgent);
|
||||
}
|
||||
|
||||
/**
|
||||
* Compile the regex patterns into one regex string.
|
||||
*
|
||||
* @param array
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function compileRegex($patterns)
|
||||
{
|
||||
return '('.implode('|', $patterns).')';
|
||||
}
|
||||
|
||||
/**
|
||||
* Set HTTP headers.
|
||||
*
|
||||
* @param array|null $httpHeaders
|
||||
*/
|
||||
public function setHttpHeaders($httpHeaders)
|
||||
{
|
||||
// Use global _SERVER if $httpHeaders aren't defined.
|
||||
if (! is_array($httpHeaders) || ! count($httpHeaders)) {
|
||||
$httpHeaders = $_SERVER;
|
||||
}
|
||||
|
||||
// Clear existing headers.
|
||||
$this->httpHeaders = array();
|
||||
|
||||
// Only save HTTP headers. In PHP land, that means
|
||||
// only _SERVER vars that start with HTTP_.
|
||||
foreach ($httpHeaders as $key => $value) {
|
||||
if (strpos($key, 'HTTP_') === 0) {
|
||||
$this->httpHeaders[$key] = $value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Return user agent headers.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getUaHttpHeaders()
|
||||
{
|
||||
return $this->uaHttpHeaders->getAll();
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the user agent.
|
||||
*
|
||||
* @param string $userAgent
|
||||
*/
|
||||
public function setUserAgent($userAgent)
|
||||
{
|
||||
if (is_null($userAgent)) {
|
||||
foreach ($this->getUaHttpHeaders() as $altHeader) {
|
||||
if (isset($this->httpHeaders[$altHeader])) {
|
||||
$userAgent .= $this->httpHeaders[$altHeader].' ';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return $userAgent;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check user agent string against the regex.
|
||||
*
|
||||
* @param string|null $userAgent
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function isCrawler($userAgent = null)
|
||||
{
|
||||
$agent = $userAgent ?: $this->userAgent;
|
||||
|
||||
$agent = preg_replace('/'.$this->compiledExclusions.'/i', '', $agent);
|
||||
|
||||
if (strlen(trim($agent)) == 0) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$result = preg_match('/'.$this->compiledRegex.'/i', trim($agent), $matches);
|
||||
|
||||
if ($matches) {
|
||||
$this->matches = $matches;
|
||||
}
|
||||
|
||||
return (bool) $result;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the matches.
|
||||
*
|
||||
* @return string|null
|
||||
*/
|
||||
public function getMatches()
|
||||
{
|
||||
return isset($this->matches[0]) ? $this->matches[0] : null;
|
||||
}
|
||||
}
|
||||
31
wp-content/plugins/popups/vendor/jaybizzle/crawler-detect/src/Fixtures/AbstractProvider.php
vendored
Normal file
31
wp-content/plugins/popups/vendor/jaybizzle/crawler-detect/src/Fixtures/AbstractProvider.php
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Crawler Detect - the web crawler detection library.
|
||||
*
|
||||
* (c) Mark Beech <m@rkbee.ch>
|
||||
*
|
||||
* This source file is subject to the MIT license that is bundled
|
||||
* with this source code in the file LICENSE.
|
||||
*/
|
||||
|
||||
namespace Jaybizzle\CrawlerDetect\Fixtures;
|
||||
|
||||
abstract class AbstractProvider
|
||||
{
|
||||
/**
|
||||
* The data set.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $data;
|
||||
/**
|
||||
* Return the data set.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getAll()
|
||||
{
|
||||
return $this->data;
|
||||
}
|
||||
}
|
||||
1162
wp-content/plugins/popups/vendor/jaybizzle/crawler-detect/src/Fixtures/Crawlers.php
vendored
Normal file
1162
wp-content/plugins/popups/vendor/jaybizzle/crawler-detect/src/Fixtures/Crawlers.php
vendored
Normal file
File diff suppressed because it is too large
Load Diff
66
wp-content/plugins/popups/vendor/jaybizzle/crawler-detect/src/Fixtures/Exclusions.php
vendored
Normal file
66
wp-content/plugins/popups/vendor/jaybizzle/crawler-detect/src/Fixtures/Exclusions.php
vendored
Normal file
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Crawler Detect - the web crawler detection library.
|
||||
*
|
||||
* (c) Mark Beech <m@rkbee.ch>
|
||||
*
|
||||
* This source file is subject to the MIT license that is bundled
|
||||
* with this source code in the file LICENSE.
|
||||
*/
|
||||
|
||||
namespace Jaybizzle\CrawlerDetect\Fixtures;
|
||||
|
||||
class Exclusions extends AbstractProvider
|
||||
{
|
||||
/**
|
||||
* List of strings to remove from the user agent before running the crawler regex
|
||||
* Over a large list of user agents, this gives us about a 55% speed increase!
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $data = array(
|
||||
'Safari.[\d\.]*',
|
||||
'Firefox.[\d\.]*',
|
||||
'Chrome.[\d\.]*',
|
||||
'Chromium.[\d\.]*',
|
||||
'MSIE.[\d\.]',
|
||||
'Opera\/[\d\.]*',
|
||||
'Mozilla.[\d\.]*',
|
||||
'AppleWebKit.[\d\.]*',
|
||||
'Trident.[\d\.]*',
|
||||
'Windows NT.[\d\.]*',
|
||||
'Android [\d\.]*',
|
||||
'Macintosh.',
|
||||
'Ubuntu',
|
||||
'Linux',
|
||||
'[ ]Intel',
|
||||
'Mac OS X [\d_]*',
|
||||
'(like )?Gecko(.[\d\.]*)?',
|
||||
'KHTML,',
|
||||
'CriOS.[\d\.]*',
|
||||
'CPU iPhone OS ([0-9_])* like Mac OS X',
|
||||
'CPU OS ([0-9_])* like Mac OS X',
|
||||
'iPod',
|
||||
'compatible',
|
||||
'x86_..',
|
||||
'i686',
|
||||
'x64',
|
||||
'X11',
|
||||
'rv:[\d\.]*',
|
||||
'Version.[\d\.]*',
|
||||
'WOW64',
|
||||
'Win64',
|
||||
'Dalvik.[\d\.]*',
|
||||
' \.NET CLR [\d\.]*',
|
||||
'Presto.[\d\.]*',
|
||||
'Media Center PC',
|
||||
'BlackBerry',
|
||||
'Build',
|
||||
'Opera Mini\/\d{1,2}\.\d{1,2}\.[\d\.]*\/\d{1,2}\.',
|
||||
'Opera',
|
||||
' \.NET[\d\.]*',
|
||||
'cubot',
|
||||
';', // Remove the following characters ;
|
||||
);
|
||||
}
|
||||
37
wp-content/plugins/popups/vendor/jaybizzle/crawler-detect/src/Fixtures/Headers.php
vendored
Normal file
37
wp-content/plugins/popups/vendor/jaybizzle/crawler-detect/src/Fixtures/Headers.php
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Crawler Detect - the web crawler detection library.
|
||||
*
|
||||
* (c) Mark Beech <m@rkbee.ch>
|
||||
*
|
||||
* This source file is subject to the MIT license that is bundled
|
||||
* with this source code in the file LICENSE.
|
||||
*/
|
||||
|
||||
namespace Jaybizzle\CrawlerDetect\Fixtures;
|
||||
|
||||
class Headers extends AbstractProvider
|
||||
{
|
||||
/**
|
||||
* All possible HTTP headers that represent the user agent string.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $data = array(
|
||||
// The default User-Agent string.
|
||||
'HTTP_USER_AGENT',
|
||||
// Header can occur on devices using Opera Mini.
|
||||
'HTTP_X_OPERAMINI_PHONE_UA',
|
||||
// Vodafone specific header: http://www.seoprinciple.com/mobile-web-community-still-angry-at-vodafone/24/
|
||||
'HTTP_X_DEVICE_USER_AGENT',
|
||||
'HTTP_X_ORIGINAL_USER_AGENT',
|
||||
'HTTP_X_SKYFIRE_PHONE',
|
||||
'HTTP_X_BOLT_PHONE_UA',
|
||||
'HTTP_DEVICE_STOCK_UA',
|
||||
'HTTP_X_UCBROWSER_DEVICE_UA',
|
||||
// Sometimes, bots (especially Google) use a genuine user agent, but fill this header in with their email address
|
||||
'HTTP_FROM',
|
||||
'HTTP_X_SCANNER', // Seen in use by Netsparker
|
||||
);
|
||||
}
|
||||
48
wp-content/plugins/popups/vendor/mobiledetect/mobiledetectlib/LICENSE.txt
vendored
Normal file
48
wp-content/plugins/popups/vendor/mobiledetect/mobiledetectlib/LICENSE.txt
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) <2011-2015> Serban Ghita, Nick Ilyin and contributors.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of this software and associated documentation files (the
|
||||
"Software"), to deal in the Software without restriction, including
|
||||
without limitation the rights to use, copy, modify, merge, publish,
|
||||
distribute, sublicense, and/or sell copies of the Software, and to
|
||||
permit persons to whom the Software is furnished to do so, subject to
|
||||
the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included
|
||||
in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
Developer’s Certificate of Origin 1.1
|
||||
|
||||
By making a contribution to this project, I certify that:
|
||||
|
||||
(a) The contribution was created in whole or in part by me and I
|
||||
have the right to submit it under the open source license
|
||||
indicated in the file; or
|
||||
|
||||
(b) The contribution is based upon previous work that, to the best
|
||||
of my knowledge, is covered under an appropriate open source
|
||||
license and I have the right under that license to submit that
|
||||
work with modifications, whether created in whole or in part
|
||||
by me, under the same open source license (unless I am
|
||||
permitted to submit under a different license), as indicated
|
||||
in the file; or
|
||||
|
||||
(c) The contribution was provided directly to me by some other
|
||||
person who certified (a), (b) or (c) and I have not modified
|
||||
it.
|
||||
|
||||
(d) I understand and agree that this project and the contribution
|
||||
are public and that a record of the contribution (including all
|
||||
personal information I submit with it, including my sign-off) is
|
||||
maintained indefinitely and may be redistributed consistent with
|
||||
this project or the open source license(s) involved.
|
||||
1
wp-content/plugins/popups/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.json
vendored
Normal file
1
wp-content/plugins/popups/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.json
vendored
Normal file
File diff suppressed because one or more lines are too long
1468
wp-content/plugins/popups/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php
vendored
Normal file
1468
wp-content/plugins/popups/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.php
vendored
Normal file
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user