@@ -224,7 +224,7 @@ else if ($dopost == 'save') { | |||||
$vs = explode(',', $v); | $vs = explode(',', $v); | ||||
if (!isset(${$vs[0]})) { | if (!isset(${$vs[0]})) { | ||||
${$vs[0]} = ''; | ${$vs[0]} = ''; | ||||
} else if ($vs[1] == 'htmltext' || $vs[1] == 'textdata') //HTML文本特殊处理 | |||||
} else if ($vs[1] == 'htmltext' || $vs[1] == 'textdata') //网页文本特殊处理 | |||||
{ | { | ||||
${$vs[0]} = AnalyseHtmlBody(${$vs[0]}, $description, $litpic, $keywords, $vs[1]); | ${$vs[0]} = AnalyseHtmlBody(${$vs[0]}, $description, $litpic, $keywords, $vs[1]); | ||||
} else { | } else { | ||||
@@ -287,7 +287,7 @@ else if ($dopost == 'save') { | |||||
continue; | continue; | ||||
} | } | ||||
$vs = explode(',', $v); | $vs = explode(',', $v); | ||||
if ($vs[1] == 'htmltext' || $vs[1] == 'textdata') //HTML文本特殊处理 | |||||
if ($vs[1] == 'htmltext' || $vs[1] == 'textdata') //网页文本特殊处理 | |||||
{ | { | ||||
${$vs[0]} = AnalyseHtmlBody(${$vs[0]}, $description, $litpic, $keywords, $vs[1]); | ${$vs[0]} = AnalyseHtmlBody(${$vs[0]}, $description, $litpic, $keywords, $vs[1]); | ||||
} else { | } else { | ||||
@@ -103,7 +103,7 @@ else if ($dopost == 'save') { | |||||
continue; | continue; | ||||
} | } | ||||
$vs = explode(',', $v); | $vs = explode(',', $v); | ||||
if ($vs[1] == 'htmltext' || $vs[1] == 'textdata') //HTML文本特殊处理 | |||||
if ($vs[1] == 'htmltext' || $vs[1] == 'textdata') //网页文本特殊处理 | |||||
{ | { | ||||
${$vs[0]} = AnalyseHtmlBody(${$vs[0]}, $description, $litpic, $keywords, $vs[1]); | ${$vs[0]} = AnalyseHtmlBody(${$vs[0]}, $description, $litpic, $keywords, $vs[1]); | ||||
} else { | } else { | ||||
@@ -89,7 +89,7 @@ else if ($dopost == 'save') { | |||||
continue; | continue; | ||||
} | } | ||||
$vs = explode(',', $v); | $vs = explode(',', $v); | ||||
if ($vs[1] == 'htmltext' || $vs[1] == 'textdata') //HTML文本特殊处理 | |||||
if ($vs[1] == 'htmltext' || $vs[1] == 'textdata') //网页文本特殊处理 | |||||
{ | { | ||||
${$vs[0]} = AnalyseHtmlBody(${$vs[0]}, $description, $litpic, $keywords, $vs[1]); | ${$vs[0]} = AnalyseHtmlBody(${$vs[0]}, $description, $litpic, $keywords, $vs[1]); | ||||
} else { | } else { | ||||
@@ -81,7 +81,7 @@ else if ($dopost == 'save') { | |||||
continue; | continue; | ||||
} | } | ||||
$vs = explode(',', $v); | $vs = explode(',', $v); | ||||
if ($vs[1] == 'htmltext' || $vs[1] == 'textdata') //HTML文本特殊处理 | |||||
if ($vs[1] == 'htmltext' || $vs[1] == 'textdata') //网页文本特殊处理 | |||||
{ | { | ||||
${$vs[0]} = AnalyseHtmlBody(${$vs[0]}, $description, $litpic, $keywords, $vs[1]); | ${$vs[0]} = AnalyseHtmlBody(${$vs[0]}, $description, $litpic, $keywords, $vs[1]); | ||||
} else { | } else { | ||||
@@ -116,7 +116,7 @@ else if ($dopost == 'save') { | |||||
continue; | continue; | ||||
} | } | ||||
$vs = explode(',', $v); | $vs = explode(',', $v); | ||||
if ($vs[1] == 'htmltext' || $vs[1] == 'textdata') //HTML文本特殊处理 | |||||
if ($vs[1] == 'htmltext' || $vs[1] == 'textdata') //网页文本特殊处理 | |||||
{ | { | ||||
${$vs[0]} = AnalyseHtmlBody(${$vs[0]}, $description, $litpic, $keywords, $vs[1]); | ${$vs[0]} = AnalyseHtmlBody(${$vs[0]}, $description, $litpic, $keywords, $vs[1]); | ||||
} else { | } else { | ||||
@@ -1,7 +1,7 @@ | |||||
text,单行文本(varchar) | text,单行文本(varchar) | ||||
textchar,单行文本(char) | textchar,单行文本(char) | ||||
multitext,多行文本 | multitext,多行文本 | ||||
htmltext,HTML文本 | |||||
htmltext,网页文本 | |||||
textdata,HTML形式保存数据 | textdata,HTML形式保存数据 | ||||
int,整数类型 | int,整数类型 | ||||
float,小数类型 | float,小数类型 | ||||
@@ -160,7 +160,7 @@ $actionSearch[4] = array( | |||||
'linkurl' => 'article_description_main.php' | 'linkurl' => 'article_description_main.php' | ||||
), | ), | ||||
6 => array( | 6 => array( | ||||
'title' => 'Tag标签管理', | |||||
'title' => '标签管理', | |||||
'description' => '对整个网站的tag进行批量的维护', | 'description' => '对整个网站的tag进行批量的维护', | ||||
'purview' => 'sys_Keyword', | 'purview' => 'sys_Keyword', | ||||
'linkurl' => 'tags_main.php' | 'linkurl' => 'tags_main.php' | ||||
@@ -506,7 +506,7 @@ function PrintAutoFieldsEdit(&$fieldset, &$fieldValues, $loadtype = 'all') | |||||
echo "<input type='hidden' name='dede_addonfields' value=\"".$dede_addonfields."\">\r\n"; | echo "<input type='hidden' name='dede_addonfields' value=\"".$dede_addonfields."\">\r\n"; | ||||
} | } | ||||
/** | /** | ||||
* 处理HTML文本 | |||||
* 处理网页文本 | |||||
* 删除非站外链接、自动摘要、自动获取缩略图 | * 删除非站外链接、自动摘要、自动获取缩略图 | ||||
* | * | ||||
* @access public | * @access public | ||||
@@ -96,7 +96,7 @@ $adminMenu1 | |||||
<m:item name='文档关键词维护' link='article_keywords_main.php' rank='sys_Keyword' target='main' /> | <m:item name='文档关键词维护' link='article_keywords_main.php' rank='sys_Keyword' target='main' /> | ||||
<m:item name='重复文档检测' link='article_test_same.php' rank='sys_ArcBatch' target='main' /> | <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='article_description_main.php' rank='sys_Keyword' target='main' /> | ||||
<m:item name='Tag标签管理' link='tags_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> | </m:top> | ||||
{$GLOBALS['menusMoudle']} | {$GLOBALS['menusMoudle']} | ||||
@@ -118,7 +118,7 @@ else if ($dopost == 'save') { | |||||
$vs = explode(',', $v); | $vs = explode(',', $v); | ||||
if (!isset(${$vs[0]})) { | if (!isset(${$vs[0]})) { | ||||
${$vs[0]} = ''; | ${$vs[0]} = ''; | ||||
} else if ($vs[1] == 'htmltext' || $vs[1] == 'textdata') //HTML文本特殊处理 | |||||
} else if ($vs[1] == 'htmltext' || $vs[1] == 'textdata') //网页文本特殊处理 | |||||
{ | { | ||||
${$vs[0]} = AnalyseHtmlBody(${$vs[0]}, $description, $litpic, $keywords, $vs[1]); | ${$vs[0]} = AnalyseHtmlBody(${$vs[0]}, $description, $litpic, $keywords, $vs[1]); | ||||
} else { | } else { | ||||
@@ -139,7 +139,7 @@ else if ($dopost == 'save') { | |||||
continue; | continue; | ||||
} | } | ||||
$vs = explode(',', $v); | $vs = explode(',', $v); | ||||
if ($vs[1] == 'htmltext' || $vs[1] == 'textdata') //HTML文本特殊处理 | |||||
if ($vs[1] == 'htmltext' || $vs[1] == 'textdata') //网页文本特殊处理 | |||||
{ | { | ||||
${$vs[0]} = AnalyseHtmlBody(${$vs[0]}, $description, $litpic, $keywords, $vs[1]); | ${$vs[0]} = AnalyseHtmlBody(${$vs[0]}, $description, $litpic, $keywords, $vs[1]); | ||||
} else { | } else { | ||||
@@ -139,7 +139,7 @@ else if ($dopost == 'save') { | |||||
continue; | continue; | ||||
} | } | ||||
$vs = explode(',', $v); | $vs = explode(',', $v); | ||||
if ($vs[1] == 'htmltext' || $vs[1] == 'textdata') //HTML文本特殊处理 | |||||
if ($vs[1] == 'htmltext' || $vs[1] == 'textdata') //网页文本特殊处理 | |||||
{ | { | ||||
${$vs[0]} = AnalyseHtmlBody(${$vs[0]}, $description, $litpic, $keywords, $vs[1]); | ${$vs[0]} = AnalyseHtmlBody(${$vs[0]}, $description, $litpic, $keywords, $vs[1]); | ||||
} else { | } else { | ||||
@@ -88,7 +88,7 @@ else if ($dopost == 'save') { | |||||
continue; | continue; | ||||
} | } | ||||
$vs = explode(',', $v); | $vs = explode(',', $v); | ||||
if ($vs[1] == 'htmltext' || $vs[1] == 'textdata') //HTML文本特殊处理 | |||||
if ($vs[1] == 'htmltext' || $vs[1] == 'textdata') //网页文本特殊处理 | |||||
{ | { | ||||
${$vs[0]} = AnalyseHtmlBody(${$vs[0]}, $description, $litpic, $keywords, $vs[1]); | ${$vs[0]} = AnalyseHtmlBody(${$vs[0]}, $description, $litpic, $keywords, $vs[1]); | ||||
} else { | } else { | ||||
@@ -118,7 +118,7 @@ | |||||
<td class="biz-td"> | <td class="biz-td"> | ||||
<table cellspacing="0" cellpadding="0"> | <table cellspacing="0" cellpadding="0"> | ||||
<tr> | <tr> | ||||
<td width="90">Tag标签:</td> | |||||
<td width="90">标签:</td> | |||||
<td><input type="text" name="tags" id="tags" value="" onChange="$Obj('keywords').value=this.value;" class="biz-input-md">(英文逗号分开,如“天涯,叙述”)</td> | <td><input type="text" name="tags" id="tags" value="" onChange="$Obj('keywords').value=this.value;" class="biz-input-md">(英文逗号分开,如“天涯,叙述”)</td> | ||||
<td width="60">权重:</td> | <td width="60">权重:</td> | ||||
<td><input type="text" name="weight" id="weight" value="<?php echo $maxWright['cc'];?>" class="biz-input-sm">(越小越靠前)</td> | <td><input type="text" name="weight" id="weight" value="<?php echo $maxWright['cc'];?>" class="biz-input-sm">(越小越靠前)</td> | ||||
@@ -118,7 +118,7 @@ | |||||
<td class="biz-td"> | <td class="biz-td"> | ||||
<table cellspacing="0" cellpadding="0"> | <table cellspacing="0" cellpadding="0"> | ||||
<tr> | <tr> | ||||
<td width="90">Tag标签:</td> | |||||
<td width="90">标签:</td> | |||||
<td><input type="text" name="tags" id="tags" value="<?php echo $tags;?>" class="biz-input-md">(英文逗号分开,如“天涯,叙述”)</td> | <td><input type="text" name="tags" id="tags" value="<?php echo $tags;?>" class="biz-input-md">(英文逗号分开,如“天涯,叙述”)</td> | ||||
<td width="60">权重:</td> | <td width="60">权重:</td> | ||||
<td><input type="text" name="weight" id="weight" value="<?php echo $arcRow['weight'];?>" class="biz-input-sm">(越小越靠前)</td> | <td><input type="text" name="weight" id="weight" value="<?php echo $arcRow['weight'];?>" class="biz-input-sm">(越小越靠前)</td> | ||||
@@ -97,7 +97,7 @@ | |||||
<td class="biz-td"> | <td class="biz-td"> | ||||
<table cellspacing="0" cellpadding="0"> | <table cellspacing="0" cellpadding="0"> | ||||
<tr> | <tr> | ||||
<td width="90">Tag标签:</td> | |||||
<td width="90">标签:</td> | |||||
<td><input type="text" name="tags" id="tags" value="" onChange="$Obj('keywords').value=this.value;" class="biz-input-md">(英文逗号分开,如“天涯,叙述”)</td> | <td><input type="text" name="tags" id="tags" value="" onChange="$Obj('keywords').value=this.value;" class="biz-input-md">(英文逗号分开,如“天涯,叙述”)</td> | ||||
<td width="60">权重:</td> | <td width="60">权重:</td> | ||||
<td><input type="text" name="weight" id="weight" value="<?php echo $maxWright['cc'];?>" class="biz-input-sm">(越小越靠前)</td> | <td><input type="text" name="weight" id="weight" value="<?php echo $maxWright['cc'];?>" class="biz-input-sm">(越小越靠前)</td> | ||||
@@ -96,7 +96,7 @@ | |||||
<td class="biz-td"> | <td class="biz-td"> | ||||
<table cellspacing="0" cellpadding="0"> | <table cellspacing="0" cellpadding="0"> | ||||
<tr> | <tr> | ||||
<td width="90">Tag标签:</td> | |||||
<td width="90">标签:</td> | |||||
<td><input name="tags" type="text" id="tags" value="<?php echo $tags;?>" class="biz-input-md">(英文逗号分开,如“天涯,叙述”)</td> | <td><input name="tags" type="text" id="tags" value="<?php echo $tags;?>" class="biz-input-md">(英文逗号分开,如“天涯,叙述”)</td> | ||||
<td width="60">权重:</td> | <td width="60">权重:</td> | ||||
<td><input name="weight" type="text" id="weight" value="<?php echo $arcRow['weight'];?>" class="biz-input-sm">(越小越靠前)</td> | <td><input name="weight" type="text" id="weight" value="<?php echo $arcRow['weight'];?>" class="biz-input-sm">(越小越靠前)</td> | ||||
@@ -98,7 +98,7 @@ | |||||
<td class="biz-td"> | <td class="biz-td"> | ||||
<table cellspacing="0" cellpadding="0"> | <table cellspacing="0" cellpadding="0"> | ||||
<tr> | <tr> | ||||
<td width="90">Tag标签:</td> | |||||
<td width="90">标签:</td> | |||||
<td><input type="text" name="tags"id="tags" value="" onChange="$Obj('keywords').value=this.value;" class="biz-input-md">(英文逗号分开,如“天涯,叙述”)</td> | <td><input type="text" name="tags"id="tags" value="" onChange="$Obj('keywords').value=this.value;" class="biz-input-md">(英文逗号分开,如“天涯,叙述”)</td> | ||||
<td width="60">权重:</td> | <td width="60">权重:</td> | ||||
<td><input type="text" name="weight" id="weight" value="<?php echo $maxWright['cc'];?>" class="biz-input-sm">(越小越靠前)</td> | <td><input type="text" name="weight" id="weight" value="<?php echo $maxWright['cc'];?>" class="biz-input-sm">(越小越靠前)</td> | ||||
@@ -105,7 +105,7 @@ | |||||
<td class="biz-td"> | <td class="biz-td"> | ||||
<table cellspacing="0" cellpadding="0"> | <table cellspacing="0" cellpadding="0"> | ||||
<tr> | <tr> | ||||
<td width="90">Tag标签:</td> | |||||
<td width="90">标签:</td> | |||||
<td><input name="tags" type="text" id="tags" value="<?php echo $tags;?>" class="biz-input-md">(英文逗号分开,如“天涯,叙述”)</td> | <td><input name="tags" type="text" id="tags" value="<?php echo $tags;?>" class="biz-input-md">(英文逗号分开,如“天涯,叙述”)</td> | ||||
<td width="60">权重:</td> | <td width="60">权重:</td> | ||||
<td><input name="weight" type="text" id="weight" value="<?php echo $arcRow['weight'];?>" class="biz-input-sm">(越小越靠前)</td> | <td><input name="weight" type="text" id="weight" value="<?php echo $arcRow['weight'];?>" class="biz-input-sm">(越小越靠前)</td> | ||||
@@ -104,7 +104,7 @@ | |||||
<div class="nw"><label><input type="radio" name="dtype" id="dtype1" value="text" checked="1"> 单行文本(varchar)</label></div> | <div class="nw"><label><input type="radio" name="dtype" id="dtype1" value="text" checked="1"> 单行文本(varchar)</label></div> | ||||
<div class="nw"><label><input type="radio" name="dtype" id="dtype2" value="textchar"> 单行文本(char)</label></div> | <div class="nw"><label><input type="radio" name="dtype" id="dtype2" value="textchar"> 单行文本(char)</label></div> | ||||
<div class="nw"><label><input type="radio" name="dtype" id="dtype3" value="multitext"> 多行文本</label></div> | <div class="nw"><label><input type="radio" name="dtype" id="dtype3" value="multitext"> 多行文本</label></div> | ||||
<div class="nw"><label><input type="radio" name="dtype" id="dtype4" value="htmltext"> HTML文本</label></div> | |||||
<div class="nw"><label><input type="radio" name="dtype" id="dtype4" value="htmltext"> 网页文本</label></div> | |||||
<br class="cls"> | <br class="cls"> | ||||
<div class="nw"><label><input type="radio" name="dtype" id="dtype6" value="int"> 整数类型</label></div> | <div class="nw"><label><input type="radio" name="dtype" id="dtype6" value="int"> 整数类型</label></div> | ||||
<div class="nw"><label><input type="radio" name="dtype" id="dtype7" value="float"> 小数类型</label></div> | <div class="nw"><label><input type="radio" name="dtype" id="dtype7" value="float"> 小数类型</label></div> | ||||
@@ -128,8 +128,8 @@ | |||||
<td><input type="text" name="maxlength" id="maxlength" value="250" class="biz-input-xs"></td> | <td><input type="text" name="maxlength" id="maxlength" value="250" class="biz-input-xs"></td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td>自定义表单HTML:</td> | |||||
<td>自定义表单HTML模板中用~name~表示提示文字,~form~表示表单元素</td> | |||||
<td>自定义网页表单:</td> | |||||
<td>自定义网页表单模板中用~name~表示提示文字,~form~表示表单元素</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td align="center"></td> | <td align="center"></td> | ||||
@@ -92,7 +92,7 @@ | |||||
<option value="text">单行文本(varchar)</option> | <option value="text">单行文本(varchar)</option> | ||||
<option value="textchar">单行文本(char)</option> | <option value="textchar">单行文本(char)</option> | ||||
<option value="multitext">多行文本</option> | <option value="multitext">多行文本</option> | ||||
<option value="htmltext">HTML文本</option> | |||||
<option value="htmltext">网页文本</option> | |||||
<option value="int">整数类型</option> | <option value="int">整数类型</option> | ||||
<option value="float">小数类型</option> | <option value="float">小数类型</option> | ||||
<option value="datetime">时间类型</option> | <option value="datetime">时间类型</option> | ||||
@@ -127,8 +127,8 @@ | |||||
<td><input type="text" name="maxlength" id="maxlength" value="<?php echo $ctag->GetAtt('maxlength')?>"></td> | <td><input type="text" name="maxlength" id="maxlength" value="<?php echo $ctag->GetAtt('maxlength')?>"></td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td>自定义表单HTML:</td> | |||||
<td>自定义表单HTML用~name~表示提示文字,~form~表示表单元素</td> | |||||
<td>自定义网页表单:</td> | |||||
<td>自定义网页表单用~name~表示提示文字,~form~表示表单元素</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td align="center"></td> | <td align="center"></td> | ||||
@@ -139,9 +139,9 @@ | |||||
<div class="nw"><label><input type="radio" name="dtype" id="dtype1" value="text" checked='1'> 单行文本(varchar)</label></div> | <div class="nw"><label><input type="radio" name="dtype" id="dtype1" value="text" checked='1'> 单行文本(varchar)</label></div> | ||||
<div class="nw"><label><input type="radio" name="dtype" id="dtype2" value="textchar"> 单行文本(char)</label></div> | <div class="nw"><label><input type="radio" name="dtype" id="dtype2" value="textchar"> 单行文本(char)</label></div> | ||||
<div class="nw"><label><input type="radio" name="dtype" id="dtype3" value="multitext"> 多行文本</label></div> | <div class="nw"><label><input type="radio" name="dtype" id="dtype3" value="multitext"> 多行文本</label></div> | ||||
<div class="nw"><label><input type="radio" name="dtype" id="dtype4" value="htmltext"> HTML文本</label></div> | |||||
<div class="nw"><label><input type="radio" name="dtype" id="dtype4" value="htmltext"> 网页文本</label></div> | |||||
<br class="cls"> | <br class="cls"> | ||||
<div class="nw"><label><input type="radio" name="dtype" id="dtype5" value="textdata"> 文本保存HTML数据</label></div> | |||||
<div class="nw"><label><input type="radio" name="dtype" id="dtype5" value="textdata"> 文本保存网页数据</label></div> | |||||
<div class="nw"><label><input type="radio" name="dtype" id="dtype6" value="int"> 整数类型</label></div> | <div class="nw"><label><input type="radio" name="dtype" id="dtype6" value="int"> 整数类型</label></div> | ||||
<div class="nw"><label><input type="radio" name="dtype" id="dtype7" value="float"> 小数类型</label></div> | <div class="nw"><label><input type="radio" name="dtype" id="dtype7" value="float"> 小数类型</label></div> | ||||
<div class="nw"><label><input type="radio" name="dtype" id="dtype8" value="datetime"> 时间类型</label></div> | <div class="nw"><label><input type="radio" name="dtype" id="dtype8" value="datetime"> 时间类型</label></div> | ||||
@@ -178,7 +178,7 @@ | |||||
} | } | ||||
?> | ?> | ||||
</select> | </select> | ||||
<label><input type="checkbox" name="relation_automake" id="relation_automake" value="1"> 发布时候自动更新关联内容HTML</label> | |||||
<label><input type="checkbox" name="relation_automake" id="relation_automake" value="1"> 发布时候自动更新关联网页内容</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -192,8 +192,8 @@ | |||||
<td><input type="text" name="maxlength" id="maxlength" value="250" class="biz-input-xs"></td> | <td><input type="text" name="maxlength" id="maxlength" value="250" class="biz-input-xs"></td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td>自定义表单HTML:</td> | |||||
<td>自定义表单HTML模板中用~name~表示提示文字,~form~表示表单元素</td> | |||||
<td>自定义网页表单:</td> | |||||
<td>自定义网页表单模板中用~name~表示提示文字,~form~表示表单元素</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td align="center"></td> | <td align="center"></td> | ||||
@@ -126,8 +126,8 @@ | |||||
<option value="text">单行文本(varchar)</option> | <option value="text">单行文本(varchar)</option> | ||||
<option value="textchar">单行文本(char)</option> | <option value="textchar">单行文本(char)</option> | ||||
<option value="multitext">多行文本</option> | <option value="multitext">多行文本</option> | ||||
<option value="htmltext">HTML文本</option> | |||||
<option value="textdata">文本保存HTML数据</option> | |||||
<option value="htmltext">网页文本</option> | |||||
<option value="textdata">文本保存网页数据</option> | |||||
<option value="int">整数类型</option> | <option value="int">整数类型</option> | ||||
<option value="float">小数类型</option> | <option value="float">小数类型</option> | ||||
<option value="datetime">时间类型</option> | <option value="datetime">时间类型</option> | ||||
@@ -163,7 +163,7 @@ | |||||
} | } | ||||
?> | ?> | ||||
</select> | </select> | ||||
<label><input type="checkbox" name="relation_automake" id="relation_automake" value="1" <?php echo $ctag->GetAtt('automake')==1? "checked" : "";?>> 发布时候自动更新关联内容HTML</label> | |||||
<label><input type="checkbox" name="relation_automake" id="relation_automake" value="1" <?php echo $ctag->GetAtt('automake')==1? "checked" : "";?>> 发布时候自动更新关联网页内容</label> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -186,8 +186,8 @@ | |||||
<td><input type="text" name="maxlength" id="maxlength" value="<?php echo $ctag->GetAtt('maxlength')?>" class="biz-input-xs"></td> | <td><input type="text" name="maxlength" id="maxlength" value="<?php echo $ctag->GetAtt('maxlength')?>" class="biz-input-xs"></td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td>自定义表单HTML:</td> | |||||
<td>自定义表单HTML用~name~表示提示文字,~form~表示表单元素</td> | |||||
<td>自定义网页表单:</td> | |||||
<td>自定义网页表单用~name~表示提示文字,~form~表示表单元素</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td align="center"><br> </td> | <td align="center"><br> </td> | ||||
@@ -110,7 +110,7 @@ | |||||
<td class="biz-td"> | <td class="biz-td"> | ||||
<table cellspacing="0" cellpadding="0"> | <table cellspacing="0" cellpadding="0"> | ||||
<tr> | <tr> | ||||
<td width="90">Tag标签:</td> | |||||
<td width="90">标签:</td> | |||||
<td><input type="text" name="tags" id="tags" value="" onChange="$Obj('keywords').value=this.value;" class="biz-input-md">(英文逗号分开,如“天涯,叙述”)</td> | <td><input type="text" name="tags" id="tags" value="" onChange="$Obj('keywords').value=this.value;" class="biz-input-md">(英文逗号分开,如“天涯,叙述”)</td> | ||||
<td width="60">权重:</td> | <td width="60">权重:</td> | ||||
<td><input type="text" name="weight" id="weight" value="<?php echo $maxWright['cc'];?>" class="biz-input-sm">(越小越靠前)</td> | <td><input type="text" name="weight" id="weight" value="<?php echo $maxWright['cc'];?>" class="biz-input-sm">(越小越靠前)</td> | ||||
@@ -109,7 +109,7 @@ | |||||
<td class="biz-td"> | <td class="biz-td"> | ||||
<table cellspacing="0" cellpadding="0"> | <table cellspacing="0" cellpadding="0"> | ||||
<tr> | <tr> | ||||
<td width="90">Tag标签:</td> | |||||
<td width="90">标签:</td> | |||||
<td><input type="text" name="tags" id="tags" value="<?php echo $tags;?>" class="biz-input-md">(英文逗号分开,如“天涯,叙述”)</td> | <td><input type="text" name="tags" id="tags" value="<?php echo $tags;?>" class="biz-input-md">(英文逗号分开,如“天涯,叙述”)</td> | ||||
<td width="60">权重:</td> | <td width="60">权重:</td> | ||||
<td><input type="text" name="weight" id="weight" value="<?php echo $arcRow['weight'];?>" class="biz-input-sm">(越小越靠前)</td> | <td><input type="text" name="weight" id="weight" value="<?php echo $arcRow['weight'];?>" class="biz-input-sm">(越小越靠前)</td> | ||||
@@ -147,7 +147,7 @@ if (!function_exists('GetIndexKey')) { | |||||
* @param string $arcrank 权限值 | * @param string $arcrank 权限值 | ||||
* @param int $typeid 栏目id | * @param int $typeid 栏目id | ||||
* @param int $sortrank 排序id | * @param int $sortrank 排序id | ||||
* @param string $tags tag标签 | |||||
* @param string $tags 标签 | |||||
* @return string | * @return string | ||||
*/ | */ | ||||
if (!function_exists('UpIndexKey')) { | if (!function_exists('UpIndexKey')) { | ||||
@@ -187,7 +187,7 @@ if (!function_exists('UpIndexKey')) { | |||||
* 插入Tags | * 插入Tags | ||||
* | * | ||||
* @access public | * @access public | ||||
* @param string $tag tag标签 | |||||
* @param string $tag 标签 | |||||
* @param int $aid 文档AID | * @param int $aid 文档AID | ||||
* @return void | * @return void | ||||
*/ | */ | ||||
@@ -24,7 +24,7 @@ | |||||
<nav aria-label="breadcrumb"> | <nav aria-label="breadcrumb"> | ||||
<ol class="breadcrumb"> | <ol class="breadcrumb"> | ||||
<li class="breadcrumb-item">当前位置</li> | <li class="breadcrumb-item">当前位置</li> | ||||
<li class="breadcrumb-item">TAG标签</li> | |||||
<li class="breadcrumb-item">标签页</li> | |||||
</ol> | </ol> | ||||
</nav> | </nav> | ||||
</div> | </div> | ||||
@@ -259,7 +259,7 @@ function MakeArt($aid, $ismakesign = FALSE) | |||||
return $reurl; | return $reurl; | ||||
} | } | ||||
/** | /** | ||||
* 处理HTML文本、自动摘要、自动获取缩略图等 | |||||
* 处理网页文本、自动摘要、自动获取缩略图等 | |||||
* | * | ||||
* @access public | * @access public | ||||
* @param string $body 文档内容 | * @param string $body 文档内容 | ||||
@@ -80,7 +80,7 @@ else if ($dopost == 'save') { | |||||
if (!isset(${$vs[0]})) { | if (!isset(${$vs[0]})) { | ||||
${$vs[0]} = ''; | ${$vs[0]} = ''; | ||||
} else if ($vs[1] == 'htmltext' || $vs[1] == 'textdata') | } else if ($vs[1] == 'htmltext' || $vs[1] == 'textdata') | ||||
//HTML文本特殊处理 | |||||
//网页文本特殊处理 | |||||
{ | { | ||||
${$vs[0]} = AnalyseHtmlBody(${$vs[0]}, $description, $litpic, $keywords, $vs[1]); | ${$vs[0]} = AnalyseHtmlBody(${$vs[0]}, $description, $litpic, $keywords, $vs[1]); | ||||
} else { | } else { | ||||
@@ -110,7 +110,7 @@ else if ($dopost == 'save') { | |||||
continue; | continue; | ||||
} | } | ||||
$vs = explode(',', $v); | $vs = explode(',', $v); | ||||
//HTML文本特殊处理 | |||||
//网页文本特殊处理 | |||||
if ($vs[1] == 'htmltext' || $vs[1] == 'textdata') { | if ($vs[1] == 'htmltext' || $vs[1] == 'textdata') { | ||||
${$vs[0]} = AnalyseHtmlBody(${$vs[0]}, $description, $litpic, $keywords, $vs[1]); | ${$vs[0]} = AnalyseHtmlBody(${$vs[0]}, $description, $litpic, $keywords, $vs[1]); | ||||
} else { | } else { | ||||
@@ -33,7 +33,7 @@ | |||||
<div class="col-sm-10"><input name="title" type="text" id="title" class="form-control" placeholder="请输入标题"></div> | <div class="col-sm-10"><input name="title" type="text" id="title" class="form-control" placeholder="请输入标题"></div> | ||||
</div> | </div> | ||||
<div class="form-group row"> | <div class="form-group row"> | ||||
<label class="col-sm-2 col-form-label">Tag标签</label> | |||||
<label class="col-sm-2 col-form-label">标签</label> | |||||
<div class="col-sm-10"><input name="tags" type="text" id="tags" class="form-control"></div> | <div class="col-sm-10"><input name="tags" type="text" id="tags" class="form-control"></div> | ||||
</div> | </div> | ||||
<div class="form-group row"> | <div class="form-group row"> | ||||
@@ -37,7 +37,7 @@ | |||||
<div class="col-sm-10"><input name="title" type="text" id="title" value="<?php echo $row['title']?>" class="form-control" placeholder="请输入标题"></div> | <div class="col-sm-10"><input name="title" type="text" id="title" value="<?php echo $row['title']?>" class="form-control" placeholder="请输入标题"></div> | ||||
</div> | </div> | ||||
<div class="form-group row"> | <div class="form-group row"> | ||||
<label class="col-sm-2 col-form-label">Tag标签</label> | |||||
<label class="col-sm-2 col-form-label">标签</label> | |||||
<div class="col-sm-10"><input name="tags" type="text" id="tags" value="<?php echo GetTags($row['id']);?>" class="form-control"></div> | <div class="col-sm-10"><input name="tags" type="text" id="tags" value="<?php echo GetTags($row['id']);?>" class="form-control"></div> | ||||
</div> | </div> | ||||
<div class="form-group row"> | <div class="form-group row"> | ||||
@@ -31,7 +31,7 @@ | |||||
<div class="col-sm-10"><input name="title" type="text" id="title" class="form-control" placeholder="请输入标题"></div> | <div class="col-sm-10"><input name="title" type="text" id="title" class="form-control" placeholder="请输入标题"></div> | ||||
</div> | </div> | ||||
<div class="form-group row"> | <div class="form-group row"> | ||||
<label class="col-sm-2 col-form-label">Tag标签</label> | |||||
<label class="col-sm-2 col-form-label">标签</label> | |||||
<div class="col-sm-10"><input name="tags" type="text" id="tags" class="form-control"></div> | <div class="col-sm-10"><input name="tags" type="text" id="tags" class="form-control"></div> | ||||
</div> | </div> | ||||
<div class="form-group row"> | <div class="form-group row"> | ||||
@@ -31,7 +31,7 @@ | |||||
<div class="col-sm-10"><input name="title" type="text" id="title" value="<?php echo $row['title']?>" class="form-control" placeholder="请输入标题"></div> | <div class="col-sm-10"><input name="title" type="text" id="title" value="<?php echo $row['title']?>" class="form-control" placeholder="请输入标题"></div> | ||||
</div> | </div> | ||||
<div class="form-group row"> | <div class="form-group row"> | ||||
<label class="col-sm-2 col-form-label">Tag标签</label> | |||||
<label class="col-sm-2 col-form-label">标签</label> | |||||
<div class="col-sm-10"><input name="tags" type="text" id="tags" value="<?php echo $row['keywords'];?>" class="form-control"></div> | <div class="col-sm-10"><input name="tags" type="text" id="tags" value="<?php echo $row['keywords'];?>" class="form-control"></div> | ||||
</div> | </div> | ||||
<div class="form-group row"> | <div class="form-group row"> | ||||
@@ -31,7 +31,7 @@ | |||||
<div class="col-sm-10"><input name="title" type="text" id="title" class="form-control" placeholder="请输入标题"></div> | <div class="col-sm-10"><input name="title" type="text" id="title" class="form-control" placeholder="请输入标题"></div> | ||||
</div> | </div> | ||||
<div class="form-group row"> | <div class="form-group row"> | ||||
<label class="col-sm-2 col-form-label">Tag标签</label> | |||||
<label class="col-sm-2 col-form-label">标签</label> | |||||
<div class="col-sm-10"><input name="tags" type="text" id="tags" class="form-control"></div> | <div class="col-sm-10"><input name="tags" type="text" id="tags" class="form-control"></div> | ||||
</div> | </div> | ||||
<div class="form-group row"> | <div class="form-group row"> | ||||
@@ -31,7 +31,7 @@ | |||||
<div class="col-sm-10"><input name="title" type="text" id="title" class="form-control" placeholder="请输入标题"></div> | <div class="col-sm-10"><input name="title" type="text" id="title" class="form-control" placeholder="请输入标题"></div> | ||||
</div> | </div> | ||||
<div class="form-group row"> | <div class="form-group row"> | ||||
<label class="col-sm-2 col-form-label">Tag标签</label> | |||||
<label class="col-sm-2 col-form-label">标签</label> | |||||
<div class="col-sm-10"><input name="tags" type="text" id="tags" class="form-control"></div> | <div class="col-sm-10"><input name="tags" type="text" id="tags" class="form-control"></div> | ||||
</div> | </div> | ||||
<div class="form-group row"> | <div class="form-group row"> | ||||
@@ -35,7 +35,7 @@ | |||||
<div class="col-sm-10"><input name="title" type="text" id="title" class="form-control" value="<?php echo $row['title']?>" placeholder="请输入标题"></div> | <div class="col-sm-10"><input name="title" type="text" id="title" class="form-control" value="<?php echo $row['title']?>" placeholder="请输入标题"></div> | ||||
</div> | </div> | ||||
<div class="form-group row"> | <div class="form-group row"> | ||||
<label class="col-sm-2 col-form-label">Tag标签</label> | |||||
<label class="col-sm-2 col-form-label">标签</label> | |||||
<div class="col-sm-10"><input name="tags" type="text" id="tags" class="form-control" value="<?php echo $row['keywords'];?>" /></div> | <div class="col-sm-10"><input name="tags" type="text" id="tags" class="form-control" value="<?php echo $row['keywords'];?>" /></div> | ||||
</div> | </div> | ||||
<div class="form-group row"> | <div class="form-group row"> | ||||
@@ -53,7 +53,7 @@ | |||||
<div class="col-sm-10"><input name="title" type="text" id="title" class="form-control" placeholder="请输入标题"></div> | <div class="col-sm-10"><input name="title" type="text" id="title" class="form-control" placeholder="请输入标题"></div> | ||||
</div> | </div> | ||||
<div class="form-group row"> | <div class="form-group row"> | ||||
<label class="col-sm-2 col-form-label">Tag标签</label> | |||||
<label class="col-sm-2 col-form-label">标签</label> | |||||
<div class="col-sm-10"><input name="tags" type="text" id="tags" class="form-control"></div> | <div class="col-sm-10"><input name="tags" type="text" id="tags" class="form-control"></div> | ||||
</div> | </div> | ||||
<div class="form-group row"> | <div class="form-group row"> | ||||
@@ -56,7 +56,7 @@ | |||||
<div class="col-sm-10"><input name="title" type="text" id="title" value="<?php echo $row['title']?>" class="form-control" placeholder="请输入标题"></div> | <div class="col-sm-10"><input name="title" type="text" id="title" value="<?php echo $row['title']?>" class="form-control" placeholder="请输入标题"></div> | ||||
</div> | </div> | ||||
<div class="form-group row"> | <div class="form-group row"> | ||||
<label class="col-sm-2 col-form-label">Tag标签</label> | |||||
<label class="col-sm-2 col-form-label">标签</label> | |||||
<div class="col-sm-10"><input name="tags" type="text" value="<?php echo GetTags($row['id']);?>" id="tags" class="form-control"></div> | <div class="col-sm-10"><input name="tags" type="text" value="<?php echo GetTags($row['id']);?>" id="tags" class="form-control"></div> | ||||
</div> | </div> | ||||
<div class="form-group row"> | <div class="form-group row"> | ||||