Browse Source

会员中心oxwindow样式调整

tags/6.1.9
tianya 1 month ago
parent
commit
49a586a1f9
11 changed files with 100 additions and 18 deletions
  1. +2
    -2
      src/user/album_add.php
  2. +2
    -2
      src/user/album_edit.php
  3. +2
    -2
      src/user/archives_add.php
  4. +2
    -2
      src/user/archives_edit.php
  5. +2
    -2
      src/user/archives_sg_add.php
  6. +2
    -2
      src/user/archives_sg_edit.php
  7. +2
    -2
      src/user/article_add.php
  8. +2
    -2
      src/user/article_edit.php
  9. +1
    -1
      src/user/soft_add.php
  10. +1
    -1
      src/user/soft_edit.php
  11. +82
    -0
      src/user/templets/win_templet.htm

+ 2
- 2
src/user/album_add.php View File

@@ -168,12 +168,12 @@ VALUES ('$arcID','$typeid','$sortrank','$flag','$ismake','$channelid','$arcrank'
if ($artUrl == '') $artUrl = $cfg_phpurl."/view.php?aid=$arcID";
ClearMyAddon($arcID, $title);
//返回成功信息
$msg = "请选择您的后续操作:<a href='album_add.php?cid=$typeid' class='btn btn-secondary btn-sm'>继续发布图集</a><a href='$artUrl' target='_blank' class='btn btn-secondary btn-sm'>查看图集</a><a href='album_edit.php?aid=".$arcID."&channelid=$channelid' class='btn btn-secondary btn-sm'>修改图集</a><a href='content_list.php?channelid={$channelid}' class='btn btn-secondary btn-sm'>已发布图集管理</a>";
$msg = "请选择您的后续操作:<a href='album_add.php?cid=$typeid' class='btn btn-success btn-sm'>继续发布图集</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看图集</a><a href='album_edit.php?aid=".$arcID."&channelid=$channelid' class='btn btn-success btn-sm'>修改图集</a><a href='content_list.php?channelid={$channelid}' class='btn btn-success btn-sm'>已发布图集管理</a>";
$wintitle = "成功发布图集";
$wecome_info = "图集管理::发布图集";
$win = new OxWindow();
$win->AddTitle("成功发布图集:");
$win->AddMsgItem($msg);
$winform = $win->GetWindow("hand", "&nbsp;", false);
$win->Display();
$win->Display(DEDEMEMBER."/templets/win_templet.htm");
}

+ 2
- 2
src/user/album_edit.php View File

@@ -158,7 +158,7 @@ else if ($dopost == 'save') {
$artUrl = MakeArt($aid, TRUE);
if ($artUrl == '') $artUrl = $cfg_phpurl."/view.php?aid=$aid";
//返回成功信息
$msg = "请选择您的后续操作:<a href='album_add.php?cid=$typeid' class='btn btn-secondary btn-sm'>发布新图集</a><a href='archives_do.php?channelid=$channelid&aid=".$aid."&dopost=edit' class='btn btn-secondary btn-sm'>修改图集</a><a href='$artUrl' target='_blank' class='btn btn-secondary btn-sm'>查看图集</a><a href='content_list.php?channelid=$channelid' class='btn btn-secondary btn-sm'>管理图集</a> ";
$msg = "请选择您的后续操作:<a href='album_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布新图集</a><a href='archives_do.php?channelid=$channelid&aid=".$aid."&dopost=edit' class='btn btn-success btn-sm'>修改图集</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看图集</a><a href='content_list.php?channelid=$channelid' class='btn btn-success btn-sm'>管理图集</a> ";
//提交后返回提交页面
$wintitle = "成功修改图集";
$wecome_info = "图集管理::修改图集";
@@ -166,5 +166,5 @@ else if ($dopost == 'save') {
$win->AddTitle("成功修改图集");
$win->AddMsgItem($msg);
$winform = $win->GetWindow("hand", "&nbsp;", false);
$win->Display();
$win->Display(DEDEMEMBER."/templets/win_templet.htm");
}

+ 2
- 2
src/user/archives_add.php View File

@@ -128,12 +128,12 @@ else if ($dopost == 'save') {
}
ClearMyAddon($arcID, $title);
//返回成功信息
$msg = "请选择您的后续操作:<a href='archives_add.php?cid=$typeid&channelid=$channelid' class='btn btn-secondary btn-sm'>继续发布文档</a><a href='$artUrl' target='_blank' class='btn btn-secondary btn-sm'>查看文档</a><a href='archives_edit.php?channelid=$channelid&aid=$arcID' class='btn btn-secondary btn-sm'>修改文档</a><a href='content_list.php?channelid={$channelid}' class='btn btn-secondary btn-sm'>已发布文档管理</a>";
$msg = "请选择您的后续操作:<a href='archives_add.php?cid=$typeid&channelid=$channelid' class='btn btn-success btn-sm'>继续发布文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看文档</a><a href='archives_edit.php?channelid=$channelid&aid=$arcID' class='btn btn-success btn-sm'>修改文档</a><a href='content_list.php?channelid={$channelid}' class='btn btn-success btn-sm'>已发布文档管理</a>";
$wintitle = "成功发布文档";
$wecome_info = "内容管理::发布文档";
$win = new OxWindow();
$win->AddTitle("成功发布文档");
$win->AddMsgItem($msg);
$winform = $win->GetWindow("hand", "&nbsp;", false);
$win->Display();
$win->Display(DEDEMEMBER."/templets/win_templet.htm");
}

