aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/ucp/ucp_pm_viewfolder.php
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2006-03-23 19:23:52 +0000
committerNils Adermann <naderman@naderman.de>2006-03-23 19:23:52 +0000
commit56a70484ef567d2a6c238cd22bf5f3bb106f52a3 (patch)
treedf18c4ebb726cc6393681568554bb33994158783 /phpBB/includes/ucp/ucp_pm_viewfolder.php
parentcccada69c0def66e4f4f8059c79a53dfa2ae20db (diff)
downloadforums-56a70484ef567d2a6c238cd22bf5f3bb106f52a3.tar
forums-56a70484ef567d2a6c238cd22bf5f3bb106f52a3.tar.gz
forums-56a70484ef567d2a6c238cd22bf5f3bb106f52a3.tar.bz2
forums-56a70484ef567d2a6c238cd22bf5f3bb106f52a3.tar.xz
forums-56a70484ef567d2a6c238cd22bf5f3bb106f52a3.zip
- some adjustments for search related config options
- one year is 365 days long (52 * 7 = 364, but we have one more day each year ;-)) [Bug #1181] - fixed search own posts link in UCP [Bug #1163] - corrections to timezone selection [Bug #1148] - fix quickmod tools on post details page [Bug #1188] git-svn-id: file:///svn/phpbb/trunk@5705 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/ucp/ucp_pm_viewfolder.php')
-rw-r--r--phpBB/includes/ucp/ucp_pm_viewfolder.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/ucp/ucp_pm_viewfolder.php b/phpBB/includes/ucp/ucp_pm_viewfolder.php
index ceaa3e5516..f54c62bb2e 100644
--- a/phpBB/includes/ucp/ucp_pm_viewfolder.php
+++ b/phpBB/includes/ucp/ucp_pm_viewfolder.php
@@ -359,7 +359,7 @@ function get_pm_from($folder_id, $folder, $user_id, $url, $type = 'folder')
$sort_dir = request_var('sd', 'd');
// PM ordering options
- $limit_days = array(0 => $user->lang['ALL_MESSAGES'], 1 => $user->lang['1_DAY'], 7 => $user->lang['7_DAYS'], 14 => $user->lang['2_WEEKS'], 30 => $user->lang['1_MONTH'], 90 => $user->lang['3_MONTHS'], 180 => $user->lang['6_MONTHS'], 364 => $user->lang['1_YEAR']);
+ $limit_days = array(0 => $user->lang['ALL_MESSAGES'], 1 => $user->lang['1_DAY'], 7 => $user->lang['7_DAYS'], 14 => $user->lang['2_WEEKS'], 30 => $user->lang['1_MONTH'], 90 => $user->lang['3_MONTHS'], 180 => $user->lang['6_MONTHS'], 365 => $user->lang['1_YEAR']);
$sort_by_text = array('a' => $user->lang['AUTHOR'], 't' => $user->lang['POST_TIME'], 's' => $user->lang['SUBJECT']);
$sort_by_sql = array('a' => 'u.username', 't' => 'p.message_time', 's' => 'p.message_subject');