|
@@ -13,24 +13,30 @@ import (
|
|
|
|
|
|
DO NOT USE THIS TO WRITE A NEW MODULE
|
|
|
|
|
|
+
|
|
|
+ >> Updates v1.112
|
|
|
+ This util functions will be deprecated before v1.120.
|
|
|
+ Please migrate all of the modules out as WebApps using agi interface
|
|
|
*/
|
|
|
|
|
|
//Register the utilities here
|
|
|
|
|
|
func util_init() {
|
|
|
//PDF Viewer
|
|
|
- moduleHandler.RegisterModule(module.ModuleInfo{
|
|
|
- Name: "PDF Reader",
|
|
|
- Desc: "The browser build in PDF Reader",
|
|
|
- Group: "Utilities",
|
|
|
- IconPath: "SystemAO/utilities/img/pdfReader.png",
|
|
|
- Version: "1.2",
|
|
|
- SupportFW: false,
|
|
|
- SupportEmb: true,
|
|
|
- LaunchEmb: "SystemAO/utilities/pdfReader.html",
|
|
|
- InitEmbSize: []int{1080, 580},
|
|
|
- SupportedExt: []string{".pdf"},
|
|
|
- })
|
|
|
+ /*
|
|
|
+ moduleHandler.RegisterModule(module.ModuleInfo{
|
|
|
+ Name: "PDF Reader",
|
|
|
+ Desc: "The browser build in PDF Reader",
|
|
|
+ Group: "Utilities",
|
|
|
+ IconPath: "SystemAO/utilities/img/pdfReader.png",
|
|
|
+ Version: "1.2",
|
|
|
+ SupportFW: false,
|
|
|
+ SupportEmb: true,
|
|
|
+ LaunchEmb: "SystemAO/utilities/pdfReader.html",
|
|
|
+ InitEmbSize: []int{1080, 580},
|
|
|
+ SupportedExt: []string{".pdf"},
|
|
|
+ })
|
|
|
+ */
|
|
|
|
|
|
//Open Documents Viewer
|
|
|
moduleHandler.RegisterModule(module.ModuleInfo{
|