Browse Source

调整小功能窗口

tags/6.2.8
叙述、别离 1 year ago
parent
commit
3eff8746bf
26 changed files with 28 additions and 32 deletions
  1. +2
    -3
      src/admin/article_allowurl_edit.php
  2. +2
    -3
      src/admin/article_source_edit.php
  3. +1
    -2
      src/admin/article_string_mix.php
  4. +1
    -2
      src/admin/article_writer_edit.php
  5. +1
    -1
      src/admin/templets/album_add.htm
  6. +1
    -1
      src/admin/templets/album_edit.htm
  7. +1
    -1
      src/admin/templets/archives_add.htm
  8. +1
    -1
      src/admin/templets/archives_edit.htm
  9. +1
    -1
      src/admin/templets/archives_sg_add.htm
  10. +1
    -1
      src/admin/templets/archives_sg_edit.htm
  11. +1
    -1
      src/admin/templets/article_add.htm
  12. +1
    -1
      src/admin/templets/article_edit.htm
  13. +1
    -1
      src/admin/templets/freelist_edit.htm
  14. +1
    -1
      src/admin/templets/friendlink_add.htm
  15. +1
    -1
      src/admin/templets/media_add.htm
  16. +1
    -1
      src/admin/templets/media_edit.htm
  17. +1
    -1
      src/admin/templets/soft_add.htm
  18. +1
    -1
      src/admin/templets/soft_edit.htm
  19. +1
    -1
      src/admin/templets/spec_add.htm
  20. +1
    -1
      src/admin/templets/spec_edit.htm
  21. +1
    -1
      src/admin/templets/sys_admin_user_add.htm
  22. +1
    -1
      src/static/web/css/admin.css
  23. +1
    -1
      src/system/libraries/oxwindow.class.php
  24. +1
    -1
      src/theme/apps/post_diyform.htm
  25. +1
    -1
      src/user/templets/edit_baseinfo.htm
  26. +1
    -1
      src/user/templets/reg-new.htm

+ 2
- 3
src/admin/article_allowurl_edit.php View File

