From b3c07fdc2b9d69edb195242e2a5b83caee7c7211 Mon Sep 17 00:00:00 2001 From: pdontthink Date: Sun, 7 Jan 2007 07:28:11 +0000 Subject: [PATCH] Template files for form widgets being added git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12078 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- templates/default/form.tpl | 52 +++++++++++++++++++++++++++++ templates/default/input.tpl | 35 +++++++++++++++++++ templates/default/select.tpl | 61 ++++++++++++++++++++++++++++++++++ templates/default/textarea.tpl | 47 ++++++++++++++++++++++++++ 4 files changed, 195 insertions(+) create mode 100644 templates/default/form.tpl create mode 100644 templates/default/input.tpl create mode 100644 templates/default/select.tpl create mode 100644 templates/default/textarea.tpl diff --git a/templates/default/form.tpl b/templates/default/form.tpl new file mode 100644 index 00000000..e1962dea --- /dev/null +++ b/templates/default/form.tpl @@ -0,0 +1,52 @@ + $value) { + echo ' ' . $key . (is_null($value) ? '' : '="' . $value . '"'); +} +echo ">\n"; + + diff --git a/templates/default/input.tpl b/templates/default/input.tpl new file mode 100644 index 00000000..ea6c2fc7 --- /dev/null +++ b/templates/default/input.tpl @@ -0,0 +1,35 @@ + $value) { + echo ' ' . $key . (is_null($value) ? '' : '="' . $value . '"'); +} +echo ' />'; + + diff --git a/templates/default/select.tpl b/templates/default/select.tpl new file mode 100644 index 00000000..288abd2b --- /dev/null +++ b/templates/default/select.tpl @@ -0,0 +1,61 @@ +'; + $label_close = ''; +} else { + $label_open = ''; + $label_close = ''; +} + + +echo '\n"; + + diff --git a/templates/default/textarea.tpl b/templates/default/textarea.tpl new file mode 100644 index 00000000..b4efb5b9 --- /dev/null +++ b/templates/default/textarea.tpl @@ -0,0 +1,47 @@ +'; + $label_close = ''; +} else { + $label_open = ''; + $label_close = ''; +} + + +echo '\n"; + + -- 2.25.1