Changeset 154 for trunk/Packages/CoolWeb/Common
- Timestamp:
- Mar 3, 2024, 12:18:21 PM (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/CoolWeb/Common/HtmlClasses.pas
r151 r154 168 168 Styles: TStringList; 169 169 Scripts: TStringList; 170 FavIcon: string; 170 171 property AsXmlDocument: TXmlDocument read GetAsXmlDocument; 171 172 constructor Create; … … 566 567 Attributes.Add('media', 'all'); 567 568 end; 569 if FavIcon <> '' then 570 with SubElements.AddTag('link') do begin 571 Attributes.Add('rel', 'icon'); 572 Attributes.Add('href', FavIcon); 573 Attributes.Add('type', 'image/x-icon'); 574 end; 568 575 for I := 0 to Scripts.Count - 1 do 569 576 with SubElements.AddTag('script') do begin
Note:
See TracChangeset
for help on using the changeset viewer.