Roxen.git/
server/
etc/
modules/
Variable.pmod/
module.pmod
Branch:
Tag:
Non-build tags
All tags
No tags
2006-05-05
2006-05-05 11:05:27 by Marcus Wellhardh <wellhard@roxen.com>
d381acc922033069449cc00a9207ebe97e841da9 (
5
lines) (+
3
/-
2
)
[
Show
|
Annotate
]
Branch:
4.0
Added wrap=off to text areas
Rev: server/etc/modules/Variable.pmod/module.pmod:1.86
1:
-
// $Id: module.pmod,v 1.
85
2004
/
06
/
09
08
:
47
:
17
grubba
Exp $
+
// $Id: module.pmod,v 1.
86
2006
/
05
/
05
11
:
05
:
27
wellhard
Exp $
#include <module.h> #include <roxen.h>
844:
string render_form( RequestID id, void|mapping additional_args ) {
-
return "<textarea cols='"+cols+"' rows='"+rows+"' name='"+path()+"'>"
+
return "<textarea cols='"+cols+"' rows='"+rows+"' name='"+path()+"'
wrap='off'
>"
+ Roxen.html_encode_string( query() || "" ) + "</textarea>"; }