PluginProbe
Loginizer / trunk
Loginizer vtrunk
2.1.1 2.1.0 2.0.9 2.0.8 1.9.8 1.9.9 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 trunk 1.0 1.0.1 1.0.2 1.1.0 1.1.1 1.2.0 1.3.0 1.3.1 1.3.2 1.3.3 All 75 releases
← All changes | main/admin.php +39 -47 2.0.6 → trunk View file →
@@ -616,68 +616,60 @@
616 616 function loginizer_promo(){
617 617
618 618 echo '
619 619 <style>
620 -.lz_button {
621 -background-color: #4CAF50; /* Green */
622 -border: none;
623 -color: white;
624 -padding: 8px 16px;
625 -text-align: center;
626 -text-decoration: none;
627 -display: inline-block;
628 -font-size: 16px;
629 -margin: 4px 2px;
630 --webkit-transition-duration: 0.4s; /* Safari */
631 -transition-duration: 0.4s;
632 -cursor: pointer;
633 -}
634 -
635 -.lz_button:focus{
636 -border: none;
637 -color: white;
638 -}
639 -
640 -.lz_button1 {
641 -color: white;
620 +.wp-core-ui .lz_button1 {
642 621 background-color: #4CAF50;
643 -border:3px solid #4CAF50;
622 +border-color: transparent;
623 +border-radius: 2px;
624 +color: #fff;
644 625 }
645 626
646 -.lz_button1:hover {
647 -box-shadow: 0 6px 8px 0 rgba(0,0,0,0.24), 0 9px 25px 0 rgba(0,0,0,0.19);
648 -color: white;
649 -border:3px solid #4CAF50;
627 +.wp-core-ui .lz_button1:hover {
628 +background-color:#3b963f;
629 +border-color: transparent;
630 +border-radius: 2px;
631 +color: #fff;
650 632 }
651 633
652 -.lz_button2 {
653 -color: white;
634 +.wp-core-ui .lz_button2 {
654 635 background-color: #0085ba;
636 +border-color: transparent;
637 +border-radius: 2px;
638 +color: #fff;
655 639 }
656 640
657 -.lz_button2:hover {
658 -box-shadow: 0 6px 8px 0 rgba(0,0,0,0.24), 0 9px 25px 0 rgba(0,0,0,0.19);
659 -color: white;
641 +.wp-core-ui .lz_button2:hover {
642 +background-color: #0175a3;
643 +border-color: transparent;
644 +border-radius: 2px;
645 +color: #fff;
660 646 }
661 647
662 -.lz_button3 {
663 -color: white;
648 +.wp-core-ui .lz_button3 {
664 649 background-color: #365899;
650 +border-color: transparent;
651 +border-radius: 2px;
652 +color: #fff;
665 653 }
666 654
667 -.lz_button3:hover {
668 -box-shadow: 0 6px 8px 0 rgba(0,0,0,0.24), 0 9px 25px 0 rgba(0,0,0,0.19);
669 -color: white;
655 +.wp-core-ui .lz_button3:hover {
656 +border-color: transparent;
657 +background-color: #274785;
658 +color:#fff;
670 659 }
671 660
672 -.lz_button4 {
673 -color: white;
674 -background-color: rgb(66, 184, 221);
661 +.wp-core-ui .lz_button4 {
662 +background-color: #14171A;
663 +border-color: transparent;
664 +border-radius: 2px;
665 +color: #fff;
675 666 }
676 667
677 -.lz_button4:hover {
678 -box-shadow: 0 6px 8px 0 rgba(0,0,0,0.24), 0 9px 25px 0 rgba(0,0,0,0.19);
679 -color: white;
668 +.wp-core-ui .lz_button4:hover {
669 +background-color: #24292E;
670 +color: #fff;
671 +border-color: transparent;
680 672 }
681 673
682 674 .loginizer_promo-close{
683 675 float:right;
@@ -714,12 +706,12 @@
714 706 </a>
715 707 <img src="'.LOGINIZER_URL.'/assets/images/loginizer-200.png" style="float:left; margin:10px 20px 10px 10px" width="100" />
716 708 <p style="font-size:16px">We are glad you like Loginizer and have been using it since the past few days. It is time to take the next step </p>
717 709 <p>
718 - <a class="lz_button lz_button1" target="_blank" href="https://loginizer.com/features">Upgrade to Pro</a>
719 - <a class="lz_button lz_button2" target="_blank" href="https://wordpress.org/support/view/plugin-reviews/loginizer">Rate it 5★\'s</a>
720 - <a class="lz_button lz_button3" target="_blank" href="https://www.facebook.com/Loginizer-815504798591884/">Like Us on Facebook</a>
721 - <a class="lz_button lz_button4" target="_blank" href="https://twitter.com/home?status='.rawurlencode('I use @loginizer to secure my #WordPress site - https://loginizer.com').'">Tweet about Loginizer</a>
710 + <a class="button lz_button1" target="_blank" href="https://loginizer.com/features">'.esc_html__('Upgrade to Pro', 'loginizer').'</a>
711 + <a class="button lz_button2" target="_blank" href="https://wordpress.org/support/view/plugin-reviews/loginizer">Rate it 5★\'s</a>
712 + <a class="button lz_button3" target="_blank" href="https://www.facebook.com/Loginizer-815504798591884/">'.esc_html__('Like Us on Facebook', 'loginizer').'</a>
713 + <a class="button lz_button4" target="_blank" href="https://x.com/intent/tweet?text='.rawurlencode('I use @loginizer to secure my #WordPress site - https://loginizer.com').'">'.esc_html__('Post on X about Loginizer', 'loginizer').'</a>
722 714 </p>
723 715 </div>';
724 716
725 717 }