Zbiór zmian 895 dla branches/Emisje/eCard/eCardMVC/Platnosci/Helpers/helper.cs
- Data:
- 2009-11-24 12:21:39 (16 years ago)
- Lokalizacja:
- branches/Emisje
- Pliki:
-
- 2 zmodyfikowane
-
. (zmodyfikowane) (1 prop)
-
eCard/eCardMVC/Platnosci/Helpers/helper.cs (zmodyfikowane) (3 diffs)
Legenda:
- Bez zmian
- Dodane
- Usunięte
-
branches/Emisje
- Property svn:mergeinfo
-
old new 1 /branches/Abonament:701-884 1 2 /branches/AutoShopper:815-818 2 3 /branches/ReklamaReorganizacja:568-731 3 4 /tags/BazaReklam_1.1.28:831 4 /trunk:774-8 685 /trunk:774-893
-
- Property svn:mergeinfo
-
branches/Emisje/eCard/eCardMVC/Platnosci/Helpers/helper.cs
r867 r895 29 29 30 30 RouteValueDictionary tab = new RouteValueDictionary(); 31 string id = htmlHelper.ViewContext.RouteData.Values["id"].ToString(); 31 32 string id = ""; 33 if (htmlHelper.ViewContext.RouteData.Values["id"] != null) id = htmlHelper.ViewContext.RouteData.Values["id"].ToString(); 32 34 tab.Add("language", alt); 33 tab.Add("id", id);35 if (id != null) tab.Add("id", id); 34 36 35 37 string url = urlHelper.Action(action, controller, tab); … … 38 40 for (int i = 0; i < param.Length; i++ ) 39 41 { 40 if (i == 0 ) url += "?" + param[i];42 if (i == 0 ) url += "?" + param[i]; 41 43 else url += "&" + param[i]; 42 44 } … … 124 126 string url = urlHelper.FileUrl("logo.gif"); 125 127 string logotag = helper.ImageTag(url, "logo"); 126 string labeltag = ""; 127 128 128 129 TagBuilder tb = new TagBuilder("td"); 129 130 tb.Attributes.Add("class", tdClass); 130 131 if (tdRowspan != "") tb.Attributes.Add("rowspan", tdRowspan); 131 132 132 133 if (ConfigurationManager.AppSettings["Css"] == "admoto") 133 { 134 TagBuilder lab = new TagBuilder("asp:Label"); 135 lab.Attributes.Add("ID", "Label1"); 136 lab.Attributes.Add("runat", "server"); 137 string txt = HttpContext.GetGlobalResourceObject("tlumaczenia", "tytul").ToString(); 138 lab.Attributes.Add("Text", txt); 139 labeltag = lab.ToString(); 134 { 135 logotag += HttpContext.GetGlobalResourceObject("tlumaczenia", "tytul").ToString(); 140 136 } 141 tb.InnerHtml = logotag + labeltag; 137 138 tb.InnerHtml = logotag; 142 139 return tb.ToString(); 143 140 }
