Added Quote macro
This commit is contained in:
parent
fc897bb796
commit
41d0813eae
2 changed files with 27 additions and 0 deletions
26
lib/WebGUI/Macro/Quote.pm
Normal file
26
lib/WebGUI/Macro/Quote.pm
Normal 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;
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue