diff --git a/etc/WebGUI.conf.original b/etc/WebGUI.conf.original index a485ca1d5..ddde81343 100644 --- a/etc/WebGUI.conf.original +++ b/etc/WebGUI.conf.original @@ -48,6 +48,7 @@ macros = a => a_account, \ p => p_previousMenuHorizontal, \ P => P_previousMenuVertical, \ ? => Question_search, \ + Quote => Quote, \ rootmenu => rootmenuHorizontal, \ RootTitle => RootTitle, \ r => r_printable, \ diff --git a/lib/WebGUI/Macro/Quote.pm b/lib/WebGUI/Macro/Quote.pm new file mode 100644 index 000000000..58a9abadb --- /dev/null +++ b/lib/WebGUI/Macro/Quote.pm @@ -0,0 +1,26 @@ +package WebGUI::Macro::Quote; + +#------------------------------------------------------------------- +# WebGUI is Copyright 2001-2003 Plain Black Software. +#------------------------------------------------------------------- +# Please read the legal notices (docs/legal.txt) and the license +# (docs/license.txt) that came with this distribution before using +# this software. +#------------------------------------------------------------------- +# http://www.plainblack.com info@plainblack.com +#------------------------------------------------------------------- + +use strict; +use WebGUI::Macro; +use WebGUI::SQL; + +#------------------------------------------------------------------- +sub process { + my ($value) = WebGUI::Macro::getParams(shift); + return quote($value); + +} + + +1; +