Topic with no new replies

Euro sign and microtime()


Author Message
Written on: 13. 10. 2009 [16:54]
Barbara
Barbara Wijbenga
Topic creator
registered since: 13.10.2009
Posts: 5
I put a layer_view on my page, but all the Euro signs were "€".
To change this, I edited class.tx_fbmagento_pi1.php on line 134.

PHP
return str_replace('€','€',isset($this->conf['nowrap']) && $this->conf['nowrap'] ? $content : $this->pi_wrapInBaseClass ( $content ));


Is there a better way to do this?


Oh, and right before that line, on line 132 is
PHP
$content .= microtime();

Which put some numbers on my site, after the blocks. I removed the $content .=
Why is it there?

Greetings,
Barbara
Written on: 18. 10. 2009 [13:22]
hackwell
Jörg
registered since: 13.10.2009
Posts: 18
Hello Barbara,

your Website should be UTF-8 Encoded, than the Eurosign will be viewed correctly.
The microtime thing is just from Testing, you can remove it we will also do that.



Portal information:

At the moment there are 0 users online, thereof 0 registered users and 0 guests.
Today 0 registered users and 0 guests were already online.

Now online


TypoGento has 231 registered user, 112 topics and 184 answers. On average 0.31 posts are written per day.