inst_describe (cfg, inst, desc, sizeof (desc));
html_escape_buffer (desc, sizeof (desc));
- printf (" <li class=\"instance\"><a href=\"%s?action=show_graph;%s\">%s</a></li>\n",
+ printf (" <li class=\"instance\"><a href=\"%s?action=show_instance;%s\">%s</a></li>\n",
script_name (), params, desc);
return (0);
html_escape_buffer (params, sizeof (params));
printf (" <li class=\"instance\">"
- "<a href=\"%s?action=show_graph;%s\">%s</a></li>\n",
+ "<a href=\"%s?action=show_instance;%s\">%s</a></li>\n",
script_name (), params, descr);
return (0);
html_escape_buffer (params, sizeof (params));
printf ("<ul class=\"graph_list\">\n"
- " <li class=\"graph\"><a href=\"%s?action=show_graph;%s\">%s</a>\n"
+ " <li class=\"graph\"><a href=\"%s?action=show_instance;%s\">%s</a>\n"
" <ul class=\"instance_list\">\n",
script_name (), params, title);
return (0);
} /* }}} int show_instance */
-static int show_graph (void *user_data) /* {{{ */
-{
- show_graph_data_t *data = user_data;
-
- show_breadcrump (data);
- return (show_instance_list (user_data));
-} /* }}} int show_graph */
-
int action_show_instance (void) /* {{{ */
{
page_callbacks_t pg_callbacks = PAGE_CALLBACKS_INIT;
{ "graph", action_graph },
{ "list_graphs", action_list_graphs },
{ "search_json", action_search_json },
- { "show_graph", action_show_instance },
+ { "show_instance", action_show_instance },
{ "usage", action_usage }
};
static const size_t actions_num = sizeof (actions) / sizeof (actions[0]);