1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-26 15:54:43 +02:00

Closes Issue #38 - Next/Prev Template for admin area.

This commit is contained in:
Cameron
2012-12-03 13:57:02 -08:00
parent cf4b35a765
commit 288558494d
4 changed files with 49 additions and 10 deletions

View File

@@ -2612,6 +2612,11 @@ class e_form
$parms = 'total='.$total;
$parms .= '&amount='.$amount;
$parms .= '&current='.$from;
if(ADMIN_AREA)
{
$parms .= '&tmpl_prefix=admin';
}
// NOTE - the whole url is double encoded - reason is to not break parms query string
// 'np_query' should be proper (urlencode'd) url query string
$url = rawurlencode($url.'?'.(varset($options['np_query']) ? str_replace(array('&', '&'), array('&', '&'), $options['np_query']).'&' : '').'from=[FROM]');