x-mall mall system: Adding a menu background

1 , increase menu

Open /admin/includes/inc_menu.php

Link menu in the configuration file;

Simply put, here is the definition of a link to the menu;

2 , set the name of

Open /languages/zh_cn/admin/common.php

Chinese name of the file menu in this configuration;

Simply put, this is a name to the menu.

3 , mapping node

Open /admin/includes/inc_priv.php

In this map menu node configuration file, and yp_admin_action table corresponds;

Simply put, this is a privilege to associate menu node code;

4 , set the node name

Open /languages/zh_cn/admin/priv_action.php

Name of the rights of nodes in the configuration file, the name of this configuration will be displayed in [Role Manager -> Node Configuration] in, as shown below:

 

Guess you like

Origin www.cnblogs.com/lihailin9073/p/11248942.html
Recommended