From 63758c59e1df81c955ce8528d80ba3fd0e466bec Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Tue, 20 May 2008 16:11:20 -0400 Subject: reformat showstream darcs-hash:20080520201120-84dde-4b455d4e4854454cc78be8c636a3e0c7f730b93a.gz --- actions/newnotice.php | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'actions/newnotice.php') 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 -- cgit v1.2.3-54-g00ecf