mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-12 19:33:03 +00:00
Make active logbook tab also a link
SVN revision: 307
This commit is contained in:
parent
54c4df0c37
commit
f6ad81f22b
29
elogd.c
29
elogd.c
@ -6,6 +6,9 @@
|
|||||||
Contents: Web server program for Electronic Logbook ELOG
|
Contents: Web server program for Electronic Logbook ELOG
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 2.114 2002/12/12 13:25:59 midas
|
||||||
|
Make active logbook tab also a link
|
||||||
|
|
||||||
Revision 2.113 2002/12/12 12:42:37 midas
|
Revision 2.113 2002/12/12 12:42:37 midas
|
||||||
Added 'quick filter' option
|
Added 'quick filter' option
|
||||||
|
|
||||||
@ -3781,28 +3784,22 @@ int i, j;
|
|||||||
{
|
{
|
||||||
rsprintf("<font size=3 face=verdana,arial,helvetica,sans-serif style=\"color:%s;background-color:%s\"> ",
|
rsprintf("<font size=3 face=verdana,arial,helvetica,sans-serif style=\"color:%s;background-color:%s\"> ",
|
||||||
gt("Title fontcolor"), gt("Title BGColor"));
|
gt("Title fontcolor"), gt("Title BGColor"));
|
||||||
|
rsprintf("<a style=\"text-decoration:none;color:%s\" href=\"../%s/\">", gt("Title fontcolor"), ref);
|
||||||
for (j=0 ; j<(int)strlen(str) ; j++)
|
|
||||||
if (str[j] == ' ')
|
|
||||||
rsprintf(" ");
|
|
||||||
else
|
|
||||||
rsprintf("%c", str[j]);
|
|
||||||
|
|
||||||
rsprintf(" </font> \n");
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
rsprintf("<font size=3 face=verdana,arial,helvetica,sans-serif style=\"background-color:#E0E0E0\"> ");
|
rsprintf("<font size=3 face=verdana,arial,helvetica,sans-serif style=\"background-color:#E0E0E0\"> ");
|
||||||
rsprintf("<a style=\"text-decoration:none\" href=\"../%s/\">", ref);
|
rsprintf("<a style=\"text-decoration:none\" href=\"../%s/\">", ref);
|
||||||
|
|
||||||
for (j=0 ; j<(int)strlen(str) ; j++)
|
|
||||||
if (str[j] == ' ')
|
|
||||||
rsprintf(" ");
|
|
||||||
else
|
|
||||||
rsprintf("%c", str[j]);
|
|
||||||
|
|
||||||
rsprintf("</a> </font> \n");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
for (j=0 ; j<(int)strlen(str) ; j++)
|
||||||
|
if (str[j] == ' ')
|
||||||
|
rsprintf(" ");
|
||||||
|
else
|
||||||
|
rsprintf("%c", str[j]);
|
||||||
|
|
||||||
|
rsprintf("</a> </font> \n");
|
||||||
}
|
}
|
||||||
rsprintf("</td></tr>\n\n");
|
rsprintf("</td></tr>\n\n");
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user