Fossil

Check-in [37f295c3]
Login

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

Overview
Comment:Fix a URL on the logo setup page.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 37f295c310cd0e89f49432a38e6d0f108c0a57c4
User & Date: drh 2009-09-21 19:19:20
References
2009-11-26
17:46 New ticket [1e919e38] "fossil update" doesn't update. artifact: ca34c43d user: anonymous
2009-10-10
10:06 Ticket [bfb8427c] Cloning and syncing an URL with no repository or misconfigured CGI repository fails silently. status still Open with 1 other change artifact: 82d4a349 user: anonymous
09:13 Ticket [bfb8427c]: 4 changes artifact: e1925b83 user: anonymous
2009-10-07
00:17 New ticket [68c7f7be] remote-url command doesn't persist username and password. artifact: e2f22938 user: rwilson
2009-09-23
05:41 Ticket [665995e4] no such table: vvar status still Open with 1 other change artifact: 01476f5b user: rwilson
05:13 New ticket [665995e4]. artifact: 3baac2fd user: rwilson
Context
2009-09-21
20:40
Add a <br clear="both"> before the footer on every page. check-in: 249f1bea user: drh tags: trunk
19:19
Fix a URL on the logo setup page. check-in: 37f295c3 user: drh tags: trunk
19:10
Add a "logo" image to the local server state. Return this image on all requests to the "/logo" URL. All the administrator to setup that image. Include the image in the default header. check-in: 43481115 user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/setup.c.

1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
    db_multi_exec(
       "DELETE FROM config WHERE name GLOB 'logo-*'"
    );
  }
  style_header("Edit Project Logo");
  @ <p>The current project logo has a MIME-Type of <b>%h(zMime)</b> and looks
  @ like this:</p>
  @ <blockquote><img src="/logo" alt="logo"></blockquote>
  @ 
  @ <form action="%s(g.zBaseURL)/setup_logo" method="POST"
  @  enctype="multipart/form-data">
  @ <p>The logo is accessible to all users at this URL:
  @ <a href="%s(g.zBaseURL)/logo">%s(g.zBaseURL)/logo</a>.
  @ To set a new logo image, select a file to use as the logo using
  @ the entry box below and then press the "Change Logo" button.</p>







|







1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
    db_multi_exec(
       "DELETE FROM config WHERE name GLOB 'logo-*'"
    );
  }
  style_header("Edit Project Logo");
  @ <p>The current project logo has a MIME-Type of <b>%h(zMime)</b> and looks
  @ like this:</p>
  @ <blockquote><img src="%s(g.zTop)/logo" alt="logo"></blockquote>
  @ 
  @ <form action="%s(g.zBaseURL)/setup_logo" method="POST"
  @  enctype="multipart/form-data">
  @ <p>The logo is accessible to all users at this URL:
  @ <a href="%s(g.zBaseURL)/logo">%s(g.zBaseURL)/logo</a>.
  @ To set a new logo image, select a file to use as the logo using
  @ the entry box below and then press the "Change Logo" button.</p>