PEAK XOOPS - Re: backend.php & EMLH & string cut description 125byte in englishin japanese

Re: backend.php & EMLH & string cut description 125byte

List posts in the topic

question Re: backend.php & EMLH & string cut description 125byte

msg# 1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.2.1.1.1.1.1.1.1
depth:
25
Previous post - Next post | Parent - Children.1 | Posted on 2005/4/21 13:56
domifara  一等兵   Posts: 19
Quote:
FutureSpy wrote:

Let me try to explain better. For some reason, the line with "hometext" is causing a blank page. But if I comment it out, then it works fine again. Is it really important?

domifaraさん、ご返答ありがとうございます。
もっと詳しく説明してみます。原因は分からないんですが、「hometext」があるこの一行目で真っ白なページが出ているんです。でも、コメントすると、正常に動作します。本当に必要なんですか?
please
もう一度
you look sooce of before my pots.

//HACK for each lang $description 125 byte strings hack by domifara 2005/4/18 
//$article = $article->hometext();
if (function_exists('easiestml') && isset($easiestml_lang)) {
$article = easiestml($article);
}
$article = preg_replace("/\[.*?\]/","",$article);//strip tags by Yuji
$article = xoops_substr($article, 0 ,124+4);

it's wrong ..point
$article = $article->hometext();
you d'ont recive $article.
$article is class object?. ??not class

これは、何のソースですか?
backend.phpではないと思う。

to
            //HACK for each lang $description 125 byte strings hack by domifara 2005/4/18 
            $description = $story->hometext(); 
            if (function_exists('easiestml') && isset($easiestml_lang)) { 
                $description = easiestml($description); 
            } 
            $description = xoops_substr($description , 0 ,125) ; 
and
for diaplay output
'description' => xoops_utf8_encode(htmlspecialchars($description, ENT_QUOTES)) 

my memo site

Votes:0 Average:0.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!