@@ -21,7 +21,7 @@ if ($dopost == 'save') {
flock($fp, 3);
fwrite($fp, $allurls);
fclose($fp);
echo "<script>alert('Save OK!');</script>";
echo "<script>alert('已保存');</script>";
}
//读出
if (empty($allurls) && filesize($m_file) > 0) {
@@ -29,8 +29,7 @@ if (empty($allurls) && filesize($m_file) > 0) {
$allurls = fread($fp, filesize($m_file));
fclose($fp);
}
$wintitle = "";
$wecome_info = "允许的超链接";
$wecome_info = "允许站内链接";
$win = new OxWindow();
$win->Init('article_allowurl_edit.php', 'js/blank.js', 'POST');
$win->AddHidden('dopost', 'save');


+ 2
- 3
src/admin/article_source_edit.php View File

@@ -21,7 +21,7 @@ if ($dopost == 'save') {
flock($fp, 3);
fwrite($fp, $allsource);
fclose($fp);
echo "<script>alert('Save OK!');</script>";
echo "<script>alert('已保存');</script>";
}
//读出
if (empty($allsource) && filesize($m_file) > 0) {
@@ -29,12 +29,11 @@ if (empty($allsource) && filesize($m_file) > 0) {
$allsource = fread($fp, filesize($m_file));
fclose($fp);
}
$wintitle = "文档来源管理";
$wecome_info = "文档来源管理";
$win = new OxWindow();
$win->Init('article_source_edit.php', 'js/blank.js', 'POST');
$win->AddHidden('dopost', 'save');
$win->AddTitle("每行保存一个来源");
$win->AddTitle("一行填写一个地址");
$win->AddMsgItem("<tr><td><textarea name='allsource' id='allsource' class='admin-textarea-xl'>$allsource</textarea></td></tr>");
$winform = $win->GetWindow('ok');
$win->Display();

+ 1
- 2
src/admin/article_string_mix.php View File

@@ -22,7 +22,7 @@ if ($dopost == "save") {
flock($fp, 3);
fwrite($fp, $allsource);
fclose($fp);
echo "<script>alert('Save OK!');</script>";
echo "<script>alert('已保存');</script>";
}
//读出
if (empty($allsource) && filesize($m_file) > 0) {
@@ -31,7 +31,6 @@ if (empty($allsource) && filesize($m_file) > 0) {
fclose($fp);
}
make_hash();
$wintitle = "防采集工具";
$wecome_info = "防采集工具";
$win = new OxWindow();
$win->Init('article_string_mix.php', 'js/blank.js', 'POST');


+ 1
- 2
src/admin/article_writer_edit.php View File

@@ -21,7 +21,7 @@ if ($dopost == "save") {
flock($fp, 3);
fwrite($fp, $allwriter);
fclose($fp);
echo "<script>alert('保存成功');</script>";
echo "<script>alert('保存');</script>";
}
//读出
if (empty($allwriter) && filesize($m_file) > 0) {
@@ -29,7 +29,6 @@ if (empty($allwriter) && filesize($m_file) > 0) {
$allwriter = fread($fp, filesize($m_file));
fclose($fp);
}
$wintitle = "文档作者管理";
$wecome_info = "文档作者管理";
$win = new OxWindow();
$win->Init('article_writer_edit.php', 'js/blank.js', 'POST');


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

@@ -22,7 +22,7 @@
<script src="../static/web/js/cropper.min.js"></script>
</head>
<body>
<form name="form1" action="album_add.php" enctype="multipart/form-data" method="post" onSubmit="return checkSubmitAlb();">
<form name="form1" action="album_add.php" method="post" enctype="multipart/form-data" onSubmit="return checkSubmitAlb();">
<input type="hidden" name="channelid" value="<?php echo $channelid?>">
<input type="hidden" name="cid" value="<?php echo $cid;?>">
<input type="hidden" name="imagebody" value="">


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

@@ -22,7 +22,7 @@
<script src="../static/web/js/cropper.min.js"></script>
</head>
<body>
<form name="form1" action="album_edit.php" enctype="multipart/form-data" method="post" onSubmit="return checkSubmitAlb();">
<form name="form1" action="album_edit.php" method="post" enctype="multipart/form-data" onSubmit="return checkSubmitAlb();">
<input type="hidden" name="channelid" value="<?php echo $channelid?>">
<input type="hidden" name="id" value="<?php echo $aid?>">
<input type="hidden" name="imagebody" value="">


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

@@ -19,7 +19,7 @@
<script src="../static/web/js/cropper.min.js"></script>
</head>
<body>
<form name="form1" action="archives_add.php" enctype="multipart/form-data" method="post" onSubmit="return checkSubmit()">
<form name="form1" action="archives_add.php" method="post" enctype="multipart/form-data" onSubmit="return checkSubmit()">
<input type="hidden" name="channelid" value="<?php echo $channelid?>">
<input type="hidden" name="cid" value="<?php echo $cid?>">
<input type="hidden" name="dopost" value="save">


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

@@ -19,7 +19,7 @@
<script src="../static/web/js/cropper.min.js"></script>
</head>
<body>
<form name="form1" action="archives_edit.php" enctype="multipart/form-data" method="post" onSubmit="return checkSubmit();">
<form name="form1" action="archives_edit.php" method="post" enctype="multipart/form-data" onSubmit="return checkSubmit();">
<input type="hidden" name="channelid" value="<?php echo $channelid?>">
<input type="hidden" name="id" value="<?php echo $aid?>">
<input type="hidden" name="dopost" value="save">


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

@@ -19,7 +19,7 @@
<script src="../static/web/js/cropper.min.js"></script>
</head>
<body>
<form name="form1" action="archives_sg_add.php" enctype="multipart/form-data" method="post" onSubmit="return checkSubmit()">
<form name="form1" action="archives_sg_add.php" method="post" enctype="multipart/form-data" onSubmit="return checkSubmit()">
<input type="hidden" name="channelid" value="<?php echo $channelid?>">
<input type="hidden" name="cid" value="<?php echo $cid?>">
<input type="hidden" name="dopost" value="save">


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

@@ -19,7 +19,7 @@
<script src="../static/web/js/cropper.min.js"></script>
</head>
<body>
<form name="form1" action="archives_sg_edit.php" enctype="multipart/form-data" method="post" onSubmit="return checkSubmit();">
<form name="form1" action="archives_sg_edit.php" method="post" enctype="multipart/form-data" onSubmit="return checkSubmit();">
<input type="hidden" name="channelid" value="<?php echo $channelid;?>">
<input type="hidden" name="id" value="<?php echo $aid;?>">
<input type="hidden" name="sortrank" value="<?php echo $addRow['senddate'];?>">


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

@@ -20,7 +20,7 @@
<script src="../static/web/js/cropper.min.js"></script>
</head>
<body>
<form name="form1" action="article_add.php" enctype="multipart/form-data" method="post" onSubmit="return checkSubmit()">
<form name="form1" action="article_add.php" method="post" enctype="multipart/form-data" onSubmit="return checkSubmit()">
<input type="hidden" name="channelid" value="<?php echo $channelid?>">
<input type="hidden" name="dopost" value="save">
<table width="98%" align="center" id="needset" class="admin-border my-3">


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

@@ -20,7 +20,7 @@
<script src="../static/web/js/cropper.min.js"></script>
</head>
<body>
<form name="form1" action="article_edit.php" enctype="multipart/form-data" method="post" onSubmit="return checkSubmit();">
<form name="form1" action="article_edit.php" method="post" enctype="multipart/form-data" onSubmit="return checkSubmit();">
<input type="hidden" name="dopost" value="save">
<input type="hidden" name="channelid" value="<?php echo $channelid?>">
<input type="hidden" name="id" value="<?php echo $aid?>">


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

@@ -18,7 +18,7 @@
<script src="js/main.js"></script>
</head>
<body>
<form action="freelist_edit.php" method="post" name="form1" onSubmit="return CheckSubmit();">
<form name="form1" action="freelist_edit.php" method="post" onSubmit="return CheckSubmit();">
<input type="hidden" name="dopost" value="save">
<input type="hidden" name="aid" value="<?php echo $row['aid']?>">
<table align="center" class="table maintable my-3">


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

@@ -12,7 +12,7 @@
<script src="js/main.js"></script>
</head>
<body>
<form action="friendlink_add.php" method="post" enctype="multipart/form-data" name="form1" onSubmit="return CheckSubmit();">
<form name="form1" action="friendlink_add.php" method="post" enctype="multipart/form-data" onSubmit="return CheckSubmit();">
<input type="hidden" name="dopost" value="add">
<table align="center" class="table maintable my-3">
<tr>


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

@@ -12,7 +12,7 @@
<script src="js/main.js"></script>
</head>
<body>
<form enctype="multipart/form-data" name="form1" action="media_add.php" method="POST" onSubmit="return CheckSubmit();">
<form name="form1" action="media_add.php" method="post" enctype="multipart/form-data" onSubmit="return CheckSubmit();">
<input type="hidden" name="dopost" value="upload">
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>">
<table align="center" class="table maintable my-3">


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

@@ -12,7 +12,7 @@
<script src="js/main.js"></script>
</head>
<body>
<form enctype="multipart/form-data" name="form1" action="media_edit.php" method="POST" onSubmit="return CheckSubmit();">
<form name="form1" action="media_edit.php" method="post" enctype="multipart/form-data" onSubmit="return CheckSubmit();">
<input type="hidden" name="dopost" value="save">
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>">
<input type="hidden" name="aid" value="<?php echo $aid?>">


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

@@ -19,7 +19,7 @@
<script src="../static/web/js/cropper.min.js"></script>
</head>
<body>
<form name="form1" action="soft_add.php" enctype="multipart/form-data" method="post" onSubmit="return checkSubmit();">
<form name="form1" action="soft_add.php" method="post" enctype="multipart/form-data" onSubmit="return checkSubmit();">
<input type="hidden" name="dopost" value="save">
<input type="hidden" name="channelid" value="<?php echo $channelid?>">
<input type="hidden" name="cid" value="<?php echo $cid;?>">


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

@@ -19,7 +19,7 @@
<script src="../static/web/js/cropper.min.js"></script>
</head>
<body>
<form name="form1" action="soft_edit.php" enctype="multipart/form-data" method="post" onSubmit="return checkSubmit();">
<form name="form1" action="soft_edit.php" method="post" enctype="multipart/form-data" onSubmit="return checkSubmit();">
<input type="hidden" name="dopost" value="save">
<input type="hidden" name="channelid" value="<?php echo $channelid?>">
<input type="hidden" name="id" value="<?php echo $aid?>">


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

@@ -19,7 +19,7 @@
<script src="../static/web/js/cropper.min.js"></script>
</head>
<body>
<form name="form1" action="spec_add.php" enctype="multipart/form-data" method="post" onSubmit="return checkSubmit();">
<form name="form1" action="spec_add.php" method="post" enctype="multipart/form-data" onSubmit="return checkSubmit();">
<input type="hidden" name="dopost" value="save">
<input type="hidden" name="channelid" value="<?php echo $channelid?>">
<input type="hidden" name="arcrank" value="0">


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

@@ -19,7 +19,7 @@
<script src="../static/web/js/cropper.min.js"></script>
</head>
<body>
<form name="form1" action="spec_edit.php" enctype="multipart/form-data" method="post" onSubmit="return checkSubmit();">
<form name="form1" action="spec_edit.php" method="post" enctype="multipart/form-data" onSubmit="return checkSubmit();">
<input type="hidden" name="id" value="<?php echo $arcRow['id']?>">
<input type="hidden" name="channelid" value="<?php echo $channelid?>">
<input type="hidden" name="arcrank" value="<?php echo $arcRow['arcrank']?>">


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

@@ -12,7 +12,7 @@
<script src="js/main.js"></script>
</head>
<body>
<form name="form1" action="sys_admin_user_add.php" onSubmit="return checkSubmit();" method="post">
<form name="form1" action="sys_admin_user_add.php" method="post" onSubmit="return checkSubmit();">
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>">
<input type="hidden" name="dopost" value="add">
<table align="center" class="table maintable my-3">


+ 1
- 1
src/static/web/css/admin.css View File

@@ -63,7 +63,7 @@ table tr:last-child td:last-child {
border-bottom-right-radius:.5rem;
border-bottom:0
}
label {
form,label {
margin-bottom:0
}
input {


+ 1
- 1
src/system/libraries/oxwindow.class.php View File

@@ -39,7 +39,7 @@ class OxWindow
}
$this->myWin .= "</script>";
$this->formName = $formname;
$this->myWin .= "<form name='$formname' method='$formmethod' onSubmit='return CheckSubmit();' action='$formaction'>";
$this->myWin .= "<form name='$formname' action='$formaction' method='$formmethod' onSubmit='return CheckSubmit();'>";
}
/**
* 添加隐藏域


+ 1
- 1
src/theme/apps/post_diyform.htm View File

@@ -26,7 +26,7 @@
</ul>
<span class="navbar-text"><a href="/apps/diy.php?action=list&diyid=<?php echo $diy->diyid;?>" class="btn btn-success btn-sm">返回列表</a></span>
</nav>
<form name="addcontent" action="<?php echo $cfg_cmspath;?>/apps/diy.php" enctype="multipart/form-data" method="post">
<form name="addcontent" action="<?php echo $cfg_cmspath;?>/apps/diy.php" method="post" enctype="multipart/form-data">
<input type="hidden" name="action" value="post">
<input type="hidden" name="diyid" value="<?php echo $diyid;?>">
<input type="hidden" name="do" value="2">


+ 1
- 1
src/user/templets/edit_baseinfo.htm View File

@@ -21,7 +21,7 @@
<?php include(DEDEMEMBER."/templets/menu.htm");?>
<div class="col-md-9">
<div class="pannel-main-container shadow-sm rounded">
<form action="edit_baseinfo.php" method="post" enctype="multipart/form-data" name="form2" onsubmit="return checkSubmit();">
<form name="form2" action="edit_baseinfo.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit();">
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>">
<input type="hidden" name="dopost" value="save">
<input type="hidden" id="newface" name="newface" value="">


+ 1
- 1
src/user/templets/reg-new.htm View File

@@ -18,7 +18,7 @@
<div class="login-from d-inline-block">
<div class="login-box shadow-sm rounded text-left">
<h2 class="text-center mb-3">会员注册</h2>
<form method="post" action="reg_new.php" id="regUser" name="form2" onsubmit="return CheckSubmit();">
<form name="form2" action="reg_new.php" method="post" id="regUser" onsubmit="return CheckSubmit();">
<input type="hidden" name="dopost" value="regbase">
<input type="hidden" name="step" value="1">
<input type="hidden" name="mtype" value="个人">


Loading…
Cancel
Save