Просмотр исходного кода

调整发布对话框

tags/6.2.8
叙述、别离 1 год назад
Родитель
Сommit
7f7589b914
23 измененных файлов: 54 добавлений и 30 удалений
  1. +3
    -1
      src/admin/album_add.php
  2. +3
    -1
      src/admin/album_edit.php
  3. +3
    -1
      src/admin/archives_add.php
  4. +3
    -1
      src/admin/archives_edit.php
  5. +3
    -1
      src/admin/archives_sg_add.php
  6. +3
    -1
      src/admin/archives_sg_edit.php
  7. +3
    -1
      src/admin/article_add.php
  8. +3
    -1
      src/admin/article_edit.php
  9. +3
    -1
      src/admin/soft_add.php
  10. +3
    -1
      src/admin/soft_edit.php
  11. +3
    -1
      src/admin/spec_add.php
  12. +3
    -1
      src/admin/spec_edit.php
  13. +2
    -2
      src/install/sql-dfdata.txt
  14. +1
    -1
      src/user/album_add.php
  15. +2
    -2
      src/user/album_edit.php
  16. +1
    -1
      src/user/archives_add.php
  17. +2
    -2
      src/user/archives_edit.php
  18. +1
    -1
      src/user/archives_sg_add.php
  19. +2
    -2
      src/user/archives_sg_edit.php
  20. +1
    -1
      src/user/article_add.php
  21. +2
    -2
      src/user/article_edit.php
  22. +1
    -1
      src/user/soft_add.php
  23. +3
    -3
      src/user/soft_edit.php

+ 3
- 1
src/admin/album_add.php Просмотреть файл

@@ -221,7 +221,9 @@ if ($dopost != 'save') {
}
}
//返回成功信息
$msg = "<tr><td>请选择后续操作:<a href='album_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布图片文档</a><a href='archives_do.php?aid=".$arcID."&dopost=editArchives' class='btn btn-success btn-sm'>修改图片文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>浏览图片文档</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>管理图片文档</a>$backurl</td></tr>";
$msg = "<tr>
<td bgcolor='#f5f5f5' align='center'><a href='album_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布图片文档</a><a href='archives_do.php?aid=".$arcID."&dopost=editArchives' class='btn btn-success btn-sm'>修改图片文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>浏览图片文档</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>管理图片文档</a>$backurl</td>
</tr>";
$msg = "{$msg}".GetUpdateTest();
$wintitle = "成功发布图片文档";
$wecome_info = "文档管理 - 发布图片文档";


+ 3
- 1
src/admin/album_edit.php Просмотреть файл

@@ -263,7 +263,9 @@ if ($dopost != 'save') {
}
}
//返回成功信息
$msg = "<tr><td>请选择后续操作:<a href='album_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布图片文档</a><a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>修改图片文档</a><a href='$arcUrl' target='_blank' class='btn btn-success btn-sm'>浏览图片文档</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>管理图片文档</a>$backurl</td></tr>";
$msg = "<tr>
<td bgcolor='#f5f5f5' align='center'><a href='album_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布图片文档</a><a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>修改图片文档</a><a href='$arcUrl' target='_blank' class='btn btn-success btn-sm'>浏览图片文档</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>管理图片文档</a>$backurl</td>
</tr>";
$wintitle = "成功修改图片文档";
$wecome_info = "文档管理 - 修改图片文档";
$win = new OxWindow();


+ 3
- 1
src/admin/archives_add.php Просмотреть файл

@@ -167,7 +167,9 @@ if ($dopost != 'save') {
}
}
//返回成功信息
$msg = "<tr><td>请选择后续操作:<a href='archives_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布自定义文档</a><a href='archives_do.php?aid=".$arcID."&dopost=editArchives' class='btn btn-success btn-sm'>修改自定义文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>浏览自定义文档</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>管理自定义文档</a>$backurl</td></tr>";
$msg = "<tr>
<td bgcolor='#f5f5f5' align='center'><a href='archives_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布自定义文档</a><a href='archives_do.php?aid=".$arcID."&dopost=editArchives' class='btn btn-success btn-sm'>修改自定义文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>浏览自定义文档</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>管理自定义文档</a>$backurl</td>
</tr>";
$msg = "{$msg}".GetUpdateTest();
$wintitle = "成功发布自定义文档";
$wecome_info = "文档管理 - 发布自定义文档";


+ 3
- 1
src/admin/archives_edit.php Просмотреть файл

