<& /Admin/Elements/UserTabs,
id => $id,
UserObj => $UserObj,
- current_subtab => $current_tab,
+ current_tab => $current_tab,
Title => $title &>
<& /Elements/ListActions, actions => \@results &>
</TR>
</TABLE>
-<& /Elements/Submit &>
+<& /Elements/Submit, Label => loc('Save Changes') &>
</form>
<%INIT>
} else {
push @results, loc('User could not be created: [_1]', $msg);
}
-
- }
- else {
+
+ # set the id, so the the menu will have the right info
+ $id = $UserObj->Id;
+
+ } else {
$UserObj->Load($id) || $UserObj->Load($Name) || Abort("Couldn't load user '$Name'");
$val = $UserObj->Id();
}
$Create = 1;
}
-
-
}