dao->select('module,name')->from(TABLE_WORKFLOW)->where('navigator')->eq('primary')->andWhere('buildin')->eq('0')->fetchAll(); foreach($primaryFlows as $primaryFlow): if(!common::hasPriv($primaryFlow->module, 'browse')): ?> acl['views'][$primaryFlow->module]) or empty($group->acl['views'])) ? "checked" : '';?>
EOD; ?>