[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.118 and 1.119

version 1.118, 2022/07/06 16:02:52 version 1.119, 2022/07/06 17:19:57
Line 440 
Line 440 
   
         /* Write query input box. */          /* Write query input box. */
   
         printf("    <input type=\"search\" name=\"query\" value=\"");          printf("    <label>Search query:\n"
                  "      <input type=\"search\" name=\"query\" value=\"");
         if (req->q.query != NULL)          if (req->q.query != NULL)
                 html_print(req->q.query);                  html_print(req->q.query);
         printf( "\" size=\"40\"");          printf("\" size=\"40\"");
         if (focus == FOCUS_QUERY)          if (focus == FOCUS_QUERY)
                 printf(" autofocus");                  printf(" autofocus");
         puts(">");          puts(">\n    </label>");
   
         /* Write submission buttons. */          /* Write submission buttons. */
   
Line 487 
Line 488 
         /* Write manpath selector. */          /* Write manpath selector. */
   
         if (req->psz > 1) {          if (req->psz > 1) {
                 puts("    <select name=\"manpath\">");                  puts("    <select name=\"manpath\""
                        " aria-label=\"Manual path\">");
                 for (i = 0; i < (int)req->psz; i++) {                  for (i = 0; i < (int)req->psz; i++) {
                         printf("      <option");                          printf("      <option");
                         if (strcmp(req->q.manpath, req->p[i]) == 0)                          if (strcmp(req->q.manpath, req->p[i]) == 0)

Legend:
Removed from v.1.118  
changed lines
  Added in v.1.119