summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a179bbd)
raw | patch | inline | side by side (parent: a179bbd)
author | Florian Forster <ff@octo.it> | |
Sun, 11 Jul 2010 12:25:07 +0000 (14:25 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sun, 11 Jul 2010 12:25:07 +0000 (14:25 +0200) |
src/action_list_graphs.c | patch | blob | history | |
src/action_list_hosts.c | patch | blob | history |
index db458990d012c53dec0833827b6157f2c326f256..b5a01d55ec5e5c4e1eaa0dde3bb4b4d5a4afc884 100644 (file)
--- a/src/action_list_graphs.c
+++ b/src/action_list_graphs.c
static int left_menu (__attribute__((unused)) void *user_data) /* {{{ */
{
printf ("\n<ul class=\"menu left\">\n"
+ " <li><a href=\"%s?action=search\">Search</a></li>\n"
" <li><a href=\"%s?action=list_hosts\">All hosts</a></li>\n"
"</ul>\n",
- script_name ());
+ script_name (), script_name ());
return (0);
} /* }}} int left_menu */
index 173ecabb9508081b2c7e8c3a1966719f679b4208..d1cae717313729dc5abcb5258bf40e41b349b80d 100644 (file)
--- a/src/action_list_hosts.c
+++ b/src/action_list_hosts.c
static int left_menu (__attribute__((unused)) void *user_data) /* {{{ */
{
printf ("\n<ul class=\"menu left\">\n"
+ " <li><a href=\"%s?action=search\">Search</a></li>\n"
" <li><a href=\"%s?action=list_graphs\">All graphs</a></li>\n"
"</ul>\n",
- script_name ());
+ script_name (), script_name ());
return (0);
} /* }}} int left_menu */