@@ -1,6 +1,6 @@ | |||
<?php | |||
/** | |||
* 广告编辑 | |||
* 广告修改 | |||
* | |||
* @version $id:ad_edit.php 8:26 2010年7月12日 tianya $ | |||
* @package DedeBIZ.Administrator | |||
@@ -25,7 +25,7 @@ if ($dopost == 'delete') { | |||
$showhtml .= "预览:<iframe name='testfrm' frameborder='0' src='ad_edit.php?aid={$aid}&dopost=testjs' id='testfrm' width='100%' height='200'></iframe>"; | |||
$row = $dsql->GetOne("SELECT tagname from `#@__myad` WHERE aid='$aid' "); | |||
$showtag = '{'."dede:myad name='{$row['tagname']}'/".'}'; | |||
$info = "说明:如果嵌入的是织梦广告标签,那将会解析成标签中的文档到页面,广告修改后需要重新生成<br> | |||
$info = "说明:如果嵌入的是Dede广告标签,那将会解析成标签中的文档到页面,广告修改后需要重新生成<br> | |||
如果不希望重新生成所有页面,则直接调用js代码即可 | |||
"; | |||
$wintitle = "广告管理-获取广告标签"; | |||
@@ -1,6 +1,6 @@ | |||
<?php | |||
/** | |||
* 图片编辑 | |||
* 图片修改 | |||
* | |||
* @version $id:album_edit.php 8:26 2010年7月12日 tianya $ | |||
* @package DedeBIZ.Administrator | |||
@@ -20,7 +20,7 @@ if (empty($dopost)) { | |||
} | |||
$aid = isset($aid) ? preg_replace("#[^0-9]#", '', $aid) : ''; | |||
/*-------------------------- | |||
//编辑文档 | |||
//修改文档 | |||
function editArchives(){ } | |||
---------------------------*/ | |||
if ($dopost == 'editArchives') { | |||
@@ -505,7 +505,7 @@ else if ($dopost == 'del') { | |||
} | |||
} | |||
/*----------------------------- | |||
//快速编辑 | |||
//快速修改 | |||
function quickEdit(){ } | |||
------------------------------*/ | |||
else if ($dopost == 'quickEdit') { | |||
@@ -514,7 +514,7 @@ else if ($dopost == 'quickEdit') { | |||
$query = "SELECT ch.typename as channelname,ch.addtable,ar.membername as rankname,arc.* FROM `#@__archives` arc LEFT JOIN `#@__channeltype` ch ON ch.id=arc.channel LEFT JOIN `#@__arcrank` ar ON ar.`rank`=arc.arcrank WHERE arc.id='$aid' "; | |||
$arcRow = $dsql->GetOne($query); | |||
$divname = 'quickEdit'; | |||
echo "<div class='title' onmousemove=\"DropMoveHand('{$divname}', 260);\" onmousedown=\"DropStartHand();\" onmouseup=\"DropStopHand();\">快速属性编辑</div>"; | |||
echo "<div class='title' onmousemove=\"DropMoveHand('{$divname}', 260);\" onmousedown=\"DropStartHand();\" onmouseup=\"DropStopHand();\">快速属性修改</div>"; | |||
echo "<form name='quickeditform' action='archives_do.php?dopost=quickEditSave&aid={$aid}' method='post'>"; | |||
echo "<input type='hidden' name='addtable' value='{$arcRow['addtable']}'>"; | |||
echo "<input type='hidden' name='oldtypeid' value='{$arcRow['typeid']}'>"; | |||
@@ -542,9 +542,9 @@ else if ($dopost == 'quickEdit') { | |||
while ($trow = $dsql->GetObject()) { | |||
if ($trow->att == 'j' || $trow->att == 'p') continue; | |||
if (preg_match("#".$trow->att."#", $arcRow['flag'])) | |||
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' checked='checked'> {$trow->attname}{$trow->att}[{$trow->att}]</label>"; | |||
echo "<label class='mr-2'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' checked='checked'> {$trow->attname}{$trow->att}[{$trow->att}]</label>"; | |||
else | |||
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label>"; | |||
echo "<label class='mr-2'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label>"; | |||
} | |||
?> | |||
</td> | |||
@@ -591,7 +591,7 @@ else if ($dopost == 'quickEdit') { | |||
//AJAX窗体结束 | |||
} | |||
/*----------------------------- | |||
//保存快速编辑文档 | |||
//保存快速修改文档 | |||
function quickEditSave(){ } | |||
------------------------------*/ | |||
else if ($dopost == 'quickEditSave') { | |||
@@ -828,7 +828,7 @@ else if ($dopost == 'attsDlg') { | |||
$dsql->Execute(); | |||
while ($trow = $dsql->GetObject()) { | |||
if ($trow->att == 'j' || $trow->att == 'p') continue; | |||
echo "<label class='mr-1'><input type='radio' name='flagname' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label>"; | |||
echo "<label class='mr-2'><input type='radio' name='flagname' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label>"; | |||
} | |||
?> | |||
</td> | |||
@@ -1,6 +1,6 @@ | |||
<?php | |||
/** | |||
* 文档编辑 | |||
* 文档修改 | |||
* | |||
* @version $id:archives_edit.php 8:26 2010年7月12日 tianya $ | |||
* @package DedeBIZ.Administrator | |||
@@ -1,6 +1,6 @@ | |||
<?php | |||
/** | |||
* 单表模型文档编辑 | |||
* 单表模型文档修改 | |||
* | |||
* @version $id:archives_sg_edit.php 8:26 2010年7月12日 tianya $ | |||
* @package DedeBIZ.Administrator | |||
@@ -1,6 +1,6 @@ | |||
<?php | |||
/** | |||
* 文档编辑 | |||
* 文档修改 | |||
* | |||
* @version $id:article_edit.php 14:12 2010年7月12日 tianya $ | |||
* @package DedeBIZ.Administrator | |||
@@ -1,6 +1,6 @@ | |||
<?php | |||
/** | |||
* 文档来源编辑 | |||
* 文档来源修改 | |||
* | |||
* @version $id:archives_add.php 14:30 2010年7月12日 tianya $ | |||
* @package DedeBIZ.Administrator | |||
@@ -1,6 +1,6 @@ | |||
<?php | |||
/** | |||
* 栏目编辑 | |||
* 栏目修改 | |||
* | |||
* @version $id:catalog_edit.php 14:31 2010年7月12日 tianya $ | |||
* @package DedeBIZ.Administrator | |||
@@ -1,6 +1,6 @@ | |||
<?php | |||
/** | |||
* 编辑自定义表单 | |||
* 修改自定义表单 | |||
* | |||
* @version $id:diy_add.php 14:31 2010年7月12日 tianya $ | |||
* @package DedeBIZ.Administrator | |||
@@ -1,6 +1,6 @@ | |||
<?php | |||
/** | |||
* 编辑自定义表单字段 | |||
* 修改自定义表单字段 | |||
* | |||
* @version $id:diy_field_edit.php 18:31 2010年7月12日 tianya $ | |||
* @package DedeBIZ.Administrator | |||
@@ -128,9 +128,9 @@ if ($action == 'post') { | |||
$query = "UPDATE `$diy->table` SET $addsql WHERE id=$id"; | |||
if ($dsql->ExecuteNoneQuery($query)) { | |||
$goto = "diy_list.php?action=list&diyid={$diy->diyid}"; | |||
showmsg('编辑成功', $goto); | |||
showmsg('修改成功', $goto); | |||
} else { | |||
showmsg('编辑成功', '-1'); | |||
showmsg('修改成功', '-1'); | |||
} | |||
} | |||
} elseif ($action == 'check') { | |||
@@ -1,6 +1,6 @@ | |||
<?php | |||
/** | |||
* 评论编辑 | |||
* 评论修改 | |||
* | |||
* @version $id:feedback_edit.php 19:09 2010年7月12日 tianya $ | |||
* @package DedeBIZ.Administrator | |||
@@ -48,7 +48,7 @@ function __delfile(); | |||
else if ($fmdo == "del") { | |||
$fmm->DeleteFile($filename); | |||
} | |||
//文件编辑 | |||
//文件修改 | |||
/*--------------- | |||
function __saveEdit(); | |||
----------------*/ | |||
@@ -72,7 +72,7 @@ else if ($fmdo == "edit") { | |||
exit(); | |||
} | |||
/* | |||
文件编辑,可视化模式 | |||
文件修改,可视化模式 | |||
function __saveEditView(); | |||
else if ($fmdo=="editview") | |||
{ | |||
@@ -15,7 +15,7 @@ $inpath = ""; | |||
$activepath = str_replace("..", "", $activepath); | |||
$activepath = preg_replace("#^\/{1,}#", "/", $activepath); | |||
if (DEDEBIZ_SAFE_MODE && !preg_match("#^/static#",$activepath)) { | |||
ShowMsg("安全模式下仅允许查看编辑static目录文档", -1); | |||
ShowMsg("安全模式下仅允许查看修改static目录文档", -1); | |||
exit; | |||
} | |||
if ($activepath == "/") $activepath = ""; | |||
@@ -85,7 +85,7 @@ else if ($fmdo == "del") { | |||
$winform = $win->GetWindow("ok"); | |||
$win->Display(); | |||
} | |||
//编辑文件 | |||
//修改文件 | |||
else if ($fmdo == "edit") { | |||
if (!isset($backurl)) { | |||
$backurl = ""; | |||
@@ -1,6 +1,6 @@ | |||
<?php | |||
/** | |||
* 编辑自由列表 | |||
* 修改自由列表 | |||
* | |||
* @version $id:freelist_edit.php 8:48 2010年7月13日 tianya $ | |||
* @package DedeBIZ.Administrator | |||
@@ -1,6 +1,6 @@ | |||
<?php | |||
/** | |||
* 友情链接编辑 | |||
* 友情链接修改 | |||
* | |||
* @version $id:friendlink_edit.php 10:59 2010年7月13日 tianya $ | |||
* @package DedeBIZ.Administrator | |||
@@ -204,7 +204,7 @@ function GetFieldValue($dvalue, $dtype, $aid = 0, $job = 'add', $addvar = '') | |||
} | |||
/** | |||
* 获得带值的表单(编辑时用) | |||
* 获得带值的表单修改时用 | |||
* | |||
* @access public | |||
* @param object $ctag ctag | |||
@@ -263,7 +263,6 @@ function GetFormItemValue($ctag, $fvalue) | |||
return $formitem; | |||
} | |||
} | |||
//文本数据的特殊处理 | |||
if ($ctag->GetAtt("type") == "textdata") { | |||
if (is_file($GLOBALS['cfg_basedir'].$fvalue)) { | |||
@@ -121,7 +121,6 @@ function GetCurContent($body) | |||
continue; | |||
} | |||
$htd->OpenUrl($value); | |||
$itype = $htd->GetHead("content-type"); | |||
$isImage = true; | |||
if ($itype == 'image/gif') { | |||
@@ -441,7 +440,7 @@ function GetFieldValueA($dvalue, $dtype, $aid = 0, $job = 'add', $addvar = '') | |||
return GetFieldValue($dvalue, $dtype, $aid, $job, $addvar, 'admin'); | |||
} | |||
/** | |||
* 获得带值的表单(编辑时用) | |||
* 获得带值的表单修改时用 | |||
* | |||
* @access public | |||
* @param object $ctag ctag | |||
@@ -453,7 +452,7 @@ function GetFormItemValueA($ctag, $fvalue) | |||
return GetFormItemValue($ctag, $fvalue, 'admin'); | |||
} | |||
/** | |||
* 载入自定义表单(用于发布) | |||
* 载入自定义表单用于发布 | |||
* | |||
* @access public | |||
* @param string $fieldset 字段列表 | |||
@@ -479,7 +478,7 @@ function PrintAutoFieldsAdd($fieldset, $loadtype = 'all') | |||
echo "<input type='hidden' name='dede_addonfields' value=\"".$dede_addonfields."\">\r\n"; | |||
} | |||
/** | |||
* 载入自定义表单(用于编辑) | |||
* 载入自定义表单用于修改 | |||
* | |||
* @access public | |||
* @param string $fieldset 字段列表 | |||
@@ -45,7 +45,7 @@ function showZipField(formitem, zipid, upid) { | |||
$Obj(zipid).style.display = 'none'; | |||
} | |||
} | |||
//图片显示与隐藏Html编辑框 | |||
//图片显示与隐藏修改框 | |||
function showHtmlField(formitem, htmlid, upid) { | |||
if ($Nav() != "IE") { | |||
alert("该方法不适用于非IE浏览器"); | |||
@@ -103,7 +103,7 @@ function delAlbPic(pid) { | |||
$Obj('thumbnails').removeChild(tgobj); | |||
}); | |||
} | |||
//删除已经上传的图片,编辑时用 | |||
//删除已经上传的图片修改时用 | |||
function delAlbPicOld(picfile, pid) { | |||
var tgobj = $Obj('albold' + pid); | |||
fetch('swfupload.php?dopost=delold&picfile=' + picfile).then(resp=>resp.text()).then((d)=>{ | |||
@@ -31,7 +31,7 @@ function moveArc(e, obj, cid){ | |||
ShowMsg('需要选择一个或多个文档'); | |||
return; | |||
} | |||
LoadQuickDiv(e, 'archives_do.php?dopost=moveArchives&qstr='+qstr+'&channelid='+cid+'&rnd='+Math.random(), 'moveArchives', '480px', '180px'); | |||
LoadQuickDiv(e, 'archives_do.php?dopost=moveArchives&qstr='+qstr+'&channelid='+cid+'&rnd='+Math.random(), 'moveArchives', '500px', '180px'); | |||
ChangeFullDiv('show'); | |||
} | |||
function adArc(aid) { | |||
@@ -47,7 +47,7 @@ function cAtts(jname, e, obj) | |||
ShowMsg('需要选择一个或多个文档'); | |||
return; | |||
} | |||
LoadQuickDiv(e, 'archives_do.php?dopost=attsDlg&qstr='+qstr+'&dojob='+jname+'&rnd='+Math.random(), 'attsDlg', '480px', '180px'); | |||
LoadQuickDiv(e, 'archives_do.php?dopost=attsDlg&qstr='+qstr+'&dojob='+jname+'&rnd='+Math.random(), 'attsDlg', '500px', '180px'); | |||
ChangeFullDiv('show', screeheight); | |||
} | |||
function delArc(aid) { | |||
@@ -313,7 +313,7 @@ function LoadQuickDiv(e, surl, oname, w, h) { | |||
} | |||
if (posTop > 500) posTop = 500; | |||
if (posLeft < 50) posLeft = 50; | |||
newobj.style.minWidth = "480px"; | |||
newobj.style.minWidth = "500px"; | |||
newobj.style.top = posTop + "px"; | |||
newobj.style.left = posLeft + "px"; | |||
newobj.innerHTML = '<img src="../../static/web/img/loadinglit.gif">'; | |||
@@ -1,6 +1,6 @@ | |||
<?php | |||
/** | |||
* 编辑日志 | |||
* 修改日志 | |||
* | |||
* @version $id:log_edit.php 8:48 2010年7月13日 tianya $ | |||
* @package DedeBIZ.Administrator | |||
@@ -52,7 +52,7 @@ if ($dopost == "upload") { | |||
MkdirAll($cfg_basedir.$savePath, 777); | |||
CloseFtp(); | |||
} | |||
//后台文件任意上传漏洞:早期版本后台存在大量的富文本编辑器,该控件提供了一些文件上传接口,同时对上传文件的后缀类型未进行严格的限制,这导致了黑客可以上传WEBSHELL,获取网站后台权限 | |||
//后台文件任意上传漏洞:早期版本后台存在大量的富文本修改器,该控件提供了一些文件上传接口,同时对上传文件的后缀类型未进行严格的限制,这导致了黑客可以上传WEBSHELL,获取网站后台权限 | |||
if (preg_match('#\.(php|pl|cgi|asp|aspx|jsp|php5|php4|php3|shtm|shtml)$#i', trim($filename))) { | |||
ShowMsg("您指定的文件名被系统禁止", "javascript:;"); | |||
exit(); | |||
@@ -1,6 +1,6 @@ | |||
<?php | |||
/** | |||
* 附件编辑 | |||
* 附件修改 | |||
* | |||
* @version $id:media_edit.php 11:17 2010年7月19日 tianya $ | |||
* @package DedeBIZ.Administrator | |||
@@ -1,6 +1,6 @@ | |||
<?php | |||
/** | |||
* 自定义模型字段编辑 | |||
* 自定义模型字段修改 | |||
* | |||
* @version $id:mychannel_field_edit.php 15:22 2010年7月20日 tianya $ | |||
* @package DedeBIZ.Administrator | |||
@@ -1,6 +1,6 @@ | |||
<?php | |||
/** | |||
* 插件编辑 | |||
* 插件修改 | |||
* | |||
* @version $id:plus_edit.php 15:46 2010年7月20日 tianya $ | |||
* @package DedeBIZ.Administrator | |||
@@ -1,6 +1,6 @@ | |||
<?php | |||
/** | |||
* 软件编辑 | |||
* 软件修改 | |||
* | |||
* @version $id:soft_edit.php 16:09 2010年7月20日 tianya $ | |||
* @package DedeBIZ.Administrator | |||
@@ -1,6 +1,6 @@ | |||
<?php | |||
/** | |||
* 专题编辑 | |||
* 专题修改 | |||
* | |||
* @version $id:spec_edit.php 16:22 2010年7月20日 tianya $ | |||
* @package DedeBIZ.Administrator | |||
@@ -184,7 +184,7 @@ else if ($dopost == 'ddimg') { | |||
exit(); | |||
} | |||
/************************ | |||
//删除指定的图片(编辑图片时用) | |||
//删除指定的图片修改图片时用 | |||
*************************/ | |||
else if ($dopost == 'delold') { | |||
$imgfile = $cfg_basedir.$picfile; | |||
@@ -1,6 +1,6 @@ | |||
<?php | |||
/** | |||
* 编辑系统管理员 | |||
* 修改系统管理员 | |||
* | |||
* @version $id:sys_admin_user_edit.php 16:22 2010年7月20日 tianya $ | |||
* @package DedeBIZ.Administrator | |||
@@ -1,6 +1,6 @@ | |||
<?php | |||
/** | |||
* 系统权限组编辑 | |||
* 系统权限组修改 | |||
* | |||
* @version $id:sys_group_edit.php 22:28 2010年7月20日 tianya $ | |||
* @package DedeBIZ.Administrator | |||
@@ -55,7 +55,7 @@ class Array2form | |||
{ | |||
switch ($formtype) { | |||
case 'text': | |||
//生成文本编辑框 | |||
//生成文本修改框 | |||
$valstr = (empty($formarry['value'])) ? "value=''" : "value='{$formarry['value']}'"; | |||
$reval_form = "<input type='text' name='{$key}' id='{$key}' class='admin-input-md' {$valstr}>"; | |||
break; | |||
@@ -14,14 +14,14 @@ | |||
<td bgcolor="#f5f5f5">当前位置 > 搜索结果</td> | |||
</tr> | |||
<tr bgcolor="#e9ecef" align="center"> | |||
<td align="left">"<span class="text-primary"><?php echo $keyword;?></span>"的搜索结果</td> | |||
<td>"<span class="text-primary"><?php echo $keyword;?></span>"的搜索结果</td> | |||
</tr> | |||
<tr align="center"> | |||
<td align="center"> | |||
<?php foreach ($asresult as $row) {?> | |||
<table cellspacing="5" cellpadding="0" class="table table-borderless"> | |||
<tr> | |||
<td align="left" bgcolor="#f5f5f5"><?php echo $row['toptitle'] ?> => <?php echo $row['title'] ?></td> | |||
<td bgcolor="#f5f5f5"><?php echo $row['toptitle'] ?> => <?php echo $row['title'] ?></td> | |||
</tr> | |||
<tr> | |||
<td> | |||
@@ -20,7 +20,7 @@ | |||
<?php echo $option;?> | |||
</select> | |||
</td> | |||
<td width="270"><input type="text" name="keyword" placeholder="请输入关键词" class="admin-input-md"></td> | |||
<td width="380"><input type="text" name="keyword" placeholder="请输入关键词" class="admin-input-md"></td> | |||
<td> | |||
<button type="submit" class="btn btn-success btn-sm">搜索</button> | |||
<a href="ad_add.php" class="btn btn-success btn-sm">增加一个新广告</a> | |||
@@ -95,9 +95,9 @@ | |||
while($trow = $dsql->GetObject()) | |||
{ | |||
if ($trow->att=='j') | |||
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' onclick='ShowUrlTr()'> {$trow->attname}[{$trow->att}]</label>"; | |||
echo "<label class='mr-2'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' onclick='ShowUrlTr()'> {$trow->attname}[{$trow->att}]</label>"; | |||
else | |||
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label>"; | |||
echo "<label class='mr-2'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label>"; | |||
} | |||
?> | |||
</td> | |||
@@ -96,9 +96,9 @@ | |||
if ($trow->att=='j') $jumpclick = " onclick='ShowUrlTr()'"; | |||
else $jumpclick = ''; | |||
if (preg_match("#".$trow->att."#", $arcRow['flag'])) | |||
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick} checked='checked'> {$trow->attname}[{$trow->att}]</label>"; | |||
echo "<label class='mr-2'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick} checked='checked'> {$trow->attname}[{$trow->att}]</label>"; | |||
else | |||
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'{$jumpclick} /> {$trow->attname}[{$trow->att}]</label>"; | |||
echo "<label class='mr-2'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'{$jumpclick} /> {$trow->attname}[{$trow->att}]</label>"; | |||
} | |||
?> | |||
</td> | |||
@@ -74,9 +74,9 @@ | |||
while($trow = $dsql->GetObject()) | |||
{ | |||
if ($trow->att=='j') | |||
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' onclick='ShowUrlTr()'> {$trow->attname}[{$trow->att}]</label>"; | |||
echo "<label class='mr-2'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' onclick='ShowUrlTr()'> {$trow->attname}[{$trow->att}]</label>"; | |||
else | |||
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label>"; | |||
echo "<label class='mr-2'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label>"; | |||
} | |||
?> | |||
</td> | |||
@@ -71,7 +71,7 @@ | |||
$dsql->Execute(); | |||
while($trow = $dsql->GetObject()) | |||
{ | |||
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label>"; | |||
echo "<label class='mr-2'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label>"; | |||
} | |||
?> | |||
</td> | |||
@@ -70,9 +70,9 @@ | |||
while($trow = $dsql->GetObject()) | |||
{ | |||
if (preg_match("#".$trow->att."#", $addRow['flag'])) | |||
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' checked='checked'> {$trow->attname}[{$trow->att}]</label>"; | |||
echo "<label class='mr-2'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' checked='checked'> {$trow->attname}[{$trow->att}]</label>"; | |||
else | |||
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label>"; | |||
echo "<label class='mr-2'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label>"; | |||
} | |||
?> | |||
</td> | |||
@@ -75,9 +75,9 @@ | |||
while($trow = $dsql->GetObject()) | |||
{ | |||
if ($trow->att=='j') | |||
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' onclick='ShowUrlTr()'> {$trow->attname}[{$trow->att}]</label>"; | |||
echo "<label class='mr-2'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' onclick='ShowUrlTr()'> {$trow->attname}[{$trow->att}]</label>"; | |||
else | |||
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label>"; | |||
echo "<label class='mr-2'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label>"; | |||
} | |||
?> | |||
</td> | |||
@@ -23,8 +23,8 @@ | |||
<input type="hidden" name="dopost" value="add"> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr bgcolor="#f5f5f5"> | |||
<td width="280" align="center"><input type="text" name="keyword" id="keyword" placeholder="请输入关键词" class="admin-input-md"></td> | |||
<td width="270"><input type="text" name="rpurl" id="rpurl" placeholder="请输入链接" class="admin-input-md"></td> | |||
<td width="380" align="center"><input type="text" name="keyword" id="keyword" placeholder="请输入关键词" class="admin-input-md"></td> | |||
<td width="370"><input type="text" name="rpurl" id="rpurl" placeholder="请输入链接" class="admin-input-md"></td> | |||
<td width="70"><input type="text" name="rank" id="rank" value="30" class="admin-input-sm"></td> | |||
<td><button type="submit" name="Submit" class="btn btn-success btn-sm">保存</button></td> | |||
</tr> | |||
@@ -50,7 +50,7 @@ | |||
<td align="center" class="border-top-0"> | |||
<table cellspacing="0" cellpadding="0" class="table table-borderless"> | |||
<tr> | |||
<td width="170"><input type="text" name="keyword" id="keyword" placeholder="请输入关键词" class="admin-input-md"></td> | |||
<td width="380"><input type="text" name="keyword" id="keyword" placeholder="请输入关键词" class="admin-input-md"></td> | |||
<td width="170"><input type="text" name="rpurl" id="rpurl" placeholder="请输入链接" class="admin-input-sm"></td> | |||
<td width="170"><input type="text" name="rank" id="rank" placeholder="请输入频率" class="admin-input-sm"></td> | |||
<td><input type="submit" name="Submit" value="保存" class="btn btn-success btn-sm"></td> | |||
@@ -41,7 +41,7 @@ | |||
{dede:global.optionarr/} | |||
</select> | |||
</td> | |||
<td width="270"><input type="text" name="keyword" placeholder="请输入关键词" value="{dede:global.keyword/}" class="admin-input-md"></td> | |||
<td width="380"><input type="text" name="keyword" placeholder="请输入关键词" value="{dede:global.keyword/}" class="admin-input-md"></td> | |||
<td width="170"> | |||
<select name="orderby" class="admin-input-sm"> | |||
<option value="id">排序</option> | |||
@@ -91,7 +91,7 @@ | |||
<td width="6%">{dede:field.mid function=GetMemberName(@me)/}</td> | |||
<td> | |||
<a href="javascript:;" title="属性" onClick="QuickEdit({dede:field.id/},event,this);" class="btn btn-success btn-sm"><i class="fa fa-cogs"></i></a> | |||
<a href="archives_do.php?aid={dede:field.id/}&dopost=editArchives" title="编辑" class="btn btn-success btn-sm"><i class="fa fa-pencil-square-o"></i></a> | |||
<a href="archives_do.php?aid={dede:field.id/}&dopost=editArchives" title="修改" class="btn btn-success btn-sm"><i class="fa fa-pencil-square-o"></i></a> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -41,7 +41,7 @@ | |||
{dede:global.optionarr/} | |||
</select> | |||
</td> | |||
<td width="270"><input type="text" name="keyword" placeholder="请输入关键词" value="{dede:global.keyword/}" class="admin-input-md"></td> | |||
<td width="380"><input type="text" name="keyword" placeholder="请输入关键词" value="{dede:global.keyword/}" class="admin-input-md"></td> | |||
<td width="170"> | |||
<select name="orderby" class="admin-input-sm"> | |||
<option value="id">选择排序</option> | |||
@@ -92,7 +92,7 @@ | |||
<td>{dede:field.mid function=GetMemberName(@me)/}</td> | |||
<td> | |||
<a href="javascript:;" title="属性" class="btn btn-success btn-sm" onClick="QuickEdit('{dede:field.id/}',event,this);"><i class="fa fa-cogs"></i></a> | |||
<a href="javascript:;" title="编辑" class="btn btn-success btn-sm" onClick="editArc({dede:field.id/});"><i class="fa fa-pencil-square-o"></i></a> | |||
<a href="javascript:;" title="修改" class="btn btn-success btn-sm" onClick="editArc({dede:field.id/});"><i class="fa fa-pencil-square-o"></i></a> | |||
<a href="javascript:;" title="预览" class="btn btn-success btn-sm" onClick="viewArc({dede:field.id/});"><i class="fa fa-globe"></i></a> | |||
</td> | |||
</tr> | |||
@@ -30,7 +30,7 @@ | |||
<?php echo $optionarr?> | |||
</select> | |||
</td> | |||
<td width="270"><input type="text" name="keyword" placeholder="请输入关键词" value="<?php echo $keyword?>" class="admin-input-md"></td> | |||
<td width="380"><input type="text" name="keyword" placeholder="请输入关键词" value="<?php echo $keyword?>" class="admin-input-md"></td> | |||
<td><button type="submit" class="btn btn-success btn-sm">搜索</button></td> | |||
</tr> | |||
</table> | |||
@@ -76,7 +76,7 @@ | |||
</tr> | |||
</form> | |||
<tr> | |||
<td bgcolor="#f5f5f5" class="py-2" colspan="9" align="center">{dede:pagelist listsize='6'/}</td> | |||
<td bgcolor="#f5f5f5" colspan="9" align="center" class="py-2">{dede:pagelist listsize='6'/}</td> | |||
</tr> | |||
</table> | |||
</body> |
@@ -40,7 +40,7 @@ | |||
{dede:global.optionarr/} | |||
</select> | |||
</td> | |||
<td width="270"><input type="text" name="keyword" placeholder="请输入关键词" value="{dede:global.keyword/}" class="admin-input-md"></td> | |||
<td width="380"><input type="text" name="keyword" placeholder="请输入关键词" value="{dede:global.keyword/}" class="admin-input-md"></td> | |||
<td><button type="submit" class="btn btn-success btn-sm">搜索</button></td> | |||
</tr> | |||
</table> | |||
@@ -72,7 +72,7 @@ | |||
<td>{dede:field.click/}</td> | |||
<td>{dede:field.mid function=GetMemberName(@me)/}</td> | |||
<td> | |||
<a href="javascript:editArc({dede:field.aid/})" class="btn btn-success btn-sm" title="编辑"><i class="fa fa-pencil-square-o"></i></a> | |||
<a href="javascript:editArc({dede:field.aid/})" class="btn btn-success btn-sm" title="修改"><i class="fa fa-pencil-square-o"></i></a> | |||
<a href="javascript:viewArc({dede:field.aid/})" class="btn btn-success btn-sm" title="预览"><i class="fa fa-globe"></i></a> | |||
</td> | |||
</tr> | |||
@@ -93,7 +93,7 @@ | |||
</tr> | |||
</form> | |||
<tr> | |||
<td bgcolor="#f5f5f5" class="py-2" colspan="9" align="center">{dede:pagelist listsize='6'/}</td> | |||
<td bgcolor="#f5f5f5" colspan="9" align="center" class="py-2">{dede:pagelist listsize='6'/}</td> | |||
</tr> | |||
</table> | |||
</body> |
@@ -3,7 +3,7 @@ | |||
<head> | |||
<meta charset="utf-8"> | |||
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"> | |||
<title>编辑评论</title> | |||
<title>修改评论</title> | |||
<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"> | |||
@@ -13,7 +13,7 @@ | |||
<body> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td width="100%" bgcolor="#f5f5f5" colspan="2"><a href="<?php echo $ENV_GOBACK_URL;?>">表单管理</a> > 编辑评论</td> | |||
<td width="100%" bgcolor="#f5f5f5" colspan="2"><a href="<?php echo $ENV_GOBACK_URL;?>">表单管理</a> > 修改评论</td> | |||
</tr> | |||
<tr> | |||
<td colspan="2" align="center"> | |||
@@ -3,7 +3,7 @@ | |||
<head> | |||
<meta charset="utf-8"> | |||
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"> | |||
<title>编辑评论</title> | |||
<title>修改评论</title> | |||
<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"> | |||
@@ -11,7 +11,7 @@ | |||
<body> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td width="100%" bgcolor="#f5f5f5" colspan="2"><a href="<?php echo $ENV_GOBACK_URL;?>">评论管理</a> > 编辑评论</td> | |||
<td width="100%" bgcolor="#f5f5f5" colspan="2"><a href="<?php echo $ENV_GOBACK_URL;?>">评论管理</a> > 修改评论</td> | |||
</tr> | |||
<tr> | |||
<td colspan="2" align="center"> | |||
@@ -37,7 +37,7 @@ | |||
</tr> | |||
<tr> | |||
<td>评论文档:</td> | |||
<td>修改的评论文档网页代码不会被屏蔽,可用HTML语法编辑</td> | |||
<td>修改的评论文档网页代码不会被屏蔽,可用语法修改</td> | |||
</tr> | |||
<tr> | |||
<td height="62" align="center"></td> | |||
@@ -69,7 +69,7 @@ | |||
<form name="form1"> | |||
<table cellpadding="3" align="center" cellspacing="1" class="table maintable my-3"> | |||
<tr bgcolor="#f5f5f5"> | |||
<td width="180"><input type="text" name="keyword" placeholder="请输入关键词" class="admin-input-md"></td> | |||
<td width="380"><input type="text" name="keyword" placeholder="请输入关键词" class="admin-input-md"></td> | |||
<td width="170"> | |||
<select name="typeid" class="admin-input-sm"> | |||
<option value="0">请选择</option> | |||
@@ -98,7 +98,7 @@ | |||
<td width="12%" align="center">地址:<a href='feedback_main.php?ip={dede:field.ip/}'>{dede:field.ip/}</a></td> | |||
<td width="12%">时间:{dede:field.dtime function="GetDateTimeMK(@me)"/}</td> | |||
<td align="center"> | |||
<a class="btn btn-success btn-sm" href='feedback_edit.php?id={dede:field.id/}'>编辑评论</a> | |||
<a class="btn btn-success btn-sm" href='feedback_edit.php?id={dede:field.id/}'>修改评论</a> | |||
<a class="btn btn-success btn-sm" href='feedback_edit.php?id={dede:field.id/}&dopost=makehtml'>更新评论</a> | |||
</td> | |||
</tr> | |||
@@ -3,7 +3,7 @@ | |||
<head> | |||
<meta charset="utf-8"> | |||
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"> | |||
<title>修改新建文件</title> | |||
<title>新建修改文件</title> | |||
<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"> | |||
@@ -35,7 +35,7 @@ | |||
<input type="hidden" name="_csrf_token" value="{dede:global name='csrf_token'/}"> | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td colspan="2" bgcolor="#f5f5f5">修改新建文件</td> | |||
<td colspan="2" bgcolor="#f5f5f5">新建修改文件</td> | |||
</tr> | |||
<tr> | |||
<td>工作目录</td> | |||
@@ -60,7 +60,7 @@ | |||
<td></td> | |||
<td></td> | |||
<td> | |||
<a href='file_manage_view.php?filename=".urlencode($file)."&activepath=".urlencode($activepath)."&fmdo=rename' class='btn btn-success btn-sm'><i class='fa fa-address-card-o'></i> 改名</a> | |||
<a href='file_manage_view.php?filename=".urlencode($file)."&activepath=".urlencode($activepath)."&fmdo=rename' class='btn btn-success btn-sm'><i class='fa fa-folder'></i> 改名</a> | |||
<a href='file_manage_view.php?filename=".urlencode($file)."&activepath=".urlencode($activepath)."&type=dir&fmdo=del' class='btn btn-danger btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||
</td> | |||
</tr>"; | |||
@@ -73,7 +73,7 @@ | |||
<td>$filesize KB</td> | |||
<td align='center'>$filetime</td> | |||
<td> | |||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-address-card-o'></i> 改名</a> | |||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-folder'></i> 改名</a> | |||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-danger btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||
</td> | |||
@@ -87,7 +87,7 @@ | |||
<td>$filesize KB</td> | |||
<td align='center' class='admin-td'>$filetime</td> | |||
<td> | |||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-address-card-o'></i> 改名</a> | |||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-folder'></i> 改名</a> | |||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-danger btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||
</td> | |||
@@ -101,7 +101,7 @@ | |||
<td>$filesize KB</td> | |||
<td align='center'>$filetime</td> | |||
<td> | |||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-address-card-o'></i> 改名</a> | |||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-folder'></i> 改名</a> | |||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-danger btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||
</td> | |||
@@ -115,7 +115,7 @@ | |||
<td>$filesize KB</td> | |||
<td align='center'>$filetime</td> | |||
<td> | |||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-address-card-o'></i> 改名</a> | |||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-folder'></i> 改名</a> | |||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-danger btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||
</td> | |||
@@ -129,7 +129,7 @@ | |||
<td>$filesize KB</td> | |||
<td align='center'>$filetime</td> | |||
<td> | |||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-address-card-o'></i> 改名</a> | |||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-folder'></i> 改名</a> | |||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-danger btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||
</td> | |||
@@ -143,7 +143,7 @@ | |||
<td>$filesize KB</td> | |||
<td align='center'>$filetime</td> | |||
<td> | |||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-address-card-o'></i> 改名</a> | |||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-folder'></i> 改名</a> | |||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-danger btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||
</td> | |||
@@ -157,7 +157,7 @@ | |||
<td>$filesize KB</td> | |||
<td align='center'>$filetime</td> | |||
<td> | |||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-address-card-o'></i> 改名</a> | |||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-folder'></i> 改名</a> | |||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-danger btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||
</td> | |||
@@ -171,7 +171,7 @@ | |||
<td>$filesize KB</td> | |||
<td align='center' class='admin-td'>$filetime</td> | |||
<td> | |||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-address-card-o'></i> 改名</a> | |||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-folder'></i> 改名</a> | |||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-danger btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||
</td> | |||
@@ -186,8 +186,8 @@ | |||
<td>$filesize KB</td> | |||
<td align='center'>$filetime</td> | |||
<td> | |||
<a href='$edurl' class='btn btn-success btn-sm'><i class='fa fa-pencil-square-o'></i> 编辑</a> | |||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-address-card-o'></i> 改名</a> | |||
<a href='$edurl' class='btn btn-success btn-sm'><i class='fa fa-pencil-square-o'></i> 修改</a> | |||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-folder'></i> 改名</a> | |||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-danger btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||
</td> | |||
@@ -202,8 +202,8 @@ | |||
<td>$filesize KB</td> | |||
<td align='center'>$filetime</td> | |||
<td> | |||
<a href='$edurl' class='btn btn-success btn-sm'><i class='fa fa-pencil-square-o'></i> 编辑</a> | |||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-address-card-o'></i> 改名</a> | |||
<a href='$edurl' class='btn btn-success btn-sm'><i class='fa fa-pencil-square-o'></i> 修改</a> | |||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-folder'></i> 改名</a> | |||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-danger btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||
</td> | |||
@@ -218,8 +218,8 @@ | |||
<td>$filesize KB</td> | |||
<td align='center'>$filetime</td> | |||
<td> | |||
<a href='$edurl' class='btn btn-success btn-sm'><i class='fa fa-pencil-square-o'></i> 编辑</a> | |||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-address-card-o'></i> 改名</a> | |||
<a href='$edurl' class='btn btn-success btn-sm'><i class='fa fa-pencil-square-o'></i> 修改</a> | |||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-folder'></i> 改名</a> | |||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-danger btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||
</td> | |||
@@ -234,8 +234,8 @@ | |||
<td>$filesize KB</td> | |||
<td align='center'>$filetime</td> | |||
<td> | |||
<a href='$edurl' class='btn btn-success btn-sm'><i class='fa fa-pencil-square-o'></i> 编辑</a> | |||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-address-card-o'></i> 改名</a> | |||
<a href='$edurl' class='btn btn-success btn-sm'><i class='fa fa-pencil-square-o'></i> 修改</a> | |||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-folder'></i> 改名</a> | |||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-danger btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||
</td> | |||
@@ -250,8 +250,8 @@ | |||
<td>$filesize KB</td> | |||
<td align='center'>$filetime</td> | |||
<td> | |||
<a href='$edurl' class='btn btn-success btn-sm'><i class='fa fa-pencil-square-o'></i> 编辑</a> | |||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-address-card-o'></i> 改名</a> | |||
<a href='$edurl' class='btn btn-success btn-sm'><i class='fa fa-pencil-square-o'></i> 修改</a> | |||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-folder'></i> 改名</a> | |||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-danger btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||
</td> | |||
@@ -263,7 +263,7 @@ | |||
<td>$filesize KB</td> | |||
<td align='center'>$filetime</td> | |||
<td> | |||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-address-card-o'></i> 改名</a> | |||
<a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-folder'></i> 改名</a> | |||
<a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-success btn-sm'><i class='fa fa-share-square'></i> 移动</a> | |||
<a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."' class='btn btn-danger btn-sm'><i class='fa fa-trash'></i> 删除</a> | |||
</td> | |||
@@ -39,7 +39,7 @@ | |||
<form action="friendlink_main.php" name="form1" method="get"> | |||
<table cellspacing="0" cellpadding="3" width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr bgcolor="#f5f5f5"> | |||
<td width="280" align="center"><input type="text" name="keyword" id="keyword" placeholder="请输入关键词" value="<?php echo $keyword;?>" class="admin-input-md"></td> | |||
<td width="380" align="center"><input type="text" name="keyword" id="keyword" placeholder="请输入关键词" value="<?php echo $keyword;?>" class="admin-input-md"></td> | |||
<td width="170"> | |||
<select name="ischeck" id="ischeck" class="admin-input-sm"> | |||
<?php | |||
@@ -21,7 +21,7 @@ | |||
<div class="head"> | |||
<div class="top-logo"> | |||
<span class="top-name"><a href="index_body.php" target="main"><?php echo cn_substr($cfg_webname,8);?></a></span> | |||
<span class="top-version">V<?php echo $cfg_version_detail;?></span> | |||
<span class="top-version"><?php echo $cfg_version_detail;?></span> | |||
<?php if (DEDEBIZ_SAFE_MODE){?> | |||
<a href="index_body.php?dopost=safe_mode" target="main" class="btn btn-primary btn-xs btn-version">安全</a> | |||
<?php } else {?> | |||
@@ -47,9 +47,7 @@ | |||
<table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3"> | |||
<form name="forms" method="post" action="media_main.php"> | |||
<tr bgcolor="#f5f5f5"> | |||
<td width="280" align="center"> | |||
<input type="text" name="keyword" id="keyword" placeholder="请输入关键词" value="<?php echo $keyword?>" class="admin-input-md"> | |||
</td> | |||
<td width="380" align="center"><input type="text" name="keyword" id="keyword" placeholder="请输入关键词" value="<?php echo $keyword?>" class="admin-input-md"></td> | |||
<td width="170"> | |||
<select name="mediatype" class="admin-input-sm"> | |||
<option value="0">文件类型</option> | |||
@@ -14,7 +14,7 @@ | |||
<form action="member_main.php" name="form1" method="get"> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr bgcolor="#f5f5f5"> | |||
<td width="280" align="center"><input type="text" name="keyword" id="keyword" placeholder="请输入关键词" value="{dede:global name='keyword'/}" class="admin-input-md"></td> | |||
<td width="380" align="center"><input type="text" name="keyword" id="keyword" placeholder="请输入关键词" value="{dede:global name='keyword'/}" class="admin-input-md"></td> | |||
<td width="170"> | |||
<select name="sortkey" id="sortkey" class="admin-input-sm"> | |||
{dede:global name='sortform'/} | |||
@@ -58,7 +58,7 @@ | |||
<form name="form2" method="get" action="member_operations.php"> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr bgcolor="#f5f5f5"> | |||
<td width="280" align="center"><input type="text" name="buyid" id="buyid" placeholder="请输入订单号" class="admin-input-md"></td> | |||
<td width="260" align="center"><input type="text" name="buyid" id="buyid" placeholder="请输入订单号" class="admin-input-md"></td> | |||
<td> | |||
<button type="submit" class="btn btn-success btn-sm">搜索</button> | |||
<button type="button" onClick="location='member_operations.php?sta=0';" class="btn btn-success btn-sm">未付款</button> | |||
@@ -13,8 +13,8 @@ | |||
<form action="member_pm.php" name="form1" method="get"> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr bgcolor="#f5f5f5"> | |||
<td width="280" align="center"><input type="text" name="keyword" id="keyword" value="{dede:global name='keyword'/}" placeholder="请输入关键词" class="admin-input-md"></td> | |||
<td width="270"><input type="text" name="username" id="username" value="{dede:global name='username'/}" placeholder="请输入用户名" class="admin-input-md"></td> | |||
<td width="380" align="center"><input type="text" name="keyword" id="keyword" value="{dede:global name='keyword'/}" placeholder="请输入关键词" class="admin-input-md"></td> | |||
<td width="370"><input type="text" name="username" id="username" value="{dede:global name='username'/}" placeholder="请输入用户名" class="admin-input-md"></td> | |||
<td width="170"> | |||
<select name="folder" id="folder" class="admin-input-sm"> | |||
<option value="inbox">收件箱</option> | |||
@@ -12,8 +12,8 @@ | |||
<form action="member_pm.php" name="form1" method="get"> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr bgcolor="#f5f5f5"> | |||
<td width="280" align="center"><input type="text" name="keyword" id="keyword" placeholder="请输入关键词" class="admin-input-md"></td> | |||
<td width="270"><input type="text" name="username" id="username" placeholder="请输入用户名" class="admin-input-md"></td> | |||
<td width="380" align="center"><input type="text" name="keyword" id="keyword" placeholder="请输入关键词" class="admin-input-md"></td> | |||
<td width="370"><input type="text" name="username" id="username" placeholder="请输入用户名" class="admin-input-md"></td> | |||
<td width="170"> | |||
<select name="folder" id="folder" class="admin-input-sm"> | |||
<option value="inbox">收件箱</option> | |||
@@ -12,8 +12,8 @@ | |||
<form action="member_pm.php" name="form1" method="get"> | |||
<table cellpadding="1" cellspacing="1" align="center" class="table maintable my-3"> | |||
<tr bgcolor="#f5f5f5"> | |||
<td width="280" align="center"><input type="text" name="keyword" id="keyword" placeholder="请输入关键词" class="admin-input-md"></td> | |||
<td width="270"><input type="text" name="username" id="username" placeholder="请输入用户名" class="admin-input-md"></td> | |||
<td width="380" align="center"><input type="text" name="keyword" id="keyword" placeholder="请输入关键词" class="admin-input-md"></td> | |||
<td width="370"><input type="text" name="username" id="username" placeholder="请输入用户名" class="admin-input-md"></td> | |||
<td width="170"> | |||
<select name="folder" id="folder" class="admin-input-sm"> | |||
<option value="inbox">收件箱</option> | |||
@@ -56,7 +56,7 @@ | |||
</tr> | |||
<tr> | |||
<td class="admin-td">用户名称:</td> | |||
<td class="admin-td"><input type="text" name="uname" id="uname" value="<?php echo $row['uname']?>" class="admin-input-sm">(发布文档后显示责任编辑的名字)</td> | |||
<td class="admin-td"><input type="text" name="uname" id="uname" value="<?php echo $row['uname']?>" class="admin-input-sm">(发布文档后显示作者的名字)</td> | |||
</tr> | |||
<tr> | |||
<td class="admin-td">用户密码:</td> | |||
@@ -89,9 +89,9 @@ | |||
while($trow = $dsql->GetObject()) | |||
{ | |||
if ($trow->att=='j') | |||
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' onclick='ShowUrlTr()'> {$trow->attname}[{$trow->att}]</label>"; | |||
echo "<label class='mr-2'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' onclick='ShowUrlTr()'> {$trow->attname}[{$trow->att}]</label>"; | |||
else | |||
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label>"; | |||
echo "<label class='mr-2'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label>"; | |||
} | |||
?> | |||
</td> | |||
@@ -86,9 +86,9 @@ | |||
if ($trow->att=='j') $jumpclick = " onclick='ShowUrlTr()'"; | |||
else $jumpclick = ''; | |||
if (preg_match("#".$trow->att."#",$arcRow['flag'])) | |||
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick} checked='checked'> {$trow->attname}[{$trow->att}]</label>"; | |||
echo "<label class='mr-2'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' {$jumpclick} checked='checked'> {$trow->attname}[{$trow->att}]</label>"; | |||
else | |||
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'{$jumpclick} /> {$trow->attname}[{$trow->att}]</label>"; | |||
echo "<label class='mr-2'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'{$jumpclick} /> {$trow->attname}[{$trow->att}]</label>"; | |||
} | |||
?> | |||
</td> | |||
@@ -113,7 +113,7 @@ | |||
while($trow = $dsql->GetObject()) | |||
{ | |||
if ($trow->att!='j') { | |||
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label>"; | |||
echo "<label class='mr-2'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label>"; | |||
} | |||
} | |||
?> | |||
@@ -143,7 +143,7 @@ | |||
<td class="admin-td"> | |||
<table cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90">责任编辑:</td> | |||
<td width="90">作者:</td> | |||
<td><input type="text" name="writer" id="writer" class="admin-input-sm"></td> | |||
</tr> | |||
</table> | |||
@@ -111,9 +111,9 @@ | |||
{ | |||
if ($trow->att=='j') continue; | |||
if (preg_match("#".$trow->att."#", $arcRow['flag'])) | |||
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' checked='checked'> {$trow->attname}[{$trow->att}]</label>"; | |||
echo "<label class='mr-2'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}' checked='checked'> {$trow->attname}[{$trow->att}]</label>"; | |||
else | |||
echo "<label class='mr-1'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label>"; | |||
echo "<label class='mr-2'><input type='checkbox' name='flags[]' id='flags{$trow->att}' value='{$trow->att}'> {$trow->attname}[{$trow->att}]</label>"; | |||
} | |||
?> | |||
</td> | |||
@@ -142,7 +142,7 @@ | |||
<td class="admin-td"> | |||
<table cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90">责任编辑:</td> | |||
<td width="90">作者:</td> | |||
<td><input type="text" name="writer" id="writer" value="<?php echo $arcRow['writer']?>" class="admin-input-sm"></td> | |||
</tr> | |||
</table> | |||
@@ -17,7 +17,7 @@ | |||
<tr> | |||
<td width="30%">系统用户管理</td> | |||
<td width="70%" align="right"> | |||
<a href="sys_admin_user_tj.php" class="btn btn-success btn-sm">编辑绩效统计</a> | |||
<a href="sys_admin_user_tj.php" class="btn btn-success btn-sm">绩效统计</a> | |||
<a href="sys_admin_user_add.php" class="btn btn-success btn-sm">增加管理员</a> | |||
<a href="sys_group.php" class="btn btn-success btn-sm">用户组管理</a> | |||
</td> | |||
@@ -55,7 +55,7 @@ | |||
</tr> | |||
<tr> | |||
<td class="admin-td">用户名称:</td> | |||
<td><input type="text" name="uname" id="uname" class="admin-input-sm">(发布文档后显示责任编辑的名字)</td> | |||
<td><input type="text" name="uname" id="uname" class="admin-input-sm">(发布文档后显示作者的名字)</td> | |||
</tr> | |||
<tr> | |||
<td class="admin-td">用户密码:</td> | |||
@@ -33,7 +33,7 @@ | |||
</tr> | |||
<tr> | |||
<td class="admin-td">用户名称:</td> | |||
<td class="admin-td"><input type="text" name="uname" id="uname" value="<?php echo $row['uname']?>" class="admin-input-sm">(发布文档后显示责任编辑的名字)</td> | |||
<td class="admin-td"><input type="text" name="uname" id="uname" value="<?php echo $row['uname']?>" class="admin-input-sm">(发布文档后显示作者的名字)</td> | |||
</tr> | |||
<tr> | |||
<td class="admin-td">用户密码:</td> | |||
@@ -77,7 +77,7 @@ | |||
<td>水印位置:</td> | |||
<td> | |||
<label><input type="radio" name="get_photo_waterpos" value="0" <?php if ($photo_waterpos==0) echo ' checked';?>> 随机位置</label> | |||
<table border="1" cellspacing="0" cellpadding="0" class="table maintable w-50"> | |||
<table border="1" cellspacing="0" cellpadding="0" class="table maintable"> | |||
<tr> | |||
<td width="33%"> | |||
<label><input type="radio" name="get_photo_waterpos" value="1" <?php if ($photo_waterpos==1) echo ' checked';?>> 顶部居左</label> | |||
@@ -33,7 +33,7 @@ | |||
<input type="hidden" name="dopost" value="viewinfo"> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||
<tr> | |||
<td width="280"> | |||
<td width="380"> | |||
<select name="tablename" id="tablename" class="admin-input-md"> | |||
<?php | |||
if ($cfg_dbtype=="sqlite") { | |||
@@ -19,21 +19,11 @@ | |||
<table width="98%" cellspacing="1" cellpadding="0" align="center" class="table maintable my-3"> | |||
<tr> | |||
<td colspan="4" bgcolor="#f5f5f5"> | |||
<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 '核心模板 > '.$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> | |||
<?php | |||
if ($acdir=='plus') echo '插件模板'; | |||
else if ($acdir=='system') echo '底层模板'; | |||
else echo '核心模板 > '.$acdir; | |||
?> | |||
</td> | |||
</tr> | |||
<tr bgColor="#e9ecef" align="center"> | |||
@@ -55,7 +45,7 @@ | |||
<td><?php echo $fileinfo;?></td> | |||
<td align="center"><?php echo $filetime;?></td> | |||
<td align="center"> | |||
<a href="tpl.php?action=edit&acdir=<?php echo $acdir;?>&filename=<?php echo $filename;?>" class="btn btn-success btn-sm"><i class="fa fa-pencil-square-o"></i> 编辑</a> | |||
<a href="tpl.php?action=edit&acdir=<?php echo $acdir;?>&filename=<?php echo $filename;?>" class="btn btn-success btn-sm"><i class="fa fa-pencil-square-o"></i> 修改</a> | |||
<?php if (!isset($fileinfos[$filename])){?> | |||
<a href="javascript:;" onClick="javascript:DelTpl('<?php echo $filename;?>');" class="btn btn-danger btn-sm"><i class="fa fa-trash"></i> 删除</a> | |||
<?php }?> | |||
@@ -64,6 +54,8 @@ | |||
<?php }?> | |||
<tr> | |||
<td bgcolor="#f5f5f5" align="center" colspan="4" class="py-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> | |||
<a class="btn btn-success btn-sm" href="tpl.php?action=newfile&acdir=<?php echo $acdir;?>">新建模板</a> | |||
<a class="btn btn-success btn-sm" href="tpl.php?action=upload&acdir=<?php echo $acdir;?>">上传模板</a> | |||
</td> | |||
@@ -10,10 +10,13 @@ | |||
</head> | |||
<body> | |||
<table cellspacing="1" cellpadding="0" align="center" class="table maintable my-3"> | |||
<tr bgcolor="#f5f5f5" align="center"> | |||
<tr> | |||
<td colspan="4" bgcolor="#f5f5f5">标签源码碎片管理</td> | |||
</tr> | |||
<tr bgColor="#e9ecef" align="center"> | |||
<td width="25%">标签文件名</td> | |||
<td width="33%" align="left">标签说明</td> | |||
<td width="22%">修改时间</td> | |||
<td width="30%" align="left">标签说明</td> | |||
<td width="25%">修改时间</td> | |||
<td width="20%">操作</td> | |||
</tr> | |||
<tr> | |||
@@ -34,7 +37,7 @@ | |||
<td><img src="../static/web/img/icon_htm.png"><?php echo $filename;?></td> | |||
<td><?php echo $fileinfo;?></td> | |||
<td align="center"><?php echo $filetime;?></td> | |||
<td align="center"><a href="tpl.php?action=edittag&filename=<?php echo $filename;?>" class="btn btn-success btn-sm"><i class="fa fa-pencil-square-o"></i> 编辑</a></td> | |||
<td align="center"><a href="tpl.php?action=edittag&filename=<?php echo $filename;?>" class="btn btn-success btn-sm"><i class="fa fa-pencil-square-o"></i> 修改</a></td> | |||
</tr> | |||
<?php }?> | |||
<tr> | |||
@@ -3,7 +3,7 @@ | |||
<head> | |||
<meta charset="utf-8"> | |||
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"> | |||
<title>文件编辑</title> | |||
<title>文件修改</title> | |||
<link rel="stylesheet" href="../static/web/css/admin.css"> | |||
<script> | |||
function Post() { | |||
@@ -1,6 +1,6 @@ | |||
<?php | |||
/** | |||
* 编辑一个模板 | |||
* 修改一个模板 | |||
* | |||
* @version $id:templets_one_edit.php 23:07 2010年7月20日 tianya $ | |||
* @package DedeBIZ.Administrator | |||
@@ -26,11 +26,11 @@ if (preg_match("#\.#", $acdir)) { | |||
} | |||
/* | |||
function edit_new_tpl() { } | |||
编辑模板 | |||
修改模板 | |||
*/ | |||
if ($action == 'edit' || $action == 'newfile') { | |||
if ($filename == '' && $action == 'edit') { | |||
ShowMsg('未指定要编辑的文件', '-1'); | |||
ShowMsg('未指定要修改的文件', '-1'); | |||
exit(); | |||
} | |||
if (!file_exists($templetdird.'/'.$filename) && $action == 'edit') { | |||
@@ -74,12 +74,12 @@ if ($action == 'edit' || $action == 'newfile') { | |||
} | |||
/*--------------------------- | |||
function save_tpl() { } | |||
保存编辑模板 | |||
保存修改模板 | |||
--------------------------*/ | |||
else if ($action == 'saveedit') { | |||
CheckCSRF(); | |||
if ($filename == '') { | |||
ShowMsg('未指定要编辑的文件或文件名不合法', '-1'); | |||
ShowMsg('未指定要修改的文件或文件名不合法', '-1'); | |||
exit(); | |||
} | |||
if (!preg_match("#\.htm$#", $filename)) { | |||
@@ -196,7 +196,7 @@ function lib_demotag(&\$ctag,&\$refObj) | |||
$title = "新建标签"; | |||
} else { | |||
if (!preg_match("#^[a-z0-9_-]{1,}\.lib\.php$#i", $filename)) { | |||
ShowMsg('文件不是标准的标签碎片文件,不允许在此编辑', '-1'); | |||
ShowMsg('文件不是标准的标签碎片文件,不允许在此修改', '-1'); | |||
exit(); | |||
} | |||
$fp = fopen(DEDEINC.'/taglib/'.$filename, 'r'); | |||
@@ -1,6 +1,6 @@ | |||
<?php | |||
/** | |||
* 投票模块编辑 | |||
* 投票模块修改 | |||
* | |||
* @version $id:vote_edit.php 23:54 2010年7月20日 tianya $ | |||
* @package DedeBIZ.Administrator | |||
@@ -8,7 +8,6 @@ | |||
<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css"> | |||
<link rel="shortcut icon" href="../static/web/img/favicon.ico"> | |||
<script src="../static/web/js/jquery.min.js"></script> | |||
<script src="../static/web/js/popper.min.js"></script> | |||
<script src="../static/web/js/bootstrap.bundle.min.js"></script> | |||
<script src="../static/web/js/style.js"></script> | |||
<style>*{margin:0;padding:0;letter-spacing:.6px;box-sizing:border-box}body{line-height:1.5;font:14px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#545b62;background:#f5f5f5}a{color:#545b62}input,select,.btn{font-size:14px!important}.install-box{margin:0 auto;width:860px}.admin-head{padding:1rem 0;background:#fff}.logo{height:36px}.admin-nav{height:36px;line-height:36px}.admin-nav-a{padding-right:30px}.admin-btn{color:#545b62}.dropdown-menu{min-width:8rem;font-size:14px}.dropdown-item{padding:0 1rem;height:36px;line-height:36px;font-size:14px;color:#545b62!important}@media (max-width:760px){.install-box{width:100%}.admin-head{padding:1rem 15px}.admin-nav-a{display:none!important}}</style> | |||
@@ -37,7 +36,7 @@ | |||
<div class="alert alert-warning">请先阅读<a href="https://www.dedebiz.com/license?from=install" target="_blank" class="text-primary">《站点授权协议》</a></div> | |||
<div class="card shadow-sm mb-3"> | |||
<div class="card-header bg-success text-white"> | |||
<h4 class="text-center my-0">欢迎使用DedeCMSV<?php echo $cfg_version_detail;?></h4> | |||
<h4 class="text-center my-0">欢迎使用DedeV<?php echo $cfg_version_detail;?></h4> | |||
</div> | |||
<div class="card-body"> | |||
<form action="index.php" method="post" name="form1"> | |||
@@ -4049,7 +4049,7 @@ INSERT INTO `#@__sysconfig` VALUES ('1','cfg_basehost','站点网址','1','strin | |||
('113','cfg_feedback_forbid','是否禁止所有评论,包括禁止顶踩等','5','bool','N'), | |||
('114','cfg_addon_domainbind','是否绑定附件目录为指定的二级域名','7','bool','N'), | |||
('115','cfg_addon_domain','附件目录的二级域名','7','string',''), | |||
('116','cfg_df_dutyadmin','默认责任编辑名称','7','string','网站管理员'), | |||
('116','cfg_df_dutyadmin','默认责任修改名称','7','string','网站管理员'), | |||
('117','cfg_mb_allowncarc','是否允许用户空间显示未审核文档','4','bool','Y'), | |||
('118','cfg_mb_spaceallarc','会员空间中所有文档的栏目ID(不限为0)','4','number','0'), | |||
('119','cfg_face_adds','上传头像增加积分','5','number','10'), | |||
@@ -4070,7 +4070,7 @@ INSERT INTO `#@__sysconfig` VALUES ('1','cfg_basehost','站点网址','1','strin | |||
('134','cfg_album_mark','是否使用图集水印,小图也会受影响','3','bool','N'), | |||
('135','cfg_mb_feedcheck','是否需要会员动态审核','4','bool','N'), | |||
('136','cfg_mb_msgischeck','是否需要会员状态审核','4','bool','N'), | |||
('137','cfg_title_site','是否发布和编辑文档时远程发布,启用远程站点的前提下','2','bool','N'), | |||
('137','cfg_title_site','是否发布和修改文档时远程发布,启用远程站点的前提下','2','bool','N'), | |||
('138','cfg_mysql_type','数据库类型,支持MySQL和Mysqli','2','string','mysql'), | |||
('139', 'cfg_domain_cookie', '跨域共享Cookie的域名,例如: www.dedebiz.com', 2, 'string', ''), | |||
('140', 'cfg_cross_sectypeid', '支持交叉栏目显示副栏目文档', '7', 'bool', 'Y'), | |||
@@ -176,7 +176,7 @@ body.hidemenu .body-right { | |||
} | |||
.top-version { | |||
float:left; | |||
margin-top:20px; | |||
margin-top:18px; | |||
margin-left:5px; | |||
color:#fff | |||
} | |||
@@ -486,8 +486,7 @@ span.page-link { | |||
} | |||
.form-control { | |||
display:inline-block; | |||
margin-right:10px; | |||
width:360px | |||
margin-right:10px | |||
} | |||
.admin-updates { | |||
display:inline-block; | |||
@@ -591,6 +590,6 @@ span.page-link { | |||
} | |||
@media (min-width:480px) { | |||
.modal-dialog { | |||
max-width:520px | |||
max-width:500px | |||
} | |||
} |
@@ -67,7 +67,7 @@ function LoadTestDiv() | |||
var dfstr = '粘贴到这里...'; | |||
if (document.getElementById('imagebody').value.length <= dfstr.length) | |||
{ | |||
alert('您还没有粘贴任何东西在编辑框'); | |||
alert('您还没有粘贴任何东西在修改框'); | |||
return; | |||
} | |||
if (!newobj){ | |||
@@ -119,7 +119,7 @@ function ShowZipField(formitem,zipid,upid) | |||
document.getElementById(zipid).style.display = 'none'; | |||
} | |||
} | |||
//图片显示与隐藏Html编辑框 | |||
//图片显示与隐藏Html修改框 | |||
function ShowHtmlField(formitem,htmlid,upid) | |||
{ | |||
if ($Nav()!="IE"){ | |||
@@ -189,7 +189,7 @@ $cfg_version = 'V6'; | |||
$cfg_version_detail = '6.2.0'; //详细版本号 | |||
$cfg_soft_lang = 'utf-8'; | |||
$cfg_soft_public = 'base'; | |||
$cfg_softname = '织梦内容管理系统'; | |||
$cfg_softname = '得得系统'; | |||
$cfg_soft_enname = 'DedeV6'; | |||
$cfg_soft_devteam = 'DedeBIZ'; | |||
//文档的默认命名规则 | |||
@@ -287,7 +287,7 @@ function GetFieldValue($dvalue, $dtype, $aid = 0, $job = 'add', $addvar = '', $a | |||
} | |||
} | |||
/** | |||
* 获得带值的表单(编辑时用) | |||
* 获得带值的表单修改时用 | |||
* | |||
* @access public | |||
* @param object $ctag 标签 | |||
@@ -111,12 +111,12 @@ if (!function_exists('GetIP')) { | |||
} | |||
} | |||
/** | |||
* 获取编辑器 | |||
* 获取修改器 | |||
* | |||
* @param string $fname 表单名称 | |||
* @param string $fvalue 如果表单中有默认值,则填入默认值 | |||
* @param string $nheight 高度 | |||
* @param string $etype 编辑器类型 | |||
* @param string $etype 修改器类型 | |||
* @param string $gtype 获取类型 | |||
* @param string $isfullpage 是否全屏 | |||
* @return string | |||
@@ -126,13 +126,13 @@ function jsScript($js) | |||
return $out; | |||
} | |||
/** | |||
* 获取编辑器 | |||
* 获取修改器 | |||
* | |||
* @access public | |||
* @param string $fname 表单名称 | |||
* @param string $fvalue 表单值 | |||
* @param string $nheight 文档高度 | |||
* @param string $etype 编辑器类型 | |||
* @param string $etype 修改器类型 | |||
* @param string $gtype 获取值类型 | |||
* @param string $isfullpage 是否全屏 | |||
* @return string | |||
@@ -1,7 +1,7 @@ | |||
<?php | |||
if (!defined('DEDEINC')) exit('dedebiz'); | |||
/** | |||
* 获得责任编辑名称 | |||
* 获得作者名称 | |||
* | |||
* @version $id:adminname.lib.php 2 8:48 2010年7月8日 tianya $ | |||
* @package DedeBIZ.Taglib | |||
@@ -10,7 +10,7 @@ if (!defined('DEDEINC')) exit('dedebiz'); | |||
* @link https://www.dedebiz.com | |||
*/ | |||
/** | |||
* 获得责任编辑名称 | |||
* 获得作者名称 | |||
* | |||
* @access public | |||
* @param object $ctag 解析标签 | |||
@@ -34,7 +34,7 @@ function lib_flinktype(&$ctag, &$refObj) | |||
} | |||
$DedeBIZ = new stdClass; | |||
$DedeBIZ->id = 999; | |||
$DedeBIZ->typename = '织梦链'; | |||
$DedeBIZ->typename = 'Dede链'; | |||
if ($type == 'DedeBIZ') $row[] = $DedeBIZ; | |||
foreach ($row as $key => $value) { | |||
if (is_array($dtp->CTags)) { | |||
@@ -1,4 +1,4 @@ | |||
获得责任编辑名称 | |||
获得作者名称 | |||
>>dede>> | |||
{dede:adminname/} | |||
>>dede>> |
@@ -119,7 +119,7 @@ class TypeUnit | |||
echo "<tr onMouseMove=\"javascript:this.bgColor='#e9ecef';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">"; | |||
echo "<td class='admin-td'><table width='98%' cellspacing='0' cellpadding='0'><tr><td width='50%'><i id='img".$id."' onClick=\"LoadSuns('suns".$id."',$id);\" class='fa fa-plus-square-o'></i><input type='checkbox' name='tids[]' value='{$id}' class='mr-3 ml-3'><span class='btn btn-success btn-xs'>列表</span>{$nss}<a href='catalog_do.php?cid=".$id."&dopost=listArchives'><span class='mr-3 ml-3'>".$typeName."</span></a>[id:".$id."](文档数:".$this->GetTotalArc($id).")"; | |||
echo "</td><td align='right'>"; | |||
echo "<a href='{$GLOBALS['cfg_phpurl']}/list.php?tid={$id}' target='_blank' title='预览'><i class='btn btn-sm fa fa-globe'></i></a>"; | |||
echo "<a href='{$GLOBALS['cfg_phpurl']}/list.php?tid={$id}' target='_blank' title='预览'><i class='btn btn-sm fa fa-eye'></i></a>"; | |||
echo "<a href='catalog_do.php?cid={$id}&dopost=listArchives' title='文档'><i class='btn btn-sm fa fa-bars'></i></a>"; | |||
echo "<a href='catalog_add.php?id={$id}' title='增加子类'><i class='btn btn-sm fa fa-plus-circle'></i></a>"; | |||
echo "<a href='catalog_edit.php?id={$id}' title='修改'><i class='btn btn-sm fa fa-pencil-square-o'></i></a>"; | |||
@@ -132,7 +132,7 @@ class TypeUnit | |||
echo "<tr onMouseMove=\"javascript:this.bgColor='#e9ecef';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">"; | |||
echo "<td class='admin-td'><table width='98%' cellspacing='0' cellpadding='0'><tr><td width='50%'><i id='img".$id."' onClick=\"LoadSuns('suns".$id."',$id);\" class='fa fa-plus-square-o'></i><input type='checkbox' name='tids[]' value='{$id}' class='mr-3 ml-3'><span class='btn btn-warning btn-xs'>封面</span>{$nss}<a href='catalog_do.php?cid=".$id."&dopost=listArchives'><span class='mr-3 ml-3'>".$typeName."</span></a>[id:".$id."]"; | |||
echo "</td><td align='right'>"; | |||
echo "<a href='{$GLOBALS['cfg_phpurl']}/list.php?tid={$id}' target='_blank' title='预览'><i class='btn btn-sm fa fa-globe'></i></a>"; | |||
echo "<a href='{$GLOBALS['cfg_phpurl']}/list.php?tid={$id}' target='_blank' title='预览'><i class='btn btn-sm fa fa-eye'></i></a>"; | |||
echo "<a href='catalog_do.php?cid={$id}&dopost=listArchives' title='文档'><i class='btn btn-sm fa fa-bars'></i></a>"; | |||
echo "<a href='catalog_add.php?id={$id}' title='增加子类'><i class='btn btn-sm fa fa-plus-circle'></i></a>"; | |||
echo "<a href='catalog_edit.php?id={$id}' title='修改'><i class='btn btn-sm fa fa-pencil-square-o'></i></a>"; | |||
@@ -145,7 +145,7 @@ class TypeUnit | |||
echo "<tr onMouseMove=\"javascript:this.bgColor='#e9ecef';\" onMouseOut=\"javascript:this.bgColor='#ffffff';\">"; | |||
echo "<td class='admin-td'><table width='98%' cellspacing='0' cellpadding='0'><tr><td width='50%'><i id='img".$id."' onClick=\"LoadSuns('suns".$id."',$id);\" class='fa fa-plus-square-o'></i><input type='checkbox' name='tids[]' value='{$id}' class='mr-3 ml-3'><span class='btn btn-primary btn-xs'>外部</span>{$nss}<a href='catalog_edit.php?id=".$id."'><span class='mr-3 ml-3'>".$typeName."</span></a>[id:".$id."]"; | |||
echo "</td><td align='right'>"; | |||
echo "<a href='{$typeDir}' target='_blank' title='预览'><i class='btn btn-sm fa fa-globe'></i></a>"; | |||
echo "<a href='{$typeDir}' target='_blank' title='预览'><i class='btn btn-sm fa fa-eye'></i></a>"; | |||
echo "<a href='catalog_edit.php?id={$id}' title='修改'><i class='btn btn-sm fa fa-pencil-square-o'></i></a>"; | |||
echo "<a href='catalog_do.php?dopost=moveCatalog&typeid={$id}' title='移动'><i class='btn btn-sm fa fa-share-square'></i></a>"; | |||
echo "<a href='catalog_del.php?id={$id}&typeoldname=".urlencode($typeName)."' title='删除'><i class='btn btn-sm fa fa-trash'></i></a>"; | |||
@@ -202,7 +202,7 @@ class TypeUnit | |||
echo "<td class='admin-td'><table width='98%' cellspacing='0' cellpadding='0'><tr><td width='50%'>"; | |||
echo "$step<i id='img".$id."' onClick=\"LoadSuns('suns".$id."',$id);\" class='fa fa-plus-square-o'></i><input type='checkbox' name='tids[]' value='{$id}' class='mr-3 ml-3'><span class='btn btn-success btn-xs'>列表</span>{$nss}<a href='catalog_do.php?cid=".$id."&dopost=listArchives'><span class='mr-3 ml-3'>".$typeName."</span></a>[id:".$id."](文档数:".$this->GetTotalArc($id).")"; | |||
echo "</td><td align='right'>"; | |||
echo "<a href='{$GLOBALS['cfg_phpurl']}/list.php?tid={$id}' target='_blank' title='预览'><i class='btn btn-sm fa fa-globe'></i></a>"; | |||
echo "<a href='{$GLOBALS['cfg_phpurl']}/list.php?tid={$id}' target='_blank' title='预览'><i class='btn btn-sm fa fa-eye'></i></a>"; | |||
echo "<a href='catalog_do.php?cid={$id}&dopost=listArchives' title='文档'><i class='btn btn-sm fa fa-bars'></i></a>"; | |||
echo "<a href='catalog_add.php?id={$id}' title='增加子类'><i class='btn btn-sm fa fa-plus-circle'></i></a>"; | |||
echo "<a href='catalog_edit.php?id={$id}' title='修改'><i class='btn btn-sm fa fa-pencil-square-o'></i></a>"; | |||
@@ -216,7 +216,7 @@ class TypeUnit | |||
echo "<td class='admin-td'><table width='98%' cellspacing='0' cellpadding='0'><tr><td width='50%'>"; | |||
echo "$step<i id='img".$id."' onClick=\"LoadSuns('suns".$id."',$id);\" class='fa fa-plus-square-o'></i><input type='checkbox' name='tids[]' value='{$id}' class='mr-3 ml-3'><span class='btn btn-warning btn-xs'>封面</span>{$nss}<a href='catalog_do.php?cid=".$id."&dopost=listArchives'><span class='mr-3 ml-3'>".$typeName."</span></a>[id:".$id."]"; | |||
echo "</td><td align='right'>"; | |||
echo "<a href='{$GLOBALS['cfg_phpurl']}/list.php?tid={$id}' target='_blank' title='预览'><i class='btn btn-sm fa fa-globe'></i></a>"; | |||
echo "<a href='{$GLOBALS['cfg_phpurl']}/list.php?tid={$id}' target='_blank' title='预览'><i class='btn btn-sm fa fa-eye'></i></a>"; | |||
echo "<a href='catalog_do.php?cid={$id}&dopost=listArchives' title='文档'><i class='btn btn-sm fa fa-bars'></i></a>"; | |||
echo "<a href='catalog_add.php?id={$id}' title='增加子类'><i class='btn btn-sm fa fa-plus-circle'></i></a>"; | |||
echo "<a href='catalog_edit.php?id={$id}' title='修改'><i class='btn btn-sm fa fa-pencil-square-o'></i></a>"; | |||
@@ -230,7 +230,7 @@ class TypeUnit | |||
echo "<td class='admin-td'><table width='98%' cellspacing='0' cellpadding='0'><tr><td width='50%'>"; | |||
echo "$step<i id='img".$id."' onClick=\"LoadSuns('suns".$id."',$id);\" class='fa fa-plus-square-o'></i><input type='checkbox' name='tids[]' value='{$id}' class='mr-3 ml-3'><span class='btn btn-primary btn-xs'>外部</span>{$nss}<a href='catalog_do.php?cid=".$id."&dopost=listArchives'><span class='mr-3 ml-3'>".$typeName."</span></a>[id:".$id."]"; | |||
echo "</td><td align='right'>"; | |||
echo "<a href='{$typeDir}' target='_blank' title='预览'><i class='btn btn-sm fa fa-globe'></i></a>"; | |||
echo "<a href='{$typeDir}' target='_blank' title='预览'><i class='btn btn-sm fa fa-eye'></i></a>"; | |||
echo "<a href='catalog_edit.php?id={$id}' title='修改'><i class='btn btn-sm fa fa-pencil-square-o'></i></a>"; | |||
echo "<a href='catalog_do.php?dopost=moveCatalog&typeid={$id}' title='移动'><i class='btn btn-sm fa fa-share-square'></i></a>"; | |||
echo "<a href='catalog_del.php?id={$id}&typeoldname=".urlencode($typeName)."' title='删除'><i class='btn btn-sm fa fa-trash'></i></a>"; | |||
@@ -44,7 +44,7 @@ | |||
<span>点击:<i id="_count">...</i>次</span> | |||
</div> | |||
<div class="py-3">{dede:field.body/}</div> | |||
<div class="py-3">责任编辑:{dede:adminname/}</div> | |||
<div class="py-3">作者:{dede:adminname/}</div> | |||
<nav class="py-3"> | |||
<ul class="pagination justify-content-center">{dede:pagebreak/}</ul> | |||
</nav> | |||
@@ -42,7 +42,7 @@ | |||
<span>点击:<i id="_count">...</i>次</span> | |||
</div> | |||
<div class="py-3">{dede:field.body/}</div> | |||
<div class="py-3">责任编辑:{dede:adminname/}</div> | |||
<div class="py-3">作者:{dede:adminname/}</div> | |||
<nav class="py-3"> | |||
<ul class="pagination justify-content-center">{dede:pagebreak/}</ul> | |||
</nav> | |||
@@ -45,7 +45,7 @@ | |||
<span>点击:<i id="_count">...</i>次</span> | |||
</div> | |||
<div class="py-3">{dede:field.body/}</div> | |||
<div class="py-3">责任编辑:{dede:adminname/}</div> | |||
<div class="py-3">作者:{dede:adminname/}</div> | |||
<nav class="py-3"> | |||
<ul class="pagination justify-content-center">{dede:pagebreak/}</ul> | |||
</nav> | |||
@@ -134,7 +134,7 @@ | |||
{/dede:field} | |||
</div> | |||
<div class="py-3">{dede:field.body/}</div> | |||
<div class="py-3">责任编辑:{dede:adminname/}</div> | |||
<div class="py-3">作者:{dede:adminname/}</div> | |||
<div class="clearfix"></div> | |||
<div class="row"> | |||
<div class="col-md-4 prenext"> | |||
@@ -53,7 +53,7 @@ | |||
<p>地址:{dede:field.address/}</p> | |||
</div> | |||
<div class="py-3">{dede:field.body/}</div> | |||
<div class="py-3">责任编辑:{dede:adminname/}</div> | |||
<div class="py-3">作者:{dede:adminname/}</div> | |||
<div class="clearfix"></div> | |||
<div class="row"> | |||
<div class="col-md-4 prenext"> | |||
@@ -44,7 +44,7 @@ | |||
</div> | |||
<div class="speciallist row py-3">{dede:field.note/}</div> | |||
<div class="py-3">{dede:field.body/}</div> | |||
<div class="py-3">责任编辑:{dede:adminname/}</div> | |||
<div class="py-3">作者:{dede:adminname/}</div> | |||
<div class="clearfix"></div> | |||
</div> | |||
<div class="col-md-3"> | |||
@@ -1,6 +1,6 @@ | |||
<?php | |||
/** | |||
* 图片编辑 | |||
* 图片修改 | |||
* | |||
* @version $id:album_edit.php 13:52 2010年7月9日 tianya $ | |||
* @package DedeBIZ.User | |||
@@ -1,6 +1,6 @@ | |||
<?php | |||
/** | |||
* 文档编辑器 | |||
* 文档修改器 | |||
* | |||
* @version $id:archives_edit.php 13:52 2010年7月9日 tianya $ | |||
* @package DedeBIZ.User | |||
@@ -1,6 +1,6 @@ | |||
<?php | |||
/** | |||
* 单表模型编辑器 | |||
* 单表模型修改器 | |||
* | |||
* @version $id:archives_sg_add.php 13:52 2010年7月9日 tianya $ | |||
* @package DedeBIZ.User | |||
@@ -1,6 +1,6 @@ | |||
<?php | |||
/** | |||
* 编辑文档 | |||
* 修改文档 | |||
* | |||
* @version $id:article_edit.php 13:52 2010年7月9日 tianya $ | |||
* @package DedeBIZ.User | |||