@@ -20,6 +20,7 @@ class="<?php echo $this->CssClass; ?>">
20
20
if ($ this ->Menu ) {
21
21
$ this ->Menu ->AddLink ('Dashboard ' , T ('Dashboard ' ), '/dashboard/settings ' , array ('Garden.Settings.Manage ' ));
22
22
$ this ->Menu ->AddLink ('Collector ' , T ('Collectors ' ), '/collector ' );
23
+ $ this ->Menu ->AddLink ('Meters ' , T ('Meters ' ), '/meter ' );
23
24
$ this ->Menu ->AddLink ('Activity ' , T ('Activity ' ), '/activity ' );
24
25
if ($ Session ->IsValid ()) {
25
26
$ Name = $ Session ->User ->Name ;
@@ -32,8 +33,8 @@ class="<?php echo $this->CssClass; ?>">
32
33
} else {
33
34
$ ProfileSlug = $ Session ->UserID .'/ ' .urlencode ($ Session ->User ->Name );
34
35
}
35
- $ this ->Menu ->AddLink ('User ' , $ Name , '/profile/ ' .$ ProfileSlug , array ('Garden.SignIn.Allow ' ), array ('class ' => 'UserNotifications ' ));
36
- $ this ->Menu ->AddLink ('SignOut ' , T ('Sign Out ' ), Gdn::Authenticator ()->SignOutUrl (), FALSE , array ('class ' => 'NonTab SignOut ' ));
36
+ // $this->Menu->AddLink('User', $Name, '/profile/'.$ProfileSlug, array('Garden.SignIn.Allow'), array('class' => 'UserNotifications'));
37
+ // $this->Menu->AddLink('SignOut', T('Sign Out'), Gdn::Authenticator()->SignOutUrl(), FALSE, array('class' => 'NonTab SignOut'));
37
38
} else {
38
39
$ Attribs = array ();
39
40
if (SignInPopup () && strpos (Gdn::Request ()->Url (), 'entry ' ) === FALSE ) {
@@ -44,6 +45,24 @@ class="<?php echo $this->CssClass; ?>">
44
45
echo $ this ->Menu ->ToString ();
45
46
}
46
47
?>
48
+ <form class="pull-left" action="">
49
+ <input type="text" placeholder="Search">
50
+ </form>
51
+
52
+ <ul class="nav secondary-nav">
53
+ <li class="topbarimg">
54
+ <fb:profile-pic uid="loggedinuser" width="28" linked="false" style="width: 28px; " class=" fb_profile_pic_rendered"><img src="https://fbcdn-profile-a.akamaihd.net/hprofile-ak-snc4/275739_581430275_2144356331_t.jpg" alt="Vaibhav Bajpai" title="Vaibhav Bajpai" style="width:28px;" class=" fb_profile_pic_rendered"></fb:profile-pic>
55
+ </li>
56
+ <li class="dropdown" data-dropdown="dropdown">
57
+ <a href="#" class="dropdown-toggle">
58
+ <fb:name uid="loggedinuser" use-you="no" linked="false">Vaibhav Bajpai</fb:name>
59
+ </a>
60
+ <ul class="dropdown-menu">
61
+ <li><a href="#settings">Settings</a></li>
62
+ <li><a href="#logout" onclick="FB.logout()">Logout</a></li>
63
+ </ul>
64
+ </li>
65
+ </ul>
47
66
<?php
48
67
// $Form = Gdn::Factory('Form');
49
68
// $Form->InputPrefix = '';
0 commit comments