XoopsModules25x /
xdonations
This project does not seem to handle request data directly as such no vulnerable execution paths were found.
include, or for example
via PHP's auto-loading mechanism.
These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
| 1 | <?php |
||
|
0 ignored issues
–
show
|
|||
| 2 | /** |
||
| 3 | */ |
||
| 4 | $moduleDirName = basename(dirname(dirname(__DIR__))); |
||
| 5 | define('_AD_DON_ADD', 'Add'); |
||
| 6 | define('_AD_DON_ADD_ANYWAY', 'Add user to Group/Rank if donating anonymously'); |
||
| 7 | define('_AD_DON_ALERTE_INPUT_NUMBER', 'Please enter a number for the "' + fieldLabel +'" field.'); |
||
| 8 | define('_AD_DON_ALERTE_INPUT_NUMBER_B', 'Please enter a number or a blank for the "' + fieldLabel +'" field.'); |
||
| 9 | define('_AD_DON_ALERTE_INPUT_STRING', "Please enter a value for the "%1\$s" field."); |
||
| 10 | define('_AD_DON_ALERTE_URL_FOR_CANCEL', 'There is no URL for a Cancelled payment. If you do not enter' . '<br />' . 'a URL for cancelled payments PayPal will also use' . '<br />' . 'this URL for cancelled payments.'); |
||
| 11 | |||
| 12 | define('_AD_DON_AMOUNT', 'Amount'); |
||
| 13 | define('_AD_DON_AMOUNT_DEFAULT', 'Which donation amount below' . '<br />' . 'is checked by default?'); |
||
| 14 | |||
| 15 | define('_AD_DON_BUTTON_URL', 'https://www.paypal.com/en_US/i/btn/x-click-but21.gif'); |
||
| 16 | define('_AD_DON_CLEAR_LOG', 'Clear Log'); |
||
| 17 | define('_AD_DON_CLEAR_THIS_LOG', 'Are you sure you want to Delete the Transaction Log?'); |
||
| 18 | define('_AD_DON_CONFIG_PAYPAL_HEADER', 'PayPal Configuration'); |
||
| 19 | define('_AD_DON_CONFIG_MODULE', 'Donations Module Config'); |
||
| 20 | define('_AD_DON_CONFIGURATION', 'Config'); |
||
| 21 | define('_AD_DON_CONFIRM_ACTION', 'Are you sure you want to do this now?'); |
||
| 22 | define('_AD_DON_CONFIRM_DELETE', 'Are you sure you want to delete this record?'); |
||
| 23 | define('_AD_DON_CONFIRM_IMG_URL', 'This URL does not begin with https://' . '<br />' . 'This image should reside on an HTTPS server.' . '<br />' . 'If you use this URL, users will receive a warning' . '<br />' . 'about viewing secure and non-secure data on the same page.' . '<br />' . ' Are you sure you want to continue?'); |
||
| 24 | |||
| 25 | define('_AD_DON_CONFIRM_TOTAL_UP', 'This action will total up all recent PayPal IPN ' . 'transactions and post them here in the register. ' . 'Are you sure you want to do this now ?'); |
||
| 26 | |||
| 27 | define('_AD_DON_CONTINUE', 'Continue'); |
||
| 28 | define('_AD_DON_CURRENT', 'Current'); |
||
| 29 | define('_AD_DON_CUST_ID', 'Customer PayPal ID:'); |
||
| 30 | define('_AD_DON_CUST_NAME', 'Customer:'); |
||
| 31 | define('_AD_DON_DATE', 'Date'); |
||
| 32 | define('_AD_DON_DEFAULT', 'Default'); |
||
| 33 | define('_AD_DON_DESCRIPTION', 'Description'); |
||
| 34 | define('_AD_DON_DONATIONS', 'Donations'); |
||
| 35 | define('_AD_DON_ERR_BAD_DATE_FORMAT', 'Invalid Date format'); |
||
| 36 | define('_AD_DON_ERR_BAD_NAME_FORMAT', 'The Name field cannot be blank'); |
||
| 37 | define('_AD_DON_ERR_DB_INSERTION', '<span style="font-weight: bold; color: red;"> ERROR:</span> ' . 'There are %d to import, but there was an<br />' . 'error encoutered during db record insertion into Financial ' . 'table.<br />Insertion <span style="font-weight: bold; color: red;">FAILED</span>'); |
||
| 38 | define('_AD_DON_ERR_INVALID_RECORD_ID', 'Invalid record id specified, operation aborted'); |
||
| 39 | define('_AD_DON_ERR_SQL_FAILURE', '<span style="color: #0000FF;"><span style="font-weight: bold;">If you see this screen ' . 'then an SQL error was encountered</span><br />' . 'You should see a message in <span style="color: #FF0000;">RED</span> below indicating ' . 'the error condition</span>'); |
||
| 40 | define('_AD_DON_FIELD_PASSED', 'Field passed validation !'); |
||
| 41 | define('_AD_DON_GOAL', 'Goal'); |
||
| 42 | define('_AD_DON_GOAL_DONATION', 'Goal donation'); |
||
| 43 | define('_AD_DON_GOAL_HEBDO', 'Donation goals by week (4 weeks in a month)'); |
||
| 44 | define('_AD_DON_GOAL_MENSUEL', 'Donation goals by month'); |
||
| 45 | define('_AD_DON_GOAL_PREFERENCES', 'Goal Preferences'); |
||
| 46 | define('_AD_DON_GOAL_QUARTER', 'Donation goals by quarter'); |
||
| 47 | define('_AD_DON_GOAL_TYPE', 'Choose which goal type you would like to use.'); |
||
| 48 | define('_AD_DON_GROSS', 'Gross Amount'); |
||
| 49 | define('_AD_DON_HEIGHT', 'Height'); |
||
| 50 | define('_AD_DON_IMAGE_SIZE', 'Image dimensions'); |
||
| 51 | define('_AD_DON_IMG_BUTTON_TOP', 'Donations page top button'); |
||
| 52 | define('_AD_DON_IMG_BUTTON_URL', 'Donations page "Submit" button'); |
||
| 53 | define('_AD_DON_INTRODUCE_TEXT', 'Donations page text'); |
||
| 54 | define('_AD_DON_INVALID_AMOUNT', 'Invalid Amount field'); |
||
| 55 | define('_AD_DON_INVALID_AMOUNT2', 'Invalid Amount field, do not use any characters other than -.0123456789'); |
||
| 56 | define('_AD_DON_IPN_EMAIL_RECEIVER', 'PayPal Receiver Email'); |
||
| 57 | define('_AD_DON_IPN_LINK', 'IPN link for PayPal'); |
||
| 58 | define('_AD_DON_IPN_LOGGING', 'IPN Logging Options'); |
||
| 59 | define('_AD_DON_IPN_LOGGING_LEVEL', 'Logging level'); |
||
| 60 | define('_AD_DON_IPN_URL', 'Please choose which Paypal IPN url you will use.'); |
||
| 61 | define('_AD_DON_IPN_URL_CANCELED', 'URL for cancelled donation'); |
||
| 62 | define('_AD_DON_IPN_URL_SUCCESS', 'URL for Donation \'Thank You\''); |
||
| 63 | define('_AD_DON_ITEM_INFO', 'Item Info'); |
||
| 64 | define('_AD_DON_LOG_CLEARED', 'IPN Log cleared'); |
||
| 65 | define('_AD_DON_LOG_DATE', 'Log Date: '); |
||
| 66 | define('_AD_DON_LOG_EMPTY', 'There are no IPN transaction logs in the database'); |
||
| 67 | define('_AD_DON_LOG_ENTRY', 'Keep this many log entries'); |
||
| 68 | define('_AD_DON_LOG_ENTRY_TXT', 'Log Text: '); |
||
| 69 | define('_AD_DON_LOG_EVERYTHING', 'Log everything'); |
||
| 70 | define('_AD_DON_LOG_NOT_CLEARED', 'IPN Log NOT cleared'); |
||
| 71 | define('_AD_DON_LOG_OFF', 'Off'); |
||
| 72 | define('_AD_DON_LOG_ONLY_ERRORS', 'Only log errors'); |
||
| 73 | define('_AD_DON_MONTH', 'Month'); |
||
| 74 | define('_AD_DON_MONTH_GOAL', 'month goal'); |
||
| 75 | define('_AD_DON_NAME', 'Name'); |
||
| 76 | define('_AD_DON_NETBAL', 'Net Balance'); |
||
| 77 | define('_AD_DON_NEW_IPN_COUNT', 'Number of new IPN records:'); |
||
| 78 | define('_AD_DON_NEXT_NEWEST', 'Next Newest'); |
||
| 79 | define('_AD_DON_NEXT_OLDEST', 'Next Oldest'); |
||
| 80 | define('_AD_DON_NO_NEW_IPNS', 'There are no new IPN records to import! '); |
||
| 81 | define('_AD_DON_NONE', 'None'); |
||
| 82 | define('_AD_DON_NUM', 'Num'); |
||
| 83 | define('_AD_DON_NUMBER_ORDINAUX', '1st|2nd|3rd|4th|5th|6th|7th|8th|9th|10th'); |
||
| 84 | define('_AD_DON_OLDEST', 'Oldest'); |
||
| 85 | define('_AD_DON_PMNT_DATE', 'Payment Date: '); |
||
| 86 | define('_AD_DON_PMNT_TYPE', 'Payment Type: '); |
||
| 87 | define('_AD_DON_PP_ASK_CP_ADRESS', 'Ask user for postal address'); |
||
| 88 | define('_AD_DON_PP_GROUP', 'Select a Group to assign donors to'); |
||
| 89 | define('_AD_DON_PP_IMG', 'URL of image to display in PayPal'); |
||
| 90 | define('_AD_DON_PP_ITEM_NAME', 'PayPal Item Name'); |
||
| 91 | define('_AD_DON_PP_ITEM_NUMBER', 'PayPal Item Number'); |
||
| 92 | define('_AD_DON_PP_MONEY', 'Choose your currency'); |
||
| 93 | define('_AD_DON_PP_RANK', 'Select a Rank to assign donors to'); |
||
| 94 | define('_AD_DON_QUARTER', 'Quarter'); |
||
| 95 | define('_AD_DON_QUARTER_GOAL', 'quarter goal'); |
||
| 96 | define('_AD_DON_RECORDS_INSERTED', '<span style="font-weight: bold;">%d</span> IPN records have been imported for a total of %s%0.2f'); |
||
| 97 | define('_AD_DON_RESET', 'Rest'); |
||
| 98 | define('_AD_DON_RETURN', 'Return'); |
||
| 99 | define('_AD_DON_SEARCH_FORM', 'Search By Transaction ID'); |
||
| 100 | define('_AD_DON_SEARCH_TERM', 'Search for:'); |
||
| 101 | define('_AD_DON_SHORT_MONTH', 'Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec'); |
||
| 102 | define('_AD_DON_SHOW_LOG', 'IPN Log'); |
||
| 103 | define('_AD_DON_SHOW_TXN', 'Transactions'); |
||
| 104 | define('_AD_DON_SUBMIT', 'Submit'); |
||
| 105 | define('_AD_DON_SUGGESTED_AMOUNT', 'Suggested Donation amounts'); |
||
| 106 | define('_AD_DON_SWING_DAY', 'Swing day'); |
||
| 107 | define('_AD_DON_SYNCHRONISE_IPN', 'PayPal IPN Reconcile'); |
||
| 108 | define('AD_DON_T_ASSIGN_GROUP', 'Select the Group that users should be assigned to upon a successful donation.'); |
||
| 109 | define('AD_DON_T_ASSIGN_RANK', 'Select the Rank that users should be assigned to upon a successful donation.'); |
||
| 110 | define('_AD_DON_T_DON_AMOUNT_1', 'The Donations module provides a list of suggested donations amounts. You can customize this list below.'); |
||
| 111 | define('_AD_DON_T_DON_AMOUNT_2', ''); |
||
| 112 | define('_AD_DON_T_DON_AMOUNT_3', ''); |
||
| 113 | define('_AD_DON_T_DON_AMOUNT_4', ''); |
||
| 114 | define('_AD_DON_T_DON_AMOUNT_5', ''); |
||
| 115 | define('_AD_DON_T_DON_AMOUNT_6', ''); |
||
| 116 | define('_AD_DON_T_DON_AMOUNT_7', ''); |
||
| 117 | define('_AD_DON_T_DON_AMT_CHECKED_', 'The Donations module provides a list of suggested donations amounts.' . '<br />' . 'You can customize this list below. In this box, specify which of the amounts ' . 'listed below should be checked by default.'); |
||
| 118 | |||
| 119 | define('_AD_DON_T_DON_BUTTON_SUBMIT_', 'Enter a complete URL for the image to use for at the bottom of the Donations module to submit a donation.'); |
||
| 120 | define('_AD_DON_T_DON_BUTTON_TOP_', 'Enter a complete URL for the image to use for at the top of the Donations module.'); |
||
| 121 | define('_AD_DON_T_DON_FORCEADD_', 'Add user to group/rank even if user selects to remain anonymous'); |
||
| 122 | define('_AD_DON_T_DON_NAME_NO_', 'Enter the text for a "NO" selection'); |
||
| 123 | define('AD_DON_T_DON_NAME_PROMPT', 'Enter the text for the prompt asking a user if they want their name revealed.'); |
||
| 124 | define('_AD_DON_T_don_name_yes_', 'Enter the text for a "YES" selection'); |
||
| 125 | define('_AD_DON_T_don_sub_img_height_', ''); |
||
| 126 | define('_AD_DON_T_don_sub_img_width_', 'Restrict the dimensions for the above image.' . '<br />' . 'To use the image's native size leave both boxes blank.'); |
||
| 127 | |||
| 128 | define('_AD_DON_T_don_text_rawtext', 'We are a non-profit organization completely supported by you, the members. Many organizations have web sites, servers and Internet bandwidth donated by it\'s members. We pride ourselves on being run and owned as a community, and not by a few power-hungry members. This means that we need you to be a part of that community. We encourage every member to contribute to the community in any way that they can. Since we do not have our servers or bandwidth donated, we have to pay our bills every month to keep things going. For those of you who can, we ask that you make a monetary contribution in whatever denomination you\'d like. Every little bit counts.'); |
||
| 129 | define('_AD_DON_T_don_top_img_height_', ''); |
||
| 130 | define('_AD_DON_T_don_top_img_width_', 'Restrict the dimensions for the above image. To use the image's native size\r\nleave both boxes blank.'); |
||
| 131 | define('_AD_DON_T_ipn_dbg_lvl_', 'There is an IPN logging feature which has' . '<br />' . 'three log levels:' . '<br />' . '1) OFF' . '<br />' . '2) Log only Errors' . '<br />' . '3) Log everything' . '<br />' . 'This log is stored in the "translog" table.'); |
||
| 132 | |||
| 133 | define('_AD_DON_T_ipn_log_entries_', 'Enter the maximum number of log entries to keep in the log table.'); |
||
| 134 | define('_AD_DON_T_month_goal_Apr', ''); |
||
| 135 | define('_AD_DON_T_month_goal_Aug', ''); |
||
| 136 | define('_AD_DON_T_month_goal_Dec', ''); |
||
| 137 | define('_AD_DON_T_month_goal_Feb', ''); |
||
| 138 | define('_AD_DON_T_month_goal_Jan', 'Enter the dollar amounts for each month's' . '<br />' . 'donation goal.'); |
||
| 139 | |||
| 140 | define('_AD_DON_T_month_goal_Jul', ''); |
||
| 141 | define('_AD_DON_T_month_goal_Jun', ''); |
||
| 142 | define('_AD_DON_T_month_goal_Mar', ''); |
||
| 143 | define('_AD_DON_T_month_goal_May', ''); |
||
| 144 | define('_AD_DON_T_month_goal_Nov', ''); |
||
| 145 | define('_AD_DON_T_month_goal_Oct', ''); |
||
| 146 | define('_AD_DON_T_month_goal_Sep', ''); |
||
| 147 | define('_AD_DON_T_paypal_url_array', 'Please choose which Paypal IPN url you will use.' . '<br />' . 'The sandbox.paypal.com url is for testing only.'); |
||
| 148 | |||
| 149 | define('_AD_DON_T_pp_cancel_url_', 'Enter a URL here for a web page that users will be taken to when they cancel their' . '<br />' . 'payment.' . '<br />' . ' You should use this feature if you have filled in a "Thank You" URL.' . '<br />'); |
||
| 150 | define('_AD_DON_T_pp_curr_code_array', 'Choose your default currency:' . '<br />' . 'AUD = Austrailian Dollar' . '<br />' . 'BRL = Brazilian Real' . '<br />' . 'CAD = Canadian Dollar' . '<br />' . 'CHF = Swiss Franc' . '<br />' . 'CZK = Czech Koruna' . '<br />' . 'DKK = Danish Kroner' . '<br />' . 'EUR = Euro' . '<br />' . 'GBP = British Pound' . '<br />' . 'HKD = Hong Kong Dollar' . '<br />' . 'HUF = Hungarian Forint' . '<br />' . 'ILS = Israeli New Shekel' . '<br />' . 'JPY = Japanese Yen' . '<br />' . 'MXN = Mexican Peso' . '<br />' . 'MYR = Malaysian Ringgit' . '<br />' . 'NOK = Norwegian Kroner' . '<br />' . 'NZD = New Zealand Dollar' . '<br />' . 'PHP = Philippine Peso' . '<br />' . 'PLN = Polish Zloty' . '<br />' . 'SEK = Swedish Kroner' . '<br />' . 'SGD = Singapore Dollar' . '<br />' . 'THB = Thai Baht' . '<br />' . 'TWD = Taiwan New Dollar' . '<br />' . 'USD = United States Dollar' . '<br />'); |
||
| 151 | |||
| 152 | define('_AD_DON_T_pp_get_addr_', 'Would you like PayPal to gather the user\'s shipping address?' . '<br />' . 'Users can opt out of this. This could be useful if you wanted to send ' . 'them holiday cards or something.'); |
||
| 153 | |||
| 154 | define('_AD_DON_T_pp_image_url_', 'You can have a custom image displayed at the top of the PayPal screen when your users are donating.' . '<br />' . ' Enter the URL for the image to display here.' . '<br />' . ' NOTE: You should not enter a non HTTPS:// URL. If you enter a URL from a ' . 'non-secure server your users will continually be warned that they are about ' . 'to display secure and non-secure information.'); |
||
| 155 | |||
| 156 | define('_AD_DON_T_pp_item_num_', 'Enter the IPN item number used for your donations. This feature is currently not used.'); |
||
| 157 | define('_AD_DON_T_pp_itemname_', 'Enter the IPN item name used for your donations. This feature is currently not used.'); |
||
| 158 | define('_AD_DON_T_quarter_goal_1st', 'Enter the dollar amounts for each quarter's donation goal.'); |
||
| 159 | define('_AD_DON_T_quarter_goal_2nd', ''); |
||
| 160 | define('_AD_DON_T_quarter_goal_3rd', ''); |
||
| 161 | define('_AD_DON_T_quarter_goal_4th', ''); |
||
| 162 | define('_AD_DON_T_receiver_email_', '!!!!!!VERY IMPORTANT!!!!!!! This is the email address registered in your PayPal account that you receive money on. ' . 'NOTE: Create an email address specifically and only for receiving donation'); |
||
| 163 | |||
| 164 | define('_AD_DON_T_swing_day_', 'The Swing Day determines when the Donatometer will switch to show the next month. The stats from the previous month will no longer be displayed.'); |
||
| 165 | define('_AD_DON_T_ty_url_', 'You can enter a URL here for a web page that users will be taken to when they complete a donation. This is useful for taking the user back to your site and displaying a "Thank You". ' . '<br />' . 'NOTE: PayPal will use this link for cancelled payments as well. If you use the feature'); |
||
| 166 | |||
| 167 | define('_AD_DON_T_use_goal_array', 'Choose which Goal Type you would like to use.'); |
||
| 168 | define('_AD_DON_T_week_goal_1st', 'Enter the dollar amounts for each week\'s donation goal.'); |
||
| 169 | define('_AD_DON_T_week_goal_2nd', ''); |
||
| 170 | define('_AD_DON_T_week_goal_3rd', ''); |
||
| 171 | define('_AD_DON_T_week_goal_4th', ''); |
||
| 172 | define('_AD_DON_TEST_IPN', 'Click here to test IPN'); |
||
| 173 | define('_AD_DON_TOTALING', 'Totaling'); |
||
| 174 | define('_AD_DON_TRANSACTION', 'transactions and post them here in the register.'); |
||
| 175 | define('_AD_DON_TREASURY', 'Treasury'); |
||
| 176 | define('_AD_DON_TREASURY_ADMIN', 'Treasury Administration'); |
||
| 177 | define('_AD_DON_TREASURY_F_REGISTER', 'Treasury Financial Register'); |
||
| 178 | define('_AD_DON_TXN_AMOUNT', 'Amount:'); |
||
| 179 | define('_AD_DON_TXN_FORM', 'Detailed Transaction ID Information'); |
||
| 180 | define('_AD_DON_TXN_ID', 'TXN ID:'); |
||
| 181 | define('_AD_DON_TXN_MEMO', 'Memo:'); |
||
| 182 | define('_AD_DON_TXN_RECENT_FORM', 'Recent Transactions'); |
||
| 183 | define('_AD_DON_TXN_TYPE', 'Transaction Type: '); |
||
| 184 | define('_AD_DON_UPDATE_REGISTER_IPN', 'Update register with PayPal IPN'); |
||
| 185 | define('_AD_DON_USERNAME_REQUEST', 'Prompt to use username'); |
||
| 186 | define('_AD_DON_USERNAME_REQUEST_NO', 'Username request: "NO" Response'); |
||
| 187 | define('_AD_DON_USERNAME_REQUEST_YES', 'Username request: "YES" Response'); |
||
| 188 | define('_AD_DON_V_assign_group_', '0'); |
||
| 189 | define('AD_DON_V_ASSIGN_RANK', '0'); |
||
| 190 | define('_AD_DON_V_don_amount_1', '5'); |
||
| 191 | define('_AD_DON_V_don_amount_2', '15'); |
||
| 192 | define('_AD_DON_V_don_amount_3', '25'); |
||
| 193 | define('_AD_DON_V_don_amount_4', '35'); |
||
| 194 | define('_AD_DON_V_don_amount_5', '45'); |
||
| 195 | define('_AD_DON_V_don_amount_6', '55'); |
||
| 196 | define('_AD_DON_V_don_amount_7', '65'); |
||
| 197 | define('_AD_DON_V_don_amt_checked_', '3'); |
||
| 198 | define('_AD_DON_V_don_button_submit_', 'https://www.paypal.com/en_US/i/btn/x-click-but04.gif'); |
||
| 199 | define('_AD_DON_V_don_button_top_', 'https://www.paypal.com/en_US/i/btn/x-click-but21.gif'); |
||
| 200 | define('_AD_DON_V_don_forceadd_', '1'); |
||
| 201 | define('_AD_DON_V_don_name_no_', 'No - List my donation as from an Anonymous Donor'); |
||
| 202 | define('_AD_DON_V_don_name_prompt_', 'Do you want your username revealed with your donation?'); |
||
| 203 | define('_AD_DON_V_don_name_yes_', 'Yes - List me as a Generous Donor'); |
||
| 204 | define('_AD_DON_V_don_sub_img_height_', ''); |
||
| 205 | define('_AD_DON_V_don_sub_img_width_', ''); |
||
| 206 | define('_AD_DON_V_don_text_rawtext', '0'); |
||
| 207 | define('_AD_DON_V_don_top_img_height_', ''); |
||
| 208 | define('_AD_DON_V_don_top_img_width_', ''); |
||
| 209 | define('_AD_DON_V_ipn_dbg_lvl_', '0'); |
||
| 210 | define('_AD_DON_V_ipn_log_entries_', '20'); |
||
| 211 | define('_AD_DON_V_month_goal_Apr', '15'); |
||
| 212 | define('_AD_DON_V_month_goal_Aug', '15'); |
||
| 213 | define('_AD_DON_V_month_goal_Dec', '15'); |
||
| 214 | define('_AD_DON_V_month_goal_Feb', '15'); |
||
| 215 | define('_AD_DON_V_month_goal_Jan', '15'); |
||
| 216 | define('_AD_DON_V_month_goal_Jul', '15'); |
||
| 217 | define('_AD_DON_V_month_goal_Jun', '15'); |
||
| 218 | define('_AD_DON_V_month_goal_Mar', '15'); |
||
| 219 | define('_AD_DON_V_month_goal_May', '15'); |
||
| 220 | define('_AD_DON_V_month_goal_Nov', '15'); |
||
| 221 | define('_AD_DON_V_month_goal_Oct', '15'); |
||
| 222 | define('_AD_DON_V_month_goal_Sep', '15'); |
||
| 223 | define('_AD_DON_V_paypal_url_array', 'www.paypal.com|www.sandbox.paypal.com'); |
||
| 224 | define('_AD_DON_V_pp_cancel_url_', "http://dev.csmapcentral.com/modules/{$moduleDirName}/cancel.php"); |
||
| 225 | define('_AD_DON_V_pp_curr_code_array', 'AUD|BRL|CAD|CHF|CZK|DKK|EUR|GBP|HKD|HUF|ILS|JPY|MXN|MYR|NOK|NZD|PHP|PLN|SEK|SGD|THB|TWD|USD'); |
||
| 226 | define('_AD_DON_V_pp_get_addr_', '0'); |
||
| 227 | define('_AD_DON_V_pp_image_url_', ''); |
||
| 228 | define('_AD_DON_V_pp_item_num_', '110'); |
||
| 229 | define('_AD_DON_V_pp_itemname_', 'Donation'); |
||
| 230 | define('_AD_DON_V_quarter_goal_1st', '500'); |
||
| 231 | define('_AD_DON_V_quarter_goal_2nd', '500'); |
||
| 232 | define('_AD_DON_V_quarter_goal_3rd', '500'); |
||
| 233 | define('_AD_DON_V_quarter_goal_4th', '500'); |
||
| 234 | define('_AD_DON_V_receiver_email_', '[email protected]'); |
||
| 235 | define('_AD_DON_V_swing_day_', '1'); |
||
| 236 | define('_AD_DON_V_ty_url_', "http://dev.csmapcentral.com/modules/{$moduleDirName}/success.php"); |
||
| 237 | define('_AD_DON_V_use_goal_array', 'none|week_goal|month_goal|quarter_goal'); |
||
| 238 | define('_AD_DON_V_week_goal_1st', '60'); |
||
| 239 | define('_AD_DON_V_week_goal_2nd', '60'); |
||
| 240 | define('_AD_DON_V_week_goal_3rd', '60'); |
||
| 241 | define('_AD_DON_V_week_goal_4th', '60'); |
||
| 242 | define('_AD_DON_WEEK', 'Week'); |
||
| 243 | define('_AD_DON_WEEK_GOAL', 'week goal'); |
||
| 244 | define('_AD_DON_WIDTH', 'Width'); |
||
| 245 | define('_AD_DON_z_test', 'For testing'); |
||
| 246 | |||
| 247 | //1.9.7 |
||
| 248 | |||
| 249 | // About.php |
||
| 250 | define('_AM_DON_ABOUT_RELEASEDATE', 'Released: '); |
||
| 251 | define('_AM_DON_ABOUT_UPDATEDATE', 'Updated: '); |
||
| 252 | define('_AM_DON_ABOUT_AUTHOR', 'Author: '); |
||
| 253 | define('_AM_DON_ABOUT_CREDITS', 'Credits: '); |
||
| 254 | define('_AM_DON_ABOUT_LICENSE', 'License: '); |
||
| 255 | define('_AM_DON_ABOUT_MODULE_STATUS', 'Status: '); |
||
| 256 | define('_AM_DON_ABOUT_WEBSITE', 'Website: '); |
||
| 257 | define('_AM_DON_ABOUT_AUTHOR_NAME', 'Author name: '); |
||
| 258 | define('_AM_DON_ABOUT_CHANGELOG', 'Change Log'); |
||
| 259 | define('_AM_DON_ABOUT_MODULE_INFO', 'Module Info'); |
||
| 260 | define('_AM_DON_ABOUT_AUTHOR_INFO', 'Author Info'); |
||
| 261 | define('_AM_DON_ABOUT_DESCRIPTION', 'Description: '); |
||
| 262 | define('_AD_DON_ACTION', 'Actions'); |
||
| 263 | |||
| 264 | //ModuleAdmin |
||
| 265 | define('_AM_XDONATIONS_MODULEADMIN_MISSING', 'Error: The ModuleAdmin class is missing. Please install the ModuleAdmin Class (see /docs/readme.txt)'); |
||
| 266 | |||
| 267 | // Text for Admin footer |
||
|
0 ignored issues
–
show
Unused Code
Comprehensibility
introduced
by
42% of this comment could be valid code. Did you maybe forget this after debugging?
Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it. The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production. This check looks for comments that seem to be mostly valid code and reports them. Loading history...
|
|||
| 268 | //define("_AM_DON_FOOTER", "<div class='center smallsmall italic pad5'>xDonations is maintained by the <a class='tooltip' rel='external' href='http://xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>"); |
||
| 269 |
The PSR-1: Basic Coding Standard recommends that a file should either introduce new symbols, that is classes, functions, constants or similar, or have side effects. Side effects are anything that executes logic, like for example printing output, changing ini settings or writing to a file.
The idea behind this recommendation is that merely auto-loading a class should not change the state of an application. It also promotes a cleaner style of programming and makes your code less prone to errors, because the logic is not spread out all over the place.
To learn more about the PSR-1, please see the PHP-FIG site on the PSR-1.