Changeset 536:535dd04130aa for plugins
- Timestamp:
- 07/09/11 19:47:57 (14 years ago)
- Branch:
- default
- Location:
- plugins
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/akismet/class.dc.filter.akismet.php
r270 r536 136 136 137 137 $res = 138 '<form action="'.html::escapeURL($url).'" method="post" >'.138 '<form action="'.html::escapeURL($url).'" method="post" class="fieldset">'. 139 139 '<p><label for="ak_key" class="classic">'.__('Akismet API key:').' '. 140 140 form::field('ak_key',12,128,$ak_key).'</label>'; -
plugins/antispam/filters/class.dc.filter.ip.php
r270 r536 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 … … 178 178 form::hidden(array('ip_type'),$type). 179 179 '</p>'. 180 '</f ieldset></form>';180 '</form>'; 181 181 } 182 182 -
plugins/antispam/filters/class.dc.filter.iplookup.php
r270 r536 86 86 '<p><label for="bls">'.__('Add here a coma separated list of servers.'). 87 87 form::textarea('bls',40,3,html::escapeHTML($bls),'maximal'). 88 '<input type="submit" value="'.__('Save').'" /></label></p>'. 88 '</p>'. 89 '<p><input type="submit" value="'.__('Save').'" /></label></p>'. 89 90 $this->core->formNonce().'</p>'. 90 91 '</fieldset>'. -
plugins/antispam/filters/class.dc.filter.words.php
r270 r536 119 119 120 120 $res .= 121 '<form action="'.html::escapeURL($url).'" method="post">'. 122 '<fieldset><legend>'.__('Add a word').'</legend>'. 123 '<p><label class="classic" for="swa">'.__('Add a word').' '.form::field('swa',20,128).'</label>'; 121 '<form action="'.html::escapeURL($url).'" method="post" class="fieldset">'. 122 '<p><label class="classic" for="swa">'.__('Add a word ').' '.form::field('swa',20,128).'</label>'; 124 123 125 124 if ($core->auth->isSuperAdmin()) { … … 130 129 $res .= 131 130 $core->formNonce(). 132 '< input type="submit" value="'.__('Add').'"/></p>'.133 '< /fieldset>'.131 '</p>'. 132 '<p><input type="submit" value="'.__('Add').'"/></p>'. 134 133 '</form>'; 135 134 … … 142 141 { 143 142 $res .= 144 '<form action="'.html::escapeURL($url).'" method="post" >'.145 '< fieldset><legend>' . __('List') . '</legend>'.143 '<form action="'.html::escapeURL($url).'" method="post" class="fieldset">'. 144 '<h3>' . __('List of bad words') . '</h3>'. 146 145 '<div style="'.$this->style_list.'">'; 147 146 … … 167 166 $core->formNonce(). 168 167 '<input class="submit delete" type="submit" value="' . __('Delete selected words') . '"/></p>'. 169 '</f ieldset></form>';168 '</form>'; 170 169 } 171 170 -
plugins/antispam/index.php
r505 r536 128 128 129 129 echo 130 '<form action="'.$p_url.'" method="post" >'.131 '< fieldset><legend>'.__('Information').'</legend>';130 '<form action="'.$p_url.'" method="post" class="fieldset">'. 131 '<h3>'.__('Information').'</h3>'; 132 132 133 133 if (!empty($_GET['del'])) { … … 153 153 echo '<p>'.sprintf(__('All spam comments older than %s day(s) will be automatically deleted.'), $moderationTTL).'</p>'; 154 154 } 155 echo '</f ieldset></form>';155 echo '</form>'; 156 156 157 157 158 158 # Filters 159 159 echo 160 '<form action="'.$p_url.'" method="post">'. 161 '<fieldset><legend>'.__('Available spam filters').'</legend>'; 160 '<form action="'.$p_url.'" method="post" class="fieldset">'; 162 161 163 162 if (!empty($_GET['upd'])) { … … 167 166 echo 168 167 '<table class="dragable">'. 168 '<caption>'.__('Available spam filters').'</caption>'. 169 169 '<thead><tr>'. 170 170 '<th>'.__('Order').'</th>'. … … 192 192 '<td class="nowrap">'.form::checkbox(array('filters_active[]'),$fid,$f->active, '', '', false, 'title="'.__('Active').'"').'</td>'. 193 193 '<td class="nowrap">'.form::checkbox(array('filters_auto_del[]'),$fid,$f->auto_delete, '', '', false, 'title="'.__('Auto Del.').'"').'</td>'. 194 '<td class="nowrap" >'.$f->name.'</td>'.194 '<td class="nowrap" scope="raw">'.$f->name.'</td>'. 195 195 '<td class="maximal">'.$f->description.'</td>'. 196 196 '<td class="status">'.$gui_link.'</td>'. … … 203 203 $core->formNonce(). 204 204 '<input type="submit" name="filters_upd" value="'.__('Save').'" /></p>'. 205 '</f ieldset></form>';205 '</form>'; 206 206 207 207 … … 213 213 214 214 echo 215 '< fieldset><legend>'.__('Syndication').'</legend>'.215 '<h3>'.__('Syndication').'</h3>'. 216 216 '<ul class="spaminfo">'. 217 217 '<li class="feed"><a href="'.$spam_feed.'">'.__('Junk comments RSS feed').'</a></li>'. 218 218 '<li class="feed"><a href="'.$ham_feed.'">'.__('Published comments RSS feed').'</a></li>'. 219 '</ul>'. 220 '</fieldset>'; 219 '</ul>'; 221 220 } 222 221 } … … 225 224 </body> 226 225 </html> 227 -
plugins/pages/page.php
r500 r536 363 363 364 364 echo '<div id="entry-wrapper">'; 365 echo '<div id="entry-content">< fieldsetclass="constrained">';365 echo '<div id="entry-content"><div class="constrained">'; 366 366 367 367 echo … … 396 396 '</p>'; 397 397 398 echo '</ fieldset></div>'; // End #entry-content398 echo '</div></div>'; // End #entry-content 399 399 echo '</div>'; // End #entry-wrapper 400 400 … … 570 570 571 571 '<form action="comment.php" method="post" id="comment-form">'. 572 '< fieldsetclass="constrained">'.572 '<div class="constrained">'. 573 573 '<p><label for="comment_author" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Name:'). 574 574 form::field('comment_author',30,255,html::escapeHTML($core->auth->getInfo('user_cn'))). … … 590 590 $core->formNonce(). 591 591 '<input type="submit" name="add" value="'.__('Save').'" /></p>'. 592 '</ fieldset>'.592 '</div>'. 593 593 '</form>'. 594 594 '</div>';
Note: See TracChangeset
for help on using the changeset viewer.