mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Added flag 'Hidden'
SVN revision: 499
This commit is contained in:
parent
d57da460e2
commit
0c2a00f2ee
@ -3,7 +3,7 @@ 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
|
- Fixed bug that attachments were deleted on reply
|
||||||
- Added flag "Hide from selection"
|
- Added flag "Hidden = 0|1"
|
||||||
|
|
||||||
Version 2.3.5, released April 9th, 2003
|
Version 2.3.5, released April 9th, 2003
|
||||||
=======================================
|
=======================================
|
||||||
|
|||||||
@ -1170,11 +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>
|
<li><b><code>Hidden = 0|1</code></b>
|
||||||
</br>
|
</br>
|
||||||
If this flag is <b>1</b>, the logbook is not displayed in the initial logbook selection
|
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
|
page and in the logbook tabs. This can be useful for logbooks which are only accessed
|
||||||
archiving and would clutter up the logbook selection page. Default is <b>0</b>.
|
for backup or archiving and would clutter up the logbook list for the normal user. To
|
||||||
|
access hidden logbooks, one has to enter the logbook URL directly, or from a bookmark list.
|
||||||
|
Default is <b>0</b>.
|
||||||
<p>
|
<p>
|
||||||
|
|
||||||
</ul><p>
|
</ul><p>
|
||||||
|
|||||||
@ -6,6 +6,9 @@
|
|||||||
Contents: Web server program for Electronic Logbook ELOG
|
Contents: Web server program for Electronic Logbook ELOG
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.85 2003/04/16 19:17:35 midas
|
||||||
|
Added flag 'Hidden'
|
||||||
|
|
||||||
Revision 1.84 2003/04/15 10:58:09 midas
|
Revision 1.84 2003/04/15 10:58:09 midas
|
||||||
Added 'hide from selection' flag
|
Added 'hide from selection' flag
|
||||||
|
|
||||||
@ -4375,6 +4378,9 @@ LBLIST clb, flb, nlb, lbl;
|
|||||||
if (level == 0 && clb[i].subgroup) // check for subgroup
|
if (level == 0 && clb[i].subgroup) // check for subgroup
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
if (getcfg(clb[i].name, "Hidden", str) && atoi(str) == 1)
|
||||||
|
continue;
|
||||||
|
|
||||||
strlcpy(str, clb[i].name, sizeof(str));
|
strlcpy(str, clb[i].name, sizeof(str));
|
||||||
|
|
||||||
/* build reference to first logbook in group */
|
/* build reference to first logbook in group */
|
||||||
@ -11004,7 +11010,7 @@ char str[10000];
|
|||||||
if (!lb_list[i].name[0])
|
if (!lb_list[i].name[0])
|
||||||
break;
|
break;
|
||||||
|
|
||||||
if (!getcfg(lb_list[i].name, "Hide from selection", str) || atoi(str) == 0)
|
if (!getcfg(lb_list[i].name, "Hidden", str) || atoi(str) == 0)
|
||||||
{
|
{
|
||||||
rsprintf("<tr><td class=\"attribname\"><a href=\"%s/\">%s</a></td>", lb_list[i].name_enc, lb_list[i].name);
|
rsprintf("<tr><td class=\"attribname\"><a href=\"%s/\">%s</a></td>", lb_list[i].name_enc, lb_list[i].name);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user