Completed
Push — master ( 6452b0...d576ea )
by Michael
05:58 queued 03:02
created

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
2
// 
3
//%%%%%%    Admin Module Name  Articles     %%%%%
4
define('_AM_DBUPDATED', 'Database updated successfully!');
5
define('_AM_CONFIG', 'News configuration');
6
define('_AM_AUTOARTICLES', 'Automated articles');
7
define('_AM_STORYID', 'Story ID');
8
define('_AM_TITLE', 'Title');
9
define('_AM_TOPIC', 'Topic');
10
define('_AM_POSTER', 'Poster');
11
define('_AM_PROGRAMMED', 'Programmed Date/Time');
12
define('_AM_NEWS_ACTION', 'Action');
13
define('_AM_EDIT', 'Edit');
14
define('_AM_DELETE', 'Delete');
15
define('_AM_LAST10ARTS', 'Last %d articles');
16
define('_AM_PUBLISHED', 'Published'); // Published Date
17
define('_AM_GO', 'Go!');
18
define('_AM_EDITARTICLE', 'Edit article');
19
define('_AM_POSTNEWARTICLE', 'Post new article');
20
define('_AM_ARTPUBLISHED', 'Your article has been published!');
21
define('_AM_HELLO', 'Hello %s,');
22
define('_AM_YOURARTPUB', 'Your article submitted to our site has been published.');
23
define('_AM_TITLEC', 'Title: ');
24
define('_AM_URLC', 'URL: ');
25
define('_AM_PUBLISHEDC', 'Published: ');
26
define('_AM_RUSUREDEL', 'Are you sure you want to delete this article and all its comments?');
27
define('_AM_YES', 'Yes');
28
define('_AM_NO', 'No');
29
define('_AM_INTROTEXT', 'Intro text');
30
define('_AM_EXTEXT', 'Extended text');
31
define('_AM_ALLOWEDHTML', 'Allowed HTML:');
32
define('_AM_DISAMILEY', 'Disable smiley');
33
define('_AM_DISHTML', 'Disable HTML');
34
define('_AM_APPROVE', 'Approve');
35
define('_AM_MOVETOTOP', 'Move this story to top');
36
define('_AM_CHANGEDATETIME', 'Change the date/time of publication');
37
define('_AM_NOWSETTIME', 'It is now set at: %s'); // %s is datetime of publish
38
define('_AM_CURRENTTIME', 'Current time is: %s');  // %s is the current datetime
39
define('_AM_SETDATETIME', 'Set the date/time of publish');
40
define('_AM_MONTHC', 'Month:');
41
define('_AM_DAYC', 'Day:');
42
define('_AM_YEARC', 'Year:');
43
define('_AM_TIMEC', 'Time:');
44
define('_AM_PREVIEW', 'Preview');
45
//define('_AM_SAVE', 'Save');
0 ignored issues
show
Unused Code Comprehensibility introduced by
75% 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...
46
define('_AM_PUBINHOME', 'Publish in home?');
47
define('_AM_ADD', 'Add');
48
//%%%%%%    Admin Module Name  Topics   %%%%%
49
define('_AM_ADDMTOPIC', 'Add a main topic');
50
define('_AM_TOPICNAME', 'Topic name');
51
// Warning, changed from 40 to 255 characters.
52
define('_AM_MAX40CHAR', '(max: 255 characters)');
53
define('_AM_TOPICIMG', 'Topic image');
54
define('_AM_IMGNAEXLOC', 'image name + extension located in %s');
55
define('_AM_FEXAMPLE', 'for example: games.gif');
56
define('_AM_ADDSUBTOPIC', 'Add a subtopic');
57
define('_AM_IN', 'in');
58
define('_AM_MODIFYTOPIC', 'Modify topic');
59
define('_AM_MODIFY', 'Modify');
60
define('_AM_PARENTTOPIC', 'Parent topic');
61
define('_AM_SAVECHANGE', 'Save changes');
62
define('_AM_DEL', 'Delete');
63
define('_AM_CANCEL', 'Cancel');
64
define('_AM_WAYSYWTDTTAL', 'Warning: Are you sure you want to delete this topic and all its stories and comments?');
65
// Added in Beta6
66
define('_AM_TOPICSMNGR', 'Topics manager');
67
define('_AM_PEARTICLES', 'Post/Edit articles');
68
define('_AM_NEWSUB', 'New submissions');
69
define('_AM_POSTED', 'Posted');
70
define('_AM_GENERALCONF', 'General configuration');
71
// Added in RC2
72
define('_AM_TOPICDISPLAY', 'Display topic image?');
73
define('_AM_TOPICALIGN', 'Position');
74
define('_AM_RIGHT', 'Right');
75
define('_AM_LEFT', 'Left');
76
define('_AM_EXPARTS', 'Expired Articles');
77
define('_AM_EXPIRED', 'Expired');
78
define('_AM_CHANGEEXPDATETIME', 'Change the date/time of expiration');
79
define('_AM_SETEXPDATETIME', 'Set the date/time of expiration');
80
define('_AM_NOWSETEXPTIME', 'It is now set at: %s');
81
// Added in RC3
82
define('_AM_ERRORTOPICNAME', 'You must enter a topic name!');
83
define('_AM_EMPTYNODELETE', 'Nothing to delete!');
84
// Added 240304 (Mithrandir)
0 ignored issues
show
Unused Code Comprehensibility introduced by
38% 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...
85
define('_AM_GROUPPERM', 'Submit/Approve/View permissions');
86
define('_AM_SELFILE', 'Select file to upload');
87
// Added by Hervé
88
define('_AM_UPLOAD_DBERROR_SAVE', 'Error while attaching file to the story');
89
define('_AM_UPLOAD_ERROR', 'Error while uploading the file');
90
define('_AM_UPLOAD_ATTACHFILE', 'Attached file(s)');
91
define('_AM_APPROVEFORM', 'Approve permissions');
92
define('_AM_SUBMITFORM', 'Submit permissions');
93
define('_AM_VIEWFORM', 'View permissions');
94
define('_AM_APPROVEFORM_DESC', 'Select, who can approve news');
95
define('_AM_SUBMITFORM_DESC', 'Select, who can submit news');
96
define('_AM_VIEWFORM_DESC', 'Select, who can view which topics');
97
define('_AM_DELETE_SELFILES', 'Delete selected files');
98
define('_AM_TOPIC_PICTURE', 'Upload picture');
99
define('_AM_UPLOAD_WARNING', '<B>Warning, do not forget to apply write permissions to the following folder : %s</B>');
100
define('_AM_NEWS_UPGRADECOMPLETE', 'Upgrade complete');
101
define('_AM_NEWS_UPDATEMODULE', 'Update module templates and blocks');
102
define('_AM_NEWS_UPGRADEFAILED', 'Upgrade failed');
103
define('_AM_NEWS_UPGRADE', 'Upgrade');
104
define('_AM_ADD_TOPIC', 'Add a topic');
105
define('_AM_ADD_TOPIC_ERROR', 'Error, topic already exists!');
106
define('_AM_ADD_TOPIC_ERROR1', 'Error: Cannot select this topic for parent topic!');
107
define('_AM_SUB_MENU', 'Publish this topic as a sub menu');
108
define('_AM_SUB_MENU_YESNO', 'Submenu?');
109
define('_AM_HITS', 'Hits');
110
define('_AM_CREATED', 'Created');
111
define('_AM_TOPIC_DESCR', "Topic's description");
112
define('_AM_USERS_LIST', 'Users list');
113
define('_AM_PUBLISH_FRONTPAGE', 'Publish in front page?');
114
define('_AM_NEWS_UPGRADEFAILED1', 'Impossible to create the table stories_files');
115
define('_AM_NEWS_UPGRADEFAILED2', "Impossible to change the topic title's length");
116
define('_AM_NEWS_UPGRADEFAILED21', 'Impossible to add the new fields to the topics table');
117
define('_AM_NEWS_UPGRADEFAILED3', 'Impossible to create the table stories_votedata');
118
define('_AM_NEWS_UPGRADEFAILED4', "Impossible to create the two fields 'rating' and 'votes' for the 'story' table");
119
define('_AM_NEWS_UPGRADEFAILED0', "Please note the messages and try to correct the problems with phpMyadmin and the sql definition's file available in the 'sql' folder of the news module");
120
define('_AM_NEWS_UPGR_ACCESS_ERROR', 'Error, to use the upgrade script, you must be an admin on this module');
121
define('_AM_NEWS_PRUNE_BEFORE', 'Prune stories that were published before');
122
define('_AM_NEWS_PRUNE_EXPIREDONLY', 'Only remove stories who have expired');
123
define('_AM_NEWS_PRUNE_CONFIRM', "Warning, you are going to permanently remove stories that were published before %s (this action can't be undone). It represents %s stories.<br />Are you sure?");
124
define('_AM_NEWS_PRUNE_TOPICS', 'Limit to the following topics');
125
define('_AM_NEWS_PRUNENEWS', 'Prune news');
126
define('_AM_NEWS_EXPORT_NEWS', 'News Export (in XML)');
127
define('_AM_NEWS_EXPORT_NOTHING', "Sorry, but there's nothing to export. Please, verify your criteria");
128
define('_AM_NEWS_PRUNE_DELETED', '%d news was deleted');
129
define('_AM_NEWS_PERM_WARNING', '<h2>Warning, you have 3 forms so you have 3 submit buttons</h2>');
130
define('_AM_NEWS_EXPORT_BETWEEN', 'Export news published between');
131
define('_AM_NEWS_EXPORT_AND', ' and ');
132
define('_AM_NEWS_EXPORT_PRUNE_DSC', "If you don't check anything then all the topics will be used<br/> else only the selected topics will be used");
133
define('_AM_NEWS_EXPORT_INCTOPICS', 'Include topics definitions?');
134
define('_AM_NEWS_EXPORT_ERROR', 'Error while trying to create the file %s. Operation stopped.');
135
define('_AM_NEWS_EXPORT_READY', "Your xml export file is ready for download. <br /><a href='%s'>Click on this link to download it</a>.<br />Don't forget <a href='%s'>to remove it</a> once you have finished.");
136
define('_AM_NEWS_RSS_URL', 'URL of RSS feed');
137
define('_AM_NEWS_NEWSLETTER', 'Newsletter');
138
define('_AM_NEWS_NEWSLETTER_BETWEEN', 'Select news published between');
139
define('_AM_NEWS_NEWSLETTER_READY', "Your newsletter file is ready for download. <br /><a href='%s'>Click on this link to download it</a>.<br />Don't forget to <a href='%s'>remove it</a> once you have finished.");
140
define('_AM_NEWS_DELETED_OK', 'File deleted successfully');
141
define('_AM_NEWS_DELETED_PB', 'There was a problem while deleting the file');
142
define('_AM_NEWS_STATS0', 'Topics statistics');
143
define('_AM_NEWS_STATS', 'Statistics');
144
define('_AM_NEWS_STATS1', 'Unique authors');
145
define('_AM_NEWS_STATS2', 'Totals');
146
define('_AM_NEWS_STATS3', 'Articles statistics');
147
define('_AM_NEWS_STATS4', 'Most read articles');
148
define('_AM_NEWS_STATS5', 'Less read articles');
149
define('_AM_NEWS_STATS6', 'Best rated articles');
150
define('_AM_NEWS_STATS7', 'Most read authors');
151
define('_AM_NEWS_STATS8', 'Best rated authors');
152
define('_AM_NEWS_STATS9', 'Biggest contributors');
153
define('_AM_NEWS_STATS10', 'Authors statistics');
154
define('_AM_NEWS_STATS11', 'Articles count');
155
define('_AM_NEWS_HELP', 'Help');
156
define('_AM_NEWS_MODULEADMIN', 'Module admin');
157
define('_AM_NEWS_GENERALSET', 'Module settings');
158
define('_AM_NEWS_GOTOMOD', 'Go to module');
159
define('_AM_NEWS_NOTHING', "Sorry, but there's nothing to download. Verify your criteria!");
160
define('_AM_NEWS_NOTHING_PRUNE', "Sorry, but there's no news to prune. Verify your criteria!");
161
define('_AM_NEWS_TOPIC_COLOR', "Topics's color");
162
define('_AM_NEWS_COLOR', 'Color');
163
define('_AM_NEWS_REMOVE_BR', 'Convert the html &lt;br&gt; tag to a new line?');
164
// Added in 1.3 RC2
165
define('_AM_NEWS_PLEASE_UPGRADE', "<a href='upgrade.php'><span style='color:#FF0000;'>Please upgrade the module!</span></a>");
166
// Added in version 1.50
167
define('_AM_NEWS_NEWSLETTER_HEADER', 'Header');
168
define('_AM_NEWS_NEWSLETTER_FOOTER', 'Footer');
169
define('_AM_NEWS_NEWSLETTER_HTML_TAGS', 'Remove html tags?');
170
define('_AM_NEWS_VERIFY_TABLES', 'Maintain tables');
171
define('_AM_NEWS_METAGEN', 'Metagen');
172
define('_AM_NEWS_METAGEN_DESC', 'Metagen is a system that can help you have your page best indexed by search engines.<br />Except if you type meta keywords and meta descriptions yourself, the module will automatically create them.');
173
define('_AM_NEWS_BLACKLIST', 'Blacklist');
174
define('_AM_NEWS_BLACKLIST_DESC', 'The words in this list will not be used to create meta keywords');
175
define('_AM_NEWS_BLACKLIST_ADD', 'Add');
176
define('_AM_NEWS_BLACKLIST_ADD_DSC', 'Enter words to add in the list<br />(one word byline)');
177
define('_AM_NEWS_META_KEYWORDS_CNT', 'Maximum count of meta keywords to auto-generate');
178
define('_AM_NEWS_META_KEYWORDS_ORDER', 'Keywords order');
179
define('_AM_NEWS_META_KEYWORDS_INTEXT', 'Create them in the order they appear in the text');
180
define('_AM_NEWS_META_KEYWORDS_FREQ1', "Words frequency's order");
181
define('_AM_NEWS_META_KEYWORDS_FREQ2', 'Reverse order of words frequency');
182
// Added in version 1.67
183
// About.php
184
define('_AM_NEWS_ABOUT_RELEASEDATE', 'Released: ');
185
define('_AM_NEWS_ABOUT_UPDATEDATE', 'Updated: ');
186
define('_AM_NEWS_ABOUT_AUTHOR', 'Author: ');
187
define('_AM_NEWS_ABOUT_CREDITS', 'Credits: ');
188
define('_AM_NEWS_ABOUT_LICENSE', 'License: ');
189
define('_AM_NEWS_ABOUT_MODULE_STATUS', 'Status: ');
190
define('_AM_NEWS_ABOUT_WEBSITE', 'Website: ');
191
define('_AM_NEWS_ABOUT_AUTHOR_NAME', 'Author name: ');
192
define('_AM_NEWS_ABOUT_CHANGELOG', 'Change Log');
193
define('_AM_NEWS_ABOUT_MODULE_INFO', 'Module Infos');
194
define('_AM_NEWS_ABOUT_AUTHOR_INFO', 'Author Infos');
195
define('_AM_NEWS_ABOUT_DESCRIPTION', 'Description: ');
196
// Configuration check
197
define('_AM_NEWS_CONFIG_CHECK', 'Configuration Check');
198
define('_AM_NEWS_CONFIG_PHP', 'Minimum PHP required: %s (your version is %s)');
199
define('_AM_NEWS_CONFIG_XOOPS', 'Minimum XOOPS required:  %s (your version is %s)');
200
define('_AM_NEWS_STATISTICS', 'News Statistics');
201
define('_AM_NEWS_THEREARE_STORIES', "There are <span class='red bold'>%s</span> News in the database");
202
define('_AM_NEWS_THEREARE_STORIES_ONLINE', "There are <span class='red bold'>%s</span> News published in Home");
203
define('_AM_NEWS_THEREARE_STORIES_FILES', "There are <span class='red bold'>%s</span> Stories_files in the database");
204
define('_AM_NEWS_THEREARE_STORIES_FILES_ONLINE', "There are <span class='red bold'>%s</span> Stories_files online");
205
define('_AM_NEWS_THEREARE_TOPICS', "There are <span class='red bold'>%s</span> Categories in the database");
206
define('_AM_NEWS_THEREARE_TOPICS_ONLINE', "There are <span class='red bold'>%s</span> Categories visible in Menu");
207
define('_AM_NEWS_THEREARE_STORIES_VOTEDATA', "There are <span class='red bold'>%s</span> Stories Viewed");
208
define('_AM_NEWS_THEREARE_STORIES_IMPORTED', "There are <span class='red bold'>%s</span> Imported Stories");
209
define('_AM_NEWS_THEREARE_STORIES_EXPORTED', "There are <span class='red bold'>%s</span> Stories exported");
210
define('_AM_NEWS_THEREARE_STORIES_EXPIRED', "There are <span class='red bold'>%s</span> Expired News");
211
define('_AM_NEWS_THEREARE_STORIES_EXPIRED_SOON', "There are <span class='red bold'>%s</span> News to Expire soon");
212
define('_AM_NEWS_THEREARE_STORIES_APPROVED', "There are <span class='red bold'>%s</span> Approved News");
213
define('_AM_NEWS_THEREARE_STORIES_NEED_APPROVAL', "There are <span class='red bold'>%s</span> News that need Approval");
214