diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-05-20 16:11:20 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-05-20 16:11:20 -0400 |
commit | 63758c59e1df81c955ce8528d80ba3fd0e466bec (patch) | |
tree | ca06541d7d801a8d9da8a8ca7c4c0532e0f3e308 /lib/util.php | |
parent | 778fba1a24712c85b525a65d3e4c0862e0833cdd (diff) |
reformat showstream
darcs-hash:20080520201120-84dde-4b455d4e4854454cc78be8c636a3e0c7f730b93a.gz
Diffstat (limited to 'lib/util.php')
-rw-r--r-- | lib/util.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/util.php b/lib/util.php index cd0a6260b..ece002812 100644 --- a/lib/util.php +++ b/lib/util.php @@ -377,6 +377,20 @@ function common_profile_url($nickname) { return common_local_url('showstream', array('nickname' => $nickname)); } +function common_notice_form() { + common_element_start('form', array('id' => 'newnotice', 'method' => 'POST', + 'action' => common_local_url('newnotice'))); + common_element_start('p'); + common_element('label', array('for' => 'content'), _t('What\'s up?')); + common_element('textarea', array('rows' => 3, 'cols' => 40, + 'name' => 'content', + 'id' => 'content', + 'class' => 'width75'), + ' '); + common_submit('submit', _t('Send')); + common_element_end('form'); + } + // XXX: set up gettext function _t($str) { |