1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-23 06:33:22 +02:00

Sort now functioning across pages

This commit is contained in:
Cameron
2013-02-06 10:22:45 -08:00
parent 3b78d19acb
commit 68f949ec7b
4 changed files with 13 additions and 9 deletions

View File

@@ -1879,7 +1879,8 @@ class e_form
if(vartrue($parms['sort']))//FIXME use a global variable such as $fieldpref
{
$mode = preg_replace('/[^\w]/', '', vartrue($_GET['mode'], ''));
$value .= "<a class='e-sort' style='cursor:move' href='".e_SELF."?mode={$mode}&action=sort&ajax_used=1' title='Re-order'>".ADMIN_SORT_ICON."</a> ";
$from = intval(vartrue($_GET['from'],0));
$value .= "<a class='e-sort' style='display:inline-block;vertical-align:middle;cursor:move' href='".e_SELF."?mode={$mode}&action=sort&ajax_used=1&from={$from}' title='Re-order'>".ADMIN_SORT_ICON."</a> ";
}
$cls = false;