Changeset 3117:6f7f1a16d59a
- Timestamp:
- 10/18/15 17:01:05 (10 years ago)
- Branch:
- default
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/posts.php
r3105 r3117 78 78 ); 79 79 80 $comment_combo = array( 81 '-' => '', 82 __('Opened') => '1', 83 __('Closed') => '0' 84 ); 85 86 $trackback_combo = array( 87 '-' => '', 88 __('Opened') => '1', 89 __('Closed') => '0' 90 ); 91 80 92 $attachment_combo = array( 81 93 '-' => '', … … 146 158 $password = isset($_GET['password']) ? $_GET['password'] : ''; 147 159 $selected = isset($_GET['selected']) ? $_GET['selected'] : ''; 160 $comment = isset($_GET['comment']) ? $_GET['comment'] : ''; 161 $trackback = isset($_GET['trackback']) ? $_GET['trackback'] : ''; 148 162 $attachment = isset($_GET['attachment']) ? $_GET['attachment'] : ''; 149 163 $month = !empty($_GET['month']) ? $_GET['month'] : ''; … … 207 221 } else { 208 222 $selected=''; 223 } 224 225 # - Comment filter 226 if ($comment !== '' && in_array($comment,$comment_combo)) { 227 $params['where'] .= " AND post_open_comment = '".$comment."' "; 228 $show_filters = true; 229 } else { 230 $comment=''; 231 } 232 233 # - Comment filter 234 if ($trackback !== '' && in_array($trackback,$trackback_combo)) { 235 $params['where'] .= " AND post_open_tb = '".$trackback."' "; 236 $show_filters = true; 237 } else { 238 $trackback=''; 209 239 } 210 240 … … 326 356 '<p><label for="lang" class="ib">'.__('Lang:').'</label> '. 327 357 form::combo('lang',$lang_combo,$lang).'</p> '. 358 '<p><label for="comment" class="ib">'.__('Comments:').'</label> '. 359 form::combo('comment',$comment_combo,$comment).'</p>'. 360 '<p><label for="trackback" class="ib">'.__('Trackbacks:').'</label> '. 361 form::combo('trackback',$trackback_combo,$trackback).'</p>'. 328 362 '</div>'. 329 363 … … 361 395 form::hidden(array('password'),$password). 362 396 form::hidden(array('selected'),$selected). 397 form::hidden(array('comment'),$comment). 398 form::hidden(array('trackback'),$trackback). 363 399 form::hidden(array('attachment'),$attachment). 364 400 form::hidden(array('month'),$month). -
locales/fr/main.po
r3112 r3117 1974 1974 msgstr "Non sélectionné" 1975 1975 1976 msgid "Comments:" 1977 msgstr "Comentaires :" 1978 1979 msgid "Trackbacks:" 1980 msgstr "Rétroliens :" 1981 1982 msgid "Opened" 1983 msgstr "Ouverts" 1984 1985 msgid "Closed" 1986 msgstr "Fermés" 1987 1976 1988 msgid "With attachments" 1977 1989 msgstr "Avec annexe(s)"
Note: See TracChangeset
for help on using the changeset viewer.