Fossil

Check-in [7814e9b5]
Login

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

Overview
Comment:Replace Show/Hide Cookies in test_env page with a checkbox
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 7814e9b59ba289754f5dcbc9515315dd8c845c75
User & Date: andygoth 2016-11-05 14:04:21.201
Context
2016-11-05
14:07
Remove "Testpage:" from title of all-in-one help text page ... (check-in: d8506df1 user: andygoth tags: trunk)
14:04
Replace Show/Hide Cookies in test_env page with a checkbox ... (check-in: 7814e9b5 user: andygoth tags: trunk)
13:57
Change Files/Folders selection to a Folders Only checkbox ... (check-in: b6a824ec user: andygoth tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/style.c.
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
  login_check_credentials();
  if( !g.perm.Admin && !g.perm.Setup && !db_get_boolean("test_env_enable",0) ){
    login_needed(0);
    return;
  }
  for(i=0; i<count(azCgiVars); i++) (void)P(azCgiVars[i]);
  style_header("Environment Test");
  showAll = atoi(PD("showall","0"));
  if( !showAll ){
    style_submenu_element("Show Cookies", "%R/test_env?showall=1");
  }else{
    style_submenu_element("Hide Cookies", "%R/test_env");
  }
  style_submenu_element("Stats", "%R/stat");

#if !defined(_WIN32)
  @ uid=%d(getuid()), gid=%d(getgid())<br />
#endif
  @ g.zBaseURL = %h(g.zBaseURL)<br />
  @ g.zHttpsURL = %h(g.zHttpsURL)<br />







<
|
<
<
|
<







1587
1588
1589
1590
1591
1592
1593

1594


1595

1596
1597
1598
1599
1600
1601
1602
  login_check_credentials();
  if( !g.perm.Admin && !g.perm.Setup && !db_get_boolean("test_env_enable",0) ){
    login_needed(0);
    return;
  }
  for(i=0; i<count(azCgiVars); i++) (void)P(azCgiVars[i]);
  style_header("Environment Test");

  showAll = PB("showall");


  style_submenu_checkbox("showall", "Cookies", 0);

  style_submenu_element("Stats", "%R/stat");

#if !defined(_WIN32)
  @ uid=%d(getuid()), gid=%d(getgid())<br />
#endif
  @ g.zBaseURL = %h(g.zBaseURL)<br />
  @ g.zHttpsURL = %h(g.zHttpsURL)<br />