+ 2
- 2
src/user/archives_edit.php View File

@@ -108,12 +108,12 @@ else if ($dopost == 'save') {
$artUrl = MakeArt($aid, TRUE);
if ($artUrl == '') $artUrl = $cfg_phpurl."/view.php?aid=$aid";
//返回成功信息
$msg = "请选择您的后续操作:<a href='archives_add.php?cid=$typeid&channelid=$channelid' class='btn btn-secondary btn-sm'>发布新文档</a><a href='archives_edit.php?channelid=$channelid&aid=".$aid."' class='btn btn-secondary btn-sm'>修改文档</a><a href='$artUrl' target='_blank'>查看文档</a><a href='content_list.php?channelid=$channelid' class='btn btn-secondary btn-sm'>管理文档</a>";
$msg = "请选择您的后续操作:<a href='archives_add.php?cid=$typeid&channelid=$channelid' class='btn btn-success btn-sm'>发布新文档</a><a href='archives_edit.php?channelid=$channelid&aid=".$aid."' class='btn btn-success btn-sm'>修改文档</a><a href='$artUrl' target='_blank'>查看文档</a><a href='content_list.php?channelid=$channelid' class='btn btn-success btn-sm'>管理文档</a>";
$wintitle = "成功修改文档";
$wecome_info = "内容管理::修改文档";
$win = new OxWindow();
$win->AddTitle("成功修改文档");
$win->AddMsgItem($msg);
$winform = $win->GetWindow("hand", "&nbsp;", false);
$win->Display();
$win->Display(DEDEMEMBER."/templets/win_templet.htm");
}

+ 2
- 2
src/user/archives_sg_add.php View File

@@ -157,12 +157,12 @@ else if ($dopost == 'save') {
if ($artUrl == '') $artUrl = $cfg_phpurl."/view.php?aid=$arcID";
ClearMyAddon($arcID, $title);
//返回成功信息
$msg = "请选择您的后续操作:<a href='archives_sg_add.php?channelid=$channelid' class='btn btn-secondary btn-sm'>继续发布文档</a><a href='$artUrl' target='_blank' class='btn btn-secondary btn-sm'>查看文档</a><a href='archives_sg_edit.php?channelid=$channelid&aid=$arcID' class='btn btn-secondary btn-sm'>修改文档</a><a href='content_sg_list.php?channelid={$channelid}' class='btn btn-secondary btn-sm'>已发布文档管理</a>";
$msg = "请选择您的后续操作:<a href='archives_sg_add.php?channelid=$channelid' class='btn btn-success btn-sm'>继续发布文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看文档</a><a href='archives_sg_edit.php?channelid=$channelid&aid=$arcID' class='btn btn-success btn-sm'>修改文档</a><a href='content_sg_list.php?channelid={$channelid}' class='btn btn-success btn-sm'>已发布文档管理</a>";
$wintitle = "成功发布文档";
$wecome_info = "内容管理::发布文档";
$win = new OxWindow();
$win->AddTitle("成功发布文档");
$win->AddMsgItem($msg);
$winform = $win->GetWindow("hand", "&nbsp;", false);
$win->Display();
$win->Display(DEDEMEMBER."/templets/win_templet.htm");
}

+ 2
- 2
src/user/archives_sg_edit.php View File

