Issues (733)

Security Analysis    not enabled

This project does not seem to handle request data directly as such no vulnerable execution paths were found.

  Cross-Site Scripting
Cross-Site Scripting enables an attacker to inject code into the response of a web-request that is viewed by other users. It can for example be used to bypass access controls, or even to take over other users' accounts.
  File Exposure
File Exposure allows an attacker to gain access to local files that he should not be able to access. These files can for example include database credentials, or other configuration files.
  File Manipulation
File Manipulation enables an attacker to write custom data to files. This potentially leads to injection of arbitrary code on the server.
  Object Injection
Object Injection enables an attacker to inject an object into PHP code, and can lead to arbitrary code execution, file exposure, or file manipulation attacks.
  Code Injection
Code Injection enables an attacker to execute arbitrary code on the server.
  Response Splitting
Response Splitting can be used to send arbitrary responses.
  File Inclusion
File Inclusion enables an attacker to inject custom files into PHP's file loading mechanism, either explicitly passed to include, or for example via PHP's auto-loading mechanism.
  Command Injection
Command Injection enables an attacker to inject a shell command that is execute with the privileges of the web-server. This can be used to expose sensitive data, or gain access of your server.
  SQL Injection
SQL Injection enables an attacker to execute arbitrary SQL code on your database server gaining access to user data, or manipulating user data.
  XPath Injection
XPath Injection enables an attacker to modify the parts of XML document that are read. If that XML document is for example used for authentication, this can lead to further vulnerabilities similar to SQL Injection.
  LDAP Injection
LDAP Injection enables an attacker to inject LDAP statements potentially granting permission to run unauthorized queries, or modify content inside the LDAP tree.
  Header Injection
  Other Vulnerability
This category comprises other attack vectors such as manipulating the PHP runtime, loading custom extensions, freezing the runtime, or similar.
  Regex Injection
Regex Injection enables an attacker to execute arbitrary code in your PHP process.
  XML Injection
XML Injection enables an attacker to read files on your local filesystem including configuration files, or can be abused to freeze your web-server process.
  Variable Injection
Variable Injection enables an attacker to overwrite program variables with custom data, and can lead to further vulnerabilities.
Unfortunately, the security analysis is currently not available for your project. If you are a non-commercial open-source project, please contact support to gain access.

language/english/admin.php (2 issues)

Upgrade to new PHP Analysis Engine

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
Coding Style Compatibility introduced by
For compatibility and reusability of your code, PSR1 recommends that a file should introduce either new symbols (like classes, functions, etc.) or have side-effects (like outputting something, or including other files), but not both at the same time. The first symbol is defined on line 26 and the first side effect is on line 19.

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.

Loading history...
2
3
/**
4
 *
5
 * Module: SmartPartner
6
 * Author: The SmartFactory <www.smartfactory.ca>
7
 * Licence: GNU
8
 */
9
// defined('XOOPS_ROOT_PATH') || exit('XOOPS root path not defined');
0 ignored issues
show
Unused Code Comprehensibility introduced by
70% 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...
10
11
/**
12
 * This does not belong here. However, since some admin.php constants are refereing to constants
13
 * defined in common.php, and since admin.php is automatically include when including mainfile.php
14
 * we need to include the common language file here.
15
 *
16
 * For next release: remove all reference to common constants in other language files.
17
 */
