function _biblio_author_edit_links in Bibliography Module 6
Same name and namespace in other branches
- 6.2 includes/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()
1 call to _biblio_author_edit_links()
File
- ./
biblio.pages.inc, line 1207
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/");
}