Commit Graph

3 Commits

Author SHA1 Message Date
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
Jamie Cameron
1ed3f58598 Handle new quoting of colors in webmin 1.840 https://sourceforge.net/p/webadmin/bugs/4968/ 2017-06-05 18:54:44 -07:00
Jamie Cameron
aaa35d1f3c Start of work on new default theme 2012-09-18 21:36:29 -07:00