Re: show Size Quota not percent

James A Baker <[email protected]> Thu, 30 Sep 2004 16:13:24 -0500
Newsgroups gmane.mail.sqwebmail
Message-ID <[email protected]>
On Sep 30, 2004, at 14:50, Juan Enciso CondeƱa wrote:

> Hello list.
> I would like show the size quota and not percent of quota usage.
> Is possible add another %d in this line of folders.html?
>
> [#$QUOTAUSAGE=<div align="center">Est&aacute; usando un %d%% de la 
> capacidad
> de almacenamiento.</d
> iv>#]
>

I suspect so. But you'd have to edit the source code. To insert a total 
quota value, one would have to find the line that replaces QUOTAUSAGE 
in the source and add another variable to the printf statement (at 
least I believe it's a printf statement, but I haven't checked) and 
recompile. *shrug* Done.

If I had time, I might look at the source myself and help you figure 
which variable actually holds the quota size and which line you need to 
modify to insert that value... but well... I don't. Not currently 
anyway. -- If you have any programming experience, that level of change 
should be easy enough. If not, maybe someone else here has found the 
time that I've managed to misplace. =)

Good luck either way.

-jab
smime.p7s (application/pkcs7-signature, 2.3 KB) - not displayed