t('Projects'), '$desc' => '', '$all' => t('All projects'), 'base' => z_root() . '/sites', '$sel_all' => (($_REQUEST['project']) ? false : true), '$terms' => $results ]); return $o; } } static function site_sort($a,$b) { if ($a['site_type'] === $b['site_type']) { return strncmp($a,$b); } return (($a['site_type'] < $b['site_type']) ? -1 : 1); } }