| 1 |
<html> |
| 2 |
<head> |
| 3 |
<title>Triggers</title> |
| 4 |
</head> |
| 5 |
<body> |
| 6 |
{%header:Triggers%} |
| 7 |
<br><br> |
| 8 |
<font size=+2>Triggers on database: {%object_name%}</font> |
| 9 |
<br><br> |
| 10 |
<table cellspacing=1 cellpadding=2 border=0 bgcolor=black> |
| 11 |
<tbody> |
| 12 |
<tr bgcolor="navy"> |
| 13 |
<td></td> |
| 14 |
<td nowrap><font color=white><b>Name</b></font></td> |
| 15 |
<td bgcolor="navy"><font color="white"><b>Active</b></font></td> |
| 16 |
<td bgcolor="navy"><font color="white"><b>Position</b></font></td> |
| 17 |
<td bgcolor="navy"><font color="white"><b>Type</b></font></td> |
| 18 |
</tr> |
| 19 |
{%foreach:trigger::: |
| 20 |
<tr bgcolor="{%alternate:#DDDDFF:#CCCCFF%}"> |
| 21 |
<td valign="top" nowrap> |
| 22 |
<a href="fr://drop_object?parent_window={%parent_window%}&object_handle={%object_handle%}"><img src="{%template_root%}drop.png" height="16" width="16"></a> |
| 23 |
<a href="fr://edit_trigger?parent_window={%parent_window%}&object_handle={%object_handle%}"><img src="{%template_root%}view.png" height="16" width="16"></a> |
| 24 |
</td> |
| 25 |
<td nowrap valign="top"><a |
| 26 |
href="fr://properties?object_type=TRIGGER&object_name={%object_name%}&parent_window={%parent_window%}">{%object_name%}</a></td> |
| 27 |
<td nowrap valign="top" bgcolor="#DDDDFF" align="center"> |
| 28 |
<a href="fr://{%ifeq:{%triggerinfo:is_active%}:true:deactivate_trigger:activate_trigger%}?parent_window={%parent_window%}&object_handle={%object_handle%}"> |
| 29 |
<img src="{%template_root%}{%ifeq:{%triggerinfo:is_active%}:true:ok.png:redx.png%}" height="16" width="16"></a> |
| 30 |
</td> |
| 31 |
<td nowrap valign="top" bgcolor="#DDDDFF" align="right">{%triggerinfo:position%}</td> |
| 32 |
<td nowrap valign="top" bgcolor="#DDDDFF">{%triggerinfo:type%}</td> |
| 33 |
</tr>%} |
| 34 |
</tbody> |
| 35 |
</table> |
| 36 |
<br><br> |
| 37 |
<table border=0 cellspacing=1 cellpadding=2 bgcolor="#CCCCCC"> |
| 38 |
<tr bgcolor="#CCCCFF"> |
| 39 |
<td><B>Icon</B></td> |
| 40 |
<td nowrap><B>Click to...</B></td> |
| 41 |
</tr> |
| 42 |
<tr><td><img src="{%template_root%}drop.png" height="16" width="16"></td><td>Drop trigger</td></tr> |
| 43 |
<tr><td><img src="{%template_root%}view.png" height="16" width="16"></td><td>Alter trigger</td></tr> |
| 44 |
<tr><td><img src="{%template_root%}ok.png" height="16" width="16"></td><td>Deactivate trigger</td></tr> |
| 45 |
<tr><td><img src="{%template_root%}redx.png" height="16" width="16"></td><td>Activate trigger</td></tr> |
| 46 |
</table> |
| 47 |
<br> |
| 48 |
<br> |
| 49 |
<a |
| 50 |
href="fr://activate_triggers?parent_window={%parent_window%}&object_handle={%object_handle%}">Activate all triggers</a> | <a |
| 51 |
href="fr://deactivate_triggers?parent_window={%parent_window%}&object_handle={%object_handle%}">Deactivate all triggers</a> |
| 52 |
</body> |
| 53 |
</html> |