- Timestamp:
- Mar 3, 2024, 12:18:21 PM (9 months ago)
- Location:
- trunk
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/ZdechovNET/ModuleZdechovNET.pas
r151 r154 340 340 HtmlDocument.Scripts.Add(NavigationLink('/Style/' + TCore(MainModule).Style + '/Global.js')); 341 341 HtmlDocument.Scripts.Add(NavigationLink('/Style/' + TCore(MainModule).Style + '/jquery.js')); 342 HtmlDocument.FavIcon := NavigationLink('/images/favicon.ico'); 342 343 343 344 TitleTag := THtmlString.Create; -
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.