WP ULike - Version 4.5.7

Version Description

  • Added: Animated Clapping Template. [PRO]
  • Added: New option to limit the number of votes that can be submitted by a user. (only for no-limit logging method)
  • Added: An option to change the permalink structure of user profiles. [PRO]
  • Improved: Installed composer packages.
  • Improved: Guest client identifies method.
  • Improved: Database structures.
  • Fixed: Options panel framework issues with Bitnami.
  • Fixed: Minor bug fixes.
Download this release

Release Info

Developer alimir
Plugin Icon 128x128 WP ULike
Version 4.5.7
Comparing to
See all releases

Code changes from version 4.5.6 to 4.5.7

Files changed (140) hide show
  1. admin/assets/js/plugins.js +1 -1
  2. admin/classes/class-wp-ulike-admin-panel.php +11 -1
  3. admin/settings/classes/setup.class.php +14 -16
  4. assets/js/wp-ulike.js +93 -87
  5. assets/js/wp-ulike.min.js +2 -2
  6. composer.lock +0 -282
  7. includes/classes/class-wp-ulike-activator.php +46 -34
  8. includes/classes/class-wp-ulike-cta-listener.php +3 -3
  9. includes/classes/class-wp-ulike-cta-template.php +1 -0
  10. includes/classes/class-wp-ulike-entities-process.php +12 -0
  11. includes/classes/class-wp-ulike-setting-repo.php +9 -0
  12. includes/functions/meta.php +3 -3
  13. includes/functions/queries.php +34 -0
  14. includes/functions/utilities.php +13 -10
  15. includes/hooks/general.php +13 -0
  16. includes/index.php +0 -2
  17. includes/plugin.php +4 -1
  18. languages/wp-ulike-ar.po +68 -51
  19. languages/wp-ulike-de.po +68 -51
  20. languages/wp-ulike-es-co.po +68 -51
  21. languages/wp-ulike-fa_IR.po +68 -51
  22. languages/wp-ulike-fr.po +68 -51
  23. languages/wp-ulike-ja.po +68 -51
  24. languages/wp-ulike-nl.po +68 -51
  25. languages/wp-ulike-ru.po +68 -51
  26. languages/wp-ulike-sv.po +68 -51
  27. languages/wp-ulike-zh-cn.po +68 -51
  28. languages/wp-ulike.pot +69 -52
  29. readme.txt +11 -1
  30. vendor/composer/autoload_classmap.php +0 -102
  31. vendor/composer/autoload_psr4.php +0 -1
  32. vendor/composer/autoload_static.php +0 -110
  33. vendor/composer/installed.json +0 -154
  34. vendor/composer/installed.php +2 -23
  35. vendor/composer/installers/LICENSE +0 -19
  36. vendor/composer/installers/phpstan.neon.dist +0 -10
  37. vendor/composer/installers/src/Composer/Installers/AglInstaller.php +0 -21
  38. vendor/composer/installers/src/Composer/Installers/AimeosInstaller.php +0 -9
  39. vendor/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php +0 -11
  40. vendor/composer/installers/src/Composer/Installers/AsgardInstaller.php +0 -49
  41. vendor/composer/installers/src/Composer/Installers/AttogramInstaller.php +0 -9
  42. vendor/composer/installers/src/Composer/Installers/BaseInstaller.php +0 -137
  43. vendor/composer/installers/src/Composer/Installers/BitrixInstaller.php +0 -126
  44. vendor/composer/installers/src/Composer/Installers/BonefishInstaller.php +0 -9
  45. vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php +0 -66
  46. vendor/composer/installers/src/Composer/Installers/ChefInstaller.php +0 -11
  47. vendor/composer/installers/src/Composer/Installers/CiviCrmInstaller.php +0 -9
  48. vendor/composer/installers/src/Composer/Installers/ClanCatsFrameworkInstaller.php +0 -10
  49. vendor/composer/installers/src/Composer/Installers/CockpitInstaller.php +0 -32
  50. vendor/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php +0 -11
  51. vendor/composer/installers/src/Composer/Installers/Concrete5Installer.php +0 -13
  52. vendor/composer/installers/src/Composer/Installers/CraftInstaller.php +0 -35
  53. vendor/composer/installers/src/Composer/Installers/CroogoInstaller.php +0 -21
  54. vendor/composer/installers/src/Composer/Installers/DecibelInstaller.php +0 -10
  55. vendor/composer/installers/src/Composer/Installers/DframeInstaller.php +0 -10
  56. vendor/composer/installers/src/Composer/Installers/DokuWikiInstaller.php +0 -50
  57. vendor/composer/installers/src/Composer/Installers/DolibarrInstaller.php +0 -16
  58. vendor/composer/installers/src/Composer/Installers/DrupalInstaller.php +0 -22
  59. vendor/composer/installers/src/Composer/Installers/ElggInstaller.php +0 -9
  60. vendor/composer/installers/src/Composer/Installers/EliasisInstaller.php +0 -12
  61. vendor/composer/installers/src/Composer/Installers/ExpressionEngineInstaller.php +0 -29
  62. vendor/composer/installers/src/Composer/Installers/EzPlatformInstaller.php +0 -10
  63. vendor/composer/installers/src/Composer/Installers/FuelInstaller.php +0 -11
  64. vendor/composer/installers/src/Composer/Installers/FuelphpInstaller.php +0 -9
  65. vendor/composer/installers/src/Composer/Installers/GravInstaller.php +0 -30
  66. vendor/composer/installers/src/Composer/Installers/HuradInstaller.php +0 -25
  67. vendor/composer/installers/src/Composer/Installers/ImageCMSInstaller.php +0 -11
  68. vendor/composer/installers/src/Composer/Installers/Installer.php +0 -298
  69. vendor/composer/installers/src/Composer/Installers/ItopInstaller.php +0 -9
  70. vendor/composer/installers/src/Composer/Installers/JoomlaInstaller.php +0 -15
  71. vendor/composer/installers/src/Composer/Installers/KanboardInstaller.php +0 -18
  72. vendor/composer/installers/src/Composer/Installers/KirbyInstaller.php +0 -11
  73. vendor/composer/installers/src/Composer/Installers/KnownInstaller.php +0 -11
  74. vendor/composer/installers/src/Composer/Installers/KodiCMSInstaller.php +0 -10
  75. vendor/composer/installers/src/Composer/Installers/KohanaInstaller.php +0 -9
  76. vendor/composer/installers/src/Composer/Installers/LanManagementSystemInstaller.php +0 -27
  77. vendor/composer/installers/src/Composer/Installers/LaravelInstaller.php +0 -9
  78. vendor/composer/installers/src/Composer/Installers/LavaLiteInstaller.php +0 -10
  79. vendor/composer/installers/src/Composer/Installers/LithiumInstaller.php +0 -10
  80. vendor/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php +0 -9
  81. vendor/composer/installers/src/Composer/Installers/MODXEvoInstaller.php +0 -16
  82. vendor/composer/installers/src/Composer/Installers/MagentoInstaller.php +0 -11
  83. vendor/composer/installers/src/Composer/Installers/MajimaInstaller.php +0 -37
  84. vendor/composer/installers/src/Composer/Installers/MakoInstaller.php +0 -9
  85. vendor/composer/installers/src/Composer/Installers/MantisBTInstaller.php +0 -23
  86. vendor/composer/installers/src/Composer/Installers/MauticInstaller.php +0 -48
  87. vendor/composer/installers/src/Composer/Installers/MayaInstaller.php +0 -33
  88. vendor/composer/installers/src/Composer/Installers/MediaWikiInstaller.php +0 -51
  89. vendor/composer/installers/src/Composer/Installers/MiaoxingInstaller.php +0 -10
  90. vendor/composer/installers/src/Composer/Installers/MicroweberInstaller.php +0 -119
  91. vendor/composer/installers/src/Composer/Installers/ModxInstaller.php +0 -12
  92. vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php +0 -59
  93. vendor/composer/installers/src/Composer/Installers/OctoberInstaller.php +0 -48
  94. vendor/composer/installers/src/Composer/Installers/OntoWikiInstaller.php +0 -24
  95. vendor/composer/installers/src/Composer/Installers/OsclassInstaller.php +0 -14
  96. vendor/composer/installers/src/Composer/Installers/OxidInstaller.php +0 -59
  97. vendor/composer/installers/src/Composer/Installers/PPIInstaller.php +0 -9
  98. vendor/composer/installers/src/Composer/Installers/PantheonInstaller.php +0 -12
  99. vendor/composer/installers/src/Composer/Installers/PhiftyInstaller.php +0 -11
  100. vendor/composer/installers/src/Composer/Installers/PhpBBInstaller.php +0 -11
  101. vendor/composer/installers/src/Composer/Installers/PimcoreInstaller.php +0 -21
  102. vendor/composer/installers/src/Composer/Installers/PiwikInstaller.php +0 -32
  103. vendor/composer/installers/src/Composer/Installers/PlentymarketsInstaller.php +0 -29
  104. vendor/composer/installers/src/Composer/Installers/Plugin.php +0 -27
  105. vendor/composer/installers/src/Composer/Installers/PortoInstaller.php +0 -9
  106. vendor/composer/installers/src/Composer/Installers/PrestashopInstaller.php +0 -10
  107. vendor/composer/installers/src/Composer/Installers/ProcessWireInstaller.php +0 -22
  108. vendor/composer/installers/src/Composer/Installers/PuppetInstaller.php +0 -11
  109. vendor/composer/installers/src/Composer/Installers/PxcmsInstaller.php +0 -63
  110. vendor/composer/installers/src/Composer/Installers/RadPHPInstaller.php +0 -24
  111. vendor/composer/installers/src/Composer/Installers/ReIndexInstaller.php +0 -10
  112. vendor/composer/installers/src/Composer/Installers/Redaxo5Installer.php +0 -10
  113. vendor/composer/installers/src/Composer/Installers/RedaxoInstaller.php +0 -10
  114. vendor/composer/installers/src/Composer/Installers/RoundcubeInstaller.php +0 -22
  115. vendor/composer/installers/src/Composer/Installers/SMFInstaller.php +0 -10
  116. vendor/composer/installers/src/Composer/Installers/ShopwareInstaller.php +0 -60
  117. vendor/composer/installers/src/Composer/Installers/SilverStripeInstaller.php +0 -35
  118. vendor/composer/installers/src/Composer/Installers/SiteDirectInstaller.php +0 -25
  119. vendor/composer/installers/src/Composer/Installers/StarbugInstaller.php +0 -12
  120. vendor/composer/installers/src/Composer/Installers/SyDESInstaller.php +0 -47
  121. vendor/composer/installers/src/Composer/Installers/SyliusInstaller.php +0 -9
  122. vendor/composer/installers/src/Composer/Installers/Symfony1Installer.php +0 -26
  123. vendor/composer/installers/src/Composer/Installers/TYPO3CmsInstaller.php +0 -16
  124. vendor/composer/installers/src/Composer/Installers/TYPO3FlowInstaller.php +0 -38
  125. vendor/composer/installers/src/Composer/Installers/TaoInstaller.php +0 -30
  126. vendor/composer/installers/src/Composer/Installers/TastyIgniterInstaller.php +0 -32
  127. vendor/composer/installers/src/Composer/Installers/TheliaInstaller.php +0 -12
  128. vendor/composer/installers/src/Composer/Installers/TuskInstaller.php +0 -14
  129. vendor/composer/installers/src/Composer/Installers/UserFrostingInstaller.php +0 -9
  130. vendor/composer/installers/src/Composer/Installers/VanillaInstaller.php +0 -10
  131. vendor/composer/installers/src/Composer/Installers/VgmcpInstaller.php +0 -49
  132. vendor/composer/installers/src/Composer/Installers/WHMCSInstaller.php +0 -21
  133. vendor/composer/installers/src/Composer/Installers/WinterInstaller.php +0 -58
  134. vendor/composer/installers/src/Composer/Installers/WolfCMSInstaller.php +0 -9
  135. vendor/composer/installers/src/Composer/Installers/WordPressInstaller.php +0 -12
  136. vendor/composer/installers/src/Composer/Installers/YawikInstaller.php +0 -32
  137. vendor/composer/installers/src/Composer/Installers/ZendInstaller.php +0 -11
  138. vendor/composer/installers/src/Composer/Installers/ZikulaInstaller.php +0 -10
  139. vendor/composer/installers/src/bootstrap.php +0 -13
  140. wp-ulike.php +15 -15
admin/assets/js/plugins.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! WP ULike - v4.5.6
2
  * https://wpulike.com
3
  * TechnoWich 2021;
4
  */
1
+ /*! WP ULike - v4.5.7
2
  * https://wpulike.com
3
  * TechnoWich 2021;
4
  */
admin/classes/class-wp-ulike-admin-panel.php CHANGED
@@ -838,7 +838,7 @@ if ( ! class_exists( 'wp_ulike_admin_panel' ) ) {
838
  'by_user_ip_cookie' => __('Username/IP + Cookie', WP_ULIKE_SLUG)
839
  ),
840
  'default' => 'by_username',
841
- 'help' => sprintf( '<p>%s</p><p>%s</p><p>%s</p>', __( '"No Limit": There will be no restrictions and users can submit their points each time they refresh the page. In this option, it will not be possible to resubmit reverse points (un-like/un-dislike).', WP_ULIKE_SLUG ), __( '"Cookie": By saving users\' cookies, it is possible to submit points only once per user and in case of re-clicking, the appropriate message will be displayed.', WP_ULIKE_SLUG ), __( 'Username/IP: By saving the username/IP of users, It supports the reverse feature (un-like and un-dislike) and users can change their reactions and are only allowed to have a specific point type.', WP_ULIKE_SLUG ) )
842
  ),
843
  'cookie_expires' => array(
844
  'id' => 'cookie_expires',
@@ -848,6 +848,16 @@ if ( ! class_exists( 'wp_ulike_admin_panel' ) ) {
848
  'default' => 31536000,
849
  'dependency' => array( 'logging_method', 'any', 'by_cookie,by_user_ip_cookie' ),
850
  ),
 
 
 
 
 
 
 
 
 
 
851
  'enable_only_logged_in_users' => array(
852
  'id' => 'enable_only_logged_in_users',
853
  'type' => 'switcher',
838
  'by_user_ip_cookie' => __('Username/IP + Cookie', WP_ULIKE_SLUG)
839
  ),
840
  'default' => 'by_username',
841
+ 'help' => sprintf( '<p>%s</p><p>%s</p><p>%s</p><p>%s</p>', __( '"No Limit": There will be no restrictions and users can submit their points each time they refresh the page. In this option, it will not be possible to resubmit reverse points (un-like/un-dislike).', WP_ULIKE_SLUG ), __( '"Cookie": By saving users\' cookies, it is possible to submit points only once per user and in case of re-clicking, the appropriate message will be displayed.', WP_ULIKE_SLUG ), __( 'Username/IP: By saving the username/IP of users, It supports the reverse feature (un-like and un-dislike) and users can change their reactions and are only allowed to have a specific point type.', WP_ULIKE_SLUG ), __( 'Username/IP + Cookie: Same as username/IP description, However, if the user IP or username changes and the cookie is set, it does not allow the user to like /dislike.', WP_ULIKE_SLUG ) )
842
  ),
843
  'cookie_expires' => array(
844
  'id' => 'cookie_expires',
848
  'default' => 31536000,
849
  'dependency' => array( 'logging_method', 'any', 'by_cookie,by_user_ip_cookie' ),
850
  ),
851
+ 'vote_limit_number' => array(
852
+ 'id' => 'vote_limit_number',
853
+ 'type' => 'spinner',
854
+ 'title' => __( 'Vote Limit Per Day', WP_ULIKE_SLUG),
855
+ 'desc' => __('Limits the number of votes that can be submitted by user on each item per day.', WP_ULIKE_SLUG),
856
+ 'default' => 10,
857
+ 'min' => 1,
858
+ 'max' => 1000,
859
+ 'dependency' => array( 'logging_method', '==', 'do_not_log' ),
860
+ ),
861
  'enable_only_logged_in_users' => array(
862
  'id' => 'enable_only_logged_in_users',
863
  'type' => 'switcher',
admin/settings/classes/setup.class.php CHANGED
@@ -302,22 +302,20 @@ if ( ! class_exists( 'ULF' ) ) {
302
 
303
  // Set directory constants
304
  public static function constants() {
305
-
306
  // We need this path-finder code for set URL of framework
307
- $dirname = str_replace( '//', '/', wp_normalize_path( dirname( dirname( self::$file ) ) ) );
308
- $theme_dir = str_replace( '//', '/', wp_normalize_path( get_parent_theme_file_path() ) );
309
- $plugin_dir = str_replace( '//', '/', wp_normalize_path( WP_PLUGIN_DIR ) );
310
- $plugin_dir = str_replace( '/opt/bitnami', '/bitnami', $plugin_dir );
311
- $located_plugin = ( preg_match( '#'. self::sanitize_dirname( $plugin_dir ) .'#', self::sanitize_dirname( $dirname ) ) ) ? true : false;
312
- $directory = ( $located_plugin ) ? $plugin_dir : $theme_dir;
313
- $directory_uri = ( $located_plugin ) ? WP_PLUGIN_URL : get_parent_theme_file_uri();
314
- $foldername = str_replace( $directory, '', $dirname );
315
- $protocol_uri = ( is_ssl() ) ? 'https' : 'http';
316
- $directory_uri = set_url_scheme( $directory_uri, $protocol_uri );
317
-
318
- self::$dir = $dirname;
319
- self::$url = $directory_uri . $foldername;
320
-
321
  }
322
 
323
  // Include file helper
@@ -784,4 +782,4 @@ if ( ! class_exists( 'ULF' ) ) {
784
 
785
  }
786
 
787
- ULF::init( __FILE__ );
302
 
303
  // Set directory constants
304
  public static function constants() {
 
305
  // We need this path-finder code for set URL of framework
306
+ // $dirname = str_replace( '//', '/', wp_normalize_path( dirname( dirname( self::$file ) ) ) );
307
+ // $theme_dir = str_replace( '//', '/', wp_normalize_path( get_parent_theme_file_path() ) );
308
+ // $plugin_dir = str_replace( '//', '/', wp_normalize_path( WP_PLUGIN_DIR ) );
309
+ // $plugin_dir = str_replace( '/opt/bitnami', '/bitnami', $plugin_dir );
310
+ // $located_plugin = ( preg_match( '#'. self::sanitize_dirname( $plugin_dir ) .'#', self::sanitize_dirname( $dirname ) ) ) ? true : false;
311
+ // $directory = ( $located_plugin ) ? $plugin_dir : $theme_dir;
312
+ // $directory_uri = ( $located_plugin ) ? WP_PLUGIN_URL : get_parent_theme_file_uri();
313
+ // $foldername = str_replace( $directory, '', $dirname );
314
+ // $protocol_uri = ( is_ssl() ) ? 'https' : 'http';
315
+ // $directory_uri = set_url_scheme( $directory_uri, $protocol_uri );
316
+
317
+ self::$dir = WP_ULIKE_ADMIN_DIR . '/settings';
318
+ self::$url = WP_ULIKE_ADMIN_URL . '/settings';
 
319
  }
320
 
321
  // Include file helper
782
 
783
  }
784
 
785
+ ULF::init( __FILE__ );
assets/js/wp-ulike.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! WP ULike - v4.5.6
2
  * https://wpulike.com
3
  * TechnoWich 2021;
4
  */
@@ -552,18 +552,18 @@
552
  ID: 0,
553
  nonce: 0,
554
  type: "",
555
- append: '',
556
  appendTimeout: 2000,
557
  displayLikers: false,
558
- likersTemplate: 'default',
559
  disablePophover: true,
560
  isTotal: false,
561
- factor: '',
562
- template: '',
563
  counterSelector: ".count-box",
564
  generalSelector: ".wp_ulike_general_class",
565
  buttonSelector: ".wp_ulike_btn",
566
- likersSelector: ".wp_ulike_likers_wrapper"
567
  },
568
  attributesMap = {
569
  "ulike-id": "ID",
@@ -608,13 +608,14 @@
608
 
609
  // Append dom counter element
610
  if (this.counterElement.length) {
611
- this.counterElement.each(function (index, element) {
612
- if (typeof $(element).data('ulike-counter-value') !== 'undefined') {
613
- $(element).html($(element).data('ulike-counter-value'));
614
- }
615
- }.bind(this));
 
 
616
  }
617
-
618
  // Get likers box container element
619
  this.likersElement = this.$element.find(this.settings.likersSelector);
620
 
@@ -625,7 +626,7 @@
625
  $.extend(Plugin.prototype, {
626
  init: function () {
627
  // Call _ajaxify function on click button
628
- this.buttonElement.on('click', this._initLike.bind(this));
629
  // Call likers box generator
630
  this.generalElement.one("mouseenter", this._updateLikers.bind(this));
631
  },
@@ -639,7 +640,7 @@
639
  url: wp_ulike_params.ajax_url,
640
  type: "POST",
641
  dataType: "json",
642
- data: args
643
  }).done(callback);
644
  },
645
 
@@ -671,7 +672,7 @@
671
  type: this.settings.type,
672
  template: this.settings.template,
673
  displayLikers: this.settings.displayLikers,
674
- likersTemplate: this.settings.likersTemplate
675
  },
676
  function (response) {
677
  //remove progress class
@@ -694,18 +695,20 @@
694
 
695
  _maybeUpdateElements: function (event) {
696
  this.buttonElement = $(event.currentTarget);
697
- this.generalElement = this.buttonElement.closest(this.settings.generalSelector);
 
 
698
  this.counterElement = this.generalElement.find(
699
  this.settings.counterSelector
700
  );
701
- this.settings.factor = this.buttonElement.data('ulike-factor');
702
  },
703
 
704
  /**
705
  * append child
706
  */
707
  _appendChild: function () {
708
- if (this.settings.append !== '') {
709
  var $appendedElement = $(this.settings.append);
710
  this.buttonElement.append($appendedElement);
711
  if (this.settings.appendTimeout) {
@@ -729,10 +732,13 @@
729
  // If data exist
730
  if (response.data.data !== null) {
731
  // Update counter + check refresh likers box
732
- if (response.data.status < 5) {
733
  this.__updateCounter(response.data.data);
734
  // Refresh likers box on data update
735
- if (this.settings.displayLikers && typeof response.data.likers !== "undefined") {
 
 
 
736
  this._updateLikersMarkup(response.data.likers);
737
  }
738
  }
@@ -741,7 +747,10 @@
741
  }
742
  // Display Notifications
743
  if (response.data.hasToast) {
744
- this._sendNotification(response.data.messageType, response.data.message);
 
 
 
745
  }
746
  },
747
 
@@ -751,15 +760,14 @@
751
  start: "wp_ulike_is_not_liked",
752
  active: "wp_ulike_is_liked",
753
  deactive: "wp_ulike_is_unliked",
754
- disable: "wp_ulike_click_is_disabled"
755
  };
756
 
757
  // Remove status from sibling element
758
  if (this.siblingElement.length) {
759
- this.siblingElement.removeClass(this._arrayToString([
760
- classNameObj.active,
761
- classNameObj.deactive
762
- ]));
763
  }
764
 
765
  switch (status) {
@@ -767,10 +775,7 @@
767
  this.generalElement
768
  .addClass(classNameObj.active)
769
  .removeClass(classNameObj.start);
770
- this.generalElement
771
- .children()
772
- .first()
773
- .addClass(classNameObj.disable);
774
  break;
775
 
776
  case 2:
@@ -785,7 +790,8 @@
785
  .removeClass(classNameObj.deactive);
786
  break;
787
 
788
- default:
 
789
  this.generalElement.addClass(classNameObj.disable);
790
  if (this.siblingElement.length) {
791
  this.siblingElement.addClass(classNameObj.disable);
@@ -795,7 +801,7 @@
795
  },
796
 
797
  _arrayToString: function (data) {
798
- return data.join(' ');
799
  },
800
 
801
  _setSbilingElement: function () {
@@ -803,30 +809,16 @@
803
  },
804
 
805
  _setSbilingButtons: function () {
806
- this.siblingButton = this.buttonElement.siblings(this.settings.buttonSelector);
 
 
807
  },
808
 
809
  __updateCounter: function (counterValue) {
810
  // Update counter element
811
- if (typeof counterValue !== "object") {
812
- this.counterElement.attr('data-ulike-counter-value', counterValue).html(counterValue);
813
- } else {
814
- if (this.settings.isTotal && typeof counterValue.sub !== "undefined") {
815
- this.counterElement.attr('data-ulike-counter-value', counterValue.sub).html(counterValue.sub);
816
- } else {
817
- if (this.settings.factor === 'down') {
818
- this.counterElement.attr('data-ulike-counter-value', counterValue.down).html(counterValue.down);
819
- if (this.siblingElement.length) {
820
- this.siblingElement.find(this.settings.counterSelector).attr('data-ulike-counter-value', counterValue.up).html(counterValue.up);
821
- }
822
- } else {
823
- this.counterElement.attr('data-ulike-counter-value', counterValue.up).html(counterValue.up);
824
- if (this.siblingElement.length) {
825
- this.siblingElement.find(this.settings.counterSelector).attr('data-ulike-counter-value', counterValue.down).html(counterValue.down);
826
- }
827
- }
828
- }
829
- }
830
 
831
  $document.trigger("WordpressUlikeCounterUpdated", [this.buttonElement]);
832
  },
@@ -838,9 +830,15 @@
838
  // Make a request to generate or refresh the likers box
839
  if (this.settings.displayLikers) {
840
  // return on these conditions
841
- if (this.settings.likersTemplate == 'popover' && this.$element.data('ulike-tooltip')) {
 
 
 
842
  return;
843
- } else if (this.settings.likersTemplate == 'default' && this.likersElement.length) {
 
 
 
844
  return;
845
  }
846
  // Add progress status class
@@ -853,7 +851,7 @@
853
  nonce: this.settings.nonce,
854
  type: this.settings.type,
855
  displayLikers: this.settings.displayLikers,
856
- likersTemplate: this.settings.likersTemplate
857
  },
858
  function (response) {
859
  // Remove progress status class
@@ -874,18 +872,17 @@
874
  * Update likers markup
875
  */
876
  _updateLikersMarkup: function (data) {
877
-
878
- if (this.settings.likersTemplate == 'popover') {
879
  this.likersElement = this.$element;
880
  if (data.template) {
881
  this.likersElement.WordpressUlikeTooltip({
882
- id: this.settings.type.toLowerCase() + '-' + this.settings.ID,
883
  title: data.template,
884
- position: 'top',
885
  child: this.settings.generalSelector,
886
- theme: 'white',
887
- size: 'tiny',
888
- trigger: 'hover'
889
  });
890
  }
891
  } else {
@@ -901,7 +898,11 @@
901
  }
902
  }
903
 
904
- $document.trigger("WordpressUlikeLikersMarkupUpdated", [this.likersElement, this.settings.likersTemplate, data.template]);
 
 
 
 
905
  },
906
 
907
  /**
@@ -909,9 +910,16 @@
909
  */
910
  _updateSameButtons: function () {
911
  // Get buttons with same unique class names
912
- var factorMethod = typeof this.settings.factor !== "undefined" ? '_' + this.settings.factor : '';
 
 
 
913
  this.sameButtons = $document.find(
914
- ".wp_" + this.settings.type.toLowerCase() + factorMethod + "_btn_" + this.settings.ID
 
 
 
 
915
  );
916
  // Update general elements
917
  if (this.sameButtons.length > 1) {
@@ -930,7 +938,10 @@
930
  */
931
  _updateSameLikers: function () {
932
  this.sameLikers = $document.find(
933
- ".wp_" + this.settings.type.toLowerCase() + "_likers_" + this.settings.ID
 
 
 
934
  );
935
  // Update general elements
936
  if (this.sameLikers.length > 1) {
@@ -948,31 +959,26 @@
948
  /**
949
  * Control actions
950
  */
951
- _updateButton: function (btnText, likeStatus) {
952
  if (this.buttonElement.hasClass("wp_ulike_put_image")) {
953
- this.buttonElement.toggleClass("image-unlike wp_ulike_btn_is_active");
 
 
 
 
954
  if (this.siblingElement.length) {
955
- this.siblingElement.find(this.settings.buttonSelector).removeClass("image-unlike wp_ulike_btn_is_active");
 
 
956
  }
957
  if (this.siblingButton.length) {
958
  this.siblingButton.removeClass("image-unlike wp_ulike_btn_is_active");
959
  }
960
- } else if (this.buttonElement.hasClass("wp_ulike_put_text") && btnText !== null) {
961
- if (typeof btnText !== "object") {
962
- this.buttonElement.find("span").html(btnText);
963
- } else {
964
- if (this.settings.factor === 'down') {
965
- this.buttonElement.find("span").html(btnText.down);
966
- if (this.siblingElement.length) {
967
- this.siblingElement.find(this.settings.buttonSelector).find("span").html(btnText.up);
968
- }
969
- } else {
970
- this.buttonElement.find("span").html(btnText.up);
971
- if (this.siblingElement.length) {
972
- this.siblingElement.find(this.settings.buttonSelector).find("span").html(btnText.down);
973
- }
974
- }
975
- }
976
  }
977
  },
978
 
@@ -983,9 +989,9 @@
983
  // Display Notification
984
  $(document.body).WordpressUlikeNotifications({
985
  messageType: messageType,
986
- messageText: messageText
987
  });
988
- }
989
  });
990
 
991
  // A really lightweight plugin wrapper around the constructor,
1
+ /*! WP ULike - v4.5.7
2
  * https://wpulike.com
3
  * TechnoWich 2021;
4
  */
552
  ID: 0,
553
  nonce: 0,
554
  type: "",
555
+ append: "",
556
  appendTimeout: 2000,
557
  displayLikers: false,
558
+ likersTemplate: "default",
559
  disablePophover: true,
560
  isTotal: false,
561
+ factor: "",
562
+ template: "",
563
  counterSelector: ".count-box",
564
  generalSelector: ".wp_ulike_general_class",
565
  buttonSelector: ".wp_ulike_btn",
566
+ likersSelector: ".wp_ulike_likers_wrapper",
567
  },
568
  attributesMap = {
569
  "ulike-id": "ID",
608
 
609
  // Append dom counter element
610
  if (this.counterElement.length) {
611
+ this.counterElement.each(
612
+ function (index, element) {
613
+ if (typeof $(element).data("ulike-counter-value") !== "undefined") {
614
+ $(element).html($(element).data("ulike-counter-value"));
615
+ }
616
+ }.bind(this)
617
+ );
618
  }
 
619
  // Get likers box container element
620
  this.likersElement = this.$element.find(this.settings.likersSelector);
621
 
626
  $.extend(Plugin.prototype, {
627
  init: function () {
628
  // Call _ajaxify function on click button
629
+ this.buttonElement.on("click", this._initLike.bind(this));
630
  // Call likers box generator
631
  this.generalElement.one("mouseenter", this._updateLikers.bind(this));
632
  },
640
  url: wp_ulike_params.ajax_url,
641
  type: "POST",
642
  dataType: "json",
643
+ data: args,
644
  }).done(callback);
645
  },
646
 
672
  type: this.settings.type,
673
  template: this.settings.template,
674
  displayLikers: this.settings.displayLikers,
675
+ likersTemplate: this.settings.likersTemplate,
676
  },
677
  function (response) {
678
  //remove progress class
695
 
696
  _maybeUpdateElements: function (event) {
697
  this.buttonElement = $(event.currentTarget);
698
+ this.generalElement = this.buttonElement.closest(
699
+ this.settings.generalSelector
700
+ );
701
  this.counterElement = this.generalElement.find(
702
  this.settings.counterSelector
703
  );
704
+ this.settings.factor = this.buttonElement.data("ulike-factor");
705
  },
706
 
707
  /**
708
  * append child
709
  */
710
  _appendChild: function () {
711
+ if (this.settings.append !== "") {
712
  var $appendedElement = $(this.settings.append);
713
  this.buttonElement.append($appendedElement);
714
  if (this.settings.appendTimeout) {
732
  // If data exist
733
  if (response.data.data !== null) {
734
  // Update counter + check refresh likers box
735
+ if (response.data.status != 5) {
736
  this.__updateCounter(response.data.data);
737
  // Refresh likers box on data update
738
+ if (
739
+ this.settings.displayLikers &&
740
+ typeof response.data.likers !== "undefined"
741
+ ) {
742
  this._updateLikersMarkup(response.data.likers);
743
  }
744
  }
747
  }
748
  // Display Notifications
749
  if (response.data.hasToast) {
750
+ this._sendNotification(
751
+ response.data.messageType,
752
+ response.data.message
753
+ );
754
  }
755
  },
756
 
760
  start: "wp_ulike_is_not_liked",
761
  active: "wp_ulike_is_liked",
762
  deactive: "wp_ulike_is_unliked",
763
+ disable: "wp_ulike_click_is_disabled",
764
  };
765
 
766
  // Remove status from sibling element
767
  if (this.siblingElement.length) {
768
+ this.siblingElement.removeClass(
769
+ this._arrayToString([classNameObj.active, classNameObj.deactive])
770
+ );
 
771
  }
772
 
773
  switch (status) {
775
  this.generalElement
776
  .addClass(classNameObj.active)
777
  .removeClass(classNameObj.start);
778
+ this.generalElement.children().first().addClass(classNameObj.disable);
 
 
 
779
  break;
780
 
781
  case 2:
790
  .removeClass(classNameObj.deactive);
791
  break;
792
 
793
+ case 0:
794
+ case 5:
795
  this.generalElement.addClass(classNameObj.disable);
796
  if (this.siblingElement.length) {
797
  this.siblingElement.addClass(classNameObj.disable);
801
  },
802
 
803
  _arrayToString: function (data) {
804
+ return data.join(" ");
805
  },
806
 
807
  _setSbilingElement: function () {
809
  },
810
 
811
  _setSbilingButtons: function () {
812
+ this.siblingButton = this.buttonElement.siblings(
813
+ this.settings.buttonSelector
814
+ );
815
  },
816
 
817
  __updateCounter: function (counterValue) {
818
  // Update counter element
819
+ this.counterElement
820
+ .attr("data-ulike-counter-value", counterValue)
821
+ .html(counterValue);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
822
 
823
  $document.trigger("WordpressUlikeCounterUpdated", [this.buttonElement]);
824
  },
830
  // Make a request to generate or refresh the likers box
831
  if (this.settings.displayLikers) {
832
  // return on these conditions
833
+ if (
834
+ this.settings.likersTemplate == "popover" &&
835
+ this.$element.data("ulike-tooltip")
836
+ ) {
837
  return;
838
+ } else if (
839
+ this.settings.likersTemplate == "default" &&
840
+ this.likersElement.length
841
+ ) {
842
  return;
843
  }
844
  // Add progress status class
851
  nonce: this.settings.nonce,
852
  type: this.settings.type,
853
  displayLikers: this.settings.displayLikers,
854
+ likersTemplate: this.settings.likersTemplate,
855
  },
856
  function (response) {
857
  // Remove progress status class
872
  * Update likers markup
873
  */
874
  _updateLikersMarkup: function (data) {
875
+ if (this.settings.likersTemplate == "popover") {
 
876
  this.likersElement = this.$element;
877
  if (data.template) {
878
  this.likersElement.WordpressUlikeTooltip({
879
+ id: this.settings.type.toLowerCase() + "-" + this.settings.ID,
880
  title: data.template,
881
+ position: "top",
882
  child: this.settings.generalSelector,
883
+ theme: "white",
884
+ size: "tiny",
885
+ trigger: "hover",
886
  });
887
  }
888
  } else {
898
  }
899
  }
900
 
901
+ $document.trigger("WordpressUlikeLikersMarkupUpdated", [
902
+ this.likersElement,
903
+ this.settings.likersTemplate,
904
+ data.template,
905
+ ]);
906
  },
907
 
908
  /**
910
  */
911
  _updateSameButtons: function () {
912
  // Get buttons with same unique class names
913
+ var factorMethod =
914
+ typeof this.settings.factor !== "undefined"
915
+ ? "_" + this.settings.factor
916
+ : "";
917
  this.sameButtons = $document.find(
918
+ ".wp_" +
919
+ this.settings.type.toLowerCase() +
920
+ factorMethod +
921
+ "_btn_" +
922
+ this.settings.ID
923
  );
924
  // Update general elements
925
  if (this.sameButtons.length > 1) {
938
  */
939
  _updateSameLikers: function () {
940
  this.sameLikers = $document.find(
941
+ ".wp_" +
942
+ this.settings.type.toLowerCase() +
943
+ "_likers_" +
944
+ this.settings.ID
945
  );
946
  // Update general elements
947
  if (this.sameLikers.length > 1) {
959
  /**
960
  * Control actions
961
  */
962
+ _updateButton: function (btnText, status) {
963
  if (this.buttonElement.hasClass("wp_ulike_put_image")) {
964
+ if (status == 4) {
965
+ this.buttonElement.addClass("image-unlike wp_ulike_btn_is_active");
966
+ } else {
967
+ this.buttonElement.toggleClass("image-unlike wp_ulike_btn_is_active");
968
+ }
969
  if (this.siblingElement.length) {
970
+ this.siblingElement
971
+ .find(this.settings.buttonSelector)
972
+ .removeClass("image-unlike wp_ulike_btn_is_active");
973
  }
974
  if (this.siblingButton.length) {
975
  this.siblingButton.removeClass("image-unlike wp_ulike_btn_is_active");
976
  }
977
+ } else if (
978
+ this.buttonElement.hasClass("wp_ulike_put_text") &&
979
+ btnText !== null
980
+ ) {
981
+ this.buttonElement.find("span").html(btnText);
 
 
 
 
 
 
 
 
 
 
 
982
  }
983
  },
984
 
989
  // Display Notification
990
  $(document.body).WordpressUlikeNotifications({
991
  messageType: messageType,
992
+ messageText: messageText,
993
  });
994
+ },
995
  });
996
 
997
  // A really lightweight plugin wrapper around the constructor,
assets/js/wp-ulike.min.js CHANGED
@@ -1,5 +1,5 @@
1
- /*! WP ULike - v4.5.6
2
  * https://wpulike.com
3
  * TechnoWich 2021;
4
  */
5
- !function(t){t.fn.WordpressUlikeTooltip=function(e){if(this.length>1)return this.each((function(){t(this).WordpressUlikeTooltip(e)})),this;if(void 0===this||1!==this.length)return!1;const i=t(this);e=t.extend({},t.WordpressUlikeTooltip.defaults,e,i.data());let s=i.attr("title");void 0!==s&&s.length&&(e.title=s),e.class+=" ulf-"+e.theme+"-theme",e.class+=" ulf-"+e.size,e.trigger=e.trigger.toLowerCase().trim();let n={dom:this,dom_wrapped:i,position_debug:e.position_debug,trigger:e.trigger,id:e.id,title:e.title,content:e.title,child_class:e.child,theme:e.theme,class:e.class,position:e.position,close_on_outside_click:e.close_on_outside_click,singleton:e.singleton,dataAttr:"ulike-tooltip",createTooltipHTML:function(){return`<div class='ulf-tooltip ${n.class}' role='tooltip'><div class='ulf-arrow'></div><div class='ulf-content'>${n.content}</div></div>`},destroy:function(){const e=n.dom_wrapped.data(n.dataAttr);null!=e&&(e.dom_wrapped.off("touchstart mouseenter",e.show),e.dom_wrapped.off("click",e.preventDefaultHandler),t(window).off("resize",e.onResize),e.isVisible()&&e.hide(),e.dom_wrapped.data(e.dataAttr,null))},initialize:function(){return n.dom_wrapped.on("touchstart mouseenter",n.show),n.dom_wrapped.on("click",n.preventDefaultHandler),t.WordpressUlikeTooltip.body_click_initialized||(t(document).on("touchstart mousedown",n.onClickOutside),t.WordpressUlikeTooltip.bodyClickInitialized=!0),n.dom_wrapped.data(n.dataAttr,n),t(document).on("WordpressUlikeLikersMarkupUpdated",(function(t,e,i,s){if("popover"==i)if(s.length)n.show();else{let t=e.data(n.dataAttr);null!=t&&t.destroy()}})),n.dom},preventDefaultHandler:function(t){return t.preventDefault(),!1},show:function(e){if(n.isVisible())return!1;n.singleton&&n.hideAllVisible();const i=t("body");(void 0===e||e)&&"function"==typeof n.title&&(n.content=n.title(n.dom_wrapped,n)),i.append(n.createTooltipHTML()),n.tooltip=t(".ulf-tooltip:last"),n.positionTooltip(),t(window).on("resize",n.onResize);const s="ulp-dom-"+n.id;n.tooltip.attr("id",s),n.dom.attr("aria-describedby",s),t.WordpressUlikeTooltip.visible.push(n),(void 0===e||e)&&n.dom.trigger("ulf-show",[n.tooltip,n.hide]),t("body").on("DOMSubtreeModified",n.positionTooltip)},isVisible:function(){return t.inArray(n,t.WordpressUlikeTooltip.visible)>-1},hideAllVisible:function(){return t.each(t.WordpressUlikeTooltip.visible,(function(t,e){e.dom_wrapped.hasClass("ulf-focused")||e.hide()})),this},hide:function(e){t("body").off("DOMSubtreeModified",n.positionTooltip),t(window).off("resize",n.onResize),n.dom.attr("aria-describedby",null),n.tooltip&&n.tooltip.length&&n.tooltip.remove(),(void 0===e||e)&&n.dom.trigger("ulf-hide"),"click"!==n.trigger&&n.dom_wrapped.off("touchstart mousedown",n.hide);var i=t.inArray(n,t.WordpressUlikeTooltip.visible);return t.WordpressUlikeTooltip.visible.splice(i,1),n.dom},onResize:function(){n.hide(!1),n.show(!1)},onClickOutside:function(e){const i=t(e.target);i.hasClass("ulf-tooltip")||i.parents(".ulf-tooltip:first").length||t.each(t.WordpressUlikeTooltip.visible,(function(t,e){void 0!==e&&e.close_on_outside_click&&(i!==e.dom_wrapped||"focus"!==e.trigger&&"hoverfocus"!==e.trigger)&&e.hide()}))},positionTooltip:function(){n.positionDebug("-- Start positioning --"),n.dom_wrapped.length&&n.dom_wrapped.is(":visible")||(n.positionDebug("Elem no longer exists. Removing tooltip"),n.hide(!0));let t=n.tooltip.find(".ulf-arrow"),[e,i,s,o,l,a]=n.calculateSafePosition(n.position);return void 0===l&&"auto"!==n.position&&(n.positionDebug("Couldn't fit preferred position"),[e,i,s,o,l,a]=n.calculateSafePosition("auto")),void 0===l?(n.positionDebug("Doesn't appear to fit. Displaying centered"),n.tooltip.addClass("ulf-centered").css({top:"50%",left:"50%","margin-left":-s/2,"margin-top":-o/2}),t&&t.length&&t.remove(),void n.positionDebug("-- Done positioning --")):(n.positionDebug({"Setting Position":{Left:l,Top:a}}),n.tooltip.css("left",l),n.tooltip.css("top",a),i<60&&(n.positionDebug("Element is less than "+i+"px. Setting arrow to hug the side tighter"),e+=" ulf-arrow-super-hug"),t.addClass("ulf-arrow-"+e),n.positionDebug("-- Done positioning --"),n)},calculateSafePosition:function(t){let e,i,s,o=n.tooltip.find(".ulf-arrow"),l=n.dom_wrapped.offset(),a=n.dom_wrapped.outerHeight(),r=n.dom_wrapped.outerWidth(),d=n.tooltip.outerWidth(),u=n.tooltip.outerHeight(),p=document.querySelector("body").offsetWidth,h=document.querySelector("body").offsetHeight,g=o.is(":visible")?o.outerHeight():0,c=o.is(":visible")?o.outerWidth():0,m={};if(m.below=h-(u+a+l.top)>5,m.above=l.top-u>5,m.vertical_half=l.top+r/2-u/2>5,m.right=p-(d+r+l.left)>5,m.right_half=p-l.left-r/2-d/2>5,m.right_full=p-l.left-d>5,m.left=l.left-d>5,m.left_half=l.left+r/2-d/2>5,m.left_full=l.left-d>5,n.positionDebug({"Clicked Element":{Left:l.left,Top:l.top}}),n.positionDebug({"Element Dimensions":{Height:a,Width:r},"Tooltip Dimensions":{Height:u,Width:d},"Window Dimensions":{Height:h,Width:p},"Arrow Dimensions":{Height:g,Width:c}}),n.positionDebug(m),("auto"===t||"bottom"===t)&&m.below&&m.left_half&&m.right_half)n.positionDebug("Displaying below, centered"),e="top",i=l.left-d/2+r/2,s=l.top+a+g/2;else if(("auto"===t||"top"===t)&&m.above&&m.left_half&&m.right_half){if(n.positionDebug("Displaying above, centered"),e="bottom",n.child_class){let t=n.dom_wrapped.find(n.child_class).first();i=t.offset().left-d/2+t.width()/2}else i=l.left-d/2+r/2;s=l.top-u-g/2}else("auto"===t||"left"===t)&&m.left&&m.vertical_half?(n.positionDebug("Displaying left, centered"),e="right",i=l.left-d-c/2,s=l.top+a/2-u/2):("auto"===t||"right"===t)&&m.right&&m.vertical_half?(n.positionDebug("Displaying right, centered"),e="left",i=l.left+r+c/2,s=l.top+a/2-u/2):("auto"===t||"bottom"===t)&&m.below&&m.right_full?(n.positionDebug("Displaying below, to the right"),e="top ulf-arrow-hug-left",i=l.left,s=l.top+a+g/2):("auto"===t||"bottom"===t)&&m.below&&m.left_full?(n.positionDebug("Displaying below, to the left"),e="top ulf-arrow-hug-right",i=l.left+r-d,s=l.top+a+g/2):("auto"===t||"top"===t)&&m.above&&m.right_full?(n.positionDebug("Displaying above, to the right"),e="bottom ulf-arrow-hug-left",i=l.left,s=l.top-u-g/2):("auto"===t||"top"===t)&&m.above&&m.left_full&&(n.positionDebug("Displaying above, to the left"),e="bottom ulf-arrow-hug-right",i=l.left+r-d,s=l.top-u-g/2);return[e,r,d,u,i,s]},positionDebug:function(t){return!!n.position_debug&&("object"==typeof t?console.table(t):console.log(`Position: ${t}`))}};return n.destroy(),n.initialize()},t.WordpressUlikeTooltip={},t.WordpressUlikeTooltip.visible=[],t.WordpressUlikeTooltip.body_click_initialized=!1,t.WordpressUlikeTooltip.defaults={id:Date.now(),title:"",trigger:"hoverfocus",position:"auto",class:"",theme:"black",size:"small",singleton:!0,close_on_outside_click:!0}}(jQuery),function(t,e,i,s){"use strict";var n="WordpressUlikeNotifications",o={messageType:"success",messageText:"Hello World!",timeout:8e3,messageElement:"wpulike-message",notifContainer:"wpulike-notification"};function l(e,i){this.element=e,this.$element=t(e),this.settings=t.extend({},o,i),this._defaults=o,this._name=n,this.init()}t.extend(l.prototype,{init:function(){this._message(),this._container(),this._append(),this._remove()},_message:function(){this.$messageElement=t("<div/>").addClass(this.settings.messageElement+" wpulike-"+this.settings.messageType).text(this.settings.messageText)},_container:function(){t("."+this.settings.notifContainer).length||this.$element.append(t("<div/>").addClass(this.settings.notifContainer)),this.$notifContainer=this.$element.find("."+this.settings.notifContainer)},_append:function(){this.$notifContainer.append(this.$messageElement).trigger("WordpressUlikeNotificationAppend")},_remove:function(){var e=this;this.$messageElement.on("click",(function(){t(this).fadeOut(300,(function(){t(this).remove(),t("."+e.settings.messageElement).length||e.$notifContainer.remove()})).trigger("WordpressUlikeRemoveNotification")})),e.settings.timeout&&setTimeout((function(){e.$messageElement.fadeOut(300,(function(){t(this).remove(),t("."+e.settings.messageElement).length||e.$notifContainer.remove()})).trigger("WordpressUlikeRemoveNotification")}),e.settings.timeout)}}),t.fn[n]=function(t){return this.each((function(){new l(this,t)}))}}(jQuery,window,document),function(t,e,i,s){"use strict";var n="WordpressUlike",o=(t(e),t(i)),l={ID:0,nonce:0,type:"",append:"",appendTimeout:2e3,displayLikers:!1,likersTemplate:"default",disablePophover:!0,isTotal:!1,factor:"",template:"",counterSelector:".count-box",generalSelector:".wp_ulike_general_class",buttonSelector:".wp_ulike_btn",likersSelector:".wp_ulike_likers_wrapper"},a={"ulike-id":"ID","ulike-nonce":"nonce","ulike-type":"type","ulike-append":"append","ulike-is-total":"isTotal","ulike-display-likers":"displayLikers","ulike-likers-style":"likersTemplate","ulike-disable-pophover":"disablePophover","ulike-append-timeout":"appendTimeout","ulike-factor":"factor","ulike-template":"template"};function r(e,i){for(var s in this.element=e,this.$element=t(e),this.settings=t.extend({},l,i),this._defaults=l,this._name=n,this.buttonElement=this.$element.find(this.settings.buttonSelector),a){var o=this.buttonElement.data(s);undefined!==o&&(this.settings[a[s]]=o)}this.generalElement=this.$element.find(this.settings.generalSelector),this.counterElement=this.generalElement.find(this.settings.counterSelector),this.counterElement.length&&this.counterElement.each(function(e,i){void 0!==t(i).data("ulike-counter-value")&&t(i).html(t(i).data("ulike-counter-value"))}.bind(this)),this.likersElement=this.$element.find(this.settings.likersSelector),this.init()}t.extend(r.prototype,{init:function(){this.buttonElement.on("click",this._initLike.bind(this)),this.generalElement.one("mouseenter",this._updateLikers.bind(this))},_ajax:function(e,i){t.ajax({url:wp_ulike_params.ajax_url,type:"POST",dataType:"json",data:e}).done(i)},_initLike:function(t){t.stopPropagation(),this._maybeUpdateElements(t),this._updateSameButtons(),this._updateSameLikers(),this.buttonElement.prop("disabled",!0),o.trigger("WordpressUlikeLoading",this.element),this.generalElement.addClass("wp_ulike_is_loading"),this._ajax({action:"wp_ulike_process",id:this.settings.ID,nonce:this.settings.nonce,factor:this.settings.factor,type:this.settings.type,template:this.settings.template,displayLikers:this.settings.displayLikers,likersTemplate:this.settings.likersTemplate},function(t){this.generalElement.removeClass("wp_ulike_is_loading"),t.success?(this._updateMarkup(t),this._appendChild()):t.data.hasToast&&this._sendNotification("error",t.data.message),this.buttonElement.prop("disabled",!1),o.trigger("WordpressUlikeUpdated",this.element)}.bind(this))},_maybeUpdateElements:function(e){this.buttonElement=t(e.currentTarget),this.generalElement=this.buttonElement.closest(this.settings.generalSelector),this.counterElement=this.generalElement.find(this.settings.counterSelector),this.settings.factor=this.buttonElement.data("ulike-factor")},_appendChild:function(){if(""!==this.settings.append){var e=t(this.settings.append);this.buttonElement.append(e),this.settings.appendTimeout&&setTimeout((function(){e.detach()}),this.settings.appendTimeout)}},_updateMarkup:function(t){this._setSbilingElement(),this._setSbilingButtons(),this._updateGeneralClassNames(t.data.status),null!==t.data.data&&(t.data.status<5&&(this.__updateCounter(t.data.data),this.settings.displayLikers&&void 0!==t.data.likers&&this._updateLikersMarkup(t.data.likers)),this._updateButton(t.data.btnText,t.data.status)),t.data.hasToast&&this._sendNotification(t.data.messageType,t.data.message)},_updateGeneralClassNames:function(t){var e="wp_ulike_is_not_liked",i="wp_ulike_is_liked",s="wp_ulike_is_unliked",n="wp_ulike_click_is_disabled";switch(this.siblingElement.length&&this.siblingElement.removeClass(this._arrayToString([i,s])),t){case 1:this.generalElement.addClass(i).removeClass(e),this.generalElement.children().first().addClass(n);break;case 2:this.generalElement.addClass(s).removeClass(i);break;case 3:this.generalElement.addClass(i).removeClass(s);break;default:this.generalElement.addClass(n),this.siblingElement.length&&this.siblingElement.addClass(n)}},_arrayToString:function(t){return t.join(" ")},_setSbilingElement:function(){this.siblingElement=this.generalElement.siblings()},_setSbilingButtons:function(){this.siblingButton=this.buttonElement.siblings(this.settings.buttonSelector)},__updateCounter:function(t){"object"!=typeof t?this.counterElement.attr("data-ulike-counter-value",t).html(t):this.settings.isTotal&&void 0!==t.sub?this.counterElement.attr("data-ulike-counter-value",t.sub).html(t.sub):"down"===this.settings.factor?(this.counterElement.attr("data-ulike-counter-value",t.down).html(t.down),this.siblingElement.length&&this.siblingElement.find(this.settings.counterSelector).attr("data-ulike-counter-value",t.up).html(t.up)):(this.counterElement.attr("data-ulike-counter-value",t.up).html(t.up),this.siblingElement.length&&this.siblingElement.find(this.settings.counterSelector).attr("data-ulike-counter-value",t.down).html(t.down)),o.trigger("WordpressUlikeCounterUpdated",[this.buttonElement])},_updateLikers:function(t){if(this.settings.displayLikers){if("popover"==this.settings.likersTemplate&&this.$element.data("ulike-tooltip"))return;if("default"==this.settings.likersTemplate&&this.likersElement.length)return;return this.generalElement.addClass("wp_ulike_is_getting_likers_list"),this._ajax({action:"wp_ulike_get_likers",id:this.settings.ID,nonce:this.settings.nonce,type:this.settings.type,displayLikers:this.settings.displayLikers,likersTemplate:this.settings.likersTemplate},function(t){this.generalElement.removeClass("wp_ulike_is_getting_likers_list"),t.success&&this._updateLikersMarkup(t.data)}.bind(this)),t.stopImmediatePropagation(),!1}},_updateLikersMarkup:function(e){"popover"==this.settings.likersTemplate?(this.likersElement=this.$element,e.template&&this.likersElement.WordpressUlikeTooltip({id:this.settings.type.toLowerCase()+"-"+this.settings.ID,title:e.template,position:"top",child:this.settings.generalSelector,theme:"white",size:"tiny",trigger:"hover"})):(this.likersElement.length||(this.likersElement=t(e.template).appendTo(this.$element)),e.template?this.likersElement.show().html(e.template):this.likersElement.hide().empty()),o.trigger("WordpressUlikeLikersMarkupUpdated",[this.likersElement,this.settings.likersTemplate,e.template])},_updateSameButtons:function(){var t=void 0!==this.settings.factor?"_"+this.settings.factor:"";this.sameButtons=o.find(".wp_"+this.settings.type.toLowerCase()+t+"_btn_"+this.settings.ID),this.sameButtons.length>1&&(this.buttonElement=this.sameButtons,this.generalElement=this.buttonElement.closest(this.settings.generalSelector),this.counterElement=this.generalElement.find(this.settings.counterSelector))},_updateSameLikers:function(){this.sameLikers=o.find(".wp_"+this.settings.type.toLowerCase()+"_likers_"+this.settings.ID),this.sameLikers.length>1&&(this.likersElement=this.sameLikers)},_getLikersElement:function(){return this.likersElement},_updateButton:function(t,e){this.buttonElement.hasClass("wp_ulike_put_image")?(this.buttonElement.toggleClass("image-unlike wp_ulike_btn_is_active"),this.siblingElement.length&&this.siblingElement.find(this.settings.buttonSelector).removeClass("image-unlike wp_ulike_btn_is_active"),this.siblingButton.length&&this.siblingButton.removeClass("image-unlike wp_ulike_btn_is_active")):this.buttonElement.hasClass("wp_ulike_put_text")&&null!==t&&("object"!=typeof t?this.buttonElement.find("span").html(t):"down"===this.settings.factor?(this.buttonElement.find("span").html(t.down),this.siblingElement.length&&this.siblingElement.find(this.settings.buttonSelector).find("span").html(t.up)):(this.buttonElement.find("span").html(t.up),this.siblingElement.length&&this.siblingElement.find(this.settings.buttonSelector).find("span").html(t.down)))},_sendNotification:function(e,s){t(i.body).WordpressUlikeNotifications({messageType:e,messageText:s})}}),t.fn[n]=function(e){return this.each((function(){t.data(this,"plugin_"+n)||t.data(this,"plugin_"+n,new r(this,e))}))}}(jQuery,window,document),function(t){var e,i,s;t(".wpulike").WordpressUlike(),e=".wpulike",i=function(e){t(e).WordpressUlike()},s=t("body")[0],new(window.MutationObserver||window.WebKitMutationObserver)((function(s){s.forEach((function(s){if(s.addedNodes.length)for(var n=t(s.addedNodes).find(e),o=0,l=n.length;o<l;o++)i(n[o])}))})).observe(s,{childList:!0,subtree:!0})}(jQuery);
1
+ /*! WP ULike - v4.5.7
2
  * https://wpulike.com
3
  * TechnoWich 2021;
4
  */
5
+ !function(t){t.fn.WordpressUlikeTooltip=function(e){if(this.length>1)return this.each((function(){t(this).WordpressUlikeTooltip(e)})),this;if(void 0===this||1!==this.length)return!1;const i=t(this);e=t.extend({},t.WordpressUlikeTooltip.defaults,e,i.data());let s=i.attr("title");void 0!==s&&s.length&&(e.title=s),e.class+=" ulf-"+e.theme+"-theme",e.class+=" ulf-"+e.size,e.trigger=e.trigger.toLowerCase().trim();let o={dom:this,dom_wrapped:i,position_debug:e.position_debug,trigger:e.trigger,id:e.id,title:e.title,content:e.title,child_class:e.child,theme:e.theme,class:e.class,position:e.position,close_on_outside_click:e.close_on_outside_click,singleton:e.singleton,dataAttr:"ulike-tooltip",createTooltipHTML:function(){return`<div class='ulf-tooltip ${o.class}' role='tooltip'><div class='ulf-arrow'></div><div class='ulf-content'>${o.content}</div></div>`},destroy:function(){const e=o.dom_wrapped.data(o.dataAttr);null!=e&&(e.dom_wrapped.off("touchstart mouseenter",e.show),e.dom_wrapped.off("click",e.preventDefaultHandler),t(window).off("resize",e.onResize),e.isVisible()&&e.hide(),e.dom_wrapped.data(e.dataAttr,null))},initialize:function(){return o.dom_wrapped.on("touchstart mouseenter",o.show),o.dom_wrapped.on("click",o.preventDefaultHandler),t.WordpressUlikeTooltip.body_click_initialized||(t(document).on("touchstart mousedown",o.onClickOutside),t.WordpressUlikeTooltip.bodyClickInitialized=!0),o.dom_wrapped.data(o.dataAttr,o),t(document).on("WordpressUlikeLikersMarkupUpdated",(function(t,e,i,s){if("popover"==i)if(s.length)o.show();else{let t=e.data(o.dataAttr);null!=t&&t.destroy()}})),o.dom},preventDefaultHandler:function(t){return t.preventDefault(),!1},show:function(e){if(o.isVisible())return!1;o.singleton&&o.hideAllVisible();const i=t("body");(void 0===e||e)&&"function"==typeof o.title&&(o.content=o.title(o.dom_wrapped,o)),i.append(o.createTooltipHTML()),o.tooltip=t(".ulf-tooltip:last"),o.positionTooltip(),t(window).on("resize",o.onResize);const s="ulp-dom-"+o.id;o.tooltip.attr("id",s),o.dom.attr("aria-describedby",s),t.WordpressUlikeTooltip.visible.push(o),(void 0===e||e)&&o.dom.trigger("ulf-show",[o.tooltip,o.hide]),t("body").on("DOMSubtreeModified",o.positionTooltip)},isVisible:function(){return t.inArray(o,t.WordpressUlikeTooltip.visible)>-1},hideAllVisible:function(){return t.each(t.WordpressUlikeTooltip.visible,(function(t,e){e.dom_wrapped.hasClass("ulf-focused")||e.hide()})),this},hide:function(e){t("body").off("DOMSubtreeModified",o.positionTooltip),t(window).off("resize",o.onResize),o.dom.attr("aria-describedby",null),o.tooltip&&o.tooltip.length&&o.tooltip.remove(),(void 0===e||e)&&o.dom.trigger("ulf-hide"),"click"!==o.trigger&&o.dom_wrapped.off("touchstart mousedown",o.hide);var i=t.inArray(o,t.WordpressUlikeTooltip.visible);return t.WordpressUlikeTooltip.visible.splice(i,1),o.dom},onResize:function(){o.hide(!1),o.show(!1)},onClickOutside:function(e){const i=t(e.target);i.hasClass("ulf-tooltip")||i.parents(".ulf-tooltip:first").length||t.each(t.WordpressUlikeTooltip.visible,(function(t,e){void 0!==e&&e.close_on_outside_click&&(i!==e.dom_wrapped||"focus"!==e.trigger&&"hoverfocus"!==e.trigger)&&e.hide()}))},positionTooltip:function(){o.positionDebug("-- Start positioning --"),o.dom_wrapped.length&&o.dom_wrapped.is(":visible")||(o.positionDebug("Elem no longer exists. Removing tooltip"),o.hide(!0));let t=o.tooltip.find(".ulf-arrow"),[e,i,s,n,l,a]=o.calculateSafePosition(o.position);return void 0===l&&"auto"!==o.position&&(o.positionDebug("Couldn't fit preferred position"),[e,i,s,n,l,a]=o.calculateSafePosition("auto")),void 0===l?(o.positionDebug("Doesn't appear to fit. Displaying centered"),o.tooltip.addClass("ulf-centered").css({top:"50%",left:"50%","margin-left":-s/2,"margin-top":-n/2}),t&&t.length&&t.remove(),void o.positionDebug("-- Done positioning --")):(o.positionDebug({"Setting Position":{Left:l,Top:a}}),o.tooltip.css("left",l),o.tooltip.css("top",a),i<60&&(o.positionDebug("Element is less than "+i+"px. Setting arrow to hug the side tighter"),e+=" ulf-arrow-super-hug"),t.addClass("ulf-arrow-"+e),o.positionDebug("-- Done positioning --"),o)},calculateSafePosition:function(t){let e,i,s,n=o.tooltip.find(".ulf-arrow"),l=o.dom_wrapped.offset(),a=o.dom_wrapped.outerHeight(),r=o.dom_wrapped.outerWidth(),d=o.tooltip.outerWidth(),p=o.tooltip.outerHeight(),u=document.querySelector("body").offsetWidth,h=document.querySelector("body").offsetHeight,g=n.is(":visible")?n.outerHeight():0,c=n.is(":visible")?n.outerWidth():0,m={};if(m.below=h-(p+a+l.top)>5,m.above=l.top-p>5,m.vertical_half=l.top+r/2-p/2>5,m.right=u-(d+r+l.left)>5,m.right_half=u-l.left-r/2-d/2>5,m.right_full=u-l.left-d>5,m.left=l.left-d>5,m.left_half=l.left+r/2-d/2>5,m.left_full=l.left-d>5,o.positionDebug({"Clicked Element":{Left:l.left,Top:l.top}}),o.positionDebug({"Element Dimensions":{Height:a,Width:r},"Tooltip Dimensions":{Height:p,Width:d},"Window Dimensions":{Height:h,Width:u},"Arrow Dimensions":{Height:g,Width:c}}),o.positionDebug(m),("auto"===t||"bottom"===t)&&m.below&&m.left_half&&m.right_half)o.positionDebug("Displaying below, centered"),e="top",i=l.left-d/2+r/2,s=l.top+a+g/2;else if(("auto"===t||"top"===t)&&m.above&&m.left_half&&m.right_half){if(o.positionDebug("Displaying above, centered"),e="bottom",o.child_class){let t=o.dom_wrapped.find(o.child_class).first();i=t.offset().left-d/2+t.width()/2}else i=l.left-d/2+r/2;s=l.top-p-g/2}else("auto"===t||"left"===t)&&m.left&&m.vertical_half?(o.positionDebug("Displaying left, centered"),e="right",i=l.left-d-c/2,s=l.top+a/2-p/2):("auto"===t||"right"===t)&&m.right&&m.vertical_half?(o.positionDebug("Displaying right, centered"),e="left",i=l.left+r+c/2,s=l.top+a/2-p/2):("auto"===t||"bottom"===t)&&m.below&&m.right_full?(o.positionDebug("Displaying below, to the right"),e="top ulf-arrow-hug-left",i=l.left,s=l.top+a+g/2):("auto"===t||"bottom"===t)&&m.below&&m.left_full?(o.positionDebug("Displaying below, to the left"),e="top ulf-arrow-hug-right",i=l.left+r-d,s=l.top+a+g/2):("auto"===t||"top"===t)&&m.above&&m.right_full?(o.positionDebug("Displaying above, to the right"),e="bottom ulf-arrow-hug-left",i=l.left,s=l.top-p-g/2):("auto"===t||"top"===t)&&m.above&&m.left_full&&(o.positionDebug("Displaying above, to the left"),e="bottom ulf-arrow-hug-right",i=l.left+r-d,s=l.top-p-g/2);return[e,r,d,p,i,s]},positionDebug:function(t){return!!o.position_debug&&("object"==typeof t?console.table(t):console.log(`Position: ${t}`))}};return o.destroy(),o.initialize()},t.WordpressUlikeTooltip={},t.WordpressUlikeTooltip.visible=[],t.WordpressUlikeTooltip.body_click_initialized=!1,t.WordpressUlikeTooltip.defaults={id:Date.now(),title:"",trigger:"hoverfocus",position:"auto",class:"",theme:"black",size:"small",singleton:!0,close_on_outside_click:!0}}(jQuery),function(t,e,i,s){"use strict";var o="WordpressUlikeNotifications",n={messageType:"success",messageText:"Hello World!",timeout:8e3,messageElement:"wpulike-message",notifContainer:"wpulike-notification"};function l(e,i){this.element=e,this.$element=t(e),this.settings=t.extend({},n,i),this._defaults=n,this._name=o,this.init()}t.extend(l.prototype,{init:function(){this._message(),this._container(),this._append(),this._remove()},_message:function(){this.$messageElement=t("<div/>").addClass(this.settings.messageElement+" wpulike-"+this.settings.messageType).text(this.settings.messageText)},_container:function(){t("."+this.settings.notifContainer).length||this.$element.append(t("<div/>").addClass(this.settings.notifContainer)),this.$notifContainer=this.$element.find("."+this.settings.notifContainer)},_append:function(){this.$notifContainer.append(this.$messageElement).trigger("WordpressUlikeNotificationAppend")},_remove:function(){var e=this;this.$messageElement.on("click",(function(){t(this).fadeOut(300,(function(){t(this).remove(),t("."+e.settings.messageElement).length||e.$notifContainer.remove()})).trigger("WordpressUlikeRemoveNotification")})),e.settings.timeout&&setTimeout((function(){e.$messageElement.fadeOut(300,(function(){t(this).remove(),t("."+e.settings.messageElement).length||e.$notifContainer.remove()})).trigger("WordpressUlikeRemoveNotification")}),e.settings.timeout)}}),t.fn[o]=function(t){return this.each((function(){new l(this,t)}))}}(jQuery,window,document),function(t,e,i,s){"use strict";var o="WordpressUlike",n=(t(e),t(i)),l={ID:0,nonce:0,type:"",append:"",appendTimeout:2e3,displayLikers:!1,likersTemplate:"default",disablePophover:!0,isTotal:!1,factor:"",template:"",counterSelector:".count-box",generalSelector:".wp_ulike_general_class",buttonSelector:".wp_ulike_btn",likersSelector:".wp_ulike_likers_wrapper"},a={"ulike-id":"ID","ulike-nonce":"nonce","ulike-type":"type","ulike-append":"append","ulike-is-total":"isTotal","ulike-display-likers":"displayLikers","ulike-likers-style":"likersTemplate","ulike-disable-pophover":"disablePophover","ulike-append-timeout":"appendTimeout","ulike-factor":"factor","ulike-template":"template"};function r(e,i){for(var s in this.element=e,this.$element=t(e),this.settings=t.extend({},l,i),this._defaults=l,this._name=o,this.buttonElement=this.$element.find(this.settings.buttonSelector),a){var n=this.buttonElement.data(s);undefined!==n&&(this.settings[a[s]]=n)}this.generalElement=this.$element.find(this.settings.generalSelector),this.counterElement=this.generalElement.find(this.settings.counterSelector),this.counterElement.length&&this.counterElement.each(function(e,i){void 0!==t(i).data("ulike-counter-value")&&t(i).html(t(i).data("ulike-counter-value"))}.bind(this)),this.likersElement=this.$element.find(this.settings.likersSelector),this.init()}t.extend(r.prototype,{init:function(){this.buttonElement.on("click",this._initLike.bind(this)),this.generalElement.one("mouseenter",this._updateLikers.bind(this))},_ajax:function(e,i){t.ajax({url:wp_ulike_params.ajax_url,type:"POST",dataType:"json",data:e}).done(i)},_initLike:function(t){t.stopPropagation(),this._maybeUpdateElements(t),this._updateSameButtons(),this._updateSameLikers(),this.buttonElement.prop("disabled",!0),n.trigger("WordpressUlikeLoading",this.element),this.generalElement.addClass("wp_ulike_is_loading"),this._ajax({action:"wp_ulike_process",id:this.settings.ID,nonce:this.settings.nonce,factor:this.settings.factor,type:this.settings.type,template:this.settings.template,displayLikers:this.settings.displayLikers,likersTemplate:this.settings.likersTemplate},function(t){this.generalElement.removeClass("wp_ulike_is_loading"),t.success?(this._updateMarkup(t),this._appendChild()):t.data.hasToast&&this._sendNotification("error",t.data.message),this.buttonElement.prop("disabled",!1),n.trigger("WordpressUlikeUpdated",this.element)}.bind(this))},_maybeUpdateElements:function(e){this.buttonElement=t(e.currentTarget),this.generalElement=this.buttonElement.closest(this.settings.generalSelector),this.counterElement=this.generalElement.find(this.settings.counterSelector),this.settings.factor=this.buttonElement.data("ulike-factor")},_appendChild:function(){if(""!==this.settings.append){var e=t(this.settings.append);this.buttonElement.append(e),this.settings.appendTimeout&&setTimeout((function(){e.detach()}),this.settings.appendTimeout)}},_updateMarkup:function(t){this._setSbilingElement(),this._setSbilingButtons(),this._updateGeneralClassNames(t.data.status),null!==t.data.data&&(5!=t.data.status&&(this.__updateCounter(t.data.data),this.settings.displayLikers&&void 0!==t.data.likers&&this._updateLikersMarkup(t.data.likers)),this._updateButton(t.data.btnText,t.data.status)),t.data.hasToast&&this._sendNotification(t.data.messageType,t.data.message)},_updateGeneralClassNames:function(t){var e="wp_ulike_is_not_liked",i="wp_ulike_is_liked",s="wp_ulike_is_unliked",o="wp_ulike_click_is_disabled";switch(this.siblingElement.length&&this.siblingElement.removeClass(this._arrayToString([i,s])),t){case 1:this.generalElement.addClass(i).removeClass(e),this.generalElement.children().first().addClass(o);break;case 2:this.generalElement.addClass(s).removeClass(i);break;case 3:this.generalElement.addClass(i).removeClass(s);break;case 0:case 5:this.generalElement.addClass(o),this.siblingElement.length&&this.siblingElement.addClass(o)}},_arrayToString:function(t){return t.join(" ")},_setSbilingElement:function(){this.siblingElement=this.generalElement.siblings()},_setSbilingButtons:function(){this.siblingButton=this.buttonElement.siblings(this.settings.buttonSelector)},__updateCounter:function(t){this.counterElement.attr("data-ulike-counter-value",t).html(t),n.trigger("WordpressUlikeCounterUpdated",[this.buttonElement])},_updateLikers:function(t){if(this.settings.displayLikers){if("popover"==this.settings.likersTemplate&&this.$element.data("ulike-tooltip"))return;if("default"==this.settings.likersTemplate&&this.likersElement.length)return;return this.generalElement.addClass("wp_ulike_is_getting_likers_list"),this._ajax({action:"wp_ulike_get_likers",id:this.settings.ID,nonce:this.settings.nonce,type:this.settings.type,displayLikers:this.settings.displayLikers,likersTemplate:this.settings.likersTemplate},function(t){this.generalElement.removeClass("wp_ulike_is_getting_likers_list"),t.success&&this._updateLikersMarkup(t.data)}.bind(this)),t.stopImmediatePropagation(),!1}},_updateLikersMarkup:function(e){"popover"==this.settings.likersTemplate?(this.likersElement=this.$element,e.template&&this.likersElement.WordpressUlikeTooltip({id:this.settings.type.toLowerCase()+"-"+this.settings.ID,title:e.template,position:"top",child:this.settings.generalSelector,theme:"white",size:"tiny",trigger:"hover"})):(this.likersElement.length||(this.likersElement=t(e.template).appendTo(this.$element)),e.template?this.likersElement.show().html(e.template):this.likersElement.hide().empty()),n.trigger("WordpressUlikeLikersMarkupUpdated",[this.likersElement,this.settings.likersTemplate,e.template])},_updateSameButtons:function(){var t=void 0!==this.settings.factor?"_"+this.settings.factor:"";this.sameButtons=n.find(".wp_"+this.settings.type.toLowerCase()+t+"_btn_"+this.settings.ID),this.sameButtons.length>1&&(this.buttonElement=this.sameButtons,this.generalElement=this.buttonElement.closest(this.settings.generalSelector),this.counterElement=this.generalElement.find(this.settings.counterSelector))},_updateSameLikers:function(){this.sameLikers=n.find(".wp_"+this.settings.type.toLowerCase()+"_likers_"+this.settings.ID),this.sameLikers.length>1&&(this.likersElement=this.sameLikers)},_getLikersElement:function(){return this.likersElement},_updateButton:function(t,e){this.buttonElement.hasClass("wp_ulike_put_image")?(4==e?this.buttonElement.addClass("image-unlike wp_ulike_btn_is_active"):this.buttonElement.toggleClass("image-unlike wp_ulike_btn_is_active"),this.siblingElement.length&&this.siblingElement.find(this.settings.buttonSelector).removeClass("image-unlike wp_ulike_btn_is_active"),this.siblingButton.length&&this.siblingButton.removeClass("image-unlike wp_ulike_btn_is_active")):this.buttonElement.hasClass("wp_ulike_put_text")&&null!==t&&this.buttonElement.find("span").html(t)},_sendNotification:function(e,s){t(i.body).WordpressUlikeNotifications({messageType:e,messageText:s})}}),t.fn[o]=function(e){return this.each((function(){t.data(this,"plugin_"+o)||t.data(this,"plugin_"+o,new r(this,e))}))}}(jQuery,window,document),function(t){var e,i,s;t(".wpulike").WordpressUlike(),e=".wpulike",i=function(e){t(e).WordpressUlike()},s=t("body")[0],new(window.MutationObserver||window.WebKitMutationObserver)((function(s){s.forEach((function(s){if(s.addedNodes.length)for(var o=t(s.addedNodes).find(e),n=0,l=o.length;n<l;n++)i(o[n])}))})).observe(s,{childList:!0,subtree:!0})}(jQuery);
composer.lock DELETED
@@ -1,282 +0,0 @@
1
- {
2
- "_readme": [
3
- "This file locks the dependencies of your project to a known state",
4
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
5
- "This file is @generated automatically"
6
- ],
7
- "content-hash": "c7cf8906b5abd1f8379b591e89ddc8ef",
8
- "packages": [
9
- {
10
- "name": "composer/installers",
11
- "version": "v1.12.0",
12
- "source": {
13
- "type": "git",
14
- "url": "https://github.com/composer/installers.git",
15
- "reference": "d20a64ed3c94748397ff5973488761b22f6d3f19"
16
- },
17
- "dist": {
18
- "type": "zip",
19
- "url": "https://api.github.com/repos/composer/installers/zipball/d20a64ed3c94748397ff5973488761b22f6d3f19",
20
- "reference": "d20a64ed3c94748397ff5973488761b22f6d3f19",
21
- "shasum": ""
22
- },
23
- "require": {
24
- "composer-plugin-api": "^1.0 || ^2.0"
25
- },
26
- "replace": {
27
- "roundcube/plugin-installer": "*",
28
- "shama/baton": "*"
29
- },
30
- "require-dev": {
31
- "composer/composer": "1.6.* || ^2.0",
32
- "composer/semver": "^1 || ^3",
33
- "phpstan/phpstan": "^0.12.55",
34
- "phpstan/phpstan-phpunit": "^0.12.16",
35
- "symfony/phpunit-bridge": "^4.2 || ^5",
36
- "symfony/process": "^2.3"
37
- },
38
- "type": "composer-plugin",
39
- "extra": {
40
- "class": "Composer\\Installers\\Plugin",
41
- "branch-alias": {
42
- "dev-main": "1.x-dev"
43
- }
44
- },
45
- "autoload": {
46
- "psr-4": {
47
- "Composer\\Installers\\": "src/Composer/Installers"
48
- }
49
- },
50
- "notification-url": "https://packagist.org/downloads/",
51
- "license": [
52
- "MIT"
53
- ],
54
- "authors": [
55
- {
56
- "name": "Kyle Robinson Young",
57
- "email": "kyle@dontkry.com",
58
- "homepage": "https://github.com/shama"
59
- }
60
- ],
61
- "description": "A multi-framework Composer library installer",
62
- "homepage": "https://composer.github.io/installers/",
63
- "keywords": [
64
- "Craft",
65
- "Dolibarr",
66
- "Eliasis",
67
- "Hurad",
68
- "ImageCMS",
69
- "Kanboard",
70
- "Lan Management System",
71
- "MODX Evo",
72
- "MantisBT",
73
- "Mautic",
74
- "Maya",
75
- "OXID",
76
- "Plentymarkets",
77
- "Porto",
78
- "RadPHP",
79
- "SMF",
80
- "Starbug",
81
- "Thelia",
82
- "Whmcs",
83
- "WolfCMS",
84
- "agl",
85
- "aimeos",
86
- "annotatecms",
87
- "attogram",
88
- "bitrix",
89
- "cakephp",
90
- "chef",
91
- "cockpit",
92
- "codeigniter",
93
- "concrete5",
94
- "croogo",
95
- "dokuwiki",
96
- "drupal",
97
- "eZ Platform",
98
- "elgg",
99
- "expressionengine",
100
- "fuelphp",
101
- "grav",
102
- "installer",
103
- "itop",
104
- "joomla",
105
- "known",
106
- "kohana",
107
- "laravel",
108
- "lavalite",
109
- "lithium",
110
- "magento",
111
- "majima",
112
- "mako",
113
- "mediawiki",
114
- "miaoxing",
115
- "modulework",
116
- "modx",
117
- "moodle",
118
- "osclass",
119
- "pantheon",
120
- "phpbb",
121
- "piwik",
122
- "ppi",
123
- "processwire",
124
- "puppet",
125
- "pxcms",
126
- "reindex",
127
- "roundcube",
128
- "shopware",
129
- "silverstripe",
130
- "sydes",
131
- "sylius",
132
- "symfony",
133
- "tastyigniter",
134
- "typo3",
135
- "wordpress",
136
- "yawik",
137
- "zend",
138
- "zikula"
139
- ],
140
- "support": {
141
- "issues": "https://github.com/composer/installers/issues",
142
- "source": "https://github.com/composer/installers/tree/v1.12.0"
143
- },
144
- "funding": [
145
- {
146
- "url": "https://packagist.com",
147
- "type": "custom"
148
- },
149
- {
150
- "url": "https://github.com/composer",
151
- "type": "github"
152
- },
153
- {
154
- "url": "https://tidelift.com/funding/github/packagist/composer/composer",
155
- "type": "tidelift"
156
- }
157
- ],
158
- "time": "2021-09-13T08:19:44+00:00"
159
- },
160
- {
161
- "name": "psr/http-message",
162
- "version": "1.0.1",
163
- "source": {
164
- "type": "git",
165
- "url": "https://github.com/php-fig/http-message.git",
166
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
167
- },
168
- "dist": {
169
- "type": "zip",
170
- "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
171
- "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
172
- "shasum": ""
173
- },
174
- "require": {
175
- "php": ">=5.3.0"
176
- },
177
- "type": "library",
178
- "extra": {
179
- "branch-alias": {
180
- "dev-master": "1.0.x-dev"
181
- }
182
- },
183
- "autoload": {
184
- "psr-4": {
185
- "Psr\\Http\\Message\\": "src/"
186
- }
187
- },
188
- "notification-url": "https://packagist.org/downloads/",
189
- "license": [
190
- "MIT"
191
- ],
192
- "authors": [
193
- {
194
- "name": "PHP-FIG",
195
- "homepage": "http://www.php-fig.org/"
196
- }
197
- ],
198
- "description": "Common interface for HTTP messages",
199
- "homepage": "https://github.com/php-fig/http-message",
200
- "keywords": [
201
- "http",
202
- "http-message",
203
- "psr",
204
- "psr-7",
205
- "request",
206
- "response"
207
- ],
208
- "support": {
209
- "source": "https://github.com/php-fig/http-message/tree/master"
210
- },
211
- "time": "2016-08-06T14:39:51+00:00"
212
- },
213
- {
214
- "name": "vectorface/whip",
215
- "version": "v0.4.0",
216
- "source": {
217
- "type": "git",
218
- "url": "https://github.com/Vectorface/whip.git",
219
- "reference": "daa06bad325cff3fca5b870a5f167173ac88f4ad"
220
- },
221
- "dist": {
222
- "type": "zip",
223
- "url": "https://api.github.com/repos/Vectorface/whip/zipball/daa06bad325cff3fca5b870a5f167173ac88f4ad",
224
- "reference": "daa06bad325cff3fca5b870a5f167173ac88f4ad",
225
- "shasum": ""
226
- },
227
- "require": {
228
- "php": ">=5.6.0",
229
- "psr/http-message": "^1.0"
230
- },
231
- "require-dev": {
232
- "codeclimate/php-test-reporter": "dev-master",
233
- "phpunit/phpunit": "^4.8",
234
- "squizlabs/php_codesniffer": "~2.0",
235
- "vectorface/dunit": "~2.0"
236
- },
237
- "type": "library",
238
- "autoload": {
239
- "psr-4": {
240
- "Vectorface\\Whip\\": "./src"
241
- }
242
- },
243
- "notification-url": "https://packagist.org/downloads/",
244
- "license": [
245
- "MIT"
246
- ],
247
- "authors": [
248
- {
249
- "name": "Daniel Bruce",
250
- "email": "dbruce@vectorface.com",
251
- "role": "Developer"
252
- },
253
- {
254
- "name": "Cory Darby",
255
- "email": "ckdarby@vectorface.com",
256
- "role": "Developer"
257
- }
258
- ],
259
- "description": "A PHP class for retrieving accurate IP address information for the client.",
260
- "homepage": "https://github.com/Vectorface/whip",
261
- "keywords": [
262
- "IP",
263
- "cdn",
264
- "cloudflare"
265
- ],
266
- "support": {
267
- "issues": "https://github.com/Vectorface/whip/issues",
268
- "source": "https://github.com/Vectorface/whip"
269
- },
270
- "time": "2020-08-25T13:45:06+00:00"
271
- }
272
- ],
273
- "packages-dev": [],
274
- "aliases": [],
275
- "minimum-stability": "stable",
276
- "stability-flags": [],
277
- "prefer-stable": false,
278
- "prefer-lowest": false,
279
- "platform": [],
280
- "platform-dev": [],
281
- "plugin-api-version": "2.1.0"
282
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/classes/class-wp-ulike-activator.php CHANGED
@@ -127,7 +127,7 @@ class wp_ulike_activator {
127
  // Meta values table
128
  maybe_create_table( $meta, "CREATE TABLE IF NOT EXISTS `{$meta}` (
129
  `meta_id` bigint(20) unsigned NOT NULL auto_increment,
130
- `item_id` bigint(20) unsigned NOT NULL default '0',
131
  `meta_group` varchar(100) default NULL,
132
  `meta_key` varchar(255) default NULL,
133
  `meta_value` longtext,
@@ -143,41 +143,53 @@ class wp_ulike_activator {
143
  // Extract array to variables
144
  extract( $this->tables );
145
 
146
- // Upgrade Tables
147
- if ( version_compare( get_option( 'wp_ulike_dbVersion', '1.6' ), WP_ULIKE_DB_VERSION, '<' ) ) {
148
- // Posts ugrades
149
- $this->database->query( "
150
- ALTER TABLE $posts
151
- ADD INDEX( `post_id`, `date_time`, `user_id`, `status`),
152
- CHANGE `user_id` `user_id` VARCHAR(100) NOT NULL,
153
- CHANGE `ip` `ip` VARCHAR(100) NOT NULL;
154
- " );
155
- // Comments ugrades
156
- $this->database->query( "
157
- ALTER TABLE $comments
158
- ADD INDEX( `comment_id`, `date_time`, `user_id`, `status`),
159
- CHANGE `user_id` `user_id` VARCHAR(100) NOT NULL,
160
- CHANGE `ip` `ip` VARCHAR(100) NOT NULL;
161
- " );
162
- // BuddyPress ugrades
163
- $this->database->query( "
164
- ALTER TABLE $activities
165
- ADD INDEX( `activity_id`, `date_time`, `user_id`, `status`),
166
- CHANGE `user_id` `user_id` VARCHAR(100) NOT NULL,
167
- CHANGE `ip` `ip` VARCHAR(100) NOT NULL;
168
- " );
169
- // bbPress upgrades
170
- $this->database->query( "
171
- ALTER TABLE $forums
172
- ADD INDEX( `topic_id`, `date_time`, `user_id`, `status`),
173
- CHANGE `user_id` `user_id` VARCHAR(100) NOT NULL,
174
- CHANGE `ip` `ip` VARCHAR(100) NOT NULL;
175
- " );
176
- // Update db version
177
- update_option( 'wp_ulike_dbVersion', WP_ULIKE_DB_VERSION );
178
- }
179
  }
180
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
181
  /**
182
  * Return an instance of this class.
183
  *
127
  // Meta values table
128
  maybe_create_table( $meta, "CREATE TABLE IF NOT EXISTS `{$meta}` (
129
  `meta_id` bigint(20) unsigned NOT NULL auto_increment,
130
+ `item_id` varchar(100) unsigned NOT NULL default '0',
131
  `meta_group` varchar(100) default NULL,
132
  `meta_key` varchar(255) default NULL,
133
  `meta_value` longtext,
143
  // Extract array to variables
144
  extract( $this->tables );
145
 
146
+ // Posts ugrades
147
+ $this->database->query( "
148
+ ALTER TABLE $posts
149
+ ADD INDEX( `post_id`, `date_time`, `user_id`, `status`),
150
+ CHANGE `user_id` `user_id` VARCHAR(100) NOT NULL,
151
+ CHANGE `ip` `ip` VARCHAR(100) NOT NULL;
152
+ " );
153
+ // Comments ugrades
154
+ $this->database->query( "
155
+ ALTER TABLE $comments
156
+ ADD INDEX( `comment_id`, `date_time`, `user_id`, `status`),
157
+ CHANGE `user_id` `user_id` VARCHAR(100) NOT NULL,
158
+ CHANGE `ip` `ip` VARCHAR(100) NOT NULL;
159
+ " );
160
+ // BuddyPress ugrades
161
+ $this->database->query( "
162
+ ALTER TABLE $activities
163
+ ADD INDEX( `activity_id`, `date_time`, `user_id`, `status`),
164
+ CHANGE `user_id` `user_id` VARCHAR(100) NOT NULL,
165
+ CHANGE `ip` `ip` VARCHAR(100) NOT NULL;
166
+ " );
167
+ // bbPress upgrades
168
+ $this->database->query( "
169
+ ALTER TABLE $forums
170
+ ADD INDEX( `topic_id`, `date_time`, `user_id`, `status`),
171
+ CHANGE `user_id` `user_id` VARCHAR(100) NOT NULL,
172
+ CHANGE `ip` `ip` VARCHAR(100) NOT NULL;
173
+ " );
174
+
175
+ // Update db version
176
+ update_option( 'wp_ulike_dbVersion', '2.1' );
 
 
177
  }
178
 
179
+ public function upgrade_1(){
180
+ // Extract array to variables
181
+ extract( $this->tables );
182
+
183
+ // Posts ugrades
184
+ $this->database->query( "
185
+ ALTER TABLE $meta
186
+ CHANGE `item_id` `item_id` VARCHAR(100) NOT NULL;
187
+ " );
188
+ // Update db version
189
+ update_option( 'wp_ulike_dbVersion', '2.2' );
190
+ }
191
+
192
+
193
  /**
194
  * Return an instance of this class.
195
  *
includes/classes/class-wp-ulike-cta-listener.php CHANGED
@@ -66,7 +66,7 @@ final class wp_ulike_cta_listener extends wp_ulike_ajax_listener_base {
66
  $this->beforeUpdateAction( $this->data );
67
  // Validate inputs
68
  $this->validates();
69
- // get settings info
70
  $this->settings_type = new wp_ulike_setting_type( $this->data['type'] );
71
 
72
  if( empty( $this->settings_type->getType() ) ){
@@ -120,8 +120,8 @@ final class wp_ulike_cta_listener extends wp_ulike_ajax_listener_base {
120
  case 4:
121
  $this->response['message'] = wp_ulike_setting_repo::getLikeNotice();
122
  $this->response['messageType'] = 'success';
123
- $this->response['btnText'] = wp_ulike_setting_repo::getButtonText( $this->settings_type->getType(), 'like' );
124
- $this->response['data'] = apply_filters( 'wp_ulike_respond_for_not_liked_data', $counter_value, $this->data['id'] );
125
  break;
126
  }
127
  }
66
  $this->beforeUpdateAction( $this->data );
67
  // Validate inputs
68
  $this->validates();
69
+ // get settings info
70
  $this->settings_type = new wp_ulike_setting_type( $this->data['type'] );
71
 
72
  if( empty( $this->settings_type->getType() ) ){
120
  case 4:
121
  $this->response['message'] = wp_ulike_setting_repo::getLikeNotice();
122
  $this->response['messageType'] = 'success';
123
+ $this->response['btnText'] = wp_ulike_setting_repo::getButtonText( $this->settings_type->getType(), 'unlike' );
124
+ $this->response['data'] = apply_filters( 'wp_ulike_respond_for_no_limit_data', $counter_value, $this->data['id'] );
125
  break;
126
  }
127
  }
includes/classes/class-wp-ulike-cta-template.php CHANGED
@@ -65,6 +65,7 @@ if ( ! class_exists( 'wp_ulike_cta_template' ) ) {
65
 
66
  switch( wp_ulike_setting_repo::getMethod( $this->args['slug'] ) ){
67
  case 'do_not_log':
 
68
  case 'by_cookie':
69
  return 1;
70
 
65
 
66
  switch( wp_ulike_setting_repo::getMethod( $this->args['slug'] ) ){
67
  case 'do_not_log':
68
+ return $this->getPrevStatus() ? 4 : 1;
69
  case 'by_cookie':
70
  return 1;
71
 
includes/classes/class-wp-ulike-entities-process.php CHANGED
@@ -201,6 +201,18 @@ if ( ! class_exists( 'wp_ulike_entities_process' ) ) {
201
  // Status check point
202
  $status = true;
203
 
 
 
 
 
 
 
 
 
 
 
 
 
204
  // Check cookie permission
205
  if( in_array( $method, array( 'by_cookie', 'by_user_ip_cookie' ) ) ){
206
  $has_cookie = false;
201
  // Status check point
202
  $status = true;
203
 
204
+ if( in_array( $method, array( 'do_not_log' ) ) ){
205
+ $user_item_count = wp_ulike_get_user_item_count_per_day( array(
206
+ "item_id" => $args['item_id'],
207
+ "current_user" => $args['current_user'],
208
+ "settings" => $settings
209
+ ) );
210
+
211
+ if( $user_item_count && $user_item_count > wp_ulike_setting_repo::getVoteLimitNumber( $args['type'] ) ){
212
+ $status = false;
213
+ }
214
+ }
215
+
216
  // Check cookie permission
217
  if( in_array( $method, array( 'by_cookie', 'by_user_ip_cookie' ) ) ){
218
  $has_cookie = false;
includes/classes/class-wp-ulike-setting-repo.php CHANGED
@@ -110,6 +110,15 @@ class wp_ulike_setting_repo {
110
  return current_time( 'timestamp' ) + $expires;
111
  }
112
 
 
 
 
 
 
 
 
 
 
113
  /**
114
  * Get anonymous user display type
115
  *
110
  return current_time( 'timestamp' ) + $expires;
111
  }
112
 
113
+ /**
114
+ * Get the number of votes that can be submitted to one-per-person
115
+ *
116
+ * @return integer
117
+ */
118
+ public static function getVoteLimitNumber( $typeName ){
119
+ return self::getOption( self::getSettingKey( $typeName ) . '|vote_limit_number', 50 );
120
+ }
121
+
122
  /**
123
  * Get anonymous user display type
124
  *
includes/functions/meta.php CHANGED
@@ -55,7 +55,7 @@ if( ! function_exists( 'wp_ulike_add_meta_data' ) ){
55
 
56
  if ( $unique && $wpdb->get_var(
57
  $wpdb->prepare(
58
- "SELECT COUNT(*) FROM $table WHERE meta_group = %s AND meta_key = %s AND $column = %d",
59
  $meta_group,
60
  $meta_key,
61
  $object_id
@@ -148,7 +148,7 @@ if( ! function_exists( 'wp_ulike_update_meta_data' ) ){
148
  }
149
  }
150
 
151
- $meta_ids = $wpdb->get_col( $wpdb->prepare( "SELECT $id_column FROM $table WHERE meta_group = %s AND meta_key = %s AND $column = %d", $meta_group, $meta_key, $object_id ) );
152
  if ( empty( $meta_ids ) ) {
153
  return wp_ulike_add_meta_data( $object_id, $raw_meta_group, $raw_meta_key, $passed_value );
154
  }
@@ -455,7 +455,7 @@ if( ! function_exists( 'wp_ulike_delete_meta_data' ) ){
455
  $query = $wpdb->prepare( "SELECT $id_column FROM $table WHERE meta_group = %s AND meta_key = %s", $meta_group, $meta_key );
456
 
457
  if ( ! $delete_all ) {
458
- $query .= $wpdb->prepare( " AND $type_column = %d", $object_id );
459
  }
460
 
461
  if ( '' !== $meta_value && null !== $meta_value && false !== $meta_value ) {
55
 
56
  if ( $unique && $wpdb->get_var(
57
  $wpdb->prepare(
58
+ "SELECT COUNT(*) FROM $table WHERE meta_group = %s AND meta_key = %s AND $column = %s",
59
  $meta_group,
60
  $meta_key,
61
  $object_id
148
  }
149
  }
150
 
151
+ $meta_ids = $wpdb->get_col( $wpdb->prepare( "SELECT $id_column FROM $table WHERE meta_group = %s AND meta_key = %s AND $column = %s", $meta_group, $meta_key, $object_id ) );
152
  if ( empty( $meta_ids ) ) {
153
  return wp_ulike_add_meta_data( $object_id, $raw_meta_group, $raw_meta_key, $passed_value );
154
  }
455
  $query = $wpdb->prepare( "SELECT $id_column FROM $table WHERE meta_group = %s AND meta_key = %s", $meta_group, $meta_key );
456
 
457
  if ( ! $delete_all ) {
458
+ $query .= $wpdb->prepare( " AND $type_column = %s", $object_id );
459
  }
460
 
461
  if ( '' !== $meta_value && null !== $meta_value && false !== $meta_value ) {
includes/functions/queries.php CHANGED
@@ -441,6 +441,40 @@ if( ! function_exists( 'wp_ulike_get_user_item_history' ) ) {
441
  }
442
  }
443
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
444
  if( ! function_exists('wp_ulike_get_best_likers_info') ){
445
  /**
446
  * Get most liked users in query
441
  }
442
  }
443
 
444
+ if( ! function_exists( 'wp_ulike_get_user_item_count_per_day' ) ) {
445
+ /**
446
+ * A simple function to get user vote counter per day
447
+ *
448
+ * @param array $args
449
+ * @return array
450
+ */
451
+ function wp_ulike_get_user_item_count_per_day( $args ) {
452
+ global $wpdb;
453
+
454
+ $defaults = array(
455
+ "item_id" => '',
456
+ "current_user" => '',
457
+ "settings" => ''
458
+ );
459
+ $parsed_args = wp_parse_args( $args, $defaults );
460
+
461
+ $count_votes = $wpdb->get_var( stripslashes( sprintf( '
462
+ SELECT COUNT(*)
463
+ FROM %s
464
+ WHERE `%s` = \'%s\'
465
+ AND `user_id` = \'%s\'
466
+ AND DATE(date_time) = CURDATE()
467
+ ',
468
+ esc_sql( $wpdb->prefix . $parsed_args['settings']->getTableName() ),
469
+ esc_sql( $parsed_args['settings']->getColumnName() ),
470
+ esc_sql( $parsed_args['item_id'] ),
471
+ esc_sql( $parsed_args['current_user'] )
472
+ ) ) );
473
+
474
+ return $count_votes ? $count_votes : 0;
475
+ }
476
+ }
477
+
478
  if( ! function_exists('wp_ulike_get_best_likers_info') ){
479
  /**
480
  * Get most liked users in query
includes/functions/utilities.php CHANGED
@@ -193,17 +193,20 @@ if( ! function_exists( 'wp_ulike_generate_user_id' ) ){
193
  * @return String
194
  */
195
  function wp_ulike_generate_user_id( $user_ip ) {
196
- if( wp_ulike_validate_ip( $user_ip ) ) {
197
- return ip2long( $user_ip );
198
- } else {
199
- // Get non-anonymise IP address
200
- $user_ip = wp_ulike_get_user_ip();
201
- $binary_val = '';
202
- foreach ( unpack( 'C*', inet_pton( $user_ip ) ) as $byte ) {
203
- $binary_val .= str_pad( decbin( $byte ), 8, "0", STR_PAD_LEFT );
204
- }
205
- return base_convert( ltrim( $binary_val, '0' ), 2, 10 );
206
  }
 
 
 
 
 
 
207
  }
208
  }
209
 
193
  * @return String
194
  */
195
  function wp_ulike_generate_user_id( $user_ip ) {
196
+ $client_identifier = $user_ip;
197
+
198
+ if( ! empty( $_SERVER['HTTP_USER_AGENT'] ) ){
199
+ $client_identifier .= $_SERVER['HTTP_USER_AGENT'];
200
+ }
201
+ if( ! empty( $_SERVER['HTTP_ACCEPT_LANGUAGE'] ) ){
202
+ $client_identifier .= $_SERVER['HTTP_ACCEPT_LANGUAGE'];
 
 
 
203
  }
204
+
205
+ // Make numeric hash
206
+ $binhash = md5( $client_identifier, true );
207
+ $numhash = unpack( 'N2', $binhash );
208
+
209
+ return apply_filters( 'wp_ulike_generate_client_identifier', $numhash[1] . $numhash[2], $user_ip );
210
  }
211
  }
212
 
includes/hooks/general.php CHANGED
@@ -232,3 +232,16 @@ if( ! function_exists( 'wp_ulike_update_button_icon' ) ){
232
  add_action( 'wp_ulike_inside_template', 'wp_ulike_update_button_icon', 1 );
233
  }
234
 
 
 
 
 
 
 
 
 
 
 
 
 
 
232
  add_action( 'wp_ulike_inside_template', 'wp_ulike_update_button_icon', 1 );
233
  }
234
 
235
+ if( ! function_exists( 'wp_ulike_deprecated_csf_class' ) ){
236
+ /**
237
+ * Require deprecated CSF class
238
+ *
239
+ * @return void
240
+ */
241
+ function wp_ulike_deprecated_csf_class(){
242
+ // include _deprecated settings panel
243
+ require_once( WP_ULIKE_ADMIN_DIR . '/settings/_deprecated/deprecated.class.php');
244
+ }
245
+ add_action( 'plugins_loaded', 'wp_ulike_deprecated_csf_class' );
246
+ }
247
+
includes/index.php CHANGED
@@ -14,8 +14,6 @@ if ( ! defined( 'WPINC' ) ) {
14
 
15
  // include settings panel core
16
  require_once( WP_ULIKE_ADMIN_DIR . '/settings/classes/setup.class.php');
17
- // include _deprecated settings panel
18
- require_once( WP_ULIKE_ADMIN_DIR . '/settings/_deprecated/deprecated.class.php');
19
 
20
  // Register customizer options
21
  new wp_ulike_customizer();
14
 
15
  // include settings panel core
16
  require_once( WP_ULIKE_ADMIN_DIR . '/settings/classes/setup.class.php');
 
 
17
 
18
  // Register customizer options
19
  new wp_ulike_customizer();
includes/plugin.php CHANGED
@@ -58,11 +58,14 @@ class WpUlikeInit {
58
  }
59
 
60
  private function maybe_upgrade_database(){
61
- $current_version = get_option( 'wp_ulike_dbVersion', '1.6' );
62
  // Check database upgrade if needed
63
  if ( version_compare( $current_version, '2.1', '<' ) ) {
64
  wp_ulike_activator::get_instance()->upgrade_0();
65
  }
 
 
 
66
  }
67
 
68
  /**
58
  }
59
 
60
  private function maybe_upgrade_database(){
61
+ $current_version = get_option( 'wp_ulike_dbVersion', WP_ULIKE_DB_VERSION );
62
  // Check database upgrade if needed
63
  if ( version_compare( $current_version, '2.1', '<' ) ) {
64
  wp_ulike_activator::get_instance()->upgrade_0();
65
  }
66
+ if ( version_compare( $current_version, '2.2', '<' ) ) {
67
+ wp_ulike_activator::get_instance()->upgrade_1();
68
+ }
69
  }
70
 
71
  /**
languages/wp-ulike-ar.po CHANGED
@@ -4,7 +4,7 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
6
  "Report-Msgid-Bugs-To: https://wpulike.com\n"
7
- "POT-Creation-Date: 2021-09-22 12:01:15+00:00\n"
8
  "PO-Revision-Date: 2017-01-20 23:26:42+0000\n"
9
  "Language: ar\n"
10
  "MIME-Version: 1.0\n"
@@ -31,7 +31,7 @@ msgid "It's Ok!"
31
  msgstr "لا بأس!"
32
 
33
  #: admin/admin-functions.php:227
34
- #: admin/classes/class-wp-ulike-admin-panel.php:859
35
  #: includes/classes/class-wp-ulike-customizer.php:149
36
  msgid "Button"
37
  msgstr ""
@@ -163,13 +163,13 @@ msgid "Topics Likes Logs"
163
  msgstr "سجلات مواضيع الإعجاب"
164
 
165
  #: admin/classes/class-wp-ulike-admin-pages.php:59
166
- #: admin/includes/templates/statistics.php:124 includes/plugin.php:103
167
  msgid "Statistics"
168
  msgstr "إحصائيات"
169
 
170
  #: admin/classes/class-wp-ulike-admin-pages.php:67
171
  #: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
172
- #: includes/plugin.php:104
173
  msgid "About"
174
  msgstr ""
175
 
@@ -185,7 +185,7 @@ msgstr ""
185
  msgid "Logs"
186
  msgstr "السجلات"
187
 
188
- #: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:102
189
  msgid "Settings"
190
  msgstr "الإعدادات"
191
 
@@ -437,8 +437,8 @@ msgstr "النص لنشاطات المنشور :"
437
 
438
  #: admin/classes/class-wp-ulike-admin-panel.php:298
439
  #: admin/classes/class-wp-ulike-admin-panel.php:310
440
- #: admin/classes/class-wp-ulike-admin-panel.php:867
441
- #: admin/classes/class-wp-ulike-admin-panel.php:923
442
  msgid "Allowed Variables:"
443
  msgstr "المتغیرات المسموحة :"
444
 
@@ -839,6 +839,13 @@ msgid ""
839
  "are only allowed to have a specific point type."
840
  msgstr ""
841
 
 
 
 
 
 
 
 
842
  #: admin/classes/class-wp-ulike-admin-panel.php:843
843
  #, fuzzy
844
  msgid "Cookie Expiration"
@@ -849,76 +856,86 @@ msgid "Specify how long, in seconds, cookie expires. Default value: 31536000"
849
  msgstr ""
850
 
851
  #: admin/classes/class-wp-ulike-admin-panel.php:851
 
 
 
 
 
 
 
 
 
 
852
  msgid "Only logged in users"
853
  msgstr "فقط المستخدمين المسجلين"
854
 
855
- #: admin/classes/class-wp-ulike-admin-panel.php:856
856
  msgid "Display Type"
857
  msgstr "عرض النوع"
858
 
859
- #: admin/classes/class-wp-ulike-admin-panel.php:858
860
  msgid "Template"
861
  msgstr ""
862
 
863
- #: admin/classes/class-wp-ulike-admin-panel.php:873
864
- #: includes/classes/class-wp-ulike-setting-repo.php:173
865
  msgid "You need to login in order to like this post: "
866
  msgstr "تحتاج إلى تسجيل الدخول لتقییم هذا المنشور :"
867
 
868
- #: admin/classes/class-wp-ulike-admin-panel.php:875
869
- #: includes/classes/class-wp-ulike-setting-repo.php:175
870
  msgid "click here"
871
  msgstr "اضغط هنا انقر للدخول"
872
 
873
- #: admin/classes/class-wp-ulike-admin-panel.php:877
874
- #: admin/classes/class-wp-ulike-admin-panel.php:922
875
  msgid "Custom HTML Template"
876
  msgstr "قالب HTML المخصص"
877
 
878
- #: admin/classes/class-wp-ulike-admin-panel.php:883
879
  msgid "Display Likers Box"
880
  msgstr "عرض صندوق Likers"
881
 
882
- #: admin/classes/class-wp-ulike-admin-panel.php:888
883
  msgid "User List Arrange"
884
  msgstr ""
885
 
886
- #: admin/classes/class-wp-ulike-admin-panel.php:891
887
  msgid "Ascending"
888
  msgstr ""
889
 
890
- #: admin/classes/class-wp-ulike-admin-panel.php:892
891
  msgid "Descending"
892
  msgstr ""
893
 
894
- #: admin/classes/class-wp-ulike-admin-panel.php:900
895
  msgid "Hide For Anonymous Users"
896
  msgstr ""
897
 
898
- #: admin/classes/class-wp-ulike-admin-panel.php:906
899
  #, fuzzy
900
  msgid "Likers Box Display"
901
  msgstr "عدد من قام بالضغط على زر الإعجاب"
902
 
903
- #: admin/classes/class-wp-ulike-admin-panel.php:909
904
  msgid "Inline"
905
  msgstr ""
906
 
907
- #: admin/classes/class-wp-ulike-admin-panel.php:910
908
  #: includes/classes/class-wp-ulike-customizer.php:558
909
  #, fuzzy
910
  msgid "Popover"
911
  msgstr "غلاف"
912
 
913
- #: admin/classes/class-wp-ulike-admin-panel.php:936
914
  msgid "Size of Gravatars"
915
  msgstr "مقیاس قراواتار"
916
 
917
- #: admin/classes/class-wp-ulike-admin-panel.php:944
918
  msgid "Likers Count"
919
  msgstr "عدد من قام بالضغط على زر الإعجاب"
920
 
921
- #: admin/classes/class-wp-ulike-admin-panel.php:945
922
  msgid "The number of users to show in the users liked box"
923
  msgstr "حد الاقصی لإعرض عدد المستخدمين فی الباکس ؟!"
924
 
@@ -1836,94 +1853,94 @@ msgstr "قلب متحرك"
1836
  msgid "Error receiving input parameters"
1837
  msgstr ""
1838
 
1839
- #: includes/hooks/third-party.php:119
1840
  msgid "WP ULike Activity"
1841
  msgstr "نشاطات وردبرس یولایک"
1842
 
1843
- #: includes/hooks/third-party.php:134
1844
  msgid "Votes"
1845
  msgstr ""
1846
 
1847
- #: includes/hooks/third-party.php:344
1848
  msgid "posts"
1849
  msgstr ""
1850
 
1851
- #: includes/hooks/third-party.php:351
1852
  msgid "comments"
1853
  msgstr ""
1854
 
1855
- #: includes/hooks/third-party.php:357
1856
  msgid "activities"
1857
  msgstr ""
1858
 
1859
- #: includes/hooks/third-party.php:365
1860
  msgid "topics"
1861
  msgstr ""
1862
 
1863
- #: includes/hooks/third-party.php:368
1864
  msgid "replies"
1865
  msgstr ""
1866
 
1867
- #: includes/hooks/third-party.php:380
1868
  msgid "You have %d new %s likes"
1869
  msgstr ""
1870
 
1871
- #: includes/hooks/third-party.php:384
1872
  msgid "%s liked one of your %s"
1873
  msgstr ""
1874
 
1875
- #: includes/hooks/third-party.php:428
1876
  msgid "New activity liked"
1877
  msgstr ""
1878
 
1879
- #: includes/hooks/third-party.php:433
1880
  msgid "New comment liked"
1881
  msgstr ""
1882
 
1883
- #: includes/hooks/third-party.php:438
1884
  msgid "New post liked"
1885
  msgstr ""
1886
 
1887
- #: includes/hooks/third-party.php:443
1888
  msgid "New topic liked"
1889
  msgstr "موضوع جديد تم الإعجاب به"
1890
 
1891
- #: includes/hooks/third-party.php:801
1892
  msgid "Points for liking content"
1893
  msgstr ""
1894
 
1895
- #: includes/hooks/third-party.php:802
1896
  msgid ""
1897
  "This hook award / deducts points from users who Like/Unlike any content of "
1898
  "WordPress, bbPress, BuddyPress & ..."
1899
  msgstr ""
1900
 
1901
- #: includes/hooks/third-party.php:818
1902
  msgid "Liking Content"
1903
  msgstr ""
1904
 
1905
- #: includes/hooks/third-party.php:819
1906
  msgid "Liked Content"
1907
  msgstr "المحتوى الحاصل على إعجاب"
1908
 
1909
- #: includes/hooks/third-party.php:820
1910
  msgid "Unliking Content"
1911
  msgstr ""
1912
 
1913
- #: includes/hooks/third-party.php:821
1914
  msgid "Unliked Content"
1915
  msgstr ""
1916
 
1917
- #: includes/hooks/third-party.php:839
1918
  msgid "Recent Posts Liked"
1919
  msgstr "مشاركات تم الإعجاب بها مؤخراً"
1920
 
1921
- #: includes/hooks/third-party.php:844
1922
  msgid "Recent Comments Liked"
1923
  msgstr "تعليقات تم الإعجاب بها مؤخراً"
1924
 
1925
- #: includes/hooks/third-party.php:875 includes/hooks/third-party.php:901
1926
- #: includes/hooks/third-party.php:931 includes/hooks/third-party.php:961
1927
  msgid "This user has not made any likes."
1928
  msgstr ""
1929
 
@@ -1932,12 +1949,12 @@ msgid "WP ULike"
1932
  msgstr "وردبرس یولایک"
1933
 
1934
  #. translators: %s: PHP version
1935
- #: wp-ulike.php:74
1936
  msgid "WP ULike requires PHP version %s+, plugin is currently NOT RUNNING."
1937
  msgstr ""
1938
 
1939
  #. translators: %s: WordPress version
1940
- #: wp-ulike.php:88
1941
  msgid ""
1942
  "WP ULike requires WordPress version %s+. Because you are using an earlier "
1943
  "version, the plugin is currently NOT RUNNING."
4
  msgstr ""
5
  "Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
6
  "Report-Msgid-Bugs-To: https://wpulike.com\n"
7
+ "POT-Creation-Date: 2021-10-25 08:29:05+00:00\n"
8
  "PO-Revision-Date: 2017-01-20 23:26:42+0000\n"
9
  "Language: ar\n"
10
  "MIME-Version: 1.0\n"
31
  msgstr "لا بأس!"
32
 
33
  #: admin/admin-functions.php:227
34
+ #: admin/classes/class-wp-ulike-admin-panel.php:869
35
  #: includes/classes/class-wp-ulike-customizer.php:149
36
  msgid "Button"
37
  msgstr ""
163
  msgstr "سجلات مواضيع الإعجاب"
164
 
165
  #: admin/classes/class-wp-ulike-admin-pages.php:59
166
+ #: admin/includes/templates/statistics.php:124 includes/plugin.php:106
167
  msgid "Statistics"
168
  msgstr "إحصائيات"
169
 
170
  #: admin/classes/class-wp-ulike-admin-pages.php:67
171
  #: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
172
+ #: includes/plugin.php:107
173
  msgid "About"
174
  msgstr ""
175
 
185
  msgid "Logs"
186
  msgstr "السجلات"
187
 
188
+ #: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:105
189
  msgid "Settings"
190
  msgstr "الإعدادات"
191
 
437
 
438
  #: admin/classes/class-wp-ulike-admin-panel.php:298
439
  #: admin/classes/class-wp-ulike-admin-panel.php:310
440
+ #: admin/classes/class-wp-ulike-admin-panel.php:877
441
+ #: admin/classes/class-wp-ulike-admin-panel.php:933
442
  msgid "Allowed Variables:"
443
  msgstr "المتغیرات المسموحة :"
444
 
839
  "are only allowed to have a specific point type."
840
  msgstr ""
841
 
842
+ #: admin/classes/class-wp-ulike-admin-panel.php:838
843
+ msgid ""
844
+ "Username/IP + Cookie: Same as username/IP description, However, if the user "
845
+ "IP or username changes and the cookie is set, it does not allow the user to "
846
+ "like /dislike."
847
+ msgstr ""
848
+
849
  #: admin/classes/class-wp-ulike-admin-panel.php:843
850
  #, fuzzy
851
  msgid "Cookie Expiration"
856
  msgstr ""
857
 
858
  #: admin/classes/class-wp-ulike-admin-panel.php:851
859
+ msgid "Vote Limit Per Day"
860
+ msgstr ""
861
+
862
+ #: admin/classes/class-wp-ulike-admin-panel.php:852
863
+ msgid ""
864
+ "Limits the number of votes that can be submitted by user on each item per "
865
+ "day."
866
+ msgstr ""
867
+
868
+ #: admin/classes/class-wp-ulike-admin-panel.php:861
869
  msgid "Only logged in users"
870
  msgstr "فقط المستخدمين المسجلين"
871
 
872
+ #: admin/classes/class-wp-ulike-admin-panel.php:866
873
  msgid "Display Type"
874
  msgstr "عرض النوع"
875
 
876
+ #: admin/classes/class-wp-ulike-admin-panel.php:868
877
  msgid "Template"
878
  msgstr ""
879
 
880
+ #: admin/classes/class-wp-ulike-admin-panel.php:883
881
+ #: includes/classes/class-wp-ulike-setting-repo.php:182
882
  msgid "You need to login in order to like this post: "
883
  msgstr "تحتاج إلى تسجيل الدخول لتقییم هذا المنشور :"
884
 
885
+ #: admin/classes/class-wp-ulike-admin-panel.php:885
886
+ #: includes/classes/class-wp-ulike-setting-repo.php:184
887
  msgid "click here"
888
  msgstr "اضغط هنا انقر للدخول"
889
 
890
+ #: admin/classes/class-wp-ulike-admin-panel.php:887
891
+ #: admin/classes/class-wp-ulike-admin-panel.php:932
892
  msgid "Custom HTML Template"
893
  msgstr "قالب HTML المخصص"
894
 
895
+ #: admin/classes/class-wp-ulike-admin-panel.php:893
896
  msgid "Display Likers Box"
897
  msgstr "عرض صندوق Likers"
898
 
899
+ #: admin/classes/class-wp-ulike-admin-panel.php:898
900
  msgid "User List Arrange"
901
  msgstr ""
902
 
903
+ #: admin/classes/class-wp-ulike-admin-panel.php:901
904
  msgid "Ascending"
905
  msgstr ""
906
 
907
+ #: admin/classes/class-wp-ulike-admin-panel.php:902
908
  msgid "Descending"
909
  msgstr ""
910
 
911
+ #: admin/classes/class-wp-ulike-admin-panel.php:910
912
  msgid "Hide For Anonymous Users"
913
  msgstr ""
914
 
915
+ #: admin/classes/class-wp-ulike-admin-panel.php:916
916
  #, fuzzy
917
  msgid "Likers Box Display"
918
  msgstr "عدد من قام بالضغط على زر الإعجاب"
919
 
920
+ #: admin/classes/class-wp-ulike-admin-panel.php:919
921
  msgid "Inline"
922
  msgstr ""
923
 
924
+ #: admin/classes/class-wp-ulike-admin-panel.php:920
925
  #: includes/classes/class-wp-ulike-customizer.php:558
926
  #, fuzzy
927
  msgid "Popover"
928
  msgstr "غلاف"
929
 
930
+ #: admin/classes/class-wp-ulike-admin-panel.php:946
931
  msgid "Size of Gravatars"
932
  msgstr "مقیاس قراواتار"
933
 
934
+ #: admin/classes/class-wp-ulike-admin-panel.php:954
935
  msgid "Likers Count"
936
  msgstr "عدد من قام بالضغط على زر الإعجاب"
937
 
938
+ #: admin/classes/class-wp-ulike-admin-panel.php:955
939
  msgid "The number of users to show in the users liked box"
940
  msgstr "حد الاقصی لإعرض عدد المستخدمين فی الباکس ؟!"
941
 
1853
  msgid "Error receiving input parameters"
1854
  msgstr ""
1855
 
1856
+ #: includes/hooks/third-party.php:127
1857
  msgid "WP ULike Activity"
1858
  msgstr "نشاطات وردبرس یولایک"
1859
 
1860
+ #: includes/hooks/third-party.php:142
1861
  msgid "Votes"
1862
  msgstr ""
1863
 
1864
+ #: includes/hooks/third-party.php:352
1865
  msgid "posts"
1866
  msgstr ""
1867
 
1868
+ #: includes/hooks/third-party.php:359
1869
  msgid "comments"
1870
  msgstr ""
1871
 
1872
+ #: includes/hooks/third-party.php:365
1873
  msgid "activities"
1874
  msgstr ""
1875
 
1876
+ #: includes/hooks/third-party.php:373
1877
  msgid "topics"
1878
  msgstr ""
1879
 
1880
+ #: includes/hooks/third-party.php:376
1881
  msgid "replies"
1882
  msgstr ""
1883
 
1884
+ #: includes/hooks/third-party.php:388
1885
  msgid "You have %d new %s likes"
1886
  msgstr ""
1887
 
1888
+ #: includes/hooks/third-party.php:392
1889
  msgid "%s liked one of your %s"
1890
  msgstr ""
1891
 
1892
+ #: includes/hooks/third-party.php:436
1893
  msgid "New activity liked"
1894
  msgstr ""
1895
 
1896
+ #: includes/hooks/third-party.php:441
1897
  msgid "New comment liked"
1898
  msgstr ""
1899
 
1900
+ #: includes/hooks/third-party.php:446
1901
  msgid "New post liked"
1902
  msgstr ""
1903
 
1904
+ #: includes/hooks/third-party.php:451
1905
  msgid "New topic liked"
1906
  msgstr "موضوع جديد تم الإعجاب به"
1907
 
1908
+ #: includes/hooks/third-party.php:809
1909
  msgid "Points for liking content"
1910
  msgstr ""
1911
 
1912
+ #: includes/hooks/third-party.php:810
1913
  msgid ""
1914
  "This hook award / deducts points from users who Like/Unlike any content of "
1915
  "WordPress, bbPress, BuddyPress & ..."
1916
  msgstr ""
1917
 
1918
+ #: includes/hooks/third-party.php:826
1919
  msgid "Liking Content"
1920
  msgstr ""
1921
 
1922
+ #: includes/hooks/third-party.php:827
1923
  msgid "Liked Content"
1924
  msgstr "المحتوى الحاصل على إعجاب"
1925
 
1926
+ #: includes/hooks/third-party.php:828
1927
  msgid "Unliking Content"
1928
  msgstr ""
1929
 
1930
+ #: includes/hooks/third-party.php:829
1931
  msgid "Unliked Content"
1932
  msgstr ""
1933
 
1934
+ #: includes/hooks/third-party.php:847
1935
  msgid "Recent Posts Liked"
1936
  msgstr "مشاركات تم الإعجاب بها مؤخراً"
1937
 
1938
+ #: includes/hooks/third-party.php:852
1939
  msgid "Recent Comments Liked"
1940
  msgstr "تعليقات تم الإعجاب بها مؤخراً"
1941
 
1942
+ #: includes/hooks/third-party.php:883 includes/hooks/third-party.php:909
1943
+ #: includes/hooks/third-party.php:939 includes/hooks/third-party.php:969
1944
  msgid "This user has not made any likes."
1945
  msgstr ""
1946
 
1949
  msgstr "وردبرس یولایک"
1950
 
1951
  #. translators: %s: PHP version
1952
+ #: wp-ulike.php:78
1953
  msgid "WP ULike requires PHP version %s+, plugin is currently NOT RUNNING."
1954
  msgstr ""
1955
 
1956
  #. translators: %s: WordPress version
1957
+ #: wp-ulike.php:92
1958
  msgid ""
1959
  "WP ULike requires WordPress version %s+. Because you are using an earlier "
1960
  "version, the plugin is currently NOT RUNNING."
languages/wp-ulike-de.po CHANGED
@@ -4,7 +4,7 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
6
  "Report-Msgid-Bugs-To: https://wpulike.com\n"
7
- "POT-Creation-Date: 2021-09-22 12:01:15+00:00\n"
8
  "PO-Revision-Date: 2019-06-19 16:23:52+0000\n"
9
  "Language: de\n"
10
  "MIME-Version: 1.0\n"
@@ -30,7 +30,7 @@ msgid "It's Ok!"
30
  msgstr ""
31
 
32
  #: admin/admin-functions.php:227
33
- #: admin/classes/class-wp-ulike-admin-panel.php:859
34
  #: includes/classes/class-wp-ulike-customizer.php:149
35
  msgid "Button"
36
  msgstr ""
@@ -155,13 +155,13 @@ msgid "Topics Likes Logs"
155
  msgstr ""
156
 
157
  #: admin/classes/class-wp-ulike-admin-pages.php:59
158
- #: admin/includes/templates/statistics.php:124 includes/plugin.php:103
159
  msgid "Statistics"
160
  msgstr ""
161
 
162
  #: admin/classes/class-wp-ulike-admin-pages.php:67
163
  #: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
164
- #: includes/plugin.php:104
165
  msgid "About"
166
  msgstr ""
167
 
@@ -177,7 +177,7 @@ msgstr ""
177
  msgid "Logs"
178
  msgstr "Logdateien"
179
 
180
- #: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:102
181
  msgid "Settings"
182
  msgstr ""
183
 
@@ -421,8 +421,8 @@ msgstr ""
421
 
422
  #: admin/classes/class-wp-ulike-admin-panel.php:298
423
  #: admin/classes/class-wp-ulike-admin-panel.php:310
424
- #: admin/classes/class-wp-ulike-admin-panel.php:867
425
- #: admin/classes/class-wp-ulike-admin-panel.php:923
426
  msgid "Allowed Variables:"
427
  msgstr ""
428
 
@@ -809,6 +809,13 @@ msgid ""
809
  "are only allowed to have a specific point type."
810
  msgstr ""
811
 
 
 
 
 
 
 
 
812
  #: admin/classes/class-wp-ulike-admin-panel.php:843
813
  msgid "Cookie Expiration"
814
  msgstr ""
@@ -818,74 +825,84 @@ msgid "Specify how long, in seconds, cookie expires. Default value: 31536000"
818
  msgstr ""
819
 
820
  #: admin/classes/class-wp-ulike-admin-panel.php:851
 
 
 
 
 
 
 
 
 
 
821
  msgid "Only logged in users"
822
  msgstr ""
823
 
824
- #: admin/classes/class-wp-ulike-admin-panel.php:856
825
  msgid "Display Type"
826
  msgstr ""
827
 
828
- #: admin/classes/class-wp-ulike-admin-panel.php:858
829
  msgid "Template"
830
  msgstr ""
831
 
832
- #: admin/classes/class-wp-ulike-admin-panel.php:873
833
- #: includes/classes/class-wp-ulike-setting-repo.php:173
834
  msgid "You need to login in order to like this post: "
835
  msgstr ""
836
 
837
- #: admin/classes/class-wp-ulike-admin-panel.php:875
838
- #: includes/classes/class-wp-ulike-setting-repo.php:175
839
  msgid "click here"
840
  msgstr ""
841
 
842
- #: admin/classes/class-wp-ulike-admin-panel.php:877
843
- #: admin/classes/class-wp-ulike-admin-panel.php:922
844
  msgid "Custom HTML Template"
845
  msgstr ""
846
 
847
- #: admin/classes/class-wp-ulike-admin-panel.php:883
848
  msgid "Display Likers Box"
849
  msgstr ""
850
 
851
- #: admin/classes/class-wp-ulike-admin-panel.php:888
852
  msgid "User List Arrange"
853
  msgstr ""
854
 
855
- #: admin/classes/class-wp-ulike-admin-panel.php:891
856
  msgid "Ascending"
857
  msgstr ""
858
 
859
- #: admin/classes/class-wp-ulike-admin-panel.php:892
860
  msgid "Descending"
861
  msgstr ""
862
 
863
- #: admin/classes/class-wp-ulike-admin-panel.php:900
864
  msgid "Hide For Anonymous Users"
865
  msgstr ""
866
 
867
- #: admin/classes/class-wp-ulike-admin-panel.php:906
868
  msgid "Likers Box Display"
869
  msgstr ""
870
 
871
- #: admin/classes/class-wp-ulike-admin-panel.php:909
872
  msgid "Inline"
873
  msgstr ""
874
 
875
- #: admin/classes/class-wp-ulike-admin-panel.php:910
876
  #: includes/classes/class-wp-ulike-customizer.php:558
877
  msgid "Popover"
878
  msgstr ""
879
 
880
- #: admin/classes/class-wp-ulike-admin-panel.php:936
881
  msgid "Size of Gravatars"
882
  msgstr ""
883
 
884
- #: admin/classes/class-wp-ulike-admin-panel.php:944
885
  msgid "Likers Count"
886
  msgstr ""
887
 
888
- #: admin/classes/class-wp-ulike-admin-panel.php:945
889
  msgid "The number of users to show in the users liked box"
890
  msgstr ""
891
 
@@ -1763,94 +1780,94 @@ msgstr ""
1763
  msgid "Error receiving input parameters"
1764
  msgstr ""
1765
 
1766
- #: includes/hooks/third-party.php:119
1767
  msgid "WP ULike Activity"
1768
  msgstr ""
1769
 
1770
- #: includes/hooks/third-party.php:134
1771
  msgid "Votes"
1772
  msgstr ""
1773
 
1774
- #: includes/hooks/third-party.php:344
1775
  msgid "posts"
1776
  msgstr ""
1777
 
1778
- #: includes/hooks/third-party.php:351
1779
  msgid "comments"
1780
  msgstr ""
1781
 
1782
- #: includes/hooks/third-party.php:357
1783
  msgid "activities"
1784
  msgstr ""
1785
 
1786
- #: includes/hooks/third-party.php:365
1787
  msgid "topics"
1788
  msgstr ""
1789
 
1790
- #: includes/hooks/third-party.php:368
1791
  msgid "replies"
1792
  msgstr ""
1793
 
1794
- #: includes/hooks/third-party.php:380
1795
  msgid "You have %d new %s likes"
1796
  msgstr ""
1797
 
1798
- #: includes/hooks/third-party.php:384
1799
  msgid "%s liked one of your %s"
1800
  msgstr ""
1801
 
1802
- #: includes/hooks/third-party.php:428
1803
  msgid "New activity liked"
1804
  msgstr ""
1805
 
1806
- #: includes/hooks/third-party.php:433
1807
  msgid "New comment liked"
1808
  msgstr ""
1809
 
1810
- #: includes/hooks/third-party.php:438
1811
  msgid "New post liked"
1812
  msgstr ""
1813
 
1814
- #: includes/hooks/third-party.php:443
1815
  msgid "New topic liked"
1816
  msgstr ""
1817
 
1818
- #: includes/hooks/third-party.php:801
1819
  msgid "Points for liking content"
1820
  msgstr ""
1821
 
1822
- #: includes/hooks/third-party.php:802
1823
  msgid ""
1824
  "This hook award / deducts points from users who Like/Unlike any content of "
1825
  "WordPress, bbPress, BuddyPress & ..."
1826
  msgstr ""
1827
 
1828
- #: includes/hooks/third-party.php:818
1829
  msgid "Liking Content"
1830
  msgstr ""
1831
 
1832
- #: includes/hooks/third-party.php:819
1833
  msgid "Liked Content"
1834
  msgstr ""
1835
 
1836
- #: includes/hooks/third-party.php:820
1837
  msgid "Unliking Content"
1838
  msgstr ""
1839
 
1840
- #: includes/hooks/third-party.php:821
1841
  msgid "Unliked Content"
1842
  msgstr ""
1843
 
1844
- #: includes/hooks/third-party.php:839
1845
  msgid "Recent Posts Liked"
1846
  msgstr ""
1847
 
1848
- #: includes/hooks/third-party.php:844
1849
  msgid "Recent Comments Liked"
1850
  msgstr ""
1851
 
1852
- #: includes/hooks/third-party.php:875 includes/hooks/third-party.php:901
1853
- #: includes/hooks/third-party.php:931 includes/hooks/third-party.php:961
1854
  msgid "This user has not made any likes."
1855
  msgstr ""
1856
 
@@ -1859,12 +1876,12 @@ msgid "WP ULike"
1859
  msgstr ""
1860
 
1861
  #. translators: %s: PHP version
1862
- #: wp-ulike.php:74
1863
  msgid "WP ULike requires PHP version %s+, plugin is currently NOT RUNNING."
1864
  msgstr ""
1865
 
1866
  #. translators: %s: WordPress version
1867
- #: wp-ulike.php:88
1868
  msgid ""
1869
  "WP ULike requires WordPress version %s+. Because you are using an earlier "
1870
  "version, the plugin is currently NOT RUNNING."
4
  msgstr ""
5
  "Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
6
  "Report-Msgid-Bugs-To: https://wpulike.com\n"
7
+ "POT-Creation-Date: 2021-10-25 08:29:05+00:00\n"
8
  "PO-Revision-Date: 2019-06-19 16:23:52+0000\n"
9
  "Language: de\n"
10
  "MIME-Version: 1.0\n"
30
  msgstr ""
31
 
32
  #: admin/admin-functions.php:227
33
+ #: admin/classes/class-wp-ulike-admin-panel.php:869
34
  #: includes/classes/class-wp-ulike-customizer.php:149
35
  msgid "Button"
36
  msgstr ""
155
  msgstr ""
156
 
157
  #: admin/classes/class-wp-ulike-admin-pages.php:59
158
+ #: admin/includes/templates/statistics.php:124 includes/plugin.php:106
159
  msgid "Statistics"
160
  msgstr ""
161
 
162
  #: admin/classes/class-wp-ulike-admin-pages.php:67
163
  #: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
164
+ #: includes/plugin.php:107
165
  msgid "About"
166
  msgstr ""
167
 
177
  msgid "Logs"
178
  msgstr "Logdateien"
179
 
180
+ #: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:105
181
  msgid "Settings"
182
  msgstr ""
183
 
421
 
422
  #: admin/classes/class-wp-ulike-admin-panel.php:298
423
  #: admin/classes/class-wp-ulike-admin-panel.php:310
424
+ #: admin/classes/class-wp-ulike-admin-panel.php:877
425
+ #: admin/classes/class-wp-ulike-admin-panel.php:933
426
  msgid "Allowed Variables:"
427
  msgstr ""
428
 
809
  "are only allowed to have a specific point type."
810
  msgstr ""
811
 
812
+ #: admin/classes/class-wp-ulike-admin-panel.php:838
813
+ msgid ""
814
+ "Username/IP + Cookie: Same as username/IP description, However, if the user "
815
+ "IP or username changes and the cookie is set, it does not allow the user to "
816
+ "like /dislike."
817
+ msgstr ""
818
+
819
  #: admin/classes/class-wp-ulike-admin-panel.php:843
820
  msgid "Cookie Expiration"
821
  msgstr ""
825
  msgstr ""
826
 
827
  #: admin/classes/class-wp-ulike-admin-panel.php:851
828
+ msgid "Vote Limit Per Day"
829
+ msgstr ""
830
+
831
+ #: admin/classes/class-wp-ulike-admin-panel.php:852
832
+ msgid ""
833
+ "Limits the number of votes that can be submitted by user on each item per "
834
+ "day."
835
+ msgstr ""
836
+
837
+ #: admin/classes/class-wp-ulike-admin-panel.php:861
838
  msgid "Only logged in users"
839
  msgstr ""
840
 
841
+ #: admin/classes/class-wp-ulike-admin-panel.php:866
842
  msgid "Display Type"
843
  msgstr ""
844
 
845
+ #: admin/classes/class-wp-ulike-admin-panel.php:868
846
  msgid "Template"
847
  msgstr ""
848
 
849
+ #: admin/classes/class-wp-ulike-admin-panel.php:883
850
+ #: includes/classes/class-wp-ulike-setting-repo.php:182
851
  msgid "You need to login in order to like this post: "
852
  msgstr ""
853
 
854
+ #: admin/classes/class-wp-ulike-admin-panel.php:885
855
+ #: includes/classes/class-wp-ulike-setting-repo.php:184
856
  msgid "click here"
857
  msgstr ""
858
 
859
+ #: admin/classes/class-wp-ulike-admin-panel.php:887
860
+ #: admin/classes/class-wp-ulike-admin-panel.php:932
861
  msgid "Custom HTML Template"
862
  msgstr ""
863
 
864
+ #: admin/classes/class-wp-ulike-admin-panel.php:893
865
  msgid "Display Likers Box"
866
  msgstr ""
867
 
868
+ #: admin/classes/class-wp-ulike-admin-panel.php:898
869
  msgid "User List Arrange"
870
  msgstr ""
871
 
872
+ #: admin/classes/class-wp-ulike-admin-panel.php:901
873
  msgid "Ascending"
874
  msgstr ""
875
 
876
+ #: admin/classes/class-wp-ulike-admin-panel.php:902
877
  msgid "Descending"
878
  msgstr ""
879
 
880
+ #: admin/classes/class-wp-ulike-admin-panel.php:910
881
  msgid "Hide For Anonymous Users"
882
  msgstr ""
883
 
884
+ #: admin/classes/class-wp-ulike-admin-panel.php:916
885
  msgid "Likers Box Display"
886
  msgstr ""
887
 
888
+ #: admin/classes/class-wp-ulike-admin-panel.php:919
889
  msgid "Inline"
890
  msgstr ""
891
 
892
+ #: admin/classes/class-wp-ulike-admin-panel.php:920
893
  #: includes/classes/class-wp-ulike-customizer.php:558
894
  msgid "Popover"
895
  msgstr ""
896
 
897
+ #: admin/classes/class-wp-ulike-admin-panel.php:946
898
  msgid "Size of Gravatars"
899
  msgstr ""
900
 
901
+ #: admin/classes/class-wp-ulike-admin-panel.php:954
902
  msgid "Likers Count"
903
  msgstr ""
904
 
905
+ #: admin/classes/class-wp-ulike-admin-panel.php:955
906
  msgid "The number of users to show in the users liked box"
907
  msgstr ""
908
 
1780
  msgid "Error receiving input parameters"
1781
  msgstr ""
1782
 
1783
+ #: includes/hooks/third-party.php:127
1784
  msgid "WP ULike Activity"
1785
  msgstr ""
1786
 
1787
+ #: includes/hooks/third-party.php:142
1788
  msgid "Votes"
1789
  msgstr ""
1790
 
1791
+ #: includes/hooks/third-party.php:352
1792
  msgid "posts"
1793
  msgstr ""
1794
 
1795
+ #: includes/hooks/third-party.php:359
1796
  msgid "comments"
1797
  msgstr ""
1798
 
1799
+ #: includes/hooks/third-party.php:365
1800
  msgid "activities"
1801
  msgstr ""
1802
 
1803
+ #: includes/hooks/third-party.php:373
1804
  msgid "topics"
1805
  msgstr ""
1806
 
1807
+ #: includes/hooks/third-party.php:376
1808
  msgid "replies"
1809
  msgstr ""
1810
 
1811
+ #: includes/hooks/third-party.php:388
1812
  msgid "You have %d new %s likes"
1813
  msgstr ""
1814
 
1815
+ #: includes/hooks/third-party.php:392
1816
  msgid "%s liked one of your %s"
1817
  msgstr ""
1818
 
1819
+ #: includes/hooks/third-party.php:436
1820
  msgid "New activity liked"
1821
  msgstr ""
1822
 
1823
+ #: includes/hooks/third-party.php:441
1824
  msgid "New comment liked"
1825
  msgstr ""
1826
 
1827
+ #: includes/hooks/third-party.php:446
1828
  msgid "New post liked"
1829
  msgstr ""
1830
 
1831
+ #: includes/hooks/third-party.php:451
1832
  msgid "New topic liked"
1833
  msgstr ""
1834
 
1835
+ #: includes/hooks/third-party.php:809
1836
  msgid "Points for liking content"
1837
  msgstr ""
1838
 
1839
+ #: includes/hooks/third-party.php:810
1840
  msgid ""
1841
  "This hook award / deducts points from users who Like/Unlike any content of "
1842
  "WordPress, bbPress, BuddyPress & ..."
1843
  msgstr ""
1844
 
1845
+ #: includes/hooks/third-party.php:826
1846
  msgid "Liking Content"
1847
  msgstr ""
1848
 
1849
+ #: includes/hooks/third-party.php:827
1850
  msgid "Liked Content"
1851
  msgstr ""
1852
 
1853
+ #: includes/hooks/third-party.php:828
1854
  msgid "Unliking Content"
1855
  msgstr ""
1856
 
1857
+ #: includes/hooks/third-party.php:829
1858
  msgid "Unliked Content"
1859
  msgstr ""
1860
 
1861
+ #: includes/hooks/third-party.php:847
1862
  msgid "Recent Posts Liked"
1863
  msgstr ""
1864
 
1865
+ #: includes/hooks/third-party.php:852
1866
  msgid "Recent Comments Liked"
1867
  msgstr ""
1868
 
1869
+ #: includes/hooks/third-party.php:883 includes/hooks/third-party.php:909
1870
+ #: includes/hooks/third-party.php:939 includes/hooks/third-party.php:969
1871
  msgid "This user has not made any likes."
1872
  msgstr ""
1873
 
1876
  msgstr ""
1877
 
1878
  #. translators: %s: PHP version
1879
+ #: wp-ulike.php:78
1880
  msgid "WP ULike requires PHP version %s+, plugin is currently NOT RUNNING."
1881
  msgstr ""
1882
 
1883
  #. translators: %s: WordPress version
1884
+ #: wp-ulike.php:92
1885
  msgid ""
1886
  "WP ULike requires WordPress version %s+. Because you are using an earlier "
1887
  "version, the plugin is currently NOT RUNNING."
languages/wp-ulike-es-co.po CHANGED
@@ -4,7 +4,7 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
6
  "Report-Msgid-Bugs-To: https://wpulike.com\n"
7
- "POT-Creation-Date: 2021-09-22 12:01:15+00:00\n"
8
  "PO-Revision-Date: +0000\n"
9
  "Language: es_CO\n"
10
  "MIME-Version: 1.0\n"
@@ -30,7 +30,7 @@ msgid "It's Ok!"
30
  msgstr ""
31
 
32
  #: admin/admin-functions.php:227
33
- #: admin/classes/class-wp-ulike-admin-panel.php:859
34
  #: includes/classes/class-wp-ulike-customizer.php:149
35
  msgid "Button"
36
  msgstr ""
@@ -155,13 +155,13 @@ msgid "Topics Likes Logs"
155
  msgstr ""
156
 
157
  #: admin/classes/class-wp-ulike-admin-pages.php:59
158
- #: admin/includes/templates/statistics.php:124 includes/plugin.php:103
159
  msgid "Statistics"
160
  msgstr ""
161
 
162
  #: admin/classes/class-wp-ulike-admin-pages.php:67
163
  #: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
164
- #: includes/plugin.php:104
165
  msgid "About"
166
  msgstr ""
167
 
@@ -177,7 +177,7 @@ msgstr ""
177
  msgid "Logs"
178
  msgstr ""
179
 
180
- #: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:102
181
  msgid "Settings"
182
  msgstr ""
183
 
@@ -420,8 +420,8 @@ msgstr ""
420
 
421
  #: admin/classes/class-wp-ulike-admin-panel.php:298
422
  #: admin/classes/class-wp-ulike-admin-panel.php:310
423
- #: admin/classes/class-wp-ulike-admin-panel.php:867
424
- #: admin/classes/class-wp-ulike-admin-panel.php:923
425
  msgid "Allowed Variables:"
426
  msgstr ""
427
 
@@ -806,6 +806,13 @@ msgid ""
806
  "are only allowed to have a specific point type."
807
  msgstr ""
808
 
 
 
 
 
 
 
 
809
  #: admin/classes/class-wp-ulike-admin-panel.php:843
810
  msgid "Cookie Expiration"
811
  msgstr ""
@@ -815,74 +822,84 @@ msgid "Specify how long, in seconds, cookie expires. Default value: 31536000"
815
  msgstr ""
816
 
817
  #: admin/classes/class-wp-ulike-admin-panel.php:851
 
 
 
 
 
 
 
 
 
 
818
  msgid "Only logged in users"
819
  msgstr ""
820
 
821
- #: admin/classes/class-wp-ulike-admin-panel.php:856
822
  msgid "Display Type"
823
  msgstr ""
824
 
825
- #: admin/classes/class-wp-ulike-admin-panel.php:858
826
  msgid "Template"
827
  msgstr ""
828
 
829
- #: admin/classes/class-wp-ulike-admin-panel.php:873
830
- #: includes/classes/class-wp-ulike-setting-repo.php:173
831
  msgid "You need to login in order to like this post: "
832
  msgstr ""
833
 
834
- #: admin/classes/class-wp-ulike-admin-panel.php:875
835
- #: includes/classes/class-wp-ulike-setting-repo.php:175
836
  msgid "click here"
837
  msgstr ""
838
 
839
- #: admin/classes/class-wp-ulike-admin-panel.php:877
840
- #: admin/classes/class-wp-ulike-admin-panel.php:922
841
  msgid "Custom HTML Template"
842
  msgstr ""
843
 
844
- #: admin/classes/class-wp-ulike-admin-panel.php:883
845
  msgid "Display Likers Box"
846
  msgstr ""
847
 
848
- #: admin/classes/class-wp-ulike-admin-panel.php:888
849
  msgid "User List Arrange"
850
  msgstr ""
851
 
852
- #: admin/classes/class-wp-ulike-admin-panel.php:891
853
  msgid "Ascending"
854
  msgstr ""
855
 
856
- #: admin/classes/class-wp-ulike-admin-panel.php:892
857
  msgid "Descending"
858
  msgstr ""
859
 
860
- #: admin/classes/class-wp-ulike-admin-panel.php:900
861
  msgid "Hide For Anonymous Users"
862
  msgstr ""
863
 
864
- #: admin/classes/class-wp-ulike-admin-panel.php:906
865
  msgid "Likers Box Display"
866
  msgstr ""
867
 
868
- #: admin/classes/class-wp-ulike-admin-panel.php:909
869
  msgid "Inline"
870
  msgstr ""
871
 
872
- #: admin/classes/class-wp-ulike-admin-panel.php:910
873
  #: includes/classes/class-wp-ulike-customizer.php:558
874
  msgid "Popover"
875
  msgstr ""
876
 
877
- #: admin/classes/class-wp-ulike-admin-panel.php:936
878
  msgid "Size of Gravatars"
879
  msgstr ""
880
 
881
- #: admin/classes/class-wp-ulike-admin-panel.php:944
882
  msgid "Likers Count"
883
  msgstr ""
884
 
885
- #: admin/classes/class-wp-ulike-admin-panel.php:945
886
  msgid "The number of users to show in the users liked box"
887
  msgstr ""
888
 
@@ -1758,94 +1775,94 @@ msgstr ""
1758
  msgid "Error receiving input parameters"
1759
  msgstr ""
1760
 
1761
- #: includes/hooks/third-party.php:119
1762
  msgid "WP ULike Activity"
1763
  msgstr ""
1764
 
1765
- #: includes/hooks/third-party.php:134
1766
  msgid "Votes"
1767
  msgstr ""
1768
 
1769
- #: includes/hooks/third-party.php:344
1770
  msgid "posts"
1771
  msgstr ""
1772
 
1773
- #: includes/hooks/third-party.php:351
1774
  msgid "comments"
1775
  msgstr ""
1776
 
1777
- #: includes/hooks/third-party.php:357
1778
  msgid "activities"
1779
  msgstr ""
1780
 
1781
- #: includes/hooks/third-party.php:365
1782
  msgid "topics"
1783
  msgstr ""
1784
 
1785
- #: includes/hooks/third-party.php:368
1786
  msgid "replies"
1787
  msgstr ""
1788
 
1789
- #: includes/hooks/third-party.php:380
1790
  msgid "You have %d new %s likes"
1791
  msgstr ""
1792
 
1793
- #: includes/hooks/third-party.php:384
1794
  msgid "%s liked one of your %s"
1795
  msgstr ""
1796
 
1797
- #: includes/hooks/third-party.php:428
1798
  msgid "New activity liked"
1799
  msgstr ""
1800
 
1801
- #: includes/hooks/third-party.php:433
1802
  msgid "New comment liked"
1803
  msgstr ""
1804
 
1805
- #: includes/hooks/third-party.php:438
1806
  msgid "New post liked"
1807
  msgstr ""
1808
 
1809
- #: includes/hooks/third-party.php:443
1810
  msgid "New topic liked"
1811
  msgstr ""
1812
 
1813
- #: includes/hooks/third-party.php:801
1814
  msgid "Points for liking content"
1815
  msgstr ""
1816
 
1817
- #: includes/hooks/third-party.php:802
1818
  msgid ""
1819
  "This hook award / deducts points from users who Like/Unlike any content of "
1820
  "WordPress, bbPress, BuddyPress & ..."
1821
  msgstr ""
1822
 
1823
- #: includes/hooks/third-party.php:818
1824
  msgid "Liking Content"
1825
  msgstr ""
1826
 
1827
- #: includes/hooks/third-party.php:819
1828
  msgid "Liked Content"
1829
  msgstr ""
1830
 
1831
- #: includes/hooks/third-party.php:820
1832
  msgid "Unliking Content"
1833
  msgstr ""
1834
 
1835
- #: includes/hooks/third-party.php:821
1836
  msgid "Unliked Content"
1837
  msgstr ""
1838
 
1839
- #: includes/hooks/third-party.php:839
1840
  msgid "Recent Posts Liked"
1841
  msgstr ""
1842
 
1843
- #: includes/hooks/third-party.php:844
1844
  msgid "Recent Comments Liked"
1845
  msgstr ""
1846
 
1847
- #: includes/hooks/third-party.php:875 includes/hooks/third-party.php:901
1848
- #: includes/hooks/third-party.php:931 includes/hooks/third-party.php:961
1849
  msgid "This user has not made any likes."
1850
  msgstr ""
1851
 
@@ -1854,12 +1871,12 @@ msgid "WP ULike"
1854
  msgstr ""
1855
 
1856
  #. translators: %s: PHP version
1857
- #: wp-ulike.php:74
1858
  msgid "WP ULike requires PHP version %s+, plugin is currently NOT RUNNING."
1859
  msgstr ""
1860
 
1861
  #. translators: %s: WordPress version
1862
- #: wp-ulike.php:88
1863
  msgid ""
1864
  "WP ULike requires WordPress version %s+. Because you are using an earlier "
1865
  "version, the plugin is currently NOT RUNNING."
4
  msgstr ""
5
  "Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
6
  "Report-Msgid-Bugs-To: https://wpulike.com\n"
7
+ "POT-Creation-Date: 2021-10-25 08:29:05+00:00\n"
8
  "PO-Revision-Date: +0000\n"
9
  "Language: es_CO\n"
10
  "MIME-Version: 1.0\n"
30
  msgstr ""
31
 
32
  #: admin/admin-functions.php:227
33
+ #: admin/classes/class-wp-ulike-admin-panel.php:869
34
  #: includes/classes/class-wp-ulike-customizer.php:149
35
  msgid "Button"
36
  msgstr ""
155
  msgstr ""
156
 
157
  #: admin/classes/class-wp-ulike-admin-pages.php:59
158
+ #: admin/includes/templates/statistics.php:124 includes/plugin.php:106
159
  msgid "Statistics"
160
  msgstr ""
161
 
162
  #: admin/classes/class-wp-ulike-admin-pages.php:67
163
  #: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
164
+ #: includes/plugin.php:107
165
  msgid "About"
166
  msgstr ""
167
 
177
  msgid "Logs"
178
  msgstr ""
179
 
180
+ #: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:105
181
  msgid "Settings"
182
  msgstr ""
183
 
420
 
421
  #: admin/classes/class-wp-ulike-admin-panel.php:298
422
  #: admin/classes/class-wp-ulike-admin-panel.php:310
423
+ #: admin/classes/class-wp-ulike-admin-panel.php:877
424
+ #: admin/classes/class-wp-ulike-admin-panel.php:933
425
  msgid "Allowed Variables:"
426
  msgstr ""
427
 
806
  "are only allowed to have a specific point type."
807
  msgstr ""
808
 
809
+ #: admin/classes/class-wp-ulike-admin-panel.php:838
810
+ msgid ""
811
+ "Username/IP + Cookie: Same as username/IP description, However, if the user "
812
+ "IP or username changes and the cookie is set, it does not allow the user to "
813
+ "like /dislike."
814
+ msgstr ""
815
+
816
  #: admin/classes/class-wp-ulike-admin-panel.php:843
817
  msgid "Cookie Expiration"
818
  msgstr ""
822
  msgstr ""
823
 
824
  #: admin/classes/class-wp-ulike-admin-panel.php:851
825
+ msgid "Vote Limit Per Day"
826
+ msgstr ""
827
+
828
+ #: admin/classes/class-wp-ulike-admin-panel.php:852
829
+ msgid ""
830
+ "Limits the number of votes that can be submitted by user on each item per "
831
+ "day."
832
+ msgstr ""
833
+
834
+ #: admin/classes/class-wp-ulike-admin-panel.php:861
835
  msgid "Only logged in users"
836
  msgstr ""
837
 
838
+ #: admin/classes/class-wp-ulike-admin-panel.php:866
839
  msgid "Display Type"
840
  msgstr ""
841
 
842
+ #: admin/classes/class-wp-ulike-admin-panel.php:868
843
  msgid "Template"
844
  msgstr ""
845
 
846
+ #: admin/classes/class-wp-ulike-admin-panel.php:883
847
+ #: includes/classes/class-wp-ulike-setting-repo.php:182
848
  msgid "You need to login in order to like this post: "
849
  msgstr ""
850
 
851
+ #: admin/classes/class-wp-ulike-admin-panel.php:885
852
+ #: includes/classes/class-wp-ulike-setting-repo.php:184
853
  msgid "click here"
854
  msgstr ""
855
 
856
+ #: admin/classes/class-wp-ulike-admin-panel.php:887
857
+ #: admin/classes/class-wp-ulike-admin-panel.php:932
858
  msgid "Custom HTML Template"
859
  msgstr ""
860
 
861
+ #: admin/classes/class-wp-ulike-admin-panel.php:893
862
  msgid "Display Likers Box"
863
  msgstr ""
864
 
865
+ #: admin/classes/class-wp-ulike-admin-panel.php:898
866
  msgid "User List Arrange"
867
  msgstr ""
868
 
869
+ #: admin/classes/class-wp-ulike-admin-panel.php:901
870
  msgid "Ascending"
871
  msgstr ""
872
 
873
+ #: admin/classes/class-wp-ulike-admin-panel.php:902
874
  msgid "Descending"
875
  msgstr ""
876
 
877
+ #: admin/classes/class-wp-ulike-admin-panel.php:910
878
  msgid "Hide For Anonymous Users"
879
  msgstr ""
880
 
881
+ #: admin/classes/class-wp-ulike-admin-panel.php:916
882
  msgid "Likers Box Display"
883
  msgstr ""
884
 
885
+ #: admin/classes/class-wp-ulike-admin-panel.php:919
886
  msgid "Inline"
887
  msgstr ""
888
 
889
+ #: admin/classes/class-wp-ulike-admin-panel.php:920
890
  #: includes/classes/class-wp-ulike-customizer.php:558
891
  msgid "Popover"
892
  msgstr ""
893
 
894
+ #: admin/classes/class-wp-ulike-admin-panel.php:946
895
  msgid "Size of Gravatars"
896
  msgstr ""
897
 
898
+ #: admin/classes/class-wp-ulike-admin-panel.php:954
899
  msgid "Likers Count"
900
  msgstr ""
901
 
902
+ #: admin/classes/class-wp-ulike-admin-panel.php:955
903
  msgid "The number of users to show in the users liked box"
904
  msgstr ""
905
 
1775
  msgid "Error receiving input parameters"
1776
  msgstr ""
1777
 
1778
+ #: includes/hooks/third-party.php:127
1779
  msgid "WP ULike Activity"
1780
  msgstr ""
1781
 
1782
+ #: includes/hooks/third-party.php:142
1783
  msgid "Votes"
1784
  msgstr ""
1785
 
1786
+ #: includes/hooks/third-party.php:352
1787
  msgid "posts"
1788
  msgstr ""
1789
 
1790
+ #: includes/hooks/third-party.php:359
1791
  msgid "comments"
1792
  msgstr ""
1793
 
1794
+ #: includes/hooks/third-party.php:365
1795
  msgid "activities"
1796
  msgstr ""
1797
 
1798
+ #: includes/hooks/third-party.php:373
1799
  msgid "topics"
1800
  msgstr ""
1801
 
1802
+ #: includes/hooks/third-party.php:376
1803
  msgid "replies"
1804
  msgstr ""
1805
 
1806
+ #: includes/hooks/third-party.php:388
1807
  msgid "You have %d new %s likes"
1808
  msgstr ""
1809
 
1810
+ #: includes/hooks/third-party.php:392
1811
  msgid "%s liked one of your %s"
1812
  msgstr ""
1813
 
1814
+ #: includes/hooks/third-party.php:436
1815
  msgid "New activity liked"
1816
  msgstr ""
1817
 
1818
+ #: includes/hooks/third-party.php:441
1819
  msgid "New comment liked"
1820
  msgstr ""
1821
 
1822
+ #: includes/hooks/third-party.php:446
1823
  msgid "New post liked"
1824
  msgstr ""
1825
 
1826
+ #: includes/hooks/third-party.php:451
1827
  msgid "New topic liked"
1828
  msgstr ""
1829
 
1830
+ #: includes/hooks/third-party.php:809
1831
  msgid "Points for liking content"
1832
  msgstr ""
1833
 
1834
+ #: includes/hooks/third-party.php:810
1835
  msgid ""
1836
  "This hook award / deducts points from users who Like/Unlike any content of "
1837
  "WordPress, bbPress, BuddyPress & ..."
1838
  msgstr ""
1839
 
1840
+ #: includes/hooks/third-party.php:826
1841
  msgid "Liking Content"
1842
  msgstr ""
1843
 
1844
+ #: includes/hooks/third-party.php:827
1845
  msgid "Liked Content"
1846
  msgstr ""
1847
 
1848
+ #: includes/hooks/third-party.php:828
1849
  msgid "Unliking Content"
1850
  msgstr ""
1851
 
1852
+ #: includes/hooks/third-party.php:829
1853
  msgid "Unliked Content"
1854
  msgstr ""
1855
 
1856
+ #: includes/hooks/third-party.php:847
1857
  msgid "Recent Posts Liked"
1858
  msgstr ""
1859
 
1860
+ #: includes/hooks/third-party.php:852
1861
  msgid "Recent Comments Liked"
1862
  msgstr ""
1863
 
1864
+ #: includes/hooks/third-party.php:883 includes/hooks/third-party.php:909
1865
+ #: includes/hooks/third-party.php:939 includes/hooks/third-party.php:969
1866
  msgid "This user has not made any likes."
1867
  msgstr ""
1868
 
1871
  msgstr ""
1872
 
1873
  #. translators: %s: PHP version
1874
+ #: wp-ulike.php:78
1875
  msgid "WP ULike requires PHP version %s+, plugin is currently NOT RUNNING."
1876
  msgstr ""
1877
 
1878
  #. translators: %s: WordPress version
1879
+ #: wp-ulike.php:92
1880
  msgid ""
1881
  "WP ULike requires WordPress version %s+. Because you are using an earlier "
1882
  "version, the plugin is currently NOT RUNNING."
languages/wp-ulike-fa_IR.po CHANGED
@@ -4,7 +4,7 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
6
  "Report-Msgid-Bugs-To: https://wpulike.com\n"
7
- "POT-Creation-Date: 2021-09-22 12:01:15+00:00\n"
8
  "PO-Revision-Date: 2021-01-09 02:03+0330\n"
9
  "Last-Translator: \n"
10
  "Language-Team: \n"
@@ -32,7 +32,7 @@ msgid "It's Ok!"
32
  msgstr ""
33
 
34
  #: admin/admin-functions.php:227
35
- #: admin/classes/class-wp-ulike-admin-panel.php:859
36
  #: includes/classes/class-wp-ulike-customizer.php:149
37
  msgid "Button"
38
  msgstr ""
@@ -157,13 +157,13 @@ msgid "Topics Likes Logs"
157
  msgstr "وقایع لایک در تاپیک ها"
158
 
159
  #: admin/classes/class-wp-ulike-admin-pages.php:59
160
- #: admin/includes/templates/statistics.php:124 includes/plugin.php:103
161
  msgid "Statistics"
162
  msgstr "آماره"
163
 
164
  #: admin/classes/class-wp-ulike-admin-pages.php:67
165
  #: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
166
- #: includes/plugin.php:104
167
  msgid "About"
168
  msgstr "درباره"
169
 
@@ -179,7 +179,7 @@ msgstr "درباره"
179
  msgid "Logs"
180
  msgstr "وقایع"
181
 
182
- #: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:102
183
  msgid "Settings"
184
  msgstr "تنظیمات"
185
 
@@ -430,8 +430,8 @@ msgstr "متن فعالیت مطالب"
430
 
431
  #: admin/classes/class-wp-ulike-admin-panel.php:298
432
  #: admin/classes/class-wp-ulike-admin-panel.php:310
433
- #: admin/classes/class-wp-ulike-admin-panel.php:867
434
- #: admin/classes/class-wp-ulike-admin-panel.php:923
435
  msgid "Allowed Variables:"
436
  msgstr "متغیرهای قابل استفاده:"
437
 
@@ -821,6 +821,13 @@ msgid ""
821
  "are only allowed to have a specific point type."
822
  msgstr ""
823
 
 
 
 
 
 
 
 
824
  #: admin/classes/class-wp-ulike-admin-panel.php:843
825
  #, fuzzy
826
  msgid "Cookie Expiration"
@@ -831,75 +838,85 @@ msgid "Specify how long, in seconds, cookie expires. Default value: 31536000"
831
  msgstr ""
832
 
833
  #: admin/classes/class-wp-ulike-admin-panel.php:851
 
 
 
 
 
 
 
 
 
 
834
  msgid "Only logged in users"
835
  msgstr "فقط کاربران وارد شده"
836
 
837
- #: admin/classes/class-wp-ulike-admin-panel.php:856
838
  msgid "Display Type"
839
  msgstr ""
840
 
841
- #: admin/classes/class-wp-ulike-admin-panel.php:858
842
  msgid "Template"
843
  msgstr ""
844
 
845
- #: admin/classes/class-wp-ulike-admin-panel.php:873
846
- #: includes/classes/class-wp-ulike-setting-repo.php:173
847
  msgid "You need to login in order to like this post: "
848
  msgstr "برای امتیاز دهی به این مطلب، لطفا وارد شوید: "
849
 
850
- #: admin/classes/class-wp-ulike-admin-panel.php:875
851
- #: includes/classes/class-wp-ulike-setting-repo.php:175
852
  msgid "click here"
853
  msgstr "برای ورود کلیک کنید"
854
 
855
- #: admin/classes/class-wp-ulike-admin-panel.php:877
856
- #: admin/classes/class-wp-ulike-admin-panel.php:922
857
  msgid "Custom HTML Template"
858
  msgstr ""
859
 
860
- #: admin/classes/class-wp-ulike-admin-panel.php:883
861
  msgid "Display Likers Box"
862
  msgstr ""
863
 
864
- #: admin/classes/class-wp-ulike-admin-panel.php:888
865
  msgid "User List Arrange"
866
  msgstr ""
867
 
868
- #: admin/classes/class-wp-ulike-admin-panel.php:891
869
  msgid "Ascending"
870
  msgstr ""
871
 
872
- #: admin/classes/class-wp-ulike-admin-panel.php:892
873
  msgid "Descending"
874
  msgstr ""
875
 
876
- #: admin/classes/class-wp-ulike-admin-panel.php:900
877
  msgid "Hide For Anonymous Users"
878
  msgstr ""
879
 
880
- #: admin/classes/class-wp-ulike-admin-panel.php:906
881
  #, fuzzy
882
  msgid "Likers Box Display"
883
  msgstr "دکمه لایک"
884
 
885
- #: admin/classes/class-wp-ulike-admin-panel.php:909
886
  msgid "Inline"
887
  msgstr ""
888
 
889
- #: admin/classes/class-wp-ulike-admin-panel.php:910
890
  #: includes/classes/class-wp-ulike-customizer.php:558
891
  msgid "Popover"
892
  msgstr ""
893
 
894
- #: admin/classes/class-wp-ulike-admin-panel.php:936
895
  msgid "Size of Gravatars"
896
  msgstr "سایز آوتار"
897
 
898
- #: admin/classes/class-wp-ulike-admin-panel.php:944
899
  msgid "Likers Count"
900
  msgstr ""
901
 
902
- #: admin/classes/class-wp-ulike-admin-panel.php:945
903
  msgid "The number of users to show in the users liked box"
904
  msgstr "حداکثر چند کاربر در باکس لایک کنندگان، نمایش داده شوند؟!؟"
905
 
@@ -1802,64 +1819,64 @@ msgstr ""
1802
  msgid "Error receiving input parameters"
1803
  msgstr ""
1804
 
1805
- #: includes/hooks/third-party.php:119
1806
  msgid "WP ULike Activity"
1807
  msgstr "فعالیت های وردپرس یولایک"
1808
 
1809
- #: includes/hooks/third-party.php:134
1810
  msgid "Votes"
1811
  msgstr ""
1812
 
1813
- #: includes/hooks/third-party.php:344
1814
  msgid "posts"
1815
  msgstr ""
1816
 
1817
- #: includes/hooks/third-party.php:351
1818
  msgid "comments"
1819
  msgstr ""
1820
 
1821
- #: includes/hooks/third-party.php:357
1822
  msgid "activities"
1823
  msgstr ""
1824
 
1825
- #: includes/hooks/third-party.php:365
1826
  msgid "topics"
1827
  msgstr ""
1828
 
1829
- #: includes/hooks/third-party.php:368
1830
  msgid "replies"
1831
  msgstr ""
1832
 
1833
- #: includes/hooks/third-party.php:380
1834
  msgid "You have %d new %s likes"
1835
  msgstr ""
1836
 
1837
- #: includes/hooks/third-party.php:384
1838
  msgid "%s liked one of your %s"
1839
  msgstr ""
1840
 
1841
- #: includes/hooks/third-party.php:428
1842
  msgid "New activity liked"
1843
  msgstr ""
1844
 
1845
- #: includes/hooks/third-party.php:433
1846
  msgid "New comment liked"
1847
  msgstr ""
1848
 
1849
- #: includes/hooks/third-party.php:438
1850
  msgid "New post liked"
1851
  msgstr ""
1852
 
1853
- #: includes/hooks/third-party.php:443
1854
  msgid "New topic liked"
1855
  msgstr ""
1856
 
1857
- #: includes/hooks/third-party.php:801
1858
  #, fuzzy
1859
  msgid "Points for liking content"
1860
  msgstr "امتیاز لغو لایک یک نوشته"
1861
 
1862
- #: includes/hooks/third-party.php:802
1863
  msgid ""
1864
  "This hook award / deducts points from users who Like/Unlike any content of "
1865
  "WordPress, bbPress, BuddyPress & ..."
@@ -1868,32 +1885,32 @@ msgstr ""
1868
  "و... را لایک/آنلایک کنند (بعلاوه افرادی که نوشته آنها لایک/آنلایک شده)، می "
1869
  "توانند به ترتیب امتیازات مثبت و منفی دریافت کنند."
1870
 
1871
- #: includes/hooks/third-party.php:818
1872
  msgid "Liking Content"
1873
  msgstr "لایک نوشته"
1874
 
1875
- #: includes/hooks/third-party.php:819
1876
  msgid "Liked Content"
1877
  msgstr "نوشته لایک شده"
1878
 
1879
- #: includes/hooks/third-party.php:820
1880
  msgid "Unliking Content"
1881
  msgstr "لغو لایک نوشته"
1882
 
1883
- #: includes/hooks/third-party.php:821
1884
  msgid "Unliked Content"
1885
  msgstr "نوشته لغو لایک شده"
1886
 
1887
- #: includes/hooks/third-party.php:839
1888
  msgid "Recent Posts Liked"
1889
  msgstr "تازه ترین مطالب لایک شده"
1890
 
1891
- #: includes/hooks/third-party.php:844
1892
  msgid "Recent Comments Liked"
1893
  msgstr "تازه ترین دیدگاه های لایک شده"
1894
 
1895
- #: includes/hooks/third-party.php:875 includes/hooks/third-party.php:901
1896
- #: includes/hooks/third-party.php:931 includes/hooks/third-party.php:961
1897
  msgid "This user has not made any likes."
1898
  msgstr "این کاربر، هنوز هیچ موردی را نپسندیده است."
1899
 
@@ -1902,12 +1919,12 @@ msgid "WP ULike"
1902
  msgstr "یولایک"
1903
 
1904
  #. translators: %s: PHP version
1905
- #: wp-ulike.php:74
1906
  msgid "WP ULike requires PHP version %s+, plugin is currently NOT RUNNING."
1907
  msgstr ""
1908
 
1909
  #. translators: %s: WordPress version
1910
- #: wp-ulike.php:88
1911
  msgid ""
1912
  "WP ULike requires WordPress version %s+. Because you are using an earlier "
1913
  "version, the plugin is currently NOT RUNNING."
4
  msgstr ""
5
  "Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
6
  "Report-Msgid-Bugs-To: https://wpulike.com\n"
7
+ "POT-Creation-Date: 2021-10-25 08:29:05+00:00\n"
8
  "PO-Revision-Date: 2021-01-09 02:03+0330\n"
9
  "Last-Translator: \n"
10
  "Language-Team: \n"
32
  msgstr ""
33
 
34
  #: admin/admin-functions.php:227
35
+ #: admin/classes/class-wp-ulike-admin-panel.php:869
36
  #: includes/classes/class-wp-ulike-customizer.php:149
37
  msgid "Button"
38
  msgstr ""
157
  msgstr "وقایع لایک در تاپیک ها"
158
 
159
  #: admin/classes/class-wp-ulike-admin-pages.php:59
160
+ #: admin/includes/templates/statistics.php:124 includes/plugin.php:106
161
  msgid "Statistics"
162
  msgstr "آماره"
163
 
164
  #: admin/classes/class-wp-ulike-admin-pages.php:67
165
  #: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
166
+ #: includes/plugin.php:107
167
  msgid "About"
168
  msgstr "درباره"
169
 
179
  msgid "Logs"
180
  msgstr "وقایع"
181
 
182
+ #: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:105
183
  msgid "Settings"
184
  msgstr "تنظیمات"
185
 
430
 
431
  #: admin/classes/class-wp-ulike-admin-panel.php:298
432
  #: admin/classes/class-wp-ulike-admin-panel.php:310
433
+ #: admin/classes/class-wp-ulike-admin-panel.php:877
434
+ #: admin/classes/class-wp-ulike-admin-panel.php:933
435
  msgid "Allowed Variables:"
436
  msgstr "متغیرهای قابل استفاده:"
437
 
821
  "are only allowed to have a specific point type."
822
  msgstr ""
823
 
824
+ #: admin/classes/class-wp-ulike-admin-panel.php:838
825
+ msgid ""
826
+ "Username/IP + Cookie: Same as username/IP description, However, if the user "
827
+ "IP or username changes and the cookie is set, it does not allow the user to "
828
+ "like /dislike."
829
+ msgstr ""
830
+
831
  #: admin/classes/class-wp-ulike-admin-panel.php:843
832
  #, fuzzy
833
  msgid "Cookie Expiration"
838
  msgstr ""
839
 
840
  #: admin/classes/class-wp-ulike-admin-panel.php:851
841
+ msgid "Vote Limit Per Day"
842
+ msgstr ""
843
+
844
+ #: admin/classes/class-wp-ulike-admin-panel.php:852
845
+ msgid ""
846
+ "Limits the number of votes that can be submitted by user on each item per "
847
+ "day."
848
+ msgstr ""
849
+
850
+ #: admin/classes/class-wp-ulike-admin-panel.php:861
851
  msgid "Only logged in users"
852
  msgstr "فقط کاربران وارد شده"
853
 
854
+ #: admin/classes/class-wp-ulike-admin-panel.php:866
855
  msgid "Display Type"
856
  msgstr ""
857
 
858
+ #: admin/classes/class-wp-ulike-admin-panel.php:868
859
  msgid "Template"
860
  msgstr ""
861
 
862
+ #: admin/classes/class-wp-ulike-admin-panel.php:883
863
+ #: includes/classes/class-wp-ulike-setting-repo.php:182
864
  msgid "You need to login in order to like this post: "
865
  msgstr "برای امتیاز دهی به این مطلب، لطفا وارد شوید: "
866
 
867
+ #: admin/classes/class-wp-ulike-admin-panel.php:885
868
+ #: includes/classes/class-wp-ulike-setting-repo.php:184
869
  msgid "click here"
870
  msgstr "برای ورود کلیک کنید"
871
 
872
+ #: admin/classes/class-wp-ulike-admin-panel.php:887
873
+ #: admin/classes/class-wp-ulike-admin-panel.php:932
874
  msgid "Custom HTML Template"
875
  msgstr ""
876
 
877
+ #: admin/classes/class-wp-ulike-admin-panel.php:893
878
  msgid "Display Likers Box"
879
  msgstr ""
880
 
881
+ #: admin/classes/class-wp-ulike-admin-panel.php:898
882
  msgid "User List Arrange"
883
  msgstr ""
884
 
885
+ #: admin/classes/class-wp-ulike-admin-panel.php:901
886
  msgid "Ascending"
887
  msgstr ""
888
 
889
+ #: admin/classes/class-wp-ulike-admin-panel.php:902
890
  msgid "Descending"
891
  msgstr ""
892
 
893
+ #: admin/classes/class-wp-ulike-admin-panel.php:910
894
  msgid "Hide For Anonymous Users"
895
  msgstr ""
896
 
897
+ #: admin/classes/class-wp-ulike-admin-panel.php:916
898
  #, fuzzy
899
  msgid "Likers Box Display"
900
  msgstr "دکمه لایک"
901
 
902
+ #: admin/classes/class-wp-ulike-admin-panel.php:919
903
  msgid "Inline"
904
  msgstr ""
905
 
906
+ #: admin/classes/class-wp-ulike-admin-panel.php:920
907
  #: includes/classes/class-wp-ulike-customizer.php:558
908
  msgid "Popover"
909
  msgstr ""
910
 
911
+ #: admin/classes/class-wp-ulike-admin-panel.php:946
912
  msgid "Size of Gravatars"
913
  msgstr "سایز آوتار"
914
 
915
+ #: admin/classes/class-wp-ulike-admin-panel.php:954
916
  msgid "Likers Count"
917
  msgstr ""
918
 
919
+ #: admin/classes/class-wp-ulike-admin-panel.php:955
920
  msgid "The number of users to show in the users liked box"
921
  msgstr "حداکثر چند کاربر در باکس لایک کنندگان، نمایش داده شوند؟!؟"
922
 
1819
  msgid "Error receiving input parameters"
1820
  msgstr ""
1821
 
1822
+ #: includes/hooks/third-party.php:127
1823
  msgid "WP ULike Activity"
1824
  msgstr "فعالیت های وردپرس یولایک"
1825
 
1826
+ #: includes/hooks/third-party.php:142
1827
  msgid "Votes"
1828
  msgstr ""
1829
 
1830
+ #: includes/hooks/third-party.php:352
1831
  msgid "posts"
1832
  msgstr ""
1833
 
1834
+ #: includes/hooks/third-party.php:359
1835
  msgid "comments"
1836
  msgstr ""
1837
 
1838
+ #: includes/hooks/third-party.php:365
1839
  msgid "activities"
1840
  msgstr ""
1841
 
1842
+ #: includes/hooks/third-party.php:373
1843
  msgid "topics"
1844
  msgstr ""
1845
 
1846
+ #: includes/hooks/third-party.php:376
1847
  msgid "replies"
1848
  msgstr ""
1849
 
1850
+ #: includes/hooks/third-party.php:388
1851
  msgid "You have %d new %s likes"
1852
  msgstr ""
1853
 
1854
+ #: includes/hooks/third-party.php:392
1855
  msgid "%s liked one of your %s"
1856
  msgstr ""
1857
 
1858
+ #: includes/hooks/third-party.php:436
1859
  msgid "New activity liked"
1860
  msgstr ""
1861
 
1862
+ #: includes/hooks/third-party.php:441
1863
  msgid "New comment liked"
1864
  msgstr ""
1865
 
1866
+ #: includes/hooks/third-party.php:446
1867
  msgid "New post liked"
1868
  msgstr ""
1869
 
1870
+ #: includes/hooks/third-party.php:451
1871
  msgid "New topic liked"
1872
  msgstr ""
1873
 
1874
+ #: includes/hooks/third-party.php:809
1875
  #, fuzzy
1876
  msgid "Points for liking content"
1877
  msgstr "امتیاز لغو لایک یک نوشته"
1878
 
1879
+ #: includes/hooks/third-party.php:810
1880
  msgid ""
1881
  "This hook award / deducts points from users who Like/Unlike any content of "
1882
  "WordPress, bbPress, BuddyPress & ..."
1885
  "و... را لایک/آنلایک کنند (بعلاوه افرادی که نوشته آنها لایک/آنلایک شده)، می "
1886
  "توانند به ترتیب امتیازات مثبت و منفی دریافت کنند."
1887
 
1888
+ #: includes/hooks/third-party.php:826
1889
  msgid "Liking Content"
1890
  msgstr "لایک نوشته"
1891
 
1892
+ #: includes/hooks/third-party.php:827
1893
  msgid "Liked Content"
1894
  msgstr "نوشته لایک شده"
1895
 
1896
+ #: includes/hooks/third-party.php:828
1897
  msgid "Unliking Content"
1898
  msgstr "لغو لایک نوشته"
1899
 
1900
+ #: includes/hooks/third-party.php:829
1901
  msgid "Unliked Content"
1902
  msgstr "نوشته لغو لایک شده"
1903
 
1904
+ #: includes/hooks/third-party.php:847
1905
  msgid "Recent Posts Liked"
1906
  msgstr "تازه ترین مطالب لایک شده"
1907
 
1908
+ #: includes/hooks/third-party.php:852
1909
  msgid "Recent Comments Liked"
1910
  msgstr "تازه ترین دیدگاه های لایک شده"
1911
 
1912
+ #: includes/hooks/third-party.php:883 includes/hooks/third-party.php:909
1913
+ #: includes/hooks/third-party.php:939 includes/hooks/third-party.php:969
1914
  msgid "This user has not made any likes."
1915
  msgstr "این کاربر، هنوز هیچ موردی را نپسندیده است."
1916
 
1919
  msgstr "یولایک"
1920
 
1921
  #. translators: %s: PHP version
1922
+ #: wp-ulike.php:78
1923
  msgid "WP ULike requires PHP version %s+, plugin is currently NOT RUNNING."
1924
  msgstr ""
1925
 
1926
  #. translators: %s: WordPress version
1927
+ #: wp-ulike.php:92
1928
  msgid ""
1929
  "WP ULike requires WordPress version %s+. Because you are using an earlier "
1930
  "version, the plugin is currently NOT RUNNING."
languages/wp-ulike-fr.po CHANGED
@@ -4,7 +4,7 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
6
  "Report-Msgid-Bugs-To: https://wpulike.com\n"
7
- "POT-Creation-Date: 2021-09-22 12:01:15+00:00\n"
8
  "PO-Revision-Date: 2017-01-20 23:27:07+0000\n"
9
  "Language: fr\n"
10
  "MIME-Version: 1.0\n"
@@ -30,7 +30,7 @@ msgid "It's Ok!"
30
  msgstr ""
31
 
32
  #: admin/admin-functions.php:227
33
- #: admin/classes/class-wp-ulike-admin-panel.php:859
34
  #: includes/classes/class-wp-ulike-customizer.php:149
35
  msgid "Button"
36
  msgstr ""
@@ -155,13 +155,13 @@ msgid "Topics Likes Logs"
155
  msgstr "Historiques des sujets likés"
156
 
157
  #: admin/classes/class-wp-ulike-admin-pages.php:59
158
- #: admin/includes/templates/statistics.php:124 includes/plugin.php:103
159
  msgid "Statistics"
160
  msgstr "Statistiques"
161
 
162
  #: admin/classes/class-wp-ulike-admin-pages.php:67
163
  #: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
164
- #: includes/plugin.php:104
165
  msgid "About"
166
  msgstr "À propos"
167
 
@@ -177,7 +177,7 @@ msgstr "À propos"
177
  msgid "Logs"
178
  msgstr "Fichiers journaux"
179
 
180
- #: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:102
181
  msgid "Settings"
182
  msgstr "Réglages"
183
 
@@ -425,8 +425,8 @@ msgstr "Texte d'activité d'article"
425
 
426
  #: admin/classes/class-wp-ulike-admin-panel.php:298
427
  #: admin/classes/class-wp-ulike-admin-panel.php:310
428
- #: admin/classes/class-wp-ulike-admin-panel.php:867
429
- #: admin/classes/class-wp-ulike-admin-panel.php:923
430
  msgid "Allowed Variables:"
431
  msgstr "Variables autorisées :"
432
 
@@ -818,6 +818,13 @@ msgid ""
818
  "are only allowed to have a specific point type."
819
  msgstr ""
820
 
 
 
 
 
 
 
 
821
  #: admin/classes/class-wp-ulike-admin-panel.php:843
822
  msgid "Cookie Expiration"
823
  msgstr ""
@@ -827,75 +834,85 @@ msgid "Specify how long, in seconds, cookie expires. Default value: 31536000"
827
  msgstr ""
828
 
829
  #: admin/classes/class-wp-ulike-admin-panel.php:851
 
 
 
 
 
 
 
 
 
 
830
  msgid "Only logged in users"
831
  msgstr ""
832
 
833
- #: admin/classes/class-wp-ulike-admin-panel.php:856
834
  msgid "Display Type"
835
  msgstr ""
836
 
837
- #: admin/classes/class-wp-ulike-admin-panel.php:858
838
  msgid "Template"
839
  msgstr ""
840
 
841
- #: admin/classes/class-wp-ulike-admin-panel.php:873
842
- #: includes/classes/class-wp-ulike-setting-repo.php:173
843
  msgid "You need to login in order to like this post: "
844
  msgstr "Vous devez être connecté pour aimer cet article&nbsp;:"
845
 
846
- #: admin/classes/class-wp-ulike-admin-panel.php:875
847
- #: includes/classes/class-wp-ulike-setting-repo.php:175
848
  msgid "click here"
849
  msgstr "Cliquez ici"
850
 
851
- #: admin/classes/class-wp-ulike-admin-panel.php:877
852
- #: admin/classes/class-wp-ulike-admin-panel.php:922
853
  msgid "Custom HTML Template"
854
  msgstr ""
855
 
856
- #: admin/classes/class-wp-ulike-admin-panel.php:883
857
  msgid "Display Likers Box"
858
  msgstr ""
859
 
860
- #: admin/classes/class-wp-ulike-admin-panel.php:888
861
  msgid "User List Arrange"
862
  msgstr ""
863
 
864
- #: admin/classes/class-wp-ulike-admin-panel.php:891
865
  msgid "Ascending"
866
  msgstr ""
867
 
868
- #: admin/classes/class-wp-ulike-admin-panel.php:892
869
  msgid "Descending"
870
  msgstr ""
871
 
872
- #: admin/classes/class-wp-ulike-admin-panel.php:900
873
  msgid "Hide For Anonymous Users"
874
  msgstr ""
875
 
876
- #: admin/classes/class-wp-ulike-admin-panel.php:906
877
  #, fuzzy
878
  msgid "Likers Box Display"
879
  msgstr "Bouton J'aime"
880
 
881
- #: admin/classes/class-wp-ulike-admin-panel.php:909
882
  msgid "Inline"
883
  msgstr ""
884
 
885
- #: admin/classes/class-wp-ulike-admin-panel.php:910
886
  #: includes/classes/class-wp-ulike-customizer.php:558
887
  msgid "Popover"
888
  msgstr ""
889
 
890
- #: admin/classes/class-wp-ulike-admin-panel.php:936
891
  msgid "Size of Gravatars"
892
  msgstr "Taille des Gravatars"
893
 
894
- #: admin/classes/class-wp-ulike-admin-panel.php:944
895
  msgid "Likers Count"
896
  msgstr ""
897
 
898
- #: admin/classes/class-wp-ulike-admin-panel.php:945
899
  msgid "The number of users to show in the users liked box"
900
  msgstr ""
901
  "Le nombre d'utilisateurs à afficher dans la boite des utilisateurs qui aiment"
@@ -1810,64 +1827,64 @@ msgstr ""
1810
  msgid "Error receiving input parameters"
1811
  msgstr ""
1812
 
1813
- #: includes/hooks/third-party.php:119
1814
  msgid "WP ULike Activity"
1815
  msgstr "Activités de WP ULike"
1816
 
1817
- #: includes/hooks/third-party.php:134
1818
  msgid "Votes"
1819
  msgstr ""
1820
 
1821
- #: includes/hooks/third-party.php:344
1822
  msgid "posts"
1823
  msgstr ""
1824
 
1825
- #: includes/hooks/third-party.php:351
1826
  msgid "comments"
1827
  msgstr ""
1828
 
1829
- #: includes/hooks/third-party.php:357
1830
  msgid "activities"
1831
  msgstr ""
1832
 
1833
- #: includes/hooks/third-party.php:365
1834
  msgid "topics"
1835
  msgstr ""
1836
 
1837
- #: includes/hooks/third-party.php:368
1838
  msgid "replies"
1839
  msgstr ""
1840
 
1841
- #: includes/hooks/third-party.php:380
1842
  msgid "You have %d new %s likes"
1843
  msgstr ""
1844
 
1845
- #: includes/hooks/third-party.php:384
1846
  msgid "%s liked one of your %s"
1847
  msgstr ""
1848
 
1849
- #: includes/hooks/third-party.php:428
1850
  msgid "New activity liked"
1851
  msgstr ""
1852
 
1853
- #: includes/hooks/third-party.php:433
1854
  msgid "New comment liked"
1855
  msgstr ""
1856
 
1857
- #: includes/hooks/third-party.php:438
1858
  msgid "New post liked"
1859
  msgstr ""
1860
 
1861
- #: includes/hooks/third-party.php:443
1862
  msgid "New topic liked"
1863
  msgstr ""
1864
 
1865
- #: includes/hooks/third-party.php:801
1866
  #, fuzzy
1867
  msgid "Points for liking content"
1868
  msgstr "Points pour le contenu non aimé"
1869
 
1870
- #: includes/hooks/third-party.php:802
1871
  msgid ""
1872
  "This hook award / deducts points from users who Like/Unlike any content of "
1873
  "WordPress, bbPress, BuddyPress & ..."
@@ -1875,32 +1892,32 @@ msgstr ""
1875
  "Ce crochet attribue / déduit des points des utilisateurs qui Aiment / Aiment "
1876
  "pas tout le contenu de WordPress, bbPress, BuddyPress..."
1877
 
1878
- #: includes/hooks/third-party.php:818
1879
  msgid "Liking Content"
1880
  msgstr "Aimer le contenu"
1881
 
1882
- #: includes/hooks/third-party.php:819
1883
  msgid "Liked Content"
1884
  msgstr "Contenu aimé"
1885
 
1886
- #: includes/hooks/third-party.php:820
1887
  msgid "Unliking Content"
1888
  msgstr "Ne pas aimer le contenu"
1889
 
1890
- #: includes/hooks/third-party.php:821
1891
  msgid "Unliked Content"
1892
  msgstr "Contenu pas aimé"
1893
 
1894
- #: includes/hooks/third-party.php:839
1895
  msgid "Recent Posts Liked"
1896
  msgstr "Articles récemment aimés"
1897
 
1898
- #: includes/hooks/third-party.php:844
1899
  msgid "Recent Comments Liked"
1900
  msgstr "Commentaires récemment non aimés"
1901
 
1902
- #: includes/hooks/third-party.php:875 includes/hooks/third-party.php:901
1903
- #: includes/hooks/third-party.php:931 includes/hooks/third-party.php:961
1904
  msgid "This user has not made any likes."
1905
  msgstr "Cet utilisateur n'a fait aucun J'aime"
1906
 
@@ -1909,12 +1926,12 @@ msgid "WP ULike"
1909
  msgstr "WP ULike"
1910
 
1911
  #. translators: %s: PHP version
1912
- #: wp-ulike.php:74
1913
  msgid "WP ULike requires PHP version %s+, plugin is currently NOT RUNNING."
1914
  msgstr ""
1915
 
1916
  #. translators: %s: WordPress version
1917
- #: wp-ulike.php:88
1918
  msgid ""
1919
  "WP ULike requires WordPress version %s+. Because you are using an earlier "
1920
  "version, the plugin is currently NOT RUNNING."
4
  msgstr ""
5
  "Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
6
  "Report-Msgid-Bugs-To: https://wpulike.com\n"
7
+ "POT-Creation-Date: 2021-10-25 08:29:05+00:00\n"
8
  "PO-Revision-Date: 2017-01-20 23:27:07+0000\n"
9
  "Language: fr\n"
10
  "MIME-Version: 1.0\n"
30
  msgstr ""
31
 
32
  #: admin/admin-functions.php:227
33
+ #: admin/classes/class-wp-ulike-admin-panel.php:869
34
  #: includes/classes/class-wp-ulike-customizer.php:149
35
  msgid "Button"
36
  msgstr ""
155
  msgstr "Historiques des sujets likés"
156
 
157
  #: admin/classes/class-wp-ulike-admin-pages.php:59
158
+ #: admin/includes/templates/statistics.php:124 includes/plugin.php:106
159
  msgid "Statistics"
160
  msgstr "Statistiques"
161
 
162
  #: admin/classes/class-wp-ulike-admin-pages.php:67
163
  #: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
164
+ #: includes/plugin.php:107
165
  msgid "About"
166
  msgstr "À propos"
167
 
177
  msgid "Logs"
178
  msgstr "Fichiers journaux"
179
 
180
+ #: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:105
181
  msgid "Settings"
182
  msgstr "Réglages"
183
 
425
 
426
  #: admin/classes/class-wp-ulike-admin-panel.php:298
427
  #: admin/classes/class-wp-ulike-admin-panel.php:310
428
+ #: admin/classes/class-wp-ulike-admin-panel.php:877
429
+ #: admin/classes/class-wp-ulike-admin-panel.php:933
430
  msgid "Allowed Variables:"
431
  msgstr "Variables autorisées :"
432
 
818
  "are only allowed to have a specific point type."
819
  msgstr ""
820
 
821
+ #: admin/classes/class-wp-ulike-admin-panel.php:838
822
+ msgid ""
823
+ "Username/IP + Cookie: Same as username/IP description, However, if the user "
824
+ "IP or username changes and the cookie is set, it does not allow the user to "
825
+ "like /dislike."
826
+ msgstr ""
827
+
828
  #: admin/classes/class-wp-ulike-admin-panel.php:843
829
  msgid "Cookie Expiration"
830
  msgstr ""
834
  msgstr ""
835
 
836
  #: admin/classes/class-wp-ulike-admin-panel.php:851
837
+ msgid "Vote Limit Per Day"
838
+ msgstr ""
839
+
840
+ #: admin/classes/class-wp-ulike-admin-panel.php:852
841
+ msgid ""
842
+ "Limits the number of votes that can be submitted by user on each item per "
843
+ "day."
844
+ msgstr ""
845
+
846
+ #: admin/classes/class-wp-ulike-admin-panel.php:861
847
  msgid "Only logged in users"
848
  msgstr ""
849
 
850
+ #: admin/classes/class-wp-ulike-admin-panel.php:866
851
  msgid "Display Type"
852
  msgstr ""
853
 
854
+ #: admin/classes/class-wp-ulike-admin-panel.php:868
855
  msgid "Template"
856
  msgstr ""
857
 
858
+ #: admin/classes/class-wp-ulike-admin-panel.php:883
859
+ #: includes/classes/class-wp-ulike-setting-repo.php:182
860
  msgid "You need to login in order to like this post: "
861
  msgstr "Vous devez être connecté pour aimer cet article&nbsp;:"
862
 
863
+ #: admin/classes/class-wp-ulike-admin-panel.php:885
864
+ #: includes/classes/class-wp-ulike-setting-repo.php:184
865
  msgid "click here"
866
  msgstr "Cliquez ici"
867
 
868
+ #: admin/classes/class-wp-ulike-admin-panel.php:887
869
+ #: admin/classes/class-wp-ulike-admin-panel.php:932
870
  msgid "Custom HTML Template"
871
  msgstr ""
872
 
873
+ #: admin/classes/class-wp-ulike-admin-panel.php:893
874
  msgid "Display Likers Box"
875
  msgstr ""
876
 
877
+ #: admin/classes/class-wp-ulike-admin-panel.php:898
878
  msgid "User List Arrange"
879
  msgstr ""
880
 
881
+ #: admin/classes/class-wp-ulike-admin-panel.php:901
882
  msgid "Ascending"
883
  msgstr ""
884
 
885
+ #: admin/classes/class-wp-ulike-admin-panel.php:902
886
  msgid "Descending"
887
  msgstr ""
888
 
889
+ #: admin/classes/class-wp-ulike-admin-panel.php:910
890
  msgid "Hide For Anonymous Users"
891
  msgstr ""
892
 
893
+ #: admin/classes/class-wp-ulike-admin-panel.php:916
894
  #, fuzzy
895
  msgid "Likers Box Display"
896
  msgstr "Bouton J'aime"
897
 
898
+ #: admin/classes/class-wp-ulike-admin-panel.php:919
899
  msgid "Inline"
900
  msgstr ""
901
 
902
+ #: admin/classes/class-wp-ulike-admin-panel.php:920
903
  #: includes/classes/class-wp-ulike-customizer.php:558
904
  msgid "Popover"
905
  msgstr ""
906
 
907
+ #: admin/classes/class-wp-ulike-admin-panel.php:946
908
  msgid "Size of Gravatars"
909
  msgstr "Taille des Gravatars"
910
 
911
+ #: admin/classes/class-wp-ulike-admin-panel.php:954
912
  msgid "Likers Count"
913
  msgstr ""
914
 
915
+ #: admin/classes/class-wp-ulike-admin-panel.php:955
916
  msgid "The number of users to show in the users liked box"
917
  msgstr ""
918
  "Le nombre d'utilisateurs à afficher dans la boite des utilisateurs qui aiment"
1827
  msgid "Error receiving input parameters"
1828
  msgstr ""
1829
 
1830
+ #: includes/hooks/third-party.php:127
1831
  msgid "WP ULike Activity"
1832
  msgstr "Activités de WP ULike"
1833
 
1834
+ #: includes/hooks/third-party.php:142
1835
  msgid "Votes"
1836
  msgstr ""
1837
 
1838
+ #: includes/hooks/third-party.php:352
1839
  msgid "posts"
1840
  msgstr ""
1841
 
1842
+ #: includes/hooks/third-party.php:359
1843
  msgid "comments"
1844
  msgstr ""
1845
 
1846
+ #: includes/hooks/third-party.php:365
1847
  msgid "activities"
1848
  msgstr ""
1849
 
1850
+ #: includes/hooks/third-party.php:373
1851
  msgid "topics"
1852
  msgstr ""
1853
 
1854
+ #: includes/hooks/third-party.php:376
1855
  msgid "replies"
1856
  msgstr ""
1857
 
1858
+ #: includes/hooks/third-party.php:388
1859
  msgid "You have %d new %s likes"
1860
  msgstr ""
1861
 
1862
+ #: includes/hooks/third-party.php:392
1863
  msgid "%s liked one of your %s"
1864
  msgstr ""
1865
 
1866
+ #: includes/hooks/third-party.php:436
1867
  msgid "New activity liked"
1868
  msgstr ""
1869
 
1870
+ #: includes/hooks/third-party.php:441
1871
  msgid "New comment liked"
1872
  msgstr ""
1873
 
1874
+ #: includes/hooks/third-party.php:446
1875
  msgid "New post liked"
1876
  msgstr ""
1877
 
1878
+ #: includes/hooks/third-party.php:451
1879
  msgid "New topic liked"
1880
  msgstr ""
1881
 
1882
+ #: includes/hooks/third-party.php:809
1883
  #, fuzzy
1884
  msgid "Points for liking content"
1885
  msgstr "Points pour le contenu non aimé"
1886
 
1887
+ #: includes/hooks/third-party.php:810
1888
  msgid ""
1889
  "This hook award / deducts points from users who Like/Unlike any content of "
1890
  "WordPress, bbPress, BuddyPress & ..."
1892
  "Ce crochet attribue / déduit des points des utilisateurs qui Aiment / Aiment "
1893
  "pas tout le contenu de WordPress, bbPress, BuddyPress..."
1894
 
1895
+ #: includes/hooks/third-party.php:826
1896
  msgid "Liking Content"
1897
  msgstr "Aimer le contenu"
1898
 
1899
+ #: includes/hooks/third-party.php:827
1900
  msgid "Liked Content"
1901
  msgstr "Contenu aimé"
1902
 
1903
+ #: includes/hooks/third-party.php:828
1904
  msgid "Unliking Content"
1905
  msgstr "Ne pas aimer le contenu"
1906
 
1907
+ #: includes/hooks/third-party.php:829
1908
  msgid "Unliked Content"
1909
  msgstr "Contenu pas aimé"
1910
 
1911
+ #: includes/hooks/third-party.php:847
1912
  msgid "Recent Posts Liked"
1913
  msgstr "Articles récemment aimés"
1914
 
1915
+ #: includes/hooks/third-party.php:852
1916
  msgid "Recent Comments Liked"
1917
  msgstr "Commentaires récemment non aimés"
1918
 
1919
+ #: includes/hooks/third-party.php:883 includes/hooks/third-party.php:909
1920
+ #: includes/hooks/third-party.php:939 includes/hooks/third-party.php:969
1921
  msgid "This user has not made any likes."
1922
  msgstr "Cet utilisateur n'a fait aucun J'aime"
1923
 
1926
  msgstr "WP ULike"
1927
 
1928
  #. translators: %s: PHP version
1929
+ #: wp-ulike.php:78
1930
  msgid "WP ULike requires PHP version %s+, plugin is currently NOT RUNNING."
1931
  msgstr ""
1932
 
1933
  #. translators: %s: WordPress version
1934
+ #: wp-ulike.php:92
1935
  msgid ""
1936
  "WP ULike requires WordPress version %s+. Because you are using an earlier "
1937
  "version, the plugin is currently NOT RUNNING."
languages/wp-ulike-ja.po CHANGED
@@ -4,7 +4,7 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
6
  "Report-Msgid-Bugs-To: https://wpulike.com\n"
7
- "POT-Creation-Date: 2021-09-22 12:01:15+00:00\n"
8
  "PO-Revision-Date: 2019-07-03 14:50:28+0000\n"
9
  "Language: ja_JP\n"
10
  "MIME-Version: 1.0\n"
@@ -30,7 +30,7 @@ msgid "It's Ok!"
30
  msgstr "大丈夫です!"
31
 
32
  #: admin/admin-functions.php:227
33
- #: admin/classes/class-wp-ulike-admin-panel.php:859
34
  #: includes/classes/class-wp-ulike-customizer.php:149
35
  msgid "Button"
36
  msgstr ""
@@ -158,13 +158,13 @@ msgid "Topics Likes Logs"
158
  msgstr "トピックのいいねログ"
159
 
160
  #: admin/classes/class-wp-ulike-admin-pages.php:59
161
- #: admin/includes/templates/statistics.php:124 includes/plugin.php:103
162
  msgid "Statistics"
163
  msgstr "統計"
164
 
165
  #: admin/classes/class-wp-ulike-admin-pages.php:67
166
  #: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
167
- #: includes/plugin.php:104
168
  msgid "About"
169
  msgstr "プラグインについて"
170
 
@@ -180,7 +180,7 @@ msgstr "プラグインについて"
180
  msgid "Logs"
181
  msgstr "ログ"
182
 
183
- #: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:102
184
  msgid "Settings"
185
  msgstr "設定"
186
 
@@ -429,8 +429,8 @@ msgstr "アクティビティテキストの投稿"
429
 
430
  #: admin/classes/class-wp-ulike-admin-panel.php:298
431
  #: admin/classes/class-wp-ulike-admin-panel.php:310
432
- #: admin/classes/class-wp-ulike-admin-panel.php:867
433
- #: admin/classes/class-wp-ulike-admin-panel.php:923
434
  msgid "Allowed Variables:"
435
  msgstr "許可されている変数:"
436
 
@@ -823,6 +823,13 @@ msgid ""
823
  "are only allowed to have a specific point type."
824
  msgstr ""
825
 
 
 
 
 
 
 
 
826
  #: admin/classes/class-wp-ulike-admin-panel.php:843
827
  msgid "Cookie Expiration"
828
  msgstr ""
@@ -832,75 +839,85 @@ msgid "Specify how long, in seconds, cookie expires. Default value: 31536000"
832
  msgstr ""
833
 
834
  #: admin/classes/class-wp-ulike-admin-panel.php:851
 
 
 
 
 
 
 
 
 
 
835
  msgid "Only logged in users"
836
  msgstr ""
837
 
838
- #: admin/classes/class-wp-ulike-admin-panel.php:856
839
  msgid "Display Type"
840
  msgstr ""
841
 
842
- #: admin/classes/class-wp-ulike-admin-panel.php:858
843
  msgid "Template"
844
  msgstr ""
845
 
846
- #: admin/classes/class-wp-ulike-admin-panel.php:873
847
- #: includes/classes/class-wp-ulike-setting-repo.php:173
848
  msgid "You need to login in order to like this post: "
849
  msgstr "いいねを送るにはログインする必要があります"
850
 
851
- #: admin/classes/class-wp-ulike-admin-panel.php:875
852
- #: includes/classes/class-wp-ulike-setting-repo.php:175
853
  msgid "click here"
854
  msgstr "ここをクリック"
855
 
856
- #: admin/classes/class-wp-ulike-admin-panel.php:877
857
- #: admin/classes/class-wp-ulike-admin-panel.php:922
858
  msgid "Custom HTML Template"
859
  msgstr ""
860
 
861
- #: admin/classes/class-wp-ulike-admin-panel.php:883
862
  msgid "Display Likers Box"
863
  msgstr "いいねした人欄を表示"
864
 
865
- #: admin/classes/class-wp-ulike-admin-panel.php:888
866
  msgid "User List Arrange"
867
  msgstr ""
868
 
869
- #: admin/classes/class-wp-ulike-admin-panel.php:891
870
  msgid "Ascending"
871
  msgstr ""
872
 
873
- #: admin/classes/class-wp-ulike-admin-panel.php:892
874
  msgid "Descending"
875
  msgstr ""
876
 
877
- #: admin/classes/class-wp-ulike-admin-panel.php:900
878
  msgid "Hide For Anonymous Users"
879
  msgstr ""
880
 
881
- #: admin/classes/class-wp-ulike-admin-panel.php:906
882
  #, fuzzy
883
  msgid "Likers Box Display"
884
  msgstr "いいねした人欄を表示"
885
 
886
- #: admin/classes/class-wp-ulike-admin-panel.php:909
887
  msgid "Inline"
888
  msgstr ""
889
 
890
- #: admin/classes/class-wp-ulike-admin-panel.php:910
891
  #: includes/classes/class-wp-ulike-customizer.php:558
892
  msgid "Popover"
893
  msgstr ""
894
 
895
- #: admin/classes/class-wp-ulike-admin-panel.php:936
896
  msgid "Size of Gravatars"
897
  msgstr "Gravatars のサイズ"
898
 
899
- #: admin/classes/class-wp-ulike-admin-panel.php:944
900
  msgid "Likers Count"
901
  msgstr ""
902
 
903
- #: admin/classes/class-wp-ulike-admin-panel.php:945
904
  msgid "The number of users to show in the users liked box"
905
  msgstr "ユーザーがいいねボックスに表示するユーザーの数"
906
 
@@ -1807,64 +1824,64 @@ msgstr ""
1807
  msgid "Error receiving input parameters"
1808
  msgstr ""
1809
 
1810
- #: includes/hooks/third-party.php:119
1811
  msgid "WP ULike Activity"
1812
  msgstr "WP ULike アクティビティ"
1813
 
1814
- #: includes/hooks/third-party.php:134
1815
  msgid "Votes"
1816
  msgstr ""
1817
 
1818
- #: includes/hooks/third-party.php:344
1819
  msgid "posts"
1820
  msgstr "投稿"
1821
 
1822
- #: includes/hooks/third-party.php:351
1823
  msgid "comments"
1824
  msgstr "コメント"
1825
 
1826
- #: includes/hooks/third-party.php:357
1827
  msgid "activities"
1828
  msgstr "アクティビティ"
1829
 
1830
- #: includes/hooks/third-party.php:365
1831
  msgid "topics"
1832
  msgstr ""
1833
 
1834
- #: includes/hooks/third-party.php:368
1835
  msgid "replies"
1836
  msgstr ""
1837
 
1838
- #: includes/hooks/third-party.php:380
1839
  msgid "You have %d new %s likes"
1840
  msgstr "%d 件の新しい %s いいね"
1841
 
1842
- #: includes/hooks/third-party.php:384
1843
  msgid "%s liked one of your %s"
1844
  msgstr "%s は %s の1つをいいねしました。"
1845
 
1846
- #: includes/hooks/third-party.php:428
1847
  msgid "New activity liked"
1848
  msgstr "いいねした新しいアクティビティ"
1849
 
1850
- #: includes/hooks/third-party.php:433
1851
  msgid "New comment liked"
1852
  msgstr "いいねした新しいコメント"
1853
 
1854
- #: includes/hooks/third-party.php:438
1855
  msgid "New post liked"
1856
  msgstr "いいねした新しい投稿"
1857
 
1858
- #: includes/hooks/third-party.php:443
1859
  msgid "New topic liked"
1860
  msgstr "いいねした新しいトピック"
1861
 
1862
- #: includes/hooks/third-party.php:801
1863
  #, fuzzy
1864
  msgid "Points for liking content"
1865
  msgstr "よくないねのコンテンツのポイント"
1866
 
1867
- #: includes/hooks/third-party.php:802
1868
  msgid ""
1869
  "This hook award / deducts points from users who Like/Unlike any content of "
1870
  "WordPress, bbPress, BuddyPress & ..."
@@ -1872,32 +1889,32 @@ msgstr ""
1872
  "このフックは WordPress、bbPress、BuddyPress などのコンテンツにいいね、もしく"
1873
  "はよくないねをしたユーザーからポイントを増減します"
1874
 
1875
- #: includes/hooks/third-party.php:818
1876
  msgid "Liking Content"
1877
  msgstr "いいねするコンテンツ"
1878
 
1879
- #: includes/hooks/third-party.php:819
1880
  msgid "Liked Content"
1881
  msgstr "いいねしたコンテンツ"
1882
 
1883
- #: includes/hooks/third-party.php:820
1884
  msgid "Unliking Content"
1885
  msgstr "よくないねをしたコンテンツ"
1886
 
1887
- #: includes/hooks/third-party.php:821
1888
  msgid "Unliked Content"
1889
  msgstr "よくないねをしたコンテンツ"
1890
 
1891
- #: includes/hooks/third-party.php:839
1892
  msgid "Recent Posts Liked"
1893
  msgstr "いいねした最近の投稿"
1894
 
1895
- #: includes/hooks/third-party.php:844
1896
  msgid "Recent Comments Liked"
1897
  msgstr "いいねした最近のコメント"
1898
 
1899
- #: includes/hooks/third-party.php:875 includes/hooks/third-party.php:901
1900
- #: includes/hooks/third-party.php:931 includes/hooks/third-party.php:961
1901
  msgid "This user has not made any likes."
1902
  msgstr "このユーザーはいいねしていません。"
1903
 
@@ -1906,12 +1923,12 @@ msgid "WP ULike"
1906
  msgstr "WP ULike"
1907
 
1908
  #. translators: %s: PHP version
1909
- #: wp-ulike.php:74
1910
  msgid "WP ULike requires PHP version %s+, plugin is currently NOT RUNNING."
1911
  msgstr ""
1912
 
1913
  #. translators: %s: WordPress version
1914
- #: wp-ulike.php:88
1915
  msgid ""
1916
  "WP ULike requires WordPress version %s+. Because you are using an earlier "
1917
  "version, the plugin is currently NOT RUNNING."
4
  msgstr ""
5
  "Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
6
  "Report-Msgid-Bugs-To: https://wpulike.com\n"
7
+ "POT-Creation-Date: 2021-10-25 08:29:05+00:00\n"
8
  "PO-Revision-Date: 2019-07-03 14:50:28+0000\n"
9
  "Language: ja_JP\n"
10
  "MIME-Version: 1.0\n"
30
  msgstr "大丈夫です!"
31
 
32
  #: admin/admin-functions.php:227
33
+ #: admin/classes/class-wp-ulike-admin-panel.php:869
34
  #: includes/classes/class-wp-ulike-customizer.php:149
35
  msgid "Button"
36
  msgstr ""
158
  msgstr "トピックのいいねログ"
159
 
160
  #: admin/classes/class-wp-ulike-admin-pages.php:59
161
+ #: admin/includes/templates/statistics.php:124 includes/plugin.php:106
162
  msgid "Statistics"
163
  msgstr "統計"
164
 
165
  #: admin/classes/class-wp-ulike-admin-pages.php:67
166
  #: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
167
+ #: includes/plugin.php:107
168
  msgid "About"
169
  msgstr "プラグインについて"
170
 
180
  msgid "Logs"
181
  msgstr "ログ"
182
 
183
+ #: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:105
184
  msgid "Settings"
185
  msgstr "設定"
186
 
429
 
430
  #: admin/classes/class-wp-ulike-admin-panel.php:298
431
  #: admin/classes/class-wp-ulike-admin-panel.php:310
432
+ #: admin/classes/class-wp-ulike-admin-panel.php:877
433
+ #: admin/classes/class-wp-ulike-admin-panel.php:933
434
  msgid "Allowed Variables:"
435
  msgstr "許可されている変数:"
436
 
823
  "are only allowed to have a specific point type."
824
  msgstr ""
825
 
826
+ #: admin/classes/class-wp-ulike-admin-panel.php:838
827
+ msgid ""
828
+ "Username/IP + Cookie: Same as username/IP description, However, if the user "
829
+ "IP or username changes and the cookie is set, it does not allow the user to "
830
+ "like /dislike."
831
+ msgstr ""
832
+
833
  #: admin/classes/class-wp-ulike-admin-panel.php:843
834
  msgid "Cookie Expiration"
835
  msgstr ""
839
  msgstr ""
840
 
841
  #: admin/classes/class-wp-ulike-admin-panel.php:851
842
+ msgid "Vote Limit Per Day"
843
+ msgstr ""
844
+
845
+ #: admin/classes/class-wp-ulike-admin-panel.php:852
846
+ msgid ""
847
+ "Limits the number of votes that can be submitted by user on each item per "
848
+ "day."
849
+ msgstr ""
850
+
851
+ #: admin/classes/class-wp-ulike-admin-panel.php:861
852
  msgid "Only logged in users"
853
  msgstr ""
854
 
855
+ #: admin/classes/class-wp-ulike-admin-panel.php:866
856
  msgid "Display Type"
857
  msgstr ""
858
 
859
+ #: admin/classes/class-wp-ulike-admin-panel.php:868
860
  msgid "Template"
861
  msgstr ""
862
 
863
+ #: admin/classes/class-wp-ulike-admin-panel.php:883
864
+ #: includes/classes/class-wp-ulike-setting-repo.php:182
865
  msgid "You need to login in order to like this post: "
866
  msgstr "いいねを送るにはログインする必要があります"
867
 
868
+ #: admin/classes/class-wp-ulike-admin-panel.php:885
869
+ #: includes/classes/class-wp-ulike-setting-repo.php:184
870
  msgid "click here"
871
  msgstr "ここをクリック"
872
 
873
+ #: admin/classes/class-wp-ulike-admin-panel.php:887
874
+ #: admin/classes/class-wp-ulike-admin-panel.php:932
875
  msgid "Custom HTML Template"
876
  msgstr ""
877
 
878
+ #: admin/classes/class-wp-ulike-admin-panel.php:893
879
  msgid "Display Likers Box"
880
  msgstr "いいねした人欄を表示"
881
 
882
+ #: admin/classes/class-wp-ulike-admin-panel.php:898
883
  msgid "User List Arrange"
884
  msgstr ""
885
 
886
+ #: admin/classes/class-wp-ulike-admin-panel.php:901
887
  msgid "Ascending"
888
  msgstr ""
889
 
890
+ #: admin/classes/class-wp-ulike-admin-panel.php:902
891
  msgid "Descending"
892
  msgstr ""
893
 
894
+ #: admin/classes/class-wp-ulike-admin-panel.php:910
895
  msgid "Hide For Anonymous Users"
896
  msgstr ""
897
 
898
+ #: admin/classes/class-wp-ulike-admin-panel.php:916
899
  #, fuzzy
900
  msgid "Likers Box Display"
901
  msgstr "いいねした人欄を表示"
902
 
903
+ #: admin/classes/class-wp-ulike-admin-panel.php:919
904
  msgid "Inline"
905
  msgstr ""
906
 
907
+ #: admin/classes/class-wp-ulike-admin-panel.php:920
908
  #: includes/classes/class-wp-ulike-customizer.php:558
909
  msgid "Popover"
910
  msgstr ""
911
 
912
+ #: admin/classes/class-wp-ulike-admin-panel.php:946
913
  msgid "Size of Gravatars"
914
  msgstr "Gravatars のサイズ"
915
 
916
+ #: admin/classes/class-wp-ulike-admin-panel.php:954
917
  msgid "Likers Count"
918
  msgstr ""
919
 
920
+ #: admin/classes/class-wp-ulike-admin-panel.php:955
921
  msgid "The number of users to show in the users liked box"
922
  msgstr "ユーザーがいいねボックスに表示するユーザーの数"
923
 
1824
  msgid "Error receiving input parameters"
1825
  msgstr ""
1826
 
1827
+ #: includes/hooks/third-party.php:127
1828
  msgid "WP ULike Activity"
1829
  msgstr "WP ULike アクティビティ"
1830
 
1831
+ #: includes/hooks/third-party.php:142
1832
  msgid "Votes"
1833
  msgstr ""
1834
 
1835
+ #: includes/hooks/third-party.php:352
1836
  msgid "posts"
1837
  msgstr "投稿"
1838
 
1839
+ #: includes/hooks/third-party.php:359
1840
  msgid "comments"
1841
  msgstr "コメント"
1842
 
1843
+ #: includes/hooks/third-party.php:365
1844
  msgid "activities"
1845
  msgstr "アクティビティ"
1846
 
1847
+ #: includes/hooks/third-party.php:373
1848
  msgid "topics"
1849
  msgstr ""
1850
 
1851
+ #: includes/hooks/third-party.php:376
1852
  msgid "replies"
1853
  msgstr ""
1854
 
1855
+ #: includes/hooks/third-party.php:388
1856
  msgid "You have %d new %s likes"
1857
  msgstr "%d 件の新しい %s いいね"
1858
 
1859
+ #: includes/hooks/third-party.php:392
1860
  msgid "%s liked one of your %s"
1861
  msgstr "%s は %s の1つをいいねしました。"
1862
 
1863
+ #: includes/hooks/third-party.php:436
1864
  msgid "New activity liked"
1865
  msgstr "いいねした新しいアクティビティ"
1866
 
1867
+ #: includes/hooks/third-party.php:441
1868
  msgid "New comment liked"
1869
  msgstr "いいねした新しいコメント"
1870
 
1871
+ #: includes/hooks/third-party.php:446
1872
  msgid "New post liked"
1873
  msgstr "いいねした新しい投稿"
1874
 
1875
+ #: includes/hooks/third-party.php:451
1876
  msgid "New topic liked"
1877
  msgstr "いいねした新しいトピック"
1878
 
1879
+ #: includes/hooks/third-party.php:809
1880
  #, fuzzy
1881
  msgid "Points for liking content"
1882
  msgstr "よくないねのコンテンツのポイント"
1883
 
1884
+ #: includes/hooks/third-party.php:810
1885
  msgid ""
1886
  "This hook award / deducts points from users who Like/Unlike any content of "
1887
  "WordPress, bbPress, BuddyPress & ..."
1889
  "このフックは WordPress、bbPress、BuddyPress などのコンテンツにいいね、もしく"
1890
  "はよくないねをしたユーザーからポイントを増減します"
1891
 
1892
+ #: includes/hooks/third-party.php:826
1893
  msgid "Liking Content"
1894
  msgstr "いいねするコンテンツ"
1895
 
1896
+ #: includes/hooks/third-party.php:827
1897
  msgid "Liked Content"
1898
  msgstr "いいねしたコンテンツ"
1899
 
1900
+ #: includes/hooks/third-party.php:828
1901
  msgid "Unliking Content"
1902
  msgstr "よくないねをしたコンテンツ"
1903
 
1904
+ #: includes/hooks/third-party.php:829
1905
  msgid "Unliked Content"
1906
  msgstr "よくないねをしたコンテンツ"
1907
 
1908
+ #: includes/hooks/third-party.php:847
1909
  msgid "Recent Posts Liked"
1910
  msgstr "いいねした最近の投稿"
1911
 
1912
+ #: includes/hooks/third-party.php:852
1913
  msgid "Recent Comments Liked"
1914
  msgstr "いいねした最近のコメント"
1915
 
1916
+ #: includes/hooks/third-party.php:883 includes/hooks/third-party.php:909
1917
+ #: includes/hooks/third-party.php:939 includes/hooks/third-party.php:969
1918
  msgid "This user has not made any likes."
1919
  msgstr "このユーザーはいいねしていません。"
1920
 
1923
  msgstr "WP ULike"
1924
 
1925
  #. translators: %s: PHP version
1926
+ #: wp-ulike.php:78
1927
  msgid "WP ULike requires PHP version %s+, plugin is currently NOT RUNNING."
1928
  msgstr ""
1929
 
1930
  #. translators: %s: WordPress version
1931
+ #: wp-ulike.php:92
1932
  msgid ""
1933
  "WP ULike requires WordPress version %s+. Because you are using an earlier "
1934
  "version, the plugin is currently NOT RUNNING."
languages/wp-ulike-nl.po CHANGED
@@ -4,7 +4,7 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
6
  "Report-Msgid-Bugs-To: https://wpulike.com\n"
7
- "POT-Creation-Date: 2021-09-22 12:01:15+00:00\n"
8
  "PO-Revision-Date: 2020-02-23 18:53:56+0000\n"
9
  "Language: nl\n"
10
  "MIME-Version: 1.0\n"
@@ -30,7 +30,7 @@ msgid "It's Ok!"
30
  msgstr ""
31
 
32
  #: admin/admin-functions.php:227
33
- #: admin/classes/class-wp-ulike-admin-panel.php:859
34
  #: includes/classes/class-wp-ulike-customizer.php:149
35
  msgid "Button"
36
  msgstr ""
@@ -155,13 +155,13 @@ msgid "Topics Likes Logs"
155
  msgstr ""
156
 
157
  #: admin/classes/class-wp-ulike-admin-pages.php:59
158
- #: admin/includes/templates/statistics.php:124 includes/plugin.php:103
159
  msgid "Statistics"
160
  msgstr "Statistieken"
161
 
162
  #: admin/classes/class-wp-ulike-admin-pages.php:67
163
  #: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
164
- #: includes/plugin.php:104
165
  msgid "About"
166
  msgstr "Over"
167
 
@@ -177,7 +177,7 @@ msgstr "Over"
177
  msgid "Logs"
178
  msgstr "Logboeken"
179
 
180
- #: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:102
181
  msgid "Settings"
182
  msgstr "Settings"
183
 
@@ -423,8 +423,8 @@ msgstr ""
423
 
424
  #: admin/classes/class-wp-ulike-admin-panel.php:298
425
  #: admin/classes/class-wp-ulike-admin-panel.php:310
426
- #: admin/classes/class-wp-ulike-admin-panel.php:867
427
- #: admin/classes/class-wp-ulike-admin-panel.php:923
428
  msgid "Allowed Variables:"
429
  msgstr ""
430
 
@@ -814,6 +814,13 @@ msgid ""
814
  "are only allowed to have a specific point type."
815
  msgstr ""
816
 
 
 
 
 
 
 
 
817
  #: admin/classes/class-wp-ulike-admin-panel.php:843
818
  msgid "Cookie Expiration"
819
  msgstr ""
@@ -823,74 +830,84 @@ msgid "Specify how long, in seconds, cookie expires. Default value: 31536000"
823
  msgstr ""
824
 
825
  #: admin/classes/class-wp-ulike-admin-panel.php:851
 
 
 
 
 
 
 
 
 
 
826
  msgid "Only logged in users"
827
  msgstr ""
828
 
829
- #: admin/classes/class-wp-ulike-admin-panel.php:856
830
  msgid "Display Type"
831
  msgstr ""
832
 
833
- #: admin/classes/class-wp-ulike-admin-panel.php:858
834
  msgid "Template"
835
  msgstr ""
836
 
837
- #: admin/classes/class-wp-ulike-admin-panel.php:873
838
- #: includes/classes/class-wp-ulike-setting-repo.php:173
839
  msgid "You need to login in order to like this post: "
840
  msgstr "Je moet inloggen om dit bericht leuk te vinden:"
841
 
842
- #: admin/classes/class-wp-ulike-admin-panel.php:875
843
- #: includes/classes/class-wp-ulike-setting-repo.php:175
844
  msgid "click here"
845
  msgstr "klik hier"
846
 
847
- #: admin/classes/class-wp-ulike-admin-panel.php:877
848
- #: admin/classes/class-wp-ulike-admin-panel.php:922
849
  msgid "Custom HTML Template"
850
  msgstr ""
851
 
852
- #: admin/classes/class-wp-ulike-admin-panel.php:883
853
  msgid "Display Likers Box"
854
  msgstr ""
855
 
856
- #: admin/classes/class-wp-ulike-admin-panel.php:888
857
  msgid "User List Arrange"
858
  msgstr ""
859
 
860
- #: admin/classes/class-wp-ulike-admin-panel.php:891
861
  msgid "Ascending"
862
  msgstr ""
863
 
864
- #: admin/classes/class-wp-ulike-admin-panel.php:892
865
  msgid "Descending"
866
  msgstr ""
867
 
868
- #: admin/classes/class-wp-ulike-admin-panel.php:900
869
  msgid "Hide For Anonymous Users"
870
  msgstr ""
871
 
872
- #: admin/classes/class-wp-ulike-admin-panel.php:906
873
  msgid "Likers Box Display"
874
  msgstr ""
875
 
876
- #: admin/classes/class-wp-ulike-admin-panel.php:909
877
  msgid "Inline"
878
  msgstr ""
879
 
880
- #: admin/classes/class-wp-ulike-admin-panel.php:910
881
  #: includes/classes/class-wp-ulike-customizer.php:558
882
  msgid "Popover"
883
  msgstr ""
884
 
885
- #: admin/classes/class-wp-ulike-admin-panel.php:936
886
  msgid "Size of Gravatars"
887
  msgstr "Formaat avatars"
888
 
889
- #: admin/classes/class-wp-ulike-admin-panel.php:944
890
  msgid "Likers Count"
891
  msgstr ""
892
 
893
- #: admin/classes/class-wp-ulike-admin-panel.php:945
894
  msgid "The number of users to show in the users liked box"
895
  msgstr ""
896
 
@@ -1780,94 +1797,94 @@ msgstr ""
1780
  msgid "Error receiving input parameters"
1781
  msgstr ""
1782
 
1783
- #: includes/hooks/third-party.php:119
1784
  msgid "WP ULike Activity"
1785
  msgstr "WP ULike activiteiten"
1786
 
1787
- #: includes/hooks/third-party.php:134
1788
  msgid "Votes"
1789
  msgstr ""
1790
 
1791
- #: includes/hooks/third-party.php:344
1792
  msgid "posts"
1793
  msgstr ""
1794
 
1795
- #: includes/hooks/third-party.php:351
1796
  msgid "comments"
1797
  msgstr ""
1798
 
1799
- #: includes/hooks/third-party.php:357
1800
  msgid "activities"
1801
  msgstr ""
1802
 
1803
- #: includes/hooks/third-party.php:365
1804
  msgid "topics"
1805
  msgstr ""
1806
 
1807
- #: includes/hooks/third-party.php:368
1808
  msgid "replies"
1809
  msgstr ""
1810
 
1811
- #: includes/hooks/third-party.php:380
1812
  msgid "You have %d new %s likes"
1813
  msgstr ""
1814
 
1815
- #: includes/hooks/third-party.php:384
1816
  msgid "%s liked one of your %s"
1817
  msgstr ""
1818
 
1819
- #: includes/hooks/third-party.php:428
1820
  msgid "New activity liked"
1821
  msgstr ""
1822
 
1823
- #: includes/hooks/third-party.php:433
1824
  msgid "New comment liked"
1825
  msgstr ""
1826
 
1827
- #: includes/hooks/third-party.php:438
1828
  msgid "New post liked"
1829
  msgstr ""
1830
 
1831
- #: includes/hooks/third-party.php:443
1832
  msgid "New topic liked"
1833
  msgstr ""
1834
 
1835
- #: includes/hooks/third-party.php:801
1836
  msgid "Points for liking content"
1837
  msgstr ""
1838
 
1839
- #: includes/hooks/third-party.php:802
1840
  msgid ""
1841
  "This hook award / deducts points from users who Like/Unlike any content of "
1842
  "WordPress, bbPress, BuddyPress & ..."
1843
  msgstr ""
1844
 
1845
- #: includes/hooks/third-party.php:818
1846
  msgid "Liking Content"
1847
  msgstr ""
1848
 
1849
- #: includes/hooks/third-party.php:819
1850
  msgid "Liked Content"
1851
  msgstr ""
1852
 
1853
- #: includes/hooks/third-party.php:820
1854
  msgid "Unliking Content"
1855
  msgstr ""
1856
 
1857
- #: includes/hooks/third-party.php:821
1858
  msgid "Unliked Content"
1859
  msgstr ""
1860
 
1861
- #: includes/hooks/third-party.php:839
1862
  msgid "Recent Posts Liked"
1863
  msgstr ""
1864
 
1865
- #: includes/hooks/third-party.php:844
1866
  msgid "Recent Comments Liked"
1867
  msgstr ""
1868
 
1869
- #: includes/hooks/third-party.php:875 includes/hooks/third-party.php:901
1870
- #: includes/hooks/third-party.php:931 includes/hooks/third-party.php:961
1871
  msgid "This user has not made any likes."
1872
  msgstr ""
1873
 
@@ -1876,12 +1893,12 @@ msgid "WP ULike"
1876
  msgstr "WP ULike"
1877
 
1878
  #. translators: %s: PHP version
1879
- #: wp-ulike.php:74
1880
  msgid "WP ULike requires PHP version %s+, plugin is currently NOT RUNNING."
1881
  msgstr ""
1882
 
1883
  #. translators: %s: WordPress version
1884
- #: wp-ulike.php:88
1885
  msgid ""
1886
  "WP ULike requires WordPress version %s+. Because you are using an earlier "
1887
  "version, the plugin is currently NOT RUNNING."
4
  msgstr ""
5
  "Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
6
  "Report-Msgid-Bugs-To: https://wpulike.com\n"
7
+ "POT-Creation-Date: 2021-10-25 08:29:05+00:00\n"
8
  "PO-Revision-Date: 2020-02-23 18:53:56+0000\n"
9
  "Language: nl\n"
10
  "MIME-Version: 1.0\n"
30
  msgstr ""
31
 
32
  #: admin/admin-functions.php:227
33
+ #: admin/classes/class-wp-ulike-admin-panel.php:869
34
  #: includes/classes/class-wp-ulike-customizer.php:149
35
  msgid "Button"
36
  msgstr ""
155
  msgstr ""
156
 
157
  #: admin/classes/class-wp-ulike-admin-pages.php:59
158
+ #: admin/includes/templates/statistics.php:124 includes/plugin.php:106
159
  msgid "Statistics"
160
  msgstr "Statistieken"
161
 
162
  #: admin/classes/class-wp-ulike-admin-pages.php:67
163
  #: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
164
+ #: includes/plugin.php:107
165
  msgid "About"
166
  msgstr "Over"
167
 
177
  msgid "Logs"
178
  msgstr "Logboeken"
179
 
180
+ #: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:105
181
  msgid "Settings"
182
  msgstr "Settings"
183
 
423
 
424
  #: admin/classes/class-wp-ulike-admin-panel.php:298
425
  #: admin/classes/class-wp-ulike-admin-panel.php:310
426
+ #: admin/classes/class-wp-ulike-admin-panel.php:877
427
+ #: admin/classes/class-wp-ulike-admin-panel.php:933
428
  msgid "Allowed Variables:"
429
  msgstr ""
430
 
814
  "are only allowed to have a specific point type."
815
  msgstr ""
816
 
817
+ #: admin/classes/class-wp-ulike-admin-panel.php:838
818
+ msgid ""
819
+ "Username/IP + Cookie: Same as username/IP description, However, if the user "
820
+ "IP or username changes and the cookie is set, it does not allow the user to "
821
+ "like /dislike."
822
+ msgstr ""
823
+
824
  #: admin/classes/class-wp-ulike-admin-panel.php:843
825
  msgid "Cookie Expiration"
826
  msgstr ""
830
  msgstr ""
831
 
832
  #: admin/classes/class-wp-ulike-admin-panel.php:851
833
+ msgid "Vote Limit Per Day"
834
+ msgstr ""
835
+
836
+ #: admin/classes/class-wp-ulike-admin-panel.php:852
837
+ msgid ""
838
+ "Limits the number of votes that can be submitted by user on each item per "
839
+ "day."
840
+ msgstr ""
841
+
842
+ #: admin/classes/class-wp-ulike-admin-panel.php:861
843
  msgid "Only logged in users"
844
  msgstr ""
845
 
846
+ #: admin/classes/class-wp-ulike-admin-panel.php:866
847
  msgid "Display Type"
848
  msgstr ""
849
 
850
+ #: admin/classes/class-wp-ulike-admin-panel.php:868
851
  msgid "Template"
852
  msgstr ""
853
 
854
+ #: admin/classes/class-wp-ulike-admin-panel.php:883
855
+ #: includes/classes/class-wp-ulike-setting-repo.php:182
856
  msgid "You need to login in order to like this post: "
857
  msgstr "Je moet inloggen om dit bericht leuk te vinden:"
858
 
859
+ #: admin/classes/class-wp-ulike-admin-panel.php:885
860
+ #: includes/classes/class-wp-ulike-setting-repo.php:184
861
  msgid "click here"
862
  msgstr "klik hier"
863
 
864
+ #: admin/classes/class-wp-ulike-admin-panel.php:887
865
+ #: admin/classes/class-wp-ulike-admin-panel.php:932
866
  msgid "Custom HTML Template"
867
  msgstr ""
868
 
869
+ #: admin/classes/class-wp-ulike-admin-panel.php:893
870
  msgid "Display Likers Box"
871
  msgstr ""
872
 
873
+ #: admin/classes/class-wp-ulike-admin-panel.php:898
874
  msgid "User List Arrange"
875
  msgstr ""
876
 
877
+ #: admin/classes/class-wp-ulike-admin-panel.php:901
878
  msgid "Ascending"
879
  msgstr ""
880
 
881
+ #: admin/classes/class-wp-ulike-admin-panel.php:902
882
  msgid "Descending"
883
  msgstr ""
884
 
885
+ #: admin/classes/class-wp-ulike-admin-panel.php:910
886
  msgid "Hide For Anonymous Users"
887
  msgstr ""
888
 
889
+ #: admin/classes/class-wp-ulike-admin-panel.php:916
890
  msgid "Likers Box Display"
891
  msgstr ""
892
 
893
+ #: admin/classes/class-wp-ulike-admin-panel.php:919
894
  msgid "Inline"
895
  msgstr ""
896
 
897
+ #: admin/classes/class-wp-ulike-admin-panel.php:920
898
  #: includes/classes/class-wp-ulike-customizer.php:558
899
  msgid "Popover"
900
  msgstr ""
901
 
902
+ #: admin/classes/class-wp-ulike-admin-panel.php:946
903
  msgid "Size of Gravatars"
904
  msgstr "Formaat avatars"
905
 
906
+ #: admin/classes/class-wp-ulike-admin-panel.php:954
907
  msgid "Likers Count"
908
  msgstr ""
909
 
910
+ #: admin/classes/class-wp-ulike-admin-panel.php:955
911
  msgid "The number of users to show in the users liked box"
912
  msgstr ""
913
 
1797
  msgid "Error receiving input parameters"
1798
  msgstr ""
1799
 
1800
+ #: includes/hooks/third-party.php:127
1801
  msgid "WP ULike Activity"
1802
  msgstr "WP ULike activiteiten"
1803
 
1804
+ #: includes/hooks/third-party.php:142
1805
  msgid "Votes"
1806
  msgstr ""
1807
 
1808
+ #: includes/hooks/third-party.php:352
1809
  msgid "posts"
1810
  msgstr ""
1811
 
1812
+ #: includes/hooks/third-party.php:359
1813
  msgid "comments"
1814
  msgstr ""
1815
 
1816
+ #: includes/hooks/third-party.php:365
1817
  msgid "activities"
1818
  msgstr ""
1819
 
1820
+ #: includes/hooks/third-party.php:373
1821
  msgid "topics"
1822
  msgstr ""
1823
 
1824
+ #: includes/hooks/third-party.php:376
1825
  msgid "replies"
1826
  msgstr ""
1827
 
1828
+ #: includes/hooks/third-party.php:388
1829
  msgid "You have %d new %s likes"
1830
  msgstr ""
1831
 
1832
+ #: includes/hooks/third-party.php:392
1833
  msgid "%s liked one of your %s"
1834
  msgstr ""
1835
 
1836
+ #: includes/hooks/third-party.php:436
1837
  msgid "New activity liked"
1838
  msgstr ""
1839
 
1840
+ #: includes/hooks/third-party.php:441
1841
  msgid "New comment liked"
1842
  msgstr ""
1843
 
1844
+ #: includes/hooks/third-party.php:446
1845
  msgid "New post liked"
1846
  msgstr ""
1847
 
1848
+ #: includes/hooks/third-party.php:451
1849
  msgid "New topic liked"
1850
  msgstr ""
1851
 
1852
+ #: includes/hooks/third-party.php:809
1853
  msgid "Points for liking content"
1854
  msgstr ""
1855
 
1856
+ #: includes/hooks/third-party.php:810
1857
  msgid ""
1858
  "This hook award / deducts points from users who Like/Unlike any content of "
1859
  "WordPress, bbPress, BuddyPress & ..."
1860
  msgstr ""
1861
 
1862
+ #: includes/hooks/third-party.php:826
1863
  msgid "Liking Content"
1864
  msgstr ""
1865
 
1866
+ #: includes/hooks/third-party.php:827
1867
  msgid "Liked Content"
1868
  msgstr ""
1869
 
1870
+ #: includes/hooks/third-party.php:828
1871
  msgid "Unliking Content"
1872
  msgstr ""
1873
 
1874
+ #: includes/hooks/third-party.php:829
1875
  msgid "Unliked Content"
1876
  msgstr ""
1877
 
1878
+ #: includes/hooks/third-party.php:847
1879
  msgid "Recent Posts Liked"
1880
  msgstr ""
1881
 
1882
+ #: includes/hooks/third-party.php:852
1883
  msgid "Recent Comments Liked"
1884
  msgstr ""
1885
 
1886
+ #: includes/hooks/third-party.php:883 includes/hooks/third-party.php:909
1887
+ #: includes/hooks/third-party.php:939 includes/hooks/third-party.php:969
1888
  msgid "This user has not made any likes."
1889
  msgstr ""
1890
 
1893
  msgstr "WP ULike"
1894
 
1895
  #. translators: %s: PHP version
1896
+ #: wp-ulike.php:78
1897
  msgid "WP ULike requires PHP version %s+, plugin is currently NOT RUNNING."
1898
  msgstr ""
1899
 
1900
  #. translators: %s: WordPress version
1901
+ #: wp-ulike.php:92
1902
  msgid ""
1903
  "WP ULike requires WordPress version %s+. Because you are using an earlier "
1904
  "version, the plugin is currently NOT RUNNING."
languages/wp-ulike-ru.po CHANGED
@@ -4,7 +4,7 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
6
  "Report-Msgid-Bugs-To: https://wpulike.com\n"
7
- "POT-Creation-Date: 2021-09-22 12:01:15+00:00\n"
8
  "PO-Revision-Date: 2017-01-20 23:27:25+0000\n"
9
  "Language: ru\n"
10
  "MIME-Version: 1.0\n"
@@ -31,7 +31,7 @@ msgid "It's Ok!"
31
  msgstr ""
32
 
33
  #: admin/admin-functions.php:227
34
- #: admin/classes/class-wp-ulike-admin-panel.php:859
35
  #: includes/classes/class-wp-ulike-customizer.php:149
36
  msgid "Button"
37
  msgstr ""
@@ -156,13 +156,13 @@ msgid "Topics Likes Logs"
156
  msgstr ""
157
 
158
  #: admin/classes/class-wp-ulike-admin-pages.php:59
159
- #: admin/includes/templates/statistics.php:124 includes/plugin.php:103
160
  msgid "Statistics"
161
  msgstr ""
162
 
163
  #: admin/classes/class-wp-ulike-admin-pages.php:67
164
  #: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
165
- #: includes/plugin.php:104
166
  msgid "About"
167
  msgstr ""
168
 
@@ -178,7 +178,7 @@ msgstr ""
178
  msgid "Logs"
179
  msgstr ""
180
 
181
- #: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:102
182
  msgid "Settings"
183
  msgstr ""
184
 
@@ -421,8 +421,8 @@ msgstr ""
421
 
422
  #: admin/classes/class-wp-ulike-admin-panel.php:298
423
  #: admin/classes/class-wp-ulike-admin-panel.php:310
424
- #: admin/classes/class-wp-ulike-admin-panel.php:867
425
- #: admin/classes/class-wp-ulike-admin-panel.php:923
426
  msgid "Allowed Variables:"
427
  msgstr ""
428
 
@@ -807,6 +807,13 @@ msgid ""
807
  "are only allowed to have a specific point type."
808
  msgstr ""
809
 
 
 
 
 
 
 
 
810
  #: admin/classes/class-wp-ulike-admin-panel.php:843
811
  msgid "Cookie Expiration"
812
  msgstr ""
@@ -816,74 +823,84 @@ msgid "Specify how long, in seconds, cookie expires. Default value: 31536000"
816
  msgstr ""
817
 
818
  #: admin/classes/class-wp-ulike-admin-panel.php:851
 
 
 
 
 
 
 
 
 
 
819
  msgid "Only logged in users"
820
  msgstr ""
821
 
822
- #: admin/classes/class-wp-ulike-admin-panel.php:856
823
  msgid "Display Type"
824
  msgstr ""
825
 
826
- #: admin/classes/class-wp-ulike-admin-panel.php:858
827
  msgid "Template"
828
  msgstr ""
829
 
830
- #: admin/classes/class-wp-ulike-admin-panel.php:873
831
- #: includes/classes/class-wp-ulike-setting-repo.php:173
832
  msgid "You need to login in order to like this post: "
833
  msgstr ""
834
 
835
- #: admin/classes/class-wp-ulike-admin-panel.php:875
836
- #: includes/classes/class-wp-ulike-setting-repo.php:175
837
  msgid "click here"
838
  msgstr ""
839
 
840
- #: admin/classes/class-wp-ulike-admin-panel.php:877
841
- #: admin/classes/class-wp-ulike-admin-panel.php:922
842
  msgid "Custom HTML Template"
843
  msgstr ""
844
 
845
- #: admin/classes/class-wp-ulike-admin-panel.php:883
846
  msgid "Display Likers Box"
847
  msgstr ""
848
 
849
- #: admin/classes/class-wp-ulike-admin-panel.php:888
850
  msgid "User List Arrange"
851
  msgstr ""
852
 
853
- #: admin/classes/class-wp-ulike-admin-panel.php:891
854
  msgid "Ascending"
855
  msgstr ""
856
 
857
- #: admin/classes/class-wp-ulike-admin-panel.php:892
858
  msgid "Descending"
859
  msgstr ""
860
 
861
- #: admin/classes/class-wp-ulike-admin-panel.php:900
862
  msgid "Hide For Anonymous Users"
863
  msgstr ""
864
 
865
- #: admin/classes/class-wp-ulike-admin-panel.php:906
866
  msgid "Likers Box Display"
867
  msgstr ""
868
 
869
- #: admin/classes/class-wp-ulike-admin-panel.php:909
870
  msgid "Inline"
871
  msgstr ""
872
 
873
- #: admin/classes/class-wp-ulike-admin-panel.php:910
874
  #: includes/classes/class-wp-ulike-customizer.php:558
875
  msgid "Popover"
876
  msgstr ""
877
 
878
- #: admin/classes/class-wp-ulike-admin-panel.php:936
879
  msgid "Size of Gravatars"
880
  msgstr ""
881
 
882
- #: admin/classes/class-wp-ulike-admin-panel.php:944
883
  msgid "Likers Count"
884
  msgstr ""
885
 
886
- #: admin/classes/class-wp-ulike-admin-panel.php:945
887
  msgid "The number of users to show in the users liked box"
888
  msgstr ""
889
 
@@ -1759,94 +1776,94 @@ msgstr ""
1759
  msgid "Error receiving input parameters"
1760
  msgstr ""
1761
 
1762
- #: includes/hooks/third-party.php:119
1763
  msgid "WP ULike Activity"
1764
  msgstr ""
1765
 
1766
- #: includes/hooks/third-party.php:134
1767
  msgid "Votes"
1768
  msgstr ""
1769
 
1770
- #: includes/hooks/third-party.php:344
1771
  msgid "posts"
1772
  msgstr ""
1773
 
1774
- #: includes/hooks/third-party.php:351
1775
  msgid "comments"
1776
  msgstr ""
1777
 
1778
- #: includes/hooks/third-party.php:357
1779
  msgid "activities"
1780
  msgstr ""
1781
 
1782
- #: includes/hooks/third-party.php:365
1783
  msgid "topics"
1784
  msgstr ""
1785
 
1786
- #: includes/hooks/third-party.php:368
1787
  msgid "replies"
1788
  msgstr ""
1789
 
1790
- #: includes/hooks/third-party.php:380
1791
  msgid "You have %d new %s likes"
1792
  msgstr ""
1793
 
1794
- #: includes/hooks/third-party.php:384
1795
  msgid "%s liked one of your %s"
1796
  msgstr ""
1797
 
1798
- #: includes/hooks/third-party.php:428
1799
  msgid "New activity liked"
1800
  msgstr ""
1801
 
1802
- #: includes/hooks/third-party.php:433
1803
  msgid "New comment liked"
1804
  msgstr ""
1805
 
1806
- #: includes/hooks/third-party.php:438
1807
  msgid "New post liked"
1808
  msgstr ""
1809
 
1810
- #: includes/hooks/third-party.php:443
1811
  msgid "New topic liked"
1812
  msgstr ""
1813
 
1814
- #: includes/hooks/third-party.php:801
1815
  msgid "Points for liking content"
1816
  msgstr ""
1817
 
1818
- #: includes/hooks/third-party.php:802
1819
  msgid ""
1820
  "This hook award / deducts points from users who Like/Unlike any content of "
1821
  "WordPress, bbPress, BuddyPress & ..."
1822
  msgstr ""
1823
 
1824
- #: includes/hooks/third-party.php:818
1825
  msgid "Liking Content"
1826
  msgstr ""
1827
 
1828
- #: includes/hooks/third-party.php:819
1829
  msgid "Liked Content"
1830
  msgstr ""
1831
 
1832
- #: includes/hooks/third-party.php:820
1833
  msgid "Unliking Content"
1834
  msgstr ""
1835
 
1836
- #: includes/hooks/third-party.php:821
1837
  msgid "Unliked Content"
1838
  msgstr ""
1839
 
1840
- #: includes/hooks/third-party.php:839
1841
  msgid "Recent Posts Liked"
1842
  msgstr ""
1843
 
1844
- #: includes/hooks/third-party.php:844
1845
  msgid "Recent Comments Liked"
1846
  msgstr ""
1847
 
1848
- #: includes/hooks/third-party.php:875 includes/hooks/third-party.php:901
1849
- #: includes/hooks/third-party.php:931 includes/hooks/third-party.php:961
1850
  msgid "This user has not made any likes."
1851
  msgstr ""
1852
 
@@ -1855,12 +1872,12 @@ msgid "WP ULike"
1855
  msgstr ""
1856
 
1857
  #. translators: %s: PHP version
1858
- #: wp-ulike.php:74
1859
  msgid "WP ULike requires PHP version %s+, plugin is currently NOT RUNNING."
1860
  msgstr ""
1861
 
1862
  #. translators: %s: WordPress version
1863
- #: wp-ulike.php:88
1864
  msgid ""
1865
  "WP ULike requires WordPress version %s+. Because you are using an earlier "
1866
  "version, the plugin is currently NOT RUNNING."
4
  msgstr ""
5
  "Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
6
  "Report-Msgid-Bugs-To: https://wpulike.com\n"
7
+ "POT-Creation-Date: 2021-10-25 08:29:05+00:00\n"
8
  "PO-Revision-Date: 2017-01-20 23:27:25+0000\n"
9
  "Language: ru\n"
10
  "MIME-Version: 1.0\n"
31
  msgstr ""
32
 
33
  #: admin/admin-functions.php:227
34
+ #: admin/classes/class-wp-ulike-admin-panel.php:869
35
  #: includes/classes/class-wp-ulike-customizer.php:149
36
  msgid "Button"
37
  msgstr ""
156
  msgstr ""
157
 
158
  #: admin/classes/class-wp-ulike-admin-pages.php:59
159
+ #: admin/includes/templates/statistics.php:124 includes/plugin.php:106
160
  msgid "Statistics"
161
  msgstr ""
162
 
163
  #: admin/classes/class-wp-ulike-admin-pages.php:67
164
  #: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
165
+ #: includes/plugin.php:107
166
  msgid "About"
167
  msgstr ""
168
 
178
  msgid "Logs"
179
  msgstr ""
180
 
181
+ #: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:105
182
  msgid "Settings"
183
  msgstr ""
184
 
421
 
422
  #: admin/classes/class-wp-ulike-admin-panel.php:298
423
  #: admin/classes/class-wp-ulike-admin-panel.php:310
424
+ #: admin/classes/class-wp-ulike-admin-panel.php:877
425
+ #: admin/classes/class-wp-ulike-admin-panel.php:933
426
  msgid "Allowed Variables:"
427
  msgstr ""
428
 
807
  "are only allowed to have a specific point type."
808
  msgstr ""
809
 
810
+ #: admin/classes/class-wp-ulike-admin-panel.php:838
811
+ msgid ""
812
+ "Username/IP + Cookie: Same as username/IP description, However, if the user "
813
+ "IP or username changes and the cookie is set, it does not allow the user to "
814
+ "like /dislike."
815
+ msgstr ""
816
+
817
  #: admin/classes/class-wp-ulike-admin-panel.php:843
818
  msgid "Cookie Expiration"
819
  msgstr ""
823
  msgstr ""
824
 
825
  #: admin/classes/class-wp-ulike-admin-panel.php:851
826
+ msgid "Vote Limit Per Day"
827
+ msgstr ""
828
+
829
+ #: admin/classes/class-wp-ulike-admin-panel.php:852
830
+ msgid ""
831
+ "Limits the number of votes that can be submitted by user on each item per "
832
+ "day."
833
+ msgstr ""
834
+
835
+ #: admin/classes/class-wp-ulike-admin-panel.php:861
836
  msgid "Only logged in users"
837
  msgstr ""
838
 
839
+ #: admin/classes/class-wp-ulike-admin-panel.php:866
840
  msgid "Display Type"
841
  msgstr ""
842
 
843
+ #: admin/classes/class-wp-ulike-admin-panel.php:868
844
  msgid "Template"
845
  msgstr ""
846
 
847
+ #: admin/classes/class-wp-ulike-admin-panel.php:883
848
+ #: includes/classes/class-wp-ulike-setting-repo.php:182
849
  msgid "You need to login in order to like this post: "
850
  msgstr ""
851
 
852
+ #: admin/classes/class-wp-ulike-admin-panel.php:885
853
+ #: includes/classes/class-wp-ulike-setting-repo.php:184
854
  msgid "click here"
855
  msgstr ""
856
 
857
+ #: admin/classes/class-wp-ulike-admin-panel.php:887
858
+ #: admin/classes/class-wp-ulike-admin-panel.php:932
859
  msgid "Custom HTML Template"
860
  msgstr ""
861
 
862
+ #: admin/classes/class-wp-ulike-admin-panel.php:893
863
  msgid "Display Likers Box"
864
  msgstr ""
865
 
866
+ #: admin/classes/class-wp-ulike-admin-panel.php:898
867
  msgid "User List Arrange"
868
  msgstr ""
869
 
870
+ #: admin/classes/class-wp-ulike-admin-panel.php:901
871
  msgid "Ascending"
872
  msgstr ""
873
 
874
+ #: admin/classes/class-wp-ulike-admin-panel.php:902
875
  msgid "Descending"
876
  msgstr ""
877
 
878
+ #: admin/classes/class-wp-ulike-admin-panel.php:910
879
  msgid "Hide For Anonymous Users"
880
  msgstr ""
881
 
882
+ #: admin/classes/class-wp-ulike-admin-panel.php:916
883
  msgid "Likers Box Display"
884
  msgstr ""
885
 
886
+ #: admin/classes/class-wp-ulike-admin-panel.php:919
887
  msgid "Inline"
888
  msgstr ""
889
 
890
+ #: admin/classes/class-wp-ulike-admin-panel.php:920
891
  #: includes/classes/class-wp-ulike-customizer.php:558
892
  msgid "Popover"
893
  msgstr ""
894
 
895
+ #: admin/classes/class-wp-ulike-admin-panel.php:946
896
  msgid "Size of Gravatars"
897
  msgstr ""
898
 
899
+ #: admin/classes/class-wp-ulike-admin-panel.php:954
900
  msgid "Likers Count"
901
  msgstr ""
902
 
903
+ #: admin/classes/class-wp-ulike-admin-panel.php:955
904
  msgid "The number of users to show in the users liked box"
905
  msgstr ""
906
 
1776
  msgid "Error receiving input parameters"
1777
  msgstr ""
1778
 
1779
+ #: includes/hooks/third-party.php:127
1780
  msgid "WP ULike Activity"
1781
  msgstr ""
1782
 
1783
+ #: includes/hooks/third-party.php:142
1784
  msgid "Votes"
1785
  msgstr ""
1786
 
1787
+ #: includes/hooks/third-party.php:352
1788
  msgid "posts"
1789
  msgstr ""
1790
 
1791
+ #: includes/hooks/third-party.php:359
1792
  msgid "comments"
1793
  msgstr ""
1794
 
1795
+ #: includes/hooks/third-party.php:365
1796
  msgid "activities"
1797
  msgstr ""
1798
 
1799
+ #: includes/hooks/third-party.php:373
1800
  msgid "topics"
1801
  msgstr ""
1802
 
1803
+ #: includes/hooks/third-party.php:376
1804
  msgid "replies"
1805
  msgstr ""
1806
 
1807
+ #: includes/hooks/third-party.php:388
1808
  msgid "You have %d new %s likes"
1809
  msgstr ""
1810
 
1811
+ #: includes/hooks/third-party.php:392
1812
  msgid "%s liked one of your %s"
1813
  msgstr ""
1814
 
1815
+ #: includes/hooks/third-party.php:436
1816
  msgid "New activity liked"
1817
  msgstr ""
1818
 
1819
+ #: includes/hooks/third-party.php:441
1820
  msgid "New comment liked"
1821
  msgstr ""
1822
 
1823
+ #: includes/hooks/third-party.php:446
1824
  msgid "New post liked"
1825
  msgstr ""
1826
 
1827
+ #: includes/hooks/third-party.php:451
1828
  msgid "New topic liked"
1829
  msgstr ""
1830
 
1831
+ #: includes/hooks/third-party.php:809
1832
  msgid "Points for liking content"
1833
  msgstr ""
1834
 
1835
+ #: includes/hooks/third-party.php:810
1836
  msgid ""
1837
  "This hook award / deducts points from users who Like/Unlike any content of "
1838
  "WordPress, bbPress, BuddyPress & ..."
1839
  msgstr ""
1840
 
1841
+ #: includes/hooks/third-party.php:826
1842
  msgid "Liking Content"
1843
  msgstr ""
1844
 
1845
+ #: includes/hooks/third-party.php:827
1846
  msgid "Liked Content"
1847
  msgstr ""
1848
 
1849
+ #: includes/hooks/third-party.php:828
1850
  msgid "Unliking Content"
1851
  msgstr ""
1852
 
1853
+ #: includes/hooks/third-party.php:829
1854
  msgid "Unliked Content"
1855
  msgstr ""
1856
 
1857
+ #: includes/hooks/third-party.php:847
1858
  msgid "Recent Posts Liked"
1859
  msgstr ""
1860
 
1861
+ #: includes/hooks/third-party.php:852
1862
  msgid "Recent Comments Liked"
1863
  msgstr ""
1864
 
1865
+ #: includes/hooks/third-party.php:883 includes/hooks/third-party.php:909
1866
+ #: includes/hooks/third-party.php:939 includes/hooks/third-party.php:969
1867
  msgid "This user has not made any likes."
1868
  msgstr ""
1869
 
1872
  msgstr ""
1873
 
1874
  #. translators: %s: PHP version
1875
+ #: wp-ulike.php:78
1876
  msgid "WP ULike requires PHP version %s+, plugin is currently NOT RUNNING."
1877
  msgstr ""
1878
 
1879
  #. translators: %s: WordPress version
1880
+ #: wp-ulike.php:92
1881
  msgid ""
1882
  "WP ULike requires WordPress version %s+. Because you are using an earlier "
1883
  "version, the plugin is currently NOT RUNNING."
languages/wp-ulike-sv.po CHANGED
@@ -4,7 +4,7 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
6
  "Report-Msgid-Bugs-To: https://wpulike.com\n"
7
- "POT-Creation-Date: 2021-09-22 12:01:15+00:00\n"
8
  "PO-Revision-Date: 2020-02-26 22:14:02+0000\n"
9
  "Language: sv_SE\n"
10
  "MIME-Version: 1.0\n"
@@ -30,7 +30,7 @@ msgid "It's Ok!"
30
  msgstr "Det är ok!"
31
 
32
  #: admin/admin-functions.php:227
33
- #: admin/classes/class-wp-ulike-admin-panel.php:859
34
  #: includes/classes/class-wp-ulike-customizer.php:149
35
  msgid "Button"
36
  msgstr "Knapp"
@@ -155,13 +155,13 @@ msgid "Topics Likes Logs"
155
  msgstr ""
156
 
157
  #: admin/classes/class-wp-ulike-admin-pages.php:59
158
- #: admin/includes/templates/statistics.php:124 includes/plugin.php:103
159
  msgid "Statistics"
160
  msgstr "Statistik"
161
 
162
  #: admin/classes/class-wp-ulike-admin-pages.php:67
163
  #: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
164
- #: includes/plugin.php:104
165
  msgid "About"
166
  msgstr "Om"
167
 
@@ -177,7 +177,7 @@ msgstr "Om"
177
  msgid "Logs"
178
  msgstr "Loggar"
179
 
180
- #: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:102
181
  msgid "Settings"
182
  msgstr "Inställningar"
183
 
@@ -425,8 +425,8 @@ msgstr ""
425
 
426
  #: admin/classes/class-wp-ulike-admin-panel.php:298
427
  #: admin/classes/class-wp-ulike-admin-panel.php:310
428
- #: admin/classes/class-wp-ulike-admin-panel.php:867
429
- #: admin/classes/class-wp-ulike-admin-panel.php:923
430
  msgid "Allowed Variables:"
431
  msgstr "Tillåtna variabler:"
432
 
@@ -819,6 +819,13 @@ msgid ""
819
  "are only allowed to have a specific point type."
820
  msgstr ""
821
 
 
 
 
 
 
 
 
822
  #: admin/classes/class-wp-ulike-admin-panel.php:843
823
  #, fuzzy
824
  msgid "Cookie Expiration"
@@ -829,75 +836,85 @@ msgid "Specify how long, in seconds, cookie expires. Default value: 31536000"
829
  msgstr ""
830
 
831
  #: admin/classes/class-wp-ulike-admin-panel.php:851
 
 
 
 
 
 
 
 
 
 
832
  msgid "Only logged in users"
833
  msgstr ""
834
 
835
- #: admin/classes/class-wp-ulike-admin-panel.php:856
836
  msgid "Display Type"
837
  msgstr ""
838
 
839
- #: admin/classes/class-wp-ulike-admin-panel.php:858
840
  msgid "Template"
841
  msgstr ""
842
 
843
- #: admin/classes/class-wp-ulike-admin-panel.php:873
844
- #: includes/classes/class-wp-ulike-setting-repo.php:173
845
  msgid "You need to login in order to like this post: "
846
  msgstr "Du måste logga in för att gilla detta inlägg: "
847
 
848
- #: admin/classes/class-wp-ulike-admin-panel.php:875
849
- #: includes/classes/class-wp-ulike-setting-repo.php:175
850
  msgid "click here"
851
  msgstr "klicka här"
852
 
853
- #: admin/classes/class-wp-ulike-admin-panel.php:877
854
- #: admin/classes/class-wp-ulike-admin-panel.php:922
855
  msgid "Custom HTML Template"
856
  msgstr ""
857
 
858
- #: admin/classes/class-wp-ulike-admin-panel.php:883
859
  msgid "Display Likers Box"
860
  msgstr ""
861
 
862
- #: admin/classes/class-wp-ulike-admin-panel.php:888
863
  msgid "User List Arrange"
864
  msgstr ""
865
 
866
- #: admin/classes/class-wp-ulike-admin-panel.php:891
867
  msgid "Ascending"
868
  msgstr ""
869
 
870
- #: admin/classes/class-wp-ulike-admin-panel.php:892
871
  msgid "Descending"
872
  msgstr ""
873
 
874
- #: admin/classes/class-wp-ulike-admin-panel.php:900
875
  msgid "Hide For Anonymous Users"
876
  msgstr ""
877
 
878
- #: admin/classes/class-wp-ulike-admin-panel.php:906
879
  msgid "Likers Box Display"
880
  msgstr ""
881
 
882
- #: admin/classes/class-wp-ulike-admin-panel.php:909
883
  msgid "Inline"
884
  msgstr ""
885
 
886
- #: admin/classes/class-wp-ulike-admin-panel.php:910
887
  #: includes/classes/class-wp-ulike-customizer.php:558
888
  #, fuzzy
889
  msgid "Popover"
890
  msgstr "Hovring"
891
 
892
- #: admin/classes/class-wp-ulike-admin-panel.php:936
893
  msgid "Size of Gravatars"
894
  msgstr ""
895
 
896
- #: admin/classes/class-wp-ulike-admin-panel.php:944
897
  msgid "Likers Count"
898
  msgstr ""
899
 
900
- #: admin/classes/class-wp-ulike-admin-panel.php:945
901
  msgid "The number of users to show in the users liked box"
902
  msgstr ""
903
 
@@ -1784,94 +1801,94 @@ msgstr ""
1784
  msgid "Error receiving input parameters"
1785
  msgstr ""
1786
 
1787
- #: includes/hooks/third-party.php:119
1788
  msgid "WP ULike Activity"
1789
  msgstr ""
1790
 
1791
- #: includes/hooks/third-party.php:134
1792
  msgid "Votes"
1793
  msgstr ""
1794
 
1795
- #: includes/hooks/third-party.php:344
1796
  msgid "posts"
1797
  msgstr "inlägg"
1798
 
1799
- #: includes/hooks/third-party.php:351
1800
  msgid "comments"
1801
  msgstr "kommentarer"
1802
 
1803
- #: includes/hooks/third-party.php:357
1804
  msgid "activities"
1805
  msgstr "aktiviteter"
1806
 
1807
- #: includes/hooks/third-party.php:365
1808
  msgid "topics"
1809
  msgstr ""
1810
 
1811
- #: includes/hooks/third-party.php:368
1812
  msgid "replies"
1813
  msgstr ""
1814
 
1815
- #: includes/hooks/third-party.php:380
1816
  msgid "You have %d new %s likes"
1817
  msgstr ""
1818
 
1819
- #: includes/hooks/third-party.php:384
1820
  msgid "%s liked one of your %s"
1821
  msgstr ""
1822
 
1823
- #: includes/hooks/third-party.php:428
1824
  msgid "New activity liked"
1825
  msgstr ""
1826
 
1827
- #: includes/hooks/third-party.php:433
1828
  msgid "New comment liked"
1829
  msgstr ""
1830
 
1831
- #: includes/hooks/third-party.php:438
1832
  msgid "New post liked"
1833
  msgstr ""
1834
 
1835
- #: includes/hooks/third-party.php:443
1836
  msgid "New topic liked"
1837
  msgstr ""
1838
 
1839
- #: includes/hooks/third-party.php:801
1840
  msgid "Points for liking content"
1841
  msgstr ""
1842
 
1843
- #: includes/hooks/third-party.php:802
1844
  msgid ""
1845
  "This hook award / deducts points from users who Like/Unlike any content of "
1846
  "WordPress, bbPress, BuddyPress & ..."
1847
  msgstr ""
1848
 
1849
- #: includes/hooks/third-party.php:818
1850
  msgid "Liking Content"
1851
  msgstr ""
1852
 
1853
- #: includes/hooks/third-party.php:819
1854
  msgid "Liked Content"
1855
  msgstr ""
1856
 
1857
- #: includes/hooks/third-party.php:820
1858
  msgid "Unliking Content"
1859
  msgstr ""
1860
 
1861
- #: includes/hooks/third-party.php:821
1862
  msgid "Unliked Content"
1863
  msgstr ""
1864
 
1865
- #: includes/hooks/third-party.php:839
1866
  msgid "Recent Posts Liked"
1867
  msgstr ""
1868
 
1869
- #: includes/hooks/third-party.php:844
1870
  msgid "Recent Comments Liked"
1871
  msgstr ""
1872
 
1873
- #: includes/hooks/third-party.php:875 includes/hooks/third-party.php:901
1874
- #: includes/hooks/third-party.php:931 includes/hooks/third-party.php:961
1875
  msgid "This user has not made any likes."
1876
  msgstr ""
1877
 
@@ -1880,12 +1897,12 @@ msgid "WP ULike"
1880
  msgstr ""
1881
 
1882
  #. translators: %s: PHP version
1883
- #: wp-ulike.php:74
1884
  msgid "WP ULike requires PHP version %s+, plugin is currently NOT RUNNING."
1885
  msgstr ""
1886
 
1887
  #. translators: %s: WordPress version
1888
- #: wp-ulike.php:88
1889
  msgid ""
1890
  "WP ULike requires WordPress version %s+. Because you are using an earlier "
1891
  "version, the plugin is currently NOT RUNNING."
4
  msgstr ""
5
  "Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
6
  "Report-Msgid-Bugs-To: https://wpulike.com\n"
7
+ "POT-Creation-Date: 2021-10-25 08:29:05+00:00\n"
8
  "PO-Revision-Date: 2020-02-26 22:14:02+0000\n"
9
  "Language: sv_SE\n"
10
  "MIME-Version: 1.0\n"
30
  msgstr "Det är ok!"
31
 
32
  #: admin/admin-functions.php:227
33
+ #: admin/classes/class-wp-ulike-admin-panel.php:869
34
  #: includes/classes/class-wp-ulike-customizer.php:149
35
  msgid "Button"
36
  msgstr "Knapp"
155
  msgstr ""
156
 
157
  #: admin/classes/class-wp-ulike-admin-pages.php:59
158
+ #: admin/includes/templates/statistics.php:124 includes/plugin.php:106
159
  msgid "Statistics"
160
  msgstr "Statistik"
161
 
162
  #: admin/classes/class-wp-ulike-admin-pages.php:67
163
  #: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
164
+ #: includes/plugin.php:107
165
  msgid "About"
166
  msgstr "Om"
167
 
177
  msgid "Logs"
178
  msgstr "Loggar"
179
 
180
+ #: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:105
181
  msgid "Settings"
182
  msgstr "Inställningar"
183
 
425
 
426
  #: admin/classes/class-wp-ulike-admin-panel.php:298
427
  #: admin/classes/class-wp-ulike-admin-panel.php:310
428
+ #: admin/classes/class-wp-ulike-admin-panel.php:877
429
+ #: admin/classes/class-wp-ulike-admin-panel.php:933
430
  msgid "Allowed Variables:"
431
  msgstr "Tillåtna variabler:"
432
 
819
  "are only allowed to have a specific point type."
820
  msgstr ""
821
 
822
+ #: admin/classes/class-wp-ulike-admin-panel.php:838
823
+ msgid ""
824
+ "Username/IP + Cookie: Same as username/IP description, However, if the user "
825
+ "IP or username changes and the cookie is set, it does not allow the user to "
826
+ "like /dislike."
827
+ msgstr ""
828
+
829
  #: admin/classes/class-wp-ulike-admin-panel.php:843
830
  #, fuzzy
831
  msgid "Cookie Expiration"
836
  msgstr ""
837
 
838
  #: admin/classes/class-wp-ulike-admin-panel.php:851
839
+ msgid "Vote Limit Per Day"
840
+ msgstr ""
841
+
842
+ #: admin/classes/class-wp-ulike-admin-panel.php:852
843
+ msgid ""
844
+ "Limits the number of votes that can be submitted by user on each item per "
845
+ "day."
846
+ msgstr ""
847
+
848
+ #: admin/classes/class-wp-ulike-admin-panel.php:861
849
  msgid "Only logged in users"
850
  msgstr ""
851
 
852
+ #: admin/classes/class-wp-ulike-admin-panel.php:866
853
  msgid "Display Type"
854
  msgstr ""
855
 
856
+ #: admin/classes/class-wp-ulike-admin-panel.php:868
857
  msgid "Template"
858
  msgstr ""
859
 
860
+ #: admin/classes/class-wp-ulike-admin-panel.php:883
861
+ #: includes/classes/class-wp-ulike-setting-repo.php:182
862
  msgid "You need to login in order to like this post: "
863
  msgstr "Du måste logga in för att gilla detta inlägg: "
864
 
865
+ #: admin/classes/class-wp-ulike-admin-panel.php:885
866
+ #: includes/classes/class-wp-ulike-setting-repo.php:184
867
  msgid "click here"
868
  msgstr "klicka här"
869
 
870
+ #: admin/classes/class-wp-ulike-admin-panel.php:887
871
+ #: admin/classes/class-wp-ulike-admin-panel.php:932
872
  msgid "Custom HTML Template"
873
  msgstr ""
874
 
875
+ #: admin/classes/class-wp-ulike-admin-panel.php:893
876
  msgid "Display Likers Box"
877
  msgstr ""
878
 
879
+ #: admin/classes/class-wp-ulike-admin-panel.php:898
880
  msgid "User List Arrange"
881
  msgstr ""
882
 
883
+ #: admin/classes/class-wp-ulike-admin-panel.php:901
884
  msgid "Ascending"
885
  msgstr ""
886
 
887
+ #: admin/classes/class-wp-ulike-admin-panel.php:902
888
  msgid "Descending"
889
  msgstr ""
890
 
891
+ #: admin/classes/class-wp-ulike-admin-panel.php:910
892
  msgid "Hide For Anonymous Users"
893
  msgstr ""
894
 
895
+ #: admin/classes/class-wp-ulike-admin-panel.php:916
896
  msgid "Likers Box Display"
897
  msgstr ""
898
 
899
+ #: admin/classes/class-wp-ulike-admin-panel.php:919
900
  msgid "Inline"
901
  msgstr ""
902
 
903
+ #: admin/classes/class-wp-ulike-admin-panel.php:920
904
  #: includes/classes/class-wp-ulike-customizer.php:558
905
  #, fuzzy
906
  msgid "Popover"
907
  msgstr "Hovring"
908
 
909
+ #: admin/classes/class-wp-ulike-admin-panel.php:946
910
  msgid "Size of Gravatars"
911
  msgstr ""
912
 
913
+ #: admin/classes/class-wp-ulike-admin-panel.php:954
914
  msgid "Likers Count"
915
  msgstr ""
916
 
917
+ #: admin/classes/class-wp-ulike-admin-panel.php:955
918
  msgid "The number of users to show in the users liked box"
919
  msgstr ""
920
 
1801
  msgid "Error receiving input parameters"
1802
  msgstr ""
1803
 
1804
+ #: includes/hooks/third-party.php:127
1805
  msgid "WP ULike Activity"
1806
  msgstr ""
1807
 
1808
+ #: includes/hooks/third-party.php:142
1809
  msgid "Votes"
1810
  msgstr ""
1811
 
1812
+ #: includes/hooks/third-party.php:352
1813
  msgid "posts"
1814
  msgstr "inlägg"
1815
 
1816
+ #: includes/hooks/third-party.php:359
1817
  msgid "comments"
1818
  msgstr "kommentarer"
1819
 
1820
+ #: includes/hooks/third-party.php:365
1821
  msgid "activities"
1822
  msgstr "aktiviteter"
1823
 
1824
+ #: includes/hooks/third-party.php:373
1825
  msgid "topics"
1826
  msgstr ""
1827
 
1828
+ #: includes/hooks/third-party.php:376
1829
  msgid "replies"
1830
  msgstr ""
1831
 
1832
+ #: includes/hooks/third-party.php:388
1833
  msgid "You have %d new %s likes"
1834
  msgstr ""
1835
 
1836
+ #: includes/hooks/third-party.php:392
1837
  msgid "%s liked one of your %s"
1838
  msgstr ""
1839
 
1840
+ #: includes/hooks/third-party.php:436
1841
  msgid "New activity liked"
1842
  msgstr ""
1843
 
1844
+ #: includes/hooks/third-party.php:441
1845
  msgid "New comment liked"
1846
  msgstr ""
1847
 
1848
+ #: includes/hooks/third-party.php:446
1849
  msgid "New post liked"
1850
  msgstr ""
1851
 
1852
+ #: includes/hooks/third-party.php:451
1853
  msgid "New topic liked"
1854
  msgstr ""
1855
 
1856
+ #: includes/hooks/third-party.php:809
1857
  msgid "Points for liking content"
1858
  msgstr ""
1859
 
1860
+ #: includes/hooks/third-party.php:810
1861
  msgid ""
1862
  "This hook award / deducts points from users who Like/Unlike any content of "
1863
  "WordPress, bbPress, BuddyPress & ..."
1864
  msgstr ""
1865
 
1866
+ #: includes/hooks/third-party.php:826
1867
  msgid "Liking Content"
1868
  msgstr ""
1869
 
1870
+ #: includes/hooks/third-party.php:827
1871
  msgid "Liked Content"
1872
  msgstr ""
1873
 
1874
+ #: includes/hooks/third-party.php:828
1875
  msgid "Unliking Content"
1876
  msgstr ""
1877
 
1878
+ #: includes/hooks/third-party.php:829
1879
  msgid "Unliked Content"
1880
  msgstr ""
1881
 
1882
+ #: includes/hooks/third-party.php:847
1883
  msgid "Recent Posts Liked"
1884
  msgstr ""
1885
 
1886
+ #: includes/hooks/third-party.php:852
1887
  msgid "Recent Comments Liked"
1888
  msgstr ""
1889
 
1890
+ #: includes/hooks/third-party.php:883 includes/hooks/third-party.php:909
1891
+ #: includes/hooks/third-party.php:939 includes/hooks/third-party.php:969
1892
  msgid "This user has not made any likes."
1893
  msgstr ""
1894
 
1897
  msgstr ""
1898
 
1899
  #. translators: %s: PHP version
1900
+ #: wp-ulike.php:78
1901
  msgid "WP ULike requires PHP version %s+, plugin is currently NOT RUNNING."
1902
  msgstr ""
1903
 
1904
  #. translators: %s: WordPress version
1905
+ #: wp-ulike.php:92
1906
  msgid ""
1907
  "WP ULike requires WordPress version %s+. Because you are using an earlier "
1908
  "version, the plugin is currently NOT RUNNING."
languages/wp-ulike-zh-cn.po CHANGED
@@ -4,7 +4,7 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
6
  "Report-Msgid-Bugs-To: https://wpulike.com\n"
7
- "POT-Creation-Date: 2021-09-22 12:01:15+00:00\n"
8
  "PO-Revision-Date: 2018-05-27 09:01:52+0000\n"
9
  "Language: zh_CN\n"
10
  "MIME-Version: 1.0\n"
@@ -30,7 +30,7 @@ msgid "It's Ok!"
30
  msgstr ""
31
 
32
  #: admin/admin-functions.php:227
33
- #: admin/classes/class-wp-ulike-admin-panel.php:859
34
  #: includes/classes/class-wp-ulike-customizer.php:149
35
  msgid "Button"
36
  msgstr ""
@@ -155,13 +155,13 @@ msgid "Topics Likes Logs"
155
  msgstr ""
156
 
157
  #: admin/classes/class-wp-ulike-admin-pages.php:59
158
- #: admin/includes/templates/statistics.php:124 includes/plugin.php:103
159
  msgid "Statistics"
160
  msgstr "统计"
161
 
162
  #: admin/classes/class-wp-ulike-admin-pages.php:67
163
  #: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
164
- #: includes/plugin.php:104
165
  msgid "About"
166
  msgstr "关于"
167
 
@@ -177,7 +177,7 @@ msgstr "关于"
177
  msgid "Logs"
178
  msgstr "日志"
179
 
180
- #: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:102
181
  msgid "Settings"
182
  msgstr "设置"
183
 
@@ -423,8 +423,8 @@ msgstr ""
423
 
424
  #: admin/classes/class-wp-ulike-admin-panel.php:298
425
  #: admin/classes/class-wp-ulike-admin-panel.php:310
426
- #: admin/classes/class-wp-ulike-admin-panel.php:867
427
- #: admin/classes/class-wp-ulike-admin-panel.php:923
428
  msgid "Allowed Variables:"
429
  msgstr ""
430
 
@@ -814,6 +814,13 @@ msgid ""
814
  "are only allowed to have a specific point type."
815
  msgstr ""
816
 
 
 
 
 
 
 
 
817
  #: admin/classes/class-wp-ulike-admin-panel.php:843
818
  msgid "Cookie Expiration"
819
  msgstr ""
@@ -823,74 +830,84 @@ msgid "Specify how long, in seconds, cookie expires. Default value: 31536000"
823
  msgstr ""
824
 
825
  #: admin/classes/class-wp-ulike-admin-panel.php:851
 
 
 
 
 
 
 
 
 
 
826
  msgid "Only logged in users"
827
  msgstr ""
828
 
829
- #: admin/classes/class-wp-ulike-admin-panel.php:856
830
  msgid "Display Type"
831
  msgstr ""
832
 
833
- #: admin/classes/class-wp-ulike-admin-panel.php:858
834
  msgid "Template"
835
  msgstr ""
836
 
837
- #: admin/classes/class-wp-ulike-admin-panel.php:873
838
- #: includes/classes/class-wp-ulike-setting-repo.php:173
839
  msgid "You need to login in order to like this post: "
840
  msgstr "你需要登录后才能喜欢这篇文章:"
841
 
842
- #: admin/classes/class-wp-ulike-admin-panel.php:875
843
- #: includes/classes/class-wp-ulike-setting-repo.php:175
844
  msgid "click here"
845
  msgstr "点击这里"
846
 
847
- #: admin/classes/class-wp-ulike-admin-panel.php:877
848
- #: admin/classes/class-wp-ulike-admin-panel.php:922
849
  msgid "Custom HTML Template"
850
  msgstr ""
851
 
852
- #: admin/classes/class-wp-ulike-admin-panel.php:883
853
  msgid "Display Likers Box"
854
  msgstr ""
855
 
856
- #: admin/classes/class-wp-ulike-admin-panel.php:888
857
  msgid "User List Arrange"
858
  msgstr ""
859
 
860
- #: admin/classes/class-wp-ulike-admin-panel.php:891
861
  msgid "Ascending"
862
  msgstr ""
863
 
864
- #: admin/classes/class-wp-ulike-admin-panel.php:892
865
  msgid "Descending"
866
  msgstr ""
867
 
868
- #: admin/classes/class-wp-ulike-admin-panel.php:900
869
  msgid "Hide For Anonymous Users"
870
  msgstr ""
871
 
872
- #: admin/classes/class-wp-ulike-admin-panel.php:906
873
  msgid "Likers Box Display"
874
  msgstr ""
875
 
876
- #: admin/classes/class-wp-ulike-admin-panel.php:909
877
  msgid "Inline"
878
  msgstr ""
879
 
880
- #: admin/classes/class-wp-ulike-admin-panel.php:910
881
  #: includes/classes/class-wp-ulike-customizer.php:558
882
  msgid "Popover"
883
  msgstr ""
884
 
885
- #: admin/classes/class-wp-ulike-admin-panel.php:936
886
  msgid "Size of Gravatars"
887
  msgstr "头像大小"
888
 
889
- #: admin/classes/class-wp-ulike-admin-panel.php:944
890
  msgid "Likers Count"
891
  msgstr ""
892
 
893
- #: admin/classes/class-wp-ulike-admin-panel.php:945
894
  msgid "The number of users to show in the users liked box"
895
  msgstr ""
896
 
@@ -1774,94 +1791,94 @@ msgstr ""
1774
  msgid "Error receiving input parameters"
1775
  msgstr ""
1776
 
1777
- #: includes/hooks/third-party.php:119
1778
  msgid "WP ULike Activity"
1779
  msgstr "WP ULike 活动"
1780
 
1781
- #: includes/hooks/third-party.php:134
1782
  msgid "Votes"
1783
  msgstr ""
1784
 
1785
- #: includes/hooks/third-party.php:344
1786
  msgid "posts"
1787
  msgstr ""
1788
 
1789
- #: includes/hooks/third-party.php:351
1790
  msgid "comments"
1791
  msgstr ""
1792
 
1793
- #: includes/hooks/third-party.php:357
1794
  msgid "activities"
1795
  msgstr ""
1796
 
1797
- #: includes/hooks/third-party.php:365
1798
  msgid "topics"
1799
  msgstr ""
1800
 
1801
- #: includes/hooks/third-party.php:368
1802
  msgid "replies"
1803
  msgstr ""
1804
 
1805
- #: includes/hooks/third-party.php:380
1806
  msgid "You have %d new %s likes"
1807
  msgstr ""
1808
 
1809
- #: includes/hooks/third-party.php:384
1810
  msgid "%s liked one of your %s"
1811
  msgstr ""
1812
 
1813
- #: includes/hooks/third-party.php:428
1814
  msgid "New activity liked"
1815
  msgstr ""
1816
 
1817
- #: includes/hooks/third-party.php:433
1818
  msgid "New comment liked"
1819
  msgstr ""
1820
 
1821
- #: includes/hooks/third-party.php:438
1822
  msgid "New post liked"
1823
  msgstr ""
1824
 
1825
- #: includes/hooks/third-party.php:443
1826
  msgid "New topic liked"
1827
  msgstr ""
1828
 
1829
- #: includes/hooks/third-party.php:801
1830
  msgid "Points for liking content"
1831
  msgstr ""
1832
 
1833
- #: includes/hooks/third-party.php:802
1834
  msgid ""
1835
  "This hook award / deducts points from users who Like/Unlike any content of "
1836
  "WordPress, bbPress, BuddyPress & ..."
1837
  msgstr ""
1838
 
1839
- #: includes/hooks/third-party.php:818
1840
  msgid "Liking Content"
1841
  msgstr ""
1842
 
1843
- #: includes/hooks/third-party.php:819
1844
  msgid "Liked Content"
1845
  msgstr ""
1846
 
1847
- #: includes/hooks/third-party.php:820
1848
  msgid "Unliking Content"
1849
  msgstr ""
1850
 
1851
- #: includes/hooks/third-party.php:821
1852
  msgid "Unliked Content"
1853
  msgstr ""
1854
 
1855
- #: includes/hooks/third-party.php:839
1856
  msgid "Recent Posts Liked"
1857
  msgstr ""
1858
 
1859
- #: includes/hooks/third-party.php:844
1860
  msgid "Recent Comments Liked"
1861
  msgstr ""
1862
 
1863
- #: includes/hooks/third-party.php:875 includes/hooks/third-party.php:901
1864
- #: includes/hooks/third-party.php:931 includes/hooks/third-party.php:961
1865
  msgid "This user has not made any likes."
1866
  msgstr ""
1867
 
@@ -1870,12 +1887,12 @@ msgid "WP ULike"
1870
  msgstr "WP ULike"
1871
 
1872
  #. translators: %s: PHP version
1873
- #: wp-ulike.php:74
1874
  msgid "WP ULike requires PHP version %s+, plugin is currently NOT RUNNING."
1875
  msgstr ""
1876
 
1877
  #. translators: %s: WordPress version
1878
- #: wp-ulike.php:88
1879
  msgid ""
1880
  "WP ULike requires WordPress version %s+. Because you are using an earlier "
1881
  "version, the plugin is currently NOT RUNNING."
4
  msgstr ""
5
  "Project-Id-Version: Plugins - WP ULike - Stable (latest release)\n"
6
  "Report-Msgid-Bugs-To: https://wpulike.com\n"
7
+ "POT-Creation-Date: 2021-10-25 08:29:05+00:00\n"
8
  "PO-Revision-Date: 2018-05-27 09:01:52+0000\n"
9
  "Language: zh_CN\n"
10
  "MIME-Version: 1.0\n"
30
  msgstr ""
31
 
32
  #: admin/admin-functions.php:227
33
+ #: admin/classes/class-wp-ulike-admin-panel.php:869
34
  #: includes/classes/class-wp-ulike-customizer.php:149
35
  msgid "Button"
36
  msgstr ""
155
  msgstr ""
156
 
157
  #: admin/classes/class-wp-ulike-admin-pages.php:59
158
+ #: admin/includes/templates/statistics.php:124 includes/plugin.php:106
159
  msgid "Statistics"
160
  msgstr "统计"
161
 
162
  #: admin/classes/class-wp-ulike-admin-pages.php:67
163
  #: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
164
+ #: includes/plugin.php:107
165
  msgid "About"
166
  msgstr "关于"
167
 
177
  msgid "Logs"
178
  msgstr "日志"
179
 
180
+ #: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:105
181
  msgid "Settings"
182
  msgstr "设置"
183
 
423
 
424
  #: admin/classes/class-wp-ulike-admin-panel.php:298
425
  #: admin/classes/class-wp-ulike-admin-panel.php:310
426
+ #: admin/classes/class-wp-ulike-admin-panel.php:877
427
+ #: admin/classes/class-wp-ulike-admin-panel.php:933
428
  msgid "Allowed Variables:"
429
  msgstr ""
430
 
814
  "are only allowed to have a specific point type."
815
  msgstr ""
816
 
817
+ #: admin/classes/class-wp-ulike-admin-panel.php:838
818
+ msgid ""
819
+ "Username/IP + Cookie: Same as username/IP description, However, if the user "
820
+ "IP or username changes and the cookie is set, it does not allow the user to "
821
+ "like /dislike."
822
+ msgstr ""
823
+
824
  #: admin/classes/class-wp-ulike-admin-panel.php:843
825
  msgid "Cookie Expiration"
826
  msgstr ""
830
  msgstr ""
831
 
832
  #: admin/classes/class-wp-ulike-admin-panel.php:851
833
+ msgid "Vote Limit Per Day"
834
+ msgstr ""
835
+
836
+ #: admin/classes/class-wp-ulike-admin-panel.php:852
837
+ msgid ""
838
+ "Limits the number of votes that can be submitted by user on each item per "
839
+ "day."
840
+ msgstr ""
841
+
842
+ #: admin/classes/class-wp-ulike-admin-panel.php:861
843
  msgid "Only logged in users"
844
  msgstr ""
845
 
846
+ #: admin/classes/class-wp-ulike-admin-panel.php:866
847
  msgid "Display Type"
848
  msgstr ""
849
 
850
+ #: admin/classes/class-wp-ulike-admin-panel.php:868
851
  msgid "Template"
852
  msgstr ""
853
 
854
+ #: admin/classes/class-wp-ulike-admin-panel.php:883
855
+ #: includes/classes/class-wp-ulike-setting-repo.php:182
856
  msgid "You need to login in order to like this post: "
857
  msgstr "你需要登录后才能喜欢这篇文章:"
858
 
859
+ #: admin/classes/class-wp-ulike-admin-panel.php:885
860
+ #: includes/classes/class-wp-ulike-setting-repo.php:184
861
  msgid "click here"
862
  msgstr "点击这里"
863
 
864
+ #: admin/classes/class-wp-ulike-admin-panel.php:887
865
+ #: admin/classes/class-wp-ulike-admin-panel.php:932
866
  msgid "Custom HTML Template"
867
  msgstr ""
868
 
869
+ #: admin/classes/class-wp-ulike-admin-panel.php:893
870
  msgid "Display Likers Box"
871
  msgstr ""
872
 
873
+ #: admin/classes/class-wp-ulike-admin-panel.php:898
874
  msgid "User List Arrange"
875
  msgstr ""
876
 
877
+ #: admin/classes/class-wp-ulike-admin-panel.php:901
878
  msgid "Ascending"
879
  msgstr ""
880
 
881
+ #: admin/classes/class-wp-ulike-admin-panel.php:902
882
  msgid "Descending"
883
  msgstr ""
884
 
885
+ #: admin/classes/class-wp-ulike-admin-panel.php:910
886
  msgid "Hide For Anonymous Users"
887
  msgstr ""
888
 
889
+ #: admin/classes/class-wp-ulike-admin-panel.php:916
890
  msgid "Likers Box Display"
891
  msgstr ""
892
 
893
+ #: admin/classes/class-wp-ulike-admin-panel.php:919
894
  msgid "Inline"
895
  msgstr ""
896
 
897
+ #: admin/classes/class-wp-ulike-admin-panel.php:920
898
  #: includes/classes/class-wp-ulike-customizer.php:558
899
  msgid "Popover"
900
  msgstr ""
901
 
902
+ #: admin/classes/class-wp-ulike-admin-panel.php:946
903
  msgid "Size of Gravatars"
904
  msgstr "头像大小"
905
 
906
+ #: admin/classes/class-wp-ulike-admin-panel.php:954
907
  msgid "Likers Count"
908
  msgstr ""
909
 
910
+ #: admin/classes/class-wp-ulike-admin-panel.php:955
911
  msgid "The number of users to show in the users liked box"
912
  msgstr ""
913
 
1791
  msgid "Error receiving input parameters"
1792
  msgstr ""
1793
 
1794
+ #: includes/hooks/third-party.php:127
1795
  msgid "WP ULike Activity"
1796
  msgstr "WP ULike 活动"
1797
 
1798
+ #: includes/hooks/third-party.php:142
1799
  msgid "Votes"
1800
  msgstr ""
1801
 
1802
+ #: includes/hooks/third-party.php:352
1803
  msgid "posts"
1804
  msgstr ""
1805
 
1806
+ #: includes/hooks/third-party.php:359
1807
  msgid "comments"
1808
  msgstr ""
1809
 
1810
+ #: includes/hooks/third-party.php:365
1811
  msgid "activities"
1812
  msgstr ""
1813
 
1814
+ #: includes/hooks/third-party.php:373
1815
  msgid "topics"
1816
  msgstr ""
1817
 
1818
+ #: includes/hooks/third-party.php:376
1819
  msgid "replies"
1820
  msgstr ""
1821
 
1822
+ #: includes/hooks/third-party.php:388
1823
  msgid "You have %d new %s likes"
1824
  msgstr ""
1825
 
1826
+ #: includes/hooks/third-party.php:392
1827
  msgid "%s liked one of your %s"
1828
  msgstr ""
1829
 
1830
+ #: includes/hooks/third-party.php:436
1831
  msgid "New activity liked"
1832
  msgstr ""
1833
 
1834
+ #: includes/hooks/third-party.php:441
1835
  msgid "New comment liked"
1836
  msgstr ""
1837
 
1838
+ #: includes/hooks/third-party.php:446
1839
  msgid "New post liked"
1840
  msgstr ""
1841
 
1842
+ #: includes/hooks/third-party.php:451
1843
  msgid "New topic liked"
1844
  msgstr ""
1845
 
1846
+ #: includes/hooks/third-party.php:809
1847
  msgid "Points for liking content"
1848
  msgstr ""
1849
 
1850
+ #: includes/hooks/third-party.php:810
1851
  msgid ""
1852
  "This hook award / deducts points from users who Like/Unlike any content of "
1853
  "WordPress, bbPress, BuddyPress & ..."
1854
  msgstr ""
1855
 
1856
+ #: includes/hooks/third-party.php:826
1857
  msgid "Liking Content"
1858
  msgstr ""
1859
 
1860
+ #: includes/hooks/third-party.php:827
1861
  msgid "Liked Content"
1862
  msgstr ""
1863
 
1864
+ #: includes/hooks/third-party.php:828
1865
  msgid "Unliking Content"
1866
  msgstr ""
1867
 
1868
+ #: includes/hooks/third-party.php:829
1869
  msgid "Unliked Content"
1870
  msgstr ""
1871
 
1872
+ #: includes/hooks/third-party.php:847
1873
  msgid "Recent Posts Liked"
1874
  msgstr ""
1875
 
1876
+ #: includes/hooks/third-party.php:852
1877
  msgid "Recent Comments Liked"
1878
  msgstr ""
1879
 
1880
+ #: includes/hooks/third-party.php:883 includes/hooks/third-party.php:909
1881
+ #: includes/hooks/third-party.php:939 includes/hooks/third-party.php:969
1882
  msgid "This user has not made any likes."
1883
  msgstr ""
1884
 
1887
  msgstr "WP ULike"
1888
 
1889
  #. translators: %s: PHP version
1890
+ #: wp-ulike.php:78
1891
  msgid "WP ULike requires PHP version %s+, plugin is currently NOT RUNNING."
1892
  msgstr ""
1893
 
1894
  #. translators: %s: WordPress version
1895
+ #: wp-ulike.php:92
1896
  msgid ""
1897
  "WP ULike requires WordPress version %s+. Because you are using an earlier "
1898
  "version, the plugin is currently NOT RUNNING."
languages/wp-ulike.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the same license as the WP ULike package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: WP ULike 4.5.6\n"
6
  "Report-Msgid-Bugs-To: https://wpulike.com\n"
7
- "POT-Creation-Date: 2021-09-22 12:01:15+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -30,7 +30,7 @@ msgid "It's Ok!"
30
  msgstr ""
31
 
32
  #: admin/admin-functions.php:227
33
- #: admin/classes/class-wp-ulike-admin-panel.php:859
34
  #: includes/classes/class-wp-ulike-customizer.php:149
35
  msgid "Button"
36
  msgstr ""
@@ -156,13 +156,13 @@ msgid "Topics Likes Logs"
156
  msgstr ""
157
 
158
  #: admin/classes/class-wp-ulike-admin-pages.php:59
159
- #: admin/includes/templates/statistics.php:124 includes/plugin.php:103
160
  msgid "Statistics"
161
  msgstr ""
162
 
163
  #: admin/classes/class-wp-ulike-admin-pages.php:67
164
  #: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
165
- #: includes/plugin.php:104
166
  msgid "About"
167
  msgstr ""
168
 
@@ -178,7 +178,7 @@ msgstr ""
178
  msgid "Logs"
179
  msgstr ""
180
 
181
- #: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:102
182
  msgid "Settings"
183
  msgstr ""
184
 
@@ -420,8 +420,8 @@ msgstr ""
420
 
421
  #: admin/classes/class-wp-ulike-admin-panel.php:298
422
  #: admin/classes/class-wp-ulike-admin-panel.php:310
423
- #: admin/classes/class-wp-ulike-admin-panel.php:867
424
- #: admin/classes/class-wp-ulike-admin-panel.php:923
425
  msgid "Allowed Variables:"
426
  msgstr ""
427
 
@@ -808,6 +808,13 @@ msgid ""
808
  "are only allowed to have a specific point type."
809
  msgstr ""
810
 
 
 
 
 
 
 
 
811
  #: admin/classes/class-wp-ulike-admin-panel.php:843
812
  msgid "Cookie Expiration"
813
  msgstr ""
@@ -817,74 +824,84 @@ msgid "Specify how long, in seconds, cookie expires. Default value: 31536000"
817
  msgstr ""
818
 
819
  #: admin/classes/class-wp-ulike-admin-panel.php:851
 
 
 
 
 
 
 
 
 
 
820
  msgid "Only logged in users"
821
  msgstr ""
822
 
823
- #: admin/classes/class-wp-ulike-admin-panel.php:856
824
  msgid "Display Type"
825
  msgstr ""
826
 
827
- #: admin/classes/class-wp-ulike-admin-panel.php:858
828
  msgid "Template"
829
  msgstr ""
830
 
831
- #: admin/classes/class-wp-ulike-admin-panel.php:873
832
- #: includes/classes/class-wp-ulike-setting-repo.php:173
833
  msgid "You need to login in order to like this post: "
834
  msgstr ""
835
 
836
- #: admin/classes/class-wp-ulike-admin-panel.php:875
837
- #: includes/classes/class-wp-ulike-setting-repo.php:175
838
  msgid "click here"
839
  msgstr ""
840
 
841
- #: admin/classes/class-wp-ulike-admin-panel.php:877
842
- #: admin/classes/class-wp-ulike-admin-panel.php:922
843
  msgid "Custom HTML Template"
844
  msgstr ""
845
 
846
- #: admin/classes/class-wp-ulike-admin-panel.php:883
847
  msgid "Display Likers Box"
848
  msgstr ""
849
 
850
- #: admin/classes/class-wp-ulike-admin-panel.php:888
851
  msgid "User List Arrange"
852
  msgstr ""
853
 
854
- #: admin/classes/class-wp-ulike-admin-panel.php:891
855
  msgid "Ascending"
856
  msgstr ""
857
 
858
- #: admin/classes/class-wp-ulike-admin-panel.php:892
859
  msgid "Descending"
860
  msgstr ""
861
 
862
- #: admin/classes/class-wp-ulike-admin-panel.php:900
863
  msgid "Hide For Anonymous Users"
864
  msgstr ""
865
 
866
- #: admin/classes/class-wp-ulike-admin-panel.php:906
867
  msgid "Likers Box Display"
868
  msgstr ""
869
 
870
- #: admin/classes/class-wp-ulike-admin-panel.php:909
871
  msgid "Inline"
872
  msgstr ""
873
 
874
- #: admin/classes/class-wp-ulike-admin-panel.php:910
875
  #: includes/classes/class-wp-ulike-customizer.php:558
876
  msgid "Popover"
877
  msgstr ""
878
 
879
- #: admin/classes/class-wp-ulike-admin-panel.php:936
880
  msgid "Size of Gravatars"
881
  msgstr ""
882
 
883
- #: admin/classes/class-wp-ulike-admin-panel.php:944
884
  msgid "Likers Count"
885
  msgstr ""
886
 
887
- #: admin/classes/class-wp-ulike-admin-panel.php:945
888
  msgid "The number of users to show in the users liked box"
889
  msgstr ""
890
 
@@ -1761,94 +1778,94 @@ msgstr ""
1761
  msgid "Error receiving input parameters"
1762
  msgstr ""
1763
 
1764
- #: includes/hooks/third-party.php:119
1765
  msgid "WP ULike Activity"
1766
  msgstr ""
1767
 
1768
- #: includes/hooks/third-party.php:134
1769
  msgid "Votes"
1770
  msgstr ""
1771
 
1772
- #: includes/hooks/third-party.php:344
1773
  msgid "posts"
1774
  msgstr ""
1775
 
1776
- #: includes/hooks/third-party.php:351
1777
  msgid "comments"
1778
  msgstr ""
1779
 
1780
- #: includes/hooks/third-party.php:357
1781
  msgid "activities"
1782
  msgstr ""
1783
 
1784
- #: includes/hooks/third-party.php:365
1785
  msgid "topics"
1786
  msgstr ""
1787
 
1788
- #: includes/hooks/third-party.php:368
1789
  msgid "replies"
1790
  msgstr ""
1791
 
1792
- #: includes/hooks/third-party.php:380
1793
  msgid "You have %d new %s likes"
1794
  msgstr ""
1795
 
1796
- #: includes/hooks/third-party.php:384
1797
  msgid "%s liked one of your %s"
1798
  msgstr ""
1799
 
1800
- #: includes/hooks/third-party.php:428
1801
  msgid "New activity liked"
1802
  msgstr ""
1803
 
1804
- #: includes/hooks/third-party.php:433
1805
  msgid "New comment liked"
1806
  msgstr ""
1807
 
1808
- #: includes/hooks/third-party.php:438
1809
  msgid "New post liked"
1810
  msgstr ""
1811
 
1812
- #: includes/hooks/third-party.php:443
1813
  msgid "New topic liked"
1814
  msgstr ""
1815
 
1816
- #: includes/hooks/third-party.php:801
1817
  msgid "Points for liking content"
1818
  msgstr ""
1819
 
1820
- #: includes/hooks/third-party.php:802
1821
  msgid ""
1822
  "This hook award / deducts points from users who Like/Unlike any content of "
1823
  "WordPress, bbPress, BuddyPress & ..."
1824
  msgstr ""
1825
 
1826
- #: includes/hooks/third-party.php:818
1827
  msgid "Liking Content"
1828
  msgstr ""
1829
 
1830
- #: includes/hooks/third-party.php:819
1831
  msgid "Liked Content"
1832
  msgstr ""
1833
 
1834
- #: includes/hooks/third-party.php:820
1835
  msgid "Unliking Content"
1836
  msgstr ""
1837
 
1838
- #: includes/hooks/third-party.php:821
1839
  msgid "Unliked Content"
1840
  msgstr ""
1841
 
1842
- #: includes/hooks/third-party.php:839
1843
  msgid "Recent Posts Liked"
1844
  msgstr ""
1845
 
1846
- #: includes/hooks/third-party.php:844
1847
  msgid "Recent Comments Liked"
1848
  msgstr ""
1849
 
1850
- #: includes/hooks/third-party.php:875 includes/hooks/third-party.php:901
1851
- #: includes/hooks/third-party.php:931 includes/hooks/third-party.php:961
1852
  msgid "This user has not made any likes."
1853
  msgstr ""
1854
 
@@ -1856,12 +1873,12 @@ msgstr ""
1856
  msgid "WP ULike"
1857
  msgstr ""
1858
 
1859
- #: wp-ulike.php:74
1860
  #. translators: %s: PHP version
1861
  msgid "WP ULike requires PHP version %s+, plugin is currently NOT RUNNING."
1862
  msgstr ""
1863
 
1864
- #: wp-ulike.php:88
1865
  #. translators: %s: WordPress version
1866
  msgid ""
1867
  "WP ULike requires WordPress version %s+. Because you are using an earlier "
2
  # This file is distributed under the same license as the WP ULike package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: WP ULike 4.5.7\n"
6
  "Report-Msgid-Bugs-To: https://wpulike.com\n"
7
+ "POT-Creation-Date: 2021-10-25 18:19:44+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
30
  msgstr ""
31
 
32
  #: admin/admin-functions.php:227
33
+ #: admin/classes/class-wp-ulike-admin-panel.php:869
34
  #: includes/classes/class-wp-ulike-customizer.php:149
35
  msgid "Button"
36
  msgstr ""
156
  msgstr ""
157
 
158
  #: admin/classes/class-wp-ulike-admin-pages.php:59
159
+ #: admin/includes/templates/statistics.php:124 includes/plugin.php:106
160
  msgid "Statistics"
161
  msgstr ""
162
 
163
  #: admin/classes/class-wp-ulike-admin-pages.php:67
164
  #: admin/includes/templates/about.php:24 admin/includes/templates/about.php:34
165
+ #: includes/plugin.php:107
166
  msgid "About"
167
  msgstr ""
168
 
178
  msgid "Logs"
179
  msgstr ""
180
 
181
+ #: admin/classes/class-wp-ulike-admin-panel.php:43 includes/plugin.php:105
182
  msgid "Settings"
183
  msgstr ""
184
 
420
 
421
  #: admin/classes/class-wp-ulike-admin-panel.php:298
422
  #: admin/classes/class-wp-ulike-admin-panel.php:310
423
+ #: admin/classes/class-wp-ulike-admin-panel.php:877
424
+ #: admin/classes/class-wp-ulike-admin-panel.php:933
425
  msgid "Allowed Variables:"
426
  msgstr ""
427
 
808
  "are only allowed to have a specific point type."
809
  msgstr ""
810
 
811
+ #: admin/classes/class-wp-ulike-admin-panel.php:838
812
+ msgid ""
813
+ "Username/IP + Cookie: Same as username/IP description, However, if the user "
814
+ "IP or username changes and the cookie is set, it does not allow the user to "
815
+ "like /dislike."
816
+ msgstr ""
817
+
818
  #: admin/classes/class-wp-ulike-admin-panel.php:843
819
  msgid "Cookie Expiration"
820
  msgstr ""
824
  msgstr ""
825
 
826
  #: admin/classes/class-wp-ulike-admin-panel.php:851
827
+ msgid "Vote Limit Per Day"
828
+ msgstr ""
829
+
830
+ #: admin/classes/class-wp-ulike-admin-panel.php:852
831
+ msgid ""
832
+ "Limits the number of votes that can be submitted by user on each item per "
833
+ "day."
834
+ msgstr ""
835
+
836
+ #: admin/classes/class-wp-ulike-admin-panel.php:861
837
  msgid "Only logged in users"
838
  msgstr ""
839
 
840
+ #: admin/classes/class-wp-ulike-admin-panel.php:866
841
  msgid "Display Type"
842
  msgstr ""
843
 
844
+ #: admin/classes/class-wp-ulike-admin-panel.php:868
845
  msgid "Template"
846
  msgstr ""
847
 
848
+ #: admin/classes/class-wp-ulike-admin-panel.php:883
849
+ #: includes/classes/class-wp-ulike-setting-repo.php:182
850
  msgid "You need to login in order to like this post: "
851
  msgstr ""
852
 
853
+ #: admin/classes/class-wp-ulike-admin-panel.php:885
854
+ #: includes/classes/class-wp-ulike-setting-repo.php:184
855
  msgid "click here"
856
  msgstr ""
857
 
858
+ #: admin/classes/class-wp-ulike-admin-panel.php:887
859
+ #: admin/classes/class-wp-ulike-admin-panel.php:932
860
  msgid "Custom HTML Template"
861
  msgstr ""
862
 
863
+ #: admin/classes/class-wp-ulike-admin-panel.php:893
864
  msgid "Display Likers Box"
865
  msgstr ""
866
 
867
+ #: admin/classes/class-wp-ulike-admin-panel.php:898
868
  msgid "User List Arrange"
869
  msgstr ""
870
 
871
+ #: admin/classes/class-wp-ulike-admin-panel.php:901
872
  msgid "Ascending"
873
  msgstr ""
874
 
875
+ #: admin/classes/class-wp-ulike-admin-panel.php:902
876
  msgid "Descending"
877
  msgstr ""
878
 
879
+ #: admin/classes/class-wp-ulike-admin-panel.php:910
880
  msgid "Hide For Anonymous Users"
881
  msgstr ""
882
 
883
+ #: admin/classes/class-wp-ulike-admin-panel.php:916
884
  msgid "Likers Box Display"
885
  msgstr ""
886
 
887
+ #: admin/classes/class-wp-ulike-admin-panel.php:919
888
  msgid "Inline"
889
  msgstr ""
890
 
891
+ #: admin/classes/class-wp-ulike-admin-panel.php:920
892
  #: includes/classes/class-wp-ulike-customizer.php:558
893
  msgid "Popover"
894
  msgstr ""
895
 
896
+ #: admin/classes/class-wp-ulike-admin-panel.php:946
897
  msgid "Size of Gravatars"
898
  msgstr ""
899
 
900
+ #: admin/classes/class-wp-ulike-admin-panel.php:954
901
  msgid "Likers Count"
902
  msgstr ""
903
 
904
+ #: admin/classes/class-wp-ulike-admin-panel.php:955
905
  msgid "The number of users to show in the users liked box"
906
  msgstr ""
907
 
1778
  msgid "Error receiving input parameters"
1779
  msgstr ""
1780
 
1781
+ #: includes/hooks/third-party.php:127
1782
  msgid "WP ULike Activity"
1783
  msgstr ""
1784
 
1785
+ #: includes/hooks/third-party.php:142
1786
  msgid "Votes"
1787
  msgstr ""
1788
 
1789
+ #: includes/hooks/third-party.php:352
1790
  msgid "posts"
1791
  msgstr ""
1792
 
1793
+ #: includes/hooks/third-party.php:359
1794
  msgid "comments"
1795
  msgstr ""
1796
 
1797
+ #: includes/hooks/third-party.php:365
1798
  msgid "activities"
1799
  msgstr ""
1800
 
1801
+ #: includes/hooks/third-party.php:373
1802
  msgid "topics"
1803
  msgstr ""
1804
 
1805
+ #: includes/hooks/third-party.php:376
1806
  msgid "replies"
1807
  msgstr ""
1808
 
1809
+ #: includes/hooks/third-party.php:388
1810
  msgid "You have %d new %s likes"
1811
  msgstr ""
1812
 
1813
+ #: includes/hooks/third-party.php:392
1814
  msgid "%s liked one of your %s"
1815
  msgstr ""
1816
 
1817
+ #: includes/hooks/third-party.php:436
1818
  msgid "New activity liked"
1819
  msgstr ""
1820
 
1821
+ #: includes/hooks/third-party.php:441
1822
  msgid "New comment liked"
1823
  msgstr ""
1824
 
1825
+ #: includes/hooks/third-party.php:446
1826
  msgid "New post liked"
1827
  msgstr ""
1828
 
1829
+ #: includes/hooks/third-party.php:451
1830
  msgid "New topic liked"
1831
  msgstr ""
1832
 
1833
+ #: includes/hooks/third-party.php:809
1834
  msgid "Points for liking content"
1835
  msgstr ""
1836
 
1837
+ #: includes/hooks/third-party.php:810
1838
  msgid ""
1839
  "This hook award / deducts points from users who Like/Unlike any content of "
1840
  "WordPress, bbPress, BuddyPress & ..."
1841
  msgstr ""
1842
 
1843
+ #: includes/hooks/third-party.php:826
1844
  msgid "Liking Content"
1845
  msgstr ""
1846
 
1847
+ #: includes/hooks/third-party.php:827
1848
  msgid "Liked Content"
1849
  msgstr ""
1850
 
1851
+ #: includes/hooks/third-party.php:828
1852
  msgid "Unliking Content"
1853
  msgstr ""
1854
 
1855
+ #: includes/hooks/third-party.php:829
1856
  msgid "Unliked Content"
1857
  msgstr ""
1858
 
1859
+ #: includes/hooks/third-party.php:847
1860
  msgid "Recent Posts Liked"
1861
  msgstr ""
1862
 
1863
+ #: includes/hooks/third-party.php:852
1864
  msgid "Recent Comments Liked"
1865
  msgstr ""
1866
 
1867
+ #: includes/hooks/third-party.php:883 includes/hooks/third-party.php:909
1868
+ #: includes/hooks/third-party.php:939 includes/hooks/third-party.php:969
1869
  msgid "This user has not made any likes."
1870
  msgstr ""
1871
 
1873
  msgid "WP ULike"
1874
  msgstr ""
1875
 
1876
+ #: wp-ulike.php:78
1877
  #. translators: %s: PHP version
1878
  msgid "WP ULike requires PHP version %s+, plugin is currently NOT RUNNING."
1879
  msgstr ""
1880
 
1881
+ #: wp-ulike.php:92
1882
  #. translators: %s: WordPress version
1883
  msgid ""
1884
  "WP ULike requires WordPress version %s+. Because you are using an earlier "
readme.txt CHANGED
@@ -6,7 +6,7 @@ Tags: like, marketing, elementor, user profile, rating, favorite, statistics, bu
6
  Requires PHP: 5.6
7
  Requires at least: 5.0
8
  Tested up to: 5.8
9
- Stable tag: 4.5.6
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
@@ -140,6 +140,16 @@ Yes, WP ULike is compatible with Apache, Nginx, Microsoft IIS et LiteSpeed web s
140
 
141
  == Changelog ==
142
 
 
 
 
 
 
 
 
 
 
 
143
  = 4.5.6 =
144
  * Added: New option to set blacklist validation.
145
  * Improved: Client address detection methods.
6
  Requires PHP: 5.6
7
  Requires at least: 5.0
8
  Tested up to: 5.8
9
+ Stable tag: 4.5.7
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
140
 
141
  == Changelog ==
142
 
143
+ = 4.5.7 =
144
+ * Added: Animated Clapping Template. [PRO]
145
+ * Added: New option to limit the number of votes that can be submitted by a user. (only for no-limit logging method)
146
+ * Added: An option to change the permalink structure of user profiles. [PRO]
147
+ * Improved: Installed composer packages.
148
+ * Improved: Guest client identifies method.
149
+ * Improved: Database structures.
150
+ * Fixed: Options panel framework issues with Bitnami.
151
+ * Fixed: Minor bug fixes.
152
+
153
  = 4.5.6 =
154
  * Added: New option to set blacklist validation.
155
  * Improved: Client address detection methods.
vendor/composer/autoload_classmap.php CHANGED
@@ -7,108 +7,6 @@ $baseDir = dirname($vendorDir);
7
 
8
  return array(
9
  'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
10
- 'Composer\\Installers\\AglInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/AglInstaller.php',
11
- 'Composer\\Installers\\AimeosInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/AimeosInstaller.php',
12
- 'Composer\\Installers\\AnnotateCmsInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php',
13
- 'Composer\\Installers\\AsgardInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/AsgardInstaller.php',
14
- 'Composer\\Installers\\AttogramInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/AttogramInstaller.php',
15
- 'Composer\\Installers\\BaseInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/BaseInstaller.php',
16
- 'Composer\\Installers\\BitrixInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/BitrixInstaller.php',
17
- 'Composer\\Installers\\BonefishInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/BonefishInstaller.php',
18
- 'Composer\\Installers\\CakePHPInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/CakePHPInstaller.php',
19
- 'Composer\\Installers\\ChefInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ChefInstaller.php',
20
- 'Composer\\Installers\\CiviCrmInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/CiviCrmInstaller.php',
21
- 'Composer\\Installers\\ClanCatsFrameworkInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ClanCatsFrameworkInstaller.php',
22
- 'Composer\\Installers\\CockpitInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/CockpitInstaller.php',
23
- 'Composer\\Installers\\CodeIgniterInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php',
24
- 'Composer\\Installers\\Concrete5Installer' => $vendorDir . '/composer/installers/src/Composer/Installers/Concrete5Installer.php',
25
- 'Composer\\Installers\\CraftInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/CraftInstaller.php',
26
- 'Composer\\Installers\\CroogoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/CroogoInstaller.php',
27
- 'Composer\\Installers\\DecibelInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/DecibelInstaller.php',
28
- 'Composer\\Installers\\DframeInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/DframeInstaller.php',
29
- 'Composer\\Installers\\DokuWikiInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/DokuWikiInstaller.php',
30
- 'Composer\\Installers\\DolibarrInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/DolibarrInstaller.php',
31
- 'Composer\\Installers\\DrupalInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/DrupalInstaller.php',
32
- 'Composer\\Installers\\ElggInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ElggInstaller.php',
33
- 'Composer\\Installers\\EliasisInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/EliasisInstaller.php',
34
- 'Composer\\Installers\\ExpressionEngineInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ExpressionEngineInstaller.php',
35
- 'Composer\\Installers\\EzPlatformInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/EzPlatformInstaller.php',
36
- 'Composer\\Installers\\FuelInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/FuelInstaller.php',
37
- 'Composer\\Installers\\FuelphpInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/FuelphpInstaller.php',
38
- 'Composer\\Installers\\GravInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/GravInstaller.php',
39
- 'Composer\\Installers\\HuradInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/HuradInstaller.php',
40
- 'Composer\\Installers\\ImageCMSInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ImageCMSInstaller.php',
41
- 'Composer\\Installers\\Installer' => $vendorDir . '/composer/installers/src/Composer/Installers/Installer.php',
42
- 'Composer\\Installers\\ItopInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ItopInstaller.php',
43
- 'Composer\\Installers\\JoomlaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/JoomlaInstaller.php',
44
- 'Composer\\Installers\\KanboardInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/KanboardInstaller.php',
45
- 'Composer\\Installers\\KirbyInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/KirbyInstaller.php',
46
- 'Composer\\Installers\\KnownInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/KnownInstaller.php',
47
- 'Composer\\Installers\\KodiCMSInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/KodiCMSInstaller.php',
48
- 'Composer\\Installers\\KohanaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/KohanaInstaller.php',
49
- 'Composer\\Installers\\LanManagementSystemInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/LanManagementSystemInstaller.php',
50
- 'Composer\\Installers\\LaravelInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/LaravelInstaller.php',
51
- 'Composer\\Installers\\LavaLiteInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/LavaLiteInstaller.php',
52
- 'Composer\\Installers\\LithiumInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/LithiumInstaller.php',
53
- 'Composer\\Installers\\MODULEWorkInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php',
54
- 'Composer\\Installers\\MODXEvoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MODXEvoInstaller.php',
55
- 'Composer\\Installers\\MagentoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MagentoInstaller.php',
56
- 'Composer\\Installers\\MajimaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MajimaInstaller.php',
57
- 'Composer\\Installers\\MakoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MakoInstaller.php',
58
- 'Composer\\Installers\\MantisBTInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MantisBTInstaller.php',
59
- 'Composer\\Installers\\MauticInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MauticInstaller.php',
60
- 'Composer\\Installers\\MayaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MayaInstaller.php',
61
- 'Composer\\Installers\\MediaWikiInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MediaWikiInstaller.php',
62
- 'Composer\\Installers\\MiaoxingInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MiaoxingInstaller.php',
63
- 'Composer\\Installers\\MicroweberInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MicroweberInstaller.php',
64
- 'Composer\\Installers\\ModxInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ModxInstaller.php',
65
- 'Composer\\Installers\\MoodleInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MoodleInstaller.php',
66
- 'Composer\\Installers\\OctoberInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/OctoberInstaller.php',
67
- 'Composer\\Installers\\OntoWikiInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/OntoWikiInstaller.php',
68
- 'Composer\\Installers\\OsclassInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/OsclassInstaller.php',
69
- 'Composer\\Installers\\OxidInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/OxidInstaller.php',
70
- 'Composer\\Installers\\PPIInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PPIInstaller.php',
71
- 'Composer\\Installers\\PantheonInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PantheonInstaller.php',
72
- 'Composer\\Installers\\PhiftyInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PhiftyInstaller.php',
73
- 'Composer\\Installers\\PhpBBInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PhpBBInstaller.php',
74
- 'Composer\\Installers\\PimcoreInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PimcoreInstaller.php',
75
- 'Composer\\Installers\\PiwikInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PiwikInstaller.php',
76
- 'Composer\\Installers\\PlentymarketsInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PlentymarketsInstaller.php',
77
- 'Composer\\Installers\\Plugin' => $vendorDir . '/composer/installers/src/Composer/Installers/Plugin.php',
78
- 'Composer\\Installers\\PortoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PortoInstaller.php',
79
- 'Composer\\Installers\\PrestashopInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PrestashopInstaller.php',
80
- 'Composer\\Installers\\ProcessWireInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ProcessWireInstaller.php',
81
- 'Composer\\Installers\\PuppetInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PuppetInstaller.php',
82
- 'Composer\\Installers\\PxcmsInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PxcmsInstaller.php',
83
- 'Composer\\Installers\\RadPHPInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/RadPHPInstaller.php',
84
- 'Composer\\Installers\\ReIndexInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ReIndexInstaller.php',
85
- 'Composer\\Installers\\Redaxo5Installer' => $vendorDir . '/composer/installers/src/Composer/Installers/Redaxo5Installer.php',
86
- 'Composer\\Installers\\RedaxoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/RedaxoInstaller.php',
87
- 'Composer\\Installers\\RoundcubeInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/RoundcubeInstaller.php',
88
- 'Composer\\Installers\\SMFInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/SMFInstaller.php',
89
- 'Composer\\Installers\\ShopwareInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ShopwareInstaller.php',
90
- 'Composer\\Installers\\SilverStripeInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/SilverStripeInstaller.php',
91
- 'Composer\\Installers\\SiteDirectInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/SiteDirectInstaller.php',
92
- 'Composer\\Installers\\StarbugInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/StarbugInstaller.php',
93
- 'Composer\\Installers\\SyDESInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/SyDESInstaller.php',
94
- 'Composer\\Installers\\SyliusInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/SyliusInstaller.php',
95
- 'Composer\\Installers\\Symfony1Installer' => $vendorDir . '/composer/installers/src/Composer/Installers/Symfony1Installer.php',
96
- 'Composer\\Installers\\TYPO3CmsInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/TYPO3CmsInstaller.php',
97
- 'Composer\\Installers\\TYPO3FlowInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/TYPO3FlowInstaller.php',
98
- 'Composer\\Installers\\TaoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/TaoInstaller.php',
99
- 'Composer\\Installers\\TastyIgniterInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/TastyIgniterInstaller.php',
100
- 'Composer\\Installers\\TheliaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/TheliaInstaller.php',
101
- 'Composer\\Installers\\TuskInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/TuskInstaller.php',
102
- 'Composer\\Installers\\UserFrostingInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/UserFrostingInstaller.php',
103
- 'Composer\\Installers\\VanillaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/VanillaInstaller.php',
104
- 'Composer\\Installers\\VgmcpInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/VgmcpInstaller.php',
105
- 'Composer\\Installers\\WHMCSInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/WHMCSInstaller.php',
106
- 'Composer\\Installers\\WinterInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/WinterInstaller.php',
107
- 'Composer\\Installers\\WolfCMSInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/WolfCMSInstaller.php',
108
- 'Composer\\Installers\\WordPressInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/WordPressInstaller.php',
109
- 'Composer\\Installers\\YawikInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/YawikInstaller.php',
110
- 'Composer\\Installers\\ZendInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ZendInstaller.php',
111
- 'Composer\\Installers\\ZikulaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ZikulaInstaller.php',
112
  'Psr\\Http\\Message\\MessageInterface' => $vendorDir . '/psr/http-message/src/MessageInterface.php',
113
  'Psr\\Http\\Message\\RequestInterface' => $vendorDir . '/psr/http-message/src/RequestInterface.php',
114
  'Psr\\Http\\Message\\ResponseInterface' => $vendorDir . '/psr/http-message/src/ResponseInterface.php',
7
 
8
  return array(
9
  'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  'Psr\\Http\\Message\\MessageInterface' => $vendorDir . '/psr/http-message/src/MessageInterface.php',
11
  'Psr\\Http\\Message\\RequestInterface' => $vendorDir . '/psr/http-message/src/RequestInterface.php',
12
  'Psr\\Http\\Message\\ResponseInterface' => $vendorDir . '/psr/http-message/src/ResponseInterface.php',
vendor/composer/autoload_psr4.php CHANGED
@@ -8,5 +8,4 @@ $baseDir = dirname($vendorDir);
8
  return array(
9
  'Vectorface\\Whip\\' => array($vendorDir . '/vectorface/whip/src'),
10
  'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http-message/src'),
11
- 'Composer\\Installers\\' => array($vendorDir . '/composer/installers/src/Composer/Installers'),
12
  );
8
  return array(
9
  'Vectorface\\Whip\\' => array($vendorDir . '/vectorface/whip/src'),
10
  'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http-message/src'),
 
11
  );
vendor/composer/autoload_static.php CHANGED
@@ -15,10 +15,6 @@ class ComposerStaticInitc58ba4e8ae01fe624f24a47c3b1dc47f
15
  array (
16
  'Psr\\Http\\Message\\' => 17,
17
  ),
18
- 'C' =>
19
- array (
20
- 'Composer\\Installers\\' => 20,
21
- ),
22
  );
23
 
24
  public static $prefixDirsPsr4 = array (
@@ -30,116 +26,10 @@ class ComposerStaticInitc58ba4e8ae01fe624f24a47c3b1dc47f
30
  array (
31
  0 => __DIR__ . '/..' . '/psr/http-message/src',
32
  ),
33
- 'Composer\\Installers\\' =>
34
- array (
35
- 0 => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers',
36
- ),
37
  );
38
 
39
  public static $classMap = array (
40
  'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
41
- 'Composer\\Installers\\AglInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/AglInstaller.php',
42
- 'Composer\\Installers\\AimeosInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/AimeosInstaller.php',
43
- 'Composer\\Installers\\AnnotateCmsInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php',
44
- 'Composer\\Installers\\AsgardInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/AsgardInstaller.php',
45
- 'Composer\\Installers\\AttogramInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/AttogramInstaller.php',
46
- 'Composer\\Installers\\BaseInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/BaseInstaller.php',
47
- 'Composer\\Installers\\BitrixInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/BitrixInstaller.php',
48
- 'Composer\\Installers\\BonefishInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/BonefishInstaller.php',
49
- 'Composer\\Installers\\CakePHPInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/CakePHPInstaller.php',
50
- 'Composer\\Installers\\ChefInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ChefInstaller.php',
51
- 'Composer\\Installers\\CiviCrmInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/CiviCrmInstaller.php',
52
- 'Composer\\Installers\\ClanCatsFrameworkInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ClanCatsFrameworkInstaller.php',
53
- 'Composer\\Installers\\CockpitInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/CockpitInstaller.php',
54
- 'Composer\\Installers\\CodeIgniterInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php',
55
- 'Composer\\Installers\\Concrete5Installer' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/Concrete5Installer.php',
56
- 'Composer\\Installers\\CraftInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/CraftInstaller.php',
57
- 'Composer\\Installers\\CroogoInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/CroogoInstaller.php',
58
- 'Composer\\Installers\\DecibelInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/DecibelInstaller.php',
59
- 'Composer\\Installers\\DframeInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/DframeInstaller.php',
60
- 'Composer\\Installers\\DokuWikiInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/DokuWikiInstaller.php',
61
- 'Composer\\Installers\\DolibarrInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/DolibarrInstaller.php',
62
- 'Composer\\Installers\\DrupalInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/DrupalInstaller.php',
63
- 'Composer\\Installers\\ElggInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ElggInstaller.php',
64
- 'Composer\\Installers\\EliasisInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/EliasisInstaller.php',
65
- 'Composer\\Installers\\ExpressionEngineInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ExpressionEngineInstaller.php',
66
- 'Composer\\Installers\\EzPlatformInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/EzPlatformInstaller.php',
67
- 'Composer\\Installers\\FuelInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/FuelInstaller.php',
68
- 'Composer\\Installers\\FuelphpInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/FuelphpInstaller.php',
69
- 'Composer\\Installers\\GravInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/GravInstaller.php',
70
- 'Composer\\Installers\\HuradInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/HuradInstaller.php',
71
- 'Composer\\Installers\\ImageCMSInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ImageCMSInstaller.php',
72
- 'Composer\\Installers\\Installer' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/Installer.php',
73
- 'Composer\\Installers\\ItopInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ItopInstaller.php',
74
- 'Composer\\Installers\\JoomlaInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/JoomlaInstaller.php',
75
- 'Composer\\Installers\\KanboardInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/KanboardInstaller.php',
76
- 'Composer\\Installers\\KirbyInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/KirbyInstaller.php',
77
- 'Composer\\Installers\\KnownInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/KnownInstaller.php',
78
- 'Composer\\Installers\\KodiCMSInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/KodiCMSInstaller.php',
79
- 'Composer\\Installers\\KohanaInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/KohanaInstaller.php',
80
- 'Composer\\Installers\\LanManagementSystemInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/LanManagementSystemInstaller.php',
81
- 'Composer\\Installers\\LaravelInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/LaravelInstaller.php',
82
- 'Composer\\Installers\\LavaLiteInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/LavaLiteInstaller.php',
83
- 'Composer\\Installers\\LithiumInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/LithiumInstaller.php',
84
- 'Composer\\Installers\\MODULEWorkInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php',
85
- 'Composer\\Installers\\MODXEvoInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MODXEvoInstaller.php',
86
- 'Composer\\Installers\\MagentoInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MagentoInstaller.php',
87
- 'Composer\\Installers\\MajimaInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MajimaInstaller.php',
88
- 'Composer\\Installers\\MakoInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MakoInstaller.php',
89
- 'Composer\\Installers\\MantisBTInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MantisBTInstaller.php',
90
- 'Composer\\Installers\\MauticInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MauticInstaller.php',
91
- 'Composer\\Installers\\MayaInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MayaInstaller.php',
92
- 'Composer\\Installers\\MediaWikiInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MediaWikiInstaller.php',
93
- 'Composer\\Installers\\MiaoxingInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MiaoxingInstaller.php',
94
- 'Composer\\Installers\\MicroweberInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MicroweberInstaller.php',
95
- 'Composer\\Installers\\ModxInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ModxInstaller.php',
96
- 'Composer\\Installers\\MoodleInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/MoodleInstaller.php',
97
- 'Composer\\Installers\\OctoberInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/OctoberInstaller.php',
98
- 'Composer\\Installers\\OntoWikiInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/OntoWikiInstaller.php',
99
- 'Composer\\Installers\\OsclassInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/OsclassInstaller.php',
100
- 'Composer\\Installers\\OxidInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/OxidInstaller.php',
101
- 'Composer\\Installers\\PPIInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/PPIInstaller.php',
102
- 'Composer\\Installers\\PantheonInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/PantheonInstaller.php',
103
- 'Composer\\Installers\\PhiftyInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/PhiftyInstaller.php',
104
- 'Composer\\Installers\\PhpBBInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/PhpBBInstaller.php',
105
- 'Composer\\Installers\\PimcoreInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/PimcoreInstaller.php',
106
- 'Composer\\Installers\\PiwikInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/PiwikInstaller.php',
107
- 'Composer\\Installers\\PlentymarketsInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/PlentymarketsInstaller.php',
108
- 'Composer\\Installers\\Plugin' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/Plugin.php',
109
- 'Composer\\Installers\\PortoInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/PortoInstaller.php',
110
- 'Composer\\Installers\\PrestashopInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/PrestashopInstaller.php',
111
- 'Composer\\Installers\\ProcessWireInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ProcessWireInstaller.php',
112
- 'Composer\\Installers\\PuppetInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/PuppetInstaller.php',
113
- 'Composer\\Installers\\PxcmsInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/PxcmsInstaller.php',
114
- 'Composer\\Installers\\RadPHPInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/RadPHPInstaller.php',
115
- 'Composer\\Installers\\ReIndexInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ReIndexInstaller.php',
116
- 'Composer\\Installers\\Redaxo5Installer' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/Redaxo5Installer.php',
117
- 'Composer\\Installers\\RedaxoInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/RedaxoInstaller.php',
118
- 'Composer\\Installers\\RoundcubeInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/RoundcubeInstaller.php',
119
- 'Composer\\Installers\\SMFInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/SMFInstaller.php',
120
- 'Composer\\Installers\\ShopwareInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ShopwareInstaller.php',
121
- 'Composer\\Installers\\SilverStripeInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/SilverStripeInstaller.php',
122
- 'Composer\\Installers\\SiteDirectInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/SiteDirectInstaller.php',
123
- 'Composer\\Installers\\StarbugInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/StarbugInstaller.php',
124
- 'Composer\\Installers\\SyDESInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/SyDESInstaller.php',
125
- 'Composer\\Installers\\SyliusInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/SyliusInstaller.php',
126
- 'Composer\\Installers\\Symfony1Installer' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/Symfony1Installer.php',
127
- 'Composer\\Installers\\TYPO3CmsInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/TYPO3CmsInstaller.php',
128
- 'Composer\\Installers\\TYPO3FlowInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/TYPO3FlowInstaller.php',
129
- 'Composer\\Installers\\TaoInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/TaoInstaller.php',
130
- 'Composer\\Installers\\TastyIgniterInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/TastyIgniterInstaller.php',
131
- 'Composer\\Installers\\TheliaInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/TheliaInstaller.php',
132
- 'Composer\\Installers\\TuskInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/TuskInstaller.php',
133
- 'Composer\\Installers\\UserFrostingInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/UserFrostingInstaller.php',
134
- 'Composer\\Installers\\VanillaInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/VanillaInstaller.php',
135
- 'Composer\\Installers\\VgmcpInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/VgmcpInstaller.php',
136
- 'Composer\\Installers\\WHMCSInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/WHMCSInstaller.php',
137
- 'Composer\\Installers\\WinterInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/WinterInstaller.php',
138
- 'Composer\\Installers\\WolfCMSInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/WolfCMSInstaller.php',
139
- 'Composer\\Installers\\WordPressInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/WordPressInstaller.php',
140
- 'Composer\\Installers\\YawikInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/YawikInstaller.php',
141
- 'Composer\\Installers\\ZendInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ZendInstaller.php',
142
- 'Composer\\Installers\\ZikulaInstaller' => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers/ZikulaInstaller.php',
143
  'Psr\\Http\\Message\\MessageInterface' => __DIR__ . '/..' . '/psr/http-message/src/MessageInterface.php',
144
  'Psr\\Http\\Message\\RequestInterface' => __DIR__ . '/..' . '/psr/http-message/src/RequestInterface.php',
145
  'Psr\\Http\\Message\\ResponseInterface' => __DIR__ . '/..' . '/psr/http-message/src/ResponseInterface.php',
15
  array (
16
  'Psr\\Http\\Message\\' => 17,
17
  ),
 
 
 
 
18
  );
19
 
20
  public static $prefixDirsPsr4 = array (
26
  array (
27
  0 => __DIR__ . '/..' . '/psr/http-message/src',
28
  ),
 
 
 
 
29
  );
30
 
31
  public static $classMap = array (
32
  'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  'Psr\\Http\\Message\\MessageInterface' => __DIR__ . '/..' . '/psr/http-message/src/MessageInterface.php',
34
  'Psr\\Http\\Message\\RequestInterface' => __DIR__ . '/..' . '/psr/http-message/src/RequestInterface.php',
35
  'Psr\\Http\\Message\\ResponseInterface' => __DIR__ . '/..' . '/psr/http-message/src/ResponseInterface.php',
vendor/composer/installed.json CHANGED
@@ -1,159 +1,5 @@
1
  {
2
  "packages": [
3
- {
4
- "name": "composer/installers",
5
- "version": "v1.12.0",
6
- "version_normalized": "1.12.0.0",
7
- "source": {
8
- "type": "git",
9
- "url": "https://github.com/composer/installers.git",
10
- "reference": "d20a64ed3c94748397ff5973488761b22f6d3f19"
11
- },
12
- "dist": {
13
- "type": "zip",
14
- "url": "https://api.github.com/repos/composer/installers/zipball/d20a64ed3c94748397ff5973488761b22f6d3f19",
15
- "reference": "d20a64ed3c94748397ff5973488761b22f6d3f19",
16
- "shasum": ""
17
- },
18
- "require": {
19
- "composer-plugin-api": "^1.0 || ^2.0"
20
- },
21
- "replace": {
22
- "roundcube/plugin-installer": "*",
23
- "shama/baton": "*"
24
- },
25
- "require-dev": {
26
- "composer/composer": "1.6.* || ^2.0",
27
- "composer/semver": "^1 || ^3",
28
- "phpstan/phpstan": "^0.12.55",
29
- "phpstan/phpstan-phpunit": "^0.12.16",
30
- "symfony/phpunit-bridge": "^4.2 || ^5",
31
- "symfony/process": "^2.3"
32
- },
33
- "time": "2021-09-13T08:19:44+00:00",
34
- "type": "composer-plugin",
35
- "extra": {
36
- "class": "Composer\\Installers\\Plugin",
37
- "branch-alias": {
38
- "dev-main": "1.x-dev"
39
- }
40
- },
41
- "installation-source": "dist",
42
- "autoload": {
43
- "psr-4": {
44
- "Composer\\Installers\\": "src/Composer/Installers"
45
- }
46
- },
47
- "notification-url": "https://packagist.org/downloads/",
48
- "license": [
49
- "MIT"
50
- ],
51
- "authors": [
52
- {
53
- "name": "Kyle Robinson Young",
54
- "email": "kyle@dontkry.com",
55
- "homepage": "https://github.com/shama"
56
- }
57
- ],
58
- "description": "A multi-framework Composer library installer",
59
- "homepage": "https://composer.github.io/installers/",
60
- "keywords": [
61
- "Craft",
62
- "Dolibarr",
63
- "Eliasis",
64
- "Hurad",
65
- "ImageCMS",
66
- "Kanboard",
67
- "Lan Management System",
68
- "MODX Evo",
69
- "MantisBT",
70
- "Mautic",
71
- "Maya",
72
- "OXID",
73
- "Plentymarkets",
74
- "Porto",
75
- "RadPHP",
76
- "SMF",
77
- "Starbug",
78
- "Thelia",
79
- "Whmcs",
80
- "WolfCMS",
81
- "agl",
82
- "aimeos",
83
- "annotatecms",
84
- "attogram",
85
- "bitrix",
86
- "cakephp",
87
- "chef",
88
- "cockpit",
89
- "codeigniter",
90
- "concrete5",
91
- "croogo",
92
- "dokuwiki",
93
- "drupal",
94
- "eZ Platform",
95
- "elgg",
96
- "expressionengine",
97
- "fuelphp",
98
- "grav",
99
- "installer",
100
- "itop",
101
- "joomla",
102
- "known",
103
- "kohana",
104
- "laravel",
105
- "lavalite",
106
- "lithium",
107
- "magento",
108
- "majima",
109
- "mako",
110
- "mediawiki",
111
- "miaoxing",
112
- "modulework",
113
- "modx",
114
- "moodle",
115
- "osclass",
116
- "pantheon",
117
- "phpbb",
118
- "piwik",
119
- "ppi",
120
- "processwire",
121
- "puppet",
122
- "pxcms",
123
- "reindex",
124
- "roundcube",
125
- "shopware",
126
- "silverstripe",
127
- "sydes",
128
- "sylius",
129
- "symfony",
130
- "tastyigniter",
131
- "typo3",
132
- "wordpress",
133
- "yawik",
134
- "zend",
135
- "zikula"
136
- ],
137
- "support": {
138
- "issues": "https://github.com/composer/installers/issues",
139
- "source": "https://github.com/composer/installers/tree/v1.12.0"
140
- },
141
- "funding": [
142
- {
143
- "url": "https://packagist.com",
144
- "type": "custom"
145
- },
146
- {
147
- "url": "https://github.com/composer",
148
- "type": "github"
149
- },
150
- {
151
- "url": "https://tidelift.com/funding/github/packagist/composer/composer",
152
- "type": "tidelift"
153
- }
154
- ],
155
- "install-path": "./installers"
156
- },
157
  {
158
  "name": "psr/http-message",
159
  "version": "1.0.1",
1
  {
2
  "packages": [
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  {
4
  "name": "psr/http-message",
5
  "version": "1.0.1",
vendor/composer/installed.php CHANGED
@@ -5,7 +5,7 @@
5
  'type' => 'wordpress-plugin',
6
  'install_path' => __DIR__ . '/../../',
7
  'aliases' => array(),
8
- 'reference' => 'baf635d34eff1d952968aee192534505cd26fa06',
9
  'name' => 'alimir/wp-ulike',
10
  'dev' => false,
11
  ),
@@ -16,16 +16,7 @@
16
  'type' => 'wordpress-plugin',
17
  'install_path' => __DIR__ . '/../../',
18
  'aliases' => array(),
19
- 'reference' => 'baf635d34eff1d952968aee192534505cd26fa06',
20
- 'dev_requirement' => false,
21
- ),
22
- 'composer/installers' => array(
23
- 'pretty_version' => 'v1.12.0',
24
- 'version' => '1.12.0.0',
25
- 'type' => 'composer-plugin',
26
- 'install_path' => __DIR__ . '/./installers',
27
- 'aliases' => array(),
28
- 'reference' => 'd20a64ed3c94748397ff5973488761b22f6d3f19',
29
  'dev_requirement' => false,
30
  ),
31
  'psr/http-message' => array(
@@ -37,18 +28,6 @@
37
  'reference' => 'f6561bf28d520154e4b0ec72be95418abe6d9363',
38
  'dev_requirement' => false,
39
  ),
40
- 'roundcube/plugin-installer' => array(
41
- 'dev_requirement' => false,
42
- 'replaced' => array(
43
- 0 => '*',
44
- ),
45
- ),
46
- 'shama/baton' => array(
47
- 'dev_requirement' => false,
48
- 'replaced' => array(
49
- 0 => '*',
50
- ),
51
- ),
52
  'vectorface/whip' => array(
53
  'pretty_version' => 'v0.4.0',
54
  'version' => '0.4.0.0',
5
  'type' => 'wordpress-plugin',
6
  'install_path' => __DIR__ . '/../../',
7
  'aliases' => array(),
8
+ 'reference' => '2f39aa572fe2c7aea8175a7cbedd698351c6c196',
9
  'name' => 'alimir/wp-ulike',
10
  'dev' => false,
11
  ),
16
  'type' => 'wordpress-plugin',
17
  'install_path' => __DIR__ . '/../../',
18
  'aliases' => array(),
19
+ 'reference' => '2f39aa572fe2c7aea8175a7cbedd698351c6c196',
 
 
 
 
 
 
 
 
 
20
  'dev_requirement' => false,
21
  ),
22
  'psr/http-message' => array(
28
  'reference' => 'f6561bf28d520154e4b0ec72be95418abe6d9363',
29
  'dev_requirement' => false,
30
  ),
 
 
 
 
 
 
 
 
 
 
 
 
31
  'vectorface/whip' => array(
32
  'pretty_version' => 'v0.4.0',
33
  'version' => '0.4.0.0',
vendor/composer/installers/LICENSE DELETED
@@ -1,19 +0,0 @@
1
- Copyright (c) 2012 Kyle Robinson Young
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining a copy
4
- of this software and associated documentation files (the "Software"), to deal
5
- in the Software without restriction, including without limitation the rights
6
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
- copies of the Software, and to permit persons to whom the Software is furnished
8
- to do so, subject to the following conditions:
9
-
10
- The above copyright notice and this permission notice shall be included in all
11
- copies or substantial portions of the Software.
12
-
13
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
- THE SOFTWARE.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/phpstan.neon.dist DELETED
@@ -1,10 +0,0 @@
1
- parameters:
2
- level: 5
3
- paths:
4
- - src
5
- - tests
6
- excludes_analyse:
7
- - tests/Composer/Installers/Test/PolyfillTestCase.php
8
-
9
- includes:
10
- - vendor/phpstan/phpstan-phpunit/extension.neon
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/AglInstaller.php DELETED
@@ -1,21 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class AglInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'module' => 'More/{$name}/',
8
- );
9
-
10
- /**
11
- * Format package name to CamelCase
12
- */
13
- public function inflectPackageVars($vars)
14
- {
15
- $vars['name'] = preg_replace_callback('/(?:^|_|-)(.?)/', function ($matches) {
16
- return strtoupper($matches[1]);
17
- }, $vars['name']);
18
-
19
- return $vars;
20
- }
21
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/AimeosInstaller.php DELETED
@@ -1,9 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class AimeosInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'extension' => 'ext/{$name}/',
8
- );
9
- }
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php DELETED
@@ -1,11 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class AnnotateCmsInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'module' => 'addons/modules/{$name}/',
8
- 'component' => 'addons/components/{$name}/',
9
- 'service' => 'addons/services/{$name}/',
10
- );
11
- }
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/AsgardInstaller.php DELETED
@@ -1,49 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class AsgardInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'module' => 'Modules/{$name}/',
8
- 'theme' => 'Themes/{$name}/'
9
- );
10
-
11
- /**
12
- * Format package name.
13
- *
14
- * For package type asgard-module, cut off a trailing '-plugin' if present.
15
- *
16
- * For package type asgard-theme, cut off a trailing '-theme' if present.
17
- *
18
- */
19
- public function inflectPackageVars($vars)
20
- {
21
- if ($vars['type'] === 'asgard-module') {
22
- return $this->inflectPluginVars($vars);
23
- }
24
-
25
- if ($vars['type'] === 'asgard-theme') {
26
- return $this->inflectThemeVars($vars);
27
- }
28
-
29
- return $vars;
30
- }
31
-
32
- protected function inflectPluginVars($vars)
33
- {
34
- $vars['name'] = preg_replace('/-module$/', '', $vars['name']);
35
- $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
36
- $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
37
-
38
- return $vars;
39
- }
40
-
41
- protected function inflectThemeVars($vars)
42
- {
43
- $vars['name'] = preg_replace('/-theme$/', '', $vars['name']);
44
- $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
45
- $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
46
-
47
- return $vars;
48
- }
49
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/AttogramInstaller.php DELETED
@@ -1,9 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class AttogramInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'module' => 'modules/{$name}/',
8
- );
9
- }
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/BaseInstaller.php DELETED
@@ -1,137 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- use Composer\IO\IOInterface;
5
- use Composer\Composer;
6
- use Composer\Package\PackageInterface;
7
-
8
- abstract class BaseInstaller
9
- {
10
- protected $locations = array();
11
- protected $composer;
12
- protected $package;
13
- protected $io;
14
-
15
- /**
16
- * Initializes base installer.
17
- *
18
- * @param PackageInterface $package
19
- * @param Composer $composer
20
- * @param IOInterface $io
21
- */
22
- public function __construct(PackageInterface $package = null, Composer $composer = null, IOInterface $io = null)
23
- {
24
- $this->composer = $composer;
25
- $this->package = $package;
26
- $this->io = $io;
27
- }
28
-
29
- /**
30
- * Return the install path based on package type.
31
- *
32
- * @param PackageInterface $package
33
- * @param string $frameworkType
34
- * @return string
35
- */
36
- public function getInstallPath(PackageInterface $package, $frameworkType = '')
37
- {
38
- $type = $this->package->getType();
39
-
40
- $prettyName = $this->package->getPrettyName();
41
- if (strpos($prettyName, '/') !== false) {
42
- list($vendor, $name) = explode('/', $prettyName);
43
- } else {
44
- $vendor = '';
45
- $name = $prettyName;
46
- }
47
-
48
- $availableVars = $this->inflectPackageVars(compact('name', 'vendor', 'type'));
49
-
50
- $extra = $package->getExtra();
51
- if (!empty($extra['installer-name'])) {
52
- $availableVars['name'] = $extra['installer-name'];
53
- }
54
-
55
- if ($this->composer->getPackage()) {
56
- $extra = $this->composer->getPackage()->getExtra();
57
- if (!empty($extra['installer-paths'])) {
58
- $customPath = $this->mapCustomInstallPaths($extra['installer-paths'], $prettyName, $type, $vendor);
59
- if ($customPath !== false) {
60
- return $this->templatePath($customPath, $availableVars);
61
- }
62
- }
63
- }
64
-
65
- $packageType = substr($type, strlen($frameworkType) + 1);
66
- $locations = $this->getLocations();
67
- if (!isset($locations[$packageType])) {
68
- throw new \InvalidArgumentException(sprintf('Package type "%s" is not supported', $type));
69
- }
70
-
71
- return $this->templatePath($locations[$packageType], $availableVars);
72
- }
73
-
74
- /**
75
- * For an installer to override to modify the vars per installer.
76
- *
77
- * @param array<string, string> $vars This will normally receive array{name: string, vendor: string, type: string}
78
- * @return array<string, string>
79
- */
80
- public function inflectPackageVars($vars)
81
- {
82
- return $vars;
83
- }
84
-
85
- /**
86
- * Gets the installer's locations
87
- *
88
- * @return array<string, string> map of package types => install path
89
- */
90
- public function getLocations()
91
- {
92
- return $this->locations;
93
- }
94
-
95
- /**
96
- * Replace vars in a path
97
- *
98
- * @param string $path
99
- * @param array<string, string> $vars
100
- * @return string
101
- */
102
- protected function templatePath($path, array $vars = array())
103
- {
104
- if (strpos($path, '{') !== false) {
105
- extract($vars);
106
- preg_match_all('@\{\$([A-Za-z0-9_]*)\}@i', $path, $matches);
107
- if (!empty($matches[1])) {
108
- foreach ($matches[1] as $var) {
109
- $path = str_replace('{$' . $var . '}', $$var, $path);
110
- }
111
- }
112
- }
113
-
114
- return $path;
115
- }
116
-
117
- /**
118
- * Search through a passed paths array for a custom install path.
119
- *
120
- * @param array $paths
121
- * @param string $name
122
- * @param string $type
123
- * @param string $vendor = NULL
124
- * @return string|false
125
- */
126
- protected function mapCustomInstallPaths(array $paths, $name, $type, $vendor = NULL)
127
- {
128
- foreach ($paths as $path => $names) {
129
- $names = (array) $names;
130
- if (in_array($name, $names) || in_array('type:' . $type, $names) || in_array('vendor:' . $vendor, $names)) {
131
- return $path;
132
- }
133
- }
134
-
135
- return false;
136
- }
137
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/BitrixInstaller.php DELETED
@@ -1,126 +0,0 @@
1
- <?php
2
-
3
- namespace Composer\Installers;
4
-
5
- use Composer\Util\Filesystem;
6
-
7
- /**
8
- * Installer for Bitrix Framework. Supported types of extensions:
9
- * - `bitrix-d7-module` — copy the module to directory `bitrix/modules/<vendor>.<name>`.
10
- * - `bitrix-d7-component` — copy the component to directory `bitrix/components/<vendor>/<name>`.
11
- * - `bitrix-d7-template` — copy the template to directory `bitrix/templates/<vendor>_<name>`.
12
- *
13
- * You can set custom path to directory with Bitrix kernel in `composer.json`:
14
- *
15
- * ```json
16
- * {
17
- * "extra": {
18
- * "bitrix-dir": "s1/bitrix"
19
- * }
20
- * }
21
- * ```
22
- *
23
- * @author Nik Samokhvalov <nik@samokhvalov.info>
24
- * @author Denis Kulichkin <onexhovia@gmail.com>
25
- */
26
- class BitrixInstaller extends BaseInstaller
27
- {
28
- protected $locations = array(
29
- 'module' => '{$bitrix_dir}/modules/{$name}/', // deprecated, remove on the major release (Backward compatibility will be broken)
30
- 'component' => '{$bitrix_dir}/components/{$name}/', // deprecated, remove on the major release (Backward compatibility will be broken)
31
- 'theme' => '{$bitrix_dir}/templates/{$name}/', // deprecated, remove on the major release (Backward compatibility will be broken)
32
- 'd7-module' => '{$bitrix_dir}/modules/{$vendor}.{$name}/',
33
- 'd7-component' => '{$bitrix_dir}/components/{$vendor}/{$name}/',
34
- 'd7-template' => '{$bitrix_dir}/templates/{$vendor}_{$name}/',
35
- );
36
-
37
- /**
38
- * @var array Storage for informations about duplicates at all the time of installation packages.
39
- */
40
- private static $checkedDuplicates = array();
41
-
42
- /**
43
- * {@inheritdoc}
44
- */
45
- public function inflectPackageVars($vars)
46
- {
47
- if ($this->composer->getPackage()) {
48
- $extra = $this->composer->getPackage()->getExtra();
49
-
50
- if (isset($extra['bitrix-dir'])) {
51
- $vars['bitrix_dir'] = $extra['bitrix-dir'];
52
- }
53
- }
54
-
55
- if (!isset($vars['bitrix_dir'])) {
56
- $vars['bitrix_dir'] = 'bitrix';
57
- }
58
-
59
- return parent::inflectPackageVars($vars);
60
- }
61
-
62
- /**
63
- * {@inheritdoc}
64
- */
65
- protected function templatePath($path, array $vars = array())
66
- {
67
- $templatePath = parent::templatePath($path, $vars);
68
- $this->checkDuplicates($templatePath, $vars);
69
-
70
- return $templatePath;
71
- }
72
-
73
- /**
74
- * Duplicates search packages.
75
- *
76
- * @param string $path
77
- * @param array $vars
78
- */
79
- protected function checkDuplicates($path, array $vars = array())
80
- {
81
- $packageType = substr($vars['type'], strlen('bitrix') + 1);
82
- $localDir = explode('/', $vars['bitrix_dir']);
83
- array_pop($localDir);
84
- $localDir[] = 'local';
85
- $localDir = implode('/', $localDir);
86
-
87
- $oldPath = str_replace(
88
- array('{$bitrix_dir}', '{$name}'),
89
- array($localDir, $vars['name']),
90
- $this->locations[$packageType]
91
- );
92
-
93
- if (in_array($oldPath, static::$checkedDuplicates)) {
94
- return;
95
- }
96
-
97
- if ($oldPath !== $path && file_exists($oldPath) && $this->io && $this->io->isInteractive()) {
98
-
99
- $this->io->writeError(' <error>Duplication of packages:</error>');
100
- $this->io->writeError(' <info>Package ' . $oldPath . ' will be called instead package ' . $path . '</info>');
101
-
102
- while (true) {
103
- switch ($this->io->ask(' <info>Delete ' . $oldPath . ' [y,n,?]?</info> ', '?')) {
104
- case 'y':
105
- $fs = new Filesystem();
106
- $fs->removeDirectory($oldPath);
107
- break 2;
108
-
109
- case 'n':
110
- break 2;
111
-
112
- case '?':
113
- default:
114
- $this->io->writeError(array(
115
- ' y - delete package ' . $oldPath . ' and to continue with the installation',
116
- ' n - don\'t delete and to continue with the installation',
117
- ));
118
- $this->io->writeError(' ? - print help');
119
- break;
120
- }
121
- }
122
- }
123
-
124
- static::$checkedDuplicates[] = $oldPath;
125
- }
126
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/BonefishInstaller.php DELETED
@@ -1,9 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class BonefishInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'package' => 'Packages/{$vendor}/{$name}/'
8
- );
9
- }
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php DELETED
@@ -1,66 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- use Composer\DependencyResolver\Pool;
5
- use Composer\Semver\Constraint\Constraint;
6
-
7
- class CakePHPInstaller extends BaseInstaller
8
- {
9
- protected $locations = array(
10
- 'plugin' => 'Plugin/{$name}/',
11
- );
12
-
13
- /**
14
- * Format package name to CamelCase
15
- */
16
- public function inflectPackageVars($vars)
17
- {
18
- if ($this->matchesCakeVersion('>=', '3.0.0')) {
19
- return $vars;
20
- }
21
-
22
- $nameParts = explode('/', $vars['name']);
23
- foreach ($nameParts as &$value) {
24
- $value = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $value));
25
- $value = str_replace(array('-', '_'), ' ', $value);
26
- $value = str_replace(' ', '', ucwords($value));
27
- }
28
- $vars['name'] = implode('/', $nameParts);
29
-
30
- return $vars;
31
- }
32
-
33
- /**
34
- * Change the default plugin location when cakephp >= 3.0
35
- */
36
- public function getLocations()
37
- {
38
- if ($this->matchesCakeVersion('>=', '3.0.0')) {
39
- $this->locations['plugin'] = $this->composer->getConfig()->get('vendor-dir') . '/{$vendor}/{$name}/';
40
- }
41
- return $this->locations;
42
- }
43
-
44
- /**
45
- * Check if CakePHP version matches against a version
46
- *
47
- * @param string $matcher
48
- * @param string $version
49
- * @return bool
50
- * @phpstan-param Constraint::STR_OP_* $matcher
51
- */
52
- protected function matchesCakeVersion($matcher, $version)
53
- {
54
- $repositoryManager = $this->composer->getRepositoryManager();
55
- if (! $repositoryManager) {
56
- return false;
57
- }
58
-
59
- $repos = $repositoryManager->getLocalRepository();
60
- if (!$repos) {
61
- return false;
62
- }
63
-
64
- return $repos->findPackage('cakephp/cakephp', new Constraint($matcher, $version)) !== null;
65
- }
66
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/ChefInstaller.php DELETED
@@ -1,11 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class ChefInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'cookbook' => 'Chef/{$vendor}/{$name}/',
8
- 'role' => 'Chef/roles/{$name}/',
9
- );
10
- }
11
-
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/CiviCrmInstaller.php DELETED
@@ -1,9 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class CiviCrmInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'ext' => 'ext/{$name}/'
8
- );
9
- }
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/ClanCatsFrameworkInstaller.php DELETED
@@ -1,10 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class ClanCatsFrameworkInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'ship' => 'CCF/orbit/{$name}/',
8
- 'theme' => 'CCF/app/themes/{$name}/',
9
- );
10
- }
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/CockpitInstaller.php DELETED
@@ -1,32 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class CockpitInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'module' => 'cockpit/modules/addons/{$name}/',
8
- );
9
-
10
- /**
11
- * Format module name.
12
- *
13
- * Strip `module-` prefix from package name.
14
- *
15
- * {@inheritDoc}
16
- */
17
- public function inflectPackageVars($vars)
18
- {
19
- if ($vars['type'] == 'cockpit-module') {
20
- return $this->inflectModuleVars($vars);
21
- }
22
-
23
- return $vars;
24
- }
25
-
26
- public function inflectModuleVars($vars)
27
- {
28
- $vars['name'] = ucfirst(preg_replace('/cockpit-/i', '', $vars['name']));
29
-
30
- return $vars;
31
- }
32
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php DELETED
@@ -1,11 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class CodeIgniterInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'library' => 'application/libraries/{$name}/',
8
- 'third-party' => 'application/third_party/{$name}/',
9
- 'module' => 'application/modules/{$name}/',
10
- );
11
- }
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/Concrete5Installer.php DELETED
@@ -1,13 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class Concrete5Installer extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'core' => 'concrete/',
8
- 'block' => 'application/blocks/{$name}/',
9
- 'package' => 'packages/{$name}/',
10
- 'theme' => 'application/themes/{$name}/',
11
- 'update' => 'updates/{$name}/',
12
- );
13
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/CraftInstaller.php DELETED
@@ -1,35 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- /**
5
- * Installer for Craft Plugins
6
- */
7
- class CraftInstaller extends BaseInstaller
8
- {
9
- const NAME_PREFIX = 'craft';
10
- const NAME_SUFFIX = 'plugin';
11
-
12
- protected $locations = array(
13
- 'plugin' => 'craft/plugins/{$name}/',
14
- );
15
-
16
- /**
17
- * Strip `craft-` prefix and/or `-plugin` suffix from package names
18
- *
19
- * @param array $vars
20
- *
21
- * @return array
22
- */
23
- final public function inflectPackageVars($vars)
24
- {
25
- return $this->inflectPluginVars($vars);
26
- }
27
-
28
- private function inflectPluginVars($vars)
29
- {
30
- $vars['name'] = preg_replace('/-' . self::NAME_SUFFIX . '$/i', '', $vars['name']);
31
- $vars['name'] = preg_replace('/^' . self::NAME_PREFIX . '-/i', '', $vars['name']);
32
-
33
- return $vars;
34
- }
35
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/CroogoInstaller.php DELETED
@@ -1,21 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class CroogoInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'plugin' => 'Plugin/{$name}/',
8
- 'theme' => 'View/Themed/{$name}/',
9
- );
10
-
11
- /**
12
- * Format package name to CamelCase
13
- */
14
- public function inflectPackageVars($vars)
15
- {
16
- $vars['name'] = strtolower(str_replace(array('-', '_'), ' ', $vars['name']));
17
- $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
18
-
19
- return $vars;
20
- }
21
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/DecibelInstaller.php DELETED
@@ -1,10 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class DecibelInstaller extends BaseInstaller
5
- {
6
- /** @var array */
7
- protected $locations = array(
8
- 'app' => 'app/{$name}/',
9
- );
10
- }
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/DframeInstaller.php DELETED
@@ -1,10 +0,0 @@
1
- <?php
2
-
3
- namespace Composer\Installers;
4
-
5
- class DframeInstaller extends BaseInstaller
6
- {
7
- protected $locations = array(
8
- 'module' => 'modules/{$vendor}/{$name}/',
9
- );
10
- }
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/DokuWikiInstaller.php DELETED
@@ -1,50 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class DokuWikiInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'plugin' => 'lib/plugins/{$name}/',
8
- 'template' => 'lib/tpl/{$name}/',
9
- );
10
-
11
- /**
12
- * Format package name.
13
- *
14
- * For package type dokuwiki-plugin, cut off a trailing '-plugin',
15
- * or leading dokuwiki_ if present.
16
- *
17
- * For package type dokuwiki-template, cut off a trailing '-template' if present.
18
- *
19
- */
20
- public function inflectPackageVars($vars)
21
- {
22
-
23
- if ($vars['type'] === 'dokuwiki-plugin') {
24
- return $this->inflectPluginVars($vars);
25
- }
26
-
27
- if ($vars['type'] === 'dokuwiki-template') {
28
- return $this->inflectTemplateVars($vars);
29
- }
30
-
31
- return $vars;
32
- }
33
-
34
- protected function inflectPluginVars($vars)
35
- {
36
- $vars['name'] = preg_replace('/-plugin$/', '', $vars['name']);
37
- $vars['name'] = preg_replace('/^dokuwiki_?-?/', '', $vars['name']);
38
-
39
- return $vars;
40
- }
41
-
42
- protected function inflectTemplateVars($vars)
43
- {
44
- $vars['name'] = preg_replace('/-template$/', '', $vars['name']);
45
- $vars['name'] = preg_replace('/^dokuwiki_?-?/', '', $vars['name']);
46
-
47
- return $vars;
48
- }
49
-
50
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/DolibarrInstaller.php DELETED
@@ -1,16 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- /**
5
- * Class DolibarrInstaller
6
- *
7
- * @package Composer\Installers
8
- * @author Raphaël Doursenaud <rdoursenaud@gpcsolutions.fr>
9
- */
10
- class DolibarrInstaller extends BaseInstaller
11
- {
12
- //TODO: Add support for scripts and themes
13
- protected $locations = array(
14
- 'module' => 'htdocs/custom/{$name}/',
15
- );
16
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/DrupalInstaller.php DELETED
@@ -1,22 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class DrupalInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'core' => 'core/',
8
- 'module' => 'modules/{$name}/',
9
- 'theme' => 'themes/{$name}/',
10
- 'library' => 'libraries/{$name}/',
11
- 'profile' => 'profiles/{$name}/',
12
- 'database-driver' => 'drivers/lib/Drupal/Driver/Database/{$name}/',
13
- 'drush' => 'drush/{$name}/',
14
- 'custom-theme' => 'themes/custom/{$name}/',
15
- 'custom-module' => 'modules/custom/{$name}/',
16
- 'custom-profile' => 'profiles/custom/{$name}/',
17
- 'drupal-multisite' => 'sites/{$name}/',
18
- 'console' => 'console/{$name}/',
19
- 'console-language' => 'console/language/{$name}/',
20
- 'config' => 'config/sync/',
21
- );
22
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/ElggInstaller.php DELETED
@@ -1,9 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class ElggInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'plugin' => 'mod/{$name}/',
8
- );
9
- }
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/EliasisInstaller.php DELETED
@@ -1,12 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class EliasisInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'component' => 'components/{$name}/',
8
- 'module' => 'modules/{$name}/',
9
- 'plugin' => 'plugins/{$name}/',
10
- 'template' => 'templates/{$name}/',
11
- );
12
- }
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/ExpressionEngineInstaller.php DELETED
@@ -1,29 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- use Composer\Package\PackageInterface;
5
-
6
- class ExpressionEngineInstaller extends BaseInstaller
7
- {
8
-
9
- protected $locations = array();
10
-
11
- private $ee2Locations = array(
12
- 'addon' => 'system/expressionengine/third_party/{$name}/',
13
- 'theme' => 'themes/third_party/{$name}/',
14
- );
15
-
16
- private $ee3Locations = array(
17
- 'addon' => 'system/user/addons/{$name}/',
18
- 'theme' => 'themes/user/{$name}/',
19
- );
20
-
21
- public function getInstallPath(PackageInterface $package, $frameworkType = '')
22
- {
23
-
24
- $version = "{$frameworkType}Locations";
25
- $this->locations = $this->$version;
26
-
27
- return parent::getInstallPath($package, $frameworkType);
28
- }
29
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/EzPlatformInstaller.php DELETED
@@ -1,10 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class EzPlatformInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'meta-assets' => 'web/assets/ezplatform/',
8
- 'assets' => 'web/assets/ezplatform/{$name}/',
9
- );
10
- }
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/FuelInstaller.php DELETED
@@ -1,11 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class FuelInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'module' => 'fuel/app/modules/{$name}/',
8
- 'package' => 'fuel/packages/{$name}/',
9
- 'theme' => 'fuel/app/themes/{$name}/',
10
- );
11
- }
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/FuelphpInstaller.php DELETED
@@ -1,9 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class FuelphpInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'component' => 'components/{$name}/',
8
- );
9
- }
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/GravInstaller.php DELETED
@@ -1,30 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class GravInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'plugin' => 'user/plugins/{$name}/',
8
- 'theme' => 'user/themes/{$name}/',
9
- );
10
-
11
- /**
12
- * Format package name
13
- *
14
- * @param array $vars
15
- *
16
- * @return array
17
- */
18
- public function inflectPackageVars($vars)
19
- {
20
- $restrictedWords = implode('|', array_keys($this->locations));
21
-
22
- $vars['name'] = strtolower($vars['name']);
23
- $vars['name'] = preg_replace('/^(?:grav-)?(?:(?:'.$restrictedWords.')-)?(.*?)(?:-(?:'.$restrictedWords.'))?$/ui',
24
- '$1',
25
- $vars['name']
26
- );
27
-
28
- return $vars;
29
- }
30
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/HuradInstaller.php DELETED
@@ -1,25 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class HuradInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'plugin' => 'plugins/{$name}/',
8
- 'theme' => 'plugins/{$name}/',
9
- );
10
-
11
- /**
12
- * Format package name to CamelCase
13
- */
14
- public function inflectPackageVars($vars)
15
- {
16
- $nameParts = explode('/', $vars['name']);
17
- foreach ($nameParts as &$value) {
18
- $value = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $value));
19
- $value = str_replace(array('-', '_'), ' ', $value);
20
- $value = str_replace(' ', '', ucwords($value));
21
- }
22
- $vars['name'] = implode('/', $nameParts);
23
- return $vars;
24
- }
25
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/ImageCMSInstaller.php DELETED
@@ -1,11 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class ImageCMSInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'template' => 'templates/{$name}/',
8
- 'module' => 'application/modules/{$name}/',
9
- 'library' => 'application/libraries/{$name}/',
10
- );
11
- }
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/Installer.php DELETED
@@ -1,298 +0,0 @@
1
- <?php
2
-
3
- namespace Composer\Installers;
4
-
5
- use Composer\Composer;
6
- use Composer\Installer\BinaryInstaller;
7
- use Composer\Installer\LibraryInstaller;
8
- use Composer\IO\IOInterface;
9
- use Composer\Package\PackageInterface;
10
- use Composer\Repository\InstalledRepositoryInterface;
11
- use Composer\Util\Filesystem;
12
- use React\Promise\PromiseInterface;
13
-
14
- class Installer extends LibraryInstaller
15
- {
16
-
17
- /**
18
- * Package types to installer class map
19
- *
20
- * @var array
21
- */
22
- private $supportedTypes = array(
23
- 'aimeos' => 'AimeosInstaller',
24
- 'asgard' => 'AsgardInstaller',
25
- 'attogram' => 'AttogramInstaller',
26
- 'agl' => 'AglInstaller',
27
- 'annotatecms' => 'AnnotateCmsInstaller',
28
- 'bitrix' => 'BitrixInstaller',
29
- 'bonefish' => 'BonefishInstaller',
30
- 'cakephp' => 'CakePHPInstaller',
31
- 'chef' => 'ChefInstaller',
32
- 'civicrm' => 'CiviCrmInstaller',
33
- 'ccframework' => 'ClanCatsFrameworkInstaller',
34
- 'cockpit' => 'CockpitInstaller',
35
- 'codeigniter' => 'CodeIgniterInstaller',
36
- 'concrete5' => 'Concrete5Installer',
37
- 'craft' => 'CraftInstaller',
38
- 'croogo' => 'CroogoInstaller',
39
- 'dframe' => 'DframeInstaller',
40
- 'dokuwiki' => 'DokuWikiInstaller',
41
- 'dolibarr' => 'DolibarrInstaller',
42
- 'decibel' => 'DecibelInstaller',
43
- 'drupal' => 'DrupalInstaller',
44
- 'elgg' => 'ElggInstaller',
45
- 'eliasis' => 'EliasisInstaller',
46
- 'ee3' => 'ExpressionEngineInstaller',
47
- 'ee2' => 'ExpressionEngineInstaller',
48
- 'ezplatform' => 'EzPlatformInstaller',
49
- 'fuel' => 'FuelInstaller',
50
- 'fuelphp' => 'FuelphpInstaller',
51
- 'grav' => 'GravInstaller',
52
- 'hurad' => 'HuradInstaller',
53
- 'tastyigniter' => 'TastyIgniterInstaller',
54
- 'imagecms' => 'ImageCMSInstaller',
55
- 'itop' => 'ItopInstaller',
56
- 'joomla' => 'JoomlaInstaller',
57
- 'kanboard' => 'KanboardInstaller',
58
- 'kirby' => 'KirbyInstaller',
59
- 'known' => 'KnownInstaller',
60
- 'kodicms' => 'KodiCMSInstaller',
61
- 'kohana' => 'KohanaInstaller',
62
- 'lms' => 'LanManagementSystemInstaller',
63
- 'laravel' => 'LaravelInstaller',
64
- 'lavalite' => 'LavaLiteInstaller',
65
- 'lithium' => 'LithiumInstaller',
66
- 'magento' => 'MagentoInstaller',
67
- 'majima' => 'MajimaInstaller',
68
- 'mantisbt' => 'MantisBTInstaller',
69
- 'mako' => 'MakoInstaller',
70
- 'maya' => 'MayaInstaller',
71
- 'mautic' => 'MauticInstaller',
72
- 'mediawiki' => 'MediaWikiInstaller',
73
- 'miaoxing' => 'MiaoxingInstaller',
74
- 'microweber' => 'MicroweberInstaller',
75
- 'modulework' => 'MODULEWorkInstaller',
76
- 'modx' => 'ModxInstaller',
77
- 'modxevo' => 'MODXEvoInstaller',
78
- 'moodle' => 'MoodleInstaller',
79
- 'october' => 'OctoberInstaller',
80
- 'ontowiki' => 'OntoWikiInstaller',
81
- 'oxid' => 'OxidInstaller',
82
- 'osclass' => 'OsclassInstaller',
83
- 'pxcms' => 'PxcmsInstaller',
84
- 'phpbb' => 'PhpBBInstaller',
85
- 'pimcore' => 'PimcoreInstaller',
86
- 'piwik' => 'PiwikInstaller',
87
- 'plentymarkets'=> 'PlentymarketsInstaller',
88
- 'ppi' => 'PPIInstaller',
89
- 'puppet' => 'PuppetInstaller',
90
- 'radphp' => 'RadPHPInstaller',
91
- 'phifty' => 'PhiftyInstaller',
92
- 'porto' => 'PortoInstaller',
93
- 'processwire' => 'ProcessWireInstaller',
94
- 'quicksilver' => 'PantheonInstaller',
95
- 'redaxo' => 'RedaxoInstaller',
96
- 'redaxo5' => 'Redaxo5Installer',
97
- 'reindex' => 'ReIndexInstaller',
98
- 'roundcube' => 'RoundcubeInstaller',
99
- 'shopware' => 'ShopwareInstaller',
100
- 'sitedirect' => 'SiteDirectInstaller',
101
- 'silverstripe' => 'SilverStripeInstaller',
102
- 'smf' => 'SMFInstaller',
103
- 'starbug' => 'StarbugInstaller',
104
- 'sydes' => 'SyDESInstaller',
105
- 'sylius' => 'SyliusInstaller',
106
- 'symfony1' => 'Symfony1Installer',
107
- 'tao' => 'TaoInstaller',
108
- 'thelia' => 'TheliaInstaller',
109
- 'tusk' => 'TuskInstaller',
110
- 'typo3-cms' => 'TYPO3CmsInstaller',
111
- 'typo3-flow' => 'TYPO3FlowInstaller',
112
- 'userfrosting' => 'UserFrostingInstaller',
113
- 'vanilla' => 'VanillaInstaller',
114
- 'whmcs' => 'WHMCSInstaller',
115
- 'winter' => 'WinterInstaller',
116
- 'wolfcms' => 'WolfCMSInstaller',
117
- 'wordpress' => 'WordPressInstaller',
118
- 'yawik' => 'YawikInstaller',
119
- 'zend' => 'ZendInstaller',
120
- 'zikula' => 'ZikulaInstaller',
121
- 'prestashop' => 'PrestashopInstaller'
122
- );
123
-
124
- /**
125
- * Installer constructor.
126
- *
127
- * Disables installers specified in main composer extra installer-disable
128
- * list
129
- *
130
- * @param IOInterface $io
131
- * @param Composer $composer
132
- * @param string $type
133
- * @param Filesystem|null $filesystem
134
- * @param BinaryInstaller|null $binaryInstaller
135
- */
136
- public function __construct(
137
- IOInterface $io,
138
- Composer $composer,
139
- $type = 'library',
140
- Filesystem $filesystem = null,
141
- BinaryInstaller $binaryInstaller = null
142
- ) {
143
- parent::__construct($io, $composer, $type, $filesystem,
144
- $binaryInstaller);
145
- $this->removeDisabledInstallers();
146
- }
147
-
148
- /**
149
- * {@inheritDoc}
150
- */
151
- public function getInstallPath(PackageInterface $package)
152
- {
153
- $type = $package->getType();
154
- $frameworkType = $this->findFrameworkType($type);
155
-
156
- if ($frameworkType === false) {
157
- throw new \InvalidArgumentException(
158
- 'Sorry the package type of this package is not yet supported.'
159
- );
160
- }
161
-
162
- $class = 'Composer\\Installers\\' . $this->supportedTypes[$frameworkType];
163
- $installer = new $class($package, $this->composer, $this->getIO());
164
-
165
- return $installer->getInstallPath($package, $frameworkType);
166
- }
167
-
168
- public function uninstall(InstalledRepositoryInterface $repo, PackageInterface $package)
169
- {
170
- $installPath = $this->getPackageBasePath($package);
171
- $io = $this->io;
172
- $outputStatus = function () use ($io, $installPath) {
173
- $io->write(sprintf('Deleting %s - %s', $installPath, !file_exists($installPath) ? '<comment>deleted</comment>' : '<error>not deleted</error>'));
174
- };
175
-
176
- $promise = parent::uninstall($repo, $package);
177
-
178
- // Composer v2 might return a promise here
179
- if ($promise instanceof PromiseInterface) {
180
- return $promise->then($outputStatus);
181
- }
182
-
183
- // If not, execute the code right away as parent::uninstall executed synchronously (composer v1, or v2 without async)
184
- $outputStatus();
185
-
186
- return null;
187
- }
188
-
189
- /**
190
- * {@inheritDoc}
191
- */
192
- public function supports($packageType)
193
- {
194
- $frameworkType = $this->findFrameworkType($packageType);
195
-
196
- if ($frameworkType === false) {
197
- return false;
198
- }
199
-
200
- $locationPattern = $this->getLocationPattern($frameworkType);
201
-
202
- return preg_match('#' . $frameworkType . '-' . $locationPattern . '#', $packageType, $matches) === 1;
203
- }
204
-
205
- /**
206
- * Finds a supported framework type if it exists and returns it
207
- *
208
- * @param string $type
209
- * @return string|false
210
- */
211
- protected function findFrameworkType($type)
212
- {
213
- krsort($this->supportedTypes);
214
-
215
- foreach ($this->supportedTypes as $key => $val) {
216
- if ($key === substr($type, 0, strlen($key))) {
217
- return substr($type, 0, strlen($key));
218
- }
219
- }
220
-
221
- return false;
222
- }
223
-
224
- /**
225
- * Get the second part of the regular expression to check for support of a
226
- * package type
227
- *
228
- * @param string $frameworkType
229
- * @return string
230
- */
231
- protected function getLocationPattern($frameworkType)
232
- {
233
- $pattern = false;
234
- if (!empty($this->supportedTypes[$frameworkType])) {
235
- $frameworkClass = 'Composer\\Installers\\' . $this->supportedTypes[$frameworkType];
236
- /** @var BaseInstaller $framework */
237
- $framework = new $frameworkClass(null, $this->composer, $this->getIO());
238
- $locations = array_keys($framework->getLocations());
239
- $pattern = $locations ? '(' . implode('|', $locations) . ')' : false;
240
- }
241
-
242
- return $pattern ? : '(\w+)';
243
- }
244
-
245
- /**
246
- * Get I/O object
247
- *
248
- * @return IOInterface
249
- */
250
- private function getIO()
251
- {
252
- return $this->io;
253
- }
254
-
255
- /**
256
- * Look for installers set to be disabled in composer's extra config and
257
- * remove them from the list of supported installers.
258
- *
259
- * Globals:
260
- * - true, "all", and "*" - disable all installers.
261
- * - false - enable all installers (useful with
262
- * wikimedia/composer-merge-plugin or similar)
263
- *
264
- * @return void
265
- */
266
- protected function removeDisabledInstallers()
267
- {
268
- $extra = $this->composer->getPackage()->getExtra();
269
-
270
- if (!isset($extra['installer-disable']) || $extra['installer-disable'] === false) {
271
- // No installers are disabled
272
- return;
273
- }
274
-
275
- // Get installers to disable
276
- $disable = $extra['installer-disable'];
277
-
278
- // Ensure $disabled is an array
279
- if (!is_array($disable)) {
280
- $disable = array($disable);
281
- }
282
-
283
- // Check which installers should be disabled
284
- $all = array(true, "all", "*");
285
- $intersect = array_intersect($all, $disable);
286
- if (!empty($intersect)) {
287
- // Disable all installers
288
- $this->supportedTypes = array();
289
- } else {
290
- // Disable specified installers
291
- foreach ($disable as $key => $installer) {
292
- if (is_string($installer) && key_exists($installer, $this->supportedTypes)) {
293
- unset($this->supportedTypes[$installer]);
294
- }
295
- }
296
- }
297
- }
298
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/ItopInstaller.php DELETED
@@ -1,9 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class ItopInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'extension' => 'extensions/{$name}/',
8
- );
9
- }
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/JoomlaInstaller.php DELETED
@@ -1,15 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class JoomlaInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'component' => 'components/{$name}/',
8
- 'module' => 'modules/{$name}/',
9
- 'template' => 'templates/{$name}/',
10
- 'plugin' => 'plugins/{$name}/',
11
- 'library' => 'libraries/{$name}/',
12
- );
13
-
14
- // TODO: Add inflector for mod_ and com_ names
15
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/KanboardInstaller.php DELETED
@@ -1,18 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- /**
5
- *
6
- * Installer for kanboard plugins
7
- *
8
- * kanboard.net
9
- *
10
- * Class KanboardInstaller
11
- * @package Composer\Installers
12
- */
13
- class KanboardInstaller extends BaseInstaller
14
- {
15
- protected $locations = array(
16
- 'plugin' => 'plugins/{$name}/',
17
- );
18
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/KirbyInstaller.php DELETED
@@ -1,11 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class KirbyInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'plugin' => 'site/plugins/{$name}/',
8
- 'field' => 'site/fields/{$name}/',
9
- 'tag' => 'site/tags/{$name}/'
10
- );
11
- }
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/KnownInstaller.php DELETED
@@ -1,11 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class KnownInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'plugin' => 'IdnoPlugins/{$name}/',
8
- 'theme' => 'Themes/{$name}/',
9
- 'console' => 'ConsolePlugins/{$name}/',
10
- );
11
- }
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/KodiCMSInstaller.php DELETED
@@ -1,10 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class KodiCMSInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'plugin' => 'cms/plugins/{$name}/',
8
- 'media' => 'cms/media/vendor/{$name}/'
9
- );
10
- }
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/KohanaInstaller.php DELETED
@@ -1,9 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class KohanaInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'module' => 'modules/{$name}/',
8
- );
9
- }
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/LanManagementSystemInstaller.php DELETED
@@ -1,27 +0,0 @@
1
- <?php
2
-
3
- namespace Composer\Installers;
4
-
5
- class LanManagementSystemInstaller extends BaseInstaller
6
- {
7
-
8
- protected $locations = array(
9
- 'plugin' => 'plugins/{$name}/',
10
- 'template' => 'templates/{$name}/',
11
- 'document-template' => 'documents/templates/{$name}/',
12
- 'userpanel-module' => 'userpanel/modules/{$name}/',
13
- );
14
-
15
- /**
16
- * Format package name to CamelCase
17
- */
18
- public function inflectPackageVars($vars)
19
- {
20
- $vars['name'] = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $vars['name']));
21
- $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
22
- $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
23
-
24
- return $vars;
25
- }
26
-
27
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/LaravelInstaller.php DELETED
@@ -1,9 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class LaravelInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'library' => 'libraries/{$name}/',
8
- );
9
- }
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/LavaLiteInstaller.php DELETED
@@ -1,10 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class LavaLiteInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'package' => 'packages/{$vendor}/{$name}/',
8
- 'theme' => 'public/themes/{$name}/',
9
- );
10
- }
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/LithiumInstaller.php DELETED
@@ -1,10 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class LithiumInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'library' => 'libraries/{$name}/',
8
- 'source' => 'libraries/_source/{$name}/',
9
- );
10
- }
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php DELETED
@@ -1,9 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class MODULEWorkInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'module' => 'modules/{$name}/',
8
- );
9
- }
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/MODXEvoInstaller.php DELETED
@@ -1,16 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- /**
5
- * An installer to handle MODX Evolution specifics when installing packages.
6
- */
7
- class MODXEvoInstaller extends BaseInstaller
8
- {
9
- protected $locations = array(
10
- 'snippet' => 'assets/snippets/{$name}/',
11
- 'plugin' => 'assets/plugins/{$name}/',
12
- 'module' => 'assets/modules/{$name}/',
13
- 'template' => 'assets/templates/{$name}/',
14
- 'lib' => 'assets/lib/{$name}/'
15
- );
16
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/MagentoInstaller.php DELETED
@@ -1,11 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class MagentoInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'theme' => 'app/design/frontend/{$name}/',
8
- 'skin' => 'skin/frontend/default/{$name}/',
9
- 'library' => 'lib/{$name}/',
10
- );
11
- }
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/MajimaInstaller.php DELETED
@@ -1,37 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- /**
5
- * Plugin/theme installer for majima
6
- * @author David Neustadt
7
- */
8
- class MajimaInstaller extends BaseInstaller
9
- {
10
- protected $locations = array(
11
- 'plugin' => 'plugins/{$name}/',
12
- );
13
-
14
- /**
15
- * Transforms the names
16
- * @param array $vars
17
- * @return array
18
- */
19
- public function inflectPackageVars($vars)
20
- {
21
- return $this->correctPluginName($vars);
22
- }
23
-
24
- /**
25
- * Change hyphenated names to camelcase
26
- * @param array $vars
27
- * @return array
28
- */
29
- private function correctPluginName($vars)
30
- {
31
- $camelCasedName = preg_replace_callback('/(-[a-z])/', function ($matches) {
32
- return strtoupper($matches[0][1]);
33
- }, $vars['name']);
34
- $vars['name'] = ucfirst($camelCasedName);
35
- return $vars;
36
- }
37
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/MakoInstaller.php DELETED
@@ -1,9 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class MakoInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'package' => 'app/packages/{$name}/',
8
- );
9
- }
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/MantisBTInstaller.php DELETED
@@ -1,23 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- use Composer\DependencyResolver\Pool;
5
-
6
- class MantisBTInstaller extends BaseInstaller
7
- {
8
- protected $locations = array(
9
- 'plugin' => 'plugins/{$name}/',
10
- );
11
-
12
- /**
13
- * Format package name to CamelCase
14
- */
15
- public function inflectPackageVars($vars)
16
- {
17
- $vars['name'] = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $vars['name']));
18
- $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
19
- $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
20
-
21
- return $vars;
22
- }
23
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/MauticInstaller.php DELETED
@@ -1,48 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- use Composer\Package\PackageInterface;
5
-
6
- class MauticInstaller extends BaseInstaller
7
- {
8
- protected $locations = array(
9
- 'plugin' => 'plugins/{$name}/',
10
- 'theme' => 'themes/{$name}/',
11
- 'core' => 'app/',
12
- );
13
-
14
- private function getDirectoryName()
15
- {
16
- $extra = $this->package->getExtra();
17
- if (!empty($extra['install-directory-name'])) {
18
- return $extra['install-directory-name'];
19
- }
20
-
21
- return $this->toCamelCase($this->package->getPrettyName());
22
- }
23
-
24
- /**
25
- * @param string $packageName
26
- *
27
- * @return string
28
- */
29
- private function toCamelCase($packageName)
30
- {
31
- return str_replace(' ', '', ucwords(str_replace('-', ' ', basename($packageName))));
32
- }
33
-
34
- /**
35
- * Format package name of mautic-plugins to CamelCase
36
- */
37
- public function inflectPackageVars($vars)
38
- {
39
-
40
- if ($vars['type'] == 'mautic-plugin' || $vars['type'] == 'mautic-theme') {
41
- $directoryName = $this->getDirectoryName();
42
- $vars['name'] = $directoryName;
43
- }
44
-
45
- return $vars;
46
- }
47
-
48
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/MayaInstaller.php DELETED
@@ -1,33 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class MayaInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'module' => 'modules/{$name}/',
8
- );
9
-
10
- /**
11
- * Format package name.
12
- *
13
- * For package type maya-module, cut off a trailing '-module' if present.
14
- *
15
- */
16
- public function inflectPackageVars($vars)
17
- {
18
- if ($vars['type'] === 'maya-module') {
19
- return $this->inflectModuleVars($vars);
20
- }
21
-
22
- return $vars;
23
- }
24
-
25
- protected function inflectModuleVars($vars)
26
- {
27
- $vars['name'] = preg_replace('/-module$/', '', $vars['name']);
28
- $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
29
- $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
30
-
31
- return $vars;
32
- }
33
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/MediaWikiInstaller.php DELETED
@@ -1,51 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class MediaWikiInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'core' => 'core/',
8
- 'extension' => 'extensions/{$name}/',
9
- 'skin' => 'skins/{$name}/',
10
- );
11
-
12
- /**
13
- * Format package name.
14
- *
15
- * For package type mediawiki-extension, cut off a trailing '-extension' if present and transform
16
- * to CamelCase keeping existing uppercase chars.
17
- *
18
- * For package type mediawiki-skin, cut off a trailing '-skin' if present.
19
- *
20
- */
21
- public function inflectPackageVars($vars)
22
- {
23
-
24
- if ($vars['type'] === 'mediawiki-extension') {
25
- return $this->inflectExtensionVars($vars);
26
- }
27
-
28
- if ($vars['type'] === 'mediawiki-skin') {
29
- return $this->inflectSkinVars($vars);
30
- }
31
-
32
- return $vars;
33
- }
34
-
35
- protected function inflectExtensionVars($vars)
36
- {
37
- $vars['name'] = preg_replace('/-extension$/', '', $vars['name']);
38
- $vars['name'] = str_replace('-', ' ', $vars['name']);
39
- $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
40
-
41
- return $vars;
42
- }
43
-
44
- protected function inflectSkinVars($vars)
45
- {
46
- $vars['name'] = preg_replace('/-skin$/', '', $vars['name']);
47
-
48
- return $vars;
49
- }
50
-
51
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/MiaoxingInstaller.php DELETED
@@ -1,10 +0,0 @@
1
- <?php
2
-
3
- namespace Composer\Installers;
4
-
5
- class MiaoxingInstaller extends BaseInstaller
6
- {
7
- protected $locations = array(
8
- 'plugin' => 'plugins/{$name}/',
9
- );
10
- }
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/MicroweberInstaller.php DELETED
@@ -1,119 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class MicroweberInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'module' => 'userfiles/modules/{$install_item_dir}/',
8
- 'module-skin' => 'userfiles/modules/{$install_item_dir}/templates/',
9
- 'template' => 'userfiles/templates/{$install_item_dir}/',
10
- 'element' => 'userfiles/elements/{$install_item_dir}/',
11
- 'vendor' => 'vendor/{$install_item_dir}/',
12
- 'components' => 'components/{$install_item_dir}/'
13
- );
14
-
15
- /**
16
- * Format package name.
17
- *
18
- * For package type microweber-module, cut off a trailing '-module' if present
19
- *
20
- * For package type microweber-template, cut off a trailing '-template' if present.
21
- *
22
- */
23
- public function inflectPackageVars($vars)
24
- {
25
-
26
-
27
- if ($this->package->getTargetDir()) {
28
- $vars['install_item_dir'] = $this->package->getTargetDir();
29
- } else {
30
- $vars['install_item_dir'] = $vars['name'];
31
- if ($vars['type'] === 'microweber-template') {
32
- return $this->inflectTemplateVars($vars);
33
- }
34
- if ($vars['type'] === 'microweber-templates') {
35
- return $this->inflectTemplatesVars($vars);
36
- }
37
- if ($vars['type'] === 'microweber-core') {
38
- return $this->inflectCoreVars($vars);
39
- }
40
- if ($vars['type'] === 'microweber-adapter') {
41
- return $this->inflectCoreVars($vars);
42
- }
43
- if ($vars['type'] === 'microweber-module') {
44
- return $this->inflectModuleVars($vars);
45
- }
46
- if ($vars['type'] === 'microweber-modules') {
47
- return $this->inflectModulesVars($vars);
48
- }
49
- if ($vars['type'] === 'microweber-skin') {
50
- return $this->inflectSkinVars($vars);
51
- }
52
- if ($vars['type'] === 'microweber-element' or $vars['type'] === 'microweber-elements') {
53
- return $this->inflectElementVars($vars);
54
- }
55
- }
56
-
57
-
58
- return $vars;
59
- }
60
-
61
- protected function inflectTemplateVars($vars)
62
- {
63
- $vars['install_item_dir'] = preg_replace('/-template$/', '', $vars['install_item_dir']);
64
- $vars['install_item_dir'] = preg_replace('/template-$/', '', $vars['install_item_dir']);
65
-
66
- return $vars;
67
- }
68
-
69
- protected function inflectTemplatesVars($vars)
70
- {
71
- $vars['install_item_dir'] = preg_replace('/-templates$/', '', $vars['install_item_dir']);
72
- $vars['install_item_dir'] = preg_replace('/templates-$/', '', $vars['install_item_dir']);
73
-
74
- return $vars;
75
- }
76
-
77
- protected function inflectCoreVars($vars)
78
- {
79
- $vars['install_item_dir'] = preg_replace('/-providers$/', '', $vars['install_item_dir']);
80
- $vars['install_item_dir'] = preg_replace('/-provider$/', '', $vars['install_item_dir']);
81
- $vars['install_item_dir'] = preg_replace('/-adapter$/', '', $vars['install_item_dir']);
82
-
83
- return $vars;
84
- }
85
-
86
- protected function inflectModuleVars($vars)
87
- {
88
- $vars['install_item_dir'] = preg_replace('/-module$/', '', $vars['install_item_dir']);
89
- $vars['install_item_dir'] = preg_replace('/module-$/', '', $vars['install_item_dir']);
90
-
91
- return $vars;
92
- }
93
-
94
- protected function inflectModulesVars($vars)
95
- {
96
- $vars['install_item_dir'] = preg_replace('/-modules$/', '', $vars['install_item_dir']);
97
- $vars['install_item_dir'] = preg_replace('/modules-$/', '', $vars['install_item_dir']);
98
-
99
- return $vars;
100
- }
101
-
102
- protected function inflectSkinVars($vars)
103
- {
104
- $vars['install_item_dir'] = preg_replace('/-skin$/', '', $vars['install_item_dir']);
105
- $vars['install_item_dir'] = preg_replace('/skin-$/', '', $vars['install_item_dir']);
106
-
107
- return $vars;
108
- }
109
-
110
- protected function inflectElementVars($vars)
111
- {
112
- $vars['install_item_dir'] = preg_replace('/-elements$/', '', $vars['install_item_dir']);
113
- $vars['install_item_dir'] = preg_replace('/elements-$/', '', $vars['install_item_dir']);
114
- $vars['install_item_dir'] = preg_replace('/-element$/', '', $vars['install_item_dir']);
115
- $vars['install_item_dir'] = preg_replace('/element-$/', '', $vars['install_item_dir']);
116
-
117
- return $vars;
118
- }
119
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/ModxInstaller.php DELETED
@@ -1,12 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- /**
5
- * An installer to handle MODX specifics when installing packages.
6
- */
7
- class ModxInstaller extends BaseInstaller
8
- {
9
- protected $locations = array(
10
- 'extra' => 'core/packages/{$name}/'
11
- );
12
- }
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php DELETED
@@ -1,59 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class MoodleInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'mod' => 'mod/{$name}/',
8
- 'admin_report' => 'admin/report/{$name}/',
9
- 'atto' => 'lib/editor/atto/plugins/{$name}/',
10
- 'tool' => 'admin/tool/{$name}/',
11
- 'assignment' => 'mod/assignment/type/{$name}/',
12
- 'assignsubmission' => 'mod/assign/submission/{$name}/',
13
- 'assignfeedback' => 'mod/assign/feedback/{$name}/',
14
- 'auth' => 'auth/{$name}/',
15
- 'availability' => 'availability/condition/{$name}/',
16
- 'block' => 'blocks/{$name}/',
17
- 'booktool' => 'mod/book/tool/{$name}/',
18
- 'cachestore' => 'cache/stores/{$name}/',
19
- 'cachelock' => 'cache/locks/{$name}/',
20
- 'calendartype' => 'calendar/type/{$name}/',
21
- 'fileconverter' => 'files/converter/{$name}/',
22
- 'format' => 'course/format/{$name}/',
23
- 'coursereport' => 'course/report/{$name}/',
24
- 'customcertelement' => 'mod/customcert/element/{$name}/',
25
- 'datafield' => 'mod/data/field/{$name}/',
26
- 'datapreset' => 'mod/data/preset/{$name}/',
27
- 'editor' => 'lib/editor/{$name}/',
28
- 'enrol' => 'enrol/{$name}/',
29
- 'filter' => 'filter/{$name}/',
30
- 'gradeexport' => 'grade/export/{$name}/',
31
- 'gradeimport' => 'grade/import/{$name}/',
32
- 'gradereport' => 'grade/report/{$name}/',
33
- 'gradingform' => 'grade/grading/form/{$name}/',
34
- 'local' => 'local/{$name}/',
35
- 'logstore' => 'admin/tool/log/store/{$name}/',
36
- 'ltisource' => 'mod/lti/source/{$name}/',
37
- 'ltiservice' => 'mod/lti/service/{$name}/',
38
- 'message' => 'message/output/{$name}/',
39
- 'mnetservice' => 'mnet/service/{$name}/',
40
- 'plagiarism' => 'plagiarism/{$name}/',
41
- 'portfolio' => 'portfolio/{$name}/',
42
- 'qbehaviour' => 'question/behaviour/{$name}/',
43
- 'qformat' => 'question/format/{$name}/',
44
- 'qtype' => 'question/type/{$name}/',
45
- 'quizaccess' => 'mod/quiz/accessrule/{$name}/',
46
- 'quiz' => 'mod/quiz/report/{$name}/',
47
- 'report' => 'report/{$name}/',
48
- 'repository' => 'repository/{$name}/',
49
- 'scormreport' => 'mod/scorm/report/{$name}/',
50
- 'search' => 'search/engine/{$name}/',
51
- 'theme' => 'theme/{$name}/',
52
- 'tinymce' => 'lib/editor/tinymce/plugins/{$name}/',
53
- 'profilefield' => 'user/profile/field/{$name}/',
54
- 'webservice' => 'webservice/{$name}/',
55
- 'workshopallocation' => 'mod/workshop/allocation/{$name}/',
56
- 'workshopeval' => 'mod/workshop/eval/{$name}/',
57
- 'workshopform' => 'mod/workshop/form/{$name}/'
58
- );
59
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/OctoberInstaller.php DELETED
@@ -1,48 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class OctoberInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'module' => 'modules/{$name}/',
8
- 'plugin' => 'plugins/{$vendor}/{$name}/',
9
- 'theme' => 'themes/{$vendor}-{$name}/'
10
- );
11
-
12
- /**
13
- * Format package name.
14
- *
15
- * For package type october-plugin, cut off a trailing '-plugin' if present.
16
- *
17
- * For package type october-theme, cut off a trailing '-theme' if present.
18
- *
19
- */
20
- public function inflectPackageVars($vars)
21
- {
22
- if ($vars['type'] === 'october-plugin') {
23
- return $this->inflectPluginVars($vars);
24
- }
25
-
26
- if ($vars['type'] === 'october-theme') {
27
- return $this->inflectThemeVars($vars);
28
- }
29
-
30
- return $vars;
31
- }
32
-
33
- protected function inflectPluginVars($vars)
34
- {
35
- $vars['name'] = preg_replace('/^oc-|-plugin$/', '', $vars['name']);
36
- $vars['vendor'] = preg_replace('/[^a-z0-9_]/i', '', $vars['vendor']);
37
-
38
- return $vars;
39
- }
40
-
41
- protected function inflectThemeVars($vars)
42
- {
43
- $vars['name'] = preg_replace('/^oc-|-theme$/', '', $vars['name']);
44
- $vars['vendor'] = preg_replace('/[^a-z0-9_]/i', '', $vars['vendor']);
45
-
46
- return $vars;
47
- }
48
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/OntoWikiInstaller.php DELETED
@@ -1,24 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class OntoWikiInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'extension' => 'extensions/{$name}/',
8
- 'theme' => 'extensions/themes/{$name}/',
9
- 'translation' => 'extensions/translations/{$name}/',
10
- );
11
-
12
- /**
13
- * Format package name to lower case and remove ".ontowiki" suffix
14
- */
15
- public function inflectPackageVars($vars)
16
- {
17
- $vars['name'] = strtolower($vars['name']);
18
- $vars['name'] = preg_replace('/.ontowiki$/', '', $vars['name']);
19
- $vars['name'] = preg_replace('/-theme$/', '', $vars['name']);
20
- $vars['name'] = preg_replace('/-translation$/', '', $vars['name']);
21
-
22
- return $vars;
23
- }
24
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/OsclassInstaller.php DELETED
@@ -1,14 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
-
5
- class OsclassInstaller extends BaseInstaller
6
- {
7
-
8
- protected $locations = array(
9
- 'plugin' => 'oc-content/plugins/{$name}/',
10
- 'theme' => 'oc-content/themes/{$name}/',
11
- 'language' => 'oc-content/languages/{$name}/',
12
- );
13
-
14
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/OxidInstaller.php DELETED
@@ -1,59 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- use Composer\Package\PackageInterface;
5
-
6
- class OxidInstaller extends BaseInstaller
7
- {
8
- const VENDOR_PATTERN = '/^modules\/(?P<vendor>.+)\/.+/';
9
-
10
- protected $locations = array(
11
- 'module' => 'modules/{$name}/',
12
- 'theme' => 'application/views/{$name}/',
13
- 'out' => 'out/{$name}/',
14
- );
15
-
16
- /**
17
- * getInstallPath
18
- *
19
- * @param PackageInterface $package
20
- * @param string $frameworkType
21
- * @return string
22
- */
23
- public function getInstallPath(PackageInterface $package, $frameworkType = '')
24
- {
25
- $installPath = parent::getInstallPath($package, $frameworkType);
26
- $type = $this->package->getType();
27
- if ($type === 'oxid-module') {
28
- $this->prepareVendorDirectory($installPath);
29
- }
30
- return $installPath;
31
- }
32
-
33
- /**
34
- * prepareVendorDirectory
35
- *
36
- * Makes sure there is a vendormetadata.php file inside
37
- * the vendor folder if there is a vendor folder.
38
- *
39
- * @param string $installPath
40
- * @return void
41
- */
42
- protected function prepareVendorDirectory($installPath)
43
- {
44
- $matches = '';
45
- $hasVendorDirectory = preg_match(self::VENDOR_PATTERN, $installPath, $matches);
46
- if (!$hasVendorDirectory) {
47
- return;
48
- }
49
-
50
- $vendorDirectory = $matches['vendor'];
51
- $vendorPath = getcwd() . '/modules/' . $vendorDirectory;
52
- if (!file_exists($vendorPath)) {
53
- mkdir($vendorPath, 0755, true);
54
- }
55
-
56
- $vendorMetaDataPath = $vendorPath . '/vendormetadata.php';
57
- touch($vendorMetaDataPath);
58
- }
59
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/PPIInstaller.php DELETED
@@ -1,9 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class PPIInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'module' => 'modules/{$name}/',
8
- );
9
- }
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/PantheonInstaller.php DELETED
@@ -1,12 +0,0 @@
1
- <?php
2
-
3
- namespace Composer\Installers;
4
-
5
- class PantheonInstaller extends BaseInstaller
6
- {
7
- /** @var array<string, string> */
8
- protected $locations = array(
9
- 'script' => 'web/private/scripts/quicksilver/{$name}',
10
- 'module' => 'web/private/scripts/quicksilver/{$name}',
11
- );
12
- }
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/PhiftyInstaller.php DELETED
@@ -1,11 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class PhiftyInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'bundle' => 'bundles/{$name}/',
8
- 'library' => 'libraries/{$name}/',
9
- 'framework' => 'frameworks/{$name}/',
10
- );
11
- }
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/PhpBBInstaller.php DELETED
@@ -1,11 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class PhpBBInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'extension' => 'ext/{$vendor}/{$name}/',
8
- 'language' => 'language/{$name}/',
9
- 'style' => 'styles/{$name}/',
10
- );
11
- }
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/PimcoreInstaller.php DELETED
@@ -1,21 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class PimcoreInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'plugin' => 'plugins/{$name}/',
8
- );
9
-
10
- /**
11
- * Format package name to CamelCase
12
- */
13
- public function inflectPackageVars($vars)
14
- {
15
- $vars['name'] = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $vars['name']));
16
- $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
17
- $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
18
-
19
- return $vars;
20
- }
21
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/PiwikInstaller.php DELETED
@@ -1,32 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- /**
5
- * Class PiwikInstaller
6
- *
7
- * @package Composer\Installers
8
- */
9
- class PiwikInstaller extends BaseInstaller
10
- {
11
- /**
12
- * @var array
13
- */
14
- protected $locations = array(
15
- 'plugin' => 'plugins/{$name}/',
16
- );
17
-
18
- /**
19
- * Format package name to CamelCase
20
- * @param array $vars
21
- *
22
- * @return array
23
- */
24
- public function inflectPackageVars($vars)
25
- {
26
- $vars['name'] = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $vars['name']));
27
- $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
28
- $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
29
-
30
- return $vars;
31
- }
32
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/PlentymarketsInstaller.php DELETED
@@ -1,29 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class PlentymarketsInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'plugin' => '{$name}/'
8
- );
9
-
10
- /**
11
- * Remove hyphen, "plugin" and format to camelcase
12
- * @param array $vars
13
- *
14
- * @return array
15
- */
16
- public function inflectPackageVars($vars)
17
- {
18
- $vars['name'] = explode("-", $vars['name']);
19
- foreach ($vars['name'] as $key => $name) {
20
- $vars['name'][$key] = ucfirst($vars['name'][$key]);
21
- if (strcasecmp($name, "Plugin") == 0) {
22
- unset($vars['name'][$key]);
23
- }
24
- }
25
- $vars['name'] = implode("",$vars['name']);
26
-
27
- return $vars;
28
- }
29
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/Plugin.php DELETED
@@ -1,27 +0,0 @@
1
- <?php
2
-
3
- namespace Composer\Installers;
4
-
5
- use Composer\Composer;
6
- use Composer\IO\IOInterface;
7
- use Composer\Plugin\PluginInterface;
8
-
9
- class Plugin implements PluginInterface
10
- {
11
- private $installer;
12
-
13
- public function activate(Composer $composer, IOInterface $io)
14
- {
15
- $this->installer = new Installer($io, $composer);
16
- $composer->getInstallationManager()->addInstaller($this->installer);
17
- }
18
-
19
- public function deactivate(Composer $composer, IOInterface $io)
20
- {
21
- $composer->getInstallationManager()->removeInstaller($this->installer);
22
- }
23
-
24
- public function uninstall(Composer $composer, IOInterface $io)
25
- {
26
- }
27
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/PortoInstaller.php DELETED
@@ -1,9 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class PortoInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'container' => 'app/Containers/{$name}/',
8
- );
9
- }
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/PrestashopInstaller.php DELETED
@@ -1,10 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class PrestashopInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'module' => 'modules/{$name}/',
8
- 'theme' => 'themes/{$name}/',
9
- );
10
- }
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/ProcessWireInstaller.php DELETED
@@ -1,22 +0,0 @@
1
- <?php
2
-
3
- namespace Composer\Installers;
4
-
5
- class ProcessWireInstaller extends BaseInstaller
6
- {
7
- protected $locations = array(
8
- 'module' => 'site/modules/{$name}/',
9
- );
10
-
11
- /**
12
- * Format package name to CamelCase
13
- */
14
- public function inflectPackageVars($vars)
15
- {
16
- $vars['name'] = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $vars['name']));
17
- $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
18
- $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
19
-
20
- return $vars;
21
- }
22
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/PuppetInstaller.php DELETED
@@ -1,11 +0,0 @@
1
- <?php
2
-
3
- namespace Composer\Installers;
4
-
5
- class PuppetInstaller extends BaseInstaller
6
- {
7
-
8
- protected $locations = array(
9
- 'module' => 'modules/{$name}/',
10
- );
11
- }
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/PxcmsInstaller.php DELETED
@@ -1,63 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class PxcmsInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'module' => 'app/Modules/{$name}/',
8
- 'theme' => 'themes/{$name}/',
9
- );
10
-
11
- /**
12
- * Format package name.
13
- *
14
- * @param array $vars
15
- *
16
- * @return array
17
- */
18
- public function inflectPackageVars($vars)
19
- {
20
- if ($vars['type'] === 'pxcms-module') {
21
- return $this->inflectModuleVars($vars);
22
- }
23
-
24
- if ($vars['type'] === 'pxcms-theme') {
25
- return $this->inflectThemeVars($vars);
26
- }
27
-
28
- return $vars;
29
- }
30
-
31
- /**
32
- * For package type pxcms-module, cut off a trailing '-plugin' if present.
33
- *
34
- * return string
35
- */
36
- protected function inflectModuleVars($vars)
37
- {
38
- $vars['name'] = str_replace('pxcms-', '', $vars['name']); // strip out pxcms- just incase (legacy)
39
- $vars['name'] = str_replace('module-', '', $vars['name']); // strip out module-
40
- $vars['name'] = preg_replace('/-module$/', '', $vars['name']); // strip out -module
41
- $vars['name'] = str_replace('-', '_', $vars['name']); // make -'s be _'s
42
- $vars['name'] = ucwords($vars['name']); // make module name camelcased
43
-
44
- return $vars;
45
- }
46
-
47
-
48
- /**
49
- * For package type pxcms-module, cut off a trailing '-plugin' if present.
50
- *
51
- * return string
52
- */
53
- protected function inflectThemeVars($vars)
54
- {
55
- $vars['name'] = str_replace('pxcms-', '', $vars['name']); // strip out pxcms- just incase (legacy)
56
- $vars['name'] = str_replace('theme-', '', $vars['name']); // strip out theme-
57
- $vars['name'] = preg_replace('/-theme$/', '', $vars['name']); // strip out -theme
58
- $vars['name'] = str_replace('-', '_', $vars['name']); // make -'s be _'s
59
- $vars['name'] = ucwords($vars['name']); // make module name camelcased
60
-
61
- return $vars;
62
- }
63
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/RadPHPInstaller.php DELETED
@@ -1,24 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class RadPHPInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'bundle' => 'src/{$name}/'
8
- );
9
-
10
- /**
11
- * Format package name to CamelCase
12
- */
13
- public function inflectPackageVars($vars)
14
- {
15
- $nameParts = explode('/', $vars['name']);
16
- foreach ($nameParts as &$value) {
17
- $value = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $value));
18
- $value = str_replace(array('-', '_'), ' ', $value);
19
- $value = str_replace(' ', '', ucwords($value));
20
- }
21
- $vars['name'] = implode('/', $nameParts);
22
- return $vars;
23
- }
24
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/ReIndexInstaller.php DELETED
@@ -1,10 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class ReIndexInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'theme' => 'themes/{$name}/',
8
- 'plugin' => 'plugins/{$name}/'
9
- );
10
- }
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/Redaxo5Installer.php DELETED
@@ -1,10 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class Redaxo5Installer extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'addon' => 'redaxo/src/addons/{$name}/',
8
- 'bestyle-plugin' => 'redaxo/src/addons/be_style/plugins/{$name}/'
9
- );
10
- }
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/RedaxoInstaller.php DELETED
@@ -1,10 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class RedaxoInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'addon' => 'redaxo/include/addons/{$name}/',
8
- 'bestyle-plugin' => 'redaxo/include/addons/be_style/plugins/{$name}/'
9
- );
10
- }
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/RoundcubeInstaller.php DELETED
@@ -1,22 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class RoundcubeInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'plugin' => 'plugins/{$name}/',
8
- );
9
-
10
- /**
11
- * Lowercase name and changes the name to a underscores
12
- *
13
- * @param array $vars
14
- * @return array
15
- */
16
- public function inflectPackageVars($vars)
17
- {
18
- $vars['name'] = strtolower(str_replace('-', '_', $vars['name']));
19
-
20
- return $vars;
21
- }
22
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/SMFInstaller.php DELETED
@@ -1,10 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class SMFInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'module' => 'Sources/{$name}/',
8
- 'theme' => 'Themes/{$name}/',
9
- );
10
- }
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/ShopwareInstaller.php DELETED
@@ -1,60 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- /**
5
- * Plugin/theme installer for shopware
6
- * @author Benjamin Boit
7
- */
8
- class ShopwareInstaller extends BaseInstaller
9
- {
10
- protected $locations = array(
11
- 'backend-plugin' => 'engine/Shopware/Plugins/Local/Backend/{$name}/',
12
- 'core-plugin' => 'engine/Shopware/Plugins/Local/Core/{$name}/',
13
- 'frontend-plugin' => 'engine/Shopware/Plugins/Local/Frontend/{$name}/',
14
- 'theme' => 'templates/{$name}/',
15
- 'plugin' => 'custom/plugins/{$name}/',
16
- 'frontend-theme' => 'themes/Frontend/{$name}/',
17
- );
18
-
19
- /**
20
- * Transforms the names
21
- * @param array $vars
22
- * @return array
23
- */
24
- public function inflectPackageVars($vars)
25
- {
26
- if ($vars['type'] === 'shopware-theme') {
27
- return $this->correctThemeName($vars);
28
- }
29
-
30
- return $this->correctPluginName($vars);
31
- }
32
-
33
- /**
34
- * Changes the name to a camelcased combination of vendor and name
35
- * @param array $vars
36
- * @return array
37
- */
38
- private function correctPluginName($vars)
39
- {
40
- $camelCasedName = preg_replace_callback('/(-[a-z])/', function ($matches) {
41
- return strtoupper($matches[0][1]);
42
- }, $vars['name']);
43
-
44
- $vars['name'] = ucfirst($vars['vendor']) . ucfirst($camelCasedName);
45
-
46
- return $vars;
47
- }
48
-
49
- /**
50
- * Changes the name to a underscore separated name
51
- * @param array $vars
52
- * @return array
53
- */
54
- private function correctThemeName($vars)
55
- {
56
- $vars['name'] = str_replace('-', '_', $vars['name']);
57
-
58
- return $vars;
59
- }
60
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/SilverStripeInstaller.php DELETED
@@ -1,35 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- use Composer\Package\PackageInterface;
5
-
6
- class SilverStripeInstaller extends BaseInstaller
7
- {
8
- protected $locations = array(
9
- 'module' => '{$name}/',
10
- 'theme' => 'themes/{$name}/',
11
- );
12
-
13
- /**
14
- * Return the install path based on package type.
15
- *
16
- * Relies on built-in BaseInstaller behaviour with one exception: silverstripe/framework
17
- * must be installed to 'sapphire' and not 'framework' if the version is <3.0.0
18
- *
19
- * @param PackageInterface $package
20
- * @param string $frameworkType
21
- * @return string
22
- */
23
- public function getInstallPath(PackageInterface $package, $frameworkType = '')
24
- {
25
- if (
26
- $package->getName() == 'silverstripe/framework'
27
- && preg_match('/^\d+\.\d+\.\d+/', $package->getVersion())
28
- && version_compare($package->getVersion(), '2.999.999') < 0
29
- ) {
30
- return $this->templatePath($this->locations['module'], array('name' => 'sapphire'));
31
- }
32
-
33
- return parent::getInstallPath($package, $frameworkType);
34
- }
35
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/SiteDirectInstaller.php DELETED
@@ -1,25 +0,0 @@
1
- <?php
2
-
3
- namespace Composer\Installers;
4
-
5
- class SiteDirectInstaller extends BaseInstaller
6
- {
7
- protected $locations = array(
8
- 'module' => 'modules/{$vendor}/{$name}/',
9
- 'plugin' => 'plugins/{$vendor}/{$name}/'
10
- );
11
-
12
- public function inflectPackageVars($vars)
13
- {
14
- return $this->parseVars($vars);
15
- }
16
-
17
- protected function parseVars($vars)
18
- {
19
- $vars['vendor'] = strtolower($vars['vendor']) == 'sitedirect' ? 'SiteDirect' : $vars['vendor'];
20
- $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
21
- $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
22
-
23
- return $vars;
24
- }
25
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/StarbugInstaller.php DELETED
@@ -1,12 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class StarbugInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'module' => 'modules/{$name}/',
8
- 'theme' => 'themes/{$name}/',
9
- 'custom-module' => 'app/modules/{$name}/',
10
- 'custom-theme' => 'app/themes/{$name}/'
11
- );
12
- }
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/SyDESInstaller.php DELETED
@@ -1,47 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class SyDESInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'module' => 'app/modules/{$name}/',
8
- 'theme' => 'themes/{$name}/',
9
- );
10
-
11
- /**
12
- * Format module name.
13
- *
14
- * Strip `sydes-` prefix and a trailing '-theme' or '-module' from package name if present.
15
- *
16
- * {@inerhitDoc}
17
- */
18
- public function inflectPackageVars($vars)
19
- {
20
- if ($vars['type'] == 'sydes-module') {
21
- return $this->inflectModuleVars($vars);
22
- }
23
-
24
- if ($vars['type'] === 'sydes-theme') {
25
- return $this->inflectThemeVars($vars);
26
- }
27
-
28
- return $vars;
29
- }
30
-
31
- public function inflectModuleVars($vars)
32
- {
33
- $vars['name'] = preg_replace('/(^sydes-|-module$)/i', '', $vars['name']);
34
- $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
35
- $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
36
-
37
- return $vars;
38
- }
39
-
40
- protected function inflectThemeVars($vars)
41
- {
42
- $vars['name'] = preg_replace('/(^sydes-|-theme$)/', '', $vars['name']);
43
- $vars['name'] = strtolower($vars['name']);
44
-
45
- return $vars;
46
- }
47
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/SyliusInstaller.php DELETED
@@ -1,9 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class SyliusInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'theme' => 'themes/{$name}/',
8
- );
9
- }
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/Symfony1Installer.php DELETED
@@ -1,26 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- /**
5
- * Plugin installer for symfony 1.x
6
- *
7
- * @author Jérôme Tamarelle <jerome@tamarelle.net>
8
- */
9
- class Symfony1Installer extends BaseInstaller
10
- {
11
- protected $locations = array(
12
- 'plugin' => 'plugins/{$name}/',
13
- );
14
-
15
- /**
16
- * Format package name to CamelCase
17
- */
18
- public function inflectPackageVars($vars)
19
- {
20
- $vars['name'] = preg_replace_callback('/(-[a-z])/', function ($matches) {
21
- return strtoupper($matches[0][1]);
22
- }, $vars['name']);
23
-
24
- return $vars;
25
- }
26
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/TYPO3CmsInstaller.php DELETED
@@ -1,16 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- /**
5
- * Extension installer for TYPO3 CMS
6
- *
7
- * @deprecated since 1.0.25, use https://packagist.org/packages/typo3/cms-composer-installers instead
8
- *
9
- * @author Sascha Egerer <sascha.egerer@dkd.de>
10
- */
11
- class TYPO3CmsInstaller extends BaseInstaller
12
- {
13
- protected $locations = array(
14
- 'extension' => 'typo3conf/ext/{$name}/',
15
- );
16
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/TYPO3FlowInstaller.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- /**
5
- * An installer to handle TYPO3 Flow specifics when installing packages.
6
- */
7
- class TYPO3FlowInstaller extends BaseInstaller
8
- {
9
- protected $locations = array(
10
- 'package' => 'Packages/Application/{$name}/',
11
- 'framework' => 'Packages/Framework/{$name}/',
12
- 'plugin' => 'Packages/Plugins/{$name}/',
13
- 'site' => 'Packages/Sites/{$name}/',
14
- 'boilerplate' => 'Packages/Boilerplates/{$name}/',
15
- 'build' => 'Build/{$name}/',
16
- );
17
-
18
- /**
19
- * Modify the package name to be a TYPO3 Flow style key.
20
- *
21
- * @param array $vars
22
- * @return array
23
- */
24
- public function inflectPackageVars($vars)
25
- {
26
- $autoload = $this->package->getAutoload();
27
- if (isset($autoload['psr-0']) && is_array($autoload['psr-0'])) {
28
- $namespace = key($autoload['psr-0']);
29
- $vars['name'] = str_replace('\\', '.', $namespace);
30
- }
31
- if (isset($autoload['psr-4']) && is_array($autoload['psr-4'])) {
32
- $namespace = key($autoload['psr-4']);
33
- $vars['name'] = rtrim(str_replace('\\', '.', $namespace), '.');
34
- }
35
-
36
- return $vars;
37
- }
38
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/TaoInstaller.php DELETED
@@ -1,30 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- /**
5
- * An installer to handle TAO extensions.
6
- */
7
- class TaoInstaller extends BaseInstaller
8
- {
9
- const EXTRA_TAO_EXTENSION_NAME = 'tao-extension-name';
10
-
11
- protected $locations = array(
12
- 'extension' => '{$name}'
13
- );
14
-
15
- public function inflectPackageVars($vars)
16
- {
17
- $extra = $this->package->getExtra();
18
-
19
- if (array_key_exists(self::EXTRA_TAO_EXTENSION_NAME, $extra)) {
20
- $vars['name'] = $extra[self::EXTRA_TAO_EXTENSION_NAME];
21
- return $vars;
22
- }
23
-
24
- $vars['name'] = str_replace('extension-', '', $vars['name']);
25
- $vars['name'] = str_replace('-', ' ', $vars['name']);
26
- $vars['name'] = lcfirst(str_replace(' ', '', ucwords($vars['name'])));
27
-
28
- return $vars;
29
- }
30
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/TastyIgniterInstaller.php DELETED
@@ -1,32 +0,0 @@
1
- <?php
2
-
3
- namespace Composer\Installers;
4
-
5
- class TastyIgniterInstaller extends BaseInstaller
6
- {
7
- protected $locations = array(
8
- 'extension' => 'extensions/{$vendor}/{$name}/',
9
- 'theme' => 'themes/{$name}/',
10
- );
11
-
12
- /**
13
- * Format package name.
14
- *
15
- * Cut off leading 'ti-ext-' or 'ti-theme-' if present.
16
- * Strip vendor name of characters that is not alphanumeric or an underscore
17
- *
18
- */
19
- public function inflectPackageVars($vars)
20
- {
21
- if ($vars['type'] === 'tastyigniter-extension') {
22
- $vars['vendor'] = preg_replace('/[^a-z0-9_]/i', '', $vars['vendor']);
23
- $vars['name'] = preg_replace('/^ti-ext-/', '', $vars['name']);
24
- }
25
-
26
- if ($vars['type'] === 'tastyigniter-theme') {
27
- $vars['name'] = preg_replace('/^ti-theme-/', '', $vars['name']);
28
- }
29
-
30
- return $vars;
31
- }
32
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/TheliaInstaller.php DELETED
@@ -1,12 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class TheliaInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'module' => 'local/modules/{$name}/',
8
- 'frontoffice-template' => 'templates/frontOffice/{$name}/',
9
- 'backoffice-template' => 'templates/backOffice/{$name}/',
10
- 'email-template' => 'templates/email/{$name}/',
11
- );
12
- }
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/TuskInstaller.php DELETED
@@ -1,14 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
- /**
4
- * Composer installer for 3rd party Tusk utilities
5
- * @author Drew Ewing <drew@phenocode.com>
6
- */
7
- class TuskInstaller extends BaseInstaller
8
- {
9
- protected $locations = array(
10
- 'task' => '.tusk/tasks/{$name}/',
11
- 'command' => '.tusk/commands/{$name}/',
12
- 'asset' => 'assets/tusk/{$name}/',
13
- );
14
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/UserFrostingInstaller.php DELETED
@@ -1,9 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class UserFrostingInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'sprinkle' => 'app/sprinkles/{$name}/',
8
- );
9
- }
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/VanillaInstaller.php DELETED
@@ -1,10 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class VanillaInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'plugin' => 'plugins/{$name}/',
8
- 'theme' => 'themes/{$name}/',
9
- );
10
- }
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/VgmcpInstaller.php DELETED
@@ -1,49 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class VgmcpInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'bundle' => 'src/{$vendor}/{$name}/',
8
- 'theme' => 'themes/{$name}/'
9
- );
10
-
11
- /**
12
- * Format package name.
13
- *
14
- * For package type vgmcp-bundle, cut off a trailing '-bundle' if present.
15
- *
16
- * For package type vgmcp-theme, cut off a trailing '-theme' if present.
17
- *
18
- */
19
- public function inflectPackageVars($vars)
20
- {
21
- if ($vars['type'] === 'vgmcp-bundle') {
22
- return $this->inflectPluginVars($vars);
23
- }
24
-
25
- if ($vars['type'] === 'vgmcp-theme') {
26
- return $this->inflectThemeVars($vars);
27
- }
28
-
29
- return $vars;
30
- }
31
-
32
- protected function inflectPluginVars($vars)
33
- {
34
- $vars['name'] = preg_replace('/-bundle$/', '', $vars['name']);
35
- $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
36
- $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
37
-
38
- return $vars;
39
- }
40
-
41
- protected function inflectThemeVars($vars)
42
- {
43
- $vars['name'] = preg_replace('/-theme$/', '', $vars['name']);
44
- $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
45
- $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
46
-
47
- return $vars;
48
- }
49
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/WHMCSInstaller.php DELETED
@@ -1,21 +0,0 @@
1
- <?php
2
-
3
- namespace Composer\Installers;
4
-
5
- class WHMCSInstaller extends BaseInstaller
6
- {
7
- protected $locations = array(
8
- 'addons' => 'modules/addons/{$vendor}_{$name}/',
9
- 'fraud' => 'modules/fraud/{$vendor}_{$name}/',
10
- 'gateways' => 'modules/gateways/{$vendor}_{$name}/',
11
- 'notifications' => 'modules/notifications/{$vendor}_{$name}/',
12
- 'registrars' => 'modules/registrars/{$vendor}_{$name}/',
13
- 'reports' => 'modules/reports/{$vendor}_{$name}/',
14
- 'security' => 'modules/security/{$vendor}_{$name}/',
15
- 'servers' => 'modules/servers/{$vendor}_{$name}/',
16
- 'social' => 'modules/social/{$vendor}_{$name}/',
17
- 'support' => 'modules/support/{$vendor}_{$name}/',
18
- 'templates' => 'templates/{$vendor}_{$name}/',
19
- 'includes' => 'includes/{$vendor}_{$name}/'
20
- );
21
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/WinterInstaller.php DELETED
@@ -1,58 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class WinterInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'module' => 'modules/{$name}/',
8
- 'plugin' => 'plugins/{$vendor}/{$name}/',
9
- 'theme' => 'themes/{$name}/'
10
- );
11
-
12
- /**
13
- * Format package name.
14
- *
15
- * For package type winter-plugin, cut off a trailing '-plugin' if present.
16
- *
17
- * For package type winter-theme, cut off a trailing '-theme' if present.
18
- *
19
- */
20
- public function inflectPackageVars($vars)
21
- {
22
- if ($vars['type'] === 'winter-module') {
23
- return $this->inflectModuleVars($vars);
24
- }
25
-
26
- if ($vars['type'] === 'winter-plugin') {
27
- return $this->inflectPluginVars($vars);
28
- }
29
-
30
- if ($vars['type'] === 'winter-theme') {
31
- return $this->inflectThemeVars($vars);
32
- }
33
-
34
- return $vars;
35
- }
36
-
37
- protected function inflectModuleVars($vars)
38
- {
39
- $vars['name'] = preg_replace('/^wn-|-module$/', '', $vars['name']);
40
-
41
- return $vars;
42
- }
43
-
44
- protected function inflectPluginVars($vars)
45
- {
46
- $vars['name'] = preg_replace('/^wn-|-plugin$/', '', $vars['name']);
47
- $vars['vendor'] = preg_replace('/[^a-z0-9_]/i', '', $vars['vendor']);
48
-
49
- return $vars;
50
- }
51
-
52
- protected function inflectThemeVars($vars)
53
- {
54
- $vars['name'] = preg_replace('/^wn-|-theme$/', '', $vars['name']);
55
-
56
- return $vars;
57
- }
58
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/WolfCMSInstaller.php DELETED
@@ -1,9 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class WolfCMSInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'plugin' => 'wolf/plugins/{$name}/',
8
- );
9
- }
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/WordPressInstaller.php DELETED
@@ -1,12 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class WordPressInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'plugin' => 'wp-content/plugins/{$name}/',
8
- 'theme' => 'wp-content/themes/{$name}/',
9
- 'muplugin' => 'wp-content/mu-plugins/{$name}/',
10
- 'dropin' => 'wp-content/{$name}/',
11
- );
12
- }
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/YawikInstaller.php DELETED
@@ -1,32 +0,0 @@
1
- <?php
2
- /**
3
- * Created by PhpStorm.
4
- * User: cbleek
5
- * Date: 25.03.16
6
- * Time: 20:55
7
- */
8
-
9
- namespace Composer\Installers;
10
-
11
-
12
- class YawikInstaller extends BaseInstaller
13
- {
14
- protected $locations = array(
15
- 'module' => 'module/{$name}/',
16
- );
17
-
18
- /**
19
- * Format package name to CamelCase
20
- * @param array $vars
21
- *
22
- * @return array
23
- */
24
- public function inflectPackageVars($vars)
25
- {
26
- $vars['name'] = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $vars['name']));
27
- $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
28
- $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
29
-
30
- return $vars;
31
- }
32
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/ZendInstaller.php DELETED
@@ -1,11 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class ZendInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'library' => 'library/{$name}/',
8
- 'extra' => 'extras/library/{$name}/',
9
- 'module' => 'module/{$name}/',
10
- );
11
- }
 
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/Composer/Installers/ZikulaInstaller.php DELETED
@@ -1,10 +0,0 @@
1
- <?php
2
- namespace Composer\Installers;
3
-
4
- class ZikulaInstaller extends BaseInstaller
5
- {
6
- protected $locations = array(
7
- 'module' => 'modules/{$vendor}-{$name}/',
8
- 'theme' => 'themes/{$vendor}-{$name}/'
9
- );
10
- }
 
 
 
 
 
 
 
 
 
 
vendor/composer/installers/src/bootstrap.php DELETED
@@ -1,13 +0,0 @@
1
- <?php
2
- function includeIfExists($file)
3
- {
4
- if (file_exists($file)) {
5
- return include $file;
6
- }
7
- }
8
- if ((!$loader = includeIfExists(__DIR__ . '/../vendor/autoload.php')) && (!$loader = includeIfExists(__DIR__ . '/../../../autoload.php'))) {
9
- die('You must set up the project dependencies, run the following commands:'.PHP_EOL.
10
- 'curl -s http://getcomposer.org/installer | php'.PHP_EOL.
11
- 'php composer.phar install'.PHP_EOL);
12
- }
13
- return $loader;
 
 
 
 
 
 
 
 
 
 
 
 
 
wp-ulike.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: WP ULike
4
  * Plugin URI: https://wpulike.com/?utm_source=wp-plugins&utm_campaign=plugin-uri&utm_medium=wp-dash
5
  * Description: Receiving feedback is crucial as a content creator, but unfortunately, the pieces of content you can collect it on are limited by default. However, with the help of the WP ULike plugin, it is possible to cast voting to any type of content you may have on your website. With outstanding and eye-catching widgets, you can have Like and Dislike Button on all of your content would it be a post, comment, BuddyPress activity, bbPress topics, WooCommerce products, you name it. Now you can feel your users Love for each part of your work.
6
- * Version: 4.5.6
7
  * Author: TechnoWich
8
  * Author URI: https://technowich.com/?utm_source=wp-plugins&utm_campaign=author-uri&utm_medium=wp-dash
9
  * Text Domain: wp-ulike
@@ -26,24 +26,24 @@ if ( ! defined( 'ABSPATH' ) ) {
26
  }
27
 
28
  // Do not change these values
29
- define( 'WP_ULIKE_PLUGIN_URI' , 'https://wpulike.com/' );
30
- define( 'WP_ULIKE_VERSION' , '4.5.6' );
31
- define( 'WP_ULIKE_DB_VERSION' , '2.1' );
32
- define( 'WP_ULIKE_SLUG' , 'wp-ulike' );
33
- define( 'WP_ULIKE_NAME' , __( 'WP ULike', WP_ULIKE_SLUG ));
34
 
35
- define( 'WP_ULIKE_DIR' , plugin_dir_path( __FILE__ ) );
36
- define( 'WP_ULIKE_URL' , plugins_url( '', __FILE__ ) );
37
- define( 'WP_ULIKE_BASENAME' , plugin_basename( __FILE__ ) );
38
 
39
- define( 'WP_ULIKE_ADMIN_DIR' , WP_ULIKE_DIR . 'admin' );
40
- define( 'WP_ULIKE_ADMIN_URL' , WP_ULIKE_URL . '/admin' );
41
 
42
- define( 'WP_ULIKE_INC_DIR' , WP_ULIKE_DIR . 'includes' );
43
- define( 'WP_ULIKE_INC_URL' , WP_ULIKE_URL . '/includes' );
44
 
45
- define( 'WP_ULIKE_ASSETS_DIR' , WP_ULIKE_DIR . 'assets' );
46
- define( 'WP_ULIKE_ASSETS_URL' , WP_ULIKE_URL . '/assets' );
47
 
48
  /**
49
  * Initialize the plugin
3
  * Plugin Name: WP ULike
4
  * Plugin URI: https://wpulike.com/?utm_source=wp-plugins&utm_campaign=plugin-uri&utm_medium=wp-dash
5
  * Description: Receiving feedback is crucial as a content creator, but unfortunately, the pieces of content you can collect it on are limited by default. However, with the help of the WP ULike plugin, it is possible to cast voting to any type of content you may have on your website. With outstanding and eye-catching widgets, you can have Like and Dislike Button on all of your content would it be a post, comment, BuddyPress activity, bbPress topics, WooCommerce products, you name it. Now you can feel your users Love for each part of your work.
6
+ * Version: 4.5.7
7
  * Author: TechnoWich
8
  * Author URI: https://technowich.com/?utm_source=wp-plugins&utm_campaign=author-uri&utm_medium=wp-dash
9
  * Text Domain: wp-ulike
26
  }
27
 
28
  // Do not change these values
29
+ define( 'WP_ULIKE_PLUGIN_URI' , 'https://wpulike.com/' );
30
+ define( 'WP_ULIKE_VERSION' , '4.5.7' );
31
+ define( 'WP_ULIKE_DB_VERSION' , '2.2' );
32
+ define( 'WP_ULIKE_SLUG' , 'wp-ulike' );
33
+ define( 'WP_ULIKE_NAME' , __( 'WP ULike', WP_ULIKE_SLUG ) );
34
 
35
+ define( 'WP_ULIKE_DIR' , plugin_dir_path( __FILE__ ) );
36
+ define( 'WP_ULIKE_URL' , plugins_url( '', __FILE__ ) );
37
+ define( 'WP_ULIKE_BASENAME' , plugin_basename( __FILE__ ) );
38
 
39
+ define( 'WP_ULIKE_ADMIN_DIR' , WP_ULIKE_DIR . 'admin' );
40
+ define( 'WP_ULIKE_ADMIN_URL' , WP_ULIKE_URL . '/admin' );
41
 
42
+ define( 'WP_ULIKE_INC_DIR' , WP_ULIKE_DIR . 'includes' );
43
+ define( 'WP_ULIKE_INC_URL' , WP_ULIKE_URL . '/includes' );
44
 
45
+ define( 'WP_ULIKE_ASSETS_DIR' , WP_ULIKE_DIR . 'assets' );
46
+ define( 'WP_ULIKE_ASSETS_URL' , WP_ULIKE_URL . '/assets' );
47
 
48
  /**
49
  * Initialize the plugin