mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-10 18:23:28 +00:00
Fixed bug with URL in expanding groups using top groups
SVN revision: 2293
This commit is contained in:
parent
4ec1c2edc3
commit
6b2c07bba5
@ -25072,13 +25072,13 @@ void show_logbook_node(LBLIST plb, LBLIST pparent, int level, int btop)
|
|||||||
else {
|
else {
|
||||||
if (pparent != NULL) {
|
if (pparent != NULL) {
|
||||||
if (getcfg_topgroup())
|
if (getcfg_topgroup())
|
||||||
rsprintf("<a href=\"%s/?gexp=%s\">- %s</a> ", getcfg_topgroup(), pparent->name,
|
rsprintf("<a href=\"../%s/?gexp=%s\">- %s</a> ", getcfg_topgroup(), pparent->name,
|
||||||
plb->name);
|
plb->name);
|
||||||
else
|
else
|
||||||
rsprintf("<a href=\"?gexp=%s\">- %s</a> ", pparent->name, plb->name);
|
rsprintf("<a href=\"?gexp=%s\">- %s</a> ", pparent->name, plb->name);
|
||||||
} else {
|
} else {
|
||||||
if (getcfg_topgroup())
|
if (getcfg_topgroup())
|
||||||
rsprintf("<a href=\"%s/\">- %s</a> ", getcfg_topgroup(), plb->name);
|
rsprintf("<a href=\"../%s/\">- %s</a> ", getcfg_topgroup(), plb->name);
|
||||||
else
|
else
|
||||||
rsprintf("<a href=\".\">- %s</a> ", plb->name);
|
rsprintf("<a href=\".\">- %s</a> ", plb->name);
|
||||||
}
|
}
|
||||||
@ -25088,7 +25088,7 @@ void show_logbook_node(LBLIST plb, LBLIST pparent, int level, int btop)
|
|||||||
rsprintf("%s", plb->name);
|
rsprintf("%s", plb->name);
|
||||||
else {
|
else {
|
||||||
if (getcfg_topgroup())
|
if (getcfg_topgroup())
|
||||||
rsprintf("<a href=\"%s/?gexp=%s\">+ %s</a> ", getcfg_topgroup(), plb->name, plb->name);
|
rsprintf("<a href=\"../%s/?gexp=%s\">+ %s</a> ", getcfg_topgroup(), plb->name, plb->name);
|
||||||
else
|
else
|
||||||
rsprintf("<a href=\".?gexp=%s\">+ %s</a> ", plb->name, plb->name);
|
rsprintf("<a href=\".?gexp=%s\">+ %s</a> ", plb->name, plb->name);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user