Browse Source

CP main manu sys func

Vova Tkach 6 years ago
parent
commit
d0824182b1
2 changed files with 6 additions and 2 deletions
  1. 1 2
      modules/module_index.go
  2. 5 0
      modules/modules.go

+ 1 - 2
modules/module_index.go

@@ -55,7 +55,6 @@ func (this *Modules) RegisterModule_Index() *Module {
 		*/
 
 		body_class := "cp"
-		nav_bar_modules_sys := ""
 		page_sb_left := "Left"
 		page_content := "Content"
 		page_sb_right := "Right"
@@ -70,7 +69,7 @@ func (this *Modules) RegisterModule_Index() *Module {
 			UserPassword:       "",
 			UserAvatarLink:     "https://s.gravatar.com/avatar/" + utils.GetMd5(wrap.User.A_email) + "?s=80&r=g",
 			NavBarModules:      template.HTML(this.getNavMenuModules(wrap)),
-			NavBarModulesSys:   template.HTML(nav_bar_modules_sys),
+			NavBarModulesSys:   template.HTML(this.getNavMenuModulesSys(wrap)),
 			ModuleCurrentAlias: "index",
 			SidebarLeft:        template.HTML(page_sb_left),
 			Content:            template.HTML(page_content),

+ 5 - 0
modules/modules.go

@@ -117,6 +117,11 @@ func (this *Modules) getNavMenuModules(wrap *wrapper.Wrapper) string {
 	return html
 }
 
+func (this *Modules) getNavMenuModulesSys(wrap *wrapper.Wrapper) string {
+	html := ""
+	return html
+}
+
 func New() *Modules {
 	m := Modules{
 		mods: map[string]*Module{},