Changeset 36
- Timestamp:
- 02/18/05 11:34:59
- Files:
-
- trunk/plugins/dnsbl/mt-dnsbl.cgi (modified) (2 diffs)
- trunk/plugins/dnsbl/tmpl/dnsbl.tmpl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/plugins/dnsbl/mt-dnsbl.cgi
r35 r36 229 229 } 230 230 231 $app->add_breadcrumb('Test Results'); 231 232 $app->show_form( test_ip => $orig_ip, test_results => \@log ); 232 233 } … … 259 260 my $app = shift; 260 261 my($file, $param) = @_; 262 $param->{sql} = 1 unless ref(MT::Object->driver) eq 'MT::ObjectDriver::DBM'; 261 263 $app->SUPER::build_page($file, $param); 262 264 } trunk/plugins/dnsbl/tmpl/dnsbl.tmpl
r34 r36 15 15 </script> 16 16 17 <TMPL_UNLESS TEST_IP> 18 17 19 <TMPL_IF NAME=MESSAGE> 18 20 <p class="message"><TMPL_VAR NAME=MESSAGE></p> 19 21 </TMPL_IF> 20 22 21 <p>The DNS Blacklist plugin allows you block comments and TrackBack pings from open proxies. The plugin checks the IP address of each submitted comment against your choice of IP blacklists of known open proxies.</p> 23 <p> 24 The DNS Blacklist plugin allows you block comments and TrackBack pings 25 from open proxies. The plugin checks the IP address of each submitted 26 comment against your choice of IP blacklists of known open proxies. 27 </p> 22 28 23 29 … … 38 44 <input type="checkbox" name="allow_urlless" value="1" <TMPL_IF NAME=ALLOW_URLLESS>checked="checked"</TMPL_IF> /> Only filter comments with hyperlinks (approves comments with no discernable URL).<br /> 39 45 46 <TMPL_IF SQL> 40 47 <input type="checkbox" name="allow_priorurls" value="1" <TMPL_IF NAME=ALLOW_PRIORURLS>checked="checked"</TMPL_IF> /> Allow comments whose URL matches a previously approved commenter URL (only takes effect if no URLs are present in comment body).<br /> 41 48 49 </TMPL_IF> 42 50 <input type="checkbox" name="pingip_check" value="1" <TMPL_IF NAME=PINGIP_CHECK>checked="checked"</TMPL_IF> /> Block TrackBack pings whose IP does not match the IP address for the source URL. 43 51 … … 121 129 </form> 122 130 131 </TMPL_UNLESS> 123 132 124 133 <form method="post"> … … 150 159 </form> 151 160 152 153 161 </div> 154 162
