Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Utorok, 24. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  'escape'=>'false' problem

phpMyEdit Configuration     'escape'=>'false' problem
Odoslať novú tému   Odpovedať na tému    
 
R.E     Založený: 05.04.2004   Príspevky: 2  
Príspevok Zaslal: 2004-04-05 14:55
Návrat hore  Odpovedať s citátom     

I've this code:

Kód:
$opts['fdd']['image'] = array(
  'name'     => 'Image*',
'sql|LFVD' =>'if((image not like "http://%") and (image not like "image%"),concat("<a href=\"url",image,"\">View Image</a>"),"")',
   'escape' => 'false',
  'select'   => 'T',
'help' => 'text ',
  'maxlen'   => 16777215,
  'textarea' => array(
    'rows' => 5,
    'cols' => 50),
  'sort'     => true
);


As i want the result to show up as a clickable url in the main page and not interfere with the edit page is there a way?

As for the moment it shows only the url as text with the htmlspecialchars, it is not a clickable link.
the escape = false doesn't change anything for me

Thanks for any help.

 
michal     Založený: 17.06.2003   Príspevky: 537   Bydlisko: Slovakia
Príspevok Zaslal: 2004-04-05 21:14
Návrat hore  Odpovedať s citátom     

there has been a change in 'escape' implementation after 5.4 release, in revision 1.126.

check fresh CVS version

 
R.E     Založený: 05.04.2004   Príspevky: 2  
Príspevok Zaslal: 2004-04-05 22:24
Návrat hore  Odpovedať s citátom     

michal Napísal:
there has been a change in 'escape' implementation after 5.4 release, in revision 1.126.

check fresh CVS version


Thanks Michal for the reply but i can't find revision 1.126.
The clearest answer would be an example"what to use instead", thanks (i'm using the latest csv version)

Thanks

 
michal     Založený: 17.06.2003   Príspevky: 537   Bydlisko: Slovakia
Príspevok Zaslal: 2004-04-05 22:41
Návrat hore  Odpovedať s citátom     

well, i am not familiar with escaping. i would recomend php/output_function (bug 127) :-)

see http://opensource.platon.sk/forum/projects/viewtopic.php?t=250 , should help....

 
nepto     Založený: 06.01.2003   Príspevky: 320   Bydlisko: Phoenix, Arizona (USA)
Príspevok Zaslal: 2004-04-06 11:44
Návrat hore  Odpovedať s citátom     

Please use 'escape' => false not 'escape' => 'false' .

_________________
Ondrej Jombik (Nepto)
Visit my homepage , review my recent CV or projects and give me some feedback .
 
Odoslať novú tému   Odpovedať na tému    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov