#ifndef CGI_H_INCLUDED
#define CGI_H_INCLUDED
-#define CGI_H_VERSION "$Id: cgi.h,v 1.24 2002/03/26 22:29:54 swa Exp $"
+#define CGI_H_VERSION "$Id: cgi.h,v 1.25 2002/04/08 20:50:25 swa Exp $"
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/cgi.h,v $
*
* Revisions :
* $Log: cgi.h,v $
+ * Revision 1.25 2002/04/08 20:50:25 swa
+ * fixed JB spelling
+ *
* Revision 1.24 2002/03/26 22:29:54 swa
* we have a new homepage!
*
extern jb_err map_conditional (struct map *exports, const char *name, int choose_first);
extern jb_err template_load(struct client_state *csp, char ** template_ptr,
- const char *templatename);
+ const char *templatename, int recursive);
extern jb_err template_fill(char ** template_ptr, const struct map *exports);
extern jb_err template_fill_for_cgi(struct client_state *csp,
const char *templatename,
-const char cgiedit_rcs[] = "$Id: cgiedit.c,v 1.28 2002/03/27 12:30:29 oes Exp $";
+const char cgiedit_rcs[] = "$Id: cgiedit.c,v 1.29 2002/04/08 16:59:08 oes Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/cgiedit.c,v $
*
* Revisions :
* $Log: cgiedit.c,v $
+ * Revision 1.29 2002/04/08 16:59:08 oes
+ * Fixed comment
+ *
* Revision 1.28 2002/03/27 12:30:29 oes
* Deleted unsused variable
*
/* Should do all global exports above this point */
- err = template_load(csp, §ion_template, "edit-actions-list-section");
+ err = template_load(csp, §ion_template, "edit-actions-list-section", 0);
if (err)
{
edit_free_file(file);
return err;
}
- err = template_load(csp, &url_template, "edit-actions-list-url");
+ err = template_load(csp, &url_template, "edit-actions-list-url", 0);
if (err)
{
free(section_template);
int index = 0;
char * filter_template;
- err = template_load(csp, &filter_template, "edit-actions-for-url-filter");
+ err = template_load(csp, &filter_template, "edit-actions-for-url-filter", 0);
if (err)
{
edit_free_file(file);
-const char cgisimple_rcs[] = "$Id: cgisimple.c,v 1.27 2002/04/05 15:50:48 oes Exp $";
+const char cgisimple_rcs[] = "$Id: cgisimple.c,v 1.28 2002/04/07 15:42:12 jongfoster Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/cgisimple.c,v $
*
* Revisions :
* $Log: cgisimple.c,v $
+ * Revision 1.28 2002/04/07 15:42:12 jongfoster
+ * Fixing send-banner?type=auto when the image-blocker is
+ * a redirect to send-banner
+ *
* Revision 1.27 2002/04/05 15:50:48 oes
* added send-stylesheet CGI
*
assert(csp);
assert(rsp);
- err = template_load(csp, &rsp->body, "cgi-style.css");
+ err = template_load(csp, &rsp->body, "cgi-style.css", 0);
if (err == JB_ERR_FILE)
{