PEAK XOOPS - smilies in piCal in englishin japanese

smilies in piCal

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum
Previous post - Next post | Parent - Children.1 | Posted on 2003/11/12 18:17
DWiDo  一等兵   Posts: 14
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
Votes:1 Average:10.00
Previous post - Next post | Parent - No child | Posted on 2003/11/12 18:30
frenchman  一等兵   Posts: 16
Thank's. It's great!
Votes:1 Average:10.00

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!