//------------------------------------------------------------------------------
// <copyright company="Telligent Systems">
//     Copyright (c) Telligent Systems Corporation.  All rights reserved.
// </copyright> 
//------------------------------------------------------------------------------

using System;
using System.Web;
using System.Web.UI;
using CommunityServer.Components;

namespace CommunityServer.ControlPanel.Controls
{

	// *********************************************************************
	//  HelpIcon
	//
	/// <summary>
	/// Renders text with a DHTML MouseOver tooltip
	/// </summary>
	// ********************************************************************/ 
	public class HelpIcon : CommunityServer.Controls.HelpIcon 
	{

		protected override string GetResourceString()
		{
			if (Globals.IsNullorEmpty(_resourceFile))
				return CommunityServer.ControlPanel.Components.ResourceManager.GetString(_resourceName);
			else
				return CommunityServer.Components.ResourceManager.GetString(_resourceName, _resourceFile);
		}

	}
}
