attachment-links.tpl.php in Attachment Links 7
Same filename and directory in other branches
Renders the permalinks to a node's files.
Available variables:
$items: A link for each of the two attachment links.
The following variables are provided for contextual information.
$node: Node object the link information is being rendered for. $user: The user accessing the node.
2 theme calls to attachment-links.tpl.php
- attachment_links_form_node_form_alter in ./
attachment_links.module - Implements hook_form_FORM_ID_alter().
- attachment_links_node_view in ./
attachment_links.module - Implements hook_node_view().
File
attachment-links.tpl.phpView source
<?php
/**
* @file
* Renders the permalinks to a node's files.
*
* Available variables:
*
* $items: A link for each of the two attachment links.
*
* The following variables are provided for contextual information.
*
* $node: Node object the link information is being rendered for.
* $user: The user accessing the node.
*
* @see template_preprocess_attachment_links()
* @see theme_item_list()
*/
?>
<div id="attachment-links">
<?php
print theme('item_list', array(
'items' => $items,
));
?>
</div>