Browse Source

栏目管理图标更新

tags/6.1.8
tianya 1 year ago
parent
commit
668837143a
14 changed files with 65 additions and 64 deletions
  1. +2
    -2
      src/admin/templets/album_add.htm
  2. +2
    -2
      src/admin/templets/album_edit.htm
  3. +2
    -2
      src/admin/templets/archives_add.htm
  4. +2
    -2
      src/admin/templets/archives_edit.htm
  5. +1
    -1
      src/admin/templets/archives_sg_add.htm
  6. +1
    -1
      src/admin/templets/archives_sg_edit.htm
  7. +2
    -2
      src/admin/templets/article_add.htm
  8. +2
    -2
      src/admin/templets/article_edit.htm
  9. +4
    -3
      src/admin/templets/catalog_main.htm
  10. +2
    -2
      src/admin/templets/soft_add.htm
  11. +2
    -2
      src/admin/templets/soft_edit.htm
  12. +1
    -1
      src/admin/templets/spec_add.htm
  13. +1
    -1
      src/admin/templets/spec_edit.htm
  14. +41
    -41
      src/system/typelink/typeunit.class.admin.php

+ 2
- 2
src/admin/templets/album_add.htm View File

@@ -199,7 +199,7 @@ table{border-collapse:separate}
echo "</select>";
?>
</span>
<i class='fa fa-search' aria-hidden='true' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid')" title='快捷选择' style='cursor:pointer'>
<i class='fa fa-search' aria-hidden='true' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid')" title='快捷选择' style='cursor:pointer'></i>
<?php
if($cfg_need_typeid2=='Y')
{
@@ -221,7 +221,7 @@ table{border-collapse:separate}
<td>
<span id='typeid2ct'></span>
<input type='text' name='typeid2' id='typeid2' value='' style='width:160px'>
<i class='fa fa-search' aria-hidden='true' style='cursor:pointer' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid2')" title='选择副栏目'>
<i class='fa fa-search' aria-hidden='true' style='cursor:pointer' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid2')" title='选择副栏目'></i>
</td>
</tr>
</table>


+ 2
- 2
src/admin/templets/album_edit.htm View File

@@ -194,7 +194,7 @@ table{border-collapse:separate}
echo $typeOptions;
echo '</select>';
?>
<i class='fa fa-search' aria-hidden='true' style='cursor:pointer' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid','<?php echo $arcRow['typeid']; ?>')" title='快捷选择'>
<i class='fa fa-search' aria-hidden='true' style='cursor:pointer' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid','<?php echo $arcRow['typeid']; ?>')" title='快捷选择'></i>
</td>
<td width="90">消费金币:</td>
<td><input name="money" type="text" id="money" value="<?php echo $arcRow['money']?>" style="width:160px"></td>
@@ -213,7 +213,7 @@ table{border-collapse:separate}
<td>
<span id='typeid2ct'></span>
<input type='text' name='typeid2' id='typeid2' value='<?php echo ($arcRow['typeid2']=='0' ? '' : $arcRow['typeid2']); ?>' style='width:160px'>
<i class='fa fa-search' aria-hidden='true' style='cursor:pointer' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid2','<?php echo $arcRow['typeid2']; ?>')" title='选择副栏目'>
<i class='fa fa-search' aria-hidden='true' style='cursor:pointer' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid2','<?php echo $arcRow['typeid2']; ?>')" title='选择副栏目'></i>
</td>
</tr>
</table>


+ 2
- 2
src/admin/templets/archives_add.htm View File

@@ -186,7 +186,7 @@ table{border-collapse:separate}
echo "</select>";
?>
</span>
<i class='fa fa-search' aria-hidden='true' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid')" title='快捷选择' style='cursor:pointer'>
<i class='fa fa-search' aria-hidden='true' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid')" title='快捷选择' style='cursor:pointer'></i>
<?php
if($cfg_need_typeid2=='Y')
{
@@ -208,7 +208,7 @@ table{border-collapse:separate}
<td>
<span id='typeid2ct'></span>
<input type='text' name='typeid2' id='typeid2' value='' style='width:160px'>
<i class='fa fa-search' aria-hidden='true' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid2')" title='选择副栏目' style='cursor:pointer'>
<i class='fa fa-search' aria-hidden='true' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid2')" title='选择副栏目' style='cursor:pointer'></i>
</td>
</tr>
</table>


+ 2
- 2
src/admin/templets/archives_edit.htm View File

@@ -185,7 +185,7 @@ table{border-collapse:separate}
echo $typeOptions;
echo "</select>";
?>
<i class='fa fa-search' aria-hidden='true' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid')" title='快捷选择' style='cursor:pointer'>
<i class='fa fa-search' aria-hidden='true' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid')" title='快捷选择' style='cursor:pointer'></i>
</td>
<td width="90">消费金币:</td>
<td><input name="money" type="text" id="money" value="<?php echo $arcRow['money']?>" style="width:160px"></td>
@@ -204,7 +204,7 @@ table{border-collapse:separate}
<td>
<span id='typeid2ct'></span>
<input type='text' name='typeid2' id='typeid2' value='<?php echo ($arcRow['typeid2']=='0' ? '' : $arcRow['typeid2']); ?>' style='width:260px;'>
<i class='fa fa-search' aria-hidden='true' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid2','<?php echo $arcRow['typeid2']; ?>')" title='选择副栏目' style='cursor:pointer'>
<i class='fa fa-search' aria-hidden='true' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid2','<?php echo $arcRow['typeid2']; ?>')" title='选择副栏目' style='cursor:pointer'></i>
</td>
</tr>
</table>


+ 1
- 1
src/admin/templets/archives_sg_add.htm View File

@@ -126,7 +126,7 @@ table{border-collapse:separate}
echo $typeOptions;
echo "</select>";
?></span>
<i class='fa fa-search' aria-hidden='true' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid')" title='快捷选择' style='cursor:pointer'>
<i class='fa fa-search' aria-hidden='true' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid')" title='快捷选择' style='cursor:pointer'></i>
</td>
</tr>
</table>


+ 1
- 1
src/admin/templets/archives_sg_edit.htm View File

@@ -148,7 +148,7 @@ table{border-collapse:separate}
echo $typeOptions;
echo "</select>";
?>
<i class='fa fa-search' aria-hidden='true' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid','<?php echo $addRow['typeid']; ?>')" title='快捷选择' style='cursor:pointer'>
<i class='fa fa-search' aria-hidden='true' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid','<?php echo $addRow['typeid']; ?>')" title='快捷选择' style='cursor:pointer'></i>
</td>
</tr>
</table>


+ 2
- 2
src/admin/templets/article_add.htm View File

@@ -189,7 +189,7 @@ table{border-collapse:separate}
echo "</select>";
?>
</span>
<i class='fa fa-search' aria-hidden='true' style="cursor:pointer" onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid')" title="快捷选择">
<i class='fa fa-search' aria-hidden='true' style="cursor:pointer" onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid')" title="快捷选择"></i>
<?php
if($cfg_need_typeid2=='Y')
{
@@ -211,7 +211,7 @@ table{border-collapse:separate}
<td>
<span id="typeid2ct"></span>
<input type="text" name="typeid2" id="typeid2" value="" style="width:260px">
<i class='fa fa-search' aria-hidden='true' style="cursor:pointer" onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid2')" title="选择副栏目">
<i class='fa fa-search' aria-hidden='true' style="cursor:pointer" onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid2')" title="选择副栏目"></i>
</td>
</tr>
</table>


+ 2
- 2
src/admin/templets/article_edit.htm View File

@@ -188,7 +188,7 @@ table{border-collapse:separate}
echo $typeOptions;
echo "</select>";
?>
<i class='fa fa-search' aria-hidden='true' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid','<?php echo $arcRow['typeid']; ?>')" title="快捷选择" style="cursor:pointer">
<i class='fa fa-search' aria-hidden='true' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid','<?php echo $arcRow['typeid']; ?>')" title="快捷选择" style="cursor:pointer"></i>
</td>
<td width="90">消费金币:</td>
<td><input name="money" type="text" id="money" value="<?php echo $arcRow['money']?>" style="width:160px"></td>
@@ -207,7 +207,7 @@ table{border-collapse:separate}
<td>
<span id="typeid2ct"></span>
<input type="text" name="typeid2" id="typeid2" value="<?php echo ($arcRow['typeid2']=='0'?'':$arcRow['typeid2']); ?>" style="width:160px">
<i class='fa fa-search' aria-hidden='true' style="cursor:pointer" onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid2','<?php echo $arcRow['typeid2']; ?>')" title="选择副栏目">
<i class='fa fa-search' aria-hidden='true' style="cursor:pointer" onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid2','<?php echo $arcRow['typeid2']; ?>')" title="选择副栏目"></i>
</td>
</tr>
</table>


+ 4
- 3
src/admin/templets/catalog_main.htm View File

@@ -15,7 +15,7 @@
function LoadSuns(ctid,tid)
{
if($DE(ctid).innerHTML.length < 10){
$DE('img'+tid).src = '../static/web/img/dedecontract.gif';
$DE('img'+tid).className = 'fa fa-minus-square-o';
fetch('catalog_do.php?dopost=GetSunLists&cid='+tid).then(resp=>resp.text()).then((d)=>{
$DE(ctid).innerHTML = d;
});
@@ -27,10 +27,10 @@ function showHide(objname,tid)
{
if($DE(objname).style.display=="none")
{
$DE('img'+tid).src = '../static/web/img/dedecontract.gif';
$DE('img'+tid).className = 'fa fa-minus-square-o';
$DE(objname).style.display = BROWSER.firefox? "" : "block";
} else {
$DE('img'+tid).src = '../static/web/img/dedeexplode.gif';
$DE('img'+tid).className = 'fa fa-plus-square-o';
$DE(objname).style.display="none";
}
}
@@ -108,6 +108,7 @@ td,th{padding:.25rem}
.nbline{border-bottom:1px solid #eee;background-color:#ffffff}
.bline2{border-bottom:1px solid #eee;background-color:#f8f8f8}
.maintable{border:1px solid #DEE2E6}
.fa{font-size: 14px;margin-left: 5px;}
</style>
</head>
<body onLoad="ContextMenu.intializeContextMenu()">


+ 2
- 2
src/admin/templets/soft_add.htm View File

@@ -191,7 +191,7 @@ table{border-collapse:separate}
echo "</select>";
?>
</span>
<i class='fa fa-search' aria-hidden='true' style='cursor:pointer' onClick="ShowCatMap(event, this, <?php echo $channelid; ?>, 'typeid')" title='快捷选择'>
<i class='fa fa-search' aria-hidden='true' style='cursor:pointer' onClick="ShowCatMap(event, this, <?php echo $channelid; ?>, 'typeid')" title='快捷选择'></i>
<?php
if($cfg_need_typeid2=='Y')
{
@@ -213,7 +213,7 @@ table{border-collapse:separate}
<td>
<span id='typeid2ct'></span>
<input type='text' name='typeid2' id='typeid2' value='' style='width:260px;'>
<i class='fa fa-search' aria-hidden='true' onClick="ShowCatMap(event, this, <?php echo $channelid; ?>, 'typeid2')" title='选择副栏目' style='cursor:pointer'>
<i class='fa fa-search' aria-hidden='true' onClick="ShowCatMap(event, this, <?php echo $channelid; ?>, 'typeid2')" title='选择副栏目' style='cursor:pointer'></i>
</td>
</tr>
</table>


+ 2
- 2
src/admin/templets/soft_edit.htm View File

@@ -189,7 +189,7 @@ table{border-collapse:separate}
echo $typeOptions;
echo "</select>";
?>
<i class='fa fa-search' aria-hidden='true' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid','<?php echo $arcRow['typeid']; ?>')" title='快捷选择' style='cursor:pointer'>
<i class='fa fa-search' aria-hidden='true' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid','<?php echo $arcRow['typeid']; ?>')" title='快捷选择' style='cursor:pointer'></i>
</td>
<td width="90">消费金币:</td>
<td><input name="needmoney" type="text" id="needmoney" value="<?php echo $needmoney; ?>" style="width:160px"></td>
@@ -208,7 +208,7 @@ table{border-collapse:separate}
<td>
<span id="typeid2ct"></span>
<input type="text" name="typeid2" id="typeid2" value="<?php echo ($arcRow['typeid2']=='0' ? '' : $arcRow['typeid2']); ?>" style="width:160px">
<i class='fa fa-search' aria-hidden='true' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid2','<?php echo $arcRow['typeid2']; ?>')"title='选择副栏目' style='cursor:pointer'></td>
<i class='fa fa-search' aria-hidden='true' onClick="ShowCatMap(event,this,<?php echo $channelid; ?>,'typeid2','<?php echo $arcRow['typeid2']; ?>')"title='选择副栏目' style='cursor:pointer'></i></td>
</tr>
</table>
</td>


+ 1
- 1
src/admin/templets/spec_add.htm View File

@@ -191,7 +191,7 @@ table{border-collapse:separate}
echo $typeOptions;
echo "</select>";
?>
<i class='fa fa-search' aria-hidden='true' onClick="ShowCatMap(event,this,0,'typeid')" title='快捷选择' style='cursor:pointer'>
<i class='fa fa-search' aria-hidden='true' onClick="ShowCatMap(event,this,0,'typeid')" title='快捷选择' style='cursor:pointer'></i>
</td>
</tr>
</table>


+ 1
- 1
src/admin/templets/spec_edit.htm View File

@@ -196,7 +196,7 @@ table{border-collapse:separate}
echo $typeOptions;
echo "</select>";
?>
<i class='fa fa-search' aria-hidden='true' onClick="ShowCatMap(event,this,0,'typeid')" title='快捷选择' style='cursor:pointer'>
<i class='fa fa-search' aria-hidden='true' onClick="ShowCatMap(event,this,0,'typeid')" title='快捷选择' style='cursor:pointer'></i>
</td>
</tr>
</table>


+ 41
- 41
src/system/typelink/typeunit.class.admin.php View File

@@ -117,41 +117,41 @@ class TypeUnit
//普通列表
if ($ispart == 0) {
echo "<tr>";
echo "<td style='background:#FBFCE2;' width='2%' class='bline'><img id='img".$id."' onClick=\"LoadSuns('suns".$id."',$id);\" src='/static/web/img/dedeexplode.gif' style='margin:0 10px;cursor:pointer'></td>";
echo "<td style='background:#FBFCE2;' class='bline'><table width='98%' border='0' cellspacing='0' cellpadding='0'><tr><td width='50%'><input class='np' type='checkbox' name='tids[]' value='{$id}' style='margin:0 10px'><a href='catalog_do.php?cid=".$id."&dopost=listArchives' oncontextmenu=\"CommonMenu(event,this,$id,'".urlencode($typeName)."')\">{$nss}".$typeName."[ID:".$id."]</a>(文档:".$this->GetTotalArc($id).")<a onclick=\"AlertMsg('快捷编辑窗口','$id');\" href=\"javascript:;\"><img src='/static/web/img/write2.gif' style='vertical-align:text-top'></a>";
echo "<td style='background:#FBFCE2;' width='2%' class='bline'><i id='img".$id."' onClick=\"LoadSuns('suns".$id."',$id);\" class='fa fa-plus-square-o' style='margin:0 10px;cursor:pointer'></i></td>";
echo "<td style='background:#FBFCE2;' class='bline'><table width='98%' border='0' cellspacing='0' cellpadding='0'><tr><td width='50%'><input class='np' type='checkbox' name='tids[]' value='{$id}' style='margin:0 10px'><a href='catalog_do.php?cid=".$id."&dopost=listArchives' oncontextmenu=\"CommonMenu(event,this,$id,'".urlencode($typeName)."')\">{$nss}".$typeName."[ID:".$id."]</a>(文档:".$this->GetTotalArc($id).")<a onclick=\"AlertMsg('快捷编辑窗口','$id');\" href=\"javascript:;\"><i class='fa fa-pencil-square-o' style='vertical-align:text-top'></i></a>";
echo "</td><td align='right'>";
echo "<a href='{$GLOBALS['cfg_phpurl']}/list.php?tid={$id}' target='_blank' class='btn btn-success btn-sm' title='预览'><i class='fa fa-globe'></i></a>";
echo "<a href='catalog_do.php?cid={$id}&dopost=listArchives' class='btn btn-success btn-sm' title='内容'><i class='fa fa-list'></i></a>";
echo "<a href='catalog_add.php?id={$id}' class='btn btn-success btn-sm' title='增加子类'><i class='fa fa-plus-circle'></i></a>";
echo "<a href='catalog_edit.php?id={$id}' class='btn btn-success btn-sm' title='修改'><i class='fa fa-pencil-square-o'></i></a>";
echo "<a href='catalog_do.php?dopost=moveCatalog&typeid={$id}' class='btn btn-success btn-sm' title='移动'><i class='fa fa-share-square'></i></a>";
echo "<a href='catalog_del.php?id={$id}&typeoldname=".urlencode($typeName)."' class='btn btn-success btn-sm' title='删除'><i class='fa fa-trash'></i></a>";
echo "<a href='{$GLOBALS['cfg_phpurl']}/list.php?tid={$id}' target='_blank' title='预览'><i class='fa fa-globe'></i></a>";
echo "<a href='catalog_do.php?cid={$id}&dopost=listArchives' title='内容'><i class='fa fa-list'></i></a>";
echo "<a href='catalog_add.php?id={$id}' title='增加子类'><i class='fa fa-plus-circle'></i></a>";
echo "<a href='catalog_edit.php?id={$id}' title='修改'><i class='fa fa-pencil-square-o'></i></a>";
echo "<a href='catalog_do.php?dopost=moveCatalog&typeid={$id}' title='移动'><i class='fa fa-share-square'></i></a>";
echo "<a href='catalog_del.php?id={$id}&typeoldname=".urlencode($typeName)."' title='删除'><i class='fa fa-trash'></i></a>";
echo "&nbsp;<input type='text' name='sortrank{$id}' value='{$rank}' style='width:30px;height:26px'></td></tr></table></td></tr>";
}
//带封面的频道
else if ($ispart == 1) {
echo "<tr>";
echo "<td style='background:#FBFCE2;' width='2%' class='bline'><img id='img".$id."' onClick=\"LoadSuns('suns".$id."',$id);\" src='/static/web/img/dedeexplode.gif' style='margin:0 10px;cursor:pointer'></td>";
echo "<td style='background:#FBFCE2;' class='bline'><table width='98%' border='0' cellspacing='0' cellpadding='0'><tr><td width='50%'><input class='np' type='checkbox' name='tids[]' value='{$id}' style='margin:0 10px'><a href='catalog_do.php?cid=".$id."&dopost=listArchives' oncontextmenu=\"CommonMenuPart(event,this,$id,'".urlencode($typeName)."')\">{$nss}".$typeName."[ID:".$id."]</a> <a onclick=\"AlertMsg('快捷编辑窗口','$id');\" href=\"javascript:;\"><img src='/static/web/img/write2.gif' style='vertical-align:text-top'></a>";
echo "<td style='background:#FBFCE2;' width='2%' class='bline'><i id='img".$id."' onClick=\"LoadSuns('suns".$id."',$id);\" class='fa fa-plus-square-o' style='margin:0 10px;cursor:pointer'></i></td>";
echo "<td style='background:#FBFCE2;' class='bline'><table width='98%' border='0' cellspacing='0' cellpadding='0'><tr><td width='50%'><input class='np' type='checkbox' name='tids[]' value='{$id}' style='margin:0 10px'><a href='catalog_do.php?cid=".$id."&dopost=listArchives' oncontextmenu=\"CommonMenuPart(event,this,$id,'".urlencode($typeName)."')\">{$nss}".$typeName."[ID:".$id."]</a> <a onclick=\"AlertMsg('快捷编辑窗口','$id');\" href=\"javascript:;\"><i class='fa fa-pencil-square-o' style='vertical-align:text-top'></i></a>";
echo "</td><td align='right'>";
echo "<a href='{$GLOBALS['cfg_phpurl']}/list.php?tid={$id}' target='_blank' class='btn btn-success btn-sm' title='预览'><i class='fa fa-globe'></i></a>";
echo "<a href='catalog_do.php?cid={$id}&dopost=listArchives' class='btn btn-success btn-sm' title='内容'><i class='fa fa-list'></i></a>";
echo "<a href='catalog_add.php?id={$id}' class='btn btn-success btn-sm' title='增加子类'><i class='fa fa-plus-circle'></i></a>";
echo "<a href='catalog_edit.php?id={$id}' class='btn btn-success btn-sm' title='修改'><i class='fa fa-pencil-square-o'></i></a>";
echo "<a href='catalog_do.php?dopost=moveCatalog&typeid={$id}' class='btn btn-success btn-sm' title='移动'><i class='fa fa-share-square'></i></a>";
echo "<a href='catalog_del.php?id={$id}&typeoldname=".urlencode($typeName)."' class='btn btn-success btn-sm' title='删除'><i class='fa fa-trash'></i></a>";
echo "<a href='{$GLOBALS['cfg_phpurl']}/list.php?tid={$id}' target='_blank' title='预览'><i class='fa fa-globe'></i></a>";
echo "<a href='catalog_do.php?cid={$id}&dopost=listArchives' title='内容'><i class='fa fa-list'></i></a>";
echo "<a href='catalog_add.php?id={$id}' title='增加子类'><i class='fa fa-plus-circle'></i></a>";
echo "<a href='catalog_edit.php?id={$id}' title='修改'><i class='fa fa-pencil-square-o'></i></a>";
echo "<a href='catalog_do.php?dopost=moveCatalog&typeid={$id}' title='移动'><i class='fa fa-share-square'></i></a>";
echo "<a href='catalog_del.php?id={$id}&typeoldname=".urlencode($typeName)."' title='删除'><i class='fa fa-trash'></i></a>";
echo "&nbsp;<input type='text' name='sortrank{$id}' value='{$rank}' style='width:30px;height:26px'></td></tr></table></td></tr>";
}
//独立页面
else if ($ispart == 2) {
echo "<tr height='26' bgcolor='#FBFCE2'>";
echo "<td width='2%' class='bline2'><img id='img".$id."' onClick=\"LoadSuns('suns".$id."',$id);\" src='/static/web/img/dedeexplode.gif' style='margin:0 10px;cursor:pointer'></td>";
echo "<td class='bline2'><table width='98%' border='0' cellspacing='0' cellpadding='0'><tr><td width='50%'><input class='np' type='checkbox' name='tids[]' value='{$id}' style='margin:0 10px'><a href='catalog_edit.php?id=".$id."' oncontextmenu=\"SingleMenu(event,this,$id,'".urlencode($typeName)."')\">{$nss}".$typeName."[ID:".$id."]</a><a onclick=\"AlertMsg('快捷编辑窗口','$id');\" href=\"javascript:;\"><img src='/static/web/img/write2.gif' style='vertical-align:text-top'></a>";
echo "<td width='2%' class='bline2'><i id='img".$id."' onClick=\"LoadSuns('suns".$id."',$id);\" class='fa fa-plus-square-o' style='margin:0 10px;cursor:pointer'></i></td>";
echo "<td class='bline2'><table width='98%' border='0' cellspacing='0' cellpadding='0'><tr><td width='50%'><input class='np' type='checkbox' name='tids[]' value='{$id}' style='margin:0 10px'><a href='catalog_edit.php?id=".$id."' oncontextmenu=\"SingleMenu(event,this,$id,'".urlencode($typeName)."')\">{$nss}".$typeName."[ID:".$id."]</a><a onclick=\"AlertMsg('快捷编辑窗口','$id');\" href=\"javascript:;\"><i class='fa fa-pencil-square-o' style='vertical-align:text-top'></i></a>";
echo "</td><td align='right'>";
echo "<a href='{$typeDir}' target='_blank' class='btn btn-success btn-sm' title='预览'><i class='fa fa-globe'></i></a>";
echo "<a href='catalog_edit.php?id={$id}' class='btn btn-success btn-sm' title='修改'><i class='fa fa-pencil-square-o'></i></a>";
echo "<a href='catalog_do.php?dopost=moveCatalog&typeid={$id}' class='btn btn-success btn-sm' title='移动'><i class='fa fa-share-square'></i></a>";
echo "<a href='catalog_del.php?id={$id}&typeoldname=".urlencode($typeName)."' class='btn btn-success btn-sm' title='删除'><i class='fa fa-trash'></i></a>";
echo "<a href='{$typeDir}' target='_blank' title='预览'><i class='fa fa-globe'></i></a>";
echo "<a href='catalog_edit.php?id={$id}' title='修改'><i class='fa fa-pencil-square-o'></i></a>";
echo "<a href='catalog_do.php?dopost=moveCatalog&typeid={$id}' title='移动'><i class='fa fa-share-square'></i></a>";
echo "<a href='catalog_del.php?id={$id}&typeoldname=".urlencode($typeName)."' title='删除'><i class='fa fa-trash'></i></a>";
echo "&nbsp;<input type='text' name='sortrank{$id}' value='{$rank}' style='width:30px;height:26px'></td></tr></table></td></tr>";
}
echo "<tr><td colspan='2' id='suns".$id."'>";
@@ -205,28 +205,28 @@ class TypeUnit
echo "<td class='nbline'>";
echo "<table width='98%' border='0' cellspacing='0' cellpadding='0'>";
echo "<tr onMouseMove=\"javascript:this.bgColor='#FAFCE0';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"><td width='50%'>";
echo "$step<img id='img".$id."' onClick=\"LoadSuns('suns".$id."',$id);\" src='/static/web/img/dedeexplode.gif' style='margin:0 10px;cursor:pointer'><input class='np' type='checkbox' name='tids[]' value='{$id}' style='margin:0 10px'><a href='catalog_do.php?cid=".$id."&dopost=listArchives'>{$nss}".$typeName."[ID:".$id."]</a>(文档:".$this->GetTotalArc($id).")<a onclick=\"AlertMsg('快捷编辑窗口','$id');\" href=\"javascript:;\"><img src='/static/web/img/write2.gif' style='vertical-align:text-top'></a>";
echo "$step<i id='img".$id."' onClick=\"LoadSuns('suns".$id."',$id);\" class='fa fa-plus-square-o' style='margin:0 10px;cursor:pointer'></i><input class='np' type='checkbox' name='tids[]' value='{$id}' style='margin:0 10px'><a href='catalog_do.php?cid=".$id."&dopost=listArchives'>{$nss}".$typeName."[ID:".$id."]</a>(文档:".$this->GetTotalArc($id).")<a onclick=\"AlertMsg('快捷编辑窗口','$id');\" href=\"javascript:;\"><i class='fa fa-pencil-square-o' style='vertical-align:text-top'></i></a>";
echo "</td><td align='right'>";
echo "<a href='{$GLOBALS['cfg_phpurl']}/list.php?tid={$id}' target='_blank' title='预览' class='btn btn-success btn-sm'><i class='fa fa-globe'></i></a>";
echo "<a href='catalog_do.php?cid={$id}&dopost=listArchives' class='btn btn-success btn-sm' title='内容'><i class='fa fa-list'></i></a>";
echo "<a href='catalog_add.php?id={$id}' class='btn btn-success btn-sm' title='增加子类'><i class='fa fa-plus-circle'></i></a>";
echo "<a href='catalog_edit.php?id={$id}' class='btn btn-success btn-sm' title='修改'><i class='fa fa-pencil-square-o'></i></a>";
echo "<a href='catalog_do.php?dopost=moveCatalog&typeid={$id}' title='移动' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i></a>";
echo "<a href='catalog_del.php?id={$id}&typeoldname=".urlencode($typeName)."' title='删除' class='btn btn-success btn-sm'><i class='fa fa-trash'></i></a>";
echo "<a href='{$GLOBALS['cfg_phpurl']}/list.php?tid={$id}' target='_blank' title='预览'><i class='fa fa-globe'></i></a>";
echo "<a href='catalog_do.php?cid={$id}&dopost=listArchives' title='内容'><i class='fa fa-list'></i></a>";
echo "<a href='catalog_add.php?id={$id}' title='增加子类'><i class='fa fa-plus-circle'></i></a>";
echo "<a href='catalog_edit.php?id={$id}' title='修改'><i class='fa fa-pencil-square-o'></i></a>";
echo "<a href='catalog_do.php?dopost=moveCatalog&typeid={$id}' title='移动'><i class='fa fa-share-square'></i></a>";
echo "<a href='catalog_del.php?id={$id}&typeoldname=".urlencode($typeName)."' title='删除'><i class='fa fa-trash'></i></a>";
echo "&nbsp;<input type='text' name='sortrank{$id}' value='{$rank}' style='width:30px;height:26px'></td></tr></table></td></tr>";
}
//封面频道
else if ($ispart == 1) {
echo "<tr height='26' oncontextmenu=\"CommonMenu(event,this,$id,'".urlencode($typeName)."')\">";
echo "<td class='nbline'><table width='98%' border='0' cellspacing='0' cellpadding='0'><tr onMouseMove=\"javascript:this.bgColor='#FAFCE0';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"><td width='50%'>";
echo "$step<img id='img".$id."' onClick=\"LoadSuns('suns".$id."',$id);\" src='/static/web/img/dedeexplode.gif' style='margin:0 10px;cursor:pointer'><input class='np' type='checkbox' name='tids[]' value='{$id}' style='margin:0 10px'><a href='catalog_do.php?cid=".$id."&dopost=listArchives'>{$nss}".$typeName."[ID:".$id."]</a><a onclick=\"AlertMsg('快捷编辑窗口','$id');\" href=\"javascript:;\"><img src='/static/web/img/write2.gif' style='vertical-align:text-top'></a>";
echo "$step<i id='img".$id."' onClick=\"LoadSuns('suns".$id."',$id);\" class='fa fa-plus-square-o' style='margin:0 10px;cursor:pointer'></i><input class='np' type='checkbox' name='tids[]' value='{$id}' style='margin:0 10px'><a href='catalog_do.php?cid=".$id."&dopost=listArchives'>{$nss}".$typeName."[ID:".$id."]</a><a onclick=\"AlertMsg('快捷编辑窗口','$id');\" href=\"javascript:;\"><i class='fa fa-pencil-square-o' style='vertical-align:text-top'></i></a>";
echo "</td><td align='right'>";
echo "<a href='{$GLOBALS['cfg_phpurl']}/list.php?tid={$id}' target='_blank' title='预览' class='btn btn-success btn-sm'><i class='fa fa-globe'></i></a>";
echo "<a href='catalog_do.php?cid={$id}&dopost=listArchives' class='btn btn-success btn-sm' title='内容'><i class='fa fa-list'></i></a>";
echo "<a href='catalog_add.php?id={$id}' class='btn btn-success btn-sm' title='增加子类'><i class='fa fa-plus-circle'></i></a>";
echo "<a href='catalog_edit.php?id={$id}' class='btn btn-success btn-sm' title='修改'><i class='fa fa-pencil-square-o'></i></a>";
echo "<a href='catalog_do.php?dopost=moveCatalog&typeid={$id}' title='移动' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i></a>";
echo "<a href='catalog_del.php?id={$id}&typeoldname=".urlencode($typeName)."' title='删除' class='btn btn-success btn-sm'><i class='fa fa-trash'></i></a>";
echo "<a href='{$GLOBALS['cfg_phpurl']}/list.php?tid={$id}' target='_blank' title='预览'><i class='fa fa-globe'></i></a>";
echo "<a href='catalog_do.php?cid={$id}&dopost=listArchives' title='内容'><i class='fa fa-list'></i></a>";
echo "<a href='catalog_add.php?id={$id}' title='增加子类'><i class='fa fa-plus-circle'></i></a>";
echo "<a href='catalog_edit.php?id={$id}' title='修改'><i class='fa fa-pencil-square-o'></i></a>";
echo "<a href='catalog_do.php?dopost=moveCatalog&typeid={$id}' title='移动'><i class='fa fa-share-square'></i></a>";
echo "<a href='catalog_del.php?id={$id}&typeoldname=".urlencode($typeName)."' title='删除'><i class='fa fa-trash'></i></a>";
echo "&nbsp;<input type='text' name='sortrank{$id}' value='{$rank}' style='width:30px;height:26px'></td></tr></table></td></tr>";
}
//独立页面
@@ -234,12 +234,12 @@ class TypeUnit
echo "<tr height='26' oncontextmenu=\"SingleMenu(event,this,$id,'".urlencode($typeName)."')\">";
echo "<td class='bline2'><table width='98%' border='0' cellspacing='0' cellpadding='0'>";
echo "<tr onMouseMove=\"javascript:this.bgColor='#FAFCE0';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\"><td width='50%'>";
echo "$step<img id='img".$id."' onClick=\"LoadSuns('suns".$id."',$id);\" src='/static/web/img/dedeexplode.gif' style='margin:0 10px;cursor:pointer'><input class='np' type='checkbox' name='tids[]' value='{$id}' style='margin:0 10px'><a href='catalog_do.php?cid=".$id."&dopost=listArchives'>{$nss}".$typeName."[ID:".$id."]</a><a onclick=\"AlertMsg('快捷编辑窗口','$id');\" href=\"javascript:;\"><img src='/static/web/img/write2.gif' style='vertical-align:text-top'></a>";
echo "$step<i id='img".$id."' onClick=\"LoadSuns('suns".$id."',$id);\" class='fa fa-plus-square-o' style='margin:0 10px;cursor:pointer'></i><input class='np' type='checkbox' name='tids[]' value='{$id}' style='margin:0 10px'><a href='catalog_do.php?cid=".$id."&dopost=listArchives'>{$nss}".$typeName."[ID:".$id."]</a><a onclick=\"AlertMsg('快捷编辑窗口','$id');\" href=\"javascript:;\"><i class='fa fa-pencil-square-o' style='vertical-align:text-top'></i></a>";
echo "</td><td align='right'>";
echo "<a href='{$typeDir}' target='_blank' title='预览' class='btn btn-success btn-sm'><i class='fa fa-globe'></i></a>";
echo "<a href='catalog_edit.php?id={$id}' class='btn btn-success btn-sm' title='修改'><i class='fa fa-pencil-square-o'></i></a>";
echo "<a href='catalog_do.php?dopost=moveCatalog&typeid={$id}' title='移动' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i></a>";
echo "<a href='catalog_del.php?id={$id}&typeoldname=".urlencode($typeName)."' title='删除' class='btn btn-success btn-sm'><i class='fa fa-trash'></i></a>";
echo "<a href='{$typeDir}' target='_blank' title='预览'><i class='fa fa-globe'></i></a>";
echo "<a href='catalog_edit.php?id={$id}' title='修改'><i class='fa fa-pencil-square-o'></i></a>";
echo "<a href='catalog_do.php?dopost=moveCatalog&typeid={$id}' title='移动'><i class='fa fa-share-square'></i></a>";
echo "<a href='catalog_del.php?id={$id}&typeoldname=".urlencode($typeName)."' title='删除'><i class='fa fa-trash'></i></a>";
echo "&nbsp;<input type='text' name='sortrank{$id}' value='{$rank}' style='width:30px;height:26px'></td></tr></table></td></tr>";
}
echo "<tr><td id='suns".$id."' style='display:none'><table width='100%' border='0' cellspacing='0' cellpadding='0'>";


Loading…
Cancel
Save