function _biblio_author_edit_links in Bibliography Module 6.2
Same name and namespace in other branches
- 6 biblio.pages.inc \_biblio_author_edit_links()
- 7 includes/biblio.pages.inc \_biblio_author_edit_links()
- 7.2 includes/biblio.pages.inc \_biblio_author_edit_links()
Parameters
$author:
1 call to _biblio_author_edit_links()
- _biblio_format_author in includes/
biblio.pages.inc
File
- includes/
biblio.pages.inc, line 1435 - Functions in the biblio module related to filtering and page generation.
Code
function _biblio_author_edit_links($author) {
static $path = '';
if (empty($path)) {
$path = ord(substr($_GET['q'], -1)) > 97 ? $_GET['q'] . "/" : substr($_GET['q'], 0, -1);
$path = strpos($path, 'list/') ? str_replace('list/', '', $path) : $path;
}
return l(' [' . t('edit') . ']', $path . $author['cid'] . "/edit/");
}