Author: miguel
Date: 2005-12-13 15:20:38 -0500 (Tue, 13 Dec 2005)
New Revision: 54316
Modified:
trunk/monodoc/engine/web/index.aspx
trunk/monodoc/engine/web/monodoc.ashx
Log:
Hide the Index for now
Modified: trunk/monodoc/engine/web/index.aspx
===================================================================
--- trunk/monodoc/engine/web/index.aspx 2005-12-13 19:57:26 UTC (rev 54315)
+++ trunk/monodoc/engine/web/index.aspx 2005-12-13 20:20:38 UTC (rev 54316)
@@ -24,8 +24,9 @@
return nQueryString;
}
</script>
+
<frameset rows="75,*" frameborder="0" border="1">
- <frame src="header.html" name="Header" id='header' scrolling="no"
noresize="true" />
+ <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" />
Modified: trunk/monodoc/engine/web/monodoc.ashx
===================================================================
--- trunk/monodoc/engine/web/monodoc.ashx 2005-12-13 19:57:26 UTC (rev
54315)
+++ trunk/monodoc/engine/web/monodoc.ashx 2005-12-13 20:20:38 UTC (rev
54316)
@@ -27,7 +27,7 @@
{
public class MonodocHandler : IHttpHandler
{
- static RootTree help_tree;
+ static Monodoc.RootTree help_tree;
static MonodocHandler ()
{
@@ -162,6 +162,12 @@
return;
}
+ if (link.StartsWith ("edit:")){
+ Console.WriteLine ("link: " + link);
+ context.Response.Redirect ("edit.aspx?" + link);
+ return;
+
+ }
if (help_tree == null)
return;
Node n;
@@ -364,7 +370,7 @@
<div id='tabs'>
<ul>
<li id='contentsTab' class='selected'><a
href='javascript:ShowContents();'>Contents</a></li>
- <li id='indexTab'><a href='javascript:ShowIndex();'>Index</a></li>
+ <li id='indexTab' style='display:none;'><a
href='javascript:ShowIndex();'>Index</a></li>
</ul>
</div>
<div id='contents' class='activeTab'>
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches