Fossil

Diff
Login

Differences From Artifact [630aa8c212]:

To Artifact [d9adb2c719]:


684
685
686
687
688
689
690


691


692

693


694
695
696
697
698
699
700
684
685
686
687
688
689
690
691
692

693
694
695
696

697
698
699
700
701
702
703
704
705







+
+
-
+
+

+
-
+
+







    if( blob_size(&title)==0 ) blob_append(&title,zName,-1);
    style_header("%s", blob_str(&title));
    convert_href_and_output(&filebody);
    style_footer();
#ifdef FOSSIL_ENABLE_TH1_DOCS
  }else if( Th_AreDocsEnabled() &&
            fossil_strcmp(zMime, "application/x-th1")==0 ){
    int raw = P("raw")!=0;
    if( !raw ){
    style_header("%h", zName);
      style_header("%h", zName);
    }
    Th_Render(blob_str(&filebody));
    if( !raw ){
    style_footer();
      style_footer();
    }
#endif
  }else{
    cgi_set_content_type(zMime);
    cgi_set_content(&filebody);
  }
  if( nMiss>=ArraySize(azSuffix) ) cgi_set_status(404, "Not Found");
  db_end_transaction(0);