* tweak ai priv and redirection.
This commit is contained in:
@@ -214,6 +214,7 @@ VALUES
|
||||
(2110, 'recommend', 2111),
|
||||
(2110, 'recommend', 2112),
|
||||
(2122, 'depend', 2121),
|
||||
(2118, 'depend', 2123),
|
||||
(2113, 'depend', 2114), (2113, 'depend', 2115), (2113, 'depend', 2116), (2113, 'depend', 2117), (2113, 'depend', 2118),
|
||||
(2114, 'depend', 2113), (2114, 'depend', 2115), (2114, 'depend', 2116), (2114, 'depend', 2117), (2114, 'depend', 2118),
|
||||
(2115, 'depend', 2113), (2115, 'depend', 2114), (2115, 'depend', 2116), (2115, 'depend', 2117), (2115, 'depend', 2118),
|
||||
|
||||
@@ -54,7 +54,7 @@ $(function() {
|
||||
|
||||
function gotoPrompt(id)
|
||||
{
|
||||
parent.location.href = createLink('ai', 'promptassignrole', 'prompt=' + id);
|
||||
parent.location.href = <?php echo commonModel::hasPriv('ai', 'promptassignrole') ? "createLink('ai', 'promptassignrole', 'prompt='" : "createLink('ai', 'promptview', 'id='";?> + id);
|
||||
}
|
||||
</script>
|
||||
<?php include '../../common/view/footer.lite.html.php';?>
|
||||
|
||||
Reference in New Issue
Block a user