List Info

Thread: Re: Suggestion to correct downloadsNoFmt()




Re: Suggestion to correct downloadsNoFmt()
country flaguser name
United States
2008-03-24 09:01:31
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    <silfreedsilfreed.net>    Site
Developer
Mozdev.org           http://www.mozdev.org

_______________________________________________
Project_owners mailing list
Project_ownersmozdev.org
https://www.mozdev.org/mailman/listinfo/project_owners


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )