Fossil SCM

corrected HTML-validator problems

wolfgang 2010-10-03 17:25 wolfgangFormat2CSS_2
Commit 32e85b6638a4cd65458eddda9253c75cd9f59dba
3 files changed +1 -1 +3 -1 +3 -2
+1 -1
--- src/attach.c
+++ src/attach.c
@@ -351,11 +351,11 @@
351351
cgi_redirect(zFrom);
352352
}
353353
style_header("Delete Attachment");
354354
@ <form action="%s(g.zBaseURL)/attachdelete" method="post"><div>
355355
@ <p>Confirm that you want to delete the attachment named
356
- @ "%h(zFile)" on %s(zTkt?"ticket":"wiki page") %h(zTarget):<br />
356
+ @ "%h(zFile)" on %s(zTkt?"ticket":"wiki page") %h(zTarget):<br /></p>
357357
if( zTkt ){
358358
@ <input type="hidden" name="tkt" value="%h(zTkt)" />
359359
}else{
360360
@ <input type="hidden" name="page" value="%h(zPage)" />
361361
}
362362
--- src/attach.c
+++ src/attach.c
@@ -351,11 +351,11 @@
351 cgi_redirect(zFrom);
352 }
353 style_header("Delete Attachment");
354 @ <form action="%s(g.zBaseURL)/attachdelete" method="post"><div>
355 @ <p>Confirm that you want to delete the attachment named
356 @ "%h(zFile)" on %s(zTkt?"ticket":"wiki page") %h(zTarget):<br />
357 if( zTkt ){
358 @ <input type="hidden" name="tkt" value="%h(zTkt)" />
359 }else{
360 @ <input type="hidden" name="page" value="%h(zPage)" />
361 }
362
--- src/attach.c
+++ src/attach.c
@@ -351,11 +351,11 @@
351 cgi_redirect(zFrom);
352 }
353 style_header("Delete Attachment");
354 @ <form action="%s(g.zBaseURL)/attachdelete" method="post"><div>
355 @ <p>Confirm that you want to delete the attachment named
356 @ "%h(zFile)" on %s(zTkt?"ticket":"wiki page") %h(zTarget):<br /></p>
357 if( zTkt ){
358 @ <input type="hidden" name="tkt" value="%h(zTkt)" />
359 }else{
360 @ <input type="hidden" name="page" value="%h(zPage)" />
361 }
362
+3 -1
--- src/tkt.c
+++ src/tkt.c
@@ -346,21 +346,23 @@
346346
if( cnt==0 ){
347347
@ <hr /><h2>Attachments:</h2>
348348
@ <ul>
349349
}
350350
cnt++;
351
+ @ <li>
351352
if( g.okRead && g.okHistory ){
352
- @ <li><a href="%s(g.zTop)/attachview?tkt=%s(zFullName)&amp;file=%t(zFile)">
353
+ @ <a href="%s(g.zTop)/attachview?tkt=%s(zFullName)&amp;file=%t(zFile)">
353354
@ %h(zFile)</a>
354355
}else{
355356
@ %h(zFile)
356357
}
357358
@ added by %h(zUser) on
358359
hyperlink_to_date(zDate, ".");
359360
if( g.okWrTkt && g.okAttach ){
360361
@ [<a href="%s(g.zTop)/attachdelete?tkt=%s(zFullName)&amp;file=%t(zFile)&amp;from=%s(g.zTop)/tktview%%3fname=%s(zFullName)">delete</a>]
361362
}
363
+ @ </li>
362364
}
363365
if( cnt ){
364366
@ </ul>
365367
}
366368
db_finalize(&q);
367369
--- src/tkt.c
+++ src/tkt.c
@@ -346,21 +346,23 @@
346 if( cnt==0 ){
347 @ <hr /><h2>Attachments:</h2>
348 @ <ul>
349 }
350 cnt++;
 
351 if( g.okRead && g.okHistory ){
352 @ <li><a href="%s(g.zTop)/attachview?tkt=%s(zFullName)&amp;file=%t(zFile)">
353 @ %h(zFile)</a>
354 }else{
355 @ %h(zFile)
356 }
357 @ added by %h(zUser) on
358 hyperlink_to_date(zDate, ".");
359 if( g.okWrTkt && g.okAttach ){
360 @ [<a href="%s(g.zTop)/attachdelete?tkt=%s(zFullName)&amp;file=%t(zFile)&amp;from=%s(g.zTop)/tktview%%3fname=%s(zFullName)">delete</a>]
361 }
 
