From 4b8e02f4b69ccb4fd3146983bc7570f6ae13bca0 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 4 Sep 2011 20:24:16 -0400 Subject: Add a textarea input to the normal template form stuff. --- src/views/Template.class.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') diff --git a/src/views/Template.class.php b/src/views/Template.class.php index 62b8ba6..187e65b 100644 --- a/src/views/Template.class.php +++ b/src/views/Template.class.php @@ -226,6 +226,12 @@ class Template { $tag = ($lock?"readonly='readonly' ":''); return ""; } + public function inputTextArea($id, $label, $hint='', $default='', $lock=FALSE) { + $value = htmlentities($default); + $tag = ($lock?"readonly='readonly' ":''); + return $this->input($id, $label, $hint, + ""); + } public function inputText($id, $label, $hint='', $default='', $lock=FALSE) { return $this->input($id, $label, $hint, -- cgit v1.2.3-2-g168b