diff --git a/admin/admin_script.php b/admin/admin_script.php index 7da8154..c1e0f36 100644 --- a/admin/admin_script.php +++ b/admin/admin_script.php @@ -289,6 +289,14 @@ if (isset($_POST['forum_path'])) /* shoutbox_max_msgs */ $name[] = 'shoutbox_max'; $value[] = (!is_numeric($_POST['shoutbox_limit'])) ? '50' : $_POST['shoutbox_limit']; + + /* pm inbox max */ + $name[] = 'pm_inbox_max'; + $value[] = (!is_numeric($_POST['pm_inbox_max'])) ? '10' : $_POST['pm_inbox_max']; + + /* pm sentbox max */ + $name[] = 'pm_sentbox_max'; + $value[] = (!is_numeric($_POST['pm_sentbox_max'])) ? '10' : $_POST['pm_sentbox_max']; $count_o = count($name); for($i=0;$i<$count_o;$i++) @@ -368,6 +376,15 @@ $skin = array( 'L.shoutbox_limit'=>$lng['shoutbox_max_view'], 'OPTION.shoutbox_limit'=>$forum_config['shoutbox_max'], + +/* pm sentbox max */ +'L.pm_sentbox_max'=>$lng['pm_sentbox_max'], +'OPTION.pm_sentbox_max'=>$forum_config['pm_sentbox_max'], + +/* pm inbox max */ +'L.pm_inbox_max'=>$lng['pm_inbox_max'], +'OPTION.pm_inbox_max'=>$forum_config['pm_inbox_max'], + /* color mod */ 'L.color_mod'=>$lng['color_mod'], 'OPTION.color_mod' => $forum_config['color_mod'], diff --git a/admin/header.php b/admin/header.php index 6a2c1a9..09632a9 100644 --- a/admin/header.php +++ b/admin/header.php @@ -27,7 +27,7 @@ if (User::UserInformation($_SESSION['uid'],'rank')!=2) admin_message_forum($lng['yournotadmin'],'../index.php'); } $skin = array( - 'uf_pa'=>$lng['uf_pa_nav'], + 'uf_pa'=>$lng['uf_pa'], 'index'=>$lng['index'], 'gotoforum'=>$lng['go_to_forum'], 'scriptstat'=>$lng['scriptstat'], diff --git a/admin/index.php b/admin/index.php index 3b07626..e3e358e 100644 --- a/admin/index.php +++ b/admin/index.php @@ -29,13 +29,13 @@ if (User::UserInformation($_SESSION['uid'],'rank')!=2) { admin_message_forum($lng['yournotadmin'],'../index.php'); } -/*echo ' +echo '
-