[BACK]Return to cgi.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/cgi.c between version 1.141 and 1.142

version 1.141, 2016/09/12 00:06:20 version 1.142, 2017/01/19 13:35:02
Line 1 
Line 1 
 /*      $Id$ */  /*      $Id$ */
 /*  /*
  * Copyright (c) 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>   * Copyright (c) 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
  * Copyright (c) 2014, 2015, 2016 Ingo Schwarze <schwarze@usta.de>   * Copyright (c) 2014, 2015, 2016, 2017 Ingo Schwarze <schwarze@usta.de>
  *   *
  * Permission to use, copy, modify, and distribute this software for any   * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above   * purpose with or without fee is hereby granted, provided that the above
Line 356  resp_begin_html(int code, const char *msg)
Line 356  resp_begin_html(int code, const char *msg)
                " type=\"text/css\" media=\"all\">\n"                 " type=\"text/css\" media=\"all\">\n"
                "<title>%s</title>\n"                 "<title>%s</title>\n"
                "</head>\n"                 "</head>\n"
                "<body>\n"                 "<body>\n",
                "<!-- Begin page content. //-->\n",  
                CSS_DIR, CUSTOMIZE_TITLE);                 CSS_DIR, CUSTOMIZE_TITLE);
   
         resp_copy(MAN_DIR "/header.html");          resp_copy(MAN_DIR "/header.html");
Line 378  resp_searchform(const struct req *req, enum focus focu
Line 377  resp_searchform(const struct req *req, enum focus focu
 {  {
         int              i;          int              i;
   
         puts("<!-- Begin search form. //-->");          printf("<form action=\"/%s\" method=\"get\">\n"
         printf("<div id=\"mancgi\">\n"  
                "<form action=\"/%s\" method=\"get\">\n"  
                "<fieldset>\n"                 "<fieldset>\n"
                "<legend>Manual Page Search Parameters</legend>\n",                 "<legend>Manual Page Search Parameters</legend>\n",
                scriptname);                 scriptname);
Line 448  resp_searchform(const struct req *req, enum focus focu
Line 445  resp_searchform(const struct req *req, enum focus focu
         }          }
   
         puts("</fieldset>\n"          puts("</fieldset>\n"
              "</form>\n"               "</form>");
              "</div>");  
         puts("<!-- End search form. //-->");  
 }  }
   
 static int  static int

Legend:
Removed from v.1.141  
changed lines
  Added in v.1.142

CVSweb