MOD_STICKY

This commit is contained in:
Savetheinternet 2010-12-16 17:04:33 +11:00
parent be1f119227
commit f49bfa17c0

View File

@ -71,6 +71,7 @@
define('ERROR_REQUIRED', 'The %s field is required.', true); define('ERROR_REQUIRED', 'The %s field is required.', true);
define('ERROR_INVALIDFIELD', 'The %s field was invalid.', true); define('ERROR_INVALIDFIELD', 'The %s field was invalid.', true);
define('ERROR_NOACCESS', 'You don\'t have permission to do that.', true); define('ERROR_NOACCESS', 'You don\'t have permission to do that.', true);
define('ERROR_INVALIDPOST', 'That post doesn\'t exist…', true);
// For resizing, max values // For resizing, max values
define('THUMB_WIDTH', 200, true); define('THUMB_WIDTH', 200, true);
@ -158,6 +159,8 @@
define('MOD_DELETEFILE', MOD_JANITOR, true); define('MOD_DELETEFILE', MOD_JANITOR, true);
// Delete all posts by IP // Delete all posts by IP
define('MOD_DELETEBYIP', MOD_BAN, true); define('MOD_DELETEBYIP', MOD_BAN, true);
// Sticky a thread
define('MOD_STICKY', MOD_MOD, true);
// Mod links (full HTML) // Mod links (full HTML)
// Correspond to above permission directives // Correspond to above permission directives
@ -166,6 +169,7 @@
define('MOD_LINK_BANDELETE', '[B&D]', true); define('MOD_LINK_BANDELETE', '[B&D]', true);
define('MOD_LINK_DELETEFILE', '[F]', true); define('MOD_LINK_DELETEFILE', '[F]', true);
define('MOD_LINK_DELETEBYIP', '[D+]', true); define('MOD_LINK_DELETEBYIP', '[D+]', true);
define('MOD_LINK_STICKY', '[Sticky]', true);
// A small file in the main directory indicating that the script has been ran and the board(s) have been generated. // A small file in the main directory indicating that the script has been ran and the board(s) have been generated.
// This keeps the script from querying the database and causing strain when not needed. // This keeps the script from querying the database and causing strain when not needed.