Passed
Pull Request — master (#18)
by Goffy
04:26
created

getAlphabet()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 42
Code Lines 38

Duplication

Lines 0
Ratio 0 %

Importance

Changes 3
Bugs 0 Features 0
Metric Value
cc 1
eloc 38
nc 1
nop 0
dl 0
loc 42
rs 9.312
c 3
b 0
f 0
1
<?php
2
3
/**
4
 * Module: Lexikon - glossary module
5
 * Version: v 1.00
6
 * Release Date: 8 May 2004
7
 * Author: hsalazar
8
 * Licence: GNU
9
 */
10
define('_AM_LEXIKON_NOCOLEXISTS', 'Sorry, there are no categories defined as of yet.<br>Please contact the site administrator and tell him about this.');
11
define('_MD_LEXIKON_ALL', 'All');
12
define('_MD_LEXIKON_ALLCATS', 'All categories');
13
define('_MD_LEXIKON_ALLOFTHEM', '0 : All categories');
14
define('_MD_LEXIKON_ANDOR', 'Search scope');
15
define('_MD_LEXIKON_ANDORALL', 'All words (AND)');
16
define('_MD_LEXIKON_ANDORANY', 'Any words (OR)');
17
define('_MD_LEXIKON_ANDOREXACT', 'Exact match');
18
define('_MD_LEXIKON_ANONYMOUS', 'Anonymous');
19
define('_MD_LEXIKON_ASKEDBY', 'Term requested by:');
20
define('_MD_LEXIKON_ASKFORDEF', 'Request a definition');
21
define('_MD_LEXIKON_BEGINWITHLETTER', 'entries that begin with this letter.');
22
define('_MD_LEXIKON_BROWSECAT', 'Browse by category');
23
define('_MD_LEXIKON_BROWSELETTER', 'Browse by letter');
24
//define('_MD_LEXIKON_CATEGORY','Search in category');
25
define('_MD_LEXIKON_CATEGORY', "<span style='display: block;line-height:1em;'>Search in category</style>");
26
define('_MD_LEXIKON_CATS', 'Categories: ');
27
define('_MD_LEXIKON_COUNT', 'This entry has been seen individually %s times.');
28
define('_MD_LEXIKON_CREATE', 'Submit the entry');
29
define('_MD_LEXIKON_DEFINITION', '[*] Definition');
30
define('_MD_LEXIKON_DEFINITIONREQ', 'Definition request');
31
define('_MD_LEXIKON_DEFINITIONSUB', 'Definition submission');
32
define('_MD_LEXIKON_DEFINS', 'Definitions');
33
define('_MD_LEXIKON_DEFS', 'Definitions: ');
34
define('_MD_LEXIKON_DELTERM', 'Delete this term');
35
define('_MD_LEXIKON_EDITTERM', 'Edit this term');
36
define('_MD_LEXIKON_EMAILLEFT', 'The user left this email address: ');
37
define('_MD_LEXIKON_ENTRIES', ' entries.');
38
define('_MD_LEXIKON_ENTRIESINCAT', 'entries in this glossary.');
39
define('_MD_LEXIKON_ENTRY', '[*] Entry');
40
define('_MD_LEXIKON_ENTRYCATEGORY', 'Category: ');
41
define('_MD_LEXIKON_ENTRYCOUNT', 'This category has ');
42
define('_MD_LEXIKON_ENTRYDEFINITION', 'Definition: ');
43
define('_MD_LEXIKON_ENTRYREFERENCE', 'Reference: ');
44
define('_MD_LEXIKON_ENTRYRELATEDURL', 'Related site: ');
45
define('_MD_LEXIKON_ERRORSAVINGDB', 'ERROR: Database has NOT been updated due to an error!');
46
define('_MD_LEXIKON_GOODDAY', 'Good day, ');
47
define('_MD_LEXIKON_GOODDAY2', 'Good day, %s.');
48
define('_MD_LEXIKON_HOME', 'Home');
49
define('_MD_LEXIKON_INALLGLOSSARIES', 'entries in all our glossaries.');
50
define('_MD_LEXIKON_INTENTRY', 'Have a look at this entry at %s');
51
define('_MD_LEXIKON_INTENTRYFOUND', 'Here is an interesting entry I have found at %s');
52
define('_MD_LEXIKON_INTROREQUEST', "You didn't find the definition you were looking for? Submit the term to us by filling this form. We will look for its definition and add it to the database.");
53
define('_MD_LEXIKON_LOOKON', 'Search');
54
define('_MD_LEXIKON_MAINHEAD', 'Welcome to %s');
55
define(
56
    '_MD_LEXIKON_MAININTRO',
57
    'In this area of the site you will find our catalogue of glossary entries, as well as the latest entry from each of our categories. Click on a category&#8217s name to see all the entries associated with that category, or on an entry&#8217s name to read directly the entry. Depending on privileges, you can rate each entry, select notification options or leave your comments.'
58
);
59
define('_MD_LEXIKON_MAINNOSELECTCAT', 'You did not select a valid category');
60
define('_MD_LEXIKON_MAINNOTOPICS', 'There are no entries in this category');
61
define('_MD_LEXIKON_MESSAGESENT', 'Message to %s sent.');
62
define('_MD_LEXIKON_NO', 'No');
63
define('_MD_LEXIKON_NOENTRIESINCAT', 'There are no entries yet in this glossary.');
64
define('_MD_LEXIKON_NORESULTS', 'There were no matches for the search term given. Please use another word and try again.');
65
define('_MD_LEXIKON_NOSEARCHTERM', 'You have not declared a search term. Please do it now in the search form included in this page.');
66
define('_MD_LEXIKON_NOTERMSINLETTER', 'There are no entries that begin with this letter.');
67
define('_MD_LEXIKON_NOTIFY', 'Notify on publish?');
68
define('_MD_LEXIKON_NOTIFYONPUB', 'The user has asked to be notified when we do something about the definition.<br>');
69
define('_MD_LEXIKON_OTHER', 'Other');
70
define('_MD_LEXIKON_POPULARENT', 'Popular entries');
71
define('_MD_LEXIKON_POSTED', 'Published');
72
define('_MD_LEXIKON_PRINTERFRIENDLY', 'Print this entry in a printer friendly format');
73
define('_MD_LEXIKON_PRINTTERM', 'Print in friendly format');
74
define('_MD_LEXIKON_RANDOMTERM', 'Random term');
75
define('_MD_LEXIKON_RECEIVED', 'The entry you sent has been received. We&#8217ll look at it as soon as possible.');
76
define('_MD_LEXIKON_RECEIVEDANDAPPROVED', 'The entry you sent has been received. Since the auto-approve option is on, we&#8217ll publish it at once.');
77
define('_MD_LEXIKON_RECENTENT', 'Recent entries');
78
define('_MD_LEXIKON_REFERENCE', "Reference<br><span style='font-size: x-small; font-weight: normal; line-height:1em;'>(Optionally, you may give the source of your definition here.)</span>");
79
define('_MD_LEXIKON_REQRCVD', "Your request has been received. We'll look at it as soon as possible.");
80
define('_MD_LEXIKON_REQSEND', 'Request sent');
81
define('_MD_LEXIKON_REQTERM', '[*] Term to define');
82
define('_MD_LEXIKON_REQUESTDEF', 'Request a definition');
83
define('_MD_LEXIKON_REQUESTFORM', 'Request a definition');
84
define('_MD_LEXIKON_REQUESTSENT', 'Your request has been forwarded to the webmaster of %s.');
85
define('_MD_LEXIKON_RETURN', 'Return');
86
define('_MD_LEXIKON_RETURN2INDEX', 'Return to module index');
87
define('_MD_LEXIKON_SEARCH', 'Search!');
88
define('_MD_LEXIKON_SEARCHENTRY', 'Search');
89
define('_MD_LEXIKON_SEARCHHEAD', 'Search results');
90
define('_MD_LEXIKON_SECTIONNAME', 'Lexikon');
91
define('_MD_LEXIKON_SEEMORE', 'More definitions...');
92
define('_MD_LEXIKON_SENDSTORY', 'Send this entry to a friend');
93
define('_MD_LEXIKON_SENDTOFRIEND', 'Send this term to a friend');
94
define('_MD_LEXIKON_SENT', 'Submitted on: ');
95
define('_MD_LEXIKON_SENTCONFIRMMAIL', 'Your comments have been sent to <b>%s</b> as a confirmation email.');
96
define(
97
    '_MD_LEXIKON_STILLNOTHINGHERE',
98
    "<h4 style='margin: 0;'>Glossaries empty</h4>Sorry: We don't have any entries in our glossaries yet. You can help us by requesting some entries whose definition you'd like to know. If you're a registered user, you can also help by submitting some terms whose definition you know."
99
);
100
define('_MD_LEXIKON_SUB_SMNAME', 'Fill this form to send your entry');
101
define('_MD_LEXIKON_SUB_SNEWNAME', 'Submit an entry to %s');
102
define(
103
    '_MD_LEXIKON_SUB_SNEWNAMEDESC',
104
    'please fill the following form to submit your new entry to our site. As you&#8217re well aware, it&#8217ll have to be validated by an administrator before it gets published. However, if the administrator has activated the auto-approve setting, your entry will be published instantly.'
105
);
106
define('_MD_LEXIKON_SUBMIT', 'Submit request');
107
define('_MD_LEXIKON_SUBMITART', 'Submit an entry');
108
define('_MD_LEXIKON_SUBMITENTRY', 'Submit an entry');
109
define('_MD_LEXIKON_SUBMITTEDBY', 'by %s, ');
110
define('_MD_LEXIKON_SUBMITTEDON', 'on %s');
111
define('_MD_LEXIKON_SUBMITTED', 'Submitted ');
112
define('_MD_LEXIKON_SUBMITTER', 'Submitter: ');
113
//define('_MD_LEXIKON_SUBMITTED','Submitted by %s, on %s.');
114
//define('_MD_LEXIKON_TERM','Search term');
115
define('_MD_LEXIKON_TERM', "<span style='display: block;line-height:1em;'>Search term</span>");
116
define('_MD_LEXIKON_TERMS', 'Terms');
117
define('_MD_LEXIKON_TERMSDEFS', 'Terms and definitions');
118
define('_MD_LEXIKON_THANKS1', 'Thank you for your participation!<br>');
119
define('_MD_LEXIKON_THANKS2', 'Thank you for requesting a definition!');
120
define('_MD_LEXIKON_THANKYOU', 'Thank you for taking the time to request a definition that will enrich the glossaries of %s.');
121
define('_MD_LEXIKON_THEREWERE', 'There were %s entries matching the search term: <b>%s</b>.');
122
define('_MD_LEXIKON_TIMESREAD', 'Times read');
123
define('_MD_LEXIKON_UNKNOWNERROR', 'ERROR.  Returning you to where you were!');
124
define('_MD_LEXIKON_URL', "URL<span style='font-size: x-small; font-weight: normal; line-height:1em;'><br>(Please enter a valid URL with or without the HTTP prefix.)</span>");
125
define('_MD_LEXIKON_USERMAIL', 'E-mail');
126
define('_MD_LEXIKON_USERNAME', 'Name');
127
define('_MD_LEXIKON_WEBMASTER', 'Webmaster');
128
define('_MD_LEXIKON_WEHAVE', 'We currently have');
129
define('_MD_LEXIKON_WHOASKED', '%s asked us to find the definition for: ');
130
define('_MD_LEXIKON_WHOSUBMITTED', '%s has submitted the definition for this term: ');
131
define('_MD_LEXIKON_YES', 'Yes');
132
133
define('_MD_LEXIKON_OPTIONS', 'Options');
134
define('_MD_LEXIKON_DOHTML', 'Allow HTML?');
135
define('_MD_LEXIKON_DOSMILEY', 'Allow smilies?');
136
define('_MD_LEXIKON_DOXCODE', 'Allow XOOPS Codes?');
137
define('_MD_LEXIKON_BREAKS', 'Allow linebreaks?');
138
define('_MD_LEXIKON_SUBANDREQ', 'Submitted and requested terms');
139
define('_MD_LEXIKON_SUB', 'Submitted terms: ');
140
define('_MD_LEXIKON_REQ', 'Requested terms: ');
141
define('_MD_LEXIKON_NOSUB', 'Currently there are no submitted terms.');
142
define('_MD_LEXIKON_NOREQ', 'Currently there are no requested terms.');
143
define('_MD_LEXIKON_WRITEHERE', 'Please write here the definition.');
144
define('_MD_LEXIKON_GUEST', 'Guest');
145
define('_MD_LEXIKON_NOCATSINSYSTEM', 'No categories in system');
146
define('_MD_LEXIKON_REQUESTSUGGEST', '(Click the next words to suggest a definition for the term)');
147
148
define('_MD_LEXIKON_ENTRYISOFF', 'Sorry, this definition is currently offline.');
149
define('_MD_LEXIKON_ITEMEXISTS', 'Sorry. The Term already exists.');
150
151
//RSS syndication
152
define('_MD_LEXIKON_INCATS', 'Recent entries in %s');
153
define('_MD_LEXIKON_INCATS_DESC', 'Recent entries in the category %s from %s');
154
define('_MD_LEXIKON_LASTDESC', 'Recent entries from the site %s');
155
156
// new servicelinks
157
define('_MD_LEXIKON_PRINTTERM2', 'Print This');
158
define('_MD_LEXIKON_SENDTOFRIEND2', 'Email to a friend');
159
160
// bookmarks
161
define('_LEXIKON_BOOKMARK_ME', 'Bookmark this Entry');
162
define('_MD_LEXIKON_BKMK_TO_MISTERWONG', 'Bookmark to Mister Wong');
163
define('_MD_LEXIKON_BKMK_TO_BLINKLIST', 'Bookmark to Blinklist');
164
define('_MD_LEXIKON_BKMK_TO_DELICIOUS', 'Bookmark to del.icio.us');
165
define('_MD_LEXIKON_BKMK_TO_DIGG', 'Bookmark to Digg');
166
define('_MD_LEXIKON_BKMK_TO_NEWSVINE', 'Bookmark to Newsvine');
167
define('_MD_LEXIKON_BKMK_TO_REDDIT', 'Bookmark to Reddit');
168
define('_MD_LEXIKON_BKMK_TO_GOOGLE', 'Bookmark to Google');
169
define('_MD_LEXIKON_BKMK_TO_TECHNORATI', 'Bookmark to Technorati');
170
define('_MD_LEXIKON_BKMK_TO_FARK', 'Bookmark to Fark');
171
define('_MD_LEXIKON_BKMK_TO_FACEBOOK', 'Share with friends at Facebook');
172
define('_MD_LEXIKON_BKMK_TO_TWITTER', 'Twitter');
173
define('_MD_LEXIKON_BKMK_TO_DIIGO', 'Bookmark to DIIGO');
174
define('_MD_LEXIKON_BKMK_TO_STUDIVZ', 'Bookmark to StudiVZ');
175
define('_MD_LEXIKON_BKMK_TO_LINKARENA', 'Bookmark to Linkarena');
176
define('_MD_LEXIKON_BKMK_TO_ONEVIEW', 'Bookmark to Oneview');
177
define('_MD_LEXIKON_BKMK_TO_STUMBLEUPON', 'Bookmark to Stumbleupon');
178
179
//categories
180
define('_MD_LEXIKON_SINGLECAT', 'The module is defined to have no categories.');
181
define('_MD_LEXIKON_NOSHOTS', 'No Screenshots Available');
182
183
// authorprofile
184
define('_MD_LEXIKON_AUTHORPROFILE', 'Terms by the same author');
185
//define('_MD_LEXIKON_AUTHORPROFILE','Glossary profile of the author');
186
define('_MD_LEXIKON_AUTHORPROFILETEXT', 'view all terms by this author');
187
define('_MD_LEXIKON_AUTHORPROFILENOTERM', 'User %s has not yet submitted any terms.');
188
define('_MD_LEXIKON_CONTRIBUTORS', 'Glossary Authorlist');
189
define('_MD_LEXIKON_CONTRIBUTORSLIST', "Here is a list of the authors who have contributed to our site's glossary.<br> Click on the name to see his/her contributions.");
190
define('_MD_LEXIKON_AUTHORTERMS', '%s has submitted %s definitions to our glossary.');
191
define('_MD_LEXIKON_AUTHORWAITING', ' %s of his/her definitions are still awaiting approval.');
192
define('_MD_LEXIKON_NOWAITINGTERMS', 'No definitions awaiting approval.');
193
define('_MD_LEXIKON_DATETERM', 'Date');
194
define('_MD_LEXIKON_HITS', 'Views');
195
define('_MD_LEXIKON_AUTHOR', 'Username');
196
define('_MD_LEXIKON_TOTAL', 'Entries');
197
define('_MD_LEXIKON_MAIL', 'E-Mail');
198
define('_MD_LEXIKON_PM', 'PM');
199
define('_MD_LEXIKON_LOCATION', 'Location');
200
define('_MD_LEXIKON_WWW', 'WWW');
201
202
//webmastercontent
203
define('_MD_LEXIKON_RANDOMIZE', 'next Definition');
204
define('_MD_LEXIKON_TERMOFTHEDAY', 'Term of the day');
205
define('_MD_LEXIKON_SYNDICATION', 'Webmastercontent');
206
define(
207
    '_MD_LEXIKON_SYNCODE',
208
    "<iframe style='background-color: #FFFFFF'; marginwidth=0 marginheight=0 width='220' height='260' src='%s/modules/%s/syndication.php' frameborder='0' topmargin='0' leftmargin='0' scrolling='no' allowtransparency='true' > [Your user agent does not support frames or is currently configured not to display frames.]</iframe>"
209
);
210
define('_MD_LEXIKON_SUB_SYNNAME', 'Free Webmastercontent for your Site');
211
define('_MD_LEXIKON_INTROCONTENTSYN', 'You like the glossary definitions at %s ? You may now easily integrate our glossary-definitions at your site. Simply copy the below HTML-code.');
212
define('_MD_LEXIKON_POWER', 'Powered by ');
213
define('_MD_LEXIKON_SYNEXPLAIN1', "click  'select' and copy the HTML-Code using CTRL+C.");
214
define('_MD_LEXIKON_SYNEXPLAIN2', 'Add the below script where you wish the content to appear (using CTRL+V or the contextal menue of the mouse (->Insert)).');
215
define('_MD_LEXIKON_SYNEXPLAIN3', 'Feel free to modify layout and appearence so that it best suits your personal preferences.');
216
217
// mail admin side
218
define('_MD_LEXIKON_SUBJECTREQ', 'Your requested definition at %s');
219
define('_MD_LEXIKON_SUBJECTSUB', 'Your submitted definition at %s');
220
define('_MD_LEXIKON_SUBJECTMOD', 'Your definition-update at %s');
221
define('_MD_LEXIKON_CONFREQ', 'Request online!');
222
define('_MD_LEXIKON_CONFSUB', 'Submission approved!');
223
define('_MD_LEXIKON_CONFMOD', 'Modification approved!');
224
define('_MD_LEXIKON_APPROVED', 'Your request has been approved by the webmaster of %s and will now appear in our glossary.');
225
define('_MD_LEXIKON_REGARDS', 'Best Regards');
226
define('_MD_LEXIKON_DEFINITIONMOD', 'Glossary modification');
227
// ...user side
228
define('_MD_LEXIKON_THANKS3', 'Thank you for submitting a definition.');
229
define('_MD_LEXIKON_THANKSREVIEW', 'Thank you for the modification.');
230
define('_MD_LEXIKON_THANKYOU2', 'Thank you for updating a definition.\nYou will receive a message as soon as the modifications have been revised.');
231
define('_MD_LEXIKON_THANKYOU3', 'Thank you for submitting a definition.\nYou will receive a message as soon as the definition has been approved.');
232
define('_MD_LEXIKON_SUBMISSIONSENT', 'Message to %s sent.');
233
//1.52
234
define('_MD_AM_ADGS', 'Groups');
235
define('_MD_AM_DBUPDATED', 'Database updated');
236
define('_MD_LEXIKON_MUSTREGFIRST', 'You must register first');
237
238
define('_MD_LEXIKON_ADMIN', 'Admin');
239
define('_MD_LEXIKON_INDEX', 'Home');
240
define('_MD_LEXIKON_ACTION', 'Action');
241
define('_MD_LEXIKON_VIEW', 'View');
242
define('_MD_LEXIKON_PRINT', 'Print');
243
define('_MD_LEXIKON_TELL_A_FRIEND', 'Tell A Friend');
244
245
define('_MD_LEXIKON_TITLE', 'Lexikon');
246
define('_MD_LEXIKON_DESC', 'This module is for doing following...');
247
define('_MD_LEXIKON_INDEX_DESC', 'This module is for doing following...');
248
// Category
249
define('_MD_LEXIKON_CATEGORIES', 'Category');
250
define('_MD_LEXIKON_CATEGORIES_DESC', 'Category description');
251
define('_MD_LEXIKON_CATEGORIES_CATEGORYID', 'ID');
252
define('_MD_LEXIKON_CATEGORIES_NAME', 'Category');
253
define('_MD_LEXIKON_CATEGORIES_DESCRIPTION', 'Description');
254
define('_MD_LEXIKON_CATEGORIES_TOTAL', 'Total');
255
define('_MD_LEXIKON_CATEGORIES_WEIGHT', 'Weight');
256
define('_MD_LEXIKON_CATEGORIES_LOGOURL', 'Logo URL');
257
// Entries
258
define('_MD_LEXIKON_ENTRIES_DESC', 'Entries description');
259
define('_MD_LEXIKON_ENTRIES_ENTRYID', 'ID');
260
define('_MD_LEXIKON_ENTRIES_CATEGORYID', 'Category');
261
define('_MD_LEXIKON_ENTRIES_TERM', 'Term');
262
define('_MD_LEXIKON_ENTRIES_INIT', 'Init');
263
define('_MD_LEXIKON_ENTRIES_DEFINITION', 'Definition');
264
define('_MD_LEXIKON_ENTRIES_REF', 'Reference');
265
define('_MD_LEXIKON_ENTRIES_URL', 'URL');
266
define('_MD_LEXIKON_ENTRIES_UID', 'User');
267
define('_MD_LEXIKON_ENTRIES_SUBMIT', 'Submitter');
268
define('_MD_LEXIKON_ENTRIES_DATESUB', 'Submitted');
269
define('_MD_LEXIKON_ENTRIES_COUNTER', 'Counter');
270
define('_MD_LEXIKON_ENTRIES_HTML', 'HTML');
271
define('_MD_LEXIKON_ENTRIES_SMILEY', 'Smiley');
272
define('_MD_LEXIKON_ENTRIES_XCODES', 'xCodes');
273
define('_MD_LEXIKON_ENTRIES_BREAKS', 'Breaks');
274
define('_MD_LEXIKON_ENTRIES_BLOCK', 'Block');
275
define('_MD_LEXIKON_ENTRIES_OFFLINE', 'Offline');
276
define('_MD_LEXIKON_ENTRIES_NOTIFYPUB', 'Notify on Pub');
277
define('_MD_LEXIKON_ENTRIES_REQUEST', 'Request');
278
define('_MD_LEXIKON_ENTRIES_COMMENTS', 'Comments');
279
define('_MD_LEXIKON_ENTRIES_ITEM_TAG', 'Tag');
280
define('_MD_LEXIKON_ENTRIES_ONLINE', 'Online');
281
282
define('_MD_LEXIKON_SELECTALL', 'Select all');
283