Hi GiJoe,
I have added the following in file piCal.php, then we have the smilies
Quote:
// DESCRIPTION の処理分け
if( function_exists( 'xoopsCodeTarea' ) ) {
// XOOPSのTextarea入力ボックス生成関数があればそちらを使う
//Ryuji_edit(2003-05-04)
ob_start();
$GLOBALS["description_text"] = $description;
xoopsCodeTarea("description_text",70,15);
// DWiDo edit Nov 12 2004 - display smilies
xoopsSmilies("description_text");
// DWiDo edit end
$description_textarea = ob_get_contents();
// $xoops_codes_tarea = ob_get_contents();
ob_end_clean();
//Ryuji_edit End
} else {
// XOOPS以外で使われる場合は、単なるtextareaを生成
$description_textarea = "<textarea name='description' cols='70' rows='15' wrap='soft'>$description</textarea>" ;
// DWiDo edit Nov 12 2004 - display smilies
xoopsSmilies("description");
// DWiDo edit end
}
enjoy it
DWiDo
Thank's. It's great!