Ticket #1 (new enhancement)
Advanced referrers handler
| Reported by: | dartar | Owned by: | DarTar |
|---|---|---|---|
| Priority: | normal | Milestone: | blue-sky |
| Component: | handlers | Version: | 1.1.6.0 |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by DotMG) (diff)
Much-improved usability (as well as accessible output), and already a beta feature on this site. Relies on a number of rewritten or new core methods (such as AdvancedFormOpen and GenerateUniqueId) that also have big advantages without impacting architecture. --JW
http://wikkawiki.org/AdvancedReferrersHandler
[migrated from http://wikkawiki.org/AdminDevelopmentDiscussions]
Related comments migrated from WikkaBugs
Error on ./handlers/page/referrers_sites
(reported by DotMG) Line 46 :
- Code generates a double </a> for links.
- & in URL should be replaced by &
print("<td valign=\"top\">" . (($site != "unknown") ? "<a href=\"http://".$this->htmlspecialchars_ent($site)."\">".$this->htmlspecialchars_ent($site)."</a>" : $site) . /*"</a> ".*/($IsAdmin ? "[<a href=\"".$this->href("delete_referrer", "", "spam_site=").$this->htmlspecialchars_ent($site)."&redirect=".$this->GetMethod()."\">Blacklist</a>]" : "")."</td>");
Note: You cannot see this error by validating directly a page because W3C is not registered and it will not have the same output as you, in other words, code on line 46 won't be executed. But you can save the page on your hard disk and validate it. --DotMG