Dotclear

Changeset 783:0a2b554158d6 for admin


Ignore:
Timestamp:
12/06/11 14:01:15 (14 years ago)
Author:
Dsls <dsls@…>
Branch:
formfilters
Message:

fixed toggle css, and some errors.

Location:
admin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • admin/comments.php

    r782 r783  
    2323     } 
    2424     public function applyFilter($params) { 
    25           $val = preg_split("/[\s,]+/",$this->values[0]); 
     25          $val = preg_split('/\s*,\s*/',$this->values[0]); 
    2626          $params[$this->request_param]=$val; 
    2727     } 
     
    8484if (isset($_GET['author'])) { 
    8585     $authorFilter->add(); 
    86      $authorFilter->setValue($_GET['author']); 
     86     $authorFilter->setValues($_GET['author']); 
    8787} 
    8888$with_spam=true; 
  • admin/js/filters.js

    r417 r783  
    22     $('#toggle-filters').click(function(e) { 
    33          $('#filters').toggleClass('hidden'); 
     4          $('#toggle-filters').toggleClass('opened'); 
    45     }); 
    56}); 
  • admin/style/default.css

    r782 r783  
    12371237     padding-left: 20px; 
    12381238} 
     1239 
     1240a#toggle-filters { 
     1241     font-weight: bold; 
     1242     background: url(../images/plus.png) no-repeat 0 0; 
     1243     padding-left: 20px; 
     1244} 
     1245 
     1246a#toggle-filters.opened { 
     1247     background: url(../images/minus.png) no-repeat 0 0; 
     1248} 
     1249 
    12391250.constrained { 
    12401251     margin: 0; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map