星哥的博客

  • 首页
  • 系统
  • 虚拟机
  • 网站开发
  • 硬件外设
  • VPS/云主机
  • 心情随笔
  1. 首页
  2. 网站开发
  3. Code
  4. 正文

织梦后台修改步骤

2013年7月3日 2594点热度 1人点赞 0条评论

1、修改后台文件路径,默认为dede,随意修改任意都可以(注意:如果服务器开启了缓存,修改后将apache等进程重启下);

2、修改后台登录文件,login.htm和login_ad.htm

login.htm:

删除

<?php echo $redmsg; ?>

<div>Powered by<a href="http://www.dedecms.com" title="DedeCMS官网"><strong>DedeCMS<?php echo $cfg_version; ?></strong></a>© 2004-2011 <a href="http://www.desdev.cn" target="_blank">DesDev</a> Inc.</div>

<div><iframe name="loginad" src="login.php?dopost=showad" frameborder="0" id="loginad" scrolling="no" marginwidth="0" marginheight="0" width="100%"></iframe></div>

修改

<title><?php echo $cfg_softname." ".$cfg_version; ?></title>

login_ad.htm文件:

<script type="text/javascript"src="https://ad.dedecms.com/adsview/?action=single&key=admcploginad&charset=gbk"></script>

修改/dede/images/login-bg.jpg图片

3、修改后台首页

index2.htm文件

删除

<img src="images/style<?php echo $cfg_admin_skin;?>/admin_top_logo.gif" width="200" height="37" alt="DedeCms Logo" title="Welcome use DedeCms" id="topdedelogo" />
<h3>滚动消息:</h3>
<div>
<form action="action_search.php" target="main" method="post">
<input name="keyword" type="text" value="功能搜索" onfocus="if(this.value=='功能搜索'){this.value='';}"  onblur="if(this.value==''){this.value='功能搜索';}" style="width:150px;"/>
<input name="" type="submit" value="搜索"/>
<a href='http://bbs.dedecms.com' target='_blank'>官方论坛</a> <a href='http://help.dedecms.com' target='_blank'>在线帮助</a>
</form>
</div>

修改

<li>您好:<?php echo $cuserLogin->getUserName(); ?> ,欢迎使用DedeCMS!</li>

 

<title><?php echo $cfg_webname; ?>-<?php echo $cfg_softname." ".$cfg_version; ?></title>

index_body.htm文件

删除

<div id="__testEvn"></div>

 

$(function()
{
$.get("index_testenv.php",function(data)
{
if(data !== '')
{
$("#__testEvn").html(data);
}
})
})

 

<dl id="item1">
<dt class='lside'><span class='l'><?php echo $cfg_soft_enname; ?> 更新消息</span></dt>
<dd>
<div id='updatetest'>
<div id='updateinfos'>
<?php
echo "<div class='updatedvt'><b>您系统版本最后更新时间为:{$oktime} </b><br/>";
echo " <a href='javascript:LoadUpdateInfos();' class='np coolbg'>进行在线更新</a>   \r\n";
echo " <a href='sys_repair.php' class='np coolbg'>系统错误修复</a></div>\r\n";
echo "<iframe name='stafrm' src='{$offUrl}&uptime={$oktime}' frameborder='0' id='stafrm' width='98%' height='50'></iframe>";
?>
</div>
</div>
</dd>
</dl><!--更新消息结束-->

 

<dl class='dbox' id="item2">
<dt class='lside'><span class='l'>商业授权查询</span></dt>
<dd>
<iframe name="showauth" src="index_body.php?dopost=showauth" width="100%" frameborder="0" scrolling="no" marginwidth="10" marginheight="10" id="showauth"></iframe>
</dd>
</dl><!--更新消息结束-->

 

<dl class='dbox' id="item5">
<dt class='lside'><div class='l'>程序团队</div></dt>
<dd class='intable'>
<table width="98%">
<tr>
<td width='25%' height='36' class='nline' style="text-align:right"> 主程序研发: </td>
<td class='nline' style="text-align:left"><a href="http://www.desdev.cn/team.php" target="_blank" style="color:blue">织梦团队</a></td>
</tr>
<tr>
<td height='36' class='nline' style="text-align:right">鸣谢:</td>
<td class='nline' style="text-align:left"><a href="http://www.desdev.cn/dedecms-thanks.html" target="_blank" style="color:blue">热心用户</a>、<a href="http://www.dedecms.com/thanks.html" target="_blank" style="color:blue">赞助商</a></td>
</tr>
</table>
</dd>
</dl><!--开发团队结束-->

 

<dl class='dbox' id="item8">
<dt class='lside'><div class='l'>赞助商链接(<a href="http://ad.dedecms.com/ad/" target="_blank">说明</a>)</div></dt>
<dd>
<iframe name="showad" src="index_body.php?dopost=showad" frameborder="0" width="100%" id="showad" frameborder="0" scrolling="no"  marginheight="5"></iframe>
</dd>
</dl><!--赞助商链接结束-->

修改

<div align="center">
Copyright © 2004-2011 <a href='http://www.dedecms.com' target='_blank'><u>DedeCMS</u></a>. 织梦科技 版权所有
</div>

 

<div style='float:left'>
欢迎使用专业的PHP网站管理系统,轻松建站的首选利器 -- <?php echo $cfg_softname; ?>
</div>

4、修改侧边栏菜单

dede/inc/inc_menu.php文件

修改

<m:top item='1_10_7_' name='系统帮助' display='none'>
<m:item name='参考文档' link='http://help.dedecms.com' rank='' target='_blank' />
<m:item name='意见建议反馈' link='http://site.desdev.cn/suggest/' rank='' target='_blank' />
<m:item name='官方交流论坛' link='http://bbs.dedecms.com' rank='' target='_blank' />
</m:top>

5、修改后台转跳提示消息

/dede/sys_data_done.php和include/common.func.php文件

修改

将文中DedeCMS 提示消息等字样删除

标签: 暂无
最后更新:2013年7月3日

wangxingcs

这个人很懒,什么都没留下

点赞
< 上一篇
下一篇 >

文章评论

razz evil exclaim smile redface biggrin eek confused idea lol mad twisted rolleyes wink cool arrow neutral cry mrgreen drooling persevering
取消回复

This site uses Akismet to reduce spam. Learn how your comment data is processed.

wangxingcs

这个人很懒,什么都没留下

我的博客

仅记录一些有用的教程,自己的经历,已屏蔽各大搜索引擎收录。

新浪微博 @wangxingcs

Twitter @wangxingcs(常在)

最新 热点 随机
最新 热点 随机
Proxmox VE(PVE)6.X 添加硬盘 PVE解决VM is locked问题 Proxmox VE配置更新源 黑群晖显示真实CPU信息(支持7.0.1) Proxmox VE直通硬盘(全盘映射方式) PVE去除“没有有效订阅”提示
CentOS下用YUM升级OpenSSH和OpenSSL,一行命令搞定 CentOS下安装Xcache 3.1.0 CentOS 多线程下载工具 lftp Centos6.2 系统语言设置 使用ntpdate同步时间 Centos 文件新建、删除、移动、复制等命令
标签聚合
DSM PVE 虚拟机 MTP 群晖 驱动 FineCMS CMS

COPYRIGHT © 2015-2023 wangxingcs.com. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang

陕ICP备13007295号