[Pkg-mono-svn-commits] [SCM] xsp branch, master, updated. debian/2.6.5-3-42-g87885a0

Jo Shields directhex at apebox.org
Mon Mar 28 08:00:00 UTC 2011


The following commit has been merged in the master branch:
commit 99323d308732e44e40b888790e5416159ca4ba63
Author: Jo Shields <directhex at apebox.org>
Date:   Sun Mar 27 21:33:39 2011 +0100

    Remove more old cruft
    Git-Dch: Ignore

diff --git a/debian/index.aspx b/debian/index.aspx
deleted file mode 100644
index 73e9883..0000000
--- a/debian/index.aspx
+++ /dev/null
@@ -1,33 +0,0 @@
-<%@ language="C#" %>
-<%@ Import namespace="System.IO" %>
-<html>
-<head>
-<title>Welcome to Mono XSP!</title>
-</head>
-<body>
-<h1>Welcome to Mono XSP!</h1>
-<a href="http://www.mono-project.com"><img src="/samples/mono.png" alt="http://www.mono-project.com"></a>
-<p>Here are some ASP.NET examples:</p>
-<%
-DirectoryInfo dir = new DirectoryInfo (Path.GetDirectoryName (Request.PhysicalPath));
-FileInfo[] files = dir.GetFiles ();
-StringBuilder sb = new StringBuilder ();
-Hashtable styles = new Hashtable ();
-styles [".aspx"] = "background: #ffffff";
-styles [".ashx"] = "background: #00cccc";
-styles [".asmx"] = "background: #eeee00";
-for (int i=0; i < files.Length; i++) {
-	string fileName = Path.GetFileName(files[i].FullName);
-	string extension = Path.GetExtension (files[i].FullName);
-	if (styles.Contains (extension)) {
-		sb.AppendFormat ("<li><a style=\"{1}\" href=\"/samples/{0}\">{0}</a></li>\n", fileName, styles [extension]);
-	}
-}
-FileList.Text = sb.ToString ();
-%>
-<ul>
-<asp:Label id="FileList" runat="server" />
-</ul>
-<hr />
-<small>Generated: <%= DateTime.Now %></small>
-</html>

-- 
xsp



More information about the Pkg-mono-svn-commits mailing list