Ad Widget

Collapse

Zabbix 1.5 - Invalid Image Reference in screens.php

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Palmertree
    Senior Member
    • Sep 2005
    • 746

    #1

    Zabbix 1.5 - Invalid Image Reference in screens.php

    Invalid image reference around line 342 in screens.php for /images/geral/tree/0.g -> graphic does not exist

    Code:
    332
    333                         if(isset($_REQUEST['stime'])){
    334                                 $bstime = $_REQUEST['stime'];
    335                                 $bstime = mktime(substr($bstime,8,2),substr($bstime,10,2),0,substr($bstime,4,2),substr($bstime,6,2),substr($bstime,0,4));
    336                         }
    337
    338                         $script =       'scrollinit(0,0,0,'.$effectiveperiod.','.$stime.',0,'.$bstime.');
    339                                                  showgraphmenu("iframe");';
    340
    341                         zbx_add_post_js($script);
    342                         $img = new CImg([COLOR="Red"]'images/general/tree/O.gif'[/COLOR],'space','20','20');
    343                         $img->Show();
    344                         echo SBR;
    345 //                      navigation_bar("screens.php",array('config','elementid'));
    346                 }
  • Aly
    ZABBIX developer
    • May 2007
    • 1126

    #2
    Thank you, fixed.

    Code:
    $img = new CImg('images/general/tree/zero.gif','space','20','20');
    Zabbix | ex GUI developer

    Comment

    Working...