@@ -152,7 +152,9 @@ if ($dopost != 'save') {
}
}
//返回成功信息
$msg = "<tr><td>请选择后续操作:<a href='archives_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布自定义文档</a><a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>修改自定义文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看自定义文档</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>管理自定义文档</a>$backurl</td></tr>";
$msg = "<tr>
<td bgcolor='#f5f5f5' align='center'><a href='archives_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布自定义文档</a><a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>修改自定义文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>查看自定义文档</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>管理自定义文档</a>$backurl</td>
</tr>";
$wintitle = "成功修改自定义文档";
$wecome_info = "文档管理 - 修改自定义文档";
$win = new OxWindow();


+ 3
- 1
src/admin/archives_sg_add.php Просмотреть файл

@@ -122,7 +122,9 @@ if ($dopost != 'save') {
}
ClearMyAddon($arcID, $title);
//返回成功信息
$msg = "<tr><td>请选择后续操作:<a href='archives_sg_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布分类文档</a><a href='archives_do.php?aid=".$arcID."&dopost=editArchives' 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?cid=$typeid&channelid={$channelid}&dopost=listArchives' class='btn btn-success btn-sm'>管理分类文档</a></td></tr>";
$msg = "<tr>
<td bgcolor='#f5f5f5' align='center'><a href='archives_sg_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布分类文档</a><a href='archives_do.php?aid=".$arcID."&dopost=editArchives' 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?cid=$typeid&channelid={$channelid}&dopost=listArchives' class='btn btn-success btn-sm'>管理分类文档</a></td>
</tr>";
$wintitle = "成功发布分类文档";
$wecome_info = "文档管理 - 发布分类文档";
$win = new OxWindow();


+ 3
- 1
src/admin/archives_sg_edit.php Просмотреть файл

@@ -105,7 +105,9 @@ if ($dopost != 'save') {
if ($artUrl == '') $artUrl = $cfg_phpurl."/view.php?aid=$id";
ClearMyAddon($id, $title);
//返回成功信息
$msg = "<tr><td>请选择后续操作:<a href='archives_sg_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布分类文档</a><a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>修改分类文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>浏览分类文档</a><a href='catalog_do.php?cid=$typeid&channelid={$channelid}&dopost=listArchives' class='btn btn-success btn-sm'>管理分类文档</a></td></tr>";
$msg = "<tr>
<td bgcolor='#f5f5f5' align='center'><a href='archives_sg_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布分类文档</a><a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>修改分类文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>浏览分类文档</a><a href='catalog_do.php?cid=$typeid&channelid={$channelid}&dopost=listArchives' class='btn btn-success btn-sm'>管理分类文档</a></td>
</tr>";
$wintitle = "成功修改分类文档";
$wecome_info = "文档管理 - 修改分类文档";
$win = new OxWindow();


+ 3
- 1
src/admin/article_add.php Просмотреть файл

@@ -198,7 +198,9 @@ if ($dopost != 'save') {
}
}
//返回成功信息
$msg = "<tr><td>请选择后续操作:<a href='article_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布文档</a><a href='archives_do.php?aid=".$arcID."&dopost=editArchives' class='btn btn-success btn-sm'>修改文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>浏览文档</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>管理文档</a>$backurl</td></tr>";
$msg = "<tr>
<td bgcolor='#f5f5f5' align='center'><a href='article_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布文档</a><a href='archives_do.php?aid=".$arcID."&dopost=editArchives' class='btn btn-success btn-sm'>修改文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>浏览文档</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>管理文档</a>$backurl</td>
</tr>";
$msg = "{$msg}".GetUpdateTest();
$wintitle = "成功发布文档";
$wecome_info = "文档管理 - 发布文档";


+ 3
- 1
src/admin/article_edit.php Просмотреть файл

@@ -166,7 +166,9 @@ if ($dopost != 'save') {
}
}
//返回成功信息
$msg = "<tr><td>请选择后续操作:<a href='article_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布文档</a><a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>修改文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>浏览文档</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>管理文档</a>$backurl</td></tr>";
$msg = "<tr>
<td bgcolor='#f5f5f5' align='center'><a href='article_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布文档</a><a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>修改文档</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>浏览文档</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>管理文档</a>$backurl</td>
</tr>";
$wintitle = "成功修改文档";
$wecome_info = "文档管理 - 修改文档";
$win = new OxWindow();


+ 3
- 1
src/admin/soft_add.php Просмотреть файл

