/[LeafOK_CVS]/fenglin/bbs/themes/default/view_article.view.php
ViewVC logotype

Diff of /fenglin/bbs/themes/default/view_article.view.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.18 by sysadm, Wed Apr 23 06:23:25 2025 UTC Revision 1.20 by sysadm, Wed Apr 23 06:41:51 2025 UTC
# Line 111  function article_op(op_type, id, set, co Line 111  function article_op(op_type, id, set, co
111  {  {
112          var opService = new Map([          var opService = new Map([
113                  ["delete", "article_service_del.php"],                  ["delete", "article_service_del.php"],
114                  ["restore", "restore.php"],                  ["restore", "article_service_restore.php"],
115                  ["excerption", "set_excerption.php"],                  ["excerption", "set_excerption.php"],
116                  ["ontop", "set_ontop.php"],                  ["ontop", "set_ontop.php"],
117                  ["lock", "article_service_lock.php"],                  ["lock", "article_service_lock.php"],
# Line 360  window.addEventListener("load", () => { Line 360  window.addEventListener("load", () => {
360                  if ($_SESSION["BBS_priv"]->checkpriv(0, S_MSG) && $_SESSION["BBS_uid"] != $article["uid"])                  if ($_SESSION["BBS_priv"]->checkpriv(0, S_MSG) && $_SESSION["BBS_uid"] != $article["uid"])
361                  {                  {
362  ?>  ?>
363                                          <img src="images/mail.gif" width="16" height="16"><a class="s4" href="read_msg.php?sent=1&uid=<?= $article["uid"]; ?>" target=_blank title="给作者发消息">消息</a>                                          <img src="images/mail.gif" width="16" height="16"><a class="s4" href="msg_read.php?sent=1&uid=<?= $article["uid"]; ?>" target=_blank title="给作者发消息">消息</a>
364  <?php  <?php
365                  }                  }
366                  if ($article["visible"])                  if ($article["visible"])


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1