Index: work/feature_poll/pcb-rnd-poll.cgi =================================================================== --- work/feature_poll/pcb-rnd-poll.cgi (revision 1659) +++ work/feature_poll/pcb-rnd-poll.cgi (revision 1660) @@ -522,7 +522,7 @@ echo "";; esac - echo "$votes" | awk -F "[|]" -v "choices=$choices" -v "choices_short=$choices_short" -v "qs_features=$QS_features" -v "cgi=$CGI" -v "fmt=$QS_fmt" ' + echo "$votes" | awk -F "[|]" -v "choices=$choices" -v "choices_short=$choices_short" -v "qs_features=$QS_features" -v "cgi=$CGI" -v "fmt=$QS_fmt" -v "root=$root" -v "srcdir=$srcdir" ' BEGIN { HTML=1 PIE=2 @@ -545,6 +545,15 @@ function html_tbl(TBL, divisor, feat ,n,img) { print "
" feature ""
+ print " " load(feature, "short") "" + print " | " + if (feature != "") + print "" + else + print " " + + img=cgi "?cmd=stats&features=" feat "&fmt=pie" for(n=0; n < levels; n++) { print " | |||
" CHOICES_SHORT[n+1] " " CHOICES[n+1] " " @@ -553,6 +562,7 @@ print " | " } print " |