Fix session key generation on password change and users/groups/profiles management

Delete some old images...
This commit is contained in:
nuxsmin
2013-10-23 21:04:56 +02:00
parent ff43d0a97c
commit 8f8ea88a6c
7 changed files with 7 additions and 4 deletions

View File

@@ -67,7 +67,7 @@ SP_Users::checkUserAccess("acceditpass",$userId) || die ($strError);
<input type="hidden" name="id" value="<? echo $userId; ?>" />
<input type="hidden" name="type" value="1" />
<input type="hidden" name="action" value="3" />
<input type="hidden" name="sk" value="<? echo SP_Common::getSessionKey(TRUE); ?>">
<input type="hidden" name="sk" value="<? echo SP_Common::getSessionKey(); ?>">
</form>
<div id="resCheck">

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 778 B

View File

@@ -224,7 +224,7 @@ class SP_Users {
echo '<div class="action fullWidth">';
echo '<ul>';
echo '<LI><img src="imgs/add.png" title="' . _('Nuevo') . '" class="inputImg" OnClick="usrgrpDetail(0,' . $arrUsersTableProp["newActionId"] . ',\'' . $sk . '\');" /></LI>';
echo '<LI><img src="imgs/add.png" title="' . _('Nuevo') . '" class="inputImg" OnClick="usrgrpDetail(0,' . $arrUsersTableProp["newActionId"] . ',\'' . $sk . '\',' . $arrUsersTableProp["active"] . ');" /></LI>';
echo '</ul>';
echo '</div>';

View File

@@ -546,7 +546,10 @@ function usrgrpDetail(id, type, sk, active){
url: url,
data: data,
success: function(response){
$.fancybox(response,{padding: [0,10,10,10]});
$.fancybox(response,{
padding: [0,10,10,10],
afterClose: function(){doAction('usersmenu','',active);}
});
},
error:function(jqXHR, textStatus, errorThrown){
var txt = LANG[1] + '<p>' + errorThrown + textStatus + '</p>';
@@ -588,7 +591,7 @@ function usersMgmt(frmId, isDel, id, type, sk){
switch(status){
case 0:
doAction('usersmenu','',active);
// doAction('usersmenu','',active);
resMsg("ok", description);
break;
case 1: