function theme_nodesymlinks_edit_links in NodeSymlinks 6
Theme view/edit links for original node.
Parameters
$nid: The node id of the original node.
Return value
The themed HTML output.
1 theme call to theme_nodesymlinks_edit_links()
- nodesymlinks_page in ./
nodesymlinks.module - Menu callback which loads and displays the content from the node wrapped within the different menu and breadcrumbs. It also sets the robots META tag to prevent duplicate search engine indexing.
File
- ./
nodesymlinks.module, line 408 - Node Symlinks allows creating duplicate menu links with unique id to all nodes. As a result all these duplicates have unique menu trails and breadcrumbs.
Code
function theme_nodesymlinks_edit_links($nid) {
$text = t('Original node: !view | !edit', array(
'!view' => l(t('View'), 'node/' . $nid),
'!edit' => l(t('Edit'), 'node/' . $nid . '/edit'),
));
return '<div class="nodesymlinks_edit_links">' . $text . "</div>\n";
}