Revision: 133
http://svn.sourceforge.net/nmailserver/?rev=133&view=rev
Author: tmyroadctfig
Date: 2007-02-05 03:21:48 -0800 (Mon, 05 Feb 2007)
Log Message:
-----------
Some minor changes.
Modified Paths:
--------------
NMail/trunk/NMail.WebAccess/App_Code/LinkButtonListItem.cs
NMail/trunk/NMail.WebAccess/ErrorHandler.aspx
NMail/trunk/NMail.WebAccess/Global.asax
NMail/trunk/NMail.WebAccess/Login.aspx
NMail/trunk/NMail.WebAccess/Login.aspx.cs
NMail/trunk/NMail.WebAccess/Mail.aspx
Modified: NMail/trunk/NMail.WebAccess/App_Code/LinkButtonListItem.cs
===================================================================
--- NMail/trunk/NMail.WebAccess/App_Code/LinkButtonListItem.cs 2007-02-05 11:19:45 UTC (rev 132)
+++ NMail/trunk/NMail.WebAccess/App_Code/LinkButtonListItem.cs 2007-02-05 11:21:48 UTC (rev 133)
@@ -1,3 +1,20 @@
+/*
+ * Copyright 2004-2007 Luke Quinane
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
using System;
using System.Data;
using System.Configuration;
Modified: NMail/trunk/NMail.WebAccess/ErrorHandler.aspx
===================================================================
--- NMail/trunk/NMail.WebAccess/ErrorHandler.aspx 2007-02-05 11:19:45 UTC (rev 132)
+++ NMail/trunk/NMail.WebAccess/ErrorHandler.aspx 2007-02-05 11:21:48 UTC (rev 133)
@@ -21,7 +21,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
- <title>NMail Web Access - Error</title>
+ <title>NMail WebAccess - Error</title>
</head>
<body>
<form id="form1" runat="server">
Modified: NMail/trunk/NMail.WebAccess/Global.asax
===================================================================
--- NMail/trunk/NMail.WebAccess/Global.asax 2007-02-05 11:19:45 UTC (rev 132)
+++ NMail/trunk/NMail.WebAccess/Global.asax 2007-02-05 11:21:48 UTC (rev 133)
@@ -1,3 +1,20 @@
+<%--
+ * Copyright 2004-2007 Luke Quinane
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+--%>
+
<%@ Application Language="C#" %>
<%@ Import Namespace="System.Web.Configuration" %>
@@ -5,6 +22,8 @@
void Application_Start(object sender, EventArgs e)
{
+ // We need the NMail configuration to get the local store delimeter
+ // This is not ideal
Configuration c = WebConfigurationManager.OpenWebConfiguration("/NMail.WebAccess");
NMail.Configuration.NMailConfigFile.Current = c;
}
@@ -12,19 +31,16 @@
void Application_End(object sender, EventArgs e)
{
// Code that runs on application shutdown
-
}
void Application_Error(object sender, EventArgs e)
{
// Code that runs when an unhandled error occurs
-
}
void Session_Start(object sender, EventArgs e)
{
// Code that runs when a new session is started
-
}
void Session_End(object sender, EventArgs e)
@@ -33,7 +49,6 @@
// Note: The Session_End event is raised only when the sessionstate mode
// is set to InProc in the Web.config file. If session mode is set to StateServer
// or SQLServer, the event is not raised.
-
}
</script>
Modified: NMail/trunk/NMail.WebAccess/Login.aspx
===================================================================
--- NMail/trunk/NMail.WebAccess/Login.aspx 2007-02-05 11:19:45 UTC (rev 132)
+++ NMail/trunk/NMail.WebAccess/Login.aspx 2007-02-05 11:21:48 UTC (rev 133)
@@ -21,7 +21,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
- <title>NMail Login</title>
+ <title>NMail WebAccess Login</title>
</head>
<body class="LoginBody">
<form id="form1" runat="server">
Modified: NMail/trunk/NMail.WebAccess/Login.aspx.cs
===================================================================
--- NMail/trunk/NMail.WebAccess/Login.aspx.cs 2007-02-05 11:19:45 UTC (rev 132)
+++ NMail/trunk/NMail.WebAccess/Login.aspx.cs 2007-02-05 11:21:48 UTC (rev 133)
@@ -33,8 +33,6 @@
/// </summary>
public partial class Login : System.Web.UI.Page
{
- protected void Page_Load(object sender, EventArgs e) { }
-
protected void Login_Authenticate(object sender, AuthenticateEventArgs e)
{
System.Web.UI.WebControls.Login login = (System.Web.UI.WebControls.Login)this.LoginView.FindControl("Login");
@@ -49,9 +47,5 @@
Session["RAS"] = ras;
e.Authenticated = true;
}
- else
- {
- // TODO: an error message
- }
}
}
Modified: NMail/trunk/NMail.WebAccess/Mail.aspx
===================================================================
--- NMail/trunk/NMail.WebAccess/Mail.aspx 2007-02-05 11:19:45 UTC (rev 132)
+++ NMail/trunk/NMail.WebAccess/Mail.aspx 2007-02-05 11:21:48 UTC (rev 133)
@@ -29,7 +29,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
- <title>Mail</title>
+ <title>NMail WebAccess Mail</title>
</head>
<body>
<form id="form1" runat="server">
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|