Fossil

Check-in [32e85b66]
Login

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

Overview
Comment:corrected HTML-validator problems
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | wolfgangFormat2CSS_2
Files: files | file ages | folders
SHA1: 32e85b6638a4cd65458eddda9253c75cd9f59dba
User & Date: wolfgang 2010-10-03 17:25:47
Context
2010-10-03
20:34
merge from trunk check-in: 287dd50e user: wolfgang tags: wolfgangFormat2CSS_2
17:25
corrected HTML-validator problems check-in: 32e85b66 user: wolfgang tags: wolfgangFormat2CSS_2
2010-10-02
15:44
make PellesC-Makefile dynamic, only special files (util, zlib th, sqlite are mentioned explicitly, other sources are read by wildcard expansion check-in: 3bb1f957 user: wolfgang tags: wolfgangFormat2CSS_2
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/attach.c.

   349    349       manifest_crosslink(rid, &manifest);
   350    350       db_end_transaction(0);
   351    351       cgi_redirect(zFrom);
   352    352     }    
   353    353     style_header("Delete Attachment");
   354    354     @ <form action="%s(g.zBaseURL)/attachdelete" method="post"><div>
   355    355     @ <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>
   357    357     if( zTkt ){
   358    358       @ <input type="hidden" name="tkt" value="%h(zTkt)" />
   359    359     }else{
   360    360       @ <input type="hidden" name="page" value="%h(zPage)" />
   361    361     }
   362    362     @ <input type="hidden" name="file" value="%h(zFile)" />
   363    363     @ <input type="hidden" name="from" value="%h(zFrom)" />
   364    364     @ <input type="submit" name="confirm" value="Delete" />
   365    365     @ <input type="submit" name="cancel" value="Cancel" />
   366    366     @ </div></form>
   367    367     style_footer();
   368    368   
   369    369   }

Changes to src/tkt.c.

   344    344         const char *zFile = db_column_text(&q, 1);
   345    345         const char *zUser = db_column_text(&q, 2);
   346    346         if( cnt==0 ){
   347    347           @ <hr /><h2>Attachments:</h2>
   348    348           @ <ul>
   349    349         }
   350    350         cnt++;
          351  +      @ <li>
   351    352         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)">
   353    354           @ %h(zFile)</a>
   354    355         }else{
   355    356           @ %h(zFile)
   356    357         }
   357    358         @ added by %h(zUser) on
   358    359         hyperlink_to_date(zDate, ".");
   359    360         if( g.okWrTkt && g.okAttach ){
   360    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>]
   361    362         }
          363  +      @ </li>
   362    364       }
   363    365       if( cnt ){
   364    366         @ </ul>
   365    367       }
   366    368       db_finalize(&q);
   367    369     }
   368    370    

Changes to src/wiki.c.

   221    221        " ORDER BY mtime DESC",
   222    222        zPageName);
   223    223     while( db_step(&q)==SQLITE_ROW ){
   224    224       const char *zDate = db_column_text(&q, 0);
   225    225       const char *zFile = db_column_text(&q, 1);
   226    226       const char *zUser = db_column_text(&q, 2);
   227    227       if( cnt==0 ){
   228         -      @ <hr><h2>Attachments:</h2>
          228  +      @ <hr /><h2>Attachments:</h2>
   229    229         @ <ul>
   230    230       }
   231    231       cnt++;
          232  +    @ <li>
   232    233       if( g.okHistory && g.okRead ){
   233         -      @ <li>
   234    234         @ <a href="%s(g.zTop)/attachview?page=%s(zPageName)&amp;file=%t(zFile)">
   235    235         @ %h(zFile)</a>
   236    236       }else{
   237    237         @ <li>%h(zFile)
   238    238       }
   239    239       @ added by %h(zUser) on
   240    240       hyperlink_to_date(zDate, ".");
   241    241       if( g.okWrWiki && g.okAttach ){
   242    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    243       }
          244  +    @ </li>
   244    245     }
   245    246     if( cnt ){
   246    247       @ </ul>
   247    248     }
   248    249     db_finalize(&q);
   249    250    
   250    251     if( !isSandbox ){