X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Faction_list_graphs.c;h=07404243a9430c2edceebe1caf4105c306ce1b57;hb=ac284c5c84056ffeb0bb81240fb7dac3eb65f2d4;hp=ff78482e520a32e98edd508506be6147019e587d;hpb=c3e2812ad41146fc003f8a74dd8495e88047b873;p=collection4.git diff --git a/src/action_list_graphs.c b/src/action_list_graphs.c index ff78482..0740424 100644 --- a/src/action_list_graphs.c +++ b/src/action_list_graphs.c @@ -1,3 +1,26 @@ +/** + * collection4 - action_list_graphs.c + * Copyright (C) 2010 Florian octo Forster + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + * + * Authors: + * Florian octo Forster + **/ + #include #include #include @@ -65,7 +88,14 @@ static int print_graph_inst_html (graph_config_t *cfg, /* {{{ */ { if (!data->inst_more) { - printf ("
  • More ...
  • \n"); + memset (params, 0, sizeof (params)); + graph_get_params (cfg, params, sizeof (params)); + html_escape_buffer (params, sizeof (params)); + + printf ("
  • More …
  • \n", + script_name (), params); + data->inst_more = 1; } return (0); @@ -79,7 +109,7 @@ static int print_graph_inst_html (graph_config_t *cfg, /* {{{ */ inst_describe (cfg, inst, desc, sizeof (desc)); html_escape_buffer (desc, sizeof (desc)); - printf ("
  • %s
  • \n", + printf ("
  • %s
  • \n", script_name (), params, desc); return (0);