@@ -123,12 +123,12 @@ else if ($dopost == 'save') {
$artUrl = MakeArt($aid, true);
if ($artUrl == '') $artUrl = $cfg_phpurl."/view.php?aid=$aid";
//返回成功信息
$msg = "请选择您的后续操作:<a href='archives_sg_add.php?cid=$typeid' class='btn btn-secondary btn-sm'>发布新内容</a><a href='archives_do.php?channelid=$channelid&aid=".$aid."&dopost=edit' class='btn btn-secondary btn-sm'>查看修改</a><a href='$artUrl' target='_blank' class='btn btn-secondary btn-sm'>查看内容</a><a href='content_sg_list.php?channelid=$channelid' class='btn btn-secondary btn-sm'>管理内容</a>";
$msg = "请选择您的后续操作:<a href='archives_sg_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布新内容</a><a href='archives_do.php?channelid=$channelid&aid=".$aid."&dopost=edit' class='btn btn-success btn-sm'>查看修改</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看内容</a><a href='content_sg_list.php?channelid=$channelid' class='btn btn-success btn-sm'>管理内容</a>";
$wintitle = "成功修改内容";
$wecome_info = "内容管理::修改内容";
$win = new OxWindow();
$win->AddTitle("成功修改内容");
$win->AddMsgItem($msg);
$winform = $win->GetWindow("hand", "&nbsp;", false);
$win->Display();
$win->Display(DEDEMEMBER."/templets/win_templet.htm");
}

+ 2
- 2
src/user/article_add.php View File

@@ -114,12 +114,12 @@ else if ($dopost == 'save') {
if ($artUrl == '') $artUrl = $cfg_phpurl."/view.php?aid=$arcID";
ClearMyAddon($arcID, $title);
//返回成功信息
$msg = "请选择您的后续操作:<a href='article_add.php?cid=$typeid' class='btn btn-secondary btn-sm'>继续发布文章</a><a href='$artUrl' target='_blank' class='btn btn-secondary btn-sm'>查看文章</a><a href='article_edit.php?channelid=$channelid&aid=$arcID' class='btn btn-secondary btn-sm'>修改文章</a><a href='content_list.php?channelid={$channelid}' class='btn btn-secondary btn-sm'>已发布文章管理</a>";
$msg = "请选择您的后续操作:<a href='article_add.php?cid=$typeid' class='btn btn-success btn-sm'>继续发布文章</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看文章</a><a href='article_edit.php?channelid=$channelid&aid=$arcID' class='btn btn-success btn-sm'>修改文章</a><a href='content_list.php?channelid={$channelid}' class='btn btn-success btn-sm'>已发布文章管理</a>";
$wintitle = "成功发布文章";
$wecome_info = "文章管理::发布文章";
$win = new OxWindow();
$win->AddTitle("成功发布文章");
$win->AddMsgItem($msg);
$winform = $win->GetWindow("hand", "&nbsp;", false);
$win->Display();
$win->Display(DEDEMEMBER."/templets/win_templet.htm");
}

+ 2
- 2
src/user/article_edit.php View File

@@ -103,12 +103,12 @@ else if ($dopost == 'save') {
$artUrl = $cfg_phpurl."/view.php?aid=$aid";
}
//返回成功信息
$msg = "请选择您的后续操作:<a href='article_add.php?cid=$typeid' class='btn btn-secondary btn-sm'>发布新文章</a><a href='archives_do.php?channelid=$channelid&aid=".$aid."&dopost=edit' class='btn btn-secondary btn-sm'>查看修改</a><a href='$artUrl' target='_blank' class='btn btn-secondary btn-sm'>查看文章</a><a href='content_list.php?channelid=$channelid' class='btn btn-secondary btn-sm'>管理文章</a>";
$msg = "请选择您的后续操作:<a href='article_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布新文章</a><a href='archives_do.php?channelid=$channelid&aid=".$aid."&dopost=edit' class='btn btn-success btn-sm'>查看修改</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看文章</a><a href='content_list.php?channelid=$channelid' class='btn btn-success btn-sm'>管理文章</a>";
$wintitle = "成功修改文章";
$wecome_info = "文章管理::修改文章";
$win = new OxWindow();
$win->AddTitle("成功修改文章");
$win->AddMsgItem($msg);
$winform = $win->GetWindow("hand", "&nbsp;", false);
$win->Display();
$win->Display(DEDEMEMBER."/templets/win_templet.htm");
}

+ 1
- 1
src/user/soft_add.php View File

@@ -174,7 +174,7 @@ else if ($dopost == 'save') {
}
ClearMyAddon($arcID, $title);
//返回成功信息
$msg = "请选择您的后续操作:<a href='soft_add.php?cid=$typeid' class='btn btn-secondary btn-sm'>继续发布软件</a><a href='$artUrl' target='_blank' class='btn btn-secondary btn-sm'>查看软件</a><a href='soft_edit.php?channelid=$channelid&aid=$arcID' class='btn btn-secondary btn-sm'>修改软件</a><a href='content_list.php?channelid={$channelid}' class='btn btn-secondary btn-sm'>已发布软件管理</a>";
$msg = "请选择您的后续操作:<a href='soft_add.php?cid=$typeid' class='btn btn-success btn-sm'>继续发布软件</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看软件</a><a href='soft_edit.php?channelid=$channelid&aid=$arcID' class='btn btn-success btn-sm'>修改软件</a><a href='content_list.php?channelid={$channelid}' class='btn btn-success btn-sm'>已发布软件管理</a>";
$wintitle = "成功发布文章";
$wecome_info = "软件管理::发布软件";
$win = new OxWindow();


