function theme_noderelationships_erd_diagram in Node Relationships 6
Render the Entity Relationship Diagram (ERD).
1 theme call to theme_noderelationships_erd_diagram()
- noderelationships_erd_diagram in ./
noderelationships.admin.inc - Build the Entity Relationship Diagram (ERD).
File
- ./
noderelationships.admin.inc, line 138 - Implementation of the administration pages of the module.
Code
function theme_noderelationships_erd_diagram($diagram) {
$module_path = drupal_get_path('module', 'noderelationships');
drupal_add_css($module_path . '/css/noderelationships.admin_erd.css');
drupal_add_js($module_path . '/js/jquery.corner.js');
drupal_add_js($module_path . '/js/admin.erd.js');
$output = '<div class="noderelationships-erd">' . "\n";
$output .= $diagram;
$output .= '</div>' . "\n";
return $output;
}