diff -r be6c5fdd9203 -r 4ccdfeee9a11 includes/template.php
--- a/includes/template.php Mon Dec 31 21:43:51 2007 -0500
+++ b/includes/template.php Thu Jan 03 00:53:33 2008 -0500
@@ -81,10 +81,6 @@
$this->style_list = $list;
}
- function template()
- {
- $this->__construct();
- }
function sidebar_widget($t, $h)
{
global $db, $session, $paths, $template, $plugins; // Common objects
@@ -1777,7 +1773,7 @@
$messages = array();
while ( $row = $db->fetchrow() )
{
- $messages[] = '' . $row['subject'] . '';
+ $messages[] = '' . $row['subject'] . '';
}
$ob .= implode(",\n " , $messages)."\n";
$ob .= ''."\n";
@@ -1810,12 +1806,14 @@
$this->tpl_bool = $template->tpl_bool;
}
/**
- * PHP 4 constructor.
+ * PHP 4 constructor. Deprecated in 1.1.x.
*/
+ /*
function templateIndividual($text)
{
$this->__construct($text);
}
+ */
/**
* Assigns an array of string values to the template. Strings can be accessed from the template by inserting {KEY_NAME} in the template file.
* @param $vars array