18
// including the common language file
19
$fileName = XOOPS_ROOT_PATH . '/modules/smartpartner/language/' . $GLOBALS['xoopsConfig']['language'] . '/common.php';
20
if (file_exists($fileName)) {
21
    include_once $fileName;
22
} else {
23
    include_once XOOPS_ROOT_PATH . '/modules/smartpartner/language/english/common.php';
24
}
25
26
define('_AM_SPARTNER_ABOUT', 'About');
27
define('_AM_SPARTNER_ACTION', 'Action');
28
define('_AM_SPARTNER_ACTIVATE_PARTNER', 'Activate partner');
29
define('_AM_SPARTNER_ACTIVE', _CO_SPARTNER_ACTIVE);
30
define('_AM_SPARTNER_ACTIVE_EDIT_SUCCESS', 'The partner has been successfully edited.');
31
define('_AM_SPARTNER_ACTIVE_EDITING', 'Editing an active partner');
32
define('_AM_SPARTNER_ACTIVE_EDITING_INFO', 'You can edit this active partner. Modifications will immediatly take effect in the user side.');
33
define('_AM_SPARTNER_ACTIVE_EXP', '<b>Active partners</b>: Actual active partners of this site.');
34
define('_AM_SPARTNER_ACTIVE_PARTNERS', 'Active partners');
35
define('_AM_SPARTNER_ACTIVE_PARTNERS_DSC',
36
       'Here is a list of active partners. These partners are displayed in the user side. You can edit or delete each partners by clicking on the related button in the <b>Action</b> column.');
