summaryrefslogtreecommitdiff
path: root/actions/newnotice.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-05-19 10:12:19 -0400
committerEvan Prodromou <evan@prodromou.name>2008-05-19 10:12:19 -0400
commit749178f34371aabb8a22166fe64920a42679dcc5 (patch)
tree59779e38ccc73b17decbd01dd279dbf3688a0cc9 /actions/newnotice.php
parentc87951f89518e276a85f41eaecf34da0720f49c5 (diff)
better headers
Added H1 headers to all pages. Added H2 headers to sections of pages, where appropriate. Moved a lot of TODOs around. Made the public stream the default if no action is specified. darcs-hash:20080519141219-84dde-f9917a8351596060faa7ff5d231417773764a8fd.gz
Diffstat (limited to 'actions/newnotice.php')
-rw-r--r--actions/newnotice.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/actions/newnotice.php b/actions/newnotice.php
index fa7badd3d..dd1f71b41 100644
--- a/actions/newnotice.php
+++ b/actions/newnotice.php
@@ -53,6 +53,7 @@ class NewnoticeAction extends Action {
}
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);
@@ -61,5 +62,6 @@ class NewnoticeAction extends Action {
'id' => 'content'));
common_element('input', array('type' => 'submit', 'value' => 'Send'));
common_element_end('form');
+ common_show_footer();
}
} \ No newline at end of file