Browse Source

默认模板优化调整

tags/6.2.7
tianya 1 year ago
parent
commit
f07f73a415
23 changed files with 38 additions and 219 deletions
  1. +7
    -1
      src/admin/makehtml_list_action.php
  2. +2
    -0
      src/install/sql-dftables.txt
  3. +1
    -11
      src/theme/dedebiz/article_article.htm
  4. +1
    -11
      src/theme/dedebiz/article_default.htm
  5. +1
    -11
      src/theme/dedebiz/article_default_sg.htm
  6. +1
    -11
      src/theme/dedebiz/article_image.htm
  7. +1
    -11
      src/theme/dedebiz/article_infos.htm
  8. +1
    -11
      src/theme/dedebiz/article_soft.htm
  9. +1
    -11
      src/theme/dedebiz/article_spec.htm
  10. +1
    -11
      src/theme/dedebiz/index_article.htm
  11. +1
    -11
      src/theme/dedebiz/index_default.htm
  12. +1
    -11
      src/theme/dedebiz/index_default_sg.htm
  13. +1
    -11
      src/theme/dedebiz/index_infos.htm
  14. +1
    -11
      src/theme/dedebiz/list_article.htm
  15. +1
    -11
      src/theme/dedebiz/list_default.htm
  16. +1
    -11
      src/theme/dedebiz/list_default_sg.htm
  17. +1
    -11
      src/theme/dedebiz/list_free.htm
  18. +1
    -11
      src/theme/dedebiz/list_image.htm
  19. +1
    -11
      src/theme/dedebiz/list_infos.htm
  20. +1
    -11
      src/theme/dedebiz/list_soft.htm
  21. +1
    -11
      src/theme/dedebiz/list_spec.htm
  22. +1
    -9
      src/theme/dedebiz/search.htm
  23. +9
    -0
      src/theme/dedebiz/widget_search.htm

+ 7
- 1
src/admin/makehtml_list_action.php View File

@@ -10,10 +10,11 @@
*/
require_once(dirname(__FILE__)."/config.php");
CheckPurview('sys_MakeHtml');
require_once(DEDEDATA."/cache/inc_catalog_base.inc");
require_once(DEDEINC."/channelunit.func.php");
if (!isset($upnext)) $upnext = 1;
if (empty($gotype)) $gotype = '';
if (empty($gotype)) UpDateCatCache();
require_once(DEDEDATA."/cache/inc_catalog_base.inc");
if (empty($pageno)) $pageno = 0;
if (empty($mkpage)) $mkpage = 1;
if (empty($typeid)) $typeid = 0;
@@ -34,6 +35,7 @@ if ($gotype == '' || $gotype == 'mkallct') {
$idArray[] = $typeid;
}
}

