[longomatch/redesign2: 116/140] Add default constaructor for team subcategories



commit 669c19a9de6607f153c1bb436c6c02186dfe0fa7
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Sat Apr 9 18:07:44 2011 +0200

    Add default constaructor for team subcategories

 LongoMatch/Store/SubCategory.cs |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch/Store/SubCategory.cs b/LongoMatch/Store/SubCategory.cs
index 0ee7ee5..a558c2c 100644
--- a/LongoMatch/Store/SubCategory.cs
+++ b/LongoMatch/Store/SubCategory.cs
@@ -135,6 +135,15 @@ namespace LongoMatch.Store
 	/// </summary>
 	[Serializable]
 	public class TeamSubCategory: SubCategory<Team> {
+	
+		public TeamSubCategory() {
+			Name = Catalog.GetString("Team");
+			AllowMultiple=true;
+			FastTag=true;
+			Add(Team.LOCAL);
+			Add(Team.VISITOR);
+		}
+		
 		public override string ToMarkupString(){
 			return RenderDesc(Catalog.GetString("Team selection"), "");
 		}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]