Browse code

Reintroduce Number of Likes ratings option proper - 3.5.7 still references this, and the definition conflict is solved. This would have been an issue in future PHP 9.

Clarissa Walker authored on 2026/08/22 19:49:45
Showing 2 changed files
... ...
@@ -63,6 +63,7 @@ define ("_GO", "Go");
63 63
 define ("_HALFSTAR", "half-star");
64 64
 define ("_JAVASCRIPTOFF", "You must have javascript enabled for this form to work properly."); // Modified for version 3.0
65 65
 define ("_LIKE", "like");
66
+define ("_LIKES_NUMBER", "Number of Likes");
66 67
 define ("_LOGIN", "Log In");
67 68
 define ("_PLEASELOGIN", "Please login to access this feature.");
68 69
 define ("_MEMBER", "Member");
... ...
@@ -443,4 +444,4 @@ define ("_RULESVIOLATION", "Violation of Rules");
443 444
 define ("_BUGREPORT", "Bug Report");
444 445
 define ("_REPORTTHIS", "Report This");
445 446
 
446
-?>
447 447
\ No newline at end of file
448
+?>
... ...
@@ -132,7 +132,7 @@ define ("_INSTALLMODULE", "Install this module");
132 132
 define ("_LANGUAGE", "Language");
133 133
 define ("_LEVEL", "Level");
134 134
 define ("_LIKESYS", "Like/Dislike"); // Changed to avoid conflict with user _LIKE declaration
135
-if (!defined("_LIKES_NUMBER")) define("_LIKES_NUMBER", "Number of Likes");  
135
+define ("_LIKES_NUMBER_SYS", "Number of Likes");
136 136
 define ("_LINKACCESS", "Link Access Level"); 
137 137
 define ("_LINKKEY", "Link Access Key");
138 138
 define ("_LINKRANGE", "Size of Range for Page Links");