//一键更新带缓存的情况
else if ($gotype == 'mkall') {
$uppage = 1;
@@ -41,6 +43,10 @@ else if ($gotype == 'mkall') {
$idArray = array();
if (file_exists($mkcachefile)) require_once($mkcachefile);
}
if (!$idArray) {
ShowMsg("尚未添加栏目,请先添加栏目再进行更新", "javascript:;");
exit;
}
//当前更新栏目id
$totalpage = count($idArray);
if (isset($idArray[$pageno])) {


+ 2
- 0
src/install/sql-dftables.txt View File

@@ -271,6 +271,8 @@ CREATE TABLE `#@__arctype` (
`crossid` text,
`content` text,
`smalltypes` text,
`apienabled` tinyint unsigned DEFAULT '0',
`apikey` varchar(64) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `reid` (`reid`,`isdefault`,`channeltype`,`ispart`,`corank`,`topid`,`ishidden`),
KEY `sortrank` (`sortrank`)


+ 1
- 11
src/theme/dedebiz/article_article.htm View File

@@ -67,17 +67,7 @@
</div>
</div>
<div class="col-md-3">
<div class="pb-3">
<div class="item-hot bg-white shadow-sm rounded p-3">
<form class="search" name="formsearch" action="{dede:global.cfg_cmsurl/}/apps/search.php">
<input type="hidden" name="kwtype" value="0">
<div class="input-group">
<input name="q" type="text" class="form-control" placeholder="请输入...">
<button type="submit" id="validateimg" class="btn btn-success"><i class="fa fa-search"></i></button>
</div>
</form>
</div>
</div>
<div class="pb-3">{dede:include comment='搜索' filename='widget_search.htm'/}</div>
<div class="py-3">{dede:include comment='推荐栏目' filename='widget_menu.htm'/}</div>
<div class="pt-3">{dede:include comment='热门文档' filename='widget_hot.htm'/}</div>
</div>


+ 1
- 11
src/theme/dedebiz/article_default.htm View File

@@ -80,17 +80,7 @@
</div>
</div>
<div class="col-md-3">
<div class="pb-3">
<div class="item-hot bg-white shadow-sm rounded p-3">
<form class="search" name="formsearch" action="{dede:global.cfg_cmsurl/}/apps/search.php">
<input type="hidden" name="kwtype" value="0">
<div class="input-group">
<input name="q" type="text" class="form-control" placeholder="请输入...">
<button type="submit" id="validateimg" class="btn btn-success"><i class="fa fa-search"></i></button>
</div>
</form>
</div>
</div>
<div class="pb-3">{dede:include comment='搜索' filename='widget_search.htm'/}</div>
<div class="py-3">{dede:include comment='推荐栏目' filename='widget_menu.htm'/}</div>
<div class="pt-3">{dede:include comment='热门文档' filename='widget_hot.htm'/}</div>
</div>


+ 1
- 11
src/theme/dedebiz/article_default_sg.htm View File

@@ -81,17 +81,7 @@
</div>
</div>
<div class="col-md-3">
<div class="pb-3">
<div class="item-hot bg-white shadow-sm rounded p-3">
<form class="search" name="formsearch" action="{dede:global.cfg_cmsurl/}/apps/search.php">
<input type="hidden" name="kwtype" value="0">
<div class="input-group">
<input name="q" type="text" class="form-control" placeholder="请输入...">
<button type="submit" id="validateimg" class="btn btn-success"><i class="fa fa-search"></i></button>
</div>
</form>
</div>
</div>
<div class="pb-3">{dede:include comment='搜索' filename='widget_search.htm'/}</div>
<div class="py-3">{dede:include comment='推荐栏目' filename='widget_menu.htm'/}</div>
<div class="pt-3">{dede:include comment='热门文档' filename='widget_hot.htm'/}</div>
</div>


+ 1
- 11
src/theme/dedebiz/article_image.htm View File

@@ -95,17 +95,7 @@
</div>
</div>
<div class="col-md-3">
<div class="pb-3">
<div class="item-hot bg-white shadow-sm rounded p-3">
<form class="search" name="formsearch" action="{dede:global.cfg_cmsurl/}/apps/search.php">
<input type="hidden" name="kwtype" value="0">
<div class="input-group">
<input name="q" type="text" class="form-control" placeholder="请输入...">
<button type="submit" id="validateimg" class="btn btn-success"><i class="fa fa-search"></i></button>
</div>
</form>
</div>
</div>
<div class="pb-3">{dede:include comment='搜索' filename='widget_search.htm'/}</div>
<div class="py-3">{dede:include comment='推荐栏目' filename='widget_menu.htm'/}</div>
<div class="pt-3">{dede:include comment='热门文档' filename='widget_hot.htm'/}</div>
</div>


+ 1
- 11
src/theme/dedebiz/article_infos.htm View File

@@ -74,17 +74,7 @@
</div>
</div>
<div class="col-md-3">
<div class="pb-3">
<div class="item-hot bg-white shadow-sm rounded p-3">
<form class="search" name="formsearch" action="{dede:global.cfg_cmsurl/}/apps/search.php">
<input type="hidden" name="kwtype" value="0">
<div class="input-group">
<input name="q" type="text" class="form-control" placeholder="请输入...">
<button type="submit" id="validateimg" class="btn btn-success"><i class="fa fa-search"></i></button>
</div>
</form>
</div>
</div>
<div class="pb-3">{dede:include comment='搜索' filename='widget_search.htm'/}</div>
<div class="py-3">{dede:include comment='推荐栏目' filename='widget_menu.htm'/}</div>
<div class="pt-3">{dede:include comment='热门文档' filename='widget_hot.htm'/}</div>
</div>


+ 1
- 11
src/theme/dedebiz/article_soft.htm View File

@@ -82,17 +82,7 @@
</div>
</div>
<div class="col-md-3">
<div class="pb-3">
<div class="item-hot bg-white shadow-sm rounded p-3">
<form class="search" name="formsearch" action="{dede:global.cfg_cmsurl/}/apps/search.php">
<input type="hidden" name="kwtype" value="0">
<div class="input-group">
<input name="q" type="text" class="form-control" placeholder="请输入...">
<button type="submit" id="validateimg" class="btn btn-success"><i class="fa fa-search"></i></button>
</div>
</form>
</div>
</div>
<div class="pb-3">{dede:include comment='搜索' filename='widget_search.htm'/}</div>
<div class="py-3">{dede:include comment='推荐栏目' filename='widget_menu.htm'/}</div>
<div class="pt-3">{dede:include comment='热门文档' filename='widget_hot.htm'/}</div>
</div>


+ 1
- 11
src/theme/dedebiz/article_spec.htm View File

@@ -47,17 +47,7 @@
</div>
</div>
<div class="col-md-3">
<div class="pb-3">
<div class="item-hot bg-white shadow-sm rounded p-3">
<form class="search" name="formsearch" action="{dede:global.cfg_cmsurl/}/apps/search.php">
<input type="hidden" name="kwtype" value="0">
<div class="input-group">
<input name="q" type="text" class="form-control" placeholder="请输入...">
<button type="submit" id="validateimg" class="btn btn-success"><i class="fa fa-search"></i></button>
</div>
</form>
</div>
</div>
<div class="pb-3">{dede:include comment='搜索' filename='widget_search.htm'/}</div>
<div class="py-3">{dede:include comment='推荐栏目' filename='widget_menu.htm'/}</div>
<div class="pt-3">{dede:include comment='热门文档' filename='widget_hot.htm'/}</div>
</div>


+ 1
- 11
src/theme/dedebiz/index_article.htm View File

@@ -43,17 +43,7 @@
</div>
</div>
<div class="col-md-3">
<div class="pb-3">
<div class="item-hot bg-white shadow-sm rounded p-3">
<form class="search" name="formsearch" action="{dede:global.cfg_cmsurl/}/apps/search.php">
<input type="hidden" name="kwtype" value="0">
<div class="input-group">
<input name="q" type="text" class="form-control" placeholder="请输入...">
<button type="submit" id="validateimg" class="btn btn-success"><i class="fa fa-search"></i></button>
</div>
</form>
</div>
</div>
<div class="pb-3">{dede:include comment='搜索' filename='widget_search.htm'/}</div>
<div class="py-3">{dede:include comment='推荐栏目' filename='widget_menu.htm'/}</div>
<div class="pt-3">{dede:include comment='热门文档' filename='widget_hot.htm'/}</div>
</div>


+ 1
- 11
src/theme/dedebiz/index_default.htm View File

@@ -43,17 +43,7 @@
</div>
</div>
<div class="col-md-3">
<div class="pb-3">
<div class="item-hot bg-white shadow-sm rounded p-3">
<form class="search" name="formsearch" action="{dede:global.cfg_cmsurl/}/apps/search.php">
<input type="hidden" name="kwtype" value="0">
<div class="input-group">
<input name="q" type="text" class="form-control" placeholder="请输入...">
<button type="submit" id="validateimg" class="btn btn-success"><i class="fa fa-search"></i></button>
</div>
</form>
</div>
</div>
<div class="pb-3">{dede:include comment='搜索' filename='widget_search.htm'/}</div>
<div class="py-3">{dede:include comment='推荐栏目' filename='widget_menu.htm'/}</div>
<div class="pt-3">{dede:include comment='热门文档' filename='widget_hot.htm'/}</div>
</div>


+ 1
- 11
src/theme/dedebiz/index_default_sg.htm View File

@@ -43,17 +43,7 @@
</div>
</div>
<div class="col-md-3">
<div class="pb-3">
<div class="item-hot bg-white shadow-sm rounded p-3">
<form class="search" name="formsearch" action="{dede:global.cfg_cmsurl/}/apps/search.php">
<input type="hidden" name="kwtype" value="0">
<div class="input-group">
<input name="q" type="text" class="form-control" placeholder="请输入...">
<button type="submit" id="validateimg" class="btn btn-success"><i class="fa fa-search"></i></button>
</div>
</form>
</div>
</div>
<div class="pb-3">{dede:include comment='搜索' filename='widget_search.htm'/}</div>
<div class="py-3">{dede:include comment='推荐栏目' filename='widget_menu.htm'/}</div>
<div class="pt-3">{dede:include comment='热门文档' filename='widget_hot.htm'/}</div>
</div>


+ 1
- 11
src/theme/dedebiz/index_infos.htm View File

@@ -43,17 +43,7 @@
</div>
</div>
<div class="col-md-3">
<div class="pb-3">
<div class="item-hot bg-white shadow-sm rounded p-3">
<form class="search" name="formsearch" action="{dede:global.cfg_cmsurl/}/apps/search.php">
<input type="hidden" name="kwtype" value="0">
<div class="input-group">
<input name="q" type="text" class="form-control" placeholder="请输入...">
<button type="submit" id="validateimg" class="btn btn-success"><i class="fa fa-search"></i></button>
</div>
</form>
</div>
</div>
<div class="pb-3">{dede:include comment='搜索' filename='widget_search.htm'/}</div>
<div class="py-3">{dede:include comment='推荐栏目' filename='widget_menu.htm'/}</div>
<div class="pt-3">{dede:include comment='热门文档' filename='widget_hot.htm'/}</div>
</div>


+ 1
- 11
src/theme/dedebiz/list_article.htm View File

@@ -47,17 +47,7 @@
<ul class="pagination">{dede:pagelist listitem='info,index,end,pre,next,pageno' listsize='1'/}</ul>
</div>
<div class="col-md-3">
<div class="pb-3">
<div class="item-hot bg-white shadow-sm rounded p-3">
<form class="search" name="formsearch" action="{dede:global.cfg_cmsurl/}/apps/search.php">
<input type="hidden" name="kwtype" value="0">
<div class="input-group">
<input name="q" type="text" class="form-control" placeholder="请输入...">
<button type="submit" id="validateimg" class="btn btn-success"><i class="fa fa-search"></i></button>
</div>
</form>
</div>
</div>
<div class="pb-3">{dede:include comment='搜索' filename='widget_search.htm'/}</div>
<div class="py-3">{dede:include comment='推荐栏目' filename='widget_menu.htm'/}</div>
<div class="pt-3">{dede:include comment='热门文档' filename='widget_hot.htm'/}</div>
</div>


+ 1
- 11
src/theme/dedebiz/list_default.htm View File

@@ -47,17 +47,7 @@
<ul class="pagination">{dede:pagelist listitem='info,index,end,pre,next,pageno' listsize='1'/}</ul>
</div>
<div class="col-md-3">
<div class="pb-3">
<div class="item-hot bg-white shadow-sm rounded p-3">
<form class="search" name="formsearch" action="{dede:global.cfg_cmsurl/}/apps/search.php">
<input type="hidden" name="kwtype" value="0">
<div class="input-group">
<input name="q" type="text" class="form-control" placeholder="请输入...">
<button type="submit" id="validateimg" class="btn btn-success"><i class="fa fa-search"></i></button>
</div>
</form>
</div>
</div>
<div class="pb-3">{dede:include comment='搜索' filename='widget_search.htm'/}</div>
<div class="py-3">{dede:include comment='推荐栏目' filename='widget_menu.htm'/}</div>
<div class="pt-3">{dede:include comment='热门文档' filename='widget_hot.htm'/}</div>
</div>


+ 1
- 11
src/theme/dedebiz/list_default_sg.htm View File

@@ -47,17 +47,7 @@
<ul class="pagination">{dede:pagelist listitem='info,index,end,pre,next,pageno' listsize='1'/}</ul>
</div>
<div class="col-md-3">
<div class="pb-3">
<div class="item-hot bg-white shadow-sm rounded p-3">
<form class="search" name="formsearch" action="{dede:global.cfg_cmsurl/}/apps/search.php">
<input type="hidden" name="kwtype" value="0">
<div class="input-group">
<input name="q" type="text" class="form-control" placeholder="请输入...">
<button type="submit" id="validateimg" class="btn btn-success"><i class="fa fa-search"></i></button>
</div>
</form>
</div>
</div>
<div class="pb-3">{dede:include comment='搜索' filename='widget_search.htm'/}</div>
<div class="py-3">{dede:include comment='推荐栏目' filename='widget_menu.htm'/}</div>
<div class="pt-3">{dede:include comment='热门文档' filename='widget_hot.htm'/}</div>
</div>


+ 1
- 11
src/theme/dedebiz/list_free.htm View File

@@ -38,17 +38,7 @@
<ul class="pagination">{dede:pagelist listitem='info,index,end,pre,next,pageno' listsize='1'/}</ul>
</div>
<div class="col-md-3">
<div class="pb-3">
<div class="item-hot bg-white shadow-sm rounded p-3">
<form class="search" name="formsearch" action="{dede:global.cfg_cmsurl/}/apps/search.php">
<input type="hidden" name="kwtype" value="0">
<div class="input-group">
<input name="q" type="text" class="form-control" placeholder="请输入...">
<button type="submit" class="btn"><i class="fa fa-search"></i></button>
</div>
</form>
</div>
</div>
<div class="pb-3">{dede:include comment='搜索' filename='widget_search.htm'/}</div>
<div class="py-3">{dede:include comment='推荐栏目' filename='widget_menu.htm'/}</div>
<div class="pt-3">{dede:include comment='热门文档' filename='widget_hot.htm'/}</div>
</div>


+ 1
- 11
src/theme/dedebiz/list_image.htm View File

@@ -48,17 +48,7 @@
<ul class="pagination">{dede:pagelist listitem='info,index,end,pre,next,pageno' listsize='1'/}</ul>
</div>
<div class="col-md-3">
<div class="pb-3">
<div class="item-hot bg-white shadow-sm rounded p-3">
<form class="search" name="formsearch" action="{dede:global.cfg_cmsurl/}/apps/search.php">
<input type="hidden" name="kwtype" value="0">
<div class="input-group">
<input name="q" type="text" class="form-control" placeholder="请输入...">
<button type="submit" id="validateimg" class="btn btn-success"><i class="fa fa-search"></i></button>
</div>
</form>
</div>
</div>
<div class="pb-3">{dede:include comment='搜索' filename='widget_search.htm'/}</div>
<div class="py-3">{dede:include comment='推荐栏目' filename='widget_menu.htm'/}</div>
<div class="pt-3">{dede:include comment='热门文档' filename='widget_hot.htm'/}</div>
</div>


+ 1
- 11
src/theme/dedebiz/list_infos.htm View File

@@ -58,17 +58,7 @@
<ul class="pagination">{dede:pagelist listitem='info,index,end,pre,next,pageno' listsize='1'/}</ul>
</div>
<div class="col-md-3">
<div class="pb-3">
<div class="item-hot bg-white shadow-sm rounded p-3">
<form class="search" name="formsearch" action="{dede:global.cfg_cmsurl/}/apps/search.php">
<input type="hidden" name="kwtype" value="0">
<div class="input-group">
<input name="q" type="text" class="form-control" placeholder="请输入...">
<button type="submit" id="validateimg" class="btn btn-success"><i class="fa fa-search"></i></button>
</div>
</form>
</div>
</div>
<div class="pb-3">{dede:include comment='搜索' filename='widget_search.htm'/}</div>
<div class="py-3">
<div class="list-info-search bg-white shadow-sm rounded p-3">
<h2 class="mb-3">信息搜索</h2>


+ 1
- 11
src/theme/dedebiz/list_soft.htm View File

@@ -51,17 +51,7 @@
<ul class="pagination">{dede:pagelist listitem='info,index,end,pre,next,pageno' listsize='1'/}</ul>
</div>
<div class="col-md-3">
<div class="pb-3">
<div class="item-hot bg-white shadow-sm rounded p-3">
<form class="search" name="formsearch" action="{dede:global.cfg_cmsurl/}/apps/search.php">
<input type="hidden" name="kwtype" value="0">
<div class="input-group">
<input name="q" type="text" class="form-control" placeholder="请输入...">
<button type="submit" id="validateimg" class="btn btn-success"><i class="fa fa-search"></i></button>
</div>
</form>
</div>
</div>
<div class="pb-3">{dede:include comment='搜索' filename='widget_search.htm'/}</div>
<div class="py-3">{dede:include comment='推荐栏目' filename='widget_menu.htm'/}</div>
<div class="pt-3">{dede:include comment='热门文档' filename='widget_hot.htm'/}</div>
</div>


+ 1
- 11
src/theme/dedebiz/list_spec.htm View File

@@ -47,17 +47,7 @@
<ul class="pagination">{dede:pagelist listitem='info,index,end,pre,next,pageno' listsize='1'/}</ul>
</div>
<div class="col-md-3">
<div class="pb-3">
<div class="item-hot bg-white shadow-sm rounded p-3">
<form class="search" name="formsearch" action="{dede:global.cfg_cmsurl/}/apps/search.php">
<input type="hidden" name="kwtype" value="0">
<div class="input-group">
<input name="q" type="text" class="form-control" placeholder="请输入...">
<button type="submit" id="validateimg" class="btn btn-success"><i class="fa fa-search"></i></button>
</div>
</form>
</div>
</div>
<div class="pb-3">{dede:include comment='搜索' filename='widget_search.htm'/}</div>
<div class="py-3">{dede:include comment='推荐栏目' filename='widget_menu.htm'/}</div>
<div class="pt-3">{dede:include comment='热门文档' filename='widget_hot.htm'/}</div>
</div>


+ 1
- 9
src/theme/dedebiz/search.htm View File

@@ -49,15 +49,7 @@
</div>
<div class="col-md-3">
<div class="pb-3">
<div class="item-hot bg-white shadow-sm rounded p-3">
<form class="search" name="formsearch" action="{dede:global.cfg_cmsurl/}/apps/search.php">
<input type="hidden" name="kwtype" value="0">
<div class="input-group">
<input name="q" type="text" class="form-control" placeholder="请输入...">
<button type="submit" id="validateimg" class="btn btn-success"><i class="fa fa-search"></i></button>
</div>
</form>
</div>
<div class="pb-3">{dede:include comment='搜索' filename='widget_search.htm'/}</div>
</div>
</div>
</div>


+ 9
- 0
src/theme/dedebiz/widget_search.htm View File

@@ -0,0 +1,9 @@
<div class="item-hot bg-white shadow-sm rounded p-3">
<form class="search" name="formsearch" action="{dede:global.cfg_cmsurl/}/apps/search.php">
<input type="hidden" name="kwtype" value="0">
<div class="input-group">
<input name="q" type="text" class="form-control" placeholder="请输入...">
<button type="submit" id="validateimg" class="btn btn-success"><i class="fa fa-search"></i></button>
</div>
</form>
</div>

Loading…
Cancel
Save