diff options
Diffstat (limited to 'webdoc')
-rw-r--r-- | webdoc/Global.asax | 4 | ||||
-rw-r--r-- | webdoc/index.aspx | 13 |
2 files changed, 12 insertions, 5 deletions
diff --git a/webdoc/Global.asax b/webdoc/Global.asax index 32a73247..9540553f 100644 --- a/webdoc/Global.asax +++ b/webdoc/Global.asax @@ -11,7 +11,6 @@ public static RootTree help_tree; [ThreadStatic] static SearchableIndex search_index; public static string ua = null; -static string Plugins = null; void Application_Start () { @@ -27,9 +26,6 @@ void Application_Start () //Google analytics if we want em ua = WebConfigurationManager.AppSettings["GoogleAnalytics"]; - //grab the Plugins def value from web.config - Plugins = WebConfigurationManager.AppSettings["Plugins"]; - SettingsHandler.Settings.EnableEditing = false; } diff --git a/webdoc/index.aspx b/webdoc/index.aspx index 591c6080..995fb5a9 100644 --- a/webdoc/index.aspx +++ b/webdoc/index.aspx @@ -74,7 +74,18 @@ void Page_Load (object sender, EventArgs e) </div> <% = Plugin.GetPluginContent (Plugin.PluginContent.Footer) %> <!--include external javascript--> -<% = Global.CreateTreeBootFragment () %> <% = Plugin.GetPluginContent (Plugin.PluginContent.Javascript) %> +<script type="text/javascript"> + var tree = new PTree (); + tree.strSrcBase = 'monodoc.ashx?tree='; + tree.strActionBase = '?link='; + tree.strImagesBase = 'plugins/sidebar-plugin/dependencies/xtree/images/msdn2/'; + tree.strImageExt = '.gif'; + tree.onClickCallback = function (url) { change_page (url); }; + var content = document.getElementById ('contentList'); + var root = tree.CreateItem (null, 'Documentation List', 'root:', '', true); + content.appendChild (root); + <% = Global.CreateTreeBootFragment () %> +</script> </body> </html> |