37
define('_AM_SPARTNER_ALL', 'All');
38
define('_AM_SPARTNER_ALL_EXP', '<b>All status</b>: All partners of the module, whatever their status.');
39
define('_AM_SPARTNER_ALLITEMS', 'All partners of the module');
40
define('_AM_SPARTNER_ALLITEMSMSG', 'Select a status to see all available partners in the selected status. You can also select the sort order of the partners that are displayed.');
41
define('_AM_SPARTNER_APPROVE', 'Approve');
42
define('_AM_SPARTNER_APPROVING', 'Approving');
43
define('_AM_SPARTNER_ASC', 'Ascending');
44
define('_AM_SPARTNER_AVAILABLE', "<span style='font-weight: bold; color: green;'>Available</span>");
45
define('_AM_SPARTNER_NOTWRITABLE', "<span style='font-weight: bold; color: red;'>Not Writable</span>");
46
define('_AM_SPARTNER_BLOCKS', 'Blocks and groups');
47
define('_AM_SPARTNER_BLOCKSANDGROUPS', 'Blocks and groups');
48
define('_AM_SPARTNER_BLOCKSTXT', 'This module has the following blocks, which you can configure here or in the system module.');
49
define('_AM_SPARTNER_BY', 'By');
50
define('_AM_SPARTNER_CANCEL', _CO_SPARTNER_CANCEL);
51
define('_AM_SPARTNER_CLEAR', _CO_SPARTNER_CLEAR);
52
define('_AM_SPARTNER_CREATE', _CO_SPARTNER_CREATE);
53
define('_AM_SPARTNER_CREATETHEDIR', 'Create the folder');
54
define('_AM_SPARTNER_SETMPERM', 'Set Permission of folder');
55
define('_AM_SPARTNER_DB_CHECKTABLES', 'Check tables');
56
define('_AM_SPARTNER_DB_CURRENTVER', "Current version: <span class='currentVer'>%s</span>");
57
define('_AM_SPARTNER_DB_DBVER', 'Database Version %s');
58
define('_AM_SPARTNER_DB_MSG_ADD_DATA', 'Data added in table %s');
59
define('_AM_SPARTNER_DB_MSG_ADD_DATA_ERR', 'Error adding data in table %s');
60
define('_AM_SPARTNER_DB_MSG_CHGFIELD', 'Changing field %s in table %s');
61
define('_AM_SPARTNER_DB_MSG_CHGFIELD_ERR', 'Error changing field %s in table %s');
62
define('_AM_SPARTNER_DB_MSG_CREATE_TABLE', 'Table %s created');
63
define('_AM_SPARTNER_DB_MSG_CREATE_TABLE_ERR', 'Error creating table %s');
64
define('_AM_SPARTNER_DB_MSG_NEWFIELD', 'Successfully added field %s');
65
define('_AM_SPARTNER_DB_MSG_NEWFIELD_ERR', 'Error adding field %s');
66
define('_AM_SPARTNER_DB_NEEDUPDATE', 'Your database is out-of-date. Please upgrade your database tables!');
67
define('_AM_SPARTNER_DB_NEEDUPDATE_WARNING', 'WARNING: The SmartFactory strongly recommends you to backup all SmartPartner tables before running this upgrade script.');
68
define('_AM_SPARTNER_DB_NOUPDATE', 'Your database is up-to-date. No updates are necessary.');
69
define('_AM_SPARTNER_DB_UPDATE_DB', 'Updating Database');
70
define('_AM_SPARTNER_DB_UPDATE_ERR', 'Errors updating to version %s');
71
define('_AM_SPARTNER_DB_UPDATE_NOW', 'Update Now!');
72
define('_AM_SPARTNER_DB_UPDATE_OK', 'Successfully updated to version %s');
73
define('_AM_SPARTNER_DB_UPDATE_TO', 'Updating to version %s');
74
define('_AM_SPARTNER_DELETE', 'Delete');
75
define('_AM_SPARTNER_DELETEPARTNER', _CO_SPARTNER_DELETEPARTNER);
76
define('_AM_SPARTNER_DELETEFILE', 'Delete file');
77
define('_AM_SPARTNER_DELETETHISP', 'Do you really want to delete this partner?');
78
define('_AM_SPARTNER_DELETETHISFILE', 'Are you sure you want to delete this file?');
79
define('_AM_SPARTNER_DESC', 'Descending');
80
define('_AM_SPARTNER_DESCRIPTION', _CO_SPARTNER_DESCRIPTION);
81
define('_AM_SPARTNER_DESCRIPTION_DSC', _CO_SPARTNER_DESCRIPTION_DSC);
82
define('_AM_SPARTNER_DIRCREATED', 'Folder successfully created ');
83
define('_AM_SPARTNER_DIRNOTCREATED', 'The folder could not be created ');
84
define('_AM_SPARTNER_EDITFILE', 'Edit file');
85
define('_AM_SPARTNER_EDITING', 'Editing');
86
define('_AM_SPARTNER_EDITPARTNER', _CO_SPARTNER_EDITPARTNER);
87
define('_AM_SPARTNER_FILE', 'Files');
88
define('_AM_SPARTNER_FILE_ADD', 'Adding a file');
89
define('_AM_SPARTNER_FILE_ADDING', 'Adding a new file');
90
define('_AM_SPARTNER_FILE_ADDING_DSC', 'Please fill the following form in order to add a new file to this partner.');
91
define('_AM_SPARTNER_FILE_DELETE_ERROR', 'An error occured while deleting the file.');
92
define('_AM_SPARTNER_FILE_DESCRIPTION', 'Description');
93
define('_AM_SPARTNER_FILE_DESCRIPTION_DSC', 'Description of the file to be uploaded.');
94
define('_AM_SPARTNER_FILE_EDITING', 'Editing a file');
95
define('_AM_SPARTNER_FILE_EDITING_DSC', 'You can edit this file. Modifications will immediatly take effect in the user side.');
96
define('_AM_SPARTNER_FILE_EDITING_ERROR', 'An error occured while updating the file.');
97
define('_AM_SPARTNER_FILE_EDITING_SUCCESS', 'The file was successfully modified.');
98
define('_AM_SPARTNER_FILE_INFORMATIONS', "File's informations");
99
define('_AM_SPARTNER_FILE_NAME', 'Name');
100
define('_AM_SPARTNER_FILE_NAME_DSC', 'Name that will be used to identify the file.');
101
define('_AM_SPARTNER_FILE_STATUS', 'File visible?');
102
define('_AM_SPARTNER_FILE_STATUS_DSC', 'if you select no, the file will not be visible from the user side.');
103
define('_AM_SPARTNER_FILE_TO_UPLOAD', 'File to upload:');
104
define('_AM_SPARTNER_FILE_UPLOAD_ANOTHER', 'Upload again');
105
define('_AM_SPARTNER_FILEISDELETED', 'The file has been successfully deleted');
106
define('_AM_SPARTNER_FILENAME', 'File name');
107
define('_AM_SPARTNER_FILES_LINKED', 'Files linked to this partner');
108
109
define('_AM_SPARTNER_GOMOD', 'Go to module');
110
define('_AM_SPARTNER_GROUPS', 'Groups');
111
define('_AM_SPARTNER_GROUPSINFO', 'Configure module and blocks permissions for each group');
112
define('_AM_SPARTNER_HELP', 'Help');
113
define('_AM_SPARTNER_HITS', _CO_SPARTNER_HITS);
114
define('_AM_SPARTNER_ID', "Partner's id");
115
define('_AM_SPARTNER_IMPORT', 'Import');
116
define('_AM_SPARTNER_IMPORT_ALL_PARTNERS', 'All partners');
117
define('_AM_SPARTNER_IMPORT_AUTOAPPROVE', 'Auto-approve');
118
define('_AM_SPARTNER_IMPORT_BACK', 'Back to the import page');
119
define('_AM_SPARTNER_IMPORT_ERROR', 'An error occured while importing the partner.');
120
define('_AM_SPARTNER_IMPORT_FILE_NOT_FOUND', 'Import file not found at <b>%s</b>');
121
define('_AM_SPARTNER_IMPORT_FROM', 'Importing from %s');
122
define('_AM_SPARTNER_IMPORT_INFO', "You can import partners directly in SmartPartner. Simply select from which module you would like to import the partners and click on the 'Import' button.");
123
define('_AM_SPARTNER_IMPORT_MODULE_FOUND', '%s module was found. There are %s partners that can be imported.');
124
define('_AM_SPARTNER_IMPORT_NO_MODULE', 'As XoopsPartners in not installed on this site, there is no partner to import.');
125
define('_AM_SPARTNER_IMPORT_PARTNER_ERROR', "An error occured while importing '%s'.");
126
define('_AM_SPARTNER_IMPORT_RESULT', 'Here is the result of the import.');
127
define('_AM_SPARTNER_IMPORT_SETTINGS', 'Import Settings');
128
define('_AM_SPARTNER_IMPORT_SUCCESS', 'The partners were successfully imported in the module.');
129
define('_AM_SPARTNER_IMPORT_TITLE', 'Import Partners');
130
define('_AM_SPARTNER_IMPORT_XOOPSPARTNERS_110', 'Partners from XoopsPartners 1.1');
131
define('_AM_SPARTNER_IMPORTED_PARTNER', 'Imported partner: <em>%s</em>');
132
define('_AM_SPARTNER_IMPORTED_PARTNERS', 'Partners imported: <em>%s</em>');
133
define('_AM_SPARTNER_IMPORT_SELECTION', 'Import Selection');
134
define('_AM_SPARTNER_IMPORT_SELECT_FILE', 'Partners');
135
define('_AM_SPARTNER_IMPORT_SELECT_FILE_DSC', 'Choose the module from which to import the partners.');
136
define('_AM_SPARTNER_INACTIVATE_PARTNER', 'Deactivate partner');
137
define('_AM_SPARTNER_INACTIVE', _CO_SPARTNER_INACTIVE);
138
define('_AM_SPARTNER_INACTIVE_EDITING', 'Editing an inactive partner');
139
define('_AM_SPARTNER_INACTIVE_EDITING_INFO',
140
       "You can edit this inactive partner. Modifications will be saved for this partner. However, if you would like to display this partner in the user side, you will need to set the <b>Status</b> field to 'Active'.");
