Configure the warning expiry

git-svn-id: file:///svn/phpbb/trunk@5605 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Graham Eames 2006-03-06 17:29:48 +00:00
parent c01597499c
commit 3eb7f4ec28
2 changed files with 7 additions and 1 deletions

View file

@ -101,7 +101,10 @@ class acp_board
'max_post_font_size' => array('lang' => 'MAX_POST_FONT_SIZE', 'type' => 'text:5:4', 'explain' => true),
'max_quote_depth' => array('lang' => 'QUOTE_DEPTH_LIMIT', 'type' => 'text:4:4', 'explain' => true),
'max_post_img_width' => array('lang' => 'MAX_POST_IMG_WIDTH', 'type' => 'text:5:4', 'explain' => true),
'max_post_img_height' => array('lang' => 'MAX_POST_IMG_HEIGHT', 'type' => 'text:5:4', 'explain' => true)
'max_post_img_height' => array('lang' => 'MAX_POST_IMG_HEIGHT', 'type' => 'text:5:4', 'explain' => true),
'legend5' => 'MODERATION',
'warnings_expire_days' => array('lang' => 'WARNINGS_EXPIRE', 'type' => 'text:3:4', 'explain' => true)
)
);
break;

View file

@ -313,6 +313,9 @@ $lang = array_merge($lang, array(
'COPPA' => 'Coppa',
'REGISTRATION' => 'User Registration',
'POSTING' => 'Posting',
'MODERATION' => 'Moderation',
'WARNINGS_EXPIRE' => 'Warning duration',
'WARNINGS_EXPIRE_EXPLAIN' => 'Number of days after it is issued before a warning will expire from a user\'s record',
));
// Auth settings