Changeset 105 for trunk/Pages
- Timestamp:
- Oct 9, 2012, 1:58:45 PM (12 years ago)
- Location:
- trunk/Pages
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Pages/UPageAdmin.pas
r103 r105 64 64 with TWebSession(HandlerData) do begin 65 65 with HtmlDocument.Body, THtmlString(SubItems.AddNew(THtmlString.Create)) do begin 66 TModuleSystem( Core.ModuleManager.FindModuleByName('System')).UpdateModuleList;66 TModuleSystem(ModuleManager.FindModuleByName('System')).UpdateModuleList; 67 67 Text := 'Seznam modulů synchronizován'; 68 68 Text := Text + '<br/><br/>'; … … 82 82 '<table class="WideTable"><tr><th>Name</th><th>Installed</th><th>Title</th><th>Version</th>' + 83 83 '<th>License</th><th>Author</th><th>Decsription</th><th>Dependencies</th><th>Actions</th></tr>'; 84 for I := 0 to Core.ModuleManager.Modules.Count - 1 do85 with TModule( Core.ModuleManager.Modules[I]) do begin84 for I := 0 to ModuleManager.Modules.Count - 1 do 85 with TModule(ModuleManager.Modules[I]) do begin 86 86 Text := Text + '<tr><td>' + Identification + '</td><td>' + BooleanText[Installed] + '</td><td>' + Title + 87 87 '</td><td>' + Version + '</td><td>' + License + '</td><td>' + Author + … … 106 106 if Request.Query.SearchKey('name') <> -1 then begin 107 107 ModuleName := Request.Query.Values['name']; 108 Module := Core.ModuleManager.FindModuleByName(ModuleName);108 Module := ModuleManager.FindModuleByName(ModuleName); 109 109 if Assigned(Module) then begin 110 110 Text := 'Installing module ' + ModuleName; … … 128 128 if Request.Query.SearchKey('name') <> -1 then begin 129 129 ModuleName := Request.Query.Values['name']; 130 Module := Core.ModuleManager.FindModuleByName(ModuleName);130 Module := ModuleManager.FindModuleByName(ModuleName); 131 131 if Assigned(Module) then begin 132 132 Text := 'Uninstalling module ' + ModuleName; -
trunk/Pages/UServerInfoPage.pas
r103 r105 6 6 7 7 uses 8 Classes, SysUtils, FileUtil, UWebPage, UWebApp, UHTTPServer ;8 Classes, SysUtils, FileUtil, UWebPage, UWebApp, UHTTPServer, UModuleUser; 9 9 10 10 type … … 17 17 { private declarations } 18 18 public 19 { public declarations }19 ModuleUser: TModuleUser; 20 20 end; 21 21 … … 35 35 begin 36 36 with TWebSession(HandlerData) do begin 37 LoadUserInfo;37 ModuleUser.LoadUserInfo; 38 38 Session.Values['Test'] := 'Tst'; 39 39 TCore(MainModule).WebApp1.HTTPServer.ServerInfo(HandlerData);
Note:
See TracChangeset
for help on using the changeset viewer.