Changeset 107 for trunk/Modules/Portal/UModulePortal.pas
- Timestamp:
- Oct 10, 2012, 2:50:48 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Portal/UModulePortal.pas
r105 r107 8 8 Classes, SysUtils, UModularSystem, SpecializedDictionary, USqlDatabase, 9 9 UUtils, UWebSession, SpecializedList, UUser, UWebPage, UHtmlClasses, 10 UModuleBase, UModuleUser ;10 UModuleBase, UModuleUser, UModuleNews; 11 11 12 12 type … … 66 66 WebPagePortal := TWebPagePortal.Create(nil); 67 67 ModuleBase.Pages.RegisterPage(WebPagePortal, ''); 68 TWebPagePortal(WebPagePortal).ModuleUser := TModuleUser(Manager.FindModuleByName('User')); 68 ModuleUser := TModuleUser(Manager.FindModuleByName('User')); 69 TWebPagePortal(WebPagePortal).ModuleUser := ModuleUser; 70 TWebPagePortal(WebPagePortal).ModuleNews := TModuleNews(Manager.FindModuleByName('News')); 69 71 AfterStart; 70 72 end; … … 76 78 FreeAndNil(WebPagePortal); 77 79 ModuleBase := nil; 80 ModuleUser := nil; 78 81 AfterStop; 79 82 end;
Note:
See TracChangeset
for help on using the changeset viewer.