Merge branch 'master' of github.com:gnuboard/yc4s
This commit is contained in:
@ -570,6 +570,7 @@ function html_purifier($html)
|
||||
$config->set('HTML.SafeObject', true);
|
||||
$config->set('HTML.SafeIframe', true);
|
||||
$config->set('URI.SafeIframeRegexp','%^(https?:)?//('.$safeiframe.')%');
|
||||
$config->set('Attr.AllowedFrameTargets', array('_blank'));
|
||||
$purifier = new HTMLPurifier($config);
|
||||
return $purifier->purify($html);
|
||||
}
|
||||
|
||||
@ -281,7 +281,7 @@ class item_list
|
||||
if ($this->ca_id3) {
|
||||
$where_ca_id[] = " ca_id3 like '{$this->ca_id3}%' ";
|
||||
}
|
||||
$where[] = implode(" or ", $where_ca_id);
|
||||
$where[] = "( ".implode(" or ", $where_ca_id)." )";
|
||||
}
|
||||
|
||||
if ($this->order_by) {
|
||||
|
||||
Reference in New Issue
Block a user