- Timestamp:
- 08/12/13 15:31:45 (12 years ago)
- Branch:
- ticket1515
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/antispam/filters/class.dc.filter.ip.php
r1179 r1510 17 17 public $has_gui = true; 18 18 19 private $style_list = 'height: 200px; overflow: auto; margin-bottom: 1em; ';20 private $style_p = 'margin: 1px 0 0 0; padding: 0.2em 0.5em; ';21 private $style_global = 'background: #ccff99; ';22 23 19 private $con; 24 20 private $table; … … 150 146 '<form action="'.html::escapeURL($url).'" method="post">'. 151 147 '<h3>' . __('IP list') . '</h3>'. 152 '<div style="'.$this->style_list.'">';148 '<div class="antispam">'; 153 149 154 150 $res_global = ''; … … 162 158 163 159 $disabled_ip = false; 164 $p_style = $this->style_p;160 $p_style = ''; 165 161 if (!$rs->blog_id) { 166 162 $disabled_ip = !$core->auth->isSuperAdmin(); 167 $p_style .= $this->style_global;163 $p_style .= ' global'; 168 164 } 169 165 170 166 $item = 171 '<p style="'.$p_style.'"><label class="classic" for="'.$type.'-ip-'.$rs->rule_id.'">'.167 '<p class="'.$p_style.'"><label class="classic" for="'.$type.'-ip-'.$rs->rule_id.'">'. 172 168 form::checkbox(array('delip[]',$type.'-ip-'.$rs->rule_id),$rs->rule_id,false,'','',$disabled_ip).' '. 173 169 html::escapeHTML($pattern).
Note: See TracChangeset
for help on using the changeset viewer.