Added Quote macro

This commit is contained in:
Len Kranendonk 2003-03-12 16:03:03 +00:00
parent fc897bb796
commit 41d0813eae
2 changed files with 27 additions and 0 deletions

View file

@ -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, \

26
lib/WebGUI/Macro/Quote.pm Normal file
View file

@ -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;