From bf5ae8e69a971b6310641f5a963292a64609d0e8 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Fri, 30 May 2008 13:43:10 -0400 Subject: remotesubscribe form darcs-hash:20080530174310-84dde-1e05966eb48573ced8e73acf3f3b59e7bc4f1170.gz --- lib/common.php | 2 -- lib/util.php | 7 +++++++ 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/common.php b/lib/common.php index 1954dfc2a..6ff40ab5f 100644 --- a/lib/common.php +++ b/lib/common.php @@ -17,8 +17,6 @@ * along with this program. If not, see . */ -/* XXX: break up into separate modules (HTTP, HTML, user, files) */ - if (!defined('LACONICA')) { exit(1); } define('AVATAR_PROFILE_SIZE', 96); 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); -- cgit v1.2.3-54-g00ecf