summaryrefslogtreecommitdiff
path: root/lib/util.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-05-30 13:43:10 -0400
committerEvan Prodromou <evan@prodromou.name>2008-05-30 13:43:10 -0400
commitbf5ae8e69a971b6310641f5a963292a64609d0e8 (patch)
tree73cdf4e079c324f332f02362d52fc846e0286ff3 /lib/util.php
parentf8a070394f8d9ba9bd5eab4bcf7eab628ceb852b (diff)
remotesubscribe form
darcs-hash:20080530174310-84dde-1e05966eb48573ced8e73acf3f3b59e7bc4f1170.gz
Diffstat (limited to 'lib/util.php')
-rw-r--r--lib/util.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/util.php b/lib/util.php
index 72876cef7..126801126 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -238,6 +238,13 @@ function common_input($id, $label, $value=NULL) {
common_element_end('p');
}
+function common_hidden($id, $value) {
+ common_element('input', array('name' => $id,
+ 'type' => 'hidden',
+ 'id' => $id,
+ 'value' => $value));
+}
+
function common_password($id, $label) {
common_element_start('p');
common_element('label', array('for' => $id), $label);