Fossil SCM
Adjust the default mainmenu setting so that Setup is desktoponly and Login/Logout is wideonly. The current expectation is that admins will edit the mainmenu by removing lines.
Commit
d7e4b485ac2866b211bfac59d3aaebd996be009e5109c7bac20b2699a10e3f0d
Parent
0a7a86c42862615…
1 file changed
+3
-3
+3
-3
| --- src/style.c | ||
| +++ src/style.c | ||
| @@ -609,13 +609,13 @@ | ||
| 609 | 609 | @ Tags /taglist o wideonly |
| 610 | 610 | @ Forum /forum {@2 3 4 5 6} wideonly |
| 611 | 611 | @ Chat /chat C wideonly |
| 612 | 612 | @ Tickets /ticket r wideonly |
| 613 | 613 | @ Wiki /wiki j wideonly |
| 614 | -@ Setup /setup s {} | |
| 615 | -@ Logout /logout L {} | |
| 616 | -@ Login /login !L {} | |
| 614 | +@ Setup /setup s desktoponly | |
| 615 | +@ Logout /logout L wideonly | |
| 616 | +@ Login /login !L wideonly | |
| 617 | 617 | ; |
| 618 | 618 | |
| 619 | 619 | /* |
| 620 | 620 | ** Return the default menu |
| 621 | 621 | */ |
| 622 | 622 |
| --- src/style.c | |
| +++ src/style.c | |
| @@ -609,13 +609,13 @@ | |
| 609 | @ Tags /taglist o wideonly |
| 610 | @ Forum /forum {@2 3 4 5 6} wideonly |
| 611 | @ Chat /chat C wideonly |
| 612 | @ Tickets /ticket r wideonly |
| 613 | @ Wiki /wiki j wideonly |
| 614 | @ Setup /setup s {} |
| 615 | @ Logout /logout L {} |
| 616 | @ Login /login !L {} |
| 617 | ; |
| 618 | |
| 619 | /* |
| 620 | ** Return the default menu |
| 621 | */ |
| 622 |
| --- src/style.c | |
| +++ src/style.c | |
| @@ -609,13 +609,13 @@ | |
| 609 | @ Tags /taglist o wideonly |
| 610 | @ Forum /forum {@2 3 4 5 6} wideonly |
| 611 | @ Chat /chat C wideonly |
| 612 | @ Tickets /ticket r wideonly |
| 613 | @ Wiki /wiki j wideonly |
| 614 | @ Setup /setup s desktoponly |
| 615 | @ Logout /logout L wideonly |
| 616 | @ Login /login !L wideonly |
| 617 | ; |
| 618 | |
| 619 | /* |
| 620 | ** Return the default menu |
| 621 | */ |
| 622 |