/[informatika.old]/html/inc/show_bool.inc
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /html/inc/show_bool.inc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations)
Thu Jun 1 09:32:22 2000 UTC (23 years, 11 months ago) by dpavlin
Branch: MAIN
CVS Tags: HEAD
Branch point for: dbi
Changes since 1.1: +3 -3 lines
dodan alt= opis

1 dpavlin 1.1 <?
2     function show_bool($val) {
3     if ($val == 't') {
4 dpavlin 1.2 return "<img src=pix/t.gif alt=da>";
5 dpavlin 1.1 } elseif ($val == 'f') {
6 dpavlin 1.2 return "<img src=pix/f.gif alt=ne>";
7 dpavlin 1.1 } else {
8 dpavlin 1.2 return "<img src=pix/q.gif alt=nepoznato>";
9 dpavlin 1.1 }
10     }
11     ?>

  ViewVC Help
Powered by ViewVC 1.1.26