@@ -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 = "说明:如果嵌入的是织梦广告标签,那将会解析成标签中的文档到页面,广告修改后需要重新生成<br> | |||
如果不希望重新生成所有页面,则直接调用js代码即可 | |||
"; | |||
$wintitle = "广告管理-获取广告标签"; | |||
@@ -60,7 +60,7 @@ else if ($dopost == 'save') { | |||
exit(); | |||
} | |||
if (empty($channelid)) { | |||
ShowMsg("文档为非指定的类型,请检查您发布内容的表单是否合法", "-1"); | |||
ShowMsg("文档为非指定的类型,请检查您发布文档的表单是否合法", "-1"); | |||
exit(); | |||
} | |||
if (!CheckChannel($typeid, $channelid)) { | |||
@@ -70,7 +70,7 @@ else if ($dopost == 'save') { | |||
if (!TestPurview('a_New')) { | |||
CheckCatalog($typeid, "对不起,您没有操作栏目 {$typeid} 的权限"); | |||
} | |||
//对保存的内容进行处理 | |||
//对保存的文档进行处理 | |||
if (empty($writer)) $writer = $cuserLogin->getUserName(); | |||
if (empty($source)) $source = '未知'; | |||
$pubdate = GetMkTime($pubdate); | |||
@@ -280,7 +280,7 @@ else if ($dopost == 'save') { | |||
$artUrl = $cfg_phpurl."/view.php?aid=$arcID"; | |||
} | |||
ClearMyAddon($arcID, $title); | |||
//自动更新关联内容 | |||
//自动更新关联文档 | |||
if (is_array($automake)) { | |||
foreach ($automake as $key => $value) { | |||
if (isset(${$key}) && !empty(${$key})) { | |||
@@ -72,7 +72,7 @@ else if ($dopost == 'save') { | |||
exit(); | |||
} | |||
if (empty($channelid)) { | |||
ShowMsg("文档为非指定的类型,请检查您发布内容的表单是否合法", "-1"); | |||
ShowMsg("文档为非指定的类型,请检查您发布文档的表单是否合法", "-1"); | |||
exit(); | |||
} | |||
if (!CheckChannel($typeid, $channelid)) { | |||
@@ -86,7 +86,7 @@ else if ($dopost == 'save') { | |||
CheckArcAdmin($id, $cuserLogin->getUserID()); | |||
} | |||
} | |||
//对保存的内容进行处理 | |||
//对保存的文档进行处理 | |||
$pubdate = GetMkTime($pubdate); | |||
$sortrank = AddDay($pubdate, $sortup); | |||
$ismake = $ishtml == 0 ? -1 : 0; | |||
@@ -109,7 +109,7 @@ else if ($dopost == 'save') { | |||
$ddisremote = 0; | |||
} | |||
$litpic = GetDDImage('none', $picname, $ddisremote); | |||
//分析body里的内容 | |||
//分析body里的文档 | |||
$body = AnalyseHtmlBody($body, $description, $litpic, $keywords, 'htmltext'); | |||
//处理图片文档的自定义属性 | |||
if ($litpic != '' && !preg_match("#p#", $flag)) { | |||
@@ -318,7 +318,7 @@ else if ($dopost == 'save') { | |||
$arcUrl = $cfg_phpurl."/view.php?aid=$id"; | |||
} | |||
ClearMyAddon($id, $title); | |||
//自动更新关联内容 | |||
//自动更新关联文档 | |||
if (is_array($automake)) { | |||
foreach ($automake as $key => $value) { | |||
if (isset(${$key}) && !empty(${$key})) { | |||
@@ -58,7 +58,7 @@ else if ($dopost == 'save') { | |||
exit(); | |||
} | |||
if (empty($channelid)) { | |||
ShowMsg('文档为非指定的类型,请检查您发布内容的表单是否合法', '-1'); | |||
ShowMsg('文档为非指定的类型,请检查您发布文档的表单是否合法', '-1'); | |||
exit(); | |||
} | |||
if (!CheckChannel($typeid, $channelid)) { | |||
@@ -68,7 +68,7 @@ else if ($dopost == 'save') { | |||
if (!TestPurview('a_New')) { | |||
CheckCatalog($typeid, "对不起,您没有操作栏目 {$typeid} 的权限"); | |||
} | |||
//对保存的内容进行处理 | |||
//对保存的文档进行处理 | |||
if (empty($writer)) $writer = $cuserLogin->getUserName(); | |||
if (empty($source)) $source = '未知'; | |||
$pubdate = GetMkTime($pubdate); | |||
@@ -160,7 +160,7 @@ else if ($dopost == 'save') { | |||
$artUrl = $cfg_phpurl."/view.php?aid=$arcID"; | |||
} | |||
ClearMyAddon($arcID, $title); | |||
//自动更新关联内容 | |||
//自动更新关联文档 | |||
if (is_array($automake)) { | |||
foreach ($automake as $key => $value) { | |||
if (isset(${$key}) && !empty(${$key})) { | |||
@@ -591,7 +591,7 @@ else if ($dopost == 'quickEdit') { | |||
//AJAX窗体结束 | |||
} | |||
/*----------------------------- | |||
//保存快速编辑内容 | |||
//保存快速编辑文档 | |||
function quickEditSave(){ } | |||
------------------------------*/ | |||
else if ($dopost == 'quickEditSave') { | |||
@@ -653,7 +653,7 @@ else if ($dopost == "makekw") { | |||
$client->appid = $cfg_bizcore_appid; | |||
$client->key = $cfg_bizcore_key; | |||
while ($row = $dsql->GetArray()) { | |||
//跳过已经有关键词内容 | |||
//跳过已经有关键词文档 | |||
if (trim($row['keywords']) != '') continue; | |||
$aid = $row['id']; | |||
$keywords = ''; | |||
@@ -676,7 +676,7 @@ else if ($dopost == "makekw") { | |||
include_once(DEDEINC.'/libraries/splitword.class.php'); | |||
$sp = new SplitWord($cfg_soft_lang, $cfg_soft_lang); | |||
while ($row = $dsql->GetArray()) { | |||
//跳过已经有关键词内容 | |||
//跳过已经有关键词文档 | |||
if (trim($row['keywords']) != '') continue; | |||
$aid = $row['id']; | |||
$keywords = ''; | |||
@@ -57,7 +57,7 @@ else if ($dopost == 'save') { | |||
exit(); | |||
} | |||
if (empty($channelid)) { | |||
ShowMsg("文档为非指定的类型,请检查您发布内容的表单是否合法", "-1"); | |||
ShowMsg("文档为非指定的类型,请检查您发布文档的表单是否合法", "-1"); | |||
exit(); | |||
} | |||
if (!CheckChannel($typeid, $channelid)) { | |||
@@ -71,7 +71,7 @@ else if ($dopost == 'save') { | |||
CheckArcAdmin($id, $cuserLogin->getUserID()); | |||
} | |||
} | |||
//对保存的内容进行处理 | |||
//对保存的文档进行处理 | |||
$pubdate = GetMkTime($pubdate); | |||
$sortrank = AddDay($pubdate, $sortup); | |||
$ismake = $ishtml == 0 ? -1 : 0; | |||
@@ -148,7 +148,7 @@ else if ($dopost == 'save') { | |||
$artUrl = $cfg_phpurl."/view.php?aid=$id"; | |||
} | |||
ClearMyAddon($id, $title); | |||
//自动更新关联内容 | |||
//自动更新关联文档 | |||
if (is_array($automake)) { | |||
foreach ($automake as $key => $value) { | |||
if (isset(${$key}) && !empty(${$key})) { | |||
@@ -46,7 +46,7 @@ else if ($dopost == 'save') { | |||
exit(); | |||
} | |||
if (empty($channelid)) { | |||
ShowMsg("文档为非指定的类型,请检查您发布内容的表单是否合法", "-1"); | |||
ShowMsg("文档为非指定的类型,请检查您发布文档的表单是否合法", "-1"); | |||
exit(); | |||
} | |||
if (!CheckChannel($typeid, $channelid)) { | |||
@@ -56,7 +56,7 @@ else if ($dopost == 'save') { | |||
if (!TestPurview('a_New')) { | |||
CheckCatalog($typeid, "对不起,您没有操作栏目 {$typeid} 的权限"); | |||
} | |||
//对保存的内容进行处理 | |||
//对保存的文档进行处理 | |||
if (empty($writer)) $writer = $cuserLogin->getUserName(); | |||
if (empty($source)) $source = '未知'; | |||
if (empty($flags)) $flag = ''; | |||
@@ -43,7 +43,7 @@ else if ($dopost == 'save') { | |||
exit(); | |||
} | |||
if (empty($channelid)) { | |||
ShowMsg("文档为非指定的类型,请检查您发布内容的表单是否合法", "-1"); | |||
ShowMsg("文档为非指定的类型,请检查您发布文档的表单是否合法", "-1"); | |||
exit(); | |||
} | |||
if (!CheckChannel($typeid, $channelid)) { | |||
@@ -57,7 +57,7 @@ else if ($dopost == 'save') { | |||
CheckArcAdmin($id, $cuserLogin->getUserID()); | |||
} | |||
} | |||
//对保存的内容进行处理 | |||
//对保存的文档进行处理 | |||
if (empty($flags)) $flag = ''; | |||
else $flag = join(',', $flags); | |||
$title = cn_substrR($title, $cfg_title_maxlen); | |||
@@ -66,7 +66,7 @@ else if ($dopost == 'save') { | |||
exit(); | |||
} | |||
if (empty($channelid)) { | |||
ShowMsg("文档为非指定的类型,请检查您发布内容的表单是否合法", "-1"); | |||
ShowMsg("文档为非指定的类型,请检查您发布文档的表单是否合法", "-1"); | |||
exit(); | |||
} | |||
if (!CheckChannel($typeid, $channelid)) { | |||
@@ -76,7 +76,7 @@ else if ($dopost == 'save') { | |||
if (!TestPurview('a_New')) { | |||
CheckCatalog($typeid, "对不起,您没有操作栏目 {$typeid} 的权限"); | |||
} | |||
//对保存的内容进行处理 | |||
//对保存的文档进行处理 | |||
if (empty($writer)) $writer = $cuserLogin->getUserName(); | |||
if (empty($source)) $source = '未知'; | |||
$pubdate = GetMkTime($pubdate); | |||
@@ -196,7 +196,7 @@ else if ($dopost == 'save') { | |||
$artUrl = $cfg_phpurl."/view.php?aid=$arcID"; | |||
} | |||
ClearMyAddon($arcID, $title); | |||
//自动更新关联内容 | |||
//自动更新关联文档 | |||
if (is_array($automake)) { | |||
foreach ($automake as $key => $value) { | |||
if (isset(${$key}) && !empty(${$key})) { | |||
@@ -63,7 +63,7 @@ else if ($dopost == 'save') { | |||
exit(); | |||
} | |||
if (empty($channelid)) { | |||
ShowMsg("文档为非指定的类型,请检查您发布内容的表单是否合法", "-1"); | |||
ShowMsg("文档为非指定的类型,请检查您发布文档的表单是否合法", "-1"); | |||
exit(); | |||
} | |||
if (!CheckChannel($typeid, $channelid)) { | |||
@@ -77,7 +77,7 @@ else if ($dopost == 'save') { | |||
CheckArcAdmin($id, $cuserLogin->getUserID()); | |||
} | |||
} | |||
//对保存的内容进行处理 | |||
//对保存的文档进行处理 | |||
$pubdate = GetMkTime($pubdate); | |||
$sortrank = AddDay($pubdate, $sortup); | |||
$ismake = $ishtml == 0 ? -1 : 0; | |||
@@ -101,7 +101,7 @@ else if ($dopost == 'save') { | |||
$ddisremote = 0; | |||
} | |||
$litpic = GetDDImage('none', $picname, $ddisremote); | |||
//分析body里的内容 | |||
//分析body里的文档 | |||
$body = AnalyseHtmlBody($body, $description, $litpic, $keywords, 'htmltext'); | |||
//分析处理附加表数据 | |||
$inadd_f = ''; | |||
@@ -162,7 +162,7 @@ else if ($dopost == 'save') { | |||
$artUrl = $cfg_phpurl."/view.php?aid=$id"; | |||
} | |||
ClearMyAddon($id, $title); | |||
//自动更新关联内容 | |||
//自动更新关联文档 | |||
if (is_array($automake)) { | |||
foreach ($automake as $key => $value) { | |||
if (isset(${$key}) && !empty(${$key})) { | |||
@@ -17,7 +17,7 @@ if (empty($dopost)) $dopost = ''; | |||
if ($dopost == 'saveall') { | |||
$ENV_GOBACK_URL = empty($_COOKIE['ENV_GOBACK_URL']) ? "article_keywords_main.php" : $_COOKIE['ENV_GOBACK_URL']; | |||
if (!isset($aids)) { | |||
ShowMsg("您没有选择要修改的内容", $ENV_GOBACK_URL); | |||
ShowMsg("您没有选择要修改的文档", $ENV_GOBACK_URL); | |||
exit(); | |||
} | |||
foreach ($aids as $aid) { | |||
@@ -26,7 +26,7 @@ if ($dopost == 'analyse') { | |||
include DedeInclude('templets/article_result_same.htm'); | |||
exit(); | |||
} | |||
//删除选中的内容(只保留一条) | |||
//删除选中的文档(只保留一条) | |||
else if ($dopost == 'delsel') { | |||
require_once(DEDEINC."/typelink/typelink.class.php"); | |||
require_once(dirname(__FILE__)."/inc/inc_batchup.php"); | |||
@@ -170,7 +170,7 @@ else if ($dopost == "GetJs") { | |||
exit(); | |||
} | |||
/*----------- | |||
获得子类的内容 | |||
获得子类的文档 | |||
function GetSunListsMenu(); | |||
-----------*/ | |||
else if ($dopost == "GetSunListsMenu") { | |||
@@ -182,7 +182,7 @@ else if ($dopost == "GetSunListsMenu") { | |||
$tu->LogicListAllSunType($cid, " "); | |||
} | |||
/*----------- | |||
获得子类的内容 | |||
获得子类的文档 | |||
function GetSunLists(); | |||
-----------*/ | |||
else if ($dopost == "GetSunLists") { | |||
@@ -122,7 +122,7 @@ if ($dopost == 'time') { | |||
</td> | |||
</tr> | |||
<tr> | |||
<td class="biz-td" align="center">内容模型:</td> | |||
<td class="biz-td" align="center">文档模型:</td> | |||
<td class="biz-td"> | |||
<?php | |||
foreach ($channelArray as $k => $arr) { | |||
@@ -1,6 +1,6 @@ | |||
<?php | |||
/** | |||
* 内容属性 | |||
* 文档属性 | |||
* | |||
* @version $id:content_att.php 14:31 2010年7月12日 tianya $ | |||
* @package DedeBIZ.Administrator | |||
@@ -1,6 +1,6 @@ | |||
<?php | |||
/** | |||
* 内容处理函数 | |||
* 文档处理函数 | |||
* | |||
* @version $id:content_batch_up.php 14:31 2010年7月12日 tianya $ | |||
* @package DedeBIZ.Administrator | |||
@@ -1,6 +1,6 @@ | |||
<?php | |||
/** | |||
* 内容处理函数 | |||
* 文档处理函数 | |||
* | |||
* @version $id:content_batch_up.php 14:31 2010年7月12日 tianya $ | |||
* @package DedeBIZ.Administrator | |||
@@ -95,7 +95,7 @@ else if ($action == 'delnulltitle') { | |||
ShowMsg("成功删除 $tdd 条记录", "javascript:;"); | |||
exit(); | |||
} | |||
//删除空内容文档 | |||
//删除空文档文档 | |||
else if ($action == 'delnullbody') { | |||
$dsql->SetQuery("SELECT aid FROM `#@__addonarticle` WHERE LENGTH(body) < 10 "); | |||
$dsql->Execute('x'); | |||
@@ -129,7 +129,7 @@ else if ($action == 'move') { | |||
exit(); | |||
} | |||
if ($typenew['channeltype'] != $typeold['channeltype']) { | |||
ShowMsg("不能把数据移动到内容类型不同的栏目", "javascript:;"); | |||
ShowMsg("不能把数据移动到文档类型不同的栏目", "javascript:;"); | |||
exit(); | |||
} | |||
$gwhere .= " And channel='".$typenew['channeltype']."' And title like '%$keyword%'"; | |||
@@ -158,7 +158,7 @@ else if ($action == 'move') { | |||
ShowMsg("完成操作,没移动任何数据", "javascript:;"); | |||
} | |||
} | |||
//删除空标题内容 | |||
//删除空标题文档 | |||
else if ($action == 'delnulltitle') { | |||
$dsql->SetQuery("SELECT id FROM `#@__archives` WHERE trim(title)='' "); | |||
$dsql->Execute('x'); | |||
@@ -1,6 +1,6 @@ | |||
<?php | |||
/** | |||
* 内容列表 | |||
* 文档列表 | |||
* | |||
* @version $id:content_i_list.php 14:31 2010年7月12日 tianya $ | |||
* @package DedeBIZ.Administrator | |||
@@ -1,6 +1,6 @@ | |||
<?php | |||
/** | |||
* 内容列表 | |||
* 文档列表 | |||
* content_s_list.php、content_i_list.php、content_select_list.php | |||
* 均使用本文件作为实际处理代码,只是使用的模板不同,如有相关变动,只需改本文件及相关模板即可 | |||
* | |||
@@ -33,7 +33,7 @@ if (TestPurview('a_List')) {; | |||
$admin_catalog = join(',', $admin_catalogs); | |||
$userCatalogSql = " arc.typeid IN($admin_catalog) "; | |||
} else { | |||
CheckCatalog($cid, '您无权浏览非指定栏目的内容'); | |||
CheckCatalog($cid, '您无权浏览非指定栏目的文档'); | |||
} | |||
if (TestPurview('a_MyList')) $mid = $cuserLogin->getUserID(); | |||
} | |||
@@ -15,7 +15,7 @@ $mid = isset($mid) ? intval($mid) : 0; | |||
if (!isset($keyword)) $keyword = ''; | |||
if (!isset($arcrank)) $arcrank = ''; | |||
if (empty($cid) && empty($channelid)) { | |||
ShowMsg("该页面必须指定栏目id或内容模型id才能浏览", "javascript:;"); | |||
ShowMsg("该页面必须指定栏目id或文档模型id才能浏览", "javascript:;"); | |||
exit(); | |||
} | |||
//检查权限许可,总权限 | |||
@@ -26,7 +26,7 @@ if (TestPurview('a_List')) { | |||
if ($cid == 0) { | |||
$ucid = $cid = $cuserLogin->getUserChannel(); | |||
} else { | |||
CheckCatalog($cid, "您无权浏览非指定栏目的内容"); | |||
CheckCatalog($cid, "您无权浏览非指定栏目的文档"); | |||
} | |||
} | |||
$adminid = $cuserLogin->getUserID(); | |||
@@ -1,6 +1,6 @@ | |||
<?php | |||
/** | |||
* 内容统计 | |||
* 文档统计 | |||
* | |||
* @version $id:content_tj.php 14:31 2010年7月12日 tianya $ | |||
* @package DedeBIZ.Administrator | |||
@@ -137,7 +137,7 @@ if ($action == 'post') { | |||
if (is_array($id) && is_all_numeric($id)) { | |||
$ids = implode(',', $id); | |||
} else { | |||
showmsg('未选中要操作的内容', '-1'); | |||
showmsg('未选中要操作的文档', '-1'); | |||
exit(); | |||
} | |||
$query = "UPDATE `$diy->table` SET ifcheck=1 WHERE id IN ($ids)"; | |||
@@ -151,7 +151,7 @@ if ($action == 'post') { | |||
if (is_array($id)) { | |||
$ids = implode(',', $id); | |||
} else { | |||
showmsg('未选中要操作的内容', '-1'); | |||
showmsg('未选中要操作的文档', '-1'); | |||
exit(); | |||
} | |||
$query = "DELETE FROM `$diy->table` WHERE id IN ($ids)"; | |||
@@ -43,10 +43,10 @@ function typename($me) | |||
return $me = "产品与图片不符"; | |||
break; | |||
case $me == 5: | |||
return $me = "事实年代以及内容错误"; | |||
return $me = "事实年代以及文档错误"; | |||
break; | |||
case $me == 6: | |||
return $me = "事实年代以及内容错误"; | |||
return $me = "事实年代以及文档错误"; | |||
break; | |||
case $me == 7: | |||
return $me = "其他错误"; | |||
@@ -33,7 +33,7 @@ if ($dopost == 'edit') { | |||
$query = "SELECT * FROM `#@__feedback` WHERE id=$id"; | |||
$row = $dsql->GetOne($query); | |||
MakeArt($row['aid']); | |||
ShowMsg("成功更新评论所在的文档内容", $ENV_GOBACK_URL); | |||
ShowMsg("成功更新评论所在的文档文档", $ENV_GOBACK_URL); | |||
exit(); | |||
} | |||
$query = "SELECT * FROM `#@__feedback` WHERE id=$id"; | |||
@@ -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 = ""; | |||
@@ -14,4 +14,4 @@ select,使用select下拉框 | |||
radio,使用radio选项卡 | |||
checkbox,checkbox多选框 | |||
stepselect,联动类型 | |||
relation,关联内容 | |||
relation,关联文档 |
@@ -22,9 +22,9 @@ | |||
>t_AccEdit>修改授权子栏目 | |||
>t_AccDel>删除授权子栏目 | |||
>>内容管理 | |||
>>文档管理 | |||
>a_List>列出内容 | |||
>a_List>列出文档 | |||
>a_New>发布任意文档 | |||
>a_Edit>修改任意文档 | |||
>a_Del>删除任意文档 | |||
@@ -23,13 +23,13 @@ $actionSearch[0] = array( | |||
), | |||
1 => array( | |||
'title' => '等审核的文档', | |||
'description' => '所有内容模型发表的未经审核内容列表', | |||
'description' => '所有文档模型发表的未经审核文档列表', | |||
'purview' => 'a_Check,a_AccCheck', | |||
'linkurl' => 'content_list.php?arcrank=-1' | |||
), | |||
2 => array( | |||
'title' => '我发布的文档', | |||
'description' => '现在登录的管理员所发表的所有内容模型中的文档', | |||
'description' => '现在登录的管理员所发表的所有文档模型中的文档', | |||
'purview' => 'a_List,a_AccList,a_MyList', | |||
'linkurl' => 'content_list.php?mid=$cuserLogin->userID' | |||
), | |||
@@ -40,7 +40,7 @@ $actionSearch[0] = array( | |||
'linkurl' => 'feedback_main.php' | |||
), | |||
4 => array( | |||
'title' => '内容回收站', | |||
'title' => '文档回收站', | |||
'description' => '如果在"系统配置变量"的"核心设置"中开启了"文档回收站是否开启功能",后台删除的文档将会存放在此处', | |||
'purview' => 'a_List,a_AccList,a_MyList', | |||
'linkurl' => 'recycling.php' | |||
@@ -48,12 +48,12 @@ $actionSearch[0] = array( | |||
) | |||
); | |||
$actionSearch[1] = array( | |||
'title' => '内容管理', | |||
'description' => '网站对应内容模型的文档管理', | |||
'title' => '文档管理', | |||
'description' => '网站对应文档模型的文档管理', | |||
'soniterm' => array( | |||
0 => array( | |||
'title' => '专题管理', | |||
'description' => '所有专题内容的管理', | |||
'description' => '所有专题文档的管理', | |||
'purview' => 'spec_New', | |||
'linkurl' => 'content_s_list.php' | |||
), | |||
@@ -84,12 +84,12 @@ $actionSearch[2] = array( | |||
) | |||
); | |||
$actionSearch[3] = array( | |||
'title' => '栏目模型', | |||
'title' => '文档模型', | |||
'description' => '所有上传的附件管理', | |||
'soniterm' => array( | |||
0 => array( | |||
'title' => '内容模型管理', | |||
'description' => '可以对现有商品、软件、图片集、普通文档、专题、分类信息等模型就行管理,也可以创建新的内容模型', | |||
'title' => '文档模型管理', | |||
'description' => '可以对现有商品、软件、图片集、普通文档、专题、分类信息等模型就行管理,也可以创建新的文档模型', | |||
'purview' => 'c_List', | |||
'linkurl' => 'mychannel_main.php' | |||
), | |||
@@ -131,7 +131,7 @@ $actionSearch[4] = array( | |||
), | |||
1 => array( | |||
'title' => '文档批量维护', | |||
'description' => '批量的对某个栏目或者全部栏目的内容进行审核文档、更新网页、移动文档、删除文档', | |||
'description' => '批量的对某个栏目或者全部栏目的文档进行审核文档、更新网页、移动文档、删除文档', | |||
'purview' => 'sys_ArcBatch', | |||
'linkurl' => 'content_batch_up.php' | |||
), | |||
@@ -166,8 +166,8 @@ $actionSearch[4] = array( | |||
'linkurl' => 'tags_main.php' | |||
), | |||
7 => array( | |||
'title' => '数据库内容替换', | |||
'description' => '可以对数据库中的某张表中的字段进行内容的批量替换', | |||
'title' => '数据库文档替换', | |||
'description' => '可以对数据库中的某张表中的字段进行文档的批量替换', | |||
'purview' => 'sys_ArcBatch', | |||
'linkurl' => 'sys_data_replace.php' | |||
), | |||
@@ -20,7 +20,7 @@ if (!isset($_NOT_ARCHIVES)) { | |||
* 获得HTML里的外部资源,针对图集 | |||
* | |||
* @access public | |||
* @param string $body 文档内容 | |||
* @param string $body 文档文档 | |||
* @param string $rfurl 来源地址 | |||
* @param string $firstdd 开始标记 | |||
* @return string | |||
@@ -90,7 +90,7 @@ function GetCurContentAlbum($body, $rfurl, &$firstdd) | |||
* 获得文档body里的外部资源 | |||
* | |||
* @access public | |||
* @param string $body 文档内容 | |||
* @param string $body 文档文档 | |||
* @return string | |||
*/ | |||
function GetCurContent($body) | |||
@@ -253,7 +253,7 @@ function CheckArcAdmin($aid, $adminid) | |||
* 文档自动分页 | |||
* | |||
* @access public | |||
* @param string $mybody 内容 | |||
* @param string $mybody 文档 | |||
* @param string $spsize 分页大小 | |||
* @param string $sptag 分页标记 | |||
* @return string | |||
@@ -322,7 +322,7 @@ function MakeArt($aid, $mkindex = FALSE, $ismakesign = FALSE, $isremote = 0) | |||
* 取第一个图片为缩略图 | |||
* | |||
* @access public | |||
* @param string $body 文档内容 | |||
* @param string $body 文档文档 | |||
* @return string | |||
*/ | |||
function GetDDImgFromBody(&$body) | |||
@@ -510,7 +510,7 @@ function PrintAutoFieldsEdit(&$fieldset, &$fieldValues, $loadtype = 'all') | |||
* 删除非站外链接、自动摘要、自动获取缩略图 | |||
* | |||
* @access public | |||
* @param string $body 内容 | |||
* @param string $body 文档 | |||
* @param string $description 描述 | |||
* @param string $litpic 缩略图 | |||
* @param string $keywords 关键词 | |||
@@ -598,7 +598,7 @@ function AnalyseHtmlBody($body, &$description, &$litpic, &$keywords, $dtype = '' | |||
* 删除非站内链接 | |||
* | |||
* @access public | |||
* @param string $body 内容 | |||
* @param string $body 文档 | |||
* @param array $allow_urls 允许的超链接 | |||
* @return string | |||
*/ | |||
@@ -762,7 +762,7 @@ function GetUpdateTest() | |||
if ($cfg_make_andcat == 'Y') $dolist .= empty($dolist) ? 'makeparenttype' : ',makeparenttype'; | |||
$dolists = explode(',', $dolist); | |||
$jumpUrl = "task_do.php?typeid={$typeid}&aid={$arcID}&dopost={$dolists[0]}&nextdo=".preg_replace("#".$dolists[0]."[,]{0,1}#", '', $dolist); | |||
$revalue = "<table width='80%' style='border:1px dashed #cdcdcd;margin-left:20px;margin-bottom:15px' id='tgtable' align='left'><tr><td bgcolor='#EBF5C9'>正在进行相关内容更新,请完成前不要进行其它操作:\r\n</td></tr>\r\n"; | |||
$revalue = "<table width='80%' style='border:1px dashed #cdcdcd;margin-left:20px;margin-bottom:15px' id='tgtable' align='left'><tr><td bgcolor='#EBF5C9'>正在进行相关文档更新,请完成前不要进行其它操作:\r\n</td></tr>\r\n"; | |||
$revalue .= "<tr><td>\r\n<iframe name='stafrm' frameborder='0' id='stafrm' width='100%' height='200px' src='$jumpUrl'></iframe>\r\n</td></tr>\r\n"; | |||
$revalue .= "</table>"; | |||
} else { | |||
@@ -64,7 +64,7 @@ function CoOnePage($gurl) | |||
if (isset($inarr[1])) { | |||
$redatas['description'] = cn_substr(html2text($inarr[1]), $cfg_auot_description); | |||
} | |||
//获取内容 | |||
//获取文档 | |||
if ($s != '' && $e != '') { | |||
$redatas['body'] = GetHtmlAreaA($s, $e, $body); | |||
if ($redatas['body'] != '' && $redatas['description'] == '') { | |||
@@ -73,7 +73,7 @@ function CheckPic($picname) | |||
return '/static/web/img/thumbnail.jpg'; | |||
} | |||
} | |||
//判断内容是否生成网页 | |||
//判断文档是否生成网页 | |||
function IsHtmlArchives($ismake) | |||
{ | |||
if ($ismake == 1) { | |||
@@ -84,7 +84,7 @@ function IsHtmlArchives($ismake) | |||
return ' <span class="btn btn-outline-danger btn-sm">未生成</span>'; | |||
} | |||
} | |||
//获得内容的限定级别名称 | |||
//获得文档的限定级别名称 | |||
function GetRankName($arcrank) | |||
{ | |||
global $arcArray, $dsql; | |||
@@ -101,7 +101,7 @@ function GetRankName($arcrank) | |||
return '不限'; | |||
} | |||
} | |||
//判断内容是否为图片文档 | |||
//判断文档是否为图片文档 | |||
function IsPicArchives($picname) | |||
{ | |||
if ($picname != '') { | |||
@@ -12,7 +12,7 @@ require_once(dirname(__FILE__)."/../config.php"); | |||
require_once(dirname(__FILE__)."/inc_menu_module.php"); | |||
//载入可发布栏目 | |||
$addset = ''; | |||
//检测可用的内容模型 | |||
//检测可用的文档模型 | |||
if ($cfg_admin_channel = 'array' && count($admin_catalogs) > 0) { | |||
$admin_catalog = join(',', $admin_catalogs); | |||
$dsql->SetQuery("SELECT channeltype FROM `#@__arctype` WHERE id IN({$admin_catalog}) GROUP BY channeltype "); | |||
@@ -42,8 +42,8 @@ if ($cuserLogin->getUserType() >= 10) { | |||
<m:item name='智能标记向导' link='mytag_tag_guide.php' rank='temp_Other' target='main' /> | |||
<m:item name='全局标记测试' link='tag_test.php' rank='temp_Test' target='main' /> | |||
</m:top>")." | |||
<m:top item='1_7_' name='栏目模型' rank='t_List,t_AccList,c_List,temp_One' icon='fa-area-chart'> | |||
<m:item name='内容模型管理' link='mychannel_main.php' rank='c_List' target='main' /> | |||
<m:top item='1_7_' name='文档模型' rank='t_List,t_AccList,c_List,temp_One' icon='fa-area-chart'> | |||
<m:item name='文档模型管理' link='mychannel_main.php' rank='c_List' target='main' /> | |||
<m:item name='单页文档管理' link='templets_one.php' rank='temp_One' target='main' /> | |||
<m:item name='联动类别管理' link='stepselect_main.php' rank='c_Stepseclect' target='main' /> | |||
<m:item name='自由列表管理' link='freelist_main.php' rank='c_List' target='main' /> | |||
@@ -80,7 +80,7 @@ $menusMain = "<m:top item='1_' name='常用操作' icon='fa-desktop'> | |||
<m:item name='评论管理' link='feedback_main.php' rank='sys_Feedback' target='main' /> | |||
<m:item name='文档回收站' link='recycling.php' ischannel='1' addalt='清空回收站' addico='fa-minus-circle' linkadd='archives_do.php?dopost=clear&aid=no&recycle=1' rank='a_List,a_AccList,a_MyList' target='main' /> | |||
</m:top> | |||
<m:top item='1_' name='内容管理' icon='fa-file-text'> | |||
<m:top item='1_' name='文档管理' icon='fa-file-text'> | |||
$addset | |||
<m:item name='专题管理' ischannel='1' link='content_s_list.php' linkadd='spec_add.php' channelid='-1' rank='spec_New' target='main' /> | |||
</m:top> | |||
@@ -97,7 +97,7 @@ $adminMenu1 | |||
<m:item name='重复文档检测' link='article_test_same.php' rank='sys_ArcBatch' target='main' /> | |||
<m:item name='自动摘要分页' link='article_description_main.php' rank='sys_Keyword' target='main' /> | |||
<m:item name='标签管理' link='tags_main.php' rank='sys_Keyword' target='main' /> | |||
".(DEDEBIZ_SAFE_MODE? "" : "<m:item name='数据库内容替换' link='sys_data_replace.php' rank='sys_ArcBatch' target='main' />")." | |||
".(DEDEBIZ_SAFE_MODE? "" : "<m:item name='数据库文档替换' link='sys_data_replace.php' rank='sys_ArcBatch' target='main' />")." | |||
</m:top> | |||
{$GLOBALS['menusMoudle']} | |||
<m:top item='5_' name='更新任务' rank='sys_MakeHtml' icon='fa-repeat'> | |||
@@ -10,8 +10,8 @@ function AlertMsg(title, id) { | |||
var msgw, msgh, msgbg, msgcolor, titlecolor, titlebg, content; | |||
//弹出窗口设置 | |||
msgw = 600;//窗口宽度 | |||
msgbg = "#fff";//内容背景 | |||
msgcolor = "#545b62";//内容颜色 | |||
msgbg = "#fff";//文档背景 | |||
msgcolor = "#545b62";//文档颜色 | |||
titlecolor = "#254015";//标题颜色 | |||
titlebg = "#f5f5f5"; | |||
//遮罩背景设置 | |||
@@ -59,7 +59,7 @@ function AlertMsg(title, id) { | |||
thObj.style.background = titlebg; | |||
var titleStr = "<a class='close' onclick='CloseMsg()'>关闭</a>" + "<span>" + title + "</span>"; | |||
thObj.innerHTML = titleStr; | |||
//创建内容 | |||
//创建文档 | |||
var bodyObj = document.createElement("div"); | |||
bodyObj.setAttribute("id", "msgbody"); | |||
bodyObj.style.padding = "0px"; | |||
@@ -167,7 +167,7 @@ function PutWriter(str) { | |||
$Obj('mywriter').style.display = 'none'; | |||
ChangeFullDiv('hide'); | |||
} | |||
//增加选择投票内容 | |||
//增加选择投票文档 | |||
function PutVote(str) { | |||
var ovote = $Obj('voteid'); | |||
if (ovote) { | |||
@@ -345,7 +345,7 @@ function getEvent() { | |||
//模拟ondrop事件相关代码 | |||
/*---------------------------- | |||
leftLeaning = 300; | |||
如果对象内容固定,用onmousedown=DropStart去除底下的DropStop | |||
如果对象文档固定,用onmousedown=DropStart去除底下的DropStop | |||
newobj.ondblclick = DropStart; | |||
newobj.onmousemove = DropMove; | |||
newobj.onmousedown = DropStop; | |||
@@ -398,10 +398,10 @@ function DropMoveHand(objid, mleftLeaning) { | |||
obj.style.top = posTop + "px"; | |||
obj.style.left = posLeft - mleftLeaning + "px"; | |||
} | |||
//复制内容到剪切板 | |||
//复制文档到剪切板 | |||
function copyToClipboard(txt) { | |||
if (txt == null || txt == '') { | |||
alert("没有选择任何内容!"); | |||
alert("没有选择任何文档"); | |||
return; | |||
} | |||
if (window.clipboardData) { | |||
@@ -15,7 +15,7 @@ if ($action == '') { | |||
require_once(DEDEADMIN."/templets/makehtml_all.htm"); | |||
exit(); | |||
} else if ($action == 'make') { | |||
//step = 1 更新主页、step = 2 更新内容、step = 3 更新栏目 | |||
//step = 1 更新主页、step = 2 更新文档、step = 3 更新栏目 | |||
if (empty($step)) $step = 1; | |||
//更新文档前优化数据 | |||
/*------------------- | |||
@@ -24,7 +24,7 @@ if ($action == "post") { | |||
ShowMsg('短信标题不能为空!', '-1'); | |||
exit(); | |||
} else if (!isset($message) || empty($message)) { | |||
ShowMsg('请填写短信内容!', '-1'); | |||
ShowMsg('请填写短信文档!', '-1'); | |||
exit(); | |||
} | |||
$rs = $dsql->ExecuteNoneQuery("INSERT INTO `#@__member_pms` (floginid,fromid,toid,tologinid,folder,hasview,subject,sendtime,writetime,message,isadmin) VALUES ('$floginid','$fromid','$toid','$tologinid','outbox','0','$subject','$sendtime','$writetime','$message','1');"); | |||
@@ -107,8 +107,8 @@ else if ($dopost == "export") { | |||
if ($k == 'fieldset') $v = "\r\n$v\r\n"; | |||
$channelconfig .= "<channel:{$k}>$v</channel:{$k}>\r\n"; | |||
} | |||
$wintitle = "导出内容模型规则"; | |||
$wecome_info = "<a href='mychannel_main.php'>内容模型管理</a>::导出内容模型规则"; | |||
$wintitle = "导出文档模型规则"; | |||
$wecome_info = "<a href='mychannel_main.php'>文档模型管理</a>::导出文档模型规则"; | |||
$win = new OxWindow(); | |||
$win->Init(); | |||
$win->AddTitle("以下为规则 [{$row['typename']}] 的模型规则,您可以共享给您的朋友"); | |||
@@ -120,12 +120,12 @@ else if ($dopost == "export") { | |||
function __ExportIn() | |||
-----------------*/ | |||
else if ($dopost == "exportin") { | |||
$wintitle = "导入内容模型规则"; | |||
$wecome_info = "<a href='mychannel_main.php'>内容模型管理</a>::导入内容模型规则"; | |||
$wintitle = "导入文档模型规则"; | |||
$wecome_info = "<a href='mychannel_main.php'>文档模型管理</a>::导入文档模型规则"; | |||
$win = new OxWindow(); | |||
$win->Init("mychannel_edit.php", "js/blank.js", "post"); | |||
$win->AddHidden("dopost", "exportinok"); | |||
$win->AddTitle("输入规则内容:导入模型会和原有模型冲突,不过可以在导入后修改"); | |||
$win->AddTitle("输入规则文档:导入模型会和原有模型冲突,不过可以在导入后修改"); | |||
$win->AddMsgItem("<textarea name='exconfig' style='width:98%;height:300px;word-wrap: break-word;word-break:break-all;'></textarea>"); | |||
$winform = $win->GetWindow("ok"); | |||
$win->Display(); | |||
@@ -139,8 +139,8 @@ else if ($dopost == "exportinok") { | |||
function GotoStaMsg($msg) | |||
{ | |||
global $wintitle, $wecome_info, $winform; | |||
$wintitle = "导入内容模型规则"; | |||
$wecome_info = "<a href='mychannel_main.php'>内容模型管理</a>::导入内容模型规则"; | |||
$wintitle = "导入文档模型规则"; | |||
$wecome_info = "<a href='mychannel_main.php'>文档模型管理</a>::导入文档模型规则"; | |||
$win = new OxWindow(); | |||
$win->Init(); | |||
$win->AddTitle("操作状态提示"); | |||
@@ -55,7 +55,7 @@ else if ($dopost == 'save') { | |||
exit(); | |||
} | |||
if (empty($channelid)) { | |||
ShowMsg("文档为非指定的类型,请检查您发布内容的表单是否合法", "-1"); | |||
ShowMsg("文档为非指定的类型,请检查您发布文档的表单是否合法", "-1"); | |||
exit(); | |||
} | |||
if (!CheckChannel($typeid, $channelid)) { | |||
@@ -65,7 +65,7 @@ else if ($dopost == 'save') { | |||
if (!TestPurview('a_New')) { | |||
CheckCatalog($typeid, "对不起,您没有操作栏目 {$typeid} 的权限"); | |||
} | |||
//对保存的内容进行处理 | |||
//对保存的文档进行处理 | |||
if (empty($writer)) $writer = $cuserLogin->getUserName(); | |||
if (empty($source)) $source = '未知'; | |||
$pubdate = GetMkTime($pubdate); | |||
@@ -218,7 +218,7 @@ else if ($dopost == 'save') { | |||
$arcUrl = $cfg_phpurl."/view.php?aid=$arcID"; | |||
} | |||
ClearMyAddon($arcID, $title); | |||
//自动更新关联内容 | |||
//自动更新关联文档 | |||
if (is_array($automake)) { | |||
foreach ($automake as $key => $value) { | |||
if (isset(${$key}) && !empty(${$key})) { | |||
@@ -84,7 +84,7 @@ else if ($dopost == 'save') { | |||
exit(); | |||
} | |||
if (empty($channelid)) { | |||
ShowMsg("文档为非指定的类型,请检查您发布内容的表单是否合法", "-1"); | |||
ShowMsg("文档为非指定的类型,请检查您发布文档的表单是否合法", "-1"); | |||
exit(); | |||
} | |||
if (!CheckChannel($typeid, $channelid)) { | |||
@@ -98,7 +98,7 @@ else if ($dopost == 'save') { | |||
CheckArcAdmin($id, $cuserLogin->getUserID()); | |||
} | |||
} | |||
//对保存的内容进行处理 | |||
//对保存的文档进行处理 | |||
$pubdate = GetMkTime($pubdate); | |||
$senddate = time(); | |||
$sortrank = AddDay($pubdate, $sortup); | |||
@@ -204,7 +204,7 @@ else if ($dopost == 'save') { | |||
$arcUrl = $cfg_phpurl."/view.php?aid=$id"; | |||
} | |||
ClearMyAddon($id, $title); | |||
//自动更新关联内容 | |||
//自动更新关联文档 | |||
if (is_array($automake)) { | |||
foreach ($automake as $key => $value) { | |||
if (isset(${$key}) && !empty(${$key})) { | |||
@@ -41,7 +41,7 @@ else if ($dopost == 'save') { | |||
if (!isset($remote)) $remote = 0; | |||
if (!isset($dellink)) $dellink = 0; | |||
if (!isset($autolitpic)) $autolitpic = 0; | |||
//对保存的内容进行处理 | |||
//对保存的文档进行处理 | |||
if (empty($writer)) $writer = $cuserLogin->getUserName(); | |||
if (empty($source)) $source = '未知'; | |||
$pubdate = GetMkTime($pubdate); | |||
@@ -173,7 +173,7 @@ else if ($dopost == 'save') { | |||
$artUrl = $cfg_phpurl."/view.php?aid=$arcID"; | |||
} | |||
ClearMyAddon($arcID, $title); | |||
//自动更新关联内容 | |||
//自动更新关联文档 | |||
if (is_array($automake)) { | |||
foreach ($automake as $key => $value) { | |||
if (isset(${$key}) && !empty(${$key})) { | |||
@@ -51,7 +51,7 @@ else if ($dopost == 'save') { | |||
if (!isset($remote)) $remote = 0; | |||
if (!isset($dellink)) $dellink = 0; | |||
if (!isset($autolitpic)) $autolitpic = 0; | |||
//对保存的内容进行处理 | |||
//对保存的文档进行处理 | |||
$pubdate = GetMkTime($pubdate); | |||
$sortrank = AddDay($pubdate, $sortup); | |||
if ($ishtml == 0) $ismake = -1; | |||
@@ -186,7 +186,7 @@ else if ($dopost == 'save') { | |||
$artUrl = $cfg_phpurl."/view.php?aid=$id"; | |||
} | |||
ClearMyAddon($id, $title); | |||
//自动更新关联内容 | |||
//自动更新关联文档 | |||
if (is_array($automake)) { | |||
foreach ($automake as $key => $value) { | |||
if (isset(${$key}) && !empty(${$key})) { | |||
@@ -111,7 +111,7 @@ if ($dopost == 'bak') { | |||
$j++; | |||
} | |||
$fsd = $j - 1; | |||
//读取表的内容 | |||
//读取表的文档 | |||
$dsql->SetQuery("SELECT * FROM `$nowtable` "); | |||
$dsql->Execute(); | |||
$m = 0; | |||
@@ -49,7 +49,7 @@ else if ($action == 'apply') { | |||
exit(); | |||
} | |||
if ($rpstring == '') { | |||
ShowMsg("请指定被替换内容", "javascript:;"); | |||
ShowMsg("请指定被替换文档", "javascript:;"); | |||
exit(); | |||
} | |||
if ($rptype == 'replace') { | |||
@@ -140,7 +140,7 @@ EOT; | |||
exit; | |||
} | |||
if ($i == 1) { | |||
echo '<tr bgcolor="#f5f5f5" align="center"><td colspan="3">没有找到搜索的内容</td></tr></table>'; | |||
echo '<tr bgcolor="#f5f5f5" align="center"><td colspan="3">没有找到搜索的文档</td></tr></table>'; | |||
} | |||
exit; | |||
} else if ($dopost == 'make_encode') { | |||
@@ -83,7 +83,7 @@ class Array2form | |||
} | |||
return $reval_form; | |||
} | |||
//获取所有的表单内容 | |||
//获取所有的表单文档 | |||
function GetAll() | |||
{ | |||
$reval = empty($reval) ? '' : $reval; | |||
@@ -139,7 +139,7 @@ else if ($dopost == 2) { | |||
exit(); | |||
} | |||
/*------------------- | |||
高级方式修复微表,会删除不合法主键的内容 | |||
高级方式修复微表,会删除不合法主键的文档 | |||
function 3_re_arctiny() { } | |||
--------------------*/ | |||
else if ($dopost == 3) { | |||
@@ -89,7 +89,7 @@ | |||
echo "<option value='0' selected>投放在没有同名标识的所有栏目</option>"; | |||
echo $typeOptions; | |||
echo "</select>"; | |||
?>(如果在所选栏目找不到指定标识的广告内容,系统会自动搜索父栏目) | |||
?>(如果在所选栏目找不到指定标识的广告文档,系统会自动搜索父栏目) | |||
</td> | |||
</tr> | |||
<tr> | |||
@@ -111,7 +111,7 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td>广告内容:</td> | |||
<td>广告文档:</td> | |||
<td width="70%"> | |||
<div class="typetab"> | |||
<ul id="changeTab"> | |||
@@ -127,7 +127,7 @@ | |||
<td width="10%"></td> | |||
</tr> | |||
<tr> | |||
<td>过期显示内容:</td> | |||
<td>过期显示文档:</td> | |||
<td><textarea name="expbody" id="expbody" class="biz-textarea-xl"></textarea></td> | |||
<td></td> | |||
</tr> | |||
@@ -152,7 +152,7 @@ | |||
<div class="content" id="txt" style="display:none"> | |||
<table width="80%" cellpadding="3" cellspacing="1" class="i_table"> | |||
<tr> | |||
<td width="260">文字内容 *</td> | |||
<td width="260">文字文档 *</td> | |||
<td><input type="text" name="normbody[title]" value="" class="biz-input-md"></td> | |||
</tr> | |||
<tr> | |||
@@ -79,7 +79,7 @@ | |||
echo "<option value='0' selected>投放在没有同名标识的所有栏目</option>"; | |||
echo $typeOptions; | |||
echo "</select>"; | |||
?>(如果在所选栏目找不到指定标识的广告内容,系统会自动搜索父栏目) | |||
?>(如果在所选栏目找不到指定标识的广告文档,系统会自动搜索父栏目) | |||
</td> | |||
</tr> | |||
<tr> | |||
@@ -101,13 +101,13 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td>正常显示内容:</td> | |||
<td>正常显示文档:</td> | |||
<td width="70%"><textarea name="normbody" id="normbody" class="biz-textarea-xl"><?php echo dede_htmlspecialchars(stripslashes($row['normbody']))?></textarea> | |||
</td> | |||
<td width="10%"></td> | |||
</tr> | |||
<tr> | |||
<td>过期显示内容:</td> | |||
<td>过期显示文档:</td> | |||
<td><textarea name="expbody" id="expbody" class="biz-textarea-xl"><?php echo dede_htmlspecialchars($row['expbody'])?></textarea></td> | |||
<td></td> | |||
</tr> | |||
@@ -42,7 +42,7 @@ | |||
<td width="11%">结束时间</td> | |||
<td>管理</td> | |||
</tr> | |||
{dede:datalist empty='<tr><td colspan="7"><center>暂无内容</center></td></tr>'} | |||
{dede:datalist empty='<tr><td colspan="7"><center>暂无文档</center></td></tr>'} | |||
<tr align="center" onmousemove="javascript:this.bgColor='#fbfce2';" onmouseout="javascript:this.bgColor='#ffffff';"> | |||
<td>{dede:field.aid/}</td> | |||
<td>{dede:field.clsname function='TestType(@me,1)'/}</td> | |||
@@ -63,7 +63,7 @@ | |||
<td> | |||
<table cellpadding="0" cellspacing="0"> | |||
<tr> | |||
<td width="80" height="28" align="center" class="biz-itemnote1">常规内容</td> | |||
<td width="80" height="28" align="center" class="biz-itemnote1">常规文档</td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -347,7 +347,7 @@ | |||
<td class="biz-td"> | |||
<table cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90">图集内容:</td> | |||
<td width="90">图集文档:</td> | |||
<td><?php GetEditor("body","",400,"Diy");?></td> | |||
</tr> | |||
</table> | |||
@@ -62,7 +62,7 @@ | |||
<td> | |||
<table cellpadding="0" cellspacing="0"> | |||
<tr> | |||
<td width="80" height="28" align="center" class="biz-itemnote1">常规内容</td> | |||
<td width="80" height="28" align="center" class="biz-itemnote1">常规文档</td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -388,7 +388,7 @@ | |||
<td class="biz-td"> | |||
<table cellspacing="0" cellpadding="0"> | |||
<tr> | |||
<td width="90">图集内容:</td> | |||
<td width="90">图集文档:</td> | |||
<td><?php GetEditor("body",$body,400,"Diy");?></td> | |||
</tr> | |||
</table> | |||
@@ -38,7 +38,7 @@ | |||
<td> | |||
<table cellpadding="0" cellspacing="0"> | |||
<tr> | |||
<td width="80" height="28" align="center" class="biz-itemnote1">常规内容</td> | |||
<td width="80" height="28" align="center" class="biz-itemnote1">常规文档</td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -35,7 +35,7 @@ | |||
<td> | |||
<table cellpadding="0" cellspacing="0"> | |||
<tr> | |||
<td width="80" height="28" align="center" class="biz-itemnote1">常规内容</td> | |||
<td width="80" height="28" align="center" class="biz-itemnote1">常规文档</td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -39,7 +39,7 @@ | |||
<td> | |||
<table cellpadding="0" cellspacing="0"> | |||
<tr> | |||
<td width="80" height="28" align="center" class="biz-itemnote1">常规内容</td> | |||
<td width="80" height="28" align="center" class="biz-itemnote1">常规文档</td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -36,7 +36,7 @@ | |||
<td> | |||
<table cellpadding="0" cellspacing="0"> | |||
<tr> | |||
<td width="80" height="28" align="center" class="biz-itemnote1">常规内容</td> | |||
<td width="80" height="28" align="center" class="biz-itemnote1">常规文档</td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -40,7 +40,7 @@ | |||
<td> | |||
<table cellpadding="0" cellspacing="0"> | |||
<tr> | |||
<td width="80" height="28" align="center" class="biz-itemnote1">常规内容</td> | |||
<td width="80" height="28" align="center" class="biz-itemnote1">常规文档</td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -15,7 +15,7 @@ | |||
<td bgcolor="#f5f5f5" colspan="2">自动摘要分页</td> | |||
</tr> | |||
<tr> | |||
<td colspan="2"><div class="alert alert-info mb-0">用于自动更新您系统没有填写摘要的文档的摘要信息或更新没分页的文档的自动分页标识(文档使用了自动分页后会降低网页生成速度,并且在没人工干扰的情况下可能导致分页内容的网页错误,请小心使用此功能)</div></td> | |||
<td colspan="2"><div class="alert alert-info mb-0">用于自动更新您系统没有填写摘要的文档的摘要信息或更新没分页的文档的自动分页标识(文档使用了自动分页后会降低网页生成速度,并且在没人工干扰的情况下可能导致分页文档的网页错误,请小心使用此功能)</div></td> | |||
</tr> | |||
<tr> | |||
<td width="360">栏目id:<input type="text" name="channel" id="channel" value="1" class="biz-input-xs">(可在“<a href="mychannel_main.php">栏目模型管理</a>”处获得)</td> | |||
@@ -26,7 +26,7 @@ | |||
<td>分析字段:<input type="text" name="field" id="field2" value="body" class="biz-input-sm"></td> | |||
</tr> | |||
<tr> | |||
<td>最小值:<input type="text" name="msize" id="msize2" value="512" class="biz-input-xs">(字节,内容大于该值才分析)</td> | |||
<td>最小值:<input type="text" name="msize" id="msize2" value="512" class="biz-input-xs">(字节,文档大于该值才分析)</td> | |||
<td>每批处理:<input type="text" name="pagesize" id="pagesize" value="100" class="biz-input-xs"> 条记录</td> | |||
</tr> | |||
<tr> | |||
@@ -38,7 +38,7 @@ | |||
<td> | |||
<table cellpadding="0" cellspacing="0"> | |||
<tr> | |||
<td width="80" height="28" align="center" class="biz-itemnote1">常规内容</td> | |||
<td width="80" height="28" align="center" class="biz-itemnote1">常规文档</td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -43,7 +43,7 @@ | |||
</tr> | |||
<form name="form3" action="article_keywords_main.php" method="post"> | |||
<input type="hidden" name="dopost" value="saveall"> | |||
{dede:datalist empty='<tr><td colspan="5"><center>暂无内容</center></td></tr>'} | |||
{dede:datalist empty='<tr><td colspan="5"><center>暂无文档</center></td></tr>'} | |||
<tr align="center" onmousemove="javascript:this.bgColor='#fbfce2';" onmouseout="javascript:this.bgColor='#ffffff';"> | |||
<td><input type="checkbox" name="aids[]" value="{dede:field.aid/}" checked='1'></td> | |||
<td><input type="hidden" value="{dede:field.keyword/}" name="keyword_{dede:field.aid/}"> {dede:field.keyword/}</td> | |||
@@ -75,7 +75,7 @@ | |||
</tr> | |||
<tr> | |||
<td colspan="2"> | |||
{dede:datalist empty='<center>暂无内容</center>'} | |||
{dede:datalist empty='<center>暂无文档</center>'} | |||
<a href="javascript:SelKw('{dede:field.keyword/}')">{dede:field.keyword/}</a> | |||
{/dede:datalist} | |||
</td> | |||
@@ -67,7 +67,7 @@ | |||
<td>使用会员</td> | |||
</tr> | |||
<form name="form1"> | |||
{dede:datalist empty='<tr><td colspan="7"><center>暂无内容</center></td></tr>'} | |||
{dede:datalist empty='<tr><td colspan="7"><center>暂无文档</center></td></tr>'} | |||
<tr align="center" onmousemove="javascript:this.bgColor='#fbfce2';" onmouseout="javascript:this.bgColor='#ffffff';"> | |||
<td><input type="checkbox" name="aids" value="{dede:field.aid/}"></td> | |||
<td>{dede:field.cardid/}</td> | |||
@@ -133,7 +133,7 @@ | |||
<tr> | |||
<td width="80" height="28" align="center" class="biz-itemnote1">常规选项</td> | |||
<td width="80" height="28" align="center" class="biz-itemnote2"><a href="javascript:;" onClick="ShowItem2()">高级选项</a></td> | |||
<td width="80" height="28" align="center" class="biz-itemnote2"><a href="javascript:;" onClick="ShowItem3()">栏目内容</a></td> | |||
<td width="80" height="28" align="center" class="biz-itemnote2"><a href="javascript:;" onClick="ShowItem3()">栏目文档</a></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -146,7 +146,7 @@ | |||
<tr> | |||
<td width="80" height="28" align="center" class="biz-itemnote2"><a href="javascript:;" onClick="ShowItem1()">常规选项</a></td> | |||
<td width="80" height="28" align="center" class="biz-itemnote1">高级选项</td> | |||
<td width="80" height="28" align="center" class="biz-itemnote2"><a href="javascript:;" onClick="ShowItem3()">栏目内容</a></td> | |||
<td width="80" height="28" align="center" class="biz-itemnote2"><a href="javascript:;" onClick="ShowItem3()">栏目文档</a></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -159,7 +159,7 @@ | |||
<tr> | |||
<td width="80" height="28" align="center" class="biz-itemnote2"><a href="javascript:;" onClick="ShowItem1()">常规选项</a></td> | |||
<td width="80" height="28" align="center" class="biz-itemnote2"><a href="javascript:;" onClick="ShowItem2()">高级选项</td> | |||
<td width="80" height="28" align="center" class="biz-itemnote1">栏目内容</td> | |||
<td width="80" height="28" align="center" class="biz-itemnote1">栏目文档</td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -181,7 +181,7 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td class="biz-td">内容模型:</td> | |||
<td class="biz-td">文档模型:</td> | |||
<td class="biz-td"> | |||
<select name="channeltype" id="channeltype" onChange="ParTemplet(this)" class="biz-input-sm"> | |||
<?php | |||
@@ -311,7 +311,7 @@ | |||
<td>栏目交叉:<i onClick="ShowHide('helpvarco')" class="fa fa-question-circle" title="帮助"></i> 仅适用列表栏目</td> | |||
<td> | |||
<label><input type="radio" name="cross" id="cross0" value="0" onClick="CheckCross()" checked="1"> 不交叉</label> | |||
<label><input type="radio" name="cross" id="cross1" value="1" onClick="CheckCross()"> 自动获取同名栏目内容</label> | |||
<label><input type="radio" name="cross" id="cross1" value="1" onClick="CheckCross()"> 自动获取同名栏目文档</label> | |||
<label><input type="radio" name="cross" id="cross2" value="2" onClick="CheckCross()"> 手工指定交叉栏目id(用英文逗号)</label> | |||
<br> | |||
<textarea name="crossid" id="crossid" style="display:none"></textarea> | |||
@@ -319,7 +319,7 @@ | |||
</tr> | |||
<tr id="helpvarco" style="display:none"> | |||
<td bgcolor="#f5f5f5">栏目交叉说明:</td> | |||
<td bgcolor="#f5f5f5">交叉栏目是指一个大栏目与另一个非下级的子栏目出现交叉的情况,相当于系统原来的副栏目功能,不过现在改在栏目里预先设置好<br>注:会自动索引交叉栏目的内容,但不会索引交叉栏目下级栏目的内容,这种应用也适用于按地区划分资讯的站点</td> | |||
<td bgcolor="#f5f5f5">交叉栏目是指一个大栏目与另一个非下级的子栏目出现交叉的情况,相当于系统原来的副栏目功能,不过现在改在栏目里预先设置好<br>注:会自动索引交叉栏目的文档,但不会索引交叉栏目下级栏目的文档,这种应用也适用于按地区划分资讯的站点</td> | |||
</tr> | |||
<tr id="smclass" style="<?php echo ($channelid<0 ? '' : 'display:none');?>"> | |||
<td class="biz-td">绑定小分类:仅适用分类模型</td> | |||
@@ -451,7 +451,7 @@ | |||
</table> | |||
<table width="100%" cellspacing="0" cellpadding="0" id="ctset" class="table biz-border" style="display:none"> | |||
<tr> | |||
<td><div class="alert alert-info mb-0">说明:栏目内容是替代原来栏目单独页的更灵活的一种方式,常用于企业简介之类的用途,标签“{dede:field.content/}”调用</div></td> | |||
<td><div class="alert alert-info mb-0">说明:栏目文档是替代原来栏目单独页的更灵活的一种方式,常用于企业简介之类的用途,标签“{dede:field.content/}”调用</div></td> | |||
</tr> | |||
<tr> | |||
<td><?php GetEditor("content","","400","Default","print","false");?></td> | |||
@@ -129,7 +129,7 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td class="biz-td">内容模型:</td> | |||
<td class="biz-td">文档模型:</td> | |||
<td class="biz-td"><select name="channeltype" id="channeltype" onChange="ParTemplet(this)" class="biz-input-sm"> | |||
<?php | |||
foreach($channelArray as $k=>$arr) | |||
@@ -114,7 +114,7 @@ | |||
<tr> | |||
<td width="80" height="28" align="center" class="biz-itemnote1">常规选项</td> | |||
<td width="80" height="28" align="center" class="biz-itemnote2"><a href="javascript:;" onClick="ShowItem2()">高级选项</a></td> | |||
<td width="80" height="28" align="center" class="biz-itemnote2"><a href="javascript:;" onClick="ShowItem3()">栏目内容</a></td> | |||
<td width="80" height="28" align="center" class="biz-itemnote2"><a href="javascript:;" onClick="ShowItem3()">栏目文档</a></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -127,7 +127,7 @@ | |||
<tr> | |||
<td width="80" height="28" align="center" class="biz-itemnote2"><a href="javascript:;" onClick="ShowItem1()">常规选项</a></td> | |||
<td width="80" height="28" align="center" class="biz-itemnote1">高级选项</td> | |||
<td width="80" height="28" align="center" class="biz-itemnote2"><a href="javascript:;" onClick="ShowItem3()">栏目内容</a></td> | |||
<td width="80" height="28" align="center" class="biz-itemnote2"><a href="javascript:;" onClick="ShowItem3()">栏目文档</a></td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -140,7 +140,7 @@ | |||
<tr> | |||
<td width="80" height="28" align="center" class="biz-itemnote2"><a href="javascript:;" onClick="ShowItem1()">常规选项</a></td> | |||
<td width="80" height="28" align="center" class="biz-itemnote2"><a href="javascript:;" onClick="ShowItem2()">高级选项</td> | |||
<td width="80" height="28" align="center" class="biz-itemnote1">栏目内容</td> | |||
<td width="80" height="28" align="center" class="biz-itemnote1">栏目文档</td> | |||
</tr> | |||
</table> | |||
</td> | |||
@@ -162,7 +162,7 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td class="biz-td">内容模型:</td> | |||
<td class="biz-td">文档模型:</td> | |||
<td class="biz-td"> | |||
<select name="channeltype" id="channeltype" onChange="ParTemplet(this)" class="biz-input-sm"> | |||
<?php | |||
@@ -256,7 +256,7 @@ | |||
<td>栏目交叉:<i onClick="ShowHide('helpvarco')" class="fa fa-question-circle" title="帮助"></i> 仅适用列表栏目</td> | |||
<td class="biz-td"> | |||
<label><input type="radio" name="cross" onClick="CheckCross()" value="0" <?php if ($myrow['cross']==0) echo "checked='1'";?>> 不交叉</label> | |||
<label><input type="radio" name="cross" onClick="CheckCross()" value="1" <?php if ($myrow['cross']==1) echo "checked='1'";?>> 自动获取同名栏目内容</label> | |||
<label><input type="radio" name="cross" onClick="CheckCross()" value="1" <?php if ($myrow['cross']==1) echo "checked='1'";?>> 自动获取同名栏目文档</label> | |||
<label><input type="radio" name="cross" onClick="CheckCross()" value="2" <?php if ($myrow['cross']==2) echo "checked='1'";?>> 手工指定交叉栏目id(用英文逗号)</label> | |||
<br> | |||
<textarea name="crossid" id="crossid" style="<?php if ($myrow['cross']!=2) echo'display:none';?>"><?php echo $myrow['crossid'];?></textarea> | |||
@@ -264,7 +264,7 @@ | |||
</tr> | |||
<tr id="helpvarco" style="display:none"> | |||
<td bgcolor="#f5f5f5">栏目交叉说明:</td> | |||
<td bgcolor="#f5f5f5">交叉栏目是指一个大栏目与另一个非下级的子栏目出现交叉的情况,相当于系统原来的副栏目功能,不过现在改在栏目里预先设置好<br>注:会自动索引交叉栏目的内容,但不会索引交叉栏目下级栏目的内容,这种应用也适用于按地区划分资讯的站点</td> | |||
<td bgcolor="#f5f5f5">交叉栏目是指一个大栏目与另一个非下级的子栏目出现交叉的情况,相当于系统原来的副栏目功能,不过现在改在栏目里预先设置好<br>注:会自动索引交叉栏目的文档,但不会索引交叉栏目下级栏目的文档,这种应用也适用于按地区划分资讯的站点</td> | |||
</tr> | |||
<tr id="smclass" style="<?php echo ($channelid<0 ? '' : 'display:none');?>"> | |||
<td class="biz-td">绑定小分类:仅适用分类模型</td> | |||
@@ -400,13 +400,13 @@ | |||
<tr> | |||
<td>继承选项:</td> | |||
<td> | |||
<label><input type="checkbox" name="upnext" id="upnext" value="1"> 同时继承下级栏目浏览权限、内容类型、模板风格、命名规则等通用属性</label> | |||
<label><input type="checkbox" name="upnext" id="upnext" value="1"> 同时继承下级栏目浏览权限、文档类型、模板风格、命名规则等通用属性</label> | |||
</td> | |||
</tr> | |||
</table> | |||
<table width="100%" cellspacing="0" cellpadding="0" id="ctset" class="table biz-border" style="display:none"> | |||
<tr> | |||
<td><div class="alert alert-info mb-0">说明:栏目内容是替代原来栏目单独页的更灵活的一种方式,常用于企业简介之类的用途,标签“{dede:field.content/}”调用</div></td> | |||
<td><div class="alert alert-info mb-0">说明:栏目文档是替代原来栏目单独页的更灵活的一种方式,常用于企业简介之类的用途,标签“{dede:field.content/}”调用</div></td> | |||
</tr> | |||
<tr> | |||
<td><?php GetEditor("content",$myrow['content'],"400","Default","print","false");?></td> | |||
@@ -128,7 +128,7 @@ | |||
<td>操作:</td> | |||
<td> | |||
<label><input type="radio" value="delnulltitle" name="action"> 删除空标题的文档</label> | |||
<label><input type="radio" value="delnullbody" name="action"> 删除内容为空的文档</label> | |||
<label><input type="radio" value="delnullbody" name="action"> 删除文档为空的文档</label> | |||
<label><input type="radio" value="modddpic" name="action"> 更正缩图错误</label> | |||
</td> | |||
</tr> | |||
@@ -72,7 +72,7 @@ | |||
</tr> | |||
</table> | |||
<form name="form2"> | |||
{dede:datalist empty='<center>暂无内容</center>'} | |||
{dede:datalist empty='<center>暂无文档</center>'} | |||
<table width="98%" cellpadding="1" cellspacing="1" align="center" class="mb-3"> | |||
<tr> | |||
<td width="12%" align="center" class="py-2"><img src="{dede:field.litpic function='CheckPic(@me)'/}" style="max-width:60px;max-height:60px"></td> | |||
@@ -80,7 +80,7 @@ | |||
<td width="6%">发布人</td> | |||
<td width="10%">操作</td> | |||
</tr> | |||
{dede:datalist empty='<tr><td colspan="10"><center>暂无内容</center></td></tr>'} | |||
{dede:datalist empty='<tr><td colspan="10"><center>暂无文档</center></td></tr>'} | |||
<tr align="center" onmousemove="javascript:this.bgColor='#fbfce2';" onmouseout="javascript:this.bgColor='#ffffff';"> | |||
<td>{dede:field.id/}</td> | |||
<td><input type="checkbox" name="arcID" id="arcID" value="{dede:field.id/}"></td> | |||
@@ -126,7 +126,7 @@ | |||
<td width="10%">权限</td> | |||
<td width="10%">属性</td> | |||
</tr> | |||
{dede:datalist empty='<tr><td colspan="9"><center>暂无内容</center></td></tr>'} | |||
{dede:datalist empty='<tr><td colspan="9"><center>暂无文档</center></td></tr>'} | |||
<tr align="center" onmousemove="javascript:this.bgColor='#fbfce2';" onmouseout="javascript:this.bgColor='#ffffff';"> | |||
<td>{dede:field.id/}</td> | |||
<td><input type="checkbox" name="arcID" id="arcID" value="{dede:field.id/}"></td> | |||
@@ -64,7 +64,7 @@ | |||
<td width="10%">权限</td> | |||
<td>属性</td> | |||
</tr> | |||
{dede:datalist empty='<tr><td colspan="9"><center>暂无内容</center></td></tr>'} | |||
{dede:datalist empty='<tr><td colspan="9"><center>暂无文档</center></td></tr>'} | |||
<tr align="center" onMouseOut="javascript:this.bgColor='#ffffff';"> | |||
<td>{dede:field.id/}</td> | |||
<td><input type="checkbox" name="arcID" id="arcID" value="{dede:field.id/}"></td> | |||
@@ -167,7 +167,7 @@ | |||
<td width="6%">发布人</td> | |||
<td width="10%">操作</td> | |||
</tr> | |||
{dede:datalist empty='<tr><td colspan="9"><center>暂无内容</center></td></tr>'} | |||
{dede:datalist empty='<tr><td colspan="9"><center>暂无文档</center></td></tr>'} | |||
<tr align="center" onmousemove="javascript:this.bgColor='#fbfce2';" onmouseout="javascript:this.bgColor='#ffffff';"> | |||
<td>{dede:field.id/}</td> | |||
<td><input type="checkbox" name="arcID" id="arcID" value="{dede:field.aid/}"></td> | |||
@@ -56,7 +56,7 @@ | |||
<td><input type="text" name="listtemplate" id="listtemplate" value="list_diyform<?php echo $newdiyid;?>.htm" class="biz-input-sm"></td> | |||
</tr> | |||
<tr> | |||
<td>内容模板:</td> | |||
<td>文档模板:</td> | |||
<td><input type="text" name="viewtemplate" id="viewtemplate" value="view_diyform<?php echo $newdiyid;?>.htm" class="biz-input-sm"></td> | |||
</tr> | |||
<tr> | |||
@@ -64,7 +64,7 @@ | |||
<td><input type="text" name="posttemplate" id="posttemplate" value="post_diyform<?php echo $newdiyid;?>.htm" class="biz-input-sm"></td> | |||
</tr> | |||
<tr> | |||
<td>前台列表和内容页公开:</td> | |||
<td>前台列表和文档页公开:</td> | |||
<td> | |||
<label><input type="radio" name="public" value="2"> 完全公开</label> | |||
<label><input type="radio" name="public" value="1" checked="1"> 公开审核过的</label> | |||
@@ -123,7 +123,7 @@ | |||
<td><input type="text" name="listtemplate" id="listtemplate" class="biz-input-sm" value="<?php echo $row['listtemplate'];?>"></td> | |||
</tr> | |||
<tr> | |||
<td>内容模板:</td> | |||
<td>文档模板:</td> | |||
<td><input type="text" name="viewtemplate" id="viewtemplate" class="biz-input-sm" value="<?php echo $row['viewtemplate'];?>"></td> | |||
</tr> | |||
<tr> | |||
@@ -131,7 +131,7 @@ | |||
<td><input type="text" name="posttemplate" id="posttemplate" class="biz-input-sm" value="<?php echo $row['posttemplate'];?>"></td> | |||
</tr> | |||
<tr> | |||
<td>前台列表和内容页公开:</td> | |||
<td>前台列表和文档页公开:</td> | |||
<td> | |||
<label><input type="radio" name="public" value="2" <?php echo $row['public'] == 2 ? 'checked' : '';?>> 完全公开</label> | |||
<label><input type="radio" name="public" value="1" <?php echo $row['public'] == 1 ? 'checked' : '';?>> 公开审核过的</label> | |||
@@ -77,11 +77,11 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td colspan="2"><div class="alert alert-danger mb-0">所有填写的内容不允许包含双引号["],否则配置将无法写入</div></td> | |||
<td colspan="2"><div class="alert alert-danger mb-0">所有填写的文档不允许包含双引号["],否则配置将无法写入</div></td> | |||
</tr> | |||
<tr> | |||
<td width="30%">表单提示文字:<br> | |||
<span>发布内容时显示的提示文字</span></td> | |||
<span>发布文档时显示的提示文字</span></td> | |||
<td><input type="text" name="itemname" id="itemname"> *</td> | |||
</tr> | |||
<tr> | |||
@@ -90,8 +90,8 @@ | |||
<td><input type="text" name="fieldname" id="fieldname"> *</td> | |||
</tr> | |||
<tr> | |||
<td>内容是否需要分页符:<br> | |||
<span>如果内容需要分页符,不论何种内容,都可以用#P#副标题#e#作为分页符号实现内容分页,但一个模型里仅允许一个这样的字段</span></td> | |||
<td>文档是否需要分页符:<br> | |||
<span>如果文档需要分页符,不论何种文档,都可以用#P#副标题#e#作为分页符号实现文档分页,但一个模型里仅允许一个这样的字段</span></td> | |||
<td> | |||
<input type="hidden" name="isnull" value="1"> | |||
<label><input type="radio" name="spage" value="split"> 是</label> | |||
@@ -64,8 +64,8 @@ | |||
</tr> | |||
<tr> | |||
<td>表单提示文字:<br> | |||
<span>发布内容时显示的提示文字</span></td> | |||
<td><input type="text" name="itemname" id="itemname" value="<?php echo $ctag->GetAtt('itemname')?>"> *(发布内容时显示的项名字)</td> | |||
<span>发布文档时显示的提示文字</span></td> | |||
<td><input type="text" name="itemname" id="itemname" value="<?php echo $ctag->GetAtt('itemname')?>"> *(发布文档时显示的项名字)</td> | |||
</tr> | |||
<tr> | |||
<td width="28%">字段名称:<br> | |||
@@ -108,8 +108,8 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td>内容是否需要分页符:<br> | |||
<span>如果内容需要分页符,不论何种内容,都可以用#P#副标题#e#作为分页符号实现内容分页,但一个模型里仅允许一个这样的字段!</span></td> | |||
<td>文档是否需要分页符:<br> | |||
<span>如果文档需要分页符,不论何种文档,都可以用#P#副标题#e#作为分页符号实现文档分页,但一个模型里仅允许一个这样的字段!</span></td> | |||
<td> | |||
<input type="hidden" name="isnull" value="1"> | |||
<label><input type="radio" name="spage" value="split" <?php if ($ctag->GetAtt('page')=='split') echo "checked='1'";?>> 是</label> | |||
@@ -20,7 +20,7 @@ | |||
<td>表名</td> | |||
<td>管理</td> | |||
</tr> | |||
{dede:datalist empty='<tr bgcolor="white"><td colspan="4"><center>暂无内容</center></td></tr>'} | |||
{dede:datalist empty='<tr bgcolor="white"><td colspan="4"><center>暂无文档</center></td></tr>'} | |||
<tr align="center" onmousemove="javascript:this.bgColor='#fbfce2';" onmouseout="javascript:this.bgColor='#ffffff';"> | |||
<td>{dede:field.diyid/}</td> | |||
<td><a href="diy_list.php?action=list&diyid={dede:field.diyid/}">{dede:field.name/}</a></td> | |||
@@ -66,10 +66,10 @@ | |||
<td width="20%">文档名称</td> | |||
<td width="12%">出错类型</td> | |||
<td width="14%">挑错时间</td> | |||
<td width="15%">错误内容</td> | |||
<td width="15%">错误文档</td> | |||
<td width="15%">修改建议</td> | |||
</tr> | |||
{dede:datalist empty='<tr><td colspan="8"><center>暂无内容</center></td></tr>'} | |||
{dede:datalist empty='<tr><td colspan="8"><center>暂无文档</center></td></tr>'} | |||
<tr align="center" onMouseMove="javascript:this.bgColor='#fbfce2';" onmousemove="javascript:this.bgColor='#fbfce2';" onmouseout="javascript:this.bgColor='#ffffff';"> | |||
<td><input type="checkbox" name="id" id="id" value="{dede:field.id/}"></td> | |||
<td>{dede:field.id/}</td> | |||
@@ -36,8 +36,8 @@ | |||
<td><?php echo $row['ip'];?></td> | |||
</tr> | |||
<tr> | |||
<td>评论内容:</td> | |||
<td>修改的评论内容网页代码不会被屏蔽,可用HTML语法编辑</td> | |||
<td>评论文档:</td> | |||
<td>修改的评论文档网页代码不会被屏蔽,可用HTML语法编辑</td> | |||
</tr> | |||
<tr> | |||
<td height="62" align="center"></td> | |||
@@ -45,7 +45,7 @@ | |||
</tr> | |||
<tr> | |||
<td>管理员回复:</td> | |||
<td>回复内容的网页代码会被屏蔽</td> | |||
<td>回复文档的网页代码会被屏蔽</td> | |||
</tr> | |||
<tr> | |||
<td align="center"></td> | |||
@@ -46,22 +46,22 @@ | |||
} | |||
function delFeedback() { | |||
var qstr = getCheckboxItem(); | |||
if (qstr == "") ShowMsg("您没选中任何内容"); | |||
if (qstr == "") ShowMsg("您没选中任何文档"); | |||
else if (window.confirm('您确定要删除这些评论吗')) location.href = "feedback_main.php?job=del&fid=" + qstr; | |||
} | |||
function delFeedbackIP() { | |||
var qstr = getCheckboxItem(); | |||
if (qstr == "") ShowMsg("您没选中任何内容"); | |||
if (qstr == "") ShowMsg("您没选中任何文档"); | |||
else if (window.confirm('您确定要删除这些评论吗')) location.href = "feedback_main.php?job=delall&fid=" + qstr; | |||
} | |||
function checkFeedback() { | |||
var qstr = getCheckboxItem(); | |||
if (qstr == "") ShowMsg("您没选中任何内容"); | |||
if (qstr == "") ShowMsg("您没选中任何文档"); | |||
else location.href = "feedback_main.php?job=check&fid=" + qstr; | |||
} | |||
function editFeedback() { | |||
var qstr = getCheckboxItem(); | |||
if (qstr == "") ShowMsg("您没选中任何内容"); | |||
if (qstr == "") ShowMsg("您没选中任何文档"); | |||
else location.href = "feedback_edit.php?job=edit&fid=" + qstr; | |||
} | |||
</script> | |||
@@ -86,7 +86,7 @@ | |||
<tr> | |||
<td colspan="6" bgcolor="#f5f5f5">评论管理</td> | |||
</tr> | |||
{dede:datalist empty='<tr><td colspan="6"><center>暂无内容</center></td></tr>'} | |||
{dede:datalist empty='<tr><td colspan="6"><center>暂无文档</center></td></tr>'} | |||
<tr> | |||
<td width="6%">选择 <input type="checkbox" name="fid" id="fid" value="{dede:field.id/}"></td> | |||
<td width="10%">用户:{dede:field.username/} {dede:field.ischeck function="IsCheck(@me)"/}</td> | |||
@@ -181,7 +181,7 @@ | |||
echo "<option value='{$row->ID}'>{$row->typename}</option>"; | |||
} | |||
echo "</select>"; | |||
?>(如果限定了栏目内容模型,则允许使用附加表指定的列表字段作为底层变量) | |||
?>(如果限定了栏目文档模型,则允许使用附加表指定的列表字段作为底层变量) | |||
</td> | |||
</tr> | |||
<tr> | |||
@@ -117,7 +117,7 @@ | |||
else echo "<option value='{$nrow->id}'>{$nrow->typename}</option>"; | |||
} | |||
echo "</select>"; | |||
?>(如果限定了栏目内容模型,则允许使用附加表指定的列表字段作为底层变量) | |||
?>(如果限定了栏目文档模型,则允许使用附加表指定的列表字段作为底层变量) | |||
</td> | |||
</tr> | |||
<tr> | |||
@@ -27,7 +27,7 @@ | |||
} | |||
} | |||
if (str == '') { | |||
ShowMsg('您没选择任何内容'); | |||
ShowMsg('您没选择任何文档'); | |||
return false; | |||
} else { | |||
location = "friendlink_edit.php?aids=" + str + "&dopost=delall"; | |||
@@ -77,7 +77,7 @@ | |||
<td width="6%">顺序</td> | |||
<td>管理</td> | |||
</tr> | |||
{dede:datalist empty='<tr><td colspan="8"><center>暂无内容</center></td></tr>'} | |||
{dede:datalist empty='<tr><td colspan="8"><center>暂无文档</center></td></tr>'} | |||
<tr align="center" onmousemove="javascript:this.bgColor='#fbfce2';" onmouseout="javascript:this.bgColor='#ffffff';"> | |||
<td><input type='checkbox' name='aids' value='{dede:field.id/}'></td> | |||
<td>{dede:field.webname function='dede_htmlspecialchars(@me)'/}<br><i>地址:{dede:field.url/}</i></td> | |||
@@ -3,7 +3,7 @@ | |||
<head> | |||
<meta charset="<?php echo $cfg_soft_lang;?>"> | |||
<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"> | |||
@@ -79,7 +79,7 @@ | |||
<td>Query参数</td> | |||
</tr> | |||
<form name="form1"> | |||
{dede:datalist empty='<tr><td colspan="7"><center>暂无内容</center></td></tr>'} | |||
{dede:datalist empty='<tr><td colspan="7"><center>暂无文档</center></td></tr>'} | |||
<tr align="center" onmousemove="javascript:this.bgColor='#fbfce2';" onmouseout="javascript:this.bgColor='#ffffff';"> | |||
<td><input type="checkbox" name="logs" id="logs" value="{dede:field.lid/}"></td> | |||
<td>{dede:field.userid/}</td> | |||
@@ -87,7 +87,7 @@ | |||
<td>管理</td> | |||
</tr> | |||
<form name="form1"> | |||
{dede:datalist empty='<tr><td colspan="7"><center>暂无内容</center></td></tr>'} | |||
{dede:datalist empty='<tr><td colspan="7"><center>暂无文档</center></td></tr>'} | |||
<tr align="center" onmousemove="javascript:this.bgColor='#fbfce2';" onmouseout="javascript:this.bgColor='#ffffff';"> | |||
<td><input type="checkbox" name="aids" id="aids{dede:field.aid/}" value="{dede:field.aid/}"></td> | |||
<td><a href="{dede:field.url/}" title="{dede:field.url/}" target="_blank">{dede:field.title/}</a></td> | |||
@@ -72,7 +72,7 @@ | |||
<td width="14%">地址时间</td> | |||
<td>操作</td> | |||
</tr> | |||
{dede:datalist empty='<tr><td colspan="9"><center>暂无内容</center></td></tr>'} | |||
{dede:datalist empty='<tr><td colspan="9"><center>暂无文档</center></td></tr>'} | |||
<tr align="center" onmousemove="javascript:this.bgColor='#fbfce2';" onmouseout="javascript:this.bgColor='#ffffff';"> | |||
<td><input type="checkbox" name="mid" id="mid" value="{dede:field.mid/}"></td> | |||
<td>{dede:field.mid/}</td> | |||
@@ -84,7 +84,7 @@ | |||
<td align="center">会员</td> | |||
</tr> | |||
<form name="form1"> | |||
{dede:datalist empty='<tr><td colspan="8"><center>暂无内容</center></td></tr>'} | |||
{dede:datalist empty='<tr><td colspan="8"><center>暂无文档</center></td></tr>'} | |||
<tr align="center" onmousemove="javascript:this.bgColor='#fbfce2';" onmouseout="javascript:this.bgColor='#ffffff';"> | |||
<td align="center"><input type="checkbox" name="aids" value="<?php echo $fields['aid']?>"></td> | |||
<td align="center"><?php echo $fields['buyid']?></td> | |||
@@ -38,11 +38,11 @@ | |||
<td width="20%" align="center">标题</td> | |||
<td width="5%" align="center">已读</td> | |||
<td width="10%" align="center">{dede:global name='postuser'/}</td> | |||
<td width="35%" align="center">内容</td> | |||
<td width="35%" align="center">文档</td> | |||
<td width="10%" align="center">文件夹</td> | |||
<td width="10%" align="center">操作</td> | |||
</tr> | |||
{dede:datalist empty='<tr><td colspan="7"><center>暂无内容</center></td></tr>'} | |||
{dede:datalist empty='<tr><td colspan="7"><center>暂无文档</center></td></tr>'} | |||
<tr align="center" onmousemove="javascript:this.bgColor='#fbfce2';" onmouseout="javascript:this.bgColor='#ffffff';"> | |||
<td>{dede:field.sendtime function='GetDateMk(@me)'/}</td> | |||
<td>{dede:field.subject function='dede_htmlspecialchars(@me)'/}</td> | |||
@@ -42,7 +42,7 @@ | |||
<td><input type="text" name="subject" id="subject" class="biz-input-md">(标题少于70个字符内)</td> | |||
</tr> | |||
<tr> | |||
<td><label for="pm_textarea">内容:</label></td> | |||
<td><label for="pm_textarea">文档:</label></td> | |||
<td><textarea name="message" id="message" class="biz-textarea-xl"></textarea>(1000个字符以内)</td> | |||
</tr> | |||
<tr> | |||
@@ -46,7 +46,7 @@ | |||
<td><input type="text" name="subject" id="subject" class="biz-input-md">(标题少于70个字符内)</td> | |||
</tr> | |||
<tr> | |||
<td><label for="pm_textarea">内容:</label></td> | |||
<td><label for="pm_textarea">文档:</label></td> | |||
<td><textarea name="message" id="message" class="biz-textarea-xl"></textarea>(1000个字符以内)</td> | |||
</tr> | |||
<tr> | |||
@@ -3,7 +3,7 @@ | |||
<head> | |||
<meta charset="<?php echo $cfg_soft_lang;?>"> | |||
<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"> | |||
@@ -40,7 +40,7 @@ | |||
<form name="form1" action="mychannel_add.php" method="post"> | |||
<input type="hidden" name="action" value="add"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2"><a href="mychannel_main.php">内容模型管理</a> > 新增内容模型</td> | |||
<td bgcolor="#f5f5f5" colspan="2"><a href="mychannel_main.php">文档模型管理</a> > 新增文档模型</td> | |||
</tr> | |||
<tr> | |||
<td width="30%">栏目id<br> | |||
@@ -67,7 +67,7 @@ | |||
</tr> | |||
<tr> | |||
<td>模型性质<br> | |||
<span id="help5">如果为系统模型将禁止删除,此选项不可修改,对于独立模型,系统强制创建字段aid,typeid,senddate,title,mid,channel,独立模型的文档内容必须点击栏目进入列表才能管理</span></td> | |||
<span id="help5">如果为系统模型将禁止删除,此选项不可修改,对于独立模型,系统强制创建字段aid,typeid,senddate,title,mid,channel,独立模型的文档文档必须点击栏目进入列表才能管理</span></td> | |||
<td> | |||
<label><input type="radio" name="issystem" id="is1" value="0" onClick="PublicDefault()" checked="1"> 自动模型</label> | |||
<label><input type="radio" name="issystem" id="is2" value="1" onClick="PublicDefault()"> 系统模型</label> | |||
@@ -3,7 +3,7 @@ | |||
<head> | |||
<meta charset="<?php echo $cfg_soft_lang;?>"> | |||
<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"> | |||
@@ -46,7 +46,7 @@ | |||
<table width="98%" id='needset' cellpadding="3" cellspacing="1" align="center" class="table maintable"> | |||
<?php if ($row['issystem'] == 1){?> | |||
<tr> | |||
<td colspan="2" class="border-top-0"><div class="alert alert-danger mb-0">您目前所展开的是系统模型,系统模型一般对发布程序和管理程序已经固化,如果您胡乱修改系统模型将会导致使用这种内容类型的栏目可能崩溃</div></td> | |||
<td colspan="2" class="border-top-0"><div class="alert alert-danger mb-0">您目前所展开的是系统模型,系统模型一般对发布程序和管理程序已经固化,如果您胡乱修改系统模型将会导致使用这种文档类型的栏目可能崩溃</div></td> | |||
</tr> | |||
<?php }?> | |||
<tr> | |||
@@ -3,7 +3,7 @@ | |||
<head> | |||
<meta charset="<?php echo $cfg_soft_lang;?>"> | |||
<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"> | |||
@@ -88,21 +88,21 @@ | |||
<td bgcolor="#f5f5f5" colspan="2"> | |||
<table width="98%" cellspacing="0" cellpadding="0" class="table table-borderless"> | |||
<tr> | |||
<td width="30%"><a href="mychannel_main.php">内容模型管理</a> > 增加新字段</td> | |||
<td width="30%"><a href="mychannel_main.php">文档模型管理</a> > 增加新字段</td> | |||
<td width="70%" align="right"> | |||
<button type="button" name="ss1" onClick="location='mychannel_edit.php?id=<?php echo $id?>&dopost=edit';" class="btn btn-success btn-sm">当前模型信息</button> | |||
<button type="button" name="ss12" onClick="location='mychannel_main.php';" class="btn btn-success btn-sm">内容模型管理</button> | |||
<button type="button" name="ss12" onClick="location='mychannel_main.php';" class="btn btn-success btn-sm">文档模型管理</button> | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td colspan="2"><div class="alert alert-danger mb-0">所有填写的内容不允许包含双引号["],否则配置将无法写入</div></td> | |||
<td colspan="2"><div class="alert alert-danger mb-0">所有填写的文档不允许包含双引号["],否则配置将无法写入</div></td> | |||
</tr> | |||
<tr> | |||
<td width="30%">表单提示文字:<br> | |||
<span>发布内容时显示的提示文字</span></td> | |||
<span>发布文档时显示的提示文字</span></td> | |||
<td><input type="text" name="itemname" id="itemname"> *</td> | |||
</tr> | |||
<tr> | |||
@@ -125,8 +125,8 @@ | |||
</td> | |||
</tr> | |||
<tr> | |||
<td>内容是否需要分页符:<br> | |||
<span>如果内容需要分页符,不论何种内容,都可以用#P#副标题#e#作为分页符号实现内容分页,但一个模型里仅允许一个这样的字段!</span></td> | |||
<td>文档是否需要分页符:<br> | |||
<span>如果文档需要分页符,不论何种文档,都可以用#P#副标题#e#作为分页符号实现文档分页,但一个模型里仅允许一个这样的字段!</span></td> | |||
<td> | |||
<input type="hidden" name="isnull" value="1"> | |||
<label><input type="radio" name="spage" value="split"> 是</label> | |||
@@ -156,12 +156,12 @@ | |||
<div class="nw"><label><input type="radio" name="dtype" id="dtype15" value="checkbox"> checkbox多选框</label></div> | |||
<div class="nw"><label><input type="radio" name="dtype" id="dtype16" value="stepselect"> 联动类型</label></div> | |||
<br class="cls"> | |||
<div class="nw"><label><input type="radio" name="dtype" id="dtype16" value="relation"> 关联内容</label></div> | |||
<div class="nw"><label><input type="radio" name="dtype" id="dtype16" value="relation"> 关联文档</label></div> | |||
</td> | |||
</tr> | |||
<tr id="_relation" style="display:none"> | |||
<td>内容模型:<br> | |||
<span>选择关联内容对应的内容模型</span> | |||
<td>文档模型:<br> | |||
<span>选择关联文档对应的文档模型</span> | |||
</td> | |||
<td> | |||
<select name="channeltype" id="channeltype" class="biz-input-md"> | |||
@@ -178,7 +178,7 @@ | |||
} | |||
?> | |||
</select> | |||
<label><input type="checkbox" name="relation_automake" id="relation_automake" value="1"> 发布时候自动更新关联网页内容</label> | |||
<label><input type="checkbox" name="relation_automake" id="relation_automake" value="1"> 发布时候自动更新关联网页文档</label> | |||
</td> | |||
</tr> | |||
<tr> | |||
@@ -3,7 +3,7 @@ | |||
<head> | |||
<meta charset="<?php echo $cfg_soft_lang;?>"> | |||
<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"> | |||
@@ -69,10 +69,10 @@ | |||
<td bgcolor="#f5f5f5" colspan="2"> | |||
<table width="98%" cellspacing="0" cellpadding="0" class="table table-borderless"> | |||
<tr> | |||
<td width="30%"><a href="mychannel_main.php">内容模型管理</a> > 查看修改字段</td> | |||
<td width="30%"><a href="mychannel_main.php">文档模型管理</a> > 查看修改字段</td> | |||
<td width="70%" align="right"> | |||
<button type="button" name="ss1" class="btn btn-success btn-sm" onClick="location='mychannel_edit.php?id=<?php echo $id?>&dopost=edit';">当前模型信息</button> | |||
<button type="button" name="ss12" onClick="location='mychannel_main.php';" class="btn btn-success btn-sm">内容模型管理</button> | |||
<button type="button" name="ss12" onClick="location='mychannel_main.php';" class="btn btn-success btn-sm">文档模型管理</button> | |||
</td> | |||
</tr> | |||
</table> | |||
@@ -85,8 +85,8 @@ | |||
<?php }?> | |||
<tr> | |||
<td>表单提示文字:<br> | |||
<span>发布内容时显示的提示文字</span></td> | |||
<td><input type="text" name="itemname" id="itemname" value="<?php echo $ctag->GetAtt('itemname')?>"> *(发布内容时显示的项名字)</td> | |||
<span>发布文档时显示的提示文字</span></td> | |||
<td><input type="text" name="itemname" id="itemname" value="<?php echo $ctag->GetAtt('itemname')?>"> *(发布文档时显示的项名字)</td> | |||
</tr> | |||
<tr> | |||
<td width="30%">字段名称:<br> | |||
@@ -139,14 +139,14 @@ | |||
<option value="radio">使用radio选项卡</option> | |||
<option value="checkbox">checkbox多选框</option> | |||
<option value="stepselect">联动类型</option> | |||
<option value="relation">关联内容</option> | |||
<option value="relation">关联文档</option> | |||
<?php }?> | |||
</select> | |||
</td> | |||
</tr> | |||
<tr id="_relation" <?php echo $dtype=="relation"? '' : 'style="display:none"';?>> | |||
<td>内容模型:<br> | |||
<span>选择关联内容对应的内容模型</span></td> | |||
<td>文档模型:<br> | |||
<span>选择关联文档对应的文档模型</span></td> | |||
<td> | |||
<select name="channeltype" id="channeltype" class="biz-input-md"> | |||
<?php | |||
@@ -163,12 +163,12 @@ | |||
} | |||
?> | |||
</select> | |||
<label><input type="checkbox" name="relation_automake" id="relation_automake" value="1" <?php echo $ctag->GetAtt('automake')==1? "checked" : "";?>> 发布时候自动更新关联网页内容</label> | |||
<label><input type="checkbox" name="relation_automake" id="relation_automake" value="1" <?php echo $ctag->GetAtt('automake')==1? "checked" : "";?>> 发布时候自动更新关联网页文档</label> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td>内容是否需要分页符:<br> | |||
<span>如果内容需要分页符,不论何种内容,都可以用#P#副标题#e#作为分页符号实现内容分页,但一个模型里仅允许一个这样的字段!</span></td> | |||
<td>文档是否需要分页符:<br> | |||
<span>如果文档需要分页符,不论何种文档,都可以用#P#副标题#e#作为分页符号实现文档分页,但一个模型里仅允许一个这样的字段!</span></td> | |||
<td> | |||
<input name="isnull" type="hidden" value="1"> | |||
<label><input type="radio" name="spage" value="split" <?php if ($ctag->GetAtt('page')=='split') echo "checked='1'";?>> 是</label> | |||
@@ -4,7 +4,7 @@ | |||
<head> | |||
<meta charset="<?php echo $cfg_soft_lang;?>"> | |||
<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"> | |||
@@ -15,7 +15,7 @@ | |||
<td bgcolor="#f5f5f5" colspan="7"> | |||
<table width="98%" cellpadding="0" cellspacing="0" class="table table-borderless"> | |||
<tr> | |||
<td width="30%">内容模型管理</td> | |||
<td width="30%">文档模型管理</td> | |||
<td width="70%" align="right"> | |||
<a href="mychannel_add.php" class="btn btn-success btn-sm">增加新模型</a> | |||
<a href="mychannel_edit.php?dopost=exportin" class="btn btn-success btn-sm">导入模型</a> | |||
@@ -36,7 +36,7 @@ | |||
</tr> | |||
{dede:datalist empty='<tr> | |||
<td colspan="7"> | |||
<center>暂无内容</center> | |||
<center>暂无文档</center> | |||
</td> | |||
</tr>'} | |||
<tr align="center" onmousemove="javascript:this.bgColor='#fbfce2';" onmouseout="javascript:this.bgColor='#ffffff';"> | |||
@@ -20,7 +20,7 @@ | |||
<input type="hidden" name="dopost" value="modifysearch"> | |||
<tr> | |||
<td bgcolor="#f5f5f5" colspan="2"> | |||
<a href="mychannel_main.php">内容模型管理</a> > 自定义搜索管理 | |||
<a href="mychannel_main.php">文档模型管理</a> > 自定义搜索管理 | |||
<span class="float-right mr-2"><a href="mychannel_edit.php?dopost=del&mid=<?php echo $mid;?>">删除自定义搜索</a></span> | |||
</td> | |||
</tr> | |||
@@ -64,7 +64,7 @@ | |||
<input type="hidden" name="dopost" value="save"> | |||
<input type="hidden" name="_csrf_token" value="<?php echo $GLOBALS['csrf_token'];?>"> | |||
<tr> | |||
<td colspan="3"><div class="alert alert-info mb-0">自定义标记的调用方法:{dede:mytag name='标记名称' ismake='是否含板块代码(yes或no)' typeid='栏目id'/} 1、name 标记名称,该项是必须的属性,以下2、3是可选属性;2、ismake 默认是no表示设定的纯网页代码,yes表示含板块标记的代码;3、typeid表示所属栏目的id,默认为0,表示所有栏目通用的显示内容,在列表和文档模板中,typeid默认是这个列表或文档本身的栏目id</div></td> | |||
<td colspan="3"><div class="alert alert-info mb-0">自定义标记的调用方法:{dede:mytag name='标记名称' ismake='是否含板块代码(yes或no)' typeid='栏目id'/} 1、name 标记名称,该项是必须的属性,以下2、3是可选属性;2、ismake 默认是no表示设定的纯网页代码,yes表示含板块标记的代码;3、typeid表示所属栏目的id,默认为0,表示所有栏目通用的显示文档,在列表和文档模板中,typeid默认是这个列表或文档本身的栏目id</div></td> | |||
</tr> | |||
<tr> | |||
<td width="15%" align="center">所属栏目:</td> | |||
@@ -99,12 +99,12 @@ | |||
<td colspan="2"><input type="text" name="endtime" id="endtime" value="<?php echo $endDay?>" class="datepicker"></td> | |||
</tr> | |||
<tr> | |||
<td align="center">正常显示内容:</td> | |||
<td align="center">正常显示文档:</td> | |||
<td width="70%"><textarea name="normbody" id="normbody" class="biz-textarea-xl"></textarea></td> | |||
<td width="9%"></td> | |||
</tr> | |||
<tr> | |||
<td align="center">过期显示内容:</td> | |||
<td align="center">过期显示文档:</td> | |||
<td><textarea name="expbody" id="expbody" class="biz-textarea-xl"></textarea></td> | |||
<td></td> | |||
</tr> | |||
@@ -52,12 +52,12 @@ | |||
<td colspan="2"><input type="text" name="endtime" id="endtime" value="<?php echo GetDateTimeMk($row['endtime'])?>"></td> | |||
</tr> | |||
<tr> | |||
<td align="center">正常显示内容:</td> | |||
<td align="center">正常显示文档:</td> | |||
<td width="70%"><textarea name="normbody" id="normbody" class="biz-textarea-xl"><?php echo $row['normbody']?></textarea></td> | |||
<td width="9%"></td> | |||
</tr> | |||
<tr> | |||
<td align="center">过期显示内容:</td> | |||
<td align="center">过期显示文档:</td> | |||
<td><textarea name="expbody" id="expbody" class="biz-textarea-xl"><?php echo $row['expbody']?></textarea> </td> | |||
<td></td> | |||
</tr> | |||
@@ -22,7 +22,7 @@ | |||
<td width="20%">结束时间</td> | |||
<td width="20%">管理</td> | |||
</tr> | |||
{dede:datalist empty='<tr><td colspan="6"><center>暂无内容</center></td></tr>'} | |||
{dede:datalist empty='<tr><td colspan="6"><center>暂无文档</center></td></tr>'} | |||
<tr align="center" onmousemove="javascript:this.bgColor='#fbfce2';" onmouseout="javascript:this.bgColor='#ffffff';"> | |||
<td>{dede:field.aid/}</td> | |||
<td>{dede:field.tagname/}</td> | |||
@@ -20,7 +20,7 @@ | |||
<td width="20%">插件作者</td> | |||
<td width="30%">管理</td> | |||
</tr> | |||
{dede:datalist empty='<tr><td colspan="4"><center>暂无内容</center></td></tr>'} | |||
{dede:datalist empty='<tr><td colspan="4"><center>暂无文档</center></td></tr>'} | |||
<tr align="center" onmousemove="javascript:this.bgColor='#fbfce2';" onmouseout="javascript:this.bgColor='#ffffff';"> | |||
<td>{dede:field.aid/}</td> | |||
<td>{dede:field.plusname/}</td> | |||
@@ -81,7 +81,7 @@ | |||
<td width="6%">点击</td> | |||
<td>操作</td> | |||
</tr> | |||
{dede:datalist empty='<tr><td colspan="7"><center>暂无内容</center></td></tr>'} | |||
{dede:datalist empty='<tr><td colspan="7"><center>暂无文档</center></td></tr>'} | |||
<tr align="center" onMouseOut="javascript:this.bgColor='#ffffff';"> | |||
<td>{dede:field.id/}</td> | |||
<td><input type="checkbox" name="arcID" id="arcID" value="{dede:field.id/}"></td> | |||
@@ -57,7 +57,7 @@ | |||
<td> | |||
<table cellpadding="0" cellspacing="0"> | |||
<tr> | |||
<td width="80" height="28" align="center" class="biz-itemnote1">常规内容</td> | |||
<td width="80" height="28" align="center" class="biz-itemnote1">常规文档</td> | |||
</tr> | |||
</table> | |||
</td> | |||