diff options
author | Thomas Willingham <founder@kakste.com> | 2013-06-07 22:53:43 +0100 |
---|---|---|
committer | Thomas Willingham <founder@kakste.com> | 2013-06-07 22:53:43 +0100 |
commit | 4132cab862608f05c7a5b1467e5a66df9070b01b (patch) | |
tree | de9840983f69611e1e076e91fa35430615164bcc /mod/message.php | |
parent | b263f11d77db347122bce22de23587fbb2b0edff (diff) | |
download | volse-hubzilla-4132cab862608f05c7a5b1467e5a66df9070b01b.tar.gz volse-hubzilla-4132cab862608f05c7a5b1467e5a66df9070b01b.tar.bz2 volse-hubzilla-4132cab862608f05c7a5b1467e5a66df9070b01b.zip |
Rename newmessage widget (since we'll need to put more stuff in it as we make zotmail look like email), and add a "check mail" button.
Diffstat (limited to 'mod/message.php')
-rw-r--r-- | mod/message.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/mod/message.php b/mod/message.php index 93b5c2494..54615f081 100644 --- a/mod/message.php +++ b/mod/message.php @@ -9,13 +9,20 @@ require_once('include/Contact.php'); function message_aside(&$a) { - $a->set_widget('newmessage',replace_macros(get_markup_template('message_side.tpl'), array( + $a->set_widget('msgaside',replace_macros(get_markup_template('message_side.tpl'), array( '$tabs'=> array(), + + '$check'=>array( + 'label' => t('Check Mail'), + 'url' => $a->get_baseurl(true) . '/message', + 'sel' => (argv(1) == ''), + ), '$new'=>array( 'label' => t('New Message'), 'url' => $a->get_baseurl(true) . '/message/new', 'sel'=> (argv(1) == 'new'), ) + ))); } |