Fossil

Diff
Login

Differences From Artifact [640d7c4410]:

To Artifact [d942571474]:


305
306
307
308
309
310
311



312
313
314
315
316
317
318
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321







+
+
+







  Blob sql;
  HQuery url;
  GraphContext *pGraph;
  int brBg = P("brbg")!=0;
  int uBg = P("ubg")!=0;
  int fDebug = atoi(PD("debug","0"));
  int fShowId = P("showid")!=0;
  int showRailArrows = db_get_boolean("timeline-rail-arrows", 1);
  int showRailCircles = db_get_boolean("timeline-rail-circles", 0);
  int showRailColors = db_get_boolean("timeline-rail-colors", 0);

  login_check_credentials();
  if( !g.perm.Read ){ login_needed(g.anon.Read); return; }
  style_header("File History");
  login_anonymous_available();
  url_initialize(&url, "finfo");
  if( brBg ) url_add_parameter(&url, "brbg", 0);
540
541
542
543
544
545
546
547


548
549
543
544
545
546
547
548
549

550
551
552
553







-
+
+


      int w = pGraph->mxRail*pGraph->iRailPitch + 28;
      @ <tr><td></td><td>
      @ <div id="grbtm" style="width:%d(w)px;"></div>
      @     </td><td></td></tr>
    }
  }
  @ </table>
  timeline_output_graph_javascript(pGraph, 0, 1);
  timeline_output_graph_javascript(pGraph, 0, 1, showRailArrows,
    showRailCircles, showRailColors);
  style_footer();
}