[otrs-cvs] ITSMConfigItem/Kernel/Output/HTML
ITSMConfigItemLayoutText.pm, 1.15, 1.16
cvs-log at otrs.org
cvs-log at otrs.org
Tue Feb 5 11:43:16 GMT 2008
- Previous message: [otrs-cvs] ITSMConfigItem/Kernel/System/ImportExport/ObjectBackend
ITSMConfigItem.pm, 1.2, 1.3
- Next message: [otrs-cvs] ITSMConfigItem/Kernel/Modules AdminITSMConfigItem.pm,
1.14, 1.15 AgentITSMConfigItem.pm, 1.19,
1.20 AgentITSMConfigItemAdd.pm, 1.14,
1.15 AgentITSMConfigItemEdit.pm, 1.36,
1.37 AgentITSMConfigItemPrint.pm, 1.6,
1.7 AgentITSMConfigItemSearch.pm, 1.16,
1.17 AgentITSMConfigItemSearchResult.pm, 1.14,
1.15 AgentITSMConfigItemZoom.pm, 1.33, 1.34
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Comments:
Update of /home/cvs/ITSMConfigItem/Kernel/Output/HTML
In directory lancelot:/tmp/cvs-serv12514/Kernel/Output/HTML
Modified Files:
ITSMConfigItemLayoutText.pm
Log Message:
Improved InputCreate() function.
Author: mh
Index: ITSMConfigItemLayoutText.pm
===================================================================
RCS file: /home/cvs/ITSMConfigItem/Kernel/Output/HTML/ITSMConfigItemLayoutText.pm,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** ITSMConfigItemLayoutText.pm 30 Jan 2008 14:44:17 -0000 1.15
--- ITSMConfigItemLayoutText.pm 5 Feb 2008 11:43:10 -0000 1.16
***************
*** 160,168 ****
}
my $Size = $Param{Item}->{Input}->{Size} || 40;
my $String = "<input type=\"Text\" name=\"$Param{Key}\" size=\"$Size\" ";
! if ( $Param{Value} || $Param{Item}->{Input}->{ValueDefault} ) {
! my $Value = $Param{Value} || $Param{Item}->{Input}->{ValueDefault};
# translate
--- 160,168 ----
}
+ my $Value = $Param{Value} || $Param{Item}->{Input}->{ValueDefault};
my $Size = $Param{Item}->{Input}->{Size} || 40;
my $String = "<input type=\"Text\" name=\"$Param{Key}\" size=\"$Size\" ";
! if ($Value) {
# translate
***************
*** 176,184 ****
--- 176,188 ----
HTMLResultMode => 1,
);
+
$String .= "value=\"$Value\" ";
}
+
+ # add maximum length
if ( $Param{Item}->{Input}->{MaxLength} ) {
$String .= "maxlength=\"$Param{Item}->{Input}->{MaxLength}\" ";
}
+
$String .= "> ";
- Previous message: [otrs-cvs] ITSMConfigItem/Kernel/System/ImportExport/ObjectBackend
ITSMConfigItem.pm, 1.2, 1.3
- Next message: [otrs-cvs] ITSMConfigItem/Kernel/Modules AdminITSMConfigItem.pm,
1.14, 1.15 AgentITSMConfigItem.pm, 1.19,
1.20 AgentITSMConfigItemAdd.pm, 1.14,
1.15 AgentITSMConfigItemEdit.pm, 1.36,
1.37 AgentITSMConfigItemPrint.pm, 1.6,
1.7 AgentITSMConfigItemSearch.pm, 1.16,
1.17 AgentITSMConfigItemSearchResult.pm, 1.14,
1.15 AgentITSMConfigItemZoom.pm, 1.33, 1.34
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cvs-log
mailing list