]> mj.ucw.cz Git - pciids.git/blobdiff - PciIds/Html/Notifications.pm
Split menu to left and right part
[pciids.git] / PciIds / Html / Notifications.pm
index 1d2e105ef1bf25c19c374165a07a67bef8433481..4e440b7ea208b76f104d70a62afb052cbdac579a 100644 (file)
@@ -11,10 +11,7 @@ sub genNotifForm( $$$$$$ ) {
        my( $req, $args, $tables, $auth, $error, $data ) = @_;
        my $addr = PciIds::Address::new( $req->uri() );
        genHtmlHead( $req, $addr->pretty().' - notifications', undef );
-       print "<div class='top'>\n";
-       print "<h1>".$addr->pretty()." - notifications</h1>\n";
-       genLocMenu( $req, $args, [ logItem( $auth ), $addr->canAddItem() ? [ 'New item', 'newitem' ] : (), $addr->canDiscuss ? [ 'Discuss', 'newhistory' ] : (), [ 'Profile', 'profile' ], [ 'Help', 'help', 'notifications' ] ] );
-       print "<div class='clear'></div></div>\n";
+       genCustomHead( $req, $args, $addr, $addr->pretty()." - notifications", [ $addr->canAddItem() ? [ 'New item', 'newitem' ] : (), $addr->canDiscuss ? [ 'Discuss', 'newhistory' ] : (), [ 'Help', 'help', 'notifications' ] ], [ logItem( $auth ), [ 'Profile', 'profile' ] ] );
        print "<div class='error'>$error</div>\n" if( defined $error );
        my $uri = $addr->get();
        my $notifs = $tables->notificationsUser( $auth->{'authid'} );