-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Robin Schroeder escribió:
> I think about a parameter like "ReadOnly => 1". Where do I have to
> browse/edit the source code? Or has anyone already made a modification
> like this?
You can store any key=>val combination in that hash, so you can use e.g.
ReadOnly => 1:
Input => {
Type => 'Text',
Size => 50,
MaxLength => 50,
ReadOnly => 1,
},
Rendering happens in Kernel/Output/HTML/ITSMConfigItemLayoutText.pm,
near line 182, where something like this would help:
if ( $Param{Item}->{Input}->{ReadOnly} and $Value ne '' ) {
$String .= 'readonly="readonly" ';
}
HTH,
Jose
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkmKbqAACgkQUWAsjQBcO4J9IQCdER8EOx5Id3AMqM4WjmcV+IuM
60oAn3A4rnaqwcBGajCFPmAhSZ6x0kBx
=d9EY
-----END PGP SIGNATURE-----
_______________________________________________
OTRS mailing list: itsm - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/itsm
To unsubscribe: http://lists.otrs.org/mailman/listinfo/itsm
Support or consulting for your OTRS::ITSM system?
=> http://www.otrs.com/