You are here

function theme_coder in Coder 5

Same name and namespace in other branches
  1. 5.2 coder.module \theme_coder()
  2. 6.2 coder.module \theme_coder()
  3. 6 coder.module \theme_coder()

Theming functions below...

2 theme calls to theme_coder()
coder_page_form in ./coder.module
_coder_page_form_includes in ./coder.module

File

./coder.module, line 1219
Developer Module that assists with code review and version upgrade that supports a plug-in extensible hook system so contributed modules can define additional review standards.

Code

function theme_coder($name, $filename, $results) {
  $output = '<div class="coder"><h2>' . basename($filename) . '</h2>';
  if (!empty($results)) {
    $output .= theme('item_list', $results);
  }
  $output .= '</div>';
  return $output;
}