' . $name . '';
} else {
$txt .= $name;
}
if ($gradYear || $field || $program) {
$details = '';
if ($program) {
$details .= $program;
if ($gradYear || $field) {
$details .= ', ';
}
}
if ($gradYear) {
$details .= $gradYear;
if ($field) {
$details .= ', ';
}
}
if ($field) {
$details .= $field;
}
if ($full) {
$txt .= ' (' . $details . ')';
} else {
$txt = '' . $txt . '';
}
}
return $txt;
}
function smarty_function_display_education($params, $smarty)
{
$params = new PlDict($params);
$edu = $params->v('edu');
return display_education(($edu->school_short == '') ? $edu->school : $edu->school_short,
$edu->school_url, $edu->degree_short, $edu->grad_year,
$edu->field, $edu->program, $params->b('full'));
}
// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8:
?>