mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
removed "Subscription columns" from config and source and replaced by automatic column spread.
This commit is contained in:
parent
cd14db2067
commit
ee7bc3873d
@ -232,13 +232,6 @@ Welcome title = <img src="welcome.jpg"><p><font size=5 color=whit
|
|||||||
<code><b>elogd</b></code> can be used.
|
<code><b>elogd</b></code> can be used.
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<b><code>Subscription columns = <number></code></b><br>
|
|
||||||
The config page shows a list of all logbooks one can subscribe to.
|
|
||||||
When the list is very long it might be recommended to organize it in
|
|
||||||
columns. This option allows to specify the numbers of columns to use
|
|
||||||
(default is 1 column: a simple list).
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<b><code>Guest Selection page = <file></code></b><br>
|
<b><code>Guest Selection page = <file></code></b><br>
|
||||||
The same for installations which have a global password file. This
|
The same for installations which have a global password file. This
|
||||||
means that the logbook selection page is also password protected. It
|
means that the logbook selection page is also password protected. It
|
||||||
|
|||||||
@ -13973,11 +13973,9 @@ void show_config_page(LOGBOOK * lbs)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (n > 0) {
|
if (n > 0) {
|
||||||
if (getcfg(lbs->name, "Subscription columns", str, sizeof(str)))
|
for (i = 0; lb_list[i].name[0]; i++) {}
|
||||||
cols = atoi(str);
|
j = (int) (i / 16) + 1;
|
||||||
else
|
cols = ((j>5)?5:j);
|
||||||
cols = 1;
|
|
||||||
|
|
||||||
rsprintf("<tr><td width=\"15%%\">%s:\n", loc("Subscribe to logbooks"));
|
rsprintf("<tr><td width=\"15%%\">%s:\n", loc("Subscribe to logbooks"));
|
||||||
|
|
||||||
rsprintf("<br><span class=\"selcomment\"><b>(%s)</b></span>\n",
|
rsprintf("<br><span class=\"selcomment\"><b>(%s)</b></span>\n",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user