Changeset 783:0a2b554158d6 for admin
- Timestamp:
- 12/06/11 14:01:15 (14 years ago)
- Branch:
- formfilters
- Location:
- admin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/comments.php
r782 r783 23 23 } 24 24 public function applyFilter($params) { 25 $val = preg_split( "/[\s,]+/",$this->values[0]);25 $val = preg_split('/\s*,\s*/',$this->values[0]); 26 26 $params[$this->request_param]=$val; 27 27 } … … 84 84 if (isset($_GET['author'])) { 85 85 $authorFilter->add(); 86 $authorFilter->setValue ($_GET['author']);86 $authorFilter->setValues($_GET['author']); 87 87 } 88 88 $with_spam=true; -
admin/js/filters.js
r417 r783 2 2 $('#toggle-filters').click(function(e) { 3 3 $('#filters').toggleClass('hidden'); 4 $('#toggle-filters').toggleClass('opened'); 4 5 }); 5 6 }); -
admin/style/default.css
r782 r783 1237 1237 padding-left: 20px; 1238 1238 } 1239 1240 a#toggle-filters { 1241 font-weight: bold; 1242 background: url(../images/plus.png) no-repeat 0 0; 1243 padding-left: 20px; 1244 } 1245 1246 a#toggle-filters.opened { 1247 background: url(../images/minus.png) no-repeat 0 0; 1248 } 1249 1239 1250 .constrained { 1240 1251 margin: 0;
Note: See TracChangeset
for help on using the changeset viewer.