diff --git a/src/elogd.c b/src/elogd.c
index 62b3808b..7c82827b 100755
--- a/src/elogd.c
+++ b/src/elogd.c
@@ -20495,6 +20495,8 @@ void show_logbook_node(LBLIST plb, LBLIST pparent, int level, int btop)
/* do not display top groups */
if (!plb->is_top) {
+ compose_base_url(NULL, ref, sizeof(ref));
+
rsprintf("
");
for (j = 0; j < level; j++)
rsprintf("| | \n");
rsprintf("", 10 - level);
- /* add one ".." if we are under top group */
- if (btop)
- rsprintf("%s", lb_list[index].name_enc, lb_list[index].name);
- else
- rsprintf("%s", lb_list[index].name_enc, lb_list[index].name);
+
+ compose_base_url(&lb_list[index], ref, sizeof(ref));
+// if (btop)
+// rsprintf("%s", lb_list[index].name_enc, lb_list[index].name);
+
+ rsprintf("%s", ref, lb_list[index].name);
+
if (getcfg(lb_list[index].name, "Read password", str, sizeof(str))
|| (getcfg(lb_list[index].name, "Password file", str, sizeof(str))
&& !getcfg(lb_list[index].name, "Guest menu commands", str, sizeof(str))))
@@ -21362,7 +21376,8 @@ void interprete(char *lbook, char *path)
/* deliver icons without password */
if (chkext(path, ".gif") || chkext(path, ".jpg") ||
- chkext(path, ".png") || chkext(path, ".ico") || chkext(path, ".htm") || chkext(path, ".css")) {
+ chkext(path, ".png") || chkext(path, ".ico") ||
+ chkext(path, ".htm") || chkext(path, ".css")) {
/* check if file in resource directory */
strlcpy(str, resource_dir, sizeof(str));
strlcat(str, path, sizeof(str));
|