/usr/share/monodoc/web/index.aspx is in monodoc-http 2.10-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | <%@ Page Language="C#" ClassName="Mono.Website.Index" %>
<%@ Import Namespace="System.Web" %>
<%@ Import Namespace="System.Collections.Specialized" %>
<html>
<head>
<title><%=GetTitle ()%></title>
</head>
<script language="c#" runat="server">
public string GetTitle ()
{
return Global.help_tree.GetTitle (Request.QueryString ["link"]);
}
// Get the path to be shown in the content fram
string getContentFrame()
{
// Docs get shown from monodoc.ashx
string monodocUrl="monodoc.ashx";
string defaultParams="?link=root:";
NameValueCollection qStringParams=Request.QueryString;
// If no querystring params, show root link
if(!qStringParams.HasKeys())
return(monodocUrl+defaultParams);
// else, build query for the content frame
string nQueryString=monodocUrl+"?";
foreach(string key in qStringParams)
nQueryString+=(HttpUtility.UrlEncode(key)+"="+HttpUtility.UrlEncode(qStringParams[key]));
return nQueryString;
}
</script>
<frameset rows="40,*" frameborder="0" border="1">
<frame src="header.aspx" name="Header" id='header' scrolling="no" noresize="true" />
<frameset cols="20%,80%" frameborder="1" border="1">
<frame src="monodoc.ashx?tree=boot" name="Tree" />
<frame src="<% =getContentFrame() %>" name="content" />
</frameset>
</frameset>
</html>
|