Commit Graph

9 Commits

Author SHA1 Message Date
prozacx c4a6f39b53 Pulled in CString changes from my common repository to help facilitate the upcoming webmods changes
Changes include...

- CString -
Addition of LCString typedef to list<CString>

Added four more args to CString::Token()...
	bool bAllowEmpty = false        <-- This default of false is NOT backward compatible but seems way more intuitive
	const CString& sLeft = ""
	const CString& sRight = ""
	bool bTrimQuotes = true

Added CString::OptionSplit()
Added CString::QuoteSplit()

Added two new args to CString::Split()...
	bool bTrimQuotes = true,
	bool bTrimWhiteSpace = false

- CTemplate -
Added new class CTemplateTagHandler to provide capability to add custom tags and vars
Added var name pointer dereferencing in the form of <? VAR Name=*other_var ?> (use ** to start with a literal star)
Added a list of paths that can be used to look for a given filename in multiple locations
Added CTemplate::PrependPath()
Added CTemplate::AppendPath()
Added CTemplate::RemovePath()
Added CTemplate::ClearPath()
Added CTemplate::PrintString() for filling a CString& instead of a stream
Added <? LT ?> which outputs a literal "<?"
Added <? GT ?> which outputs a literal "?>"
Added <? SETBLOCK ?> and <? ENDSETBLOCK ?> for setting a variable's value to the contents between the tags
Added <? EXPAND ?> for expanding a filename to a path using the settable list of paths
Added <? BREAK ?> and <? CONTINUE ?> inner loop tags
Added <? EXIT ?> tag to stop processing
Added <? DEBUG ?> tag for printing to DEBUG()
Added REVERSE keyword to the <? LOOP ?> tag



git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1537 726aef4b-f618-498e-8847-2d620e286838
2009-06-10 05:48:12 +00:00
psychon 2430b5f6a6 Fix some minor XSS bug in webadmin's default skin
For some reason it didn't escape module descriptions...


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1391 726aef4b-f618-498e-8847-2d620e286838
2009-02-22 15:22:37 +00:00
psychon b94e784301 Really use relative URLs in webadmin
I forgot the forms and the style sheets. Meh :(

Thanks to gencha for testing a snapshot and noticing that the forms are broken.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1254 726aef4b-f618-498e-8847-2d620e286838
2008-10-18 12:51:25 +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 8fa81829b3 Removed redundant label
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@648 726aef4b-f618-498e-8847-2d620e286838
2006-02-12 00:20:38 +00:00
prozacx 6716e6f686 Added Listen Port table
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@647 726aef4b-f618-498e-8847-2d620e286838
2006-02-12 00:19:54 +00:00
prozacx aafbdd8000 Moved Skin option to the top
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@625 726aef4b-f618-498e-8847-2d620e286838
2006-02-08 11:09:30 +00:00
prozacx bd1084acac Added support to change skin in settings page
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@622 726aef4b-f618-498e-8847-2d620e286838
2006-02-08 08:43:48 +00:00
prozacx 60a8f677e4 Added template support for webadmin module
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@612 726aef4b-f618-498e-8847-2d620e286838
2006-02-08 03:19:13 +00:00