diff --git a/src/system/extend.func.php b/src/system/extend.func.php index ff7b2c03..b9521bda 100755 --- a/src/system/extend.func.php +++ b/src/system/extend.func.php @@ -61,14 +61,17 @@ function obtainalt($newalt) global $dsql, $id, $aid; $myid = isset($id) ? $id : $aid; $row = $dsql->GetOne("SELECT title FROM `#@__archives` WHERE id='$myid'"); - //图片注释自动为标题 - $newalt = str_ireplace(array('alt=""', 'alt=\'\'', 'title=""', 'title=\'\''), "", $newalt); - $newalt = str_ireplace("