[BACK]Return to cgi.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mandoc

Diff for /src/usr.bin/mandoc/cgi.c between version 1.80 and 1.81

version 1.80, 2016/09/11 23:59:02 version 1.81, 2017/01/19 13:34:59
Line 1 
Line 1 
 /*      $OpenBSD$ */  /*      $OpenBSD$ */
 /*  /*
  * 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 354 
Line 354 
                " 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 376 
Line 375 
 {  {
         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 446 
Line 443 
         }          }
   
         puts("</fieldset>\n"          puts("</fieldset>\n"
              "</form>\n"               "</form>");
              "</div>");  
         puts("<!-- End search form. //-->");  
 }  }
   
 static int  static int

Legend:
Removed from v.1.80  
changed lines
  Added in v.1.81