PDA

View Full Version : PHP frontend - file include/forms.inc.php


vrtareg
11-07-2006, 10:35
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
11-07-2006, 16:05
Fixed. Thanks for reporting this.

vrtareg
11-07-2006, 16:08
Hi

Thank you for excellent work :)

Areg