-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstrings_e.php
95 lines (94 loc) · 9.19 KB
/
strings_e.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<?php
define('S_HOME', 'Home'); //Forwards to home page
define('S_ADMIN', 'Manage'); //Forwards to Management Panel
define('S_RETURN', 'Return'); //Returns to image board
define('S_POSTING', 'Posting mode: Reply'); //Prints message in red bar atop the reply screen
define('S_NOTAGS', 'HTML tags are allowed.'); //Prints message on Management Board
define('S_NAME', 'Name'); //Describes name field
define('S_EMAIL', 'E-mail'); //Describes e-mail field
define('S_SUBJECT', 'Subject'); //Describes subject field
define('S_SUBMIT', 'Submit'); //Describes submit button
define('S_COMMENT', 'Comment'); //Describes comment field
define('S_UPLOADFILE', 'File'); //Describes file field
define('S_NOFILE', 'No File'); //Describes file/no file checkbox
define('S_DELPASS', 'Password'); //Describes password field
define('S_DELEXPL', '(Password used for file deletion)'); //Prints explanation for password box (to the right)
define('S_RULES', '<ul><li>Supported file types are: GIF, JPG, PNG</li>
<li>Maximum file size allowed is '.MAX_KB.' KB.</li>
<li>Images greater than '.MAX_W.'x'.MAX_H.' pixels will be thumbnailed.</li></ul>'); //Prints rules under posting section
define('S_REPORTERR', 'Error: Cannot find reply.'); //Returns error when a reply (res) cannot be found
define('S_THUMB', 'Thumbnail displayed, click image for full size.'); //Prints instructions for viewing real source
define('S_PICNAME', 'File : '); //Prints text before upload name/link
define('S_REPLY', 'Reply'); //Prints text for reply link
define('S_OLD', 'Marked for deletion (old).'); //Prints text to be displayed before post is marked for deletion, see: retention
define('S_RESU', 'Post'); //Prints post?
define('S_ABBR', ' posts omitted. Click Reply to view.'); //Prints text to be shown when replies are hidden
define('S_REPDEL', 'Delete Post '); //Prints text next to S_DELPICONLY (left)
define('S_DELPICONLY', 'File Only'); //Prints text next to checkbox for file deletion (right)
define('S_DELKEY', 'Password '); //Prints text next to password field for deletion (left)
define('S_DELETE', 'Delete'); //Defines deletion button's name
define('S_PREV', 'Previous'); //Defines previous button
define('S_FIRSTPG', 'Previous'); //Defines previous button
define('S_NEXT', 'Next'); //Defines next button
define('S_LASTPG', 'Next'); //Defines next button
define('S_FOOT', '- <a href="http://php.s3.to" target="_blank">GazouBBS</a> + <a href="http://www.2chan.net/" target="_blank">futaba</a> + <a href="http://www.1chan.net/futallaby/" target="_blank">futallaby</a> + <a href="https://github.com/OtakuMegane/FutallabyCodefix" target="_blank">Codefix</a> -'); //Prints footer (leave these credits)
define('S_RELOAD', 'Return'); //Reloads the image board (refresh)
define('S_UPFAIL', 'Error: Upload failed.'); //Returns error for failed upload (reason: unknown?)
define('S_NOREC', 'Error: Cannot find record.'); //Returns error when record cannot be found
define('S_SAMEPIC', 'Error: Duplicate md5 checksum detected.'); //Returns error when a md5 checksum dupe is detected
define('S_TOOBIG', 'This image is too large! Upload something smaller!');
define('S_TOOBIGORNONE', 'Either this image is too big or there is no image at all. Yeah.');
define('S_UPGOOD', ' '.$upfile_name.' uploaded!<br><br>'); //Defines message to be displayed when file is successfully uploaded
define('S_STRREF', 'Error: String refused.'); //Returns error when a string is refused
define('S_UNJUST', 'Error: Unjust POST.'); //Returns error on an unjust POST - prevents floodbots or ways not using POST method?
define('S_NOPIC', 'Error: No file selected.'); //Returns error for no file selected and override unchecked
define('S_NOTEXT', 'Error: No text entered.'); //Returns error for no text entered in to subject/comment
define('S_MANAGEMENT', 'Manager : '); //Defines prefix for Manager Post name
define('S_DELETION', 'Deletion'); //Prints deletion message with quotes?
define('S_TOOLONG', 'Error: Field too long.'); //Returns error for too many characters in a given field
define('S_UNUSUAL', 'Error: Abnormal reply.'); //Returns error for abnormal reply? (this is a mystery!)
define('S_BADHOST', 'Error: Host is banned.'); //Returns error for banned host ($badip string)
define('S_PROXY80', 'Error: Proxy detected on :80.'); //Returns error for proxy detection on port 80
define('S_PROXY8080', 'Error: Proxy detected on :8080.'); //Returns error for proxy detection on port 8080
define('S_SUN', 'Sun'); //Defines abbreviation used for "Sunday"
define('S_MON', 'Mon'); //Defines abbreviation used for "Monday"
define('S_TUE', 'Tue'); //Defines abbreviation used for "Tuesday"
define('S_WED', 'Wed'); //Defines abbreviation used for "Wednesday"
define('S_THU', 'Thu'); //Defines abbreviation used for "Thursday"
define('S_FRI', 'Fri'); //Defines abbreviation used for "Friday"
define('S_SAT', 'Sat'); //Defines abbreviation used for "Saturday"
define('S_ANONAME', 'Anonymous'); //Defines what to print if there is no text entered in the name field
define('S_ANOTEXT', 'No Text'); //Defines what to print if there is no text entered in the comment field
define('S_ANOTITLE', 'No Subject'); //Defines what to print if there is no text entered into subject field
define('S_RENZOKU', 'Error: Flood detected, post discarded.'); //Returns error for $sec/post spam filter
define('S_RENZOKU2', 'Error: Flood detected, file discarded.'); //Returns error for $sec/upload spam filter
define('S_RENZOKU3', 'Error: Flood detected.'); //Returns error for flood? (don't know the specifics)
define('S_DUPE', 'Error: Duplicate file entry detected.'); //Returns error for a duped file (same upload name or same tim/time)
define('S_NOTHREADERR', 'Error: Thread specified does not exist.'); //Returns error when a non-existant thread is accessed
define('S_SCRCHANGE', 'Updating page.'); //Defines message to be displayed when post is successful //
define('S_BADDELPASS', 'Error: Password incorrect.'); //Returns error for wrong password (when user tries to delete file)
define('S_WRONGPASS', 'Error: Management password incorrect.'); //Returns error for wrong password (when trying to access Manager modes)
define('S_RETURNS', 'Return'); //Returns to HTML file instead of PHP--thus no log/SQLDB update occurs
define('S_LOGUPD', 'Update'); //Updates the log/SQLDB by accessing the PHP file
define('S_MANAMODE', 'Manager Mode'); //Prints heading on top of Manager page
define('S_MANAREPDEL', 'Management Panel'); //Defines Management Panel radio button--allows the user to view the management panel (overview of all posts)
define('S_MANAPOST', 'Manager Post'); //Defines Manager Post radio button--allows the user to post using HTML code in the comment box
define('S_MANASUB', 'Submit'); //Defines name for submit button in Manager Mode
define('S_DELLIST', 'Management Panel'); //Prints sub-heading of Management Panel
define('S_ITDELETES', 'Delete'); //Defines for deletion button in Management Panel
define('S_MDRESET', 'Reset'); //Defines name for field reset button in Management Panel
define('S_MDONLYPIC', 'File Only'); //Sets whether or not to delete only file, or entire post/thread
define('S_MDTABLE1', '<th>Delete?</th><th>Post No.</th><th>Time</th><th>Subject</th>'); //Explains field names for Management Panel (Delete?->Subject)
define('S_MDTABLE2', '<th>Name</th><th>Comment</th><th>Host</th><th>Size<br>(Bytes)</th><th>md5</th><th>Reply #</th><th>No idea</th><th>No idea</th>'); //Explains names for Management Panel (Name->md5)
define('S_RESET', 'Reset'); //Sets name for field reset button (global)
define('S_IMGSPACEUSAGE', 'Space used :'); //Prints space used KB by the board under Management Panel
define('S_CANNOTWRITE', 'Error: Cannot write to directory.<br>'); //Returns error when the script cannot write to the directory, this is used on initial setup--check your chmod (777)
define('S_NOTWRITE', 'Error: Cannot write to directory.<br>'); //Returns error when the script cannot write to the directory, the chmod (777) is wrong
define('S_NOTREAD', 'Error: Cannot read from directory.<br>'); //Returns error when the script cannot read from the directory, the chmod (777) is wrong
define('S_NOTDIR', 'Error: Directory does not exist.<br>'); //Returns error when the script cannot find/read from the directory (does not exist/isn't directory), the chmod (777) is wrong
define('S_SQLCONF', 'MySQL connection failure'); //MySQL connection failure
define('S_SQLDBSF', 'Database error, check SQL settings<br>'); //database select failure
define('S_TCREATE', 'Creating table!<br>\n'); //creating table
define('S_TCREATEF', 'Unable to create table!<br>'); //table creation failed
define('S_SQLFAIL', 'Critical SQL problem!<br>'); //SQL Failure
?>