Tcl Source Code

Check-in [13b8547f59]
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

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

Overview
Comment:Fix the generated copyright sections in the HTML help file.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | htmlCopyrightsFix
Files: files | file ages | folders
SHA1: 13b8547f59a0e583541a97623a261e0983107840
User & Date: mistachkin 2016-11-02 01:42:49
Context
2016-11-04
11:50
Fix the generated copyright sections in the HTML help file. check-in: 973f7c7d0b user: jan.nijtmans tags: core-8-6-branch
2016-11-02
01:42
Fix the generated copyright sections in the HTML help file. Closed-Leaf check-in: 13b8547f59 user: mistachkin tags: htmlCopyrightsFix
2016-07-26
13:54
a few test & docs fixes Closed-Leaf check-in: 6c53c071ed user: dgp tags: rc2, release, core-8-6-6-rc, core-8-6-6
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to tools/tcltk-man2html-utils.tcl.

53
54
55
56
57
58
59

60
61



62

63
64
65
66
67
68
69
    #return "<A HREF=\"$page\">Copyright</A> &#169; [htmlize-text [lrange $copyright 2 end]]"
    # obfuscate any email addresses that may appear in name
    set who [string map {@ (at)} [lrange $copyright 2 end]]
    return "Copyright &copy; [htmlize-text $who]"
}

proc copyout {copyrights {level {}}} {

    set out "<div class=\"copy\">"
    foreach c $copyrights {



	append out "[copyright $c $level]\n"

    }
    append out "</div>"
    return $out
}

proc CSS {{level ""}} {
    return "<link rel=\"stylesheet\" href=\"${level}$::CSSFILE\" type=\"text/css\" media=\"all\">\n"






>


>
>
>

>







53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
    #return "<A HREF=\"$page\">Copyright</A> &#169; [htmlize-text [lrange $copyright 2 end]]"
    # obfuscate any email addresses that may appear in name
    set who [string map {@ (at)} [lrange $copyright 2 end]]
    return "Copyright &copy; [htmlize-text $who]"
}

proc copyout {copyrights {level {}}} {
    set count 0
    set out "<div class=\"copy\">"
    foreach c $copyrights {
	if {$count > 0} {
	    append out <BR>
	}
	append out "[copyright $c $level]\n"
	incr count
    }
    append out "</div>"
    return $out
}

proc CSS {{level ""}} {
    return "<link rel=\"stylesheet\" href=\"${level}$::CSSFILE\" type=\"text/css\" media=\"all\">\n"