View Single Post
Old March 26th, 2009, 05:58 PM   #6 (permalink)
bajabob
Member
Verified Customer
 
Join Date: May 2004
Posts: 41
Quote:
Originally Posted by Chuck S View Post
I do not see anything wrong with our code or templates.

Code:
Content visible to verified customers only.
There is no duplication of the following code in the templates nor do I see this one multiple sites running 6.21.
Hey,
I went over both the template (uploadphoto.tmpl) and the script (uploadphoto.php) file. The uploadphoto.tmpl file does look like the one you posted, so I followed that $useroptions variable that appears there, and it's set in the uploadphoto.php file:
Code:
Content visible to verified customers only.
so you can clearly see where and why the duplication occurs.
I wasn't sure which one is wrong, the template file or the php file, but
I noticed there's also an uploadphoto2.tmpl template (that seems to be used in "flash uploads" mode?) and this one seems to be correct, has only "$useroptions" without duplicate the table cells, so I edited the relevant lines in the uploadphoto.tmpl file to match the uploadphoto2.tmpl.

Note that both of those files in my system are from the latest version I downloaded (double checked, just downloaded again).
bajabob is offline   Reply With Quote