国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

86 lines
3.3KB

  1. <!DOCTYPE html
  2. PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
  6. <title>标签源码碎片管理</title>
  7. <link rel="stylesheet" href="../static/css/bootstrap.min.css">
  8. <link href="../static/font-awesome/css/font-awesome.min.css" rel="stylesheet">
  9. <link href="css/base.css" rel="stylesheet" type="text/css" />
  10. <style type="text/css">
  11. .linerow {
  12. border-bottom: 1px solid #CBD8AC;
  13. }
  14. td {
  15. padding-left: 5px;
  16. }
  17. </style>
  18. </head>
  19. <body background='images/allbg.gif' leftmargin='8' topmargin='8'>
  20. <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6"
  21. class="table maintable table-bordered mt-3">
  22. <tr>
  23. <td height="28" background="images/tbg.gif" colspan="7" style="padding-left:10px;">
  24. <b>标签源码碎片管理</b> &nbsp; (DedeCMS 5.3及以上版本标签源码是完全独立的,懂程序的用户可以按需修改或自行增加标签)
  25. </td>
  26. </tr>
  27. </table>
  28. <table width='98%' border='0' cellspacing='1' cellpadding='0' bgcolor="#cfcfcf" align="center" class="table maintable table-bordered">
  29. <tr height="26" align="center">
  30. <td width="25%" background="images/wbg.gif"><strong>标签文件名</strong></td>
  31. <td width="33%" background="images/wbg.gif" align="left"><strong>标签说明</strong></td>
  32. <td width="22%" background="images/wbg.gif"><strong>修改时间</strong></td>
  33. <td width="20%" background="images/wbg.gif"><strong>操作</strong></td>
  34. </tr>
  35. <tr>
  36. <td colspan='4' height="28" bgcolor="#F9FCEF">
  37. <div style='float:left'>
  38. <b>
  39. 当前位置:标签源码碎片管理(文件存放在 ../include/taglib 文件夹)
  40. </b>
  41. </div>
  42. <div style='float:right;padding-right:10px'>
  43. <a href='tpl.php?action=addnewtag'>[<u>增加一个新的标签</u>]</a>
  44. </div>
  45. </td>
  46. </tr>
  47. <?php
  48. $dh = dir($libdir);
  49. while($filename=$dh->read())
  50. {
  51. if(!preg_match("#\.php$#", $filename)) continue;
  52. $filetime = filemtime($libdir.'/'.$filename);
  53. $filetime = MyDate("Y-m-d H:i",$filetime);
  54. $fileinfo = GetHelpInfo(str_replace('.lib.php','',$filename));
  55. ?>
  56. <tr height="26" bgcolor='#FFFFFF' onMouseMove="javascript:this.bgColor='#FCFDEE';"
  57. onMouseOut="javascript:this.bgColor='#FFFFFF';">
  58. <td>
  59. <img src='images/htm.gif' border='0' align='absmiddle' /> <?php echo $filename; ?>
  60. </td>
  61. <td>
  62. <?php echo $fileinfo; ?>
  63. </td>
  64. <td align='center'>
  65. <?php echo $filetime; ?>
  66. </td>
  67. <td align='center'>
  68. <a href='tpl.php?action=edittag&filename=<?php echo $filename; ?>' class="btn btn-secondary btn-sm"><i class="fa fa-pencil-square-o" aria-hidden="true"></i> 编辑</a>
  69. </td>
  70. </tr>
  71. <?php } ?>
  72. <tr>
  73. <td colspan="4" height='32' bgcolor="#F9FCEF">
  74. <div class="alert alert-danger" role="alert">
  75. 修改系统标签有风险,请小心操作!
  76. </div>
  77. </td>
  78. </tr>
  79. </table>
  80. </body>
  81. </html>