Changeset 132 for trunk/Modules
- Timestamp:
- Mar 18, 2022, 3:47:27 PM (3 years ago)
- Location:
- trunk/Modules
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Finance/UModuleFinance.pas
r105 r132 6 6 7 7 uses 8 Classes, SysUtils, UModularSystem, SpecializedDictionary,UModuleBase,8 Classes, SysUtils, UModularSystem, UModuleBase, 9 9 UWebPage; 10 10 … … 73 73 var 74 74 DbRows: TDbRows; 75 Data: TDictionaryStringString;76 75 begin 77 76 try 78 77 DbRows := TDbRows.Create; 79 Data := TDictionaryStringString.Create;80 78 81 79 Core.CommonDatabase.Query(DbRows, … … 144 142 145 143 finally 146 Data.Free;147 144 DbRows.Free; 148 145 end; -
trunk/Modules/Network/UModuleNetwork.pas
r105 r132 6 6 7 7 uses 8 Classes, SysUtils, UModularSystem, SpecializedDictionary,UModuleBase,8 Classes, SysUtils, UModularSystem, UModuleBase, 9 9 UWebPage; 10 10 … … 73 73 var 74 74 DbRows: TDbRows; 75 Data: TDictionaryStringString;76 75 begin 77 76 try 78 77 DbRows := TDbRows.Create; 79 Data := TDictionaryStringString.Create;80 78 81 79 Core.CommonDatabase.Query(DbRows, … … 151 149 152 150 finally 153 Data.Free;154 151 DbRows.Free; 155 152 end; 156 inherited Install;153 inherited; 157 154 end; 158 155 -
trunk/Modules/News/UNews.pas
r107 r132 6 6 7 7 uses 8 Classes, SysUtils, SpecializedList, USqlDatabase, UModuleUser, UUtils,9 U WebSession, UHTTPServer, UModuleBase;8 Classes, SysUtils, USqlDatabase, UModuleUser, UUtils, fgl, UWebSession, 9 UHTTPServer, UModuleBase, SpecializedList; 10 10 11 11 type … … 19 19 end; 20 20 21 TNewsSettingItems = class(TFPGObjectList<TNewsSettingItem>) 22 end; 23 21 24 { TNews } 22 25 … … 26 29 UploadedFilesFolder: string; // = 'aktuality/uploads/'; 27 30 public 28 Settings: T ListObject; // TListObject<TNewsSettingItem>31 Settings: TNewsSettingItems; 29 32 Database: TSqlDatabase; 30 33 ModuleUser: TModuleUser; … … 152 155 constructor TNews.Create; 153 156 begin 154 inherited Create;155 Settings := T ListObject.Create;157 inherited; 158 Settings := TNewsSettingItems.Create; 156 159 end; 157 160 … … 159 162 begin 160 163 FreeAndNil(Settings); 161 inherited Destroy;164 inherited; 162 165 end; 163 166 -
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; -
trunk/Modules/TV/UModuleTV.pas
r105 r132 6 6 7 7 uses 8 Classes, SysUtils, UModularSystem, SpecializedDictionary, UModuleBase, 9 UWebPage; 8 Classes, SysUtils, UModularSystem, UModuleBase, UWebPage; 10 9 11 10 type … … 72 71 var 73 72 DbRows: TDbRows; 74 Data: TDictionaryStringString;75 73 begin 76 74 try 77 75 DbRows := TDbRows.Create; 78 Data := TDictionaryStringString.Create;79 76 80 77 Core.CommonDatabase.Query(DbRows, … … 95 92 96 93 finally 97 Data.Free;98 94 DbRows.Free; 99 95 end; -
trunk/Modules/User/UModuleUser.pas
r108 r132 6 6 7 7 uses 8 Classes, SysUtils, UModularSystem, SpecializedDictionary, UUser, 9 UModuleBase, UWebPage; 8 Classes, SysUtils, UModularSystem, UUser, UModuleBase, UWebPage; 10 9 11 10 type … … 83 82 var 84 83 DbRows: TDbRows; 85 Data: TDictionaryStringString;86 84 begin 87 85 try 88 86 DbRows := TDbRows.Create; 89 Data := TDictionaryStringString.Create;90 87 91 88 Core.CommonDatabase.Query(DbRows, … … 171 168 ' ADD CONSTRAINT `PermissionUserAssignment_ibfk_2` FOREIGN KEY (`AssignedGroup`) REFERENCES `permissiongroup` (`Id`),' + 172 169 ' ADD CONSTRAINT `PermissionUserAssignment_ibfk_3` FOREIGN KEY (`AssignedOperation`) REFERENCES `permissionoperation` (`Id`);'); 173 174 175 170 finally 176 Data.Free;177 171 DbRows.Free; 178 172 end; 179 inherited Install;173 inherited; 180 174 end; 181 175 … … 184 178 DbRows: TDbRows; 185 179 begin 186 inherited Uninstall;180 inherited; 187 181 try 188 182 DbRows := TDbRows.Create; -
trunk/Modules/ZdechovNET/UModuleZdechovNET.pas
r119 r132 6 6 7 7 uses 8 Classes, SysUtils, UModularSystem, SpecializedDictionary,UWebPage,8 Classes, SysUtils, UModularSystem, UWebPage, 9 9 UWebSession, DateUtils, UModuleBase, UModuleUser, UIPTVPage, 10 10 UInternetPage, UHostingPage, UHistoryPage, UDocumentsPage, UVoIPPage, … … 69 69 destructor TModuleZdechovNET.Destroy; 70 70 begin 71 inherited Destroy;71 inherited; 72 72 end; 73 73 … … 167 167 var 168 168 DbRows: TDbRows; 169 Data: TDictionaryStringString;170 169 begin 171 170 try 172 171 DbRows := TDbRows.Create; 173 Data := TDictionaryStringString.Create;174 172 175 173 Core.CommonDatabase.Query(DbRows, … … 235 233 236 234 finally 237 Data.Free;238 235 DbRows.Free; 239 236 end; 240 237 241 inherited Install;238 inherited; 242 239 end; 243 240 … … 246 243 DbRows: TDbRows; 247 244 begin 248 inherited Uninstall;245 inherited; 249 246 ModuleBase.GeneratePage := nil; 250 247 try … … 377 374 end; 378 375 379 380 376 end. 381 377
Note:
See TracChangeset
for help on using the changeset viewer.