You are here

function _biblio_author_edit_links in Bibliography Module 6

Same name and namespace in other branches
  1. 6.2 includes/biblio.pages.inc \_biblio_author_edit_links()
  2. 7 includes/biblio.pages.inc \_biblio_author_edit_links()
  3. 7.2 includes/biblio.pages.inc \_biblio_author_edit_links()
1 call to _biblio_author_edit_links()
_biblio_format_author in ./biblio.pages.inc

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/");
}