mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Implemented tooltips for ROptions
SVN revision: 1788
This commit is contained in:
parent
95319b5318
commit
7f26328677
@ -9667,7 +9667,13 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL
|
||||
if (strchr(str, '{'))
|
||||
*strchr(str, '{') = 0;
|
||||
|
||||
rsprintf("<span style=\"white-space:nowrap;\">\n");
|
||||
/* display check box with optional tooltip */
|
||||
sprintf(str, "Tooltip %s", attr_options[index][i]);
|
||||
tooltip[0] = 0;
|
||||
if (getcfg(lbs->name, str, comment, sizeof(comment)))
|
||||
sprintf(tooltip, " title=\"%s\"", comment);
|
||||
|
||||
rsprintf("<span%s style=\"white-space:nowrap;\">\n", tooltip);
|
||||
|
||||
if (strstr(attrib[index], attr_options[index][i])
|
||||
|| strieq(str, attrib[index]))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user