bm_user_contributions db user_id purposeWhat it does:
For site admin only, returns statistics and a link to a details pageDefined in: /web/philip/tcl/bookmarks-defs.tcl
Source code:
if { $purpose != "site_admin" } { return [list] } set n_total [database_to_tcl_string $db "select count(*) as n_total from bm_list where owner_id = $user_id"] if { $n_total == 0 } { return [list] } else { return [list 0 "Bookmarks" "<ul><li><a href=\"/admin/bookmarks/index?owner_id=$user_id\">$n_total bookmarks</a></ul>\n"] }