Changeset 105 for trunk/Pages/UPageAdmin.pas
- Timestamp:
- Oct 9, 2012, 1:58:45 PM (12 years ago)
- File:
-
- 1 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;
Note:
See TracChangeset
for help on using the changeset viewer.