瀏覽代碼

优化

tags/6.1.8
xushubieli 3 年之前
父節點
當前提交
b5a0417343
共有 37 個檔案被更改,包括 64 行新增67 行删除
  1. +9
    -9
      src/admin/inc/inc_archives_all.php
  2. +1
    -1
      src/admin/member_do.php
  3. +2
    -2
      src/admin/mychannel_edit.php
  4. +1
    -1
      src/admin/soft_edit.php
  5. +1
    -1
      src/admin/sys_payment.php
  6. +1
    -1
      src/admin/templets/ad_add.htm
  7. +1
    -1
      src/admin/templets/ad_edit.htm
  8. +1
    -1
      src/admin/templets/album_add.htm
  9. +1
    -1
      src/admin/templets/album_edit.htm
  10. +1
    -1
      src/admin/templets/content_batch_up.htm
  11. +3
    -3
      src/admin/templets/file_upload.htm
  12. +1
    -1
      src/admin/templets/makehtml_archives.htm
  13. +1
    -1
      src/admin/templets/makehtml_js.htm
  14. +1
    -1
      src/admin/templets/makehtml_list.htm
  15. +1
    -1
      src/admin/templets/makehtml_taglist.htm
  16. +6
    -6
      src/admin/templets/media_add.htm
  17. +1
    -1
      src/admin/templets/media_edit.htm
  18. +1
    -1
      src/admin/templets/module_main.htm
  19. +1
    -1
      src/admin/templets/mytag_add.htm
  20. +1
    -1
      src/admin/templets/mytag_edit.htm
  21. +3
    -3
      src/admin/templets/soft_add.htm
  22. +4
    -4
      src/admin/templets/soft_edit.htm
  23. +1
    -1
      src/admin/templets/tag_test.htm
  24. +2
    -5
      src/admin/templets/templets_one_add.htm
  25. +6
    -6
      src/admin/templets/templets_one_edit.htm
  26. +1
    -1
      src/static/web/js/select2.full.min.js
  27. +1
    -1
      src/static/web/js/select2.min.js
  28. +1
    -1
      src/static/web/js/style.js
  29. +1
    -1
      src/system/helpers/channelunit.helper.php
  30. +1
    -1
      src/theme/plus/heightsearch.htm
  31. +1
    -1
      src/theme/templets/article_default.htm
  32. +1
    -1
      src/theme/templets/article_default_sg.htm
  33. +1
    -1
      src/theme/templets/article_infos.htm
  34. +1
    -1
      src/theme/templets/article_shop.htm
  35. +1
    -1
      src/theme/templets/article_soft.htm
  36. +1
    -1
      src/user/templets/buy.htm
  37. +1
    -1
      src/user/templets/buy_action_payment.htm

+ 9
- 9
src/admin/inc/inc_archives_all.php 查看文件

@@ -84,22 +84,22 @@ function GetFormItem($ctag)
$formitem = str_replace("~form~", $innertext, $formitem);
return $formitem;
} else if ($ctag->GetAtt("type") == "img") {
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:300px'><input name='".$fieldname."_bt' type='button' value='浏览' onClick=\"SelectImage('form1.$fieldname','big')\">\r\n";
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:260px'><input name='".$fieldname."_bt' type='button' value='浏览' onClick=\"SelectImage('form1.$fieldname','big')\">\r\n";
$formitem = str_replace("~name~", $ctag->GetAtt('itemname'), $formitem);
$formitem = str_replace("~form~", $innertext, $formitem);
return $formitem;
} else if ($ctag->GetAtt("type") == "media") {
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:300px'><input name='".$fieldname."_bt' type='button' value='浏览' onClick=\"SelectMedia('form1.$fieldname')\">\r\n";
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:260px'><input name='".$fieldname."_bt' type='button' value='浏览' onClick=\"SelectMedia('form1.$fieldname')\">\r\n";
$formitem = str_replace("~name~", $ctag->GetAtt('itemname'), $formitem);
$formitem = str_replace("~form~", $innertext, $formitem);
return $formitem;
} else if ($ctag->GetAtt("type") == "addon") {
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:300px'><input name='".$fieldname."_bt' type='button' value='浏览' onClick=\"SelectSoft('form1.$fieldname')\">\r\n";
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:260px'><input name='".$fieldname."_bt' type='button' value='浏览' onClick=\"SelectSoft('form1.$fieldname')\">\r\n";
$formitem = str_replace("~name~", $ctag->GetAtt('itemname'), $formitem);
$formitem = str_replace("~form~", $innertext, $formitem);
return $formitem;
} else if ($ctag->GetAtt("type") == "media") {
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:300px'><input name='".$fieldname."_bt' type='button' value='浏览' onClick=\"SelectMedia('form1.$fieldname')\">\r\n";
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:260px'><input name='".$fieldname."_bt' type='button' value='浏览' onClick=\"SelectMedia('form1.$fieldname')\">\r\n";
$formitem = str_replace("~name~", $ctag->GetAtt('itemname'), $formitem);
$formitem = str_replace("~form~", $innertext, $formitem);
return $formitem;
@@ -111,7 +111,7 @@ function GetFormItem($ctag)
} else {
if ($ctag->GetAtt('default') != "") $dfvalue = $ctag->GetAtt('default');
else $dfvalue = "";
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:200px' value='$dfvalue'>\r\n";
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:260px' value='$dfvalue'>\r\n";
$formitem = str_replace("~name~", $ctag->GetAtt('itemname'), $formitem);
$formitem = str_replace("~form~", $innertext, $formitem);
return $formitem;
@@ -309,22 +309,22 @@ function GetFormItemValue($ctag, $fvalue)
}
$ntag = $ndtp->GetTag("img");
$fvalue = trim($ntag->GetInnerText());
$innertext = "<input type='text' name='$fieldname' value='$fvalue' id='$fieldname' style='width:300px'><input name='".$fieldname."_bt' type='button' value='浏览' onClick=\"SelectImage('form1.$fieldname','big')\">\r\n";
$innertext = "<input type='text' name='$fieldname' value='$fvalue' id='$fieldname' style='width:260px'><input name='".$fieldname."_bt' type='button' value='浏览' onClick=\"SelectImage('form1.$fieldname','big')\">\r\n";
$formitem = str_replace("~name~", $ctag->GetAtt('itemname'), $formitem);
$formitem = str_replace("~form~", $innertext, $formitem);
return $formitem;
} else if ($ctag->GetAtt("type") == "media") {
$innertext = "<input type='text' name='$fieldname' value='$fvalue' id='$fieldname' style='width:300px'><input name='".$fieldname."_bt' type='button' value='浏览' onClick=\"SelectMedia('form1.$fieldname')\">\r\n";
$innertext = "<input type='text' name='$fieldname' value='$fvalue' id='$fieldname' style='width:260px'><input name='".$fieldname."_bt' type='button' value='浏览' onClick=\"SelectMedia('form1.$fieldname')\">\r\n";
$formitem = str_replace("~name~", $ctag->GetAtt('itemname'), $formitem);
$formitem = str_replace("~form~", $innertext, $formitem);
return $formitem;
} else if ($ctag->GetAtt("type") == "addon") {
$innertext = "<input type='text' name='$fieldname' id='$fieldname' value='$fvalue' style='width:300px'><input name='".$fieldname."_bt' type='button' value='浏览' onClick=\"SelectSoft('form1.$fieldname')\">\r\n";
$innertext = "<input type='text' name='$fieldname' id='$fieldname' value='$fvalue' style='width:260px'><input name='".$fieldname."_bt' type='button' value='浏览' onClick=\"SelectSoft('form1.$fieldname')\">\r\n";
$formitem = str_replace("~name~", $ctag->GetAtt('itemname'), $formitem);
$formitem = str_replace("~form~", $innertext, $formitem);
return $formitem;
} else {
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:200px' value='$fvalue'>\r\n";
$innertext = "<input type='text' name='$fieldname' id='$fieldname' style='width:260px' value='$fvalue'>\r\n";
$formitem = str_replace("~name~", $ctag->GetAtt('itemname'), $formitem);
$formitem = str_replace("~form~", $innertext, $formitem);
return $formitem;


+ 1
- 1
src/admin/member_do.php 查看文件

@@ -118,7 +118,7 @@ if ($dopost == "delmember") {
$win->AddHidden("randcode", $randcode);
$win->AddHidden("safecode", $safecode);
$win->AddTitle("您确定要删除(ID:".$id.")这个会员?");
$win->AddMsgItem(" 安全验证串:<input name='safecode' type='text' id='safecode' size='16' style='width:200px' /> (复制本代码:<span style='color:#dc3545'>$safecode</span>)", "30");
$win->AddMsgItem(" 安全验证串:<input name='safecode' type='text' id='safecode' size='16' style='width:260px' /> (复制本代码:<span style='color:#dc3545'>$safecode</span>)", "30");
$winform = $win->GetWindow("ok");
$win->Display();
}


+ 2
- 2
src/admin/mychannel_edit.php 查看文件

@@ -503,7 +503,7 @@ else if ($dopost == 'modifysearch') {
require_once(DEDEINC."/typelink/typelink.class.php");
$tl = new TypeLink(0);
$typeOptions = $tl->GetOptionArray(0, 0, $mid);
$forms .= "<br>栏目:<select name='typeid' style='width:200px'>\r\n";
$forms .= "<br>栏目:<select name='typeid' style='width:260px'>\r\n";
$forms .= "<option value='0' selected>不限栏目</option>\r\n";
$forms .= $typeOptions;
$forms .= "</select>";
@@ -529,7 +529,7 @@ else if ($dopost == 'modifysearch') {
require_once(DEDEINC."/typelink/typelink.class.php");
$tl = new TypeLink(0);
$typeOptions = $tl->GetOptionArray(0, 0, $mid);
$forms .= "<br>栏目:<select name='typeid' style='width:200px'>\r\n";
$forms .= "<br>栏目:<select name='typeid' style='width:260px'>\r\n";
$forms .= "<option value='0' selected>不限栏目</option>\r\n";
$forms .= $typeOptions;
$forms .= "</select>";


+ 1
- 1
src/admin/soft_edit.php 查看文件

@@ -56,7 +56,7 @@ if ($dopost != 'save') {
$islocal = $ctag->GetAtt('islocal');
if ($islocal != 1) $needmsg = "<input type='checkbox' name='del{$newRowStart}' value='1' /> 删除";
else $needmsg = '<button name="sel1" class="btn btn-success btn-sm" type="button" id="sel1" onClick="SelectSoft(\'form1.softurl'.$newRowStart.'\')">选取</button>';
$nForm .= "<div style='line-height:36px'>软件地址{$newRowStart}:<input type='text' name='softurl{$newRowStart}' value='".trim($ctag->GetInnerText())."' style='width:300px'> 服务器名称:<input type='text' name='servermsg{$newRowStart}' value='".$ctag->GetAtt("text")."' style='width:160px'>
$nForm .= "<div style='line-height:36px'>软件地址{$newRowStart}:<input type='text' name='softurl{$newRowStart}' value='".trim($ctag->GetInnerText())."' style='width:260px'> 服务器名称:<input type='text' name='servermsg{$newRowStart}' value='".$ctag->GetAtt("text")."' style='width:160px'>
<input type='hidden' name='islocal{$newRowStart}' value='{$islocal}' />
$needmsg
</div>\r\n";


+ 1
- 1
src/admin/sys_payment.php 查看文件

@@ -100,7 +100,7 @@ class Array2form
case 'text':
//生成文本编辑框
$valstr = (empty($formarry['value'])) ? "value=''" : "value='{$formarry['value']}'";
$reval_form = "<input type='text' name='{$key}' id='{$key}' style='width:300px' class='text'{$valstr}>";
$reval_form = "<input type='text' name='{$key}' id='{$key}' style='width:260px' class='text'{$valstr}>";
break;
case 'select':
//生成选择框


+ 1
- 1
src/admin/templets/ad_add.htm 查看文件

@@ -105,7 +105,7 @@
<td colspan="2"><?php
$tl = new TypeLink(0);
$typeOptions = $tl->GetOptionArray(0,0,0);
echo "<select name='typeid' style='width:300px'>\r\n";
echo "<select name='typeid' style='width:260px'>\r\n";
echo "<option value='0' selected>投放在没有同名标识的所有栏目</option>\r\n";
echo $typeOptions;
echo "</select>";


+ 1
- 1
src/admin/templets/ad_edit.htm 查看文件

@@ -71,7 +71,7 @@
<td colspan="2"><?php
$tl = new TypeLink(0);
$typeOptions = $tl->GetOptionArray($row['typeid'],0,0);
echo "<select name='typeid' style='width:300px'>\r\n";
echo "<select name='typeid' style='width:260px'>\r\n";
echo "<option value='0' selected>投放在没有同名标识的所有栏目</option>\r\n";
echo $typeOptions;
echo "</select>";


+ 1
- 1
src/admin/templets/album_add.htm 查看文件

@@ -324,7 +324,7 @@ table{border-collapse:separate}
<table width="800" border="0" cellspacing="0" cellpadding="0" height="100">
<tr>
<td width="90">&nbsp;压缩包文件:</td>
<td><input type='text' name='zipfile' id='zipfile' style='width:300px'>
<td><input type='text' name='zipfile' id='zipfile' style='width:260px'>
<button name='addon_bt' type='button' onClick="SelectSoft('form1.zipfile')" class="btn btn-success btn-sm">浏览</button>
<label><input name="delzip" type="checkbox" id="delzip" value="1" checked="checked">
处理后删除压缩文件</label></td>


+ 1
- 1
src/admin/templets/album_edit.htm 查看文件

@@ -423,7 +423,7 @@ table{border-collapse:separate}
<td height="26" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0" height="100">
<tr>
<td width="90">&nbsp;压缩包文件:</td>
<td><input type='text' name='zipfile' id='zipfile' style='width:300px'>
<td><input type='text' name='zipfile' id='zipfile' style='width:260px'>
<button name='addon_bt' type='button' class='btn btn-success btn-sm' onClick="SelectSoft('form1.zipfile')">浏览</button>
<label><input name="delzip" type="checkbox" id="delzip" value="1" checked="checked">
处理后删除压缩文件</label>


+ 1
- 1
src/admin/templets/content_batch_up.htm 查看文件

@@ -74,7 +74,7 @@
<?php
$tl = new TypeLink(0);
$typeOptions = $tl->GetOptionArray(0,$admin_catalogs,0,1);
echo "<select name='typeid' style='width:300px'>\r\n";
echo "<select name='typeid' style='width:260px'>\r\n";
echo "<option value='0' selected>不限栏目</option>\r\n";
echo $typeOptions;
echo "</select>";


+ 3
- 3
src/admin/templets/file_upload.htm 查看文件

@@ -16,12 +16,12 @@
{
i++;
myob = document.getElementById("upfield");
myob.innerHTML+="<p>文件"+i+":<input type='file' name='upfile"+i+"' style='width:300px'></p>";
myob.innerHTML+="<p>文件"+i+":<input type='file' name='upfile"+i+"' style='width:260px'></p>";
}
function reset_upload()
{
myob = document.getElementById("upfield");
myob.innerHTML="<p>文件1:<input type='file' name='upfile1' style='width:300px'></p>";
myob.innerHTML="<p>文件1:<input type='file' name='upfile1' style='width:260px'></p>";
}
</script>
<form method="POST" enctype="multipart/form-data" action="file_manage_control.php" name="form1">
@@ -38,7 +38,7 @@
<tr>
<td width="10%"></td>
<td width="90%">
<div id="upfield"><p>文件1:<input type='file' name='upfile1' style='width:300px'></p></div>
<div id="upfield"><p>文件1:<input type='file' name='upfile1' style='width:260px'></p></div>
</td>
</tr>
<tr>


+ 1
- 1
src/admin/templets/makehtml_archives.htm 查看文件

@@ -32,7 +32,7 @@
if(empty($cid)) $cid="0";
$tl = new TypeLink($cid);
$typeOptions = $tl->GetOptionArray($cid,$admin_catalogs,0);
echo "<select name='typeid' style='width:300px'>\r\n";
echo "<select name='typeid' style='width:260px'>\r\n";
if($cid=="0") echo "<option value='0' selected>更新所有文档</option>\r\n";
echo $typeOptions;
echo "</select>";


+ 1
- 1
src/admin/templets/makehtml_js.htm 查看文件

@@ -36,7 +36,7 @@
if(empty($cid)) $cid="0";
$tl = new TypeLink($cid);
$typeOptions = $tl->GetOptionArray($cid,$admin_catalogs,0,1);
echo "<select name='typeid' style='width:300px'>\r\n";
echo "<select name='typeid' style='width:260px'>\r\n";
if($cid=="0") echo "<option value='0' selected>所有栏目</option>\r\n";
echo $typeOptions;
echo "</select>";


+ 1
- 1
src/admin/templets/makehtml_list.htm 查看文件

@@ -30,7 +30,7 @@
if(empty($cid)) $cid=0;
$tl = new TypeLink($cid);
$typeOptions = $tl->GetOptionArray($cid,$admin_catalogs,0,1);
echo "<select name='typeid' style='width:300px'>\r\n";
echo "<select name='typeid' style='width:260px'>\r\n";
if($cid=='0') echo "<option value='0' selected='1'>更新所有栏目</option>\r\n";
echo $typeOptions;
echo "</select>";


+ 1
- 1
src/admin/templets/makehtml_taglist.htm 查看文件

@@ -66,7 +66,7 @@
<tr>
<td width="300" valign="top" bgcolor="#ffffff">输入标签:</td>
<td width="377" valign="top" bgcolor="#ffffff">
<select id='tagid' name='tagid' style='width:300px'></select>(请输入标签搜索)
<select id='tagid' name='tagid' style='width:260px'></select>(请输入标签搜索)
</td>
</tr>
<?php


+ 6
- 6
src/admin/templets/media_add.htm 查看文件

@@ -34,7 +34,7 @@
var endNum = Number(document.form1.picnum.value) + startNum;
if (endNum > 40) endNum = 40;
for (startNum; startNum <= endNum; startNum++) {
upfield.innerHTML += "<input type='file' name='upfile" + startNum + "' style='width:300px' size='30' class='pubinputs' /><br>";
upfield.innerHTML += "<input type='file' name='upfile" + startNum + "' style='width:260px' size='30' class='pubinputs' /><br>";
}
}
function ResetUpload() {
@@ -110,11 +110,11 @@
<tr>
<td align="center" bgcolor="#ffffff"></td>
<td bgcolor="#ffffff" style="text-align:left">
<input name="upfile1" type="file" id="upfile1" style='width:300px' size='30' class='pubinputs' /><br>
<input name="upfile2" type="file" id="upfile2" style='width:300px' size='30' class='pubinputs' /><br>
<input name="upfile3" type="file" id="upfile3" style='width:300px' size='30' class='pubinputs' /><br>
<input name="upfile4" type="file" id="upfile4" style='width:300px' size='30' class='pubinputs' /><br>
<input name="upfile5" type="file" id="upfile5" style='width:300px' size='30' class='pubinputs' /><br>
<input name="upfile1" type="file" id="upfile1" style='width:260px' size='30' class='pubinputs' /><br>
<input name="upfile2" type="file" id="upfile2" style='width:260px' size='30' class='pubinputs' /><br>
<input name="upfile3" type="file" id="upfile3" style='width:260px' size='30' class='pubinputs' /><br>
<input name="upfile4" type="file" id="upfile4" style='width:260px' size='30' class='pubinputs' /><br>
<input name="upfile5" type="file" id="upfile5" style='width:260px' size='30' class='pubinputs' /><br>
<span id='uploadfield'></span>
</td>
</tr>


+ 1
- 1
src/admin/templets/media_edit.htm 查看文件

@@ -115,7 +115,7 @@
<tr>
<td height="26" align="center" bgcolor="#ffffff" class='bline'>修改文件:</td>
<td align="left" bgcolor="#ffffff" class='bline'>
<input name="upfile" type="file" id="upfile" style='width:300px' size='30'>
<input name="upfile" type="file" id="upfile" style='width:260px' size='30'>
</td>
</tr>
<tr>


+ 1
- 1
src/admin/templets/module_main.htm 查看文件

@@ -20,7 +20,7 @@
</script>
</head>
<body background="../static/web/img/allbg.gif" leftmargin="8" topmargin="8">
<div class="alert alert-info mb-0 maintable mt-3 mb-3" style="margin:0 auto">从DedeBIZV6开始,启动了<a href="<?php echo $cfg_biz_dedebizUrl; ?>/license_developer" target="_blank">DedeBIZ商业开发者计划</a>,为了保障系统及技术服务安全,请认准DedeBIZ商业认证开发者</div>
<div class="alert alert-info maintable mt-3 mb-3" style="margin:0 auto">从DedeBIZV6开始,启动了<a href="<?php echo $cfg_biz_dedebizUrl; ?>/license_developer" target="_blank">DedeBIZ商业开发者计划</a>,为了保障系统及技术服务安全,请认准DedeBIZ商业认证开发者</div>
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="table maintable">
<form name="form1" action="plus_add.php" method="post">
<input type='hidden' name='dopost' value='save'>


+ 1
- 1
src/admin/templets/mytag_add.htm 查看文件

@@ -79,7 +79,7 @@
<?php
$tl = new TypeLink(0);
$typeOptions = $tl->GetOptionArray(0,0,0);
echo "<select name='typeid' style='width:300px'>\r\n";
echo "<select name='typeid' style='width:260px'>\r\n";
echo "<option value='0' selected>显示在没有继承本标记的所有栏目</option>\r\n";
echo $typeOptions;
echo "</select>";


+ 1
- 1
src/admin/templets/mytag_edit.htm 查看文件

@@ -23,7 +23,7 @@
<?php
$tl = new TypeLink(0);
$typeOptions = $tl->GetOptionArray($row['typeid'],0,0);
echo "<select name='typeid' style='width:300px'>\r\n";
echo "<select name='typeid' style='width:260px'>\r\n";
echo "<option value='0' selected>显示在没有继承本标记的所有栏目</option>\r\n";
echo $typeOptions;
echo "</select>";


+ 3
- 3
src/admin/templets/soft_add.htm 查看文件

@@ -35,7 +35,7 @@
var endNum = parseInt(document.form1.picnum.value) + startNum - 1;
if (endNum > 30) endNum = 30;
for (startNum; startNum <= endNum; startNum++) {
upfield.innerHTML += "<div style='line-height:36px'>软件地址" + startNum + ":<input type='text' name='softurl" + startNum + "' value='http://' style='width:300px'> 服务器名称:<input type='text' name='servermsg" + startNum + "' style='width:160px'></div>";
upfield.innerHTML += "<div style='line-height:36px'>软件地址" + startNum + ":<input type='text' name='softurl" + startNum + "' value='http://' style='width:260px'> 服务器名称:<input type='text' name='servermsg" + startNum + "' style='width:160px'></div>";
}
}
function ShowHideAddr() {
@@ -306,7 +306,7 @@ table{border-collapse:separate}
<table width="800" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;运行环境:</td>
<td><input type='text' name='os' value='Win2003,WinXP,Win2000,Win9X' style='width:300px'></td>
<td><input type='text' name='os' value='Win2003,WinXP,Win2000,Win9X' style='width:260px'></td>
</tr>
</table>
</td>
@@ -397,7 +397,7 @@ table{border-collapse:separate}
?>
<?php echo $sitename; ?>:
<input type='hidden' name='forconfig<?php echo $startNum; ?>' value='1'>
<input type='text' name='softurlfirst<?php echo $startNum; ?>' style='width:300px' value='<?php echo $siteurl; ?>'> +
<input type='text' name='softurlfirst<?php echo $startNum; ?>' style='width:260px' value='<?php echo $siteurl; ?>'> +
<input type='text' name='softurl<?php echo $startNum; ?>' style='width:160px' value=''> =
<input type='text' name='servermsg<?php echo $startNum; ?>' style='width:160px' value='<?php echo $sitename; ?>'>
<label><input type='checkbox' name='need<?php echo $startNum; ?>' class='np' value='1' checked> 启用</label>


+ 4
- 4
src/admin/templets/soft_edit.htm 查看文件

@@ -31,7 +31,7 @@
var endNum = parseInt(document.form1.picnum.value) + startNum;
if (endNum > 30) endNum = 30;
for (startNum; startNum < endNum; startNum++) {
upfield.innerHTML += "<div style='line-height:36px'>软件地址" + startNum + ":<input type='text' name='softurl" + startNum + "' value='http://' style='width:300px'> 服务器名称:<input type='text' name='servermsg" + startNum + "' style='width:160px'></div>";
upfield.innerHTML += "<div style='line-height:36px'>软件地址" + startNum + ":<input type='text' name='softurl" + startNum + "' value='http://' style='width:260px'> 服务器名称:<input type='text' name='servermsg" + startNum + "' style='width:160px'></div>";
}
}
function ShowHideAddr() {
@@ -311,7 +311,7 @@ table{border-collapse:separate}
<table width="800" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;运行环境:</td>
<td><input type='text' name='os' value='<?php echo $addRow["os"]?>' style='width:300px'></td>
<td><input type='text' name='os' value='<?php echo $addRow["os"]?>' style='width:260px'></td>
</tr>
</table>
</td>
@@ -321,9 +321,9 @@ table{border-collapse:separate}
<table width="800" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;官方网址:</td>
<td width="310"><input name="officialUrl" type="text" id="officialUrl" value="<?php echo $addRow['officialUrl']?>" style='width:300px'></td>
<td width="310"><input name="officialUrl" type="text" id="officialUrl" value="<?php echo $addRow['officialUrl']?>" style='width:260px'></td>
<td width="90">程序演示:</td>
<td><input name="officialDemo" type="text" id="officialDemo" value="<?php echo $addRow['officialDemo']?>" style='width:300px'></td>
<td><input name="officialDemo" type="text" id="officialDemo" value="<?php echo $addRow['officialDemo']?>" style='width:260px'></td>
</tr>
</table>
</td>


+ 1
- 1
src/admin/templets/tag_test.htm 查看文件

@@ -58,7 +58,7 @@
if(empty($cid)) $cid="0";
$tl = new TypeLink($cid);
$typeOptions = $tl->GetOptionArray($cid,$admin_catalogs,0);
echo "<select name='typeid' style='width:300px'>\r\n";
echo "<select name='typeid' style='width:260px'>\r\n";
if($cid=="0") echo "<option value='0' selected>不使用环境ID</option>\r\n";
echo $typeOptions;
echo "</select>";


+ 2
- 5
src/admin/templets/templets_one_add.htm 查看文件

@@ -96,9 +96,7 @@
</tr>
<tr>
<td height="26" colspan="2">
<div class="alert alert-warning">
内容:(模板里用{dede:field name='body'/}来获得)
</div>
<div class="alert alert-warning mb-0">内容:模板里用{dede:field name='body'/}来获得</div>
</td>
</tr>
<tr>
@@ -109,10 +107,9 @@
</td>
</tr>
<tr>
<td height="53" align="center"></td>
<td height="36" align="center"></td>
<td>
<button type="submit" name="button1" id="button1" class="btn btn-success">确定</button>
&nbsp;&nbsp;&nbsp;&nbsp;
<button type="button" onClick="document.form1.reset();" class="btn btn-success">重置</button>
</td>
</tr>


+ 6
- 6
src/admin/templets/templets_one_edit.htm 查看文件

@@ -96,9 +96,7 @@ function checkSubmit()
</tr>
<tr>
<td height="26" colspan="2">
<div class="alert alert-warning">
内容:(模板里用{dede:field name='body'/}来获得文件内容)
</div>
<div class="alert alert-warning mb-0">内容:模板里用{dede:field name='body'/}来获得文件内容</div>
</td>
</tr>
<tr>
@@ -107,9 +105,11 @@ function checkSubmit()
</td>
</tr>
<tr>
<td height="53" align="center"></td>
<td><button type="submit" name="button1" id="button1" class="btn btn-success">确定</button>  
<button type="button" onClick="document.form1.reset();" class="btn btn-success">重置</button></td>
<td height="36" align="center"></td>
<td>
<button type="submit" name="button1" id="button1" class="btn btn-success">确定</button>  
<button type="button" onClick="document.form1.reset();" class="btn btn-success">重置</button>
</td>
</tr>
</form>
</table>


+ 1
- 1
src/static/web/js/select2.full.min.js
文件差異過大導致無法顯示
查看文件


+ 1
- 1
src/static/web/js/select2.min.js
文件差異過大導致無法顯示
查看文件


+ 1
- 1
src/static/web/js/style.js 查看文件

@@ -91,7 +91,7 @@ function CloseModal(modalID) {
}
//在某个元素内显示alert信息
function ShowAlert(ele, content, type, showtime = 3000) {
let msg = `<div class="alert alert-${type}" role="alert">
let msg = `<div class="alert alert-${type}">
${content}
</div>`;
$(ele).html(msg);


+ 1
- 1
src/system/helpers/channelunit.helper.php 查看文件

@@ -483,7 +483,7 @@ function MakeOneTag(&$dtp, &$refObj, $parfield = 'Y')
if (PHP_SAPI === 'cli') {
echo '标签:'.$tagname.'载入花费时间:'.$queryTime."\r\n";
} else {
echo '<div style="color: #856404;background-color: #fff3cd;border-color: #ffeeba;position: relative;padding: .75rem 1.25rem;margin-bottom: 1rem;border: 1px solid transparent;border-radius: .25rem;" class="alert alert-warning mb-0" role="alert">标签:'.$tagname.'载入花费时间:'.$queryTime."</div>\r\n";
echo '<div style="color:#856404;background-color:#fff3cd;border-color:#ffeeba;position:relative;padding:.75rem 1.25rem;margin-bottom:1rem;border:1px solid transparent;border-radius:.25rem" class="alert alert-warning">标签:'.$tagname.'载入花费时间:'.$queryTime."</div>\r\n";
}
}


+ 1
- 1
src/theme/plus/heightsearch.htm 查看文件

@@ -22,7 +22,7 @@
<?php
$tl = new TypeLink(0);
$typeOptions = $tl->GetOptionArray(0,0,0);
echo "<select name='typeid' style='width:200px' class='form-control'>\r\n";
echo "<select name='typeid' style='width:260px' class='form-control'>\r\n";
echo "<option value='0' selected>不限栏目</option>\r\n";
echo $typeOptions;
echo "</select>";


+ 1
- 1
src/theme/templets/article_default.htm 查看文件

@@ -40,7 +40,7 @@
<small>点击:</small><span id="_count">...</span>次
</div>
<div>
<div class="alert alert-warning mt-2" role="alert">
<div class="alert alert-warning mt-2">
您会看到这个提示,那是因为您的系统无法识别某栏目的模型信息,或者您新建模型后,没为这个模型设计单独的模板不同模型的文档浏览页的模板为:article_模型名字标识.htm
如“article_article.htm”,更多的信息您可以在频道模型管理的地方查看
</div>


+ 1
- 1
src/theme/templets/article_default_sg.htm 查看文件

@@ -43,7 +43,7 @@
<small>点击:</small><span id="_count">...</span>次
</div>
<div>
<div class="alert alert-warning mt-2" role="alert">
<div class="alert alert-warning mt-2">
您会看到这个提示,那是因为您的系统无法识别某栏目的模型信息,或者您新建模型后,没为这个模型设计单独的模板不同模型的文档浏览页的模板为:article_模型名字标识.htm
如“article_article.htm”,更多的信息您可以在频道模型管理的地方查看
</div>


+ 1
- 1
src/theme/templets/article_infos.htm 查看文件

@@ -44,7 +44,7 @@
<p><small>电子邮箱:</small><span>{dede:field.email/}</span></p>
<p><small>地址:</small><span>{dede:field.address /}</span></p>
<p>信息描述</p>
<div role="alert">
<div>
{dede:field.body/}
</div>
</div>


+ 1
- 1
src/theme/templets/article_shop.htm 查看文件

@@ -48,7 +48,7 @@
<p><small>购买:</small><span><button type="submit" name="button" class="btn btn-warning">放入购物车</button></span></p>
</form>
<p>商品介绍</p>
<div role="alert">
<div>
{dede:field.body/}
</div>
</div>


+ 1
- 1
src/theme/templets/article_soft.htm 查看文件

@@ -47,7 +47,7 @@
<p><small>下载次数:</small><span><script src="{dede:field.phpurl/}/disdls.php?aid={dede:field.id/}" language="javascript"></script></span></p>
<p><small>详细介绍:</small><span>{dede:field.introduce/}</span></p>
<p>下载说明</p>
<div class="alert alert-success" role="alert">
<div class="alert alert-success">
{dede:softmsg/}
</div>
<p>下载地址</p>


+ 1
- 1
src/user/templets/buy.htm 查看文件

@@ -29,7 +29,7 @@
</span>
</nav>
<div id="mainCp">
<div class="alert alert-success" role="alert">
<div class="alert alert-success">
<?php echo $cfg_ml->GetSta($dsql); ?>
</div>
<!--内容消息提示 -->


+ 1
- 1
src/user/templets/buy_action_payment.htm 查看文件

@@ -31,7 +31,7 @@
</nav>
<div id="mainCp">
<h5 class="meTitle">订单确认</h5>
<div class="alert alert-success" role="alert">
<div class="alert alert-success">
您申请购买的产品如下,确认无误后请点击“购买并支付”按钮,进行网上支付,如果支付失败,请与管理员联系其它支付方式:
</div>
<div class="postForm">


Loading…
取消
儲存