function theme_node_recent_content

×

Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
cis7 node.module theme_node_recent_content($variables)
cle7 node.module theme_node_recent_content($variables)
elmsmedia7 node.module theme_node_recent_content($variables)
icor7 node.module theme_node_recent_content($variables)
meedjum_blog7 node.module theme_node_recent_content($variables)
mooc7 node.module theme_node_recent_content($variables)

Returns HTML for a recent node to be displayed in the recent content block.

Parameters

$variables: An associative array containing:

  • node: A node object.

Related topics

1 theme call to theme_node_recent_content()
theme_node_recent_block in modules/node/node.module
Returns HTML for a list of recent content.
2 string references to the theme hook from theme_node_recent_content()

Note: this list is generated by looking for the string for this theme hook, so it may include some references that are not actually using this theme hook.

node_theme in modules/node/node.module
Implements hook_theme().
theme_node_recent_block in modules/node/node.module
Returns HTML for a list of recent content.

File

modules/node/node.module, line 2399
The core that allows content to be submitted to the site. Modules and scripts may programmatically submit nodes using the usual form API pattern.

Code

function theme_node_recent_content($variables) {
  $node = $variables['node'];

  $output = '<div class="node-title">';
  $output .= l($node->title, 'node/' . $node->nid);
  $output .= theme('mark', array('type' => node_mark($node->nid, $node->changed)));
  $output .= '</div><div class="node-author">';
  $output .= theme('username', array('account' => user_load($node->uid)));
  $output .= '</div>';

  return $output;
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.