<?php
  /**************************************************************************\
  * phpGroupWare - Polls                                                     *
  * http://www.phpgroupware.org                                              *
  * --------------------------------------------                             *
  *  This program is free software; you can redistribute it and/or modify it *
  *  under the terms of the GNU General Public License as published by the   *
  *  Free Software Foundation; either version 2 of the License, or (at your  *
  *  option) any later version.                                              *
  \**************************************************************************/

  /* $Id: hook_mainscreen.inc.php,v 1.3 2001/05/13 16:24:14 milosch Exp $ */

	if (! $inindex)
	{
		if (! $phpgw_info['user']['preferences']['polls']['show_on_mainscreen'])
		{
			return False;
		}
	}

	display_poll();  
?>
