mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-06-17 07:10:48 +03:00
fix skin developer
This commit is contained in:
parent
a07df8dfe2
commit
c529d5f1c1
|
@ -56,7 +56,25 @@
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
function reBlogInvite(idUser,idBlog) {
|
||||||
|
JsHttpRequest.query(
|
||||||
|
'POST '+aRouter['blog']+'ajaxrebloginvite/',
|
||||||
|
{ idUser: idUser, idBlog: idBlog, security_ls_key: LIVESTREET_SECURITY_KEY },
|
||||||
|
function(result, errors) {
|
||||||
|
if (!result) {
|
||||||
|
msgErrorBox.alert('Error','Please try again later');
|
||||||
|
}
|
||||||
|
if (result.bStateError) {
|
||||||
|
msgErrorBox.alert(result.sMsgTitle,result.sMsg);
|
||||||
|
} else {
|
||||||
|
msgNoticeBox.alert(result.sMsgTitle, result.sMsg);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
true
|
||||||
|
);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
{/literal}
|
{/literal}
|
||||||
|
|
||||||
|
@ -75,7 +93,7 @@
|
||||||
{foreach from=$aBlogUsersInvited item=oBlogUser}
|
{foreach from=$aBlogUsersInvited item=oBlogUser}
|
||||||
{assign var='oUser' value=$oBlogUser->getUser()}
|
{assign var='oUser' value=$oBlogUser->getUser()}
|
||||||
|
|
||||||
<li><a href="{$oUser->getUserWebPath()}">{$oUser->getLogin()}</a></li>
|
<li><a href="{$oUser->getUserWebPath()}">{$oUser->getLogin()}</a> — <a href="#" onclick="return reBlogInvite({$oUser->getId()},{$oBlogEdit->getId()});">{$aLang.blog_user_invite_readd}</a></li>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</ul>
|
</ul>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
Loading…
Reference in a new issue