Fossil

Check-in [cfe346f729]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:removed an unused variable.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: cfe346f7293ec50305e60e6d284514d51bfa3967
User & Date: stephan 2013-05-06 20:51:00.660
Context
2013-05-07
07:52
Move check for g.localOpen inside db_get_do_versionable(), because all callers will need this. Add "disabled" parameter to onoff_attribute(), entry_attribute() and textarea_attribute(). ... (check-in: 10d8abcd0c user: jan.nijtmans tags: trunk)
2013-05-06
20:51
removed an unused variable. ... (check-in: cfe346f729 user: stephan tags: trunk)
20:44
/stats_report byuser now uses %h instead of %s to render the user name. ... (check-in: 71d3756977 user: stephan tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/timeline.c.
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
**   view=REPORT_NAME  Valid values: bymonth, byyear, byuser
**   user=NAME         Restricts statistics to the given user
*/
void stats_report_page(){
  HQuery url;                        /* URL for various branch links */
  char const * zView = P("view");    /* Which view/report to show. */
  char const *zUserName = P("user");
  char const * zRemoveUser = 0;
  url_initialize(&url, "stats_report");

  if(zUserName && *zUserName){
    url_add_parameter(&url,"user", zUserName);
    timeline_submenu(&url, "(Remove User Flag)", "view", zView, "user");
  }
  timeline_submenu(&url, "By Year", "view", "byyear", 0);







<







2015
2016
2017
2018
2019
2020
2021

2022
2023
2024
2025
2026
2027
2028
**   view=REPORT_NAME  Valid values: bymonth, byyear, byuser
**   user=NAME         Restricts statistics to the given user
*/
void stats_report_page(){
  HQuery url;                        /* URL for various branch links */
  char const * zView = P("view");    /* Which view/report to show. */
  char const *zUserName = P("user");

  url_initialize(&url, "stats_report");

  if(zUserName && *zUserName){
    url_add_parameter(&url,"user", zUserName);
    timeline_submenu(&url, "(Remove User Flag)", "view", zView, "user");
  }
  timeline_submenu(&url, "By Year", "view", "byyear", 0);