diff --git a/src/dede/archives_do.php b/src/dede/archives_do.php
index 7f916bc2..378f0fac 100755
--- a/src/dede/archives_do.php
+++ b/src/dede/archives_do.php
@@ -992,7 +992,7 @@ else if($dopost=='attsDlg')
while($trow = $dsql->GetObject())
{
if($trow->att=='j' || $trow->att=='p') continue;
- echo "{$trow->attname}.{$trow->att}";
+ echo "";
}
?>
diff --git a/src/dede/article_coonepage_rule.php b/src/dede/article_coonepage_rule.php
index 2c534ec9..e6e30a9e 100755
--- a/src/dede/article_coonepage_rule.php
+++ b/src/dede/article_coonepage_rule.php
@@ -82,10 +82,10 @@ else if($action == 'editload')
用作文章来源: |
- />
- 否
- />
- 是
+
+
|
diff --git a/src/dede/catalog_del.php b/src/dede/catalog_del.php
index 48706e69..70263ad0 100755
--- a/src/dede/catalog_del.php
+++ b/src/dede/catalog_del.php
@@ -37,6 +37,6 @@ $win->AddHidden('id',$id);
$win->AddHidden('dopost','ok');
$win->AddTitle("你要确实要删除栏目: [{$row['typename']}] 吗?");
$win->AddItem('栏目的文件保存目录:',$row['typedir']);
-$win->AddItem('是否删除文件:',"否 是");
+$win->AddItem('是否删除文件:'," ");
$winform = $win->GetWindow('ok');
$win->Display();
\ No newline at end of file
diff --git a/src/dede/config.php b/src/dede/config.php
index 6d0cf84a..d6f90c17 100755
--- a/src/dede/config.php
+++ b/src/dede/config.php
@@ -162,7 +162,7 @@ if(strlen($cfg_cookie_encode)<=10)
*/
function UpDateCatCache()
{
- global $dsql, $cfg_multi_site, $cache1, $cacheFile, $cuserLogin;
+ global $dsql, $cache1, $cuserLogin;
$cache2 = DEDEDATA.'/cache/channelsonlist.inc';
$cache3 = DEDEDATA.'/cache/channeltoplist.inc';
$dsql->SetQuery("SELECT id,reid,channeltype,issend,typename FROM `#@__arctype`");
@@ -214,7 +214,6 @@ function DedeInclude($filename, $isabs=FALSE)
return $isabs ? $filename : DEDEADMIN.'/'.$filename;
}
-helper('cache');
/**
* 根据用户mid获取用户名称
*
@@ -225,13 +224,11 @@ helper('cache');
if(!function_exists('GetMemberName')){
function GetMemberName($mid=0)
{
- global $dsql;
- $rs = GetCache('memberlogin', $mid);
- if( empty($rs) )
- {
- $rs = $dsql->GetOne("SELECT * FROM `#@__member` WHERE mid='{$mid}' ");
- SetCache('memberlogin', $mid, $rs, 1800);
- }
+ global $dsql;
+ if (empty($mid)) {
+ return "管理员";
+ }
+ $rs = $dsql->GetOne("SELECT * FROM `#@__member` WHERE mid='{$mid}' ");
return $rs['uname'];
}
}
diff --git a/src/dede/inc/inc_archives_all.php b/src/dede/inc/inc_archives_all.php
index 68c16f90..aed58d30 100755
--- a/src/dede/inc/inc_archives_all.php
+++ b/src/dede/inc/inc_archives_all.php
@@ -59,11 +59,11 @@ function GetFormItem($ctag)
{
if($i==0)
{
- $myformItem .= "$v\r\n";
+ $myformItem .= "\r\n";
}
else
{
- $myformItem .= "$v\r\n";
+ $myformItem .= "\r\n";
}
}
}
@@ -318,11 +318,11 @@ function GetFormItemValue($ctag, $fvalue)
{
if($fvalue==$v)
{
- $myformItem.= "$v\r\n";
+ $myformItem.= "\r\n";
}
else
{
- $myformItem.= "$v\r\n";
+ $myformItem.= "\r\n";
}
}
}
diff --git a/src/dede/sys_info.php b/src/dede/sys_info.php
index 4b086efb..d242fa89 100755
--- a/src/dede/sys_info.php
+++ b/src/dede/sys_info.php
@@ -141,8 +141,8 @@ EOT;
$c1='';
$c2 = '';
$row['value']=='Y' ? $c1=" checked" : $c2=" checked";
- echo "是 ";
- echo "否 ";
+ echo "";
+ echo "";
}else if($row['type']=='bstring')
{
echo "";