?'; $htitle = elgg_echo('koolielu:'.$id); $help .= '
".elgg_echo($trans).":".fieldhelp($name, $helptext)." | "; $ftype = $field['description']['@attributes']['type']; $voc = $field['description']['@attributes']['vocabulary']; $autoval = $field['description']['@attributes']['autovalue']; $fixedVoc = $field['description']['@attributes']['fixedVocabulary']; $lang = null; $obj = null; $params = array( 'mode' => 'search', 'waramu' => $w, 'fieldname' => $name, 'fieldtype' => $ftype, 'fixedVocabulary' => $fixedVoc, 'vocabulary' => $voc, 'language' => $lang, 'object' => $obj, 'b' => $b ); if ( elgg_view_exists('waramu/field_'.$name) ) { $c .= elgg_view('waramu/field_'.$name, $params); } else if (elgg_view_exists('waramu/field_'.$ftype)) { $c .= elgg_view('waramu/field_'.$ftype, $params); } else { $c .="oops".$ftype; } $c .= " | "; $c .= "
'.elgg_echo("koolielu:created").':'.fieldhelp("created", $helptext).' | '; $nn .= ''; $sdb = $b->get('not_older_than'); if (!$sdb) $sdb = ''; $nn .= elgg_view('input/dateselection', array('only_historic' => true, 'reverse' => true, 'internalname' => 'not_older_than', 'value' => $sdb)); /*translation:till*/ $nn .= " ".elgg_echo("koolielu:till")." "; $sdb = $b->get('not_newer_than'); if (!$sdb) $sdb = ''; $nn .= elgg_view('input/dateselection', array('only_historic' => true, 'reverse' => true, 'internalname' => 'not_newer_than', 'value' => $sdb)); $nn .= ' | '; $nn .= '
'.elgg_echo('koolielu:advsearch_types').': | ';
$c .= ' ';
$filters = $CONFIG->curriculum_config['filters'];
foreach ($filters as $filter) {
if (!$filter['active']) continue;
$checked = "";
if ( !$b->get('filter') || $b->isFilter($filter['code'])) $checked = 'checked="checked" ';
$c .= " ";
$c .= '';
$c .= elgg_echo($filter['title']);
$c .= " ";
}
$c .= ' |