Changeset 782:01efbf050a8a for plugins/antispam/filters
- Timestamp:
- 12/06/11 11:43:14 (14 years ago)
- Branch:
- formfilters
- Parents:
- 781:b509ac00bf4a (diff), 779:58c45f1b96e5 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/antispam/filters/class.dc.filter.ip.php
r780 r782 4 4 # This file is part of Antispam, a plugin for Dotclear 2. 5 5 # 6 # Copyright (c) 2003-201 0Olivier Meunier & Association Dotclear6 # Copyright (c) 2003-2011 Olivier Meunier & Association Dotclear 7 7 # Licensed under the GPL version 2.0 license. 8 8 # See LICENSE file or … … 123 123 '<div class="multi-part" id="tab_'.$type.'" title="'.$title.'">'. 124 124 125 '<form action="'.html::escapeURL($url).'" method="post">'. 126 '<fieldset><legend>'.__('Add an IP address').'</legend><p>'. 125 '<form action="'.html::escapeURL($url).'" method="post" class="fieldset">'. 127 126 form::hidden(array('ip_type'),$type). 128 '<label class="classic" for="addip_'.$type.'">'.__('Add an IP address ').' '.127 '<label class="classic" for="addip_'.$type.'">'.__('Add an IP address: ').' '. 129 128 form::field(array('addip', 'addip_'.$type),18,255). 130 129 '</label>'; … … 136 135 $res .= 137 136 $core->formNonce(). 138 '<input type="submit" value="'.__('Add').'"/></p>'. 139 '</fieldset></form>'; 137 '</p>'. 138 '<p><input type="submit" value="'.__('Add').'"/></p>'. 139 '</form>'; 140 140 141 141 $rs = $this->getRules($type); … … 149 149 $res .= 150 150 '<form action="'.html::escapeURL($url).'" method="post">'. 151 '< fieldset><legend>' . __('IP list') . '</legend>'.151 '<h3>' . __('IP list') . '</h3>'. 152 152 '<div style="'.$this->style_list.'">'; 153 153 … … 167 167 168 168 $res .= 169 '<p style="'.$p_style.'"><label class="classic" >'.170 form::checkbox(array('delip[]' ),$rs->rule_id,false,'','',$disabled_ip, 'title="'.html::escapeHTML($pattern).'"').' '.169 '<p style="'.$p_style.'"><label class="classic" for="'.$type.'-ip-'.$rs->rule_id.'">'. 170 form::checkbox(array('delip[]',$type.'-ip-'.$rs->rule_id),$rs->rule_id,false,'','',$disabled_ip).' '. 171 171 html::escapeHTML($pattern). 172 172 '</label></p>'; … … 178 178 form::hidden(array('ip_type'),$type). 179 179 '</p>'. 180 '</f ieldset></form>';180 '</form>'; 181 181 } 182 182
Note: See TracChangeset
for help on using the changeset viewer.