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

Diff for /src/usr.bin/bgplg/bgplg.c between version 1.17 and 1.18

version 1.17, 2017/12/17 18:41:17 version 1.18, 2017/12/18 09:12:49
Line 265 
Line 265 
             "\"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\n"              "\"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\n"
             "<html xmlns=\"http://www.w3.org/1999/xhtml\">\n"              "<html xmlns=\"http://www.w3.org/1999/xhtml\">\n"
             "<head>\n"              "<head>\n"
             "<title>%s: %s</title>\n",              "<title>%s</title>\n",
             CONTENT_TYPE, NAME, myname);              CONTENT_TYPE, myname);
         if (stat(INC_STYLE, &st) == 0) {          if (stat(INC_STYLE, &st) == 0) {
                 printf("<style type='text/css'><!--\n");                  printf("<style type='text/css'><!--\n");
                 lg_incl(INC_STYLE);                  lg_incl(INC_STYLE);
Line 277 
Line 277 
                     "<body>\n");                      "<body>\n");
         }          }
   
         printf("<h1>%s: %s</h1>\n", NAME, myname);  
         printf("<h2>%s</h2>\n", BRIEF);  
   
         /* print a form with possible options */          /* print a form with possible options */
         if ((self = lg_getenv("SCRIPT_NAME", NULL)) == NULL) {          if ((self = lg_getenv("SCRIPT_NAME", NULL)) == NULL) {
                 printf("fatal error: invalid request\n");                  printf("fatal error: invalid request\n");
Line 379 
Line 376 
                 printf("<hr/>\n");                  printf("<hr/>\n");
   
         printf("<div class='footer'>\n"          printf("<div class='footer'>\n"
             "<small>%s - %s<br/>Copyright (c) %s</small>\n"  
             "</div>\n"              "</div>\n"
             "</body>\n"              "</body>\n"
             "</html>\n", NAME, BRIEF, COPYRIGHT);              "</html>\n");
   
         return (ret);          return (ret);
 }  }

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18