@@ -226,7 +226,9 @@ if ($dopost != 'save') {
}
}
//返回成功信息
$msg = "<tr><td>请选择后续操作:<a href='soft_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布软件文档</a><a href='archives_do.php?aid=".$arcID."&dopost=editArchives' class='btn btn-success btn-sm'>修改软件文档</a><a href='$arcUrl' target='_blank' class='btn btn-success btn-sm'>浏览软件文档</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>管理软件文档</a></td></tr>";
$msg = "<tr>
<td bgcolor='#f5f5f5' align='center'><a href='soft_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布软件文档</a><a href='archives_do.php?aid=".$arcID."&dopost=editArchives' class='btn btn-success btn-sm'>修改软件文档</a><a href='$arcUrl' target='_blank' class='btn btn-success btn-sm'>浏览软件文档</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>管理软件文档</a></td>
</tr>";
$msg = "{$msg}".GetUpdateTest();
$wintitle = "成功发布软件文档";
$wecome_info = "文档管理 - 发布软件文档";


+ 3
- 1
src/admin/soft_edit.php Просмотреть файл

@@ -208,7 +208,9 @@ if ($dopost != 'save') {
}
}
//返回成功信息
$msg = "<tr><td>请选择后续操作:<a href='soft_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布软件文档</a><a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>修改软件文档</a><a href='$arcUrl' target='_blank' class='btn btn-success btn-sm'>浏览软件文档</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>管理软件文档</a></td></tr>";
$msg = "<tr>
<td bgcolor='#f5f5f5' align='center'><a href='soft_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布软件文档</a><a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>修改软件文档</a><a href='$arcUrl' target='_blank' class='btn btn-success btn-sm'>浏览软件文档</a><a href='catalog_do.php?cid=$typeid&dopost=listArchives' class='btn btn-success btn-sm'>管理软件文档</a></td>
</tr>";
$wintitle = "成功修改软件文档";
$wecome_info = "文档管理 - 修改软件文档";
$win = new OxWindow();


+ 3
- 1
src/admin/spec_add.php Просмотреть файл

@@ -176,7 +176,9 @@ if ($dopost != 'save') {
}
}
//返回成功信息
$msg = "<tr><td>请选择后续操作:<a href='spec_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布专题</a><a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>修改专题</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>浏览专题</a><a href='content_s_list.php' class='btn btn-success btn-sm'>管理专题</a></td></tr>";
$msg = "<tr>
<td bgcolor='#f5f5f5' align='center'><a href='spec_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布专题</a><a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>修改专题</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>浏览专题</a><a href='content_s_list.php' class='btn btn-success btn-sm'>管理专题</a></td>
</tr>";
$wintitle = "成功发布专题";
$wecome_info = "专题管理 - 发布专题";
$win = new OxWindow();


+ 3
- 1
src/admin/spec_edit.php Просмотреть файл

@@ -189,7 +189,9 @@ if ($dopost != 'save') {
}
}
//返回成功信息
$msg = "<tr><td>请选择后续操作:<a href='spec_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布专题</a><a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>修改专题</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>浏览专题</a><a href='content_s_list.php' class='btn btn-success btn-sm'>管理专题</a></td></tr>";
$msg = "<tr>
<td bgcolor='#f5f5f5' align='center'><a href='spec_add.php?cid=$typeid' class='btn btn-success btn-sm'>发布专题</a><a href='archives_do.php?aid=".$id."&dopost=editArchives' class='btn btn-success btn-sm'>修改专题</a><a href='$artUrl' target='_blank' class='btn btn-success btn-sm'>浏览专题</a><a href='content_s_list.php' class='btn btn-success btn-sm'>管理专题</a></td>
</tr>";
$wintitle = "成功修改专题";
$wecome_info = "专题管理 - 修改专题";
$win = new OxWindow();


+ 2
- 2
src/install/sql-dfdata.txt Просмотреть файл

