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:37 by Marcus Wellhardh <wellhard@roxen.com>
ec6f245ae5b4ccede06c64bba6123a589b2e6e57 (
5
lines) (+
3
/-
2
)
[
Show
|
Annotate
]
Branch:
5.2
Added wrap=off to text areas
Rev: server/etc/modules/Variable.pmod/module.pmod:1.93
1:
-
// $Id: module.pmod,v 1.
92
2006/
04
/
20
13
:
27
:
15
grubba
Exp $
+
// $Id: module.pmod,v 1.
93
2006/
05
/
05
11
:
05
:
37
wellhard
Exp $
#include <module.h> #include <roxen.h>
897:
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>"; }