PDA

View Full Version : PM quota bar question


slobra
02-23-2010, 03:55 PM
Hello,

I have a question regarding the PM quota bar. I was going to remove the code that shows the total in the current folder, which I thought was this:

<if condition="$show['thisfoldertotal']"><td width="$tdwidth[folder]" style="background-color:#FF0000; font-size:10px" title="<phrase 1="$totalmessages">$vbphrase[messages_stored_in_folder_x]</phrase>">&nbsp;</td></if>


But when I remove that, the total in all folders doesn't display the bar the same length as the "total in this folder" + the "total in all folders", or this code (original):

<if condition="$show['thisfoldertotal']"><td width="$tdwidth[folder]" style="background-color:#FF0000; font-size:10px" title="<phrase 1="$totalmessages">$vbphrase[messages_stored_in_folder_x]</phrase>">&nbsp;</td></if>

<if condition="$show['allfolderstotal']"><td width="$tdwidth[total]" style="background-color:#FF0000; font-size:10px" title="<phrase 1="$bbuserinfo[pmtotal]">$vbphrase[total_messages_in_all_folders_x]</phrase>">&nbsp;</td></if>


This is what shows currently (this folder total, total in all folders, remaining space):

http://keithstarr.dreamhosters.com/images/thisfolderandtotal.jpg

This is what I want to show (total in all folders, remaining space):

http://keithstarr.dreamhosters.com/images/totalonly.jpg

Why is the "total in all folders" a different length than the current folder+total?

One thing I noticed is if I create a custom folder, for example "saved," then view its contents (0), the "total in all folders" bar is the correct length, and this is how I would like the Inbox to display, not just custom folders:

http://keithstarr.dreamhosters.com/images/saved.jpg