'Project 2: Keywords display as part of biblio listing. Authors separated by \'|\'s. Ideal for project websites.'); } function biblio_style_project2($pub){ if (variable_get('biblio_normalize', 0)) { $authors = _biblio_parse_authors(check_plain($pub->biblio_authors)); } else { $authors = check_plain($pub->biblio_authors); } // This line retrieves authors and replaces commas between authors with pipes $output .= ' \n"; $output .= (strrpos($authors, '.' ) == strlen($authors))? ". ":" "; switch ($pub->biblio_type) { case 1: // Journal Article case 2: //Conference Paper case 3: // are all case 4: case 5: case 6: case 7: case 8: case 9: default: if (isset($pub->biblio_year)) { if ($pub->biblio_year == 0) { $pub->biblio_year = t("In Press"); } $output .= "(" . check_plain($pub->biblio_year) . "). " ; } $output .= '' .l("$pub->title", "node/$pub->nid") . ". \n"; $output .= ($pub->biblio_secondary_title) ? ''.check_plain($pub->biblio_secondary_title).'. ' : ''; $output .= ($pub->biblio_volume)? check_plain($pub->biblio_volume).($pub->biblio_issue?'('.check_plain($pub->biblio_issue).'), ' :', ') : ' '; // $output .= ($pub->biblio_issue) ? '(' . check_plain($pub->biblio_issue).')' :''; $output .= ($pub->biblio_pages) ? check_plain($pub->biblio_pages).'.' :''; $output .= ($pub->biblio_keywords) ? '