Changeset 62 for trunk/uribl/templates


Ignore:
Timestamp:
02/12/16 15:45:59 (9 years ago)
Author:
Kris Deugau
Message:

/trunk/uribl

Commit accumulated tweaks and fixes from production:

  • add "use Encode;" and set the HTTP charset header to deal with non-ASCII more sanely
  • reorder mangling of request-URI components a little so we can symlink index.cgi -> uridb.cgi
  • collapse results from extract-data showing a hit on some other DNSBL into a single field rather than just treating it as "another domain" that needs to be hand-reflagged as "don't list"
  • use POST for form submissions; mainly to clean up the working URL
Location:
trunk/uribl/templates
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/uribl/templates/index.tmpl

    r27 r62  
    66<TMPL_VAR NAME=pgcomment>
    77<!-- <TMPL_VAR NAME=uridbsiteroot> -->
    8 <form action="<TMPL_VAR NAME=cgiself>">
     8<form action="<TMPL_VAR NAME=cgiself>" method="POST">
    99<input type=hidden name=page value=report>
    1010<table>
  • trunk/uribl/templates/report.tmpl

    r27 r62  
    77<TMPL_VAR NAME=pgcomment><br>
    88<a href="<TMPL_VAR NAME=uridbsiteroot>">Back</a>
    9 <form action="<TMPL_VAR NAME=cgiself>">
     9<form action="<TMPL_VAR NAME=cgiself>" method="POST">
    1010<input type=hidden name=page value="dbreport">
    1111<table border=1>
    12 <tr><td>&nbsp;</td><td colspan=4 align=center>List as:</td></tr>
    13 <tr><td>Domain</td><td>Don't list</td><td>Black</td><td>Grey</td><td>URL shortener</td><td>Comment</td></tr>
     12<tr><td colspan=2>&nbsp;</td><td colspan=4 align=center>List as:</td></tr>
     13<tr><td>Domain</td><td>Other lists</td><td>Don't list</td><td>Black</td><td>Grey</td><td>URL shortener</td><td>Comment</td></tr>
    1414<TMPL_LOOP NAME=domlist>
    1515<tr>
    1616<td><TMPL_VAR NAME=domain><input type=hidden name=dom<TMPL_VAR NAME=domindex> value="<TMPL_VAR NAME=domain>"></td>
     17<td><TMPL_VAR NAME=otherlists></td>
    1718<td align="center"><input type=radio name=dom<TMPL_VAR NAME=domindex>type value="0"></td>
    1819<td align="center"><input type=radio name=dom<TMPL_VAR NAME=domindex>type value="2" checked></td>
Note: See TracChangeset for help on using the changeset viewer.