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

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

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

Revision 1.4 by sysadm, Wed Apr 9 04:10:57 2025 UTC Revision 1.6 by sysadm, Mon Apr 14 11:23:46 2025 UTC
# Line 224  window.addEventListener("load", () => { Line 224  window.addEventListener("load", () => {
224          <p style="FONT-WEIGHT: bold; FONT-SIZE: 16px; COLOR: red; FONT-FAMILY: 楷体">版块设定</p>          <p style="FONT-WEIGHT: bold; FONT-SIZE: 16px; COLOR: red; FONT-FAMILY: 楷体">版块设定</p>
225          <p><span id="err_msg_prompt" name="err_msg" style="color: red"></span></p>          <p><span id="err_msg_prompt" name="err_msg" style="color: red"></span></p>
226          <form method="post" action="#" id="section_setting" name="section_setting" >          <form method="post" action="#" id="section_setting" name="section_setting" >
227                  <table border="1" cellpadding="10" cellspacing="0" width="90%" bgcolor="#ffdead">                  <table border="1" cellpadding="10" cellspacing="0" width="1050" bgcolor="#ffdead">
228                          <tr>                          <tr>
229                                  <td width="30%" align="right">                                  <td width="25%" align="right">
230                                          版块名称                                          版块名称
231                                  </td>                                  </td>
232                                  <td width="70%">                                  <td width="75%">
233                                          <select id="section_switch" name="section_switch" size="1">                                          <select id="section_switch" name="section_switch" size="1">
234  <?  <?
235          foreach ($result_set["data"]["section_hierachy"] as $c_index => $section_class)          foreach ($result_set["data"]["section_hierachy"] as $c_index => $section_class)
# Line 255  window.addEventListener("load", () => { Line 255  window.addEventListener("load", () => {
255                                  <td>                                  <td>
256                                          <span id="err_msg_comment" name="err_msg" style="color: red;"></span>                                          <span id="err_msg_comment" name="err_msg" style="color: red;"></span>
257                                          <textarea id="textarea_comment" name="textarea" cols="80" rows="5"><? echo htmlspecialchars($result_set["data"]["comment"], ENT_HTML401, 'UTF-8'); ?></textarea>                                          <textarea id="textarea_comment" name="textarea" cols="80" rows="5"><? echo htmlspecialchars($result_set["data"]["comment"], ENT_HTML401, 'UTF-8'); ?></textarea>
258                                          限3行80列以内                                          <br />限3行80列以内
259                                  </td>                                  </td>
260                          </tr>                          </tr>
261                          <tr>                          <tr>
# Line 265  window.addEventListener("load", () => { Line 265  window.addEventListener("load", () => {
265                                  <td>                                  <td>
266                                          <span id="err_msg_announcement" name="err_msg" style="color: red;"></span>                                          <span id="err_msg_announcement" name="err_msg" style="color: red;"></span>
267                                          <textarea id="textarea_announcement" name="textarea" cols="80" rows="5"><? echo htmlspecialchars($result_set["data"]["announcement"], ENT_HTML401, 'UTF-8'); ?></textarea>                                          <textarea id="textarea_announcement" name="textarea" cols="80" rows="5"><? echo htmlspecialchars($result_set["data"]["announcement"], ENT_HTML401, 'UTF-8'); ?></textarea>
268                                          限3行以内,每行不超过150字符                                          <br />限3行以内,每行不超过150字符
269                                  </td>                                  </td>
270                          </tr>                          </tr>
271  <?  <?
# Line 292  window.addEventListener("load", () => { Line 292  window.addEventListener("load", () => {
292                                                  <a class="s3" href="show_profile.php?uid=<? echo $section_master['uid']; ?>" target=_blank><? echo $section_master["username"]; ?></a>&nbsp;&nbsp;                                                  <a class="s3" href="show_profile.php?uid=<? echo $section_master['uid']; ?>" target=_blank><? echo $section_master["username"]; ?></a>&nbsp;&nbsp;
293                                                  <? echo (new DateTimeImmutable($section_master["begin_dt"]))->setTimezone($_SESSION["BBS_user_tz"])->format("y年m月d日"); ?>--<? echo (new DateTimeImmutable($section_master["end_dt"]))->setTimezone($_SESSION["BBS_user_tz"])->format("y年m月d日"); ?>&nbsp;&nbsp;                                                  <? echo (new DateTimeImmutable($section_master["begin_dt"]))->setTimezone($_SESSION["BBS_user_tz"])->format("y年m月d日"); ?>--<? echo (new DateTimeImmutable($section_master["end_dt"]))->setTimezone($_SESSION["BBS_user_tz"])->format("y年m月d日"); ?>&nbsp;&nbsp;
294  <?  <?
295                          if ($section_master["username"] != $_SESSION["BBS_username"] &&                          if ($_SESSION["BBS_priv"]->checkpriv($sid, S_ADMIN) || $section_master["major"] == 0)
                                 ($_SESSION["BBS_priv"]->checkpriv($sid, S_ADMIN) ||  
                                 ($section_master["major"] == 0 && $_SESSION["BBS_priv"]->checkpriv($sid, S_MAN_M))))  
296                          {                          {
297  ?>  ?>
298                                                  <a class="s2" href="#" onclick="return master_op(section_setting, 2, '<? echo $section_master["username"]; ?>');">撤销</a>&nbsp;&nbsp;                                                  <a class="s2" href="#" onclick="return master_op(section_setting, 2, '<? echo $section_master["username"]; ?>');">撤销</a>&nbsp;&nbsp;


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

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