1
0
Code Issues Pull Requests Projects Releases Wiki Activity GitHub Gitee
Files
zxd_ctrlcenter/temporary file/variable-list.txt

37 lines
1.9 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

main.php
├─ require '../../../zb_system/function/c_system_base.php';
├─ require '../../../zb_system/function/c_system_admin.php';
├─ $zbp->Load();
├─ $blogtitle = '控制中心';
├─ require $blogpath . 'zb_system/admin/admin_header.php';
├─ require $blogpath . 'zb_system/admin/admin_top.php';
├─ $PluginName当前用户打开的子插件
├─ $PluginTitle插件显示的子标题
├─ 定义全局变量 require $blogpath.'zb_users/plugin/zxd_ctrlcenter/config.php';
├─ $zbp->Config('zxd_ctrlcenter')->relativepath = 'zb_users/plugin/zxd_ctrlcenter/';
├─ $zbp->Config('zxd_ctrlcenter')->path = $blogpath.'zb_users/plugin/zxd_ctrlcenter/';
├─ $zbp->Config('zxd_ctrlcenter')->urlpath = $bloghost.'zb_users/plugin/zxd_ctrlcenter/';
├─ 插件页
├─ require $zbp->Config('zxd_ctrlcenter')->path.'plugin/'.$PluginName.'/status.php'; // 检查插件是否启用status.php【如果插件不存在这里会报错】
├─ require $zbp->Config('zxd_ctrlcenter')->path.'plugin/'.$PluginName.'/config.php'; // 插件config页config.php包含插件的名称$PluginTitle
├─ 以下两行包含:<span id="pluginName">
├─ require $zbp->Config('zxd_ctrlcenter')->path.'public/plugin-disbtn.php'; // 添加禁用插件按钮
├─ require $zbp->Config('zxd_ctrlcenter')->path.'public/plugin-enbbtn.php'; // 添加启用插件按钮
├─ $PluginTitle插件的名称
├─ 版权信息
├─ $copyrightfilepath = $zbp->Config('zxd_ctrlcenter')->relativepath; // 设置版权信息文件plugin.xml
├─ include $zbp->Config('zxd_ctrlcenter')->path.'public/copyright.php'; // 添加版权信息
├─
├─
├─
├─
├─
├─
├─
├─
├─