You are here

attachment-links.tpl.php in Attachment Links 7

Same filename and directory in other branches
  1. 6 attachment-links.tpl.php

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.

File

attachment-links.tpl.php
View 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>