| |
1 |
1 |
<master> |
| |
2 |
|
<property name="title">Registration Rules</property> |
| |
3 |
2 |
<script languate="JavaScript"> |
| |
|
3 |
<property name="context">@context@</property> |
| |
4 |
4 |
function getAction() { |
| |
5 |
5 |
action=document.add_action.action_type.value; |
| |
6 |
6 |
destination = "add-action?rule_id=@rule_id@&selected_a="+action; |
| |
7 |
7 |
if (destination) location.href = destination; |
| |
8 |
8 |
} |
| |
9 |
9 |
</script> |
| |
10 |
|
|
| |
11 |
|
<property name="context">@context@</property> |
| |
|
10 |
<if @admin@ eq 0> |
| |
|
11 |
<if @rule_admin@ eq 0> |
| |
|
12 |
<property name= "title">Permission Denied</property> |
| |
|
13 |
<br> |
| |
|
14 |
<center>You don't have permission to admin Rule. </center> |
| |
|
15 |
<br> |
| |
|
16 |
</if> |
| |
|
17 |
<else> |
| |
|
18 |
<property name="title">Registration Rules</property> |
| |
12 |
19 |
<formtemplate id="add_action"></formtemplate> |
| |
|
20 |
</else> |
| |
|
21 |
</if> |