141
define('_AM_SPARTNER_INACTIVE_EXP', '<b>Inactive partners</b>: Active partners that has become, for some reason, inactive. An inactive partner is not displayed in the user side.');
142
define('_AM_SPARTNER_INACTIVE_FIELD', 'Inactive');
143
define('_AM_SPARTNER_INACTIVE_PARTNERS', 'Inactive partners');
144
define('_AM_SPARTNER_INDEX', 'Index');
145
define('_AM_SPARTNER_INTRO', _CO_SPARTNER_INTRO);
146
define('_AM_SPARTNER_INVENTORY', _CO_SPARTNER_INVENTORY);
147
define('_AM_SPARTNER_LOGO', _CO_SPARTNER_LOGO);
148
define('_AM_SPARTNER_LOGO_DSC', _CO_SPARTNER_LOGO_DSC);
149
define('_AM_SPARTNER_LOGO_UPLOAD', _CO_SPARTNER_LOGO_UPLOAD);
150
define('_AM_SPARTNER_LOGO_UPLOAD_DSC', _CO_SPARTNER_LOGO_UPLOAD_DSC);
151
define('_AM_SPARTNER_MODADMIN', 'Admin:');
152
define('_AM_SPARTNER_MODIFY', _CO_SPARTNER_MODIFY);
153
define('_AM_SPARTNER_NAME', _CO_SPARTNER_NAME);
154
define('_AM_SPARTNER_NO', 'No');
155
define('_AM_SPARTNER_NOPARTNERS', _CO_SPARTNER_NOPARTNERS);
156
define('_AM_SPARTNER_NOTAVAILABLE', "<span style='font-weight: bold; color: red;'>Not available</span>");
157
define('_AM_SPARTNER_OPTS', 'Preferences');
158
define('_AM_SPARTNER_OPTIONS', 'Options');
159
define('_AM_SPARTNER_PARTNER', _CO_SPARTNER_PARTNER);
160
define('_AM_SPARTNER_PARTNER_APPROVE', 'Approve this partner');
161
define('_AM_SPARTNER_PARTNER_CREATE', _CO_SPARTNER_PARTNER_CREATE);
162
define('_AM_SPARTNER_PARTNER_CREATED', _CO_SPARTNER_PARTNER_CREATED);
163
define('_AM_SPARTNER_PARTNER_CREATING', _CO_SPARTNER_PARTNER_CREATING);
164
define('_AM_SPARTNER_PARTNER_CREATING_DSC', _CO_SPARTNER_PARTNER_CREATING_DSC);
165
define('_AM_SPARTNER_PARTNER_DELETE', _CO_SPARTNER_PARTNER_DELETE);
166
define('_AM_SPARTNER_PARTNER_DELETE_ERROR', 'An error occured while deleting this partner.');
167
define('_AM_SPARTNER_PARTNER_DELETE_SUCCESS', 'The partner has been successfully deleted.');
168
define('_AM_SPARTNER_PARTNER_EDIT', _CO_SPARTNER_PARTNER_EDIT);
169
define('_AM_SPARTNER_PARTNER_INFORMATIONS', _CO_SPARTNER_PARTNER_INFORMATIONS);
170
define('_AM_SPARTNER_PARTNER_NOT_CREATED', _CO_SPARTNER_PARTNER_NOT_CREATED);
171
define('_AM_SPARTNER_PARTNER_NOT_SELECTED', 'You did not select a valid partner.');
172
define('_AM_SPARTNER_PARTNER_NOT_UPDATED', _CO_SPARTNER_PARTNER_NOT_UPDATED);
173
define('_AM_SPARTNER_PARTNERS', _CO_SPARTNER_PARTNERS);
174
define('_AM_SPARTNER_PATH', 'Path');
175
define('_AM_SPARTNER_PATH_ITEM', 'Upload items');
176
define('_AM_SPARTNER_PATH_IMAGES', 'Partners logo');
177
define('_AM_SPARTNER_PATHCONFIGURATION', 'Module Path Configuration');
178
define('_AM_SPARTNER_POSITION', 'Position');
179
define('_AM_SPARTNER_REJECTED', _CO_SPARTNER_REJECTED);
180
define('_AM_SPARTNER_REJECTED_EXP', '<b>Rejected partners</b>: Submitted partners that have been rejected. A rejected partner is not displayed in the user side.');
181
define('_AM_SPARTNER_REJECTED_PARTNERS', 'Rejected partners');
182
define('_AM_SPARTNER_REJECTED_EDITING', 'Editing a rejected partner');
183
define('_AM_SPARTNER_REJECTED_EDITING_INFO',
184
       "You can edit this rejected partner. Modifications will be saved for this partner. However, if you would like to display this partner in the user side, you will need to set the <b>Status</b> field to 'Active'.");
