Commit Graph

7 Commits

Author SHA1 Message Date
cflakes 911e778357 Following the bug report at [1] and a short discussion on IRC, this changes webadmin HTML pages' default charset to UTF-8. Since we do not have a routine that detects an input's charset or even converts it to UTF-8, this will cause ISO-8859-1(1) or other non UTF-8 encoded inputs that have been set e.g. as module arguments from IRC or from a non-UTF-8 shell console to show up garbled in webadmin. A possible fix would be to convert strings to UTF-8 before inserting them into the templates. We'll see what the future holds.
[1] http://sourceforge.net/tracker/index.php?func=detail&aid=2933280&group_id=115828&atid=672821


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1716 726aef4b-f618-498e-8847-2d620e286838
2010-01-18 19:52:16 +00:00
psychon 3b9a9c2b80 Webadmin: Make this work with the browser cache
This moves all static webadmin files (images, css) to the data/ subdirectory
of the skin dir. The webadmin module is changed to redirect requests to
/<skin name>/ to that data directory. The skins are changed to use the
new URL when linking to their stuff. (I only needed to change the path to
the main.css file in each Header.tmpl. Since the .css and the images are now
in the same directory, relative URLs work just fine).

This means that we now generate different URLs after changing the webadmin
skins and the browser cache can do its thing.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1481 726aef4b-f618-498e-8847-2d620e286838
2009-04-06 16:00:23 +00:00
psychon aca6783f6f Use relative instead of absolute URLs in webadmin
This should make it possible to use webadmin together with apache's mod_proxy.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1253 726aef4b-f618-498e-8847-2d620e286838
2008-10-17 16:27:18 +00:00
prozacx b81c806aaf Stop using '@' user@ip since usernames can have @
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@686 726aef4b-f618-498e-8847-2d620e286838
2006-03-15 18:35:24 +00:00
prozacx 56aadd5c3c Removed class link
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@663 726aef4b-f618-498e-8847-2d620e286838
2006-02-19 07:53:35 +00:00
prozacx 2a7cd84ec0 Made changes to validate on w3.org
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@662 726aef4b-f618-498e-8847-2d620e286838
2006-02-19 07:46:39 +00:00
prozacx d2327e7f7a Added new skin 'ice'
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@659 726aef4b-f618-498e-8847-2d620e286838
2006-02-18 21:33:28 +00:00