From 79ace23b8d506ba5482de23f131fe50ff71fac86 Mon Sep 17 00:00:00 2001 From: e107steved Date: Sat, 24 Feb 2007 14:45:28 +0000 Subject: [PATCH] Bugtracker #3795 - cancel extended field category edit --- e107_admin/users_extended.php | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/e107_admin/users_extended.php b/e107_admin/users_extended.php index 62fed34c7..3aaa3eee8 100755 --- a/e107_admin/users_extended.php +++ b/e107_admin/users_extended.php @@ -11,8 +11,8 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/e107_admin/users_extended.php,v $ -| $Revision: 1.6 $ -| $Date: 2007-01-28 20:49:28 $ +| $Revision: 1.7 $ +| $Date: 2007-02-24 14:45:24 $ | $Author: e107steved $ +----------------------------------------------------------------------------+ */ @@ -26,6 +26,11 @@ if (isset($_POST['cancel'])) header("location:".e_SELF); exit; } +if (isset($_POST['cancel_cat'])) +{ + header("location:".e_SELF."?cat"); + exit; +} $e_sub_cat = 'user_extended'; $user = new users_ext; @@ -244,7 +249,7 @@ class users_ext function show_extended($current) { - global $sql, $ns, $ue, $curtype, $tp, $mySQLdefaultdb, $action, $sub_action, $imode; + global $sql, $ns, $ue, $curtype, $tp, $mySQLdefaultdb, $action, $sub_action; $catList = $ue->user_extended_get_categories(); $catList[0][0] = array('user_extended_struct_name' => EXTLAN_36); @@ -296,12 +301,12 @@ class users_ext "; if($i > 0){ $text .= " - + "; } if($i <= count($extendedList[$cn])-2) { - $text .= ""; + $text .= ""; } $text .= " @@ -619,7 +624,7 @@ class users_ext function show_categories($current) { - global $sql, $ns, $ue, $imode; + global $sql, $ns, $ue; $text = "
"; $text .= " @@ -660,12 +665,12 @@ class users_ext if($i > 0) { $text .= " - + "; } if($i <= count($catList)-2) { - $text .= ""; + $text .= ""; } $text .= "