Changeset 132 for trunk/Modules/Portal
- Timestamp:
- Mar 18, 2022, 3:47:27 PM (3 years ago)
- Location:
- trunk/Modules/Portal
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Portal/UModulePortal.pas
r130 r132 6 6 7 7 uses 8 Classes, SysUtils, UModularSystem, SpecializedDictionary,USqlDatabase,8 Classes, SysUtils, UModularSystem, USqlDatabase, 9 9 UUtils, UWebSession, SpecializedList, UUser, UWebPage, UHtmlClasses, 10 10 UModuleBase, UModuleUser, UModuleNews; … … 85 85 var 86 86 DbRows: TDbRows; 87 Data: TDictionaryStringString;88 87 begin 89 88 try 90 89 DbRows := TDbRows.Create; 91 Data := TDictionaryStringString.Create;92 90 93 91 Core.CommonDatabase.Query(DbRows, … … 140 138 141 139 finally 142 Data.Free;143 140 DbRows.Free; 144 141 end; 145 inherited Install;142 inherited; 146 143 end; 147 144 -
trunk/Modules/Portal/UPagePortal.pas
r114 r132 7 7 uses 8 8 Classes, SysUtils, FileUtil, UWebPage, UHTTPServer, USqlDatabase, UUtils, 9 SpecializedDictionary, UWebSession, SpecializedList, UHtmlClasses,10 UModul arSystem, UModuleUser, UModuleNews;9 SpecializedDictionary, UWebSession, UHtmlClasses, UModularSystem, UModuleUser, 10 UModuleNews; 11 11 12 12 type … … 18 18 private 19 19 Session: TWebSession; 20 function ShowPanel(Title, Content: string; Menu: T ListString= nil): string;20 function ShowPanel(Title, Content: string; Menu: TStrings = nil): string; 21 21 function SystemMessage(Title, Text: string): string; 22 22 function ShowLinks(GroupId: Integer): string; … … 283 283 end; 284 284 285 function TWebPagePortal.ShowPanel(Title, Content: string; Menu: T ListString): string;285 function TWebPagePortal.ShowPanel(Title, Content: string; Menu: TStrings): string; 286 286 var 287 287 I: Integer;
Note:
See TracChangeset
for help on using the changeset viewer.