Dotclear

Changeset 231:2d1601134679


Ignore:
Timestamp:
05/09/11 19:49:45 (13 years ago)
Author:
annso <as.tranchet@…>
Branch:
default
Message:

fix label, for and titles in antispam plugin

Location:
plugins/antispam/filters
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • plugins/antispam/filters/class.dc.filter.iplookup.php

    • Property exe set to *
    r223 r231  
    8484          '<form action="'.html::escapeURL($url).'" method="post">'. 
    8585          '<fieldset><legend>' . __('IP Lookup servers') . '</legend>'. 
    86           '<p>'.'<label for="bls">'.__('Add here a coma separated list of servers.').'</label>'. 
    87           form::textarea('bls',40,3,html::escapeHTML($bls),'maximal').'</p>'. 
    88           '<p><input type="submit" value="'.__('Save').'" />'. 
     86          '<p><label for="bls">'.__('Add here a coma separated list of servers.'). 
     87          form::textarea('bls',40,3,html::escapeHTML($bls),'maximal'). 
     88          '<input type="submit" value="'.__('Save').'" /></label></p>'. 
    8989          $this->core->formNonce().'</p>'. 
    9090          '</fieldset>'. 
  • plugins/antispam/filters/class.dc.filter.words.php

    • Property exe set to *
    r223 r231  
    156156 
    157157                    $res .= 
    158                     '<p style="'.$p_style.'"><label class="classic">'. 
    159                     form::checkbox(array('swd[]'),$rs->rule_id,false,'','',$disabled_word, 'title="'.html::escapeHTML($rs->rule_content).'"').' '. 
     158                    '<p style="'.$p_style.'"><label class="classic" for="word'.$rs->rule_id.'">'. 
     159                    form::checkbox(array('swd[]', 'word'.$rs->rule_id),$rs->rule_id,false,'','',$disabled_word).' '. 
    160160                    html::escapeHTML($rs->rule_content). 
    161161                    '</label></p>'; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map