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

using System.Web;
using CommunityServer.Controls;
using CommunityServer.Galleries.Components;

namespace CommunityServer.ControlPanel.Photos
{
	/// <summary>
	/// Summary description for SkinTabValidator.
	/// </summary>
	public class SkinTabValidator : IMenuItem
	{
		public bool IsValid(HttpContext context)
		{
			return GalleryConfiguration.Instance().EnableThemes;
		}
	}
}
