Browse Source

调整窗口

tags/6.2.0
xushubieli 1 year ago
parent
commit
29aa22a822
12 changed files with 186 additions and 170 deletions
  1. +9
    -5
      src/admin/templets/article_coonepage_rule.htm
  2. +1
    -1
      src/admin/templets/article_keywords_main.htm
  3. +7
    -3
      src/admin/templets/diy_list.htm
  4. +1
    -1
      src/admin/templets/freelist_add.htm
  5. +32
    -32
      src/admin/templets/freelist_edit.htm
  6. +13
    -9
      src/admin/templets/module_main.htm
  7. +53
    -53
      src/admin/templets/mychannel_edit.htm
  8. +43
    -43
      src/admin/templets/mytag_tag_guide.htm
  9. +3
    -2
      src/admin/templets/shops_operations_cart.htm
  10. +1
    -1
      src/admin/templets/stepselect_main.htm
  11. +1
    -1
      src/admin/templets/sys_payment_install.htm
  12. +22
    -19
      src/admin/templets/templets_default.htm

+ 9
- 5
src/admin/templets/article_coonepage_rule.htm View File

@@ -69,10 +69,14 @@
</head>
<body>
<table width="100%" cellpadding="2" align="center" cellspacing="1" class="table maintable my-3">
<tr bgcolor="#f8f8f8">
<td colspan="6">
<span class="float-left py-2">单页采集规则管理</span>
<span class="float-right mr-2"><a href="javascript:ShowAddNode();" class="btn btn-success btn-sm">增加新网址</a></span>
<tr>
<td colspan="6" bgcolor="#f8f8f8">
<table width="98%" cellpadding="0" cellspacing="0" class="table table-borderless">
<tr>
<td width="30%">单页采集规则管理</td>
<td width="70%" align="right"><a href="javascript:ShowAddNode();" class="btn btn-success btn-sm">增加新网址</a></td>
</tr>
</table>
</td>
</tr>
<form name="form2">
@@ -106,7 +110,7 @@
</tr>
</form>
<tr>
<td colspan="6" bgcolor="#f8f8f8" align="center" class="py-2">{dede:pagelist listsize='6'/}</td>
<td colspan="6" bgcolor="#f8f8f8" align="center" class="py-2">{dede:pagelist listsize='6'/}</td>
</tr>
</table>
<!--下面是隐藏的栏目增加修改表单-->


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

@@ -67,7 +67,7 @@
</tr>
</form>
<tr>
<td colspan="5" bgcolor="#f8f8f8" align="center" class="py-2">{dede:pagelist listsize='6'/}</td>
<td colspan="5" bgcolor="#f8f8f8" align="center" class="py-2">{dede:pagelist listsize='6'/}</td>
</tr>
</table>
</body>

+ 7
- 3
src/admin/templets/diy_list.htm View File

@@ -27,9 +27,13 @@
<input type="hidden" name="diyid" value="<?php echo $diyid;?>">
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="table maintable my-3">
<tr>
<td bgcolor="#f8f8f8" colspan="3">
<span class="float-left py-2"><a href="diy_main.php">自定义表单管理</a> &gt; <?php echo $diy->name;?></span>
<span class="float-right mr-2"><a href="/apps/diy.php?action=list&diyid=<?php echo $diy->diyid;?>" target="_blank"><i class="fa fa-globe" title="前台预览"></i> 前台预览</a></span>
<td colspan="3" bgcolor="#f8f8f8">
<table width="98%" cellpadding="0" cellspacing="0" class="table table-borderless">
<tr>
<td width="30%"><a href="diy_main.php">自定义表单管理</a> &gt; <?php echo $diy->name;?></td>
<td width="70%" align="right"><a href="/apps/diy.php?action=list&diyid=<?php echo $diy->diyid;?>" target="_blank" class="btn btn-success btn-sm">前台预览</a></td>
</tr>
</table>
</td>
</tr>
{dede:datalist}


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

@@ -7,10 +7,10 @@
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<link rel="stylesheet" href="css/codemirror.css">
<script src="../static/web/js/jquery.min.js"></script>
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<script src="js/main.js"></script>
<link rel="stylesheet" href="css/codemirror.css">
<script src="js/codemirror.js"></script>
<script src="js/mode/xml/xml.js"></script>
<script src="js/mode/javascript/javascript.js"></script>


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

