diff options
author | friendica <info@friendica.com> | 2013-01-03 17:08:36 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-01-03 17:08:36 -0800 |
commit | 9a8dec548010c0d1b5b18112dc7bbba79a247852 (patch) | |
tree | ca5e63cd30ea48ec86e9d03e01f30c729e02012e | |
parent | 13ec589f80018ba623e6593656a0053c7200d5e8 (diff) | |
download | volse-hubzilla-9a8dec548010c0d1b5b18112dc7bbba79a247852.tar.gz volse-hubzilla-9a8dec548010c0d1b5b18112dc7bbba79a247852.tar.bz2 volse-hubzilla-9a8dec548010c0d1b5b18112dc7bbba79a247852.zip |
place holders for mail and event icons on nav bar
-rw-r--r-- | include/nav.php | 5 | ||||
-rw-r--r-- | view/tpl/nav.tpl | 10 |
2 files changed, 13 insertions, 2 deletions
diff --git a/include/nav.php b/include/nav.php index 9ebab1320..da42dee95 100644 --- a/include/nav.php +++ b/include/nav.php @@ -75,7 +75,7 @@ EOT; $nav['usermenu'][] = Array('profile/' . $channel['channel_address'], t('Profile'), "", t('Your profile page')); $nav['usermenu'][] = Array('photos/' . $channel['channel_address'], t('Photos'), "", t('Your photos')); - $nav['usermenu'][] = Array('events/', t('Events'), "", t('Your events')); +// $nav['usermenu'][] = Array('events/', t('Events'), "", t('Your events')); } else { @@ -144,6 +144,9 @@ EOT; $nav['messages']['inbox'] = array('message', t('Inbox'), "", t('Inbox')); $nav['messages']['outbox']= array('message/sent', t('Outbox'), "", t('Outbox')); $nav['messages']['new'] = array('message/new', t('New Message'), "", t('New Message')); + + + $nav['all_events'] = array('events', t('Events'), "", t('Event Calendar')); $nav['manage'] = array('manage', t('Channel Select'), "", t('Manage Your Channels')); diff --git a/view/tpl/nav.tpl b/view/tpl/nav.tpl index 654a61085..fda16540c 100644 --- a/view/tpl/nav.tpl +++ b/view/tpl/nav.tpl @@ -17,6 +17,7 @@ <span id="net-update" class="nav-notify fakelink" onclick="notify_popup('network'); return false;" ></span> </li> {{ endif }} + {{ if $nav.home }} <li id="nav-home-link" class="nav-menu $sel.home"> <a class="$nav.home.2" href="$nav.home.0" title="$nav.home.3" ><span class="icon home">$nav.home.1</span></a> @@ -24,9 +25,16 @@ </li> {{ endif }} + {{ if $nav.messages }} + <li id="nav-mail-link" class="nav-menu $sel.messages"> + <a class="$nav.messages.2" href="$nav.messages.0" title="$nav.messages.3" ><span class="icon mail">$nav.messages.1</span></a> + <span id="mail-update" class="nav-notify fakelink" onclick="notify_popup('mail'); return false;" ></span> + </li> + {{ endif }} + {{ if $nav.all_events }} <li id="nav-all-events-link" class="nav-menu $sel.all_events"> - <a class="$nav.all_events.2" href="$nav.all_events.0" title="$nav.all_events.3" >$nav.all_events.1</a> + <a class="$nav.all_events.2" href="$nav.all_events.0" title="$nav.all_events.3" ><span class="icon events">$nav.all_events.1</span></a> <span id="all-events-update" class="nav-notify fakelink" onclick="notify_popup('all_events'); return false;" ></span> </li> {{ endif }} |