/[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

Diff of /html/inc/show_bool.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by dpavlin, Thu Jun 1 09:30:42 2000 UTC revision 1.2 by dpavlin, Thu Jun 1 09:32:22 2000 UTC
# Line 1  Line 1 
1  <?  <?
2          function show_bool($val) {          function show_bool($val) {
3                  if ($val == 't') {                  if ($val == 't') {
4                          return "<img src=pix/t.gif>";                          return "<img src=pix/t.gif alt=da>";
5                  } elseif ($val == 'f') {                  } elseif ($val == 'f') {
6                          return "<img src=pix/f.gif>";                          return "<img src=pix/f.gif alt=ne>";
7                  } else {                  } else {
8                          return "<img src=pix/q.gif>";                          return "<img src=pix/q.gif alt=nepoznato>";
9                  }                  }
10          }          }
11  ?>  ?>

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.26