cool_camel
07-03-2005, 19:04
i like 4 more featurs to be include in future:
1- allow select all items as emails list
2- allow Copy more than one item from one host to other host (like template)
3- allwing send characteres in UserParameter
4- web interface to add Trigers,
I not sure if this feature ready there.
it is Realy nice project.
Cool
3&4 are already implemented in ZABBIX v1.0.
cool_camel
15-09-2005, 11:55
i add to the items checkall box this is my code :
i hope you can add it to next release
diff include/config.inc.php include/config.inc-org.php
1054a1055
> echo "</head>";
1056,1080d1056
< <script language=javascript>
< function SelectAllRows_Click(obj)
< {
< if(obj.checked)
< {
< for(var i=items.elements.length;i >= 0;i--)
< {
< if(items.elements[i] !=null)
< items.elements[i].checked=true;
< }
< }
<
< else
< {
< for(var i=items.elements.length;i >= 0;i--)
< {
< if(items.elements[i] !=null)
< items.elements[i].checked=false;
< }
< }
<
< }
< </script>
< </head>
diff items.php items-org.php
213,214c213,214
< table_header(array(S_ID."<input type=\"checkbox\" onclick=\"SelectAllRows_Click(this)\" name=\"checkall\" value=\"ON\">",S_KEY,S_DESCRIPTION,nbsp(S_UPDATE_INTERVAL),S_HIS TORY,S_TRENDS,S_TYPE,S_STATUS,S_ERROR,S_ACTIONS));
< echo "<form method=\"get\" name=\"items\" action=\"items.php\">";
---
> table_header(array(S_ID,S_KEY,S_DESCRIPTION,nbsp(S _UPDATE_INTERVAL),S_HISTORY,S_TRENDS,S_TYPE,S_STAT US,S_ERROR,S_ACTIONS));
> echo "<form method=\"get\" action=\"items.php\">";