*************************** 1. row ***************************
Table: zone_allow
Create Table: CREATE TABLE `zone_allow` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`spcode` varchar(30) NOT NULL DEFAULT '',
`region` varchar(255) NOT NULL DEFAULT '',
`type` varchar(30) NOT NULL DEFAULT '',
`total` int(11) NOT NULL,
`status` int(2) NOT NULL DEFAULT '1',
`logtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=127 DEFAULT CHARSET=gbk
字段region内容是中文的情况下,在生成的CRUD代码中, 点编辑,该字段内容不显示。
打开phpfn7.php查找函数 ew_HtmlEncode
function ew_HtmlEncode($exp) {
return htmlspecialchars(strval($exp));
}
修改该函数
function ew_HtmlEncode($exp) {
return htmlspecialchars(strval($exp), ENT_COMPAT, "GB2312");
}
保存测试,问题解决。
导航菜单项折行的解决办法
修改css文件中的
.ewMenuColumn {
background-color: #F1F1F1;
color: ;
width: 130px;
vertical-align: top;
padding: 1px;
}
在末尾加入 white-space: nowrap;
.ewMenuColumn {
background-color: #F1F1F1;
color: ;
width: 130px;
vertical-align: top;
padding: 1px;
white-space: nowrap;
}