-const char cgi_rcs[] = "$Id: cgi.c,v 1.162 2016/03/17 10:40:53 fabiankeil Exp $";
+const char cgi_rcs[] = "$Id: cgi.c,v 1.163 2016/03/30 11:14:05 fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/cgi.c,v $
"View the source code version numbers",
TRUE },
#ifdef FEATURE_CLIENT_TAGS
- { "show-client-tags",
+ { "client-tags",
cgi_show_client_tags,
"View or toggle the tags that can be set based on the clients address",
FALSE },
-const char cgisimple_rcs[] = "$Id: cgisimple.c,v 1.136 2016/03/17 10:40:53 fabiankeil Exp $";
+const char cgisimple_rcs[] = "$Id: cgisimple.c,v 1.137 2016/04/04 10:51:45 fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/cgisimple.c,v $
}
snprintf(form, size,
- "<form method=\"GET\" action=\"show-client-tags\" style=\"display: inline\">\n"
+ "<form method=\"GET\" action=\"client-tags\" style=\"display: inline\">\n"
" <input type=\"hidden\" name=\"tag\" value=\"%s\">\n"
" <input type=\"hidden\" name=\"toggle-state\" value=\"%u\">\n"
" <input type=\"hidden\" name=\"expires\" value=\"%u\">\n"
assert(rsp);
assert(parameters);
- if (NULL == (exports = default_exports(csp, "show-client-tags")))
+ if (NULL == (exports = default_exports(csp, "client-tags")))
{
return JB_ERR_MEMORY;
}
return JB_ERR_MEMORY;
}
- return template_fill_for_cgi(csp, "show-client-tags", exports, rsp);
+ return template_fill_for_cgi(csp, "client-tags", exports, rsp);
}
#endif /* def FEATURE_CLIENT_TAGS */
##########################################################
#
-# Show-Request-CGI Output template for Privoxy.
+# client-tags template for Privoxy.
#
#
# USING HTML TEMPLATES:
<html>
<head>
- <title>Privoxy@@my-hostname@</title>
+ <title>Available client tags - Privoxy@@my-hostname@</title>
<meta http-equiv="Content-Style-Type" content="text/css">
<meta http-equiv="Content-Script-Type" content="text/javascript">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<tr>
<td class="box">
- <h2>Show client tags</h2>
+ <h2>Available client tags</h2>
<p>
This page shows the configured
<a title="Lookup client-specific-tag directive in the user-manual"