José Miguel Parrella Romero schrieb:
> 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,
> JoseWorked like a charm! Thank you very much! Best regards Robin Schroeder -- | Robin Schröder Ruhr-Universität Bochum | | IT-Systeme, Software-Integration Dezernat 6, Abt. 3 | | Tel.: 0234-32-23900 Gebäude NA 03/75 | | Mail: [email protected] 44780 Bochum |
smime.p7s
Description: S/MIME Cryptographic 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/
