﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Ipswitch Forums / Messaging / IMail Server  / Removing "Empty INBOX folder" link from toolbar - Argh! / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>Ipswitch Forums</description><link>http://forums.ipswitch.com/</link><webMaster>forums@ipswitch.com</webMaster><lastBuildDate>Mon, 01 Dec 2008 17:46:33 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Removing "Empty INBOX folder" link from toolbar - Argh!</title><link>http://forums.ipswitch.com/Topic44074-10-1.aspx</link><description>IpSwitch tech support gave me the standard answer (as seen in the linked topic above), so I had to work through this myself - found a solution using a simple snippet of js:&lt;P&gt;&lt;FONT size=2&gt;Line 82 in MsgList.aspx... change this:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;&amp;lt;td width="100%" nowrap class="outlookTitleCellwithBorder" align="right"&amp;gt;&amp;lt;b&amp;gt;&amp;lt;ipsILB:ImageLinkButton CssClass="NoUnderlineWhite" id="lnkEmptyFolder" ImageUrl="images/icn_trash_16.gif" ImageAlign="absmiddle" Text="" runat="server"&amp;gt;&amp;lt;/ipsILB:ImageLinkButton&amp;gt;&amp;lt;/b&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face=Arial size=1&gt; &lt;/FONT&gt;&lt;FONT size=2&gt;To This:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;&amp;lt;td width="100%" nowrap class="outlookTitleCellwithBorder" align="right"&amp;gt;&amp;lt;b&amp;gt;&amp;lt;ipsILB:ImageLinkButton CssClass="NoUnderlineWhite" id="lnkEmptyFolder" ImageUrl="images/icn_trash_16.gif" ImageAlign="absmiddle" Text="" runat="server"&amp;gt;&amp;lt;/ipsILB:ImageLinkButton&amp;gt;&amp;lt;/b&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;&amp;lt;script language="javascript" type="text/javascript"&amp;gt;&lt;BR&gt;     if (&amp;#100;ocument.getElementById('lnkEmptyFolder').title.indexOf('INBOX') &amp;gt; 0 ) {&amp;#100;ocument.getElementById('lnkEmptyFolder').style.display='none';}&lt;BR&gt;     &amp;lt;/script&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;&amp;lt;/td&amp;gt;&lt;/FONT&gt;</description><pubDate>Wed, 28 May 2008 14:46:05 GMT</pubDate><dc:creator>seancon</dc:creator></item><item><title>Removing "Empty INBOX folder" link from toolbar - Argh!</title><link>http://forums.ipswitch.com/Topic44074-10-1.aspx</link><description>Hi -&lt;/P&gt;&lt;P&gt;After the 3rd time accidentally clicking "Empty INBOX folder", I really want it GONE!  Yes, it is completely user error, but sometimes you're just in a hurry and aren't paying attention.&lt;/P&gt;&lt;P&gt;At any rate, there was a post on this forum regarding this:&lt;/P&gt;&lt;P&gt;&lt;A href="http://forums.ipswitch.com/Topic37566-10-1.aspx"&gt;http://forums.ipswitch.com/Topic37566-10-1.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;However, the solution is only to comment out the item with &amp;lt;-- and --&amp;gt; - this would obviously do a global comment out.  I only want to remove the link from the INBOX - it has great value on the Junk or Deleted folders.&lt;/P&gt;&lt;P&gt;So, my question - how can I remove this link programmatically?  Perhaps via some sort of XSLT call?  Perhaps via inline scripting? HELP!!!&lt;/P&gt;&lt;P&gt;Perhaps something like:&lt;/P&gt;&lt;P&gt;&amp;lt;% if (&lt;FONT color=#008000&gt;lnkEmptyFolder.Text.Contains("INBOX") { lnkEmptyFolder.Visible=false; } %&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#008000&gt;I tried something like this thinking that it might allow inline scripting, but it error out.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Any suggestions would be greatly appreciated!!!  &lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;SeanCon</description><pubDate>Fri, 23 May 2008 18:43:37 GMT</pubDate><dc:creator>seancon</dc:creator></item></channel></rss>