@@ -7,41 +7,10 @@
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
<link rel="stylesheet" href="../static/web/css/admin.css">
<link rel="stylesheet" href="css/codemirror.css">
<script src="../static/web/js/jquery.min.js"></script>
<script src="../static/web/js/bootstrap.bundle.min.js"></script>
<script src="js/main.js"></script>
<script>
function ChangeListStyle() {
var itxt = document.getElementById("myinnertext");
var myems = document.getElementsByName("liststyle");
if (myems[0].checked) itxt.value = document.getElementById("list1").innerHTML;
else if (myems[1].checked) itxt.value = document.getElementById("list2").innerHTML;
else if (myems[2].checked) itxt.value = document.getElementById("list3").innerHTML;
else if (myems[3].checked) itxt.value = document.getElementById("list4").innerHTML;
itxt.value = itxt.value.replace("<br>", "<br>");
itxt.value = itxt.value.toLowerCase();
}
function ShowHide(objname) {
var obj = document.getElementById(objname);
if (obj.style.display == "block" || obj.style.display == "")
obj.style.display = "none";
else
obj.style.display = "block";
}
function SelectTemplets(fname) {
var pos = GetWinPos(800,600);
window.open("./dialog/select_templets.php?&activepath=<?php echo urlencode($cfg_templets_dir)?>&f=" + fname, "poptempWin", "scrollbars=yes,resizable=yes,statebar=no,width=800,height=600,left=" + pos.left + ", top=" + pos.top);
}
function CheckSubmit() {
if (document.form1.title.value == "") {
ShowMsg("自由列表标题标题不能为空");
document.form1.title.focus();
return false;
}
return true;
}
</script>
<link rel="stylesheet" href="css/codemirror.css">
<script src="js/codemirror.js"></script>
<script src="js/mode/xml/xml.js"></script>
<script src="js/mode/javascript/javascript.js"></script>
@@ -242,6 +211,37 @@
</form>
</table>
</center>
<script>
function ChangeListStyle() {
var itxt = document.getElementById("myinnertext");
var myems = document.getElementsByName("liststyle");
if (myems[0].checked) itxt.value = document.getElementById("list1").innerHTML;
else if (myems[1].checked) itxt.value = document.getElementById("list2").innerHTML;
else if (myems[2].checked) itxt.value = document.getElementById("list3").innerHTML;
else if (myems[3].checked) itxt.value = document.getElementById("list4").innerHTML;
itxt.value = itxt.value.replace("<br>", "<br>");
itxt.value = itxt.value.toLowerCase();
}
function ShowHide(objname) {
var obj = document.getElementById(objname);
if (obj.style.display == "block" || obj.style.display == "")
obj.style.display = "none";
else
obj.style.display = "block";
}
function SelectTemplets(fname) {
var pos = GetWinPos(800,600);
window.open("./dialog/select_templets.php?&activepath=<?php echo urlencode($cfg_templets_dir)?>&f=" + fname, "poptempWin", "scrollbars=yes,resizable=yes,statebar=no,width=800,height=600,left=" + pos.left + ", top=" + pos.top);
}
function CheckSubmit() {
if (document.form1.title.value == "") {
ShowMsg("自由列表标题标题不能为空");
document.form1.title.focus();
return false;
}
return true;
}
</script>
<script>
var editor = CodeMirror.fromTextArea(document.getElementById('myinnertext'), {
lineNumbers: true,


+ 13
- 9
src/admin/templets/module_main.htm View File

@@ -25,15 +25,19 @@
<form name="form1" action="plus_add.php" method="post">
<input type="hidden" name="dopost" value="save">
<tr>
<td bgcolor="#f8f8f8" colspan="6">
<span class="float-left py-2"><a href="module_main.php">模块管理</a> &gt; 模块列表</span>
<span class="float-right mr-2">
<a class="btn btn-success btn-sm" href="module_main.php">全部</a>
<a class="btn btn-success btn-sm" href="module_main.php?moduletype=soft">模块</a>
<a class="btn btn-success btn-sm" href="module_main.php?moduletype=templets">模板</a>
<a class="btn btn-success btn-sm" href="module_main.php?moduletype=plus">小插件</a>
<a class="btn btn-success btn-sm" href="module_main.php?moduletype=patch">补丁</a>
</div>
<td colspan="6" bgcolor="#f8f8f8">
<table width="98%" cellpadding="0" cellspacing="0" class="table table-borderless">
<tr>
<td width="30%"><a href="module_main.php">模块管理</a> &gt; 模块列表</td>
<td width="70%" align="right">
<a class="btn btn-success btn-sm" href="module_main.php">全部</a>
<a class="btn btn-success btn-sm" href="module_main.php?moduletype=soft">模块</a>
<a class="btn btn-success btn-sm" href="module_main.php?moduletype=templets">模板</a>
<a class="btn btn-success btn-sm" href="module_main.php?moduletype=plus">小插件</a>
<a class="btn btn-success btn-sm" href="module_main.php?moduletype=patch">补丁</a>
</td>
</tr>
</table>
</td>
</tr>
<tr>


+ 53
- 53
src/admin/templets/mychannel_edit.htm View File

@@ -13,53 +13,6 @@
<script src="js/mode/javascript/javascript.js"></script>
<script src="js/mode/css/css.js"></script>
<script src="js/mode/htmlmixed/htmlmixed.js"></script>
<script>
function Nav() {
if (window.navigator.userAgent.indexOf("MSIE") >= 1) return 'IE';
else if (window.navigator.userAgent.indexOf("Firefox") >= 1) return 'FF';
else return "OT";
}
function $Obj(objname) {
return document.getElementById(objname);
}
function ShowHide2(objname) {
var obj = $Obj(objname);
if (obj.style.display != 'block') { obj.style.display = 'block' }
else { obj.style.display = 'none'; }
}
//删除
function DelNote(gourl) {
if (!window.confirm("您确认要删除这个字段吗")) { return false; }
location.href = gourl;
}
function ShowObj(objname) {
var obj = document.getElementById(objname);
if (Nav() == 'IE') { obj.style.display = "block"; obj.style.display = "block"; }
else obj.style.display = "table";
}
function HideObj(objname) {
var obj = document.getElementById(objname);
obj.style.display = "none";
}
function ShowItem1() {
ShowObj('head1'); ShowObj('needset');
HideObj('head2'); HideObj('adset');
}
var editor = null;
function ShowItem2() {
setTimeout(() => {
if (!editor) {
editor = CodeMirror.fromTextArea(document.getElementById('fieldset'), {
lineNumbers: true,
lineWrapping: true,
mode: 'text/html'
});
}
}, 100);
ShowObj('head2'); ShowObj('adset');
HideObj('head1'); HideObj('needset');
}
</script>
</head>
<body>
<form name="form1" action="mychannel_edit.php" method="post">
@@ -342,11 +295,58 @@
</tr>
</table>
</form>
<?php
if (!empty($openfield))
{
echo "<script>ShowItem2();</script>";
}
?>
<script>
function Nav() {
if (window.navigator.userAgent.indexOf("MSIE") >= 1) return 'IE';
else if (window.navigator.userAgent.indexOf("Firefox") >= 1) return 'FF';
else return "OT";
}
function $Obj(objname) {
return document.getElementById(objname);
}
function ShowHide2(objname) {
var obj = $Obj(objname);
if (obj.style.display != 'block') { obj.style.display = 'block' }
else { obj.style.display = 'none'; }
}
//删除
function DelNote(gourl) {
if (!window.confirm("您确认要删除这个字段吗")) { return false; }
location.href = gourl;
}
function ShowObj(objname) {
var obj = document.getElementById(objname);
if (Nav() == 'IE') { obj.style.display = "block"; obj.style.display = "block"; }
else obj.style.display = "table";
}
function HideObj(objname) {
var obj = document.getElementById(objname);
obj.style.display = "none";
}
function ShowItem1() {
ShowObj('head1'); ShowObj('needset');
HideObj('head2'); HideObj('adset');
}
var editor = null;
function ShowItem2() {
setTimeout(() => {
if (!editor) {
editor = CodeMirror.fromTextArea(document.getElementById('fieldset'), {
lineNumbers: true,
lineWrapping: true,
mode: 'text/html'
});
}
}, 100);
ShowObj('head2'); ShowObj('adset');
HideObj('head1'); HideObj('needset');
}
</script>
<?php
if (!empty($openfield))
{
echo "<script>ShowItem2();</script>";
}
?>
</body>
</html>

+ 43
- 43
src/admin/templets/mytag_tag_guide.htm View File

@@ -15,37 +15,12 @@
<script src="js/mode/javascript/javascript.js"></script>
<script src="js/mode/css/css.js"></script>
<script src="js/mode/htmlmixed/htmlmixed.js"></script>
<script>
var editor = CodeMirror.fromTextArea(document.getElementById('myinnertext'), {
lineNumbers: true,
lineWrapping: true,
mode: 'text/html'
});
function ChangeListStyle() {
var itxt = document.getElementById("myinnertext");
var myems = document.getElementsByName("liststyle");
if (myems[0].checked) editor.setValue(document.getElementById("list1").innerHTML);
else if (myems[1].checked) editor.setValue(document.getElementById("list2").innerHTML);
else if (myems[2].checked) editor.setValue(document.getElementById("list3").innerHTML);
else if (myems[3].checked) editor.setValue(document.getElementById("list4").innerHTML);
itxt.value = itxt.value.replace("<BR>", "<br>");
itxt.value = itxt.value.toLowerCase();
}
function DoSubmit(j) {
document.form1.dopost.value = j;
document.form1.submit();
}
function SelectArcList(fname) {
var pos = GetWinPos(800,600);
window.open("content_select_list.php?f=" + fname, "selArcList", "scrollbars=yes,resizable=yes,statebar=no,width=800,height=600,left=" + pos.left + ", top=" + pos.top);
}
</script>
</head>
<body>
<center>
<span style="display:none" id="list1">·[field:textlink/]([field:pubdate function=MyDate('m-d',@me)/])</span>
<span style="display:none" id="list2">·[field:typelink/] [field:textlink/]</span>
<span style="display:none" id="list3">
<span id="list1" style="display:none">[field:textlink/]([field:pubdate function=MyDate('m-d',@me)/])</span>
<span id="list2" style="display:none">[field:typelink/] [field:textlink/]</span>
<span id="list3" style="display:none">
<table width="98%" cellspacing="2" cellpadding="0">
<tr>
<td align="center">[field:imglink/]</td>
@@ -107,7 +82,7 @@
echo "<option value='0' selected>不限栏目</option>";
echo $typeOptions;
echo "</select>";
?>
?>
</td>
</tr>
<tr>
@@ -116,25 +91,25 @@
echo "<select name='channel' class='biz-input-sm'>";
echo "<option value='0' selected>不限频道</option>";
$tl->dsql->SetQuery("Select id,typename From `#@__channeltype` where id>0");
$tl->dsql->Execute();
while($row = $tl->dsql->GetObject())
{
echo "<option value='{$row->id}'>{$row->typename}</option>";
}
$tl->dsql->Execute();
while($row = $tl->dsql->GetObject())
{
echo "<option value='{$row->id}'>{$row->typename}</option>";
}
echo "</select>";
?>
?>
附加属性:
<?php
echo "<select name='att' class='biz-input-sm'>";
echo "<option value='0' selected>不限</option>";
$tl->dsql->SetQuery("SELECT * FROM `#@__arcatt`");
$tl->dsql->Execute();
while($row = $tl->dsql->GetObject())
{
echo "<option value='{$row->att}'>{$row->attname}</option>";
}
$tl->dsql->Execute();
while($row = $tl->dsql->GetObject())
{
echo "<option value='{$row->att}'>{$row->attname}</option>";
}
echo "</select>";
?>
?>
</td>
</tr>
<tr>
@@ -180,10 +155,10 @@
<td>单条记录样式(InnerText):</td>
</tr>
<tr>
<td><textarea name="innertext" id="myinnertext" class="biz-textarea">·[field:textlink/]([field:pubdate function=MyDate('m-d',@me)/])<br></textarea></td>
<td><textarea name="innertext" id="myinnertext" class="biz-textarea">[field:textlink/]([field:pubdate function=MyDate('m-d',@me)/])<br></textarea></td>
</tr>
<tr>
<td>支持字段:id,title,color,typeid,ismake,description,pubdate,senddate,arcrank,click,litpic,typedir,typename,arcurl,typeurl,stime(pubdate 的&quot;0000-00-00&quot;格式),textlink,typelink,imglink,image普通字段直接用[field:字段名/]表示·Pubdate发布时间的调用参数[field:pubdate function=MyDate('Y-m-d H:i:s',@me)/]</td>
<td>支持字段:id,title,color,typeid,ismake,description,pubdate,senddate,arcrank,click,litpic,typedir,typename,arcurl,typeurl,stime(pubdate 的&quot;0000-00-00&quot;格式),textlink,typelink,imglink,image普通字段直接用[field:字段名/]表示Pubdate发布时间的调用参数[field:pubdate function=MyDate('Y-m-d H:i:s',@me)/]</td>
</tr>
<tr>
<td>
@@ -205,5 +180,30 @@
</tr>
</table>
</center>
<script>
var editor = CodeMirror.fromTextArea(document.getElementById('myinnertext'), {
lineNumbers: true,
lineWrapping: true,
mode: 'text/html'
});
function ChangeListStyle() {
var itxt = document.getElementById("myinnertext");
var myems = document.getElementsByName("liststyle");
if (myems[0].checked) editor.setValue(document.getElementById("list1").innerHTML);
else if (myems[1].checked) editor.setValue(document.getElementById("list2").innerHTML);
else if (myems[2].checked) editor.setValue(document.getElementById("list3").innerHTML);
else if (myems[3].checked) editor.setValue(document.getElementById("list4").innerHTML);
itxt.value = itxt.value.replace("<BR>", "<br>");
itxt.value = itxt.value.toLowerCase();
}
function DoSubmit(j) {
document.form1.dopost.value = j;
document.form1.submit();
}
function SelectArcList(fname) {
var pos = GetWinPos(800,600);
window.open("content_select_list.php?f=" + fname, "selArcList", "scrollbars=yes,resizable=yes,statebar=no,width=800,height=600,left=" + pos.left + ", top=" + pos.top);
}
</script>
</body>
</html>

+ 3
- 2
src/admin/templets/shops_operations_cart.htm View File

@@ -72,8 +72,9 @@
{/dede:datalist}
<tr>
<td colspan="2" align="right">
<span class="float-left py-2"><button type="button" name="ss12" onClick="window.close();" class="btn btn-success btn-sm">关闭窗口</button></span>
<span class="float-right mr-2">订单总计:<span class="text-danger">{dede:field.priceCount/}</span>元 {dede:pagelist listsize='6'/}<span>
<button type="button" name="ss12" onClick="window.close();" class="btn btn-success btn-sm">关闭窗口</button>
<span class="text-danger">订单总计:{dede:field.priceCount/}</span>元
{dede:pagelist listsize='6'/}
</td>
</tr>
</table>


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

@@ -350,7 +350,7 @@
</td>
</tr>
{/dede:datalist}
<tr bgcolor="#f8f8f8" align="center" class="py-2">
<tr bgcolor="#f8f8f8" align="center" class="py-2">
<td colspan="7">{dede:pagelist listsize='6'/}</td>
</tr>
</table>


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

@@ -22,7 +22,7 @@
<input type="hidden" name="pm" value="<?php echo $pm;?>">
<input type="hidden" name="dopost" value="config">
<tr>
<td width="15%" align="center">支付名称:</td>
<td width="15%" align="center">支付名称:</td>
<td width="85%"><input type="text" name="pay_name" id="pay_name" value="<?php echo $row['name'];?>" size="30"></td>
</tr>
<tr>


+ 22
- 19
src/admin/templets/templets_default.htm View File

@@ -17,28 +17,31 @@
</head>
<body>
<table width="98%" cellspacing="1" cellpadding="0" align="center" class="table maintable my-3">
<tr align="center">
<td width="25%" bgcolor="#f8f8f8">文件名</td>
<td width="30%" bgcolor="#f8f8f8">文件描述</td>
<td width="25%" bgcolor="#f8f8f8">修改时间</td>
<td width="20%" bgcolor="#f8f8f8">操作</td>
</tr>
<tr>
<td colspan="4">
<span class="float-left py-2">
当前位置:
<?php
if ($acdir=='plus') echo '插件模板';
else if ($acdir=='system') echo '底层模板';
else echo '核心模板 &gt; '.$acdir;
?>
</span>
<span class="float-right mr-2">
<a class="btn btn-success btn-sm" href="templets_main.php">默认模板目录</a>
<a class="btn btn-success btn-sm" href="templets_main.php?acdir=plus">插件模板目录</a>
</span>
<td colspan="4" bgcolor="#f8f8f8">
<table width="98%" cellpadding="0" cellspacing="0" class="table table-borderless">
<tr>
<td width="30%">
<?php
if ($acdir=='plus') echo '插件模板';
else if ($acdir=='system') echo '底层模板';
else echo '核心模板 &gt; '.$acdir;
?>
</td>
<td width="70%" align="right">
<a class="btn btn-success btn-sm" href="templets_main.php">默认模板目录</a>
<a class="btn btn-success btn-sm" href="templets_main.php?acdir=plus">插件模板目录</a>
</td>
</tr>
</table>
</td>
</tr>
<tr bgColor="#fbfce2" align="center">
<td width="25%">文件名</td>
<td width="30%">文件描述</td>
<td width="25%">修改时间</td>
<td width="20%">操作</td>
</tr>
<?php
$files = scandir($templetdird);
foreach ($files as $filename){


Loading…
Cancel
Save