Ad Widget

Collapse

allowing select all items?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cool_camel
    Junior Member
    • Mar 2005
    • 9

    #1

    allowing select all items?

    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
    Last edited by cool_camel; 07-03-2005, 19:07.
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    3&4 are already implemented in ZABBIX v1.0.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • cool_camel
      Junior Member
      • Mar 2005
      • 9

      #3
      select all

      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_I NTERVAL),S_HISTORY,S_TRENDS,S_TYPE,S_STATUS,S_ERRO R,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\">";

      Comment

      Working...