+ 1
- 1
src/user/soft_edit.php View File

@@ -202,7 +202,7 @@ else if ($dopost == 'save') {
$artUrl = $cfg_phpurl."/view.php?aid=$aid";
}
//返回成功信息
$msg = "请选择您的后续操作:<a href='soft_add.php?cid=$typeid' class='btn btn-secondary btn-sm'>发布新软件</a><a href='soft_edit.php?channelid=$channelid&aid=".$aid."' class='btn btn-secondary btn-sm'>查看修改</a><a href='$artUrl' target='_blank' class='btn btn-secondary btn-sm'>查看软件</a><a href='content_list.php?channelid=$channelid' class='btn btn-secondary btn-sm'>管理软件</a>";
$msg = "请选择您的后续操作:<a href='soft_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布新软件</a><a href='soft_edit.php?channelid=$channelid&aid=".$aid."' class='btn btn-success btn-sm'>查看修改</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看软件</a><a href='content_list.php?channelid=$channelid' class='btn btn-success btn-sm'>管理软件</a>";
$wintitle = "成功修改软件";
$wecome_info = "软件管理::修改软件";
$win = new OxWindow();


+ 82
- 0
src/user/templets/win_templet.htm View File

@@ -0,0 +1,82 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
<title>{dede:wintitle/}</title>
<script src="{dede:global.cfg_cmsurl/}/static/web/js/jquery.min.js"></script>
<link rel="stylesheet" href="{dede:global.cfg_cmsurl/}/static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="{dede:global.cfg_cmsurl/}/static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="{dede:global.cfg_cmsurl/}/static/web/css/style.css">
<link rel="stylesheet" href="{dede:global.cfg_cmsurl/}/static/web/css/member.css">
</head>
<body>
<div class="container header">
<header class="py-3">
<div class="row">
<div class="col-12 col-sm-6 logo"><a href="{dede:global.cfg_cmsurl/}/"><img src="{dede:global.cfg_cmsurl/}/static/web/img/logo.png" alt="{dede:global.cfg_webname/}"></a>
</div>
</div>
</header>
</div>
<main class="member">
<div class="container-fluid pannel">
<div class="container">
<div class="row">
<div class="pannel-main col-md-12 mt-3 mb-3">
<div class="card">
<div class="card-header">
{dede:wintitle/}
</div>
<div class="card-body">
<h5 class="card-title">{dede:wecome_info/}</h5>
<p class="card-text">{dede:winform/}</p>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
<footer class="bg-success">
<div class="copyright py-5">
<p class="text-center">
{dede:global.cfg_powerby/}{dede:global.cfg_beian/} Powered by <a href="https://www.dedebiz.com" title="DedeBIZ内容管理系统-国内流行的内容管理系统多端全媒体解决方案" target="_blank">DedeBIZ{dede:global.cfg_version/}</a>
</p>
</div>
</footer>
<div class="scroll-top">
<button onclick="gotop()" id="btnScrollTop" title="返回顶部">
<i class="fa fa-chevron-up"></i>
</button>
</div>
<script src="{dede:global.cfg_cmsurl/}/static/web/js/popper.min.js"></script>
<script src="{dede:global.cfg_cmsurl/}/static/web/js/bootstrap.bundle.min.js"></script>
<script src="{dede:global.cfg_cmsurl/}/static/web/js/style.js"></script>
<script async src="{dede:global.cfg_cmsurl/}/apps/statistics.php?url_type=0"></script>
<script>
//校验是否登录
function CheckLogin() {
$.get("{dede:global.cfg_cmsurl/}/user/ajax_loginsta.php?format=json",function(data) {
let result = JSON.parse(data);
if (result.code === 200) {
$("#_login").html(`
欢迎,${result.data.username}
<a class="ml-2" href="{dede:global.cfg_cmsurl/}/user/">[会员中心]</a>
<a class="ml-2" href="{dede:global.cfg_cmsurl/}/user/index_do.php?fmdo=login&dopost=exit">[退出]</a>
`);
$("#iptUsername").val(result.data.username);
$("#iptUsername").attr("disabled", "disabled");
$(".areaValidate").hide();
} else {
$(".areaValidate").show();
}
});
}
//页面加载触发
$(document).ready(function () {
CheckLogin();
});
</script>
</body>
</html>

Loading…
Cancel
Save