On Monday 24 March 2008 09:52:35 Jesper Staun Hansen wrote:
> Was looking at the downloadsNoFmt() once again, and as its written, then
> downloads No Format shouldn't have any formating code assigned to it.
> But it instead it outputs this:
>
> <span class="download_count">16</span>
> While the expected result would be:
> 16
[snip]
> What do you fellas and girls think?

When I fixed the downloads() and downloadNoFmt() functions I took the original 
functions to be to display a download count with and without the project name 
(respectively), not that one shouldn't have any HTML wrapping.

I don't mind fixing downloadNoFmt() if there aren't any objections.  Another 
solution would be to add a downloadsCounter() function that only displays the 
counter.

It also looks like you'd like a count of all downloads; possibly for your 
entire project or perhaps for a specific directory; either of these would be 
fairly easy for us to add, we just haven't had the request yet.

-Doug

-- 
Douglas E. Warner    <[EMAIL PROTECTED]>    Site Developer
Mozdev.org           http://www.mozdev.org

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Project_owners mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/project_owners

Reply via email to