Author: kostat
Date: 2006-09-11 05:16:36 -0400 (Mon, 11 Sep 2006)
New Revision: 65216

Modified:
   trunk/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog
   trunk/mcs/class/System.Web/System.Web.UI.WebControls/Login.cs
Log:
ensure the urls are correctly resolved

Modified: trunk/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog
===================================================================
--- trunk/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog      
2006-09-11 09:12:43 UTC (rev 65215)
+++ trunk/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog      
2006-09-11 09:16:36 UTC (rev 65216)
@@ -1,3 +1,7 @@
+2006-09-11  Konstantin Triger <[EMAIL PROTECTED]>
+
+       * Login.cs: ensure the urls are correctly resolved.
+
 2006-09-10 Igor Zelmanovich <[EMAIL PROTECTED]>
 
        * TreeView.cs: corrected rendering: styles are applied correct

Modified: trunk/mcs/class/System.Web/System.Web.UI.WebControls/Login.cs
===================================================================
--- trunk/mcs/class/System.Web/System.Web.UI.WebControls/Login.cs       
2006-09-11 09:12:43 UTC (rev 65215)
+++ trunk/mcs/class/System.Web/System.Web.UI.WebControls/Login.cs       
2006-09-11 09:16:36 UTC (rev 65216)
@@ -306,7 +306,7 @@
                                        writer.RenderBeginTag 
(HtmlTextWriterTag.Td);
 
                                        if (userImg) {
-                                               writer.AddAttribute 
(HtmlTextWriterAttribute.Src, _login.CreateUserIconUrl);
+                                               writer.AddAttribute 
(HtmlTextWriterAttribute.Src, ResolveClientUrl (_login.CreateUserIconUrl));
                                                writer.AddStyleAttribute 
(HtmlTextWriterStyle.BorderWidth, "0px");
                                                if (userText)
                                                        writer.AddAttribute 
(HtmlTextWriterAttribute.Alt, _login.CreateUserText);
@@ -335,7 +335,7 @@
                                                }
 
                                                if (passImg) {
-                                                       writer.AddAttribute 
(HtmlTextWriterAttribute.Src, _login.PasswordRecoveryIconUrl);
+                                                       writer.AddAttribute 
(HtmlTextWriterAttribute.Src, ResolveClientUrl 
(_login.PasswordRecoveryIconUrl));
                                                        
writer.AddStyleAttribute (HtmlTextWriterStyle.BorderWidth, "0px");
                                                        if (passText)
                                                                
writer.AddAttribute (HtmlTextWriterAttribute.Alt, _login.PasswordRecoveryText);
@@ -365,7 +365,7 @@
                                                }
 
                                                if (helpImg) {
-                                                       writer.AddAttribute 
(HtmlTextWriterAttribute.Src, _login.HelpPageIconUrl);
+                                                       writer.AddAttribute 
(HtmlTextWriterAttribute.Src, ResolveClientUrl (_login.HelpPageIconUrl));
                                                        
writer.AddStyleAttribute (HtmlTextWriterStyle.BorderWidth, "0px");
                                                        if (helpText)
                                                                
writer.AddAttribute (HtmlTextWriterAttribute.Alt, _login.HelpPageText);

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to