aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2003-02-27 16:14:46 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2003-02-27 16:14:46 +0000
commit6735ab4882dce6a0e66d792704bf5dda8efc9678 (patch)
treee3ce294c8dd474cc90b03d70fa8d58f71adc31fe /phpBB/includes/functions.php
parent0e711275b5644b2f23d4ce64040aa6aeb7f8d54c (diff)
downloadforums-6735ab4882dce6a0e66d792704bf5dda8efc9678.tar
forums-6735ab4882dce6a0e66d792704bf5dda8efc9678.tar.gz
forums-6735ab4882dce6a0e66d792704bf5dda8efc9678.tar.bz2
forums-6735ab4882dce6a0e66d792704bf5dda8efc9678.tar.xz
forums-6735ab4882dce6a0e66d792704bf5dda8efc9678.zip
sorting select name changes
git-svn-id: file:///svn/phpbb/trunk@3569 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 3f01b8a024..cb8da7e8c0 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -202,13 +202,13 @@ function gen_forum_rules($mode, &$forum_id)
return;
}
-function gen_sort_selects(&$limit_days, &$sort_by_text, &$s_limit_days, &$s_sort_key, &$s_sort_dir)
+function gen_sort_selects(&$limit_days, &$sort_by_text, &$sort_days, &$sort_key, &$sort_dir, &$s_limit_days, &$s_sort_key, &$s_sort_dir)
{
global $user;
$sort_dir_text = array('a' => $user->lang['ASCENDING'], 'd' => $user->lang['DESCENDING']);
- $s_limit_days = '<select name="sort_days">';
+ $s_limit_days = '<select name="st">';
foreach ($limit_days as $day => $text)
{
$selected = ($sort_days == $day) ? ' selected="selected"' : '';
@@ -216,7 +216,7 @@ function gen_sort_selects(&$limit_days, &$sort_by_text, &$s_limit_days, &$s_sort
}
$s_limit_days .= '</select>';
- $s_sort_key = '<select name="sort_key">';
+ $s_sort_key = '<select name="sk">';
foreach ($sort_by_text as $key => $text)
{
$selected = ($sort_key == $key) ? ' selected="selected"' : '';
@@ -224,7 +224,7 @@ function gen_sort_selects(&$limit_days, &$sort_by_text, &$s_limit_days, &$s_sort
}
$s_sort_key .= '</select>';
- $s_sort_dir = '<select name="sort_dir">';
+ $s_sort_dir = '<select name="sd">';
foreach ($sort_dir_text as $key => $value)
{
$selected = ($sort_dir == $key) ? ' selected="selected"' : '';