Ad Widget

Collapse

PHP frontend - file include/forms.inc.php

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vrtareg
    Senior Member
    • May 2006
    • 293

    #1

    PHP frontend - file include/forms.inc.php

    Hi

    Please change default size for the edit field in Actions edit screen.
    Fields "Number of repeats" and "Delay between repeats" are a bit small for big values.

    I change size to 5 and now it looks more readable:

    diff -aur zabbix-1.1/frontends/php/include/forms.inc.php zabbix-1.1.my/frontends/php/include/forms.inc.php
    --- zabbix-1.1/frontends/php/include/forms.inc.php 2006-06-01 18:44:54.000000000 +0500
    +++ zabbix-1.1.my/frontends/php/include/forms.inc.php 2006-07-11 12:20:40.000000000 +0500
    @@ -1368,8 +1368,8 @@

    if($repeat>0)
    {
    - $frmAction->AddRow(S_NUMBER_OF_REPEATS, new CTextBox('maxrepeats',$maxrepeats,2));
    - $frmAction->AddRow(S_DELAY_BETWEEN_REPEATS, new CTextBox('repeatdelay',$repeatdelay,2));
    + $frmAction->AddRow(S_NUMBER_OF_REPEATS, new CTextBox('maxrepeats',$maxrepeats,5));
    + $frmAction->AddRow(S_DELAY_BETWEEN_REPEATS, new CTextBox('repeatdelay',$repeatdelay,5));
    } else {
    $frmAction->AddVar("maxrepeats",$maxrepeats);
    $frmAction->AddVar("repeatdelay",$repeatdelay);
    Regards
    Areg
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Fixed. Thanks for reporting this.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • vrtareg
      Senior Member
      • May 2006
      • 293

      #3
      Hi

      Thank you for excellent work

      Areg

      Comment

      Working...