Fossil

Check-in [7b32e45b]
Login

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

Overview
Comment:changed title of admin/behavior page to be consistent with the other pages
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:7b32e45bd76555172d8813821c423297d22698d8
User & Date: erik 2009-05-27 02:45:00
Context
2009-05-28
02:44
Add the --keep option to the "open" and "checkout" commands. Added the --latest option to "checkout". These changes allow one to shift the baseline version and repository of a checkout without changing any files in the checkout. check-in: 915bfd99 user: drh tags: trunk
2009-05-27
02:45
changed title of admin/behavior page to be consistent with the other pages check-in: 7b32e45b user: erik tags: trunk
02:38
added the behavior section to the admin page. It allows the user to enter fossil settings via the web ui check-in: 92e85dc6 user: erik tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/setup.c.

795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
*/
void setup_behavior(void){
  login_check_credentials();
  if( !g.okSetup ){
    login_needed();
  }

  style_header("Fossil SCM behavior");
  db_begin_transaction();
  @ <form action="%s(g.zBaseURL)/setup_behavior" method="POST">
  login_insert_csrf_secret();

  @ <hr>
  onoff_attribute("Automatically synchronize with repository",
                  "autosync", "autosync", 0);







|







795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
*/
void setup_behavior(void){
  login_check_credentials();
  if( !g.okSetup ){
    login_needed();
  }

  style_header("Fossil SCM Behavior");
  db_begin_transaction();
  @ <form action="%s(g.zBaseURL)/setup_behavior" method="POST">
  login_insert_csrf_secret();

  @ <hr>
  onoff_attribute("Automatically synchronize with repository",
                  "autosync", "autosync", 0);