dedecms 栏目目录用首字母生成的方法
2024-09-21 07:14:38
修改dede/catalog.add.php文件
85行 $toptypedir = GetPinyin(stripslashes($toptypename));
修改为 $toptypedir = GetPinyin(stripslashes($toptypename),1);
108 行 $typedir = $toptypedir.'/'.GetPinyin(stripslashes($v));
修改为 $typedir = $toptypedir.'/'.GetPinyin(stripslashes($v),1);
134行 $toptypedir = GetPinyin(stripslashes($toptypename));
修改为 $toptypedir = GetPinyin(stripslashes($toptypename),1);
187行 $typedir = GetPinyin(stripslashes($typename));
修改为 $typedir = GetPinyin(stripslashes($typename),1);
Editplus编辑器
查找: GetPinyin\(stripslashes\(\$\w+\)
替换: \0,1
最新文章
- Quick Cocos 旋转子弹的实现中我学到的
- Maven生命周期
- 再看 AspriseOCR - OCR应用开发 -20151124
- 关于多线程与CRITICAL_SECTION的使用
- 数据结构B树
- 深入学习PHP内核
- 小白日记16:kali渗透测试之弱点扫描-openvas、nessus
- SQLServer中使用索引视图(物化视图)
- Altium Designer 09 (Protel)总线使用方法(解决导入PCB无网络标号问题)
- VC实现将对话框最小化到系统托盘
- Maven之(三)Maven插件
- matlab里plot设置线形和颜色
- 带吸附效果的ViewPager(二)
- 一张图说明TCP和UCP协议
- [UWP 自定义控件]了解模板化控件(2):模仿ContentControl
- 安装PHP扩展32位与64位的误区(x86与x64的查看)
- L323 英语有必要学语法吗
- 20145313张雪纯MSF基础应用实验
- vue 之radio绑定v-model
- Executor框架(一)Executor框架介绍