The only thing I can think of would be to search for "$html->link(" in
all of your view files. But you would still need to do the
replacements manually. If you're using linux, you can do this to
locate which files require changing:
find . | xargs grep '$html->link(' -sl
That will print a list of files containing the string.
Personally, I think the param should be false by default. I guess you
could change it in the HtmlHelper class but that probably wouldn't be
such a good idea.
On Sat, Jan 24, 2009 at 5:03 AM, Rimoe <[email protected]> wrote:
> Thanks,
> it's the reason.
> but the truth is I must change my params for every link and the
> $form->input(select).
> Do you have a good way to let it automated changed?
> Thanks.
> 2009/1/24 brian <[email protected]>
>>
>> Are you using HtmlHelper? You probably need to tell it not to escape your
>> text:
>>
>> echo $html->link(
>> 'shiftjis code',
>> array('controller' => '...', 'action' => '...'),
>> array('title' => '...'),
>> false,
>> false // <-- this param
>> );
>>
>> See "escapeTitle" param:
>>
>> http://api.cakephp.org/class_html_helper.html#71ff7f331b08318bc867a4d9057b7d9f
>>
>>
>> On Sat, Jan 24, 2009 at 2:50 AM, Rimoe <[email protected]> wrote:
>> > hi,
>> > everyone.
>> > Do you have this question?
>> > my html can't be show very good.
>> > for example.
>> > <a href='link'>shiftjis code</a>
>> > when in my mobile browser, It has been shown like this: shiftjis
>> > code/a>,this kind of link.
>> > If you know why is it, please tell me, thank you.
>> > rimoe
>> >
>> > >
>> >
>>
>>
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---