Differences From:
File
src/info.c
part of check-in
[285929373757b]
- Add the %w and %W formatting options for internal printf usage. Use
these formatting characters to render wiki. Fix additional problems of
unterminated wiki on webpage rendering by using %w. (There are probably
more problems yet to be discovered and fixed.)
by
drh on
2007-11-22 22:55:05.
[view]
To:
File
src/info.c
part of check-in
[34af72801d]
- New default header and footer and CSS. Add the ability to edit the footer.
by
drh on
2007-11-23 22:09:47.
[view]
@@ -134,9 +134,9 @@
const char *zCom = db_column_text(&q, 4);
cnt++;
if( cnt==1 ){
if( zTitle ){
- @ <div class="section-title">%s(zTitle)</div>
+ @ <div class="section">%s(zTitle)</div>
}
@ <ul>
}
@ <li>
@@ -185,9 +185,9 @@
const char *zCom = db_column_text(&q, 4);
cnt++;
if( cnt==1 ){
if( zTitle ){
- @ <div class="section-title">%s(zTitle)</div>
+ @ <div class="section">%s(zTitle)</div>
}
@ <ul>
}
@ <li>
@@ -225,9 +225,9 @@
const char *zUser = db_column_text(&q, 2);
const char *zCom = db_column_text(&q, 3);
cnt++;
if( cnt==1 ){
- @ <div class="section-title">Leaves</div>
+ @ <div class="section">Leaves</div>
@ <ul>
}
@ <li>
hyperlink_to_uuid(zUuid);
@@ -261,9 +261,9 @@
const char *zDate = db_column_text(&q, 5);
int tagtype = db_column_int(&q, 6);
cnt++;
if( cnt==1 ){
- @ <div class="section-title">Tags And Properties</div>
+ @ <div class="section">Tags And Properties</div>
@ <ul>
}
@ <li>
@ <b>%h(zTagname)</b>
@@ -322,9 +322,9 @@
char *zTitle = mprintf("Version: [%.10s]", zUuid);
style_header(zTitle);
free(zTitle);
/*@ <h2>Version %s(zUuid)</h2>*/
- @ <div class="section-title">Overview</div>
+ @ <div class="section">Overview</div>
@ <p><table class="label-value">
@ <tr><th>Version:</th><td>%s(zUuid)</td></tr>
@ <tr><th>Date:</th><td>%s(db_column_text(&q, 1))</td></tr>
if( g.okSetup ){
@@ -345,9 +345,9 @@
style_header("Version Information");
}
db_finalize(&q);
showTags(rid);
- @ <div class="section-title">Changes</div>
+ @ <div class="section">Changes</div>
@ <ul>
db_prepare(&q,
"SELECT name, pid, fid"
" FROM mlink, filename"
@@ -412,9 +412,9 @@
const char *zUuid = db_column_text(&q, 1);
char *zTitle = mprintf("Wiki Page %s", zName);
style_header(zTitle);
free(zTitle);
- @ <div class="section-title">Overview</div>
+ @ <div class="section">Overview</div>
@ <p><table class="label-value">
@ <tr><th>Version:</th><td>%s(zUuid)</td></tr>
@ <tr><th>Date:</th><td>%s(db_column_text(&q, 2))</td></tr>
if( g.okSetup ){