From: pdontthink Date: Sun, 7 Jan 2007 07:28:11 +0000 (+0000) Subject: Template files for form widgets being added X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=b3c07fdc2b9d69edb195242e2a5b83caee7c7211;p=squirrelmail.git 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 --- 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"; + +