*
* Replace the word template everywhere with a name for your backend.
*
- * @copyright © 2003-2006 The SquirrelMail Project Team
+ * @copyright 2003-2017 The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package plugins
*/
function cpw_template_init()
{
- global $color;
+ global $oTemplate;
// plugin is not configured. Handle error gracefully.
- error_box(_("No valid backend defined."),$color);
+ error_box(_("No valid backend defined."));
// close html and stop script execution
- echo "</body></html>\n";
+ $oTemplate->display('footer.tpl');
exit();
}