mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-10 18:23:28 +00:00
Apply tooltip title to whole attribute row
SVN revision: 962
This commit is contained in:
parent
37c51b56df
commit
a4cca0f3e3
15
src/elogd.c
15
src/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 1.386 2004/07/15 07:59:15 midas
|
||||||
|
Apply tooltip title to whole attribute row
|
||||||
|
|
||||||
Revision 1.385 2004/07/14 20:29:40 midas
|
Revision 1.385 2004/07/14 20:29:40 midas
|
||||||
Implemented 'tooltip <attribute>'
|
Implemented 'tooltip <attribute>'
|
||||||
|
|
||||||
@ -6979,15 +6982,15 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* display text box */
|
/* display text box with optional tooltip */
|
||||||
rsprintf("<tr><td nowrap class=\"attribname\">");
|
|
||||||
|
|
||||||
/* display attribute name with optional tooltip */
|
|
||||||
sprintf(str, "Tooltip %s", attr_list[index]);
|
sprintf(str, "Tooltip %s", attr_list[index]);
|
||||||
if (getcfg(lbs->name, str, comment))
|
if (getcfg(lbs->name, str, comment))
|
||||||
rsprintf("<div title=\"%s\">%s%s:</div>", comment, attr_list[index], star);
|
rsprintf("<tr title=\"%s\"><td nowrap class=\"attribname\">", comment);
|
||||||
else
|
else
|
||||||
rsprintf("<div title=\"%s\">%s%s:</div>", comment, attr_list[index], star);
|
rsprintf("<tr><td nowrap class=\"attribname\">");
|
||||||
|
|
||||||
|
/* display attribute name */
|
||||||
|
rsprintf("%s%s:", attr_list[index], star);
|
||||||
|
|
||||||
/* show optional comment */
|
/* show optional comment */
|
||||||
sprintf(str, "Comment %s", attr_list[index]);
|
sprintf(str, "Comment %s", attr_list[index]);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user