185
define('_AM_SPARTNER_SELECT_SORT', 'Select sort order:');
186
define('_AM_SPARTNER_SELECT_STATUS', 'Select a status');
187
define('_AM_SB_SETMPERM', 'Set the permission');
188
define('_AM_SPARTNER_NOFILE', 'This partner does not have any attached files.');
189
define('_AM_SPARTNER_PATH_FILES', 'Attached files');
190
define('_AM_SPARTNER_SHOWING', 'Showing');
191
define('_AM_SPARTNER_SMARTPARTNER_IMPORT_SETTINGS', 'SmartPartner Import Settings');
192
define('_AM_SPARTNER_SMARTPARTNER_IMPORT_SETTINGS_VALUE', 'There is no import settings. Please click the Import button to start the import.');
193
define('_AM_SPARTNER_STATUS', _CO_SPARTNER_STATUS);
194
define('_AM_SPARTNER_STATUS_DSC', 'Select the status of the partner. Inactive partner are not displayed in the public section.');
195
define('_AM_SPARTNER_SUMMARY', _CO_SPARTNER_SUMMARY);
196
define('_AM_SPARTNER_SUMMARY_REQ', _CO_SPARTNER_SUMMARY_REQ);
197
define('_AM_SPARTNER_SUMMARY_DSC', _CO_SPARTNER_SUMMARY_DSC);
198
define('_AM_SPARTNER_SUBMITTED', _CO_SPARTNER_SUBMITTED);
199
define('_AM_SPARTNER_SUBMITTED_APPROVE_SUCCESS', 'The submitted partner has been approved.');
200
define('_AM_SPARTNER_SUBMITTED_EXP', '<b>Submitted partners</b>: Potential partners that have submitted their organisation to become a partner of this site.');
201
define('_AM_SPARTNER_SUBMITTED_INFO',
202
       "This partner have been submitted on your site. You can edit it as you like. You can make some modifications if you'd like. Upon approval, this partner will be displayed in the user side of this site.");
