webif/webif/include/helplinks.jim
hummypkg 2bb88ac84d use .hmt as key file when loading .ts
git-svn-id: file:///root/webif/svn/pkg/webif/trunk@3670 2a923420-c742-0410-a762-8d5b09965624
2017-01-30 21:12:32 +00:00

31 lines
680 B
Tcl
Executable File

#!/mod/bin/jimsh
source /mod/webif/lib/setup
proc helplink {title icon link} {
puts -nonewline "
<div class=left>
<center>
<a href=\"$link\" target=_blank>
<img src=$icon style=\"padding: 1em\" border=0 height=100>
</a>
<br>
<a href=\"$link\" target=_blank>
<b>$title</b>
</a>
<br>
</center>
</div>
"
}
helplink "hummy.tv<br>Forums" "/img/forum.png" "http://hummy.tv/"
helplink "hummy.tv<br>Wiki" "/img/wiki.png" "http://wiki.hummy.tv/"
helplink "Things Every<br>Owner Should Know" "/img/started.png" \
"http://hummy.tv/forum/threads/1858/"
helplink "Twitter<br>Feed" "/img/silver-twitter-bird-button.png" \
"http://twitter.com/HummyPkg"
eval_plugins helplink