$result=db_query("SELECT DISTINCT b.* FROM {block} b LEFT JOIN {block_role} r ON b.module = r.module AND b.delta = r.delta WHERE b.status = 1 AND b.custom <> 0 AND (r.rid IN (:rids) OR r.rid IS NULL) ORDER BY b.weight, b.module",array(':rids'=>$rids));
'#description'=>t('Blocks consist of content or information that complements the main content of the page. Enable or disable optional blocks using the checkboxes below.'),