admin/templets/catalog_main.htm
(开头部分) 7KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<title>栏目管理</title>
<link href="css/base.css" rel="stylesheet" type="text/css">
<script language="javascript" src="js/global.js"></script>
<script language="javascript" src="js/context_menu.js"></script>
<script language="javascript" src="js/ieemu.js"></script>
<script language="javascript" src="js/dialog.js"></script>
<script language="javascript" src="../include/js/dedeajax2.js"></script>
<script language="javascript">
function LoadSuns(ctid,tid)
{
if($DE(ctid).innerHTML.length < 10){
$DE('img'+tid).src = 'images/dedecontract.gif';
var myajax = new DedeAjax($DE(ctid));
myajax.SendGet('catalog_do.php?dopost=GetSunLists&cid='+tid);
}
else{
showHide(ctid,tid);
}
}
function showHide(objname,tid)
{
if($DE(objname).style.display=="none")
{
$DE('img'+tid).src = 'images/dedecontract.gif';
$DE(objname).style.display = BROWSER.firefox? "" : "block";
} else {
$DE('img'+tid).src = 'images/dedeexplode.gif';
$DE(objname).style.display="none";
}
}
if(moz) {
extendEventObject();
extendElementModel();
emulateAttachEvent();
}
//普通栏目
function CommonMenu(eobj,obj,tid,tname)
{
var popupoptions
popupoptions = [
new ContextItem("增加内容",function(){location="catalog_do.php?cid="+tid+"&dopost=addArchives";}),
new ContextItem("管理内容",function(){location="catalog_do.php?cid="+tid+"&dopost=listArchives";}),
new ContextSeperator(),
new ContextItem("预览分类",function(){ window.open("<?php echo $cfg_phpurl; ?>/list.php?tid="+tid); }),
new ContextItem("更新HTML",function(){ location="makehtml_list.php?cid="+tid; }),
new ContextItem("获取JS文件",function(){ location="catalog_do.php?cid="+tid+"&dopost=GetJs"; }),
new ContextSeperator(),
new ContextItem("增加子类",function(){location="catalog_add.php?id="+tid;}),
new ContextItem("更改栏目",function(){location="catalog_edit.php?id="+tid;}),
new ContextSeperator(),
new ContextItem("合并栏目",function(){location='catalog_do.php?dopost=unitCatalog&typeid='+tid}),
new ContextItem("移动栏目",function(){location='catalog_do.php?dopost=moveCatalog&typeid='+tid}),
new ContextItem("删除栏目",function(){location="catalog_del.php?id="+tid+"&typeoldname="+tname;}),
new ContextSeperator(),
后面还有 121 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。