Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jun 2006
Posts: 162
M
enthusiast
enthusiast
M Offline
Joined: Jun 2006
Posts: 162
In newpost.inc.php, beginning at line 345:
PHP Code

	// If this is a gallery forum then we load the newimage.tpl file
	$template = "newpost";
 
- $template never gets used
- later in the script "template" is set to "newpost", anyway.
- the comment is a misstatement, as there is no newimage.tpl wink


##eek##
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Thanks for the info. Looks like a leftover from what I was originally going to do. Fixed for the final.


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Upgrading supporting apps (mysql, php)
by Baldeagle - 06/09/2024 8:39 AM
Questions re: forum layout and site issues
by domspeak - 06/03/2024 1:49 AM
Test
by Phun - 05/28/2024 7:31 PM
Who's Online Now
2 members (Geoff, Ruben), 483 guests, and 164 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)