Files
webmin/gray-theme/config
Ilia Ross cbe1f7f17e Add single page layout to Framed Theme
This PR adds a "Page layout" setting to the Framed Theme, with a new single page layout that shows the menu on every page instead of in a frame.

It's meant for people who can't or don't want to use frames, so the Legacy Theme is no longer the only option without frames.

The menu code moved out of `left.cgi` into a shared menu-lib.pl, so both layouts build the same menu, frames look the same as before, and `left.cgi` shrinks from about 400 lines to about 60.

The menu's module search box now follows the global "webminsearch" permission, which the old frame code never actually checked.

One exception to be aware of. A server opened through Webmin Servers Index always uses frames, because that index only rewrites the links and redirects of framed pages.
2026-10-01 05:44:49 +02:00

20 lines
363 B
Plaintext

cs_header=D0E0FC
tb=class='maintitle'
cs_table=f5f5f5
cb=class='mainbody'
cs_link=376ebd
texttitles=1
functions=theme.pl
applet_body=e8e8ea
applet_text=333333
applet_light_edge=D0E0F0
applet_dark_edge=333366
applet_light_edge_hi=D0E0FC
applet_dark_edge_hi=333350
applet_dark_bg=8888aa
applet_light_bg=ffffff
noindex=1
inframe=1
framed=1
oofunctions=theme-init.pl