Location: PHPKode > projects > Enigma > Enigma2/Enigma2_Install/Blocks/Block_ShoutBox.php
<?php
/*
*****************************************************************

 Block_ShoutBox.php
 
*****************************************************************
LSP: Lunabyte Systems Portal
Open-Source Project Inspired by Zef Hemel (hide@address.com)
*****************************************************************
Software Version:                  LSP 2.0 "Enigma 2"
Software by:                         Lunabyte Systems (http://www.lunabyte.net)
Copyright 2002-2005 by:       Lunabyte Systems (http://www.lunabyte.net)
Support, News, Updates at:    http://www.lunabyte.net
*****************************************************************
This program is free software; you may redistribute it and/or modify it 
under the terms of the provided license as published by Lunabyte Systems.

This program is distributed in the hope that it is and will be useful,                  
but WITHOUT ANY WARRANTIES; without even any implied warranty of           
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.                        

See the "LSP_license.txt" file for details of the LSP license.
The latest version can always be found at http://www.lunabyte.net.
*****************************************************************
*/

if (!defined('ENIGMA'))
	die('<b>Access Violation</b><br />Direct Access to this location is not allowed.');

// This block file only calls the Shout Box Module
// There is no Block template for the Shout Box, if you want to edit any of
// the display, refer to the ShoutBox.template.php file in the modules
// template directory.

function Block_ShoutBox()
{
	global $moduledir, $txt;
	
	if (!empty($moduledir))
		ShoutBox();
	else
		return $txt['modules_disabled'];
}
?>
Return current item: Enigma