Browse Source

Update typeunit.class.admin.php

tags/6.2.5
叙述、别离 1 year ago
parent
commit
b25b3dd518
1 changed files with 32 additions and 32 deletions
  1. +32
    -32
      src/system/typelink/typeunit.class.admin.php

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

@@ -112,12 +112,12 @@ class TypeUnit
echo "<tr>";
echo "<td class='admin-td'><table width='98%' cellspacing='0' cellpadding='0'><tr><td width='50%'><i id='img".$id."' onClick=\"LoadSuns('suns".$id."',$id);\" class='fa fa-plus-square-o'></i><input type='checkbox' name='tids[]' value='{$id}' class='mr-3 ml-3'><span class='btn btn-success btn-xs'>列表</span>{$nss}<a href='catalog_do.php?cid=".$id."&dopost=listArchives' class='mr-3 ml-3'>".$typeName."</a>[id:".$id."](文档数:".$this->GetTotalArc($id).")";
echo "</td><td align='right'>";
echo "<a href='{$GLOBALS['cfg_phpurl']}/list.php?tid={$id}' target='_blank' title='预览' class='btn btn btn-light btn-sm'><i class='fa fa-eye'></i></a>";
echo "<a href='catalog_do.php?cid={$id}&dopost=listArchives' title='文档' class='btn btn btn-light btn-sm'><i class='fa fa-bars'></i></a>";
echo "<a href='catalog_add.php?id={$id}' title='增加' class='btn btn btn-light btn-sm'><i class='fa fa-plus-circle'></i></a>";
echo "<a href='catalog_edit.php?id={$id}' title='修改' class='btn btn btn-light btn-sm'><i class='fa fa-pencil-square-o'></i></a>";
echo "<a href='catalog_do.php?dopost=moveCatalog&typeid={$id}' title='移动' class='btn btn btn-light 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 btn-light btn-sm'><i class='fa fa-trash'></i></a>";
echo "<a href='{$GLOBALS['cfg_phpurl']}/list.php?tid={$id}' target='_blank' title='预览' class='btn btn-light btn-sm'><i class='fa fa-eye'></i></a>";
echo "<a href='catalog_do.php?cid={$id}&dopost=listArchives' title='文档' class='btn btn-light btn-sm'><i class='fa fa-bars'></i></a>";
echo "<a href='catalog_add.php?id={$id}' title='增加' class='btn btn-light btn-sm'><i class='fa fa-plus-circle'></i></a>";
echo "<a href='catalog_edit.php?id={$id}' title='修改' class='btn btn-light btn-sm'><i class='fa fa-pencil-square-o'></i></a>";
echo "<a href='catalog_do.php?dopost=moveCatalog&typeid={$id}' title='移动' class='btn btn-light 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-light btn-sm'><i class='fa fa-trash'></i></a>";
echo "<input type='text' name='sortrank{$id}' value='{$rank}' style='margin-left:1rem;width:30px;text-align:center'></td></tr></table></td></tr>";
}
//带封面的栏目
@@ -125,12 +125,12 @@ class TypeUnit
echo "<tr>";
echo "<td class='admin-td'><table width='98%' cellspacing='0' cellpadding='0'><tr><td width='50%'><i id='img".$id."' onClick=\"LoadSuns('suns".$id."',$id);\" class='fa fa-plus-square-o'></i><input type='checkbox' name='tids[]' value='{$id}' class='mr-3 ml-3'><span class='btn btn-warning btn-xs'>封面</span>{$nss}<a href='catalog_do.php?cid=".$id."&dopost=listArchives' class='mr-3 ml-3'>".$typeName."</a>[id:".$id."]";
echo "</td><td align='right'>";
echo "<a href='{$GLOBALS['cfg_phpurl']}/list.php?tid={$id}' target='_blank' title='预览' class='btn btn btn-light btn-sm'><i class='fa fa-eye'></i></a>";
echo "<a href='catalog_do.php?cid={$id}&dopost=listArchives' title='文档' class='btn btn btn-light btn-sm'><i class='fa fa-bars'></i></a>";
echo "<a href='catalog_add.php?id={$id}' title='增加' class='btn btn btn-light btn-sm'><i class='fa fa-plus-circle'></i></a>";
echo "<a href='catalog_edit.php?id={$id}' title='修改' class='btn btn btn-light btn-sm'><i class='fa fa-pencil-square-o'></i></a>";
echo "<a href='catalog_do.php?dopost=moveCatalog&typeid={$id}' title='移动' class='btn btn btn-light 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 btn-light btn-sm'><i class='fa fa-trash'></i></a>";
echo "<a href='{$GLOBALS['cfg_phpurl']}/list.php?tid={$id}' target='_blank' title='预览' class='btn btn-light btn-sm'><i class='fa fa-eye'></i></a>";
echo "<a href='catalog_do.php?cid={$id}&dopost=listArchives' title='文档' class='btn btn-light btn-sm'><i class='fa fa-bars'></i></a>";
echo "<a href='catalog_add.php?id={$id}' title='增加' class='btn btn-light btn-sm'><i class='fa fa-plus-circle'></i></a>";
echo "<a href='catalog_edit.php?id={$id}' title='修改' class='btn btn-light btn-sm'><i class='fa fa-pencil-square-o'></i></a>";
echo "<a href='catalog_do.php?dopost=moveCatalog&typeid={$id}' title='移动' class='btn btn-light 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-light btn-sm'><i class='fa fa-trash'></i></a>";
echo "<input type='text' name='sortrank{$id}' value='{$rank}' style='margin-left:1rem;width:30px;text-align:center'></td></tr></table></td></tr>";
}
//独立页面
@@ -138,10 +138,10 @@ class TypeUnit
echo "<tr>";
echo "<td class='admin-td'><table width='98%' cellspacing='0' cellpadding='0'><tr><td width='50%'><i id='img".$id."' onClick=\"LoadSuns('suns".$id."',$id);\" class='fa fa-plus-square-o'></i><input type='checkbox' name='tids[]' value='{$id}' class='mr-3 ml-3'><span class='btn btn-primary btn-xs'>外部</span>{$nss}<a href='catalog_edit.php?id=".$id."' class='mr-3 ml-3'>".$typeName."</a>[id:".$id."]";
echo "</td><td align='right'>";
echo "<a href='{$typeDir}' target='_blank' title='预览' class='btn btn btn-light btn-sm'><i class='fa fa-eye'></i></a>";
echo "<a href='catalog_edit.php?id={$id}' title='修改' class='btn btn btn-light btn-sm'><i class='fa fa-pencil-square-o'></i></a>";
echo "<a href='catalog_do.php?dopost=moveCatalog&typeid={$id}' title='移动' class='btn btn btn-light 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 btn-light btn-sm'><i class='fa fa-trash'></i></a>";
echo "<a href='{$typeDir}' target='_blank' title='预览' class='btn btn-light btn-sm'><i class='fa fa-eye'></i></a>";
echo "<a href='catalog_edit.php?id={$id}' title='修改' class='btn btn-light btn-sm'><i class='fa fa-pencil-square-o'></i></a>";
echo "<a href='catalog_do.php?dopost=moveCatalog&typeid={$id}' title='移动' class='btn btn-light 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-light btn-sm'><i class='fa fa-trash'></i></a>";
echo "<input type='text' name='sortrank{$id}' value='{$rank}' style='margin-left:1rem;width:30px;text-align:center'></td></tr></table></td></tr>";
}
echo "<tr><td colspan='2' id='suns".$id."' class='p-0'>";
@@ -195,12 +195,12 @@ class TypeUnit
echo "<td class='admin-td'><table width='98%' cellspacing='0' cellpadding='0'><tr><td width='50%'>";
echo "$step<i id='img".$id."' onClick=\"LoadSuns('suns".$id."',$id);\" class='fa fa-plus-square-o'></i><input type='checkbox' name='tids[]' value='{$id}' class='mr-3 ml-3'><span class='btn btn-success btn-xs'>列表</span>{$nss}<a href='catalog_do.php?cid=".$id."&dopost=listArchives' class='mr-3 ml-3'>".$typeName."</a>[id:".$id."](文档数:".$this->GetTotalArc($id).")";
echo "</td><td align='right'>";
echo "<a href='{$GLOBALS['cfg_phpurl']}/list.php?tid={$id}' target='_blank' title='预览' class='btn btn btn-light btn-sm'><i class='fa fa-eye'></i></a>";
echo "<a href='catalog_do.php?cid={$id}&dopost=listArchives' title='文档' class='btn btn btn-light btn-sm'><i class='fa fa-bars'></i></a>";
echo "<a href='catalog_add.php?id={$id}' title='增加' class='btn btn btn-light btn-sm'><i class='fa fa-plus-circle'></i></a>";
echo "<a href='catalog_edit.php?id={$id}' title='修改' class='btn btn btn-light btn-sm'><i class='fa fa-pencil-square-o'></i></a>";
echo "<a href='catalog_do.php?dopost=moveCatalog&typeid={$id}' title='移动' class='btn btn btn-light 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 btn-light btn-sm'><i class='fa fa-trash'></i></a>";
echo "<a href='{$GLOBALS['cfg_phpurl']}/list.php?tid={$id}' target='_blank' title='预览' class='btn btn-light btn-sm'><i class='fa fa-eye'></i></a>";
echo "<a href='catalog_do.php?cid={$id}&dopost=listArchives' title='文档' class='btn btn-light btn-sm'><i class='fa fa-bars'></i></a>";
echo "<a href='catalog_add.php?id={$id}' title='增加' class='btn btn-light btn-sm'><i class='fa fa-plus-circle'></i></a>";
echo "<a href='catalog_edit.php?id={$id}' title='修改' class='btn btn-light btn-sm'><i class='fa fa-pencil-square-o'></i></a>";
echo "<a href='catalog_do.php?dopost=moveCatalog&typeid={$id}' title='移动' class='btn btn-light 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-light btn-sm'><i class='fa fa-trash'></i></a>";
echo "<input type='text' name='sortrank{$id}' value='{$rank}' style='margin-left:1rem;width:30px;text-align:center'></td></tr></table></td></tr>";
}
//封面栏目
@@ -209,12 +209,12 @@ class TypeUnit
echo "<td class='admin-td'><table width='98%' cellspacing='0' cellpadding='0'><tr><td width='50%'>";
echo "$step<i id='img".$id."' onClick=\"LoadSuns('suns".$id."',$id);\" class='fa fa-plus-square-o'></i><input type='checkbox' name='tids[]' value='{$id}' class='mr-3 ml-3'><span class='btn btn-warning btn-xs'>封面</span>{$nss}<a href='catalog_do.php?cid=".$id."&dopost=listArchives' class='mr-3 ml-3'>".$typeName."</a>[id:".$id."]";
echo "</td><td align='right'>";
echo "<a href='{$GLOBALS['cfg_phpurl']}/list.php?tid={$id}' target='_blank' title='预览' class='btn btn btn-light btn-sm'><i class='fa fa-eye'></i></a>";
echo "<a href='catalog_do.php?cid={$id}&dopost=listArchives' title='文档' class='btn btn btn-light btn-sm'><i class='fa fa-bars'></i></a>";
echo "<a href='catalog_add.php?id={$id}' title='增加' class='btn btn btn-light btn-sm'><i class='fa fa-plus-circle'></i></a>";
echo "<a href='catalog_edit.php?id={$id}' title='修改' class='btn btn btn-light btn-sm'><i class='fa fa-pencil-square-o'></i></a>";
echo "<a href='catalog_do.php?dopost=moveCatalog&typeid={$id}' title='移动' class='btn btn btn-light 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 btn-light btn-sm'><i class='fa fa-trash'></i></a>";
echo "<a href='{$GLOBALS['cfg_phpurl']}/list.php?tid={$id}' target='_blank' title='预览' class='btn btn-light btn-sm'><i class='fa fa-eye'></i></a>";
echo "<a href='catalog_do.php?cid={$id}&dopost=listArchives' title='文档' class='btn btn-light btn-sm'><i class='fa fa-bars'></i></a>";
echo "<a href='catalog_add.php?id={$id}' title='增加' class='btn btn-light btn-sm'><i class='fa fa-plus-circle'></i></a>";
echo "<a href='catalog_edit.php?id={$id}' title='修改' class='btn btn-light btn-sm'><i class='fa fa-pencil-square-o'></i></a>";
echo "<a href='catalog_do.php?dopost=moveCatalog&typeid={$id}' title='移动' class='btn btn-light 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-light btn-sm'><i class='fa fa-trash'></i></a>";
echo "<input type='text' name='sortrank{$id}' value='{$rank}' style='margin-left:1rem;width:30px;text-align:center'></td></tr></table></td></tr>";
}
//独立页面
@@ -223,10 +223,10 @@ class TypeUnit
echo "<td class='admin-td'><table width='98%' cellspacing='0' cellpadding='0'><tr><td width='50%'>";
echo "$step<i id='img".$id."' onClick=\"LoadSuns('suns".$id."',$id);\" class='fa fa-plus-square-o'></i><input type='checkbox' name='tids[]' value='{$id}' class='mr-3 ml-3'><span class='btn btn-primary btn-xs'>外部</span>{$nss}<a href='catalog_do.php?cid=".$id."&dopost=listArchives' class='mr-3 ml-3'>".$typeName."</a>[id:".$id."]";
echo "</td><td align='right'>";
echo "<a href='{$typeDir}' target='_blank' title='预览' class='btn btn btn-light btn-sm'><i class='fa fa-eye'></i></a>";
echo "<a href='catalog_edit.php?id={$id}' title='修改' class='btn btn btn-light btn-sm'><i class='fa fa-pencil-square-o'></i></a>";
echo "<a href='catalog_do.php?dopost=moveCatalog&typeid={$id}' title='移动' class='btn btn btn-light 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 btn-light btn-sm'><i class='fa fa-trash'></i></a>";
echo "<a href='{$typeDir}' target='_blank' title='预览' class='btn btn-light btn-sm'><i class='fa fa-eye'></i></a>";
echo "<a href='catalog_edit.php?id={$id}' title='修改' class='btn btn-light btn-sm'><i class='fa fa-pencil-square-o'></i></a>";
echo "<a href='catalog_do.php?dopost=moveCatalog&typeid={$id}' title='移动' class='btn btn-light 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-light btn-sm'><i class='fa fa-trash'></i></a>";
echo "<input type='text' name='sortrank{$id}' value='{$rank}' style='margin-left:1rem;width:30px;text-align:center'></td></tr></table></td></tr>";
}
echo "<tr><td id='suns".$id."' style='".($GLOBALS['exallct']? "" : "display:none")."'><table width='100%' cellspacing='0' cellpadding='0'>";


Loading…
Cancel
Save