ca001361fc433fbacc4805265af7110c8b24a9bb galt Tue Apr 4 12:28:38 2017 -0700 code cleanup from CSP changes. diff --git src/inc/cheapcgi.h src/inc/cheapcgi.h index ce16862..e13ebad 100644 --- src/inc/cheapcgi.h +++ src/inc/cheapcgi.h @@ -299,39 +299,36 @@ void cgiMakeCheckBoxUtil(char *name, boolean checked, char *msg, char *id); /* Make check box - can be called directly, though it was originally meant * as the common code for all lower level checkbox routines. * However, it's util functionality has been taken over by * cgiMakeCheckBoxWithIdAndOptionalHtml() */ void cgiMakeCheckBox(char *name, boolean checked); /* Make check box. */ void cgiMakeCheckBoxWithMsg(char *name, boolean checked, char *msg); /* Make check box, which includes a msg. */ void cgiMakeCheckBoxWithId(char *name, boolean checked, char *id); /* Make check box, which includes an ID. */ -void cgiMakeCheckBoxJS(char *name, boolean checked, char *javascript); -/* Make check box with javascript */ +void cgiMakeCheckBoxMore(char *name, boolean checked, char *moreHtml); +/* Make check box with moreHtml */ void cgiMakeCheckBoxEnabled(char *name, boolean checked, boolean enabled); /* Make check box, optionally enabled/disabled. */ -void cgiMakeCheckBoxIdAndJS(char *name, boolean checked, char *id, char *javascript); -/* Make check box with ID and javascript. */ - void cgiMakeCheckBoxIdAndMore(char *name, boolean checked, char *id, char *moreHtml); /* Make check box with ID and extra (non-javascript) html. */ void cgiMakeCheckBoxFourWay(char *name, boolean checked, boolean enabled, char *id, char *classes, char *moreHtml); /* Make check box - with fourWay functionality (checked/unchecked by enabled/disabled * Also makes a shadow hidden variable that supports the 2 boolean states. */ void cgiMakeTextArea(char *varName, char *initialVal, int rowCount, int columnCount); /* Make a text area with area rowCount X columnCount and with text: intialVal. */ void cgiMakeTextAreaDisableable(char *varName, char *initialVal, int rowCount, int columnCount, boolean disabled); /* Make a text area that can be disabled. The rea has rowCount X * columnCount and with text: intialVal */