203
define('_AM_SPARTNER_SUBMITTED_PARTNERS', 'Submitted partners');
204
define('_AM_SPARTNER_SUBMITTED_TITLE', 'Submitted partner');
205
define('_AM_SPARTNER_TITLE', "Partner's name");
206
define('_AM_SPARTNER_TITLE_REQ', _CO_SPARTNER_TITLE_REQ);
207
define('_AM_SPARTNER_TOTAL_SUBMITTED', 'Submitted:  %s');
208
define('_AM_SPARTNER_TOTAL_ACTIVE', 'Active:  %s');
209
define('_AM_SPARTNER_TOTAL_REJECTED', 'Rejected:  %s');
210
define('_AM_SPARTNER_TOTAL_INACTIVE', 'Inactive:  %s');
211
define('_AM_SPARTNER_UPDATE_MODULE', 'Update module');
212
define('_AM_SPARTNER_URL', _CO_SPARTNER_URL);
213
define('_AM_SPARTNER_URL_DSC', _CO_SPARTNER_URL_DSC);
214
define('_AM_SPARTNER_WEIGHT', _CO_SPARTNER_WEIGHT);
215
define('_AM_SPARTNER_WEIGHT_DSC', _CO_SPARTNER_WEIGHT_DSC);
216
define('_AM_SPARTNER_YES', 'Yes');
217
218
//Redirect messages
219
define('_AM_SPARTNER_NOTSET_ACTIVE_SUCCESS', 'The partner has been created.');
220
define('_AM_SPARTNER_NOTSET_INACTIVE_SUCCESS', 'The partner has been created and deactivated.');
221
define('_AM_SPARTNER_SUBMITTED_ACTIVE_SUCCESS', 'The submitted partner has been approved!');
222
define('_AM_SPARTNER_SUBMITTED_INACTIVE_SUCCESS', 'The submitted partner has been deactivated.');
223
define('_AM_SPARTNER_SUBMITTED_REJECTED_SUCCESS', 'The submitted partner has been rejected.');
224
define('_AM_SPARTNER_ACTIVE_ACTIVE_SUCCESS', 'The partner has been updated.');
225
define('_AM_SPARTNER_ACTIVE_INACTIVE_SUCCESS', 'The partner has been deactivated.');
226
define('_AM_SPARTNER_INACTIVE_ACTIVE_SUCCESS', 'The inactive partner has been activated.');
227
define('_AM_SPARTNER_INACTIVE_INACTIVE_SUCCESS', 'The inactive partner has been updated.');
228
define('_AM_SPARTNER_REJECTED_ACTIVE_SUCCESS', 'The rejected  partner has been activated!');
229
define('_AM_SPARTNER_REJECTED_INACTIVE_SUCCESS', 'The rejected partner has been deactivated.');
230
define('_AM_SPARTNER_REJECTED_REJECTED_SUCCESS', 'The rejected partner has been updated.');
231
232
define('_AM_SPARTNER_CATEGORY_EDIT', 'Edit category');
233
define('_AM_SPARTNER_CATEGORY_DELETE', 'Delete category');
234
define('_AM_SPARTNER_CATEGORIES', 'Categories');
235
define('_AM_SPARTNER_CATEGORIES_DSC', 'Here is a list of all created categories of the module.');
236
define('_AM_SPARTNER_CATEGORIES_TITLE', 'Created categories');
237
define('_AM_SPARTNER_CATEGORY', 'Category');
238
define('_AM_SPARTNER_CATEGORY_CREATE', 'Create a category');
239
define('_AM_SPARTNER_CATEGORY_CREATE_INFO', 'Fill the following form in order to create a new category. The newly created category will be automatically displayed in the user side.');
240
define('_AM_SPARTNER_CATEGORY_EDIT_INFO', 'You can edit this category. Modifications will immediatly take effect in the user side.');
241
define('_AM_SPARTNER_CATEGORY_REQ', 'Category*');
242
define('_AM_SPARTNER_CATEGORY_SAVE_ERROR', 'An error occured while saving the category. Here is a list of error(s):');
243
define('_AM_SPARTNER_CATHEADER', 'Categories Management');
244
define('_AM_SPARTNER_CATID', 'ID');
245
define('_AM_SPARTNER_CATEGORY_DSC', 'Category description');
246
define('_AM_SPARTNER_CATEGORY_DELETED', 'Category %s has been deleted');
247
define('_AM_SPARTNER_CATEGORY_MODIFIED', 'The category was successfully modified.');
248
define('_AM_SPARTNER_CATEGORY_WEIGHT', 'Category weight');
249
define('_AM_SPARTNER_CATEGORY_IMAGE', 'Category image');
250
define('_AM_SPARTNER_CATEGORY_IMAGE_DSC', 'Image representing the category');
251
define('_AM_SPARTNER_CATEGORY_IMAGE_UPLOAD', 'Image upload');
252
define('_AM_SPARTNER_CATEGORY_IMAGE_UPLOAD_DSC', 'Select an image on your computer. This image will be uploaded to the site and set as the category image.');
253
define('_AM_SPARTNER_CATEGORY_CREATING', 'Creating new');
254
define('_AM_SPARTNER_CATEGORY_PARENT', 'Parent category');
255
define('_AM_SPARTNER_CATEGORY_PARENT_DSC', 'Select a parent to make this a sub-category.');
256
define('_AM_SPARTNER_CATEGORY_SUBCATS_CREATE', 'Create subcategories');
257
define('_AM_SPARTNER_CATEGORY_SUBCATS_CREATE_DSC',
258
       "Fill the text box with the names of sub categories to create.<br>Leave blank to not create subcategory. To create more, enter the how much more to create then press 'Add'");
259
define('_AM_SPARTNER_ADD_OPT', 'Add %s  more sub categories');
260
define('_AM_SPARTNER_ADD_OPT_SUBMIT', 'Add');
261
define('_AM_SPARTNER_CATEGORY_CREATED', 'New category was created and saved!');
262
define('_AM_SPARTNER_CATEGORY_SUBCAT_SAVE_ERROR', 'An error occured while saving the category. Here is a list of error(s):');
263
define('_AM_SPARTNER_CATEGORY_DELETE_CONFIRM',
264
       'Please note that by deleting a category, all the sub-categories and the partners of this category will be deleted as well, along with any comments that may have been posted related to ces articles. Are you sure you wish to delete this category?');
265
define('_AM_SPARTNER_CATEGORY_DELETE_ERROR', 'An error occured while deleting this category.');
266
define('_AM_SPARTNER_CATEGORY_NONE', 'There is no category in the module.');
267
268
//added with categories
269
define('_AM_SPARTNER_FILEUPLOAD_ERROR', 'An error occured while uploading the file.');
270
define('_AM_SPARTNER_FILEUPLOAD_SUCCESS', 'The file was successfully uploaded.');
271
define('_AM_SPARTNER_PATH_CATEGORY_IMAGES', 'Category images');
272
define('_AM_SPARTNER_CATEGORY_BELONG', 'Category');
273
define('_AM_SPARTNER_BELONG_CATEGORY_DSC', 'One or more categories for this partner');
274
275
define('_AM_SPARTNER_SUBCAT_CAT', 'Sub categories');
276
define('_AM_SPARTNER_SUBCAT_CAT_DSC', 'List of sub categories of this category');
277
define('_AM_SPARTNER_CATCOLNAME', 'Name');
278
define('_AM_SPARTNER_UPLOAD', 'Upload');
279
define('_AM_SPARTNER_UPLOAD_FILE', 'Upload a file');
280
define('_AM_SPARTNER_UPLOAD_FILE_NEW', 'Upload a new file');
281
define('_AM_SPARTNER_UPLOADED_DATE', 'Uploaded');
282
define('_AM_SPARTNER_SUBDESCRIPT', 'Description');
283
define('_AM_SPARTNER_NOSUBCAT', 'No sub categories created');
284
285
//added with permissions and smartobjection
286
287
define('_AM_SPARTNER_OFFERS', 'Offers');
288
define('_AM_SPARTNER_CREATINGNEW', 'Creating');
289
define('_AM_SPARTNER_OFFER_CREATE', 'Create an offer');
290
define('_AM_SPARTNER_OFFER_CREATE_INFO', 'Fill this form in order to create an offer.');
291
define('_AM_SPARTNER_OFFERS_DSC', 'Here is the list of offers.');
292
define('_AM_SPARTNER_OFFER_EDIT', 'Edit an offer');
293
define('_AM_SPARTNER_OFFER_EDIT_INFO', '');
294
define('_AM_SPARTNER_SHOW_SUMMARY', 'Show summary on partner page');
295
define('_AM_SPARTNER_SHOW_SUMMARY_DSC',
296
       "Note: if any users have partial view permissions, you should set this to 'yes.' Otherwise a partner detail page displayed in partial view mode will have no info at all other than the logo and name.");
297
define('_SMARTPARTNER_MESSAGE_FILE_ERROR', 'Error: Unable to store uploaded file for the following reasons:<br>%s');
298
define('_SMARTPARTNER_MESSAGE_WRONG_MIMETYPE', 'Error: filetype is not allowed. Please re-submit.');
299