When looping through the global template vars, it was calling add_template_file() instead of add_template_var().  Kinda silly.  :) 
When looping through the global template vars, it was calling
add_template_file() instead of add_template_var().  Kinda silly.  :) 

FIXES ISSUES:
issue #1539788 (on sf.net)  
issue #1540347 (on sf.net)


/genericPageClass.php:
	* initialize_locals():
		-- fix for issue #1539788 (on sf.net): changed a call from
		add_template_file() to add_template_var() when looping thorugh global
		templateVars.
		-- passing "1" to Session{}, instead of $this->db (unused).	
	* add_content() (DELETED):
		-- no longer used.
	* print_page():
		-- removed two extra dealings with templateFiles that are unneeded.
		-- removed a commented-out bit of debug information.
		-- removed a call to $this->db, as that member doesn't exist.

crazedsanity/cs-content,crazedsanity/cs-content