Nijcadmin

2011年6月7日 (火)に参加
4行目: 4行目:
* extensions/FCKeditor/FCKeditorSkin.body.php を上記を参考に以下のように修正
* extensions/FCKeditor/FCKeditorSkin.body.php を上記を参考に以下のように修正
<pre>
<pre>
// NIJC:
//if (isset($fp['alt']) && !empty($fp['alt']) && $fp['alt'] != "Image:" . $orginal) {
//        $ret .= "alt=\"".htmlspecialchars($fp['alt'])."\" ";
if (isset($fp['caption']) && !empty($fp['caption']) && $fp['caption'] != "Image:" . $orginal) {
if (isset($fp['caption']) && !empty($fp['caption']) && $fp['caption'] != "Image:" . $orginal) {
$ret .= "alt=\"".htmlspecialchars($fp['caption'])."\" ";
        $ret .= "alt=\"".htmlspecialchars($fp['caption'])."\" ";
}
}
</pre>
</pre>