362 }
363 if( cnt ){
364 @ </ul>
365 }
366 db_finalize(&q);
367
--- src/tkt.c
+++ src/tkt.c
@@ -346,21 +346,23 @@
346 if( cnt==0 ){
347 @ <hr /><h2>Attachments:</h2>
348 @ <ul>
349 }
350 cnt++;
351 @ <li>
352 if( g.okRead && g.okHistory ){
353 @ <a href="%s(g.zTop)/attachview?tkt=%s(zFullName)&amp;file=%t(zFile)">
354 @ %h(zFile)</a>
355 }else{
356 @ %h(zFile)
357 }
358 @ added by %h(zUser) on
359 hyperlink_to_date(zDate, ".");
360 if( g.okWrTkt && g.okAttach ){
361 @ [<a href="%s(g.zTop)/attachdelete?tkt=%s(zFullName)&amp;file=%t(zFile)&amp;from=%s(g.zTop)/tktview%%3fname=%s(zFullName)">delete</a>]
362 }
363 @ </li>
364 }
365 if( cnt ){
366 @ </ul>
367 }
368 db_finalize(&q);
369
+3 -2
--- src/wiki.c
+++ src/wiki.c
@@ -223,16 +223,16 @@
223223
while( db_step(&q)==SQLITE_ROW ){
224224
const char *zDate = db_column_text(&q, 0);
225225
const char *zFile = db_column_text(&q, 1);
226226
const char *zUser = db_column_text(&q, 2);
227227
if( cnt==0 ){
228
- @ <hr><h2>Attachments:</h2>
228
+ @ <hr /><h2>Attachments:</h2>
229229
@ <ul>
230230
}
231231
cnt++;
232
+ @ <li>
232233
if( g.okHistory && g.okRead ){
233
- @ <li>
234234
@ <a href="%s(g.zTop)/attachview?page=%s(zPageName)&amp;file=%t(zFile)">
235235
@ %h(zFile)</a>
236236
}else{
237237
@ <li>%h(zFile)
238238
}
@@ -239,10 +239,11 @@
239239
@ added by %h(zUser) on
240240
hyperlink_to_date(zDate, ".");
241241
if( g.okWrWiki && g.okAttach ){
242242
@ [<a href="%s(g.zTop)/attachdelete?page=%s(zPageName)&amp;file=%t(zFile)&amp;from=%s(g.zTop)/wiki%%3fname=%s(zPageName)">delete</a>]
243243
}
244
+ @ </li>
244245
}
245246
if( cnt ){
246247
@ </ul>
247248
}
248249
db_finalize(&q);
249250
--- src/wiki.c
+++ src/wiki.c
@@ -223,16 +223,16 @@
223 while( db_step(&q)==SQLITE_ROW ){
224 const char *zDate = db_column_text(&q, 0);
225 const char *zFile = db_column_text(&q, 1);
226 const char *zUser = db_column_text(&q, 2);
227 if( cnt==0 ){
228 @ <hr><h2>Attachments:</h2>
229 @ <ul>
230 }
231 cnt++;
 
232 if( g.okHistory && g.okRead ){
233 @ <li>
234 @ <a href="%s(g.zTop)/attachview?page=%s(zPageName)&amp;file=%t(zFile)">
235 @ %h(zFile)</a>
236 }else{
237 @ <li>%h(zFile)
238 }
@@ -239,10 +239,11 @@
239 @ added by %h(zUser) on
240 hyperlink_to_date(zDate, ".");
241 if( g.okWrWiki && g.okAttach ){
242 @ [<a href="%s(g.zTop)/attachdelete?page=%s(zPageName)&amp;file=%t(zFile)&amp;from=%s(g.zTop)/wiki%%3fname=%s(zPageName)">delete</a>]
243 }
 
244 }
245 if( cnt ){
246 @ </ul>
247 }
248 db_finalize(&q);
249
--- src/wiki.c
+++ src/wiki.c
@@ -223,16 +223,16 @@
223 while( db_step(&q)==SQLITE_ROW ){
224 const char *zDate = db_column_text(&q, 0);
225 const char *zFile = db_column_text(&q, 1);
226 const char *zUser = db_column_text(&q, 2);
227 if( cnt==0 ){
228 @ <hr /><h2>Attachments:</h2>
229 @ <ul>
230 }
231 cnt++;
232 @ <li>
233 if( g.okHistory && g.okRead ){
 
234 @ <a href="%s(g.zTop)/attachview?page=%s(zPageName)&amp;file=%t(zFile)">
235 @ %h(zFile)</a>
236 }else{
237 @ <li>%h(zFile)
238 }
@@ -239,10 +239,11 @@
239 @ added by %h(zUser) on
240 hyperlink_to_date(zDate, ".");
241 if( g.okWrWiki && g.okAttach ){
242 @ [<a href="%s(g.zTop)/attachdelete?page=%s(zPageName)&amp;file=%t(zFile)&amp;from=%s(g.zTop)/wiki%%3fname=%s(zPageName)">delete</a>]
243 }
244 @ </li>
245 }
246 if( cnt ){
247 @ </ul>
248 }
249 db_finalize(&q);
250

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button