| | @@ -213,11 +213,11 @@ |
| 213 | 213 | vid = g.localOpen ? db_lget_int("checkout", 0) : 0; |
| 214 | 214 | if( vid ){ |
| 215 | 215 | show_common_info(vid, "checkout:", 1, 1); |
| 216 | 216 | } |
| 217 | 217 | fossil_print("check-ins: %d\n", |
| 218 | | - db_int(-1, "SELECT count(*) FROM event WHERE type='ci' /*scan*/")); |
| 218 | + db_int(-1, "SELECT count(*) FROM event WHERE type='ci' /*scan*/")); |
| 219 | 219 | }else{ |
| 220 | 220 | int rid; |
| 221 | 221 | rid = name_to_rid(g.argv[2]); |
| 222 | 222 | if( rid==0 ){ |
| 223 | 223 | fossil_fatal("no such object: %s\n", g.argv[2]); |
| | @@ -598,12 +598,14 @@ |
| 598 | 598 | }else{ |
| 599 | 599 | @ <tr><th>User:</th><td> |
| 600 | 600 | hyperlink_to_user(zUser,zDate,"</td></tr>"); |
| 601 | 601 | } |
| 602 | 602 | if( zEComment ){ |
| 603 | | - @ <tr><th>Edited Comment:</th><td class="infoComment">%!W(zEComment)</td></tr> |
| 604 | | - @ <tr><th>Original Comment:</th><td class="infoComment">%!W(zComment)</td></tr> |
| 603 | + @ <tr><th>Edited Comment:</th> |
| 604 | + @ <td class="infoComment">%!W(zEComment)</td></tr> |
| 605 | + @ <tr><th>Original Comment:</th> |
| 606 | + @ <td class="infoComment">%!W(zComment)</td></tr> |
| 605 | 607 | }else{ |
| 606 | 608 | @ <tr><th>Comment:</th><td class="infoComment">%!W(zComment)</td></tr> |
| 607 | 609 | } |
| 608 | 610 | if( g.perm.Admin ){ |
| 609 | 611 | db_prepare(&q2, |
| | @@ -1626,11 +1628,11 @@ |
| 1626 | 1628 | if( !g.perm.Read ){ login_needed(g.anon.Read); return; } |
| 1627 | 1629 | if( rid==0 ) fossil_redirect_home(); |
| 1628 | 1630 | if( g.perm.Admin ){ |
| 1629 | 1631 | const char *zUuid = db_text("", "SELECT uuid FROM blob WHERE rid=%d", rid); |
| 1630 | 1632 | if( db_exists("SELECT 1 FROM shun WHERE uuid=%Q", zUuid) ){ |
| 1631 | | - style_submenu_element("Unshun","Unshun", "%s/shun?accept=%s&sub=1#delshun", |
| 1633 | + style_submenu_element("Unshun","Unshun","%s/shun?accept=%s&sub=1#delshun", |
| 1632 | 1634 | g.zTop, zUuid); |
| 1633 | 1635 | }else{ |
| 1634 | 1636 | style_submenu_element("Shun","Shun", "%s/shun?shun=%s#addshun", |
| 1635 | 1637 | g.zTop, zUuid); |
| 1636 | 1638 | } |
| | @@ -1849,11 +1851,11 @@ |
| 1849 | 1851 | /*NOTREACHED*/ |
| 1850 | 1852 | } |
| 1851 | 1853 | if( g.perm.Admin ){ |
| 1852 | 1854 | const char *zUuid = db_text("", "SELECT uuid FROM blob WHERE rid=%d", rid); |
| 1853 | 1855 | if( db_exists("SELECT 1 FROM shun WHERE uuid=%Q", zUuid) ){ |
| 1854 | | - style_submenu_element("Unshun","Unshun", "%s/shun?accept=%s&sub=1#accshun", |
| 1856 | + style_submenu_element("Unshun","Unshun","%s/shun?accept=%s&sub=1#accshun", |
| 1855 | 1857 | g.zTop, zUuid); |
| 1856 | 1858 | }else{ |
| 1857 | 1859 | style_submenu_element("Shun","Shun", "%s/shun?shun=%s#addshun", |
| 1858 | 1860 | g.zTop, zUuid); |
| 1859 | 1861 | } |
| | @@ -1926,11 +1928,11 @@ |
| 1926 | 1928 | wiki_render_by_mimetype(&content, zMime); |
| 1927 | 1929 | }else if( renderAsHtml ){ |
| 1928 | 1930 | @ <iframe src="%R/raw/%T(blob_str(&downloadName))?name=%s(zUuid)" |
| 1929 | 1931 | @ width="100%%" frameborder="0" marginwidth="0" marginheight="0" |
| 1930 | 1932 | @ sandbox="allow-same-origin" |
| 1931 | | - @ onload="this.height = this.contentDocument.documentElement.scrollHeight;"> |
| 1933 | + @ onload="this.height=this.contentDocument.documentElement.scrollHeight;"> |
| 1932 | 1934 | @ </iframe> |
| 1933 | 1935 | }else{ |
| 1934 | 1936 | style_submenu_element("Hex","Hex", "%s/hexdump?name=%s", g.zTop, zUuid); |
| 1935 | 1937 | blob_to_utf8_no_bom(&content, 0); |
| 1936 | 1938 | zMime = mimetype_from_content(&content); |
| 1937 | 1939 | |