You are here

function theme_private_node_link in Private 6

Same name and namespace in other branches
  1. 5 private.module \theme_private_node_link()
  2. 7.2 private.module \theme_private_node_link()
  3. 7 private.module \theme_private_node_link()
1 theme call to theme_private_node_link()
private_link in ./private.module

File

./private.module, line 232
A tremendously simple access control module -- it allows users to mark individual nodes as private; users with 'access private content' perms can read these nodes, while others cannot.

Code

function theme_private_node_link($node) {
  return theme('image', drupal_get_path('module', 'private') . '/icon_key.gif', t('Private'), t('This content is private'));
}