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 /actions/newnotice.php | |
parent | 778fba1a24712c85b525a65d3e4c0862e0833cdd (diff) |
reformat showstream
darcs-hash:20080520201120-84dde-4b455d4e4854454cc78be8c636a3e0c7f730b93a.gz
Diffstat (limited to 'actions/newnotice.php')
-rw-r--r-- | actions/newnotice.php | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/actions/newnotice.php b/actions/newnotice.php index 23f31028b..cc62901f2 100644 --- a/actions/newnotice.php +++ b/actions/newnotice.php @@ -58,18 +58,10 @@ class NewnoticeAction extends Action { return NULL; } } - + function show_form() { common_show_header(_t('New notice')); - common_element_start('form', array('id' => 'newnotice', 'method' => 'POST', - 'action' => common_local_url('newnotice'))); - common_element('span', 'nickname', $profile->nickname); - common_element('textarea', array('rows' => 3, 'cols' => 60, - 'name' => 'content', - 'id' => 'content'), - ' '); - common_submit('submit', _t('Send')); - common_element_end('form'); + common_notice_form(); common_show_footer(); } }
\ No newline at end of file |