mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Added 'hide from selection' flag
SVN revision: 498
This commit is contained in:
parent
75026ee5b6
commit
d57da460e2
@ -2,6 +2,8 @@ Version 2.3.6, released April xxx, 2003
|
|||||||
=======================================
|
=======================================
|
||||||
|
|
||||||
- Eliminated WEB_BUFFER_SIZE, made memory allocation dynamically
|
- Eliminated WEB_BUFFER_SIZE, made memory allocation dynamically
|
||||||
|
- Fixed bug that attachments were deleted on reply
|
||||||
|
- Added flag "Hide from selection"
|
||||||
|
|
||||||
Version 2.3.5, released April 9th, 2003
|
Version 2.3.5, released April 9th, 2003
|
||||||
=======================================
|
=======================================
|
||||||
|
|||||||
@ -1170,6 +1170,13 @@ message body. The number of lines is controlled by the <b><code>Summary lines</b
|
|||||||
The default is <b>1</b>.
|
The default is <b>1</b>.
|
||||||
<p>
|
<p>
|
||||||
|
|
||||||
|
<li><b><code>Hide from selection = 0|1</code></b>
|
||||||
|
</br>
|
||||||
|
If this flag is <b>1</b>, the logbook is not displayed in the initial logbook selection
|
||||||
|
page. This can be useful for "hidden" logbooks, which are only accessed for backup or
|
||||||
|
archiving and would clutter up the logbook selection page. Default is <b>0</b>.
|
||||||
|
<p>
|
||||||
|
|
||||||
</ul><p>
|
</ul><p>
|
||||||
|
|
||||||
<a name="themes"><hr>
|
<a name="themes"><hr>
|
||||||
|
|||||||
20
src/elogd.c
20
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.84 2003/04/15 10:58:09 midas
|
||||||
|
Added 'hide from selection' flag
|
||||||
|
|
||||||
Revision 1.83 2003/04/14 08:43:11 midas
|
Revision 1.83 2003/04/14 08:43:11 midas
|
||||||
Fixed bug that attachments got deleted if one replies to a message
|
Fixed bug that attachments got deleted if one replies to a message
|
||||||
|
|
||||||
@ -11001,15 +11004,18 @@ char str[10000];
|
|||||||
if (!lb_list[i].name[0])
|
if (!lb_list[i].name[0])
|
||||||
break;
|
break;
|
||||||
|
|
||||||
rsprintf("<tr><td class=\"attribname\"><a href=\"%s/\">%s</a></td>", lb_list[i].name_enc, lb_list[i].name);
|
if (!getcfg(lb_list[i].name, "Hide from selection", str) || atoi(str) == 0)
|
||||||
|
{
|
||||||
|
rsprintf("<tr><td class=\"attribname\"><a href=\"%s/\">%s</a></td>", lb_list[i].name_enc, lb_list[i].name);
|
||||||
|
|
||||||
str[0] = 0;
|
str[0] = 0;
|
||||||
getcfg(lb_list[i].name, "Comment", str);
|
getcfg(lb_list[i].name, "Comment", str);
|
||||||
rsprintf("<td class=\"attribvalue\">%s </td>\n", str);
|
rsprintf("<td class=\"attribvalue\">%s </td>\n", str);
|
||||||
|
|
||||||
rsprintf("<td nowrap class=\"attribvalue2\">");
|
rsprintf("<td nowrap class=\"attribvalue2\">");
|
||||||
rsprintf(loc("%d entries"), *lb_list[i].n_el_index);
|
rsprintf(loc("%d entries"), *lb_list[i].n_el_index);
|
||||||
rsprintf("</td></tr>\n");
|
rsprintf("</td></tr>\n");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
rsprintf("</table></body>\n");
|
rsprintf("</table></body>\n");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user