Fossil

Check-in [d7e4b485ac]
Login

Check-in [d7e4b485ac]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment: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.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: d7e4b485ac2866b211bfac59d3aaebd996be009e5109c7bac20b2699a10e3f0d
User & Date: drh 2021-02-11 17:17:50.950
Context
2021-02-11
18:01
Update the windows makefiles so that they expect in-tree OpenSSL in the directory "compat/openssl", not in "compat/openssl-$VERSION". ... (check-in: 0703d4dc5a user: drh tags: trunk)
17:17
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. ... (check-in: d7e4b485ac user: drh tags: trunk)
14:57
Refinements to built-in skins to try to get them all working reasonably on mobile. ... (check-in: 0a7a86c428 user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/style.c.
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
@ Files     /dir?ci=tip  oh             desktoponly
@ Branches  /brlist      o              wideonly
@ Tags      /taglist     o              wideonly
@ Forum     /forum       {@2 3 4 5 6}   wideonly
@ Chat      /chat        C              wideonly
@ Tickets   /ticket      r              wideonly
@ Wiki      /wiki        j              wideonly
@ Setup     /setup       s              {}
@ Logout    /logout      L              {}
@ Login     /login       !L              {}
;

/*
** Return the default menu
*/
const char *style_default_mainmenu(void){
  return zDfltMainMenu;







|
|
|







607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
@ Files     /dir?ci=tip  oh             desktoponly
@ Branches  /brlist      o              wideonly
@ Tags      /taglist     o              wideonly
@ Forum     /forum       {@2 3 4 5 6}   wideonly
@ Chat      /chat        C              wideonly
@ Tickets   /ticket      r              wideonly
@ Wiki      /wiki        j              wideonly
@ Setup     /setup       s              desktoponly
@ Logout    /logout      L              wideonly
@ Login     /login       !L             wideonly
;

/*
** Return the default menu
*/
const char *style_default_mainmenu(void){
  return zDfltMainMenu;