PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Classifieds Bug Reports (http://www.photopost.com/forum/classifieds-bug-reports/)
-   -   Bug in edit language strings (http://www.photopost.com/forum/classifieds-bug-reports/139606-bug-edit-language-strings.html)

vengeance72 March 22nd, 2009 10:40 AM

Bug in edit language strings
 
Hi Chuck,

it seems there's a bug in the "Edit Language" part of the new Classifieds version 3.1

When you edit a string named "<font color="#CC0000">SOLD!</font>" into what ever you like, after submitting the software destroyes all the HMTL code into "&lt;font color=&quot;#CC0000&quot;&gt;SOLD!&lt;/font&gt;". It is also impossible to reconstruct the original string!

Do you have a solution for this?

Thanks in advance,
Peter

Chuck S March 22nd, 2009 10:51 AM

yeah minor issue. We need to an an un_htmlspecialchars line because to make it compatible with foreign characters they need to be encoded with htmlentities first.

try redownloading the build and reupload adm-lang.php

vengeance72 March 22nd, 2009 11:06 AM

Okay, I downloaded the new version, uploaded the adm-lang.php as you told me and the strings with the HTML-code would now be saved correct, but the HTML- code inside the string doesn't work. For example, the code <font color="#CC0000">SOLD!</font> displays exact the lines and formats not the letters "SOLD!" into a red colour.

Chuck S March 22nd, 2009 11:34 AM

Line 274 of pp-inc.php try adding this line in bold

Code:

Content visible to verified customers only.
or make line 274 this

Code:

Content visible to verified customers only.

vengeance72 March 22nd, 2009 11:42 AM

It works! Thank you so much, Chuck!!

Chuck S March 22nd, 2009 06:27 PM

Have a good evening


All times are GMT -5. The time now is 02:50 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97