Added lock icon for protected logbooks

SVN revision: 519
This commit is contained in:
2003-05-02 10:00:31 +00:00
parent a39f236185
commit 9d242de3ff
3 changed files with 12 additions and 3 deletions
+2 -2
View File
@@ -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><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>Multiple templates for "Preset text"<td>1</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>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>Display a warning if a message is currently edited by someone else<td>1</tr>
</table></center><p>
Executable
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 144 B

+10 -1
View File
@@ -6,6 +6,9 @@
Contents: Web server program for Electronic Logbook ELOG
$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
Increased MAX_ATTACHMENT to 50
@@ -11075,8 +11078,14 @@ char str[10000];
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("&nbsp;&nbsp;<img src=\"lock.gif\">");
rsprintf("</td>\n");
str[0] = 0;
getcfg(lb_list[i].name, "Comment", str);
rsprintf("<td class=\"attribvalue\">%s&nbsp;</td>\n", str);