@@ -3953,7 +3953,7 @@ INSERT INTO `#@__sysconfig` VALUES ('1','cfg_basehost','站点网址','1','strin
('23','cfg_rewrite','是否使用伪静态,参考栏目修改中提示默认规则','1','bool','N'),
('24','cfg_df_style','网站模板默认风格','1','string','dedebiz'),
('25','cfg_multi_site','是否支持多站点,开启此项后附件栏目连接arclist文档启用绝对网址','2','bool','N'),
('26','cfg_rm_remote','远程图片本地化','7','bool','Y'),
('26','cfg_rm_remote','下载远程图片和资源','7','bool','Y'),
('27','cfg_dede_log','是否开启管理日志','2','bool','N'),
('28','cfg_powerby','网站版权信息','1','bstring','Copyright © 2023 DedeBIZ 版权所有'),
('29','cfg_jump_once','跳转网址是否直接跳转否则显示中转页','7','bool','Y'),
@@ -3987,7 +3987,7 @@ INSERT INTO `#@__sysconfig` VALUES ('1','cfg_basehost','站点网址','1','strin
('57','cfg_tplcache_dir','模板缓存目录','6','string','/data/tplcache'),
('58','cfg_makesign_cache','是否修改发布单个文档调用缓存','6','bool','N'),
('59','cfg_arc_dellink','删除非站内链接','7','bool','Y'),
('60','cfg_arc_autopic','提取第一张图片作为缩略图','7','bool','Y'),
('60','cfg_arc_autopic','提取第一个图片为缩略图','7','bool','Y'),
('61','cfg_arc_autokeyword','自动提取关键词','7','bool','N'),
('62','cfg_title_maxlen','文档标题最大长度,变量后需要手工修改数据表','7','number','255'),
('63','cfg_album_row','图集多行多列样式默认行数','3','number','3'),


+ 1
- 1
src/user/album_add.php Просмотреть файл

@@ -149,7 +149,7 @@ if (empty($dopost)) {
if ($artUrl == '') $artUrl = $cfg_phpurl."/view.php?aid=$arcID";
ClearMyAddon($arcID, $title);
//返回成功信息
$msg = "请选择后续操作:<a href='album_add.php?cid=$typeid' 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='$artUrl' target='_blank' class='btn btn-success btn-sm'>浏览图片文档</a><a href='content_list.php?channelid={$channelid}' class='btn btn-success btn-sm'>管理图片文档</a>";
$msg = "<a href='album_add.php?cid=$typeid' 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='$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();


+ 2
- 2
src/user/album_edit.php Просмотреть файл

@@ -34,7 +34,7 @@ if (empty($dopost)) {
$arcQuery = "SELECT arc.*,ch.addtable,ch.fieldset,ch.arcsta FROM `#@__archives` arc LEFT JOIN `#@__channeltype` ch ON ch.id=arc.channel WHERE arc.id='$aid' AND arc.mid='".$cfg_ml->M_ID."'; ";
$row = $dsql->GetOne($arcQuery);
if (!is_array($row)) {
ShowMsg("读取文档信息出错", "-1");
ShowMsg("读取文档信息出错", "index.php");
exit();
} else if ($row['arcrank'] >= 0) {
$dtime = time();
@@ -126,7 +126,7 @@ if (empty($dopost)) {
$artUrl = MakeArt($aid, TRUE);
if ($artUrl == '') $artUrl = $cfg_phpurl."/view.php?aid=$aid";
//返回成功信息
$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> ";
$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 = "图片管理 - 修改图片文档";


+ 1
- 1
src/user/archives_add.php Просмотреть файл

@@ -122,7 +122,7 @@ if (empty($dopost)) {
}
ClearMyAddon($arcID, $title);
//返回成功信息
$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=$arcID' 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>";
$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=$arcID' 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();


+ 2
- 2
src/user/archives_edit.php Просмотреть файл

@@ -23,7 +23,7 @@ if (empty($dopost)) {
$arcQuery = "SELECT arc.*,ch.addtable,ch.fieldset,arc.mtype as mtypeid,ch.arcsta FROM `#@__archives` arc LEFT JOIN `#@__channeltype` ch ON ch.id=arc.channel WHERE arc.id='$aid' And arc.mid='".$cfg_ml->M_ID."'; ";
$row = $dsql->GetOne($arcQuery);
if (!is_array($row)) {
ShowMsg("读取文档信息出错", "-1");
ShowMsg("读取文档信息出错", "index.php");
exit();
} else if ($row['arcrank'] >= 0) {
$dtime = time();
@@ -90,7 +90,7 @@ if (empty($dopost)) {
$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-success btn-sm'>发布自定义文档</a><a href='archives_edit.php?channelid=$channelid&aid=".$aid."' class='btn btn-success btn-sm'>修改自定义文档</a><a class='btn btn-success btn-sm' href='$artUrl' target='_blank'>浏览自定义文档</a><a href='content_list.php?channelid=$channelid' class='btn btn-success 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 class='btn btn-success btn-sm' 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();


+ 1
- 1
src/user/archives_sg_add.php Просмотреть файл

@@ -152,7 +152,7 @@ if (empty($dopost)) {
if ($artUrl == '') $artUrl = $cfg_phpurl."/view.php?aid=$arcID";
ClearMyAddon($arcID, $title);
//返回成功信息
$msg = "请选择后续操作:<a href='archives_sg_add.php?channelid=$channelid' 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='$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>";
$msg = "<a href='archives_sg_add.php?channelid=$channelid' 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='$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();


+ 2
- 2
src/user/archives_sg_edit.php Просмотреть файл

@@ -23,7 +23,7 @@ if (empty($dopost)) {
$arcQuery = "SELECT ch.*,arc.* FROM `#@__arctiny` arc LEFT JOIN `#@__channeltype` ch ON ch.id=arc.channel WHERE arc.id='$aid' ";
$cInfos = $dsql->GetOne($arcQuery);
if (!is_array($cInfos)) {
ShowMsg("读取文档信息出错", "-1");
ShowMsg("读取文档信息出错", "index.php");
exit();
}
$addRow = $dsql->GetOne("SELECT * FROM `{$cInfos['addtable']}` WHERE aid='$aid';");
@@ -106,7 +106,7 @@ if (empty($dopost)) {
$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-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>";
$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();


+ 1
- 1
src/user/article_add.php Просмотреть файл

@@ -111,7 +111,7 @@ if (empty($dopost)) {
if ($artUrl == '') $artUrl = $cfg_phpurl."/view.php?aid=$arcID";
ClearMyAddon($arcID, $title);
//返回成功信息
$msg = "请选择后续操作:<a href='article_add.php?cid=$typeid' 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='$artUrl' target='_blank' class='btn btn-success btn-sm'>浏览文档</a><a href='content_list.php?channelid={$channelid}' class='btn btn-success btn-sm'>管理文档</a>";
$msg = "<a href='article_add.php?cid=$typeid' 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='$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();


+ 2
- 2
src/user/article_edit.php Просмотреть файл

@@ -23,7 +23,7 @@ if (empty($dopost)) {
$arcQuery = "SELECT arc.*,ch.addtable,ch.fieldset,arc.mtype as mtypeid,ch.arcsta FROM `#@__archives` arc LEFT JOIN `#@__channeltype` ch ON ch.id=arc.channel WHERE arc.id='$aid' And arc.mid='".$cfg_ml->M_ID."'; ";
$row = $dsql->GetOne($arcQuery);
if (!is_array($row)) {
ShowMsg("读取文档信息出错", "-1");
ShowMsg("读取文档信息出错", "index.php");
exit();
} else if ($row['arcrank'] >= 0) {
$dtime = time();
@@ -85,7 +85,7 @@ if (empty($dopost)) {
$artUrl = $cfg_phpurl."/view.php?aid=$aid";
}
//返回成功信息
$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>";
$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();


+ 1
- 1
src/user/soft_add.php Просмотреть файл

@@ -165,7 +165,7 @@ if (empty($dopost)) {
}
ClearMyAddon($arcID, $title);
//返回成功信息
$msg = "请选择后续操作:<a href='soft_add.php?cid=$typeid' 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='$artUrl' target='_blank' class='btn btn-success btn-sm'>浏览软件文档</a><a href='content_list.php?channelid={$channelid}' class='btn btn-success 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=$arcID' 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();


+ 3
- 3
src/user/soft_edit.php Просмотреть файл

@@ -23,7 +23,7 @@ if (empty($dopost)) {
$dsql->SetQuery($arcQuery);
$row = $dsql->GetOne($arcQuery);
if (!is_array($row)) {
ShowMsg("读取文档信息出错", "-1");
ShowMsg("读取文档信息出错", "index.php");
exit();
} else if ($row['arcrank'] >= 0) {
$dtime = time();
@@ -36,7 +36,7 @@ if (empty($dopost)) {
$query = "SELECT * FROM `#@__channeltype` WHERE id='".$row['channel']."'";
$cInfos = $dsql->GetOne($query);
if (!is_array($cInfos)) {
ShowMsg("读取栏目信息出错", "javascript:;");
ShowMsg("读取栏目信息出错", "index.php");
exit();
}
$addtable = $cInfos['addtable'];
@@ -163,7 +163,7 @@ if (empty($dopost)) {
$artUrl = $cfg_phpurl."/view.php?aid=$aid";
}
//返回成功信息
$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>";
$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();


Загрузка…
Отмена
Сохранить