diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-12-06 09:58:34 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-12-06 09:58:34 +0000 |
commit | d83289f857853b2efca194cd663267c24dbfd305 (patch) | |
tree | b950cd9d0c4df0068164d6131c2f40fafad7022f /modules/node | |
parent | baf6910cc1002c7b40b2899162a122b3ed441e6d (diff) | |
download | brdo-d83289f857853b2efca194cd663267c24dbfd305.tar.gz brdo-d83289f857853b2efca194cd663267c24dbfd305.tar.bz2 |
#196667 (GHOP 45) by fberci: add '@ingroup themeable' to all themeable functions
Diffstat (limited to 'modules/node')
-rw-r--r-- | modules/node/node.admin.inc | 6 | ||||
-rw-r--r-- | modules/node/node.module | 14 | ||||
-rw-r--r-- | modules/node/node.pages.inc | 12 |
3 files changed, 32 insertions, 0 deletions
diff --git a/modules/node/node.admin.inc b/modules/node/node.admin.inc index d665233c5..e441e3e3d 100644 --- a/modules/node/node.admin.inc +++ b/modules/node/node.admin.inc @@ -236,6 +236,8 @@ function node_filter_form() { /** * Theme node administration filter form. + * + * @ingroup themeable */ function theme_node_filter_form($form) { $output = ''; @@ -248,6 +250,8 @@ function theme_node_filter_form($form) { /** * Theme node administration filter selector. + * + * @ingroup themeable */ function theme_node_filters($form) { $output = ''; @@ -403,6 +407,8 @@ function node_admin_nodes() { /** * Theme node administration overview. + * + * @ingroup themeable */ function theme_node_admin_nodes($form) { // If there are rows in this form, then $form['title'] contains a list of diff --git a/modules/node/node.module b/modules/node/node.module index c4ea1336e..e2a800bf8 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -148,6 +148,8 @@ function node_title_list($result, $title = NULL) { /** * Format a listing of links to nodes. + * + * @ingroup themeable */ function theme_node_list($items, $title = NULL) { return theme('item_list', $items, $title); @@ -1045,6 +1047,11 @@ function node_show($node, $cid) { return $output; } +/** + * Theme a log message. + * + * @ingroup themeable + */ function theme_node_log_message($log) { return '<div class="log"><div class="title">'. t('Log') .':</div>'. $log .'</div>'; } @@ -1234,6 +1241,11 @@ function node_user($op, &$edit, &$user) { } } +/** + * Theme the content ranking part of the search settings admin page. + * + * @ingroup themeable + */ function theme_node_search_admin($form) { $output = drupal_render($form['info']); @@ -2315,6 +2327,8 @@ function node_forms() { /** * Format the "Submitted by username on date/time" for each node + * + * @ingroup themeable */ function theme_node_submitted($node) { return t('Submitted by !username on @datetime', diff --git a/modules/node/node.pages.inc b/modules/node/node.pages.inc index d7f09af47..975f3d8f6 100644 --- a/modules/node/node.pages.inc +++ b/modules/node/node.pages.inc @@ -21,6 +21,11 @@ function node_add_page() { return theme('node_add_list', $content); } +/** + * Display the list of available node types for node creation. + * + * @ingroup themeable + */ function theme_node_add_list($content) { $output = ''; @@ -309,6 +314,11 @@ function node_form_build_preview($form, &$form_state) { $form_state['node_preview'] = node_preview($node); } +/** + * Present a node submission form. + * + * @ingroup themeable + */ function theme_node_form($form) { $output = "\n<div class=\"node-form\">\n"; @@ -399,6 +409,8 @@ function node_preview($node) { * * @param $node * The node object which is being previewed. + * + * @ingroup themeable */ function theme_node_preview($node) { $output = '<div class="preview">'; |