removed "Subscription columns" from config and source and replaced by automatic column spread.
This commit is contained in:
@@ -232,13 +232,6 @@ Welcome title = <img src="welcome.jpg"><p><font size=5 color=whit
|
||||
<code><b>elogd</b></code> can be used.
|
||||
</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>
|
||||
The same for installations which have a global password file. This
|
||||
means that the logbook selection page is also password protected. It
|
||||
|
||||
+3
-5
@@ -13973,11 +13973,9 @@ void show_config_page(LOGBOOK * lbs)
|
||||
}
|
||||
|
||||
if (n > 0) {
|
||||
if (getcfg(lbs->name, "Subscription columns", str, sizeof(str)))
|
||||
cols = atoi(str);
|
||||
else
|
||||
cols = 1;
|
||||
|
||||
for (i = 0; lb_list[i].name[0]; i++) {}
|
||||
j = (int) (i / 16) + 1;
|
||||
cols = ((j>5)?5:j);
|
||||
rsprintf("<tr><td width=\"15%%\">%s:\n", loc("Subscribe to logbooks"));
|
||||
|
||||
rsprintf("<br><span class=\"selcomment\"><b>(%s)</b></span>\n",
|
||||
|
||||
Reference in New Issue
Block a user