mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Added lock icon for protected logbooks
SVN revision: 519
This commit is contained in:
parent
a39f236185
commit
9d242de3ff
@ -33,7 +33,7 @@ starting at the items with the most votes. You can vote for a feature, or sugges
|
|||||||
<tr><th>Feature<th>Votes</tr>
|
<tr><th>Feature<th>Votes</tr>
|
||||||
|
|
||||||
<tr><td>Get message from standard input in elog submission program<td>1</tr>
|
<tr><td>Get message from standard input in elog submission program<td>1</tr>
|
||||||
<tr><td>Implement groups of users<td>2</tr>
|
<tr><td>Implement groups of users<td>3</tr>
|
||||||
<tr><td>Display the last logbook entry date and author on logbook selection page<td>1</tr>
|
<tr><td>Display the last logbook entry date and author on logbook selection page<td>1</tr>
|
||||||
<tr><td>Multiple templates for "Preset text"<td>1</tr>
|
<tr><td>Multiple templates for "Preset text"<td>1</tr>
|
||||||
<tr><td>Conditional attributes<td>3</tr>
|
<tr><td>Conditional attributes<td>3</tr>
|
||||||
@ -45,7 +45,7 @@ starting at the items with the most votes. You can vote for a feature, or sugges
|
|||||||
<tr><td>Make attributes to display selectable in "Find" page<td>1</tr>
|
<tr><td>Make attributes to display selectable in "Find" page<td>1</tr>
|
||||||
<tr><td>Convert elog text files into XML files and comma separated files with elconv<td>1</tr>
|
<tr><td>Convert elog text files into XML files and comma separated files with elconv<td>1</tr>
|
||||||
<tr><td>On config user page, don't go back to logbook page after changing a user as admin<td>1</tr>
|
<tr><td>On config user page, don't go back to logbook page after changing a user as admin<td>1</tr>
|
||||||
|
<tr><td>Display a warning if a message is currently edited by someone else<td>1</tr>
|
||||||
|
|
||||||
</table></center><p>
|
</table></center><p>
|
||||||
|
|
||||||
|
|||||||
11
src/elogd.c
11
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.99 2003/05/02 10:00:31 midas
|
||||||
|
Added lock icon for protected logbooks
|
||||||
|
|
||||||
Revision 1.98 2003/05/02 06:57:40 midas
|
Revision 1.98 2003/05/02 06:57:40 midas
|
||||||
Increased MAX_ATTACHMENT to 50
|
Increased MAX_ATTACHMENT to 50
|
||||||
|
|
||||||
@ -11075,8 +11078,14 @@ char str[10000];
|
|||||||
|
|
||||||
if (!getcfg(lb_list[i].name, "Hidden", 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>", lb_list[i].name_enc, lb_list[i].name);
|
||||||
|
|
||||||
|
if (getcfg(lb_list[i].name, "Read password", str) ||
|
||||||
|
(getcfg(lb_list[i].name, "Password file", str) &&
|
||||||
|
!getcfg(lb_list[i].name, "Guest menu commands", str)))
|
||||||
|
rsprintf(" <img src=\"lock.gif\">");
|
||||||
|
|
||||||
|
rsprintf("</td>\n");
|
||||||
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);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user