1 | <?php |
||
2 | |||
3 | // The name of this module |
||
4 | define('_MI_EFQDIR_NAME', 'Listings directory'); |
||
5 | |||
6 | // A brief description of this module |
||
7 | define('_MI_EFQDIR_DESC', 'Creates a listings section where directories of listings can be managed.'); |
||
8 | |||
9 | // Names of blocks for this module (Not every module has blocks) |
||
10 | define('_MI_EFQDIR_BNAME1', 'Recent Listings'); |
||
11 | define('_MI_EFQDIR_BNAME2', 'Top Listings'); |
||
12 | define('_MI_EFQDIR_MENU', 'Directories'); |
||
13 | |||
14 | // Sub menu titles |
||
15 | define('_MI_EFQDIR_SMNAME1', 'Submit'); |
||
16 | define('_MI_EFQDIR_SMNAME2', 'Popular'); |
||
17 | define('_MI_EFQDIR_SMNAME3', 'Top Rated'); |
||
18 | |||
19 | // Names of admin menu items |
||
20 | define('_MI_EFQDIR_ADMENU2', 'Home'); |
||
21 | define('_MI_EFQDIR_ADMENU3', 'Directories'); |
||
22 | define('_MI_EFQDIR_ADMENU4', 'Field Types'); |
||
23 | define('_MI_EFQDIR_ADMENU5', 'Validations'); |
||
24 | define('_MI_EFQDIR_ADMENU6', 'Address Types'); |
||
25 | define('_MI_EFQDIR_ADMENU7', 'Subscriptions'); |
||
26 | define('_MI_EFQDIR_ADMENU8', 'Duplicate Data types'); |
||
27 | |||
28 | // Title of config items |
||
29 | define('_MI_EFQDIR_POPULAR', 'Select the number of hits for listings to be marked as popular'); |
||
30 | define('_MI_EFQDIR_NEWLISTINGS', 'Select the maximum number of new listings displayed on top page'); |
||
31 | define('_MI_EFQDIR_PERPAGE', 'Select the maximum number of listings displayed in each page'); |
||
32 | define('_MI_EFQDIR_USESHOTS', 'Select yes to display screenshot images for each listing'); |
||
33 | define('_MI_EFQDIR_USEDESTMOD', 'Use this module in combination with the destinations module?'); |
||
34 | define('_MI_EFQDIR_ANONPOST', 'Allow anonymous users to post listings?'); |
||
35 | define('_MI_EFQDIR_AUTOAPPROVE', 'Auto approve new listings without admin intervention?'); |
||
36 | define('_MI_EFQDIR_RESULTSPERPAGE', 'Select the number of search results per page.'); |
||
37 | define('_MI_EFQDIR_ANONVOTESWAITDAYS', 'Select the number of days before an anonymous user can vote for a listing again.'); |
||
38 | define('_MI_EFQDIR_AUTOSHOWONEDIR', 'Show directory automatically if there is only one active directory?'); |
||
39 | |||
40 | define('_MI_EFQDIR_ALLOWRATING', 'Allow visitors to rate listings?'); |
||
41 | define('_MI_EFQDIR_ALLOWTELLAFRIEND', 'Show the "tell a friend" link?'); |
||
42 | define('_MI_EFQDIR_ALLOWCOMMENTS', 'Allow visitors to add comments to a listing?'); |
||
43 | define('_MI_EFQDIR_ALLOWREVIEWS', 'Allow visitors to submit reviews for a listing?'); |
||
44 | define('_MI_EFQDIR_ALLOWCOUPONS', 'Allow coupons to be added to listings?'); |
||
45 | define('_MI_EFQDIR_REMOTE_ADDRESS', 'To prevent abuse of the built-in scheduler the module requires the IP address of the Host server.'); |
||
46 | define('_MI_EFQDIR_WARNINGTIME', 'Set the number of days before a user is notified of an expiring subscription.'); |
||
47 | define('_MI_EFQDIR_PAYPAL_TEST', 'Use the Paypal Sandbox test environment instead of real payments?'); |
||
48 | define('_MI_EFQDIR_PAYPAL_SECURE_YN', 'Use the Paypal secure payments page (recommended: yes)?'); |
||
49 | define('_MI_EFQDIR_PAYPAL_BUS_MAIL', 'Set the e-mail address that is connected to your paypal account'); |
||
50 | define('_MI_EFQDIR_SHOW_DFIELDSINCAT', 'Show data fields in category view?'); |
||
51 | |||
52 | define('_MI_EFQDIR_ALLOW_SUBSCR', 'Allow subscriptions?'); |
||
53 | define('_MI_EFQDIR_SHOW_LINK_IMAGES', 'Show link icons in listings?'); |
||
54 | |||
55 | // Description of each config items |
||
56 | define('_MI_EFQDIR_POPULARDSC', ''); |
||
57 | define('_MI_EFQDIR_NEWLISTINGSDSC', ''); |
||
58 | define('_MI_EFQDIR_PERPAGEDSC', ''); |
||
59 | define('_MI_EFQDIR_USEDESTMODDSC', ''); |
||
60 | define('_MI_EFQDIR_SHOTWIDTHDSC', ''); |
||
61 | define('_MI_EFQDIR_AUTOAPPROVEDSC', ''); |
||
62 | define('_MI_EFQDIR_RESULTSPERPAGE_DSC', ''); |
||
63 | define('_MI_EFQDIR_ANONVOTESWAITDAYS_DSC', ''); |
||
64 | define('_MI_EFQDIR_AUTOSHOWONEDIR_DSC', ''); |
||
65 | define('_MI_EFQDIR_ALLOWRATING_DSC', ''); |
||
66 | define('_MI_EFQDIR_ALLOWTELLAFRIEND_DSC', ''); |
||
67 | define('_MI_EFQDIR_ALLOWCOMMENTS_DSC', ''); |
||
68 | define('_MI_EFQDIR_ALLOWREVIEWS_DSC', ''); |
||
69 | define('_MI_EFQDIR_ALLOWCOUPONS_DSC', ''); |
||
70 | define('_MI_EFQDIR_REMOTE_ADDRESS_DSC', ''); |
||
71 | define('_MI_EFQDIR_WARNINGTIME_DSC', ''); |
||
72 | define('_MI_EFQDIR_PAYPAL_TEST_DSC', ''); |
||
73 | define('_MI_EFQDIR_PAYPAL_SECURE_YN_DSC', ''); |
||
74 | define('_MI_EFQDIR_PAYPAL_BUS_MAIL_DSC', ''); |
||
75 | define('_MI_EFQDIR_SHOW_DFIELDSINCAT_DSC', ''); |
||
76 | |||
77 | // Text for notifications |
||
78 | define('_MI_EFQDIR_GLOBAL_NOTIFY', 'Global'); |
||
79 | define('_MI_EFQDIR_GLOBAL_NOTIFYDSC', 'Global links notification options.'); |
||
80 | |||
81 | define('_MI_EFQDIR_CATEGORY_NOTIFY', 'Category'); |
||
82 | define('_MI_EFQDIR_CATEGORY_NOTIFYDSC', 'Notification options that apply to the current link category.'); |
||
83 | |||
84 | define('_MI_EFQDIR_LISTING_NOTIFY', 'Listing'); |
||
85 | define('_MI_EFQDIR_LISTING_NOTIFYDSC', 'Notification options that aply to the current listing.'); |
||
86 | |||
87 | define('_MI_EFQDIR_GLOBAL_NEWCATEGORY_NOTIFY', 'New Category'); |
||
88 | define('_MI_EFQDIR_GLOBAL_NEWCATEGORY_NOTIFYCAP', 'Notify me when a new listing category is created.'); |
||
89 | define('_MI_EFQDIR_GLOBAL_NEWCATEGORY_NOTIFYDSC', 'Receive notification when a new listing category is created.'); |
||
90 | define('_MI_EFQDIR_GLOBAL_NEWCATEGORY_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New listing category'); |
||
91 | |||
92 | define('_MI_EFQDIR_GLOBAL_LISTINGMODIFY_NOTIFY', 'Modify Listing Requested'); |
||
93 | define('_MI_EFQDIR_GLOBAL_LISTINGMODIFY_NOTIFYCAP', 'Notify me of any listing modification request.'); |
||
94 | define('_MI_EFQDIR_GLOBAL_LISTINGMODIFY_NOTIFYDSC', 'Receive notification when any listing modification request is submitted.'); |
||
95 | define('_MI_EFQDIR_GLOBAL_LISTINGMODIFY_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : Listing Modification Requested'); |
||
96 | |||
97 | define('_MI_EFQDIR_GLOBAL_LISTINGBROKEN_NOTIFY', 'Broken Listing Submitted'); |
||
98 | define('_MI_EFQDIR_GLOBAL_LISTINGBROKEN_NOTIFYCAP', 'Notify me of any broken listing report.'); |
||
99 | define('_MI_EFQDIR_GLOBAL_LISTINGBROKEN_NOTIFYDSC', 'Receive notification when any broken listing report is submitted.'); |
||
100 | define('_MI_EFQDIR_GLOBAL_LISTINGBROKEN_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : Broken Listing Reported'); |
||
101 | |||
102 | define('_MI_EFQDIR_GLOBAL_LISTINGSUBMIT_NOTIFY', 'New Listing Submitted'); |
||
103 | define('_MI_EFQDIR_GLOBAL_LISTINGSUBMIT_NOTIFYCAP', 'Notify me when any new listing is submitted (awaiting approval).'); |
||
104 | define('_MI_EFQDIR_GLOBAL_LISTINGSUBMIT_NOTIFYDSC', 'Receive notification when any new listing is submitted (awaiting approval).'); |
||
105 | define('_MI_EFQDIR_GLOBAL_LISTINGSUBMIT_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New listing submitted'); |
||
106 | |||
107 | define('_MI_EFQDIR_GLOBAL_NEWLISTING_NOTIFY', 'New Listing'); |
||
108 | define('_MI_EFQDIR_GLOBAL_NEWLISTING_NOTIFYCAP', 'Notify me when any new listing is posted.'); |
||
109 | define('_MI_EFQDIR_GLOBAL_NEWLISTING_NOTIFYDSC', 'Receive notification when any new listing is posted.'); |
||
110 | define('_MI_EFQDIR_GLOBAL_NEWLISTING_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New listing'); |
||
111 | |||
112 | define('_MI_EFQDIR_CATEGORY_LISTINGSUBMIT_NOTIFY', 'New Listing Submitted'); |
||
113 | define('_MI_EFQDIR_CATEGORY_LISTINGSUBMIT_NOTIFYCAP', 'Notify me when a new listing is submitted (awaiting approval) to the current category.'); |
||
114 | define('_MI_EFQDIR_CATEGORY_LISTINGSUBMIT_NOTIFYDSC', 'Receive notification when a new listing is submitted (awaiting approval) to the current category.'); |
||
115 | define('_MI_EFQDIR_CATEGORY_LISTINGSUBMIT_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New listing submitted in category'); |
||
116 | |||
117 | define('_MI_EFQDIR_CATEGORY_NEWLISTING_NOTIFY', 'New Listing'); |
||
118 | define('_MI_EFQDIR_CATEGORY_NEWLISTING_NOTIFYCAP', 'Notify me when a new listing is posted to the current category.'); |
||
119 | define('_MI_EFQDIR_CATEGORY_NEWLISTING_NOTIFYDSC', 'Receive notification when a new listing is posted to the current category.'); |
||
120 | define('_MI_EFQDIR_CATEGORY_NEWLISTING_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New listing in category'); |
||
121 | |||
122 | define('_MI_EFQDIR_LISTING_APPROVE_NOTIFY', 'Listing Approved'); |
||
123 | define('_MI_EFQDIR_LISTING_APPROVE_NOTIFYCAP', 'Notify me when this listing is approved.'); |
||
124 | define('_MI_EFQDIR_LISTING_APPROVE_NOTIFYDSC', 'Receive notification when this listing is approved.'); |
||
125 | define('_MI_EFQDIR_LISTING_APPROVE_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : Listing approved'); |
||
126 | |||
127 | //Help |
||
128 | define('_MI_EFQDIR_DIRNAME', basename(dirname(dirname(__DIR__)))); |
||
129 | define('_MI_EFQDIR_HELP_HEADER', __DIR__ . '/help/helpheader.html'); |
||
130 | define('_MI_EFQDIR_BACK_2_ADMIN', 'Back to Administration of '); |
||
131 | define('_MI_EFQDIR_OVERVIEW', 'Overview'); |
||
132 | |||
133 | //define('_MI_EFQDIR_HELP_DIR', __DIR__); |
||
0 ignored issues
–
show
|
|||
134 | |||
135 | //help multi-page |
||
136 | define('_MI_EFQDIR_DISCLAIMER', 'Disclaimer'); |
||
137 | define('_MI_EFQDIR_LICENSE', 'License'); |
||
138 | define('_MI_EFQDIR_SUPPORT', 'Support'); |
||
139 |
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.