public string GenerateCategoryTagSlug(string TheSlug, string Mode)
{
try {
TheSlug = CMSConfigHelper.DecodeBase64(TheSlug).ToLowerInvariant().Trim();
return ContentPageHelper.ScrubSlug(TheSlug);
} catch (Exception ex) {
SiteData.WriteDebugException("webservice", ex);
return "FAIL";
}
}