Added lock icon for protected logbooks
SVN revision: 519
This commit is contained in:
+2
-2
@@ -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>
|
||||
|
||||
|
||||
+10
-1
@@ -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(" <img src=\"lock.gif\">");
|
||||
|
||||
rsprintf("</td>\n");
|
||||
str[0] = 0;
|
||||
getcfg(lb_list[i].name, "Comment", str);
|
||||
rsprintf("<td class=\"attribvalue\">%s </td>\n", str);
|
||||
|
||||
Reference in New Issue
Block a user