From 3403ac3b3f440563fcf73a23a210a3e5fb18ce1e Mon Sep 17 00:00:00 2001 From: Michal Vaner Date: Sat, 30 Aug 2008 18:19:05 +0200 Subject: [PATCH] Help for notifications --- PciIds/Html/Notifications.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PciIds/Html/Notifications.pm b/PciIds/Html/Notifications.pm index b39bc07..d3b38f5 100644 --- a/PciIds/Html/Notifications.pm +++ b/PciIds/Html/Notifications.pm @@ -12,7 +12,7 @@ sub genNotifForm( $$$$$$ ) { my $addr = PciIds::Address::new( $req->uri() ); genHtmlHead( $req, $addr->pretty().' - notifications', undef ); print "

".$addr->pretty()." - notifications

\n"; - genLocMenu( $req, $args, [ logItem( $auth ), $addr->canAddItem() ? [ 'New item', 'newitem' ] : (), $addr->canDiscuss ? [ 'Discuss', 'newhistory' ] : (), [ 'Profile', 'profile' ] ] ); + genLocMenu( $req, $args, [ logItem( $auth ), $addr->canAddItem() ? [ 'New item', 'newitem' ] : (), $addr->canDiscuss ? [ 'Discuss', 'newhistory' ] : (), [ 'Profile', 'profile' ], [ 'Help', 'help', 'notifications' ] ] ); print "
$error
\n" if( defined $error ); my $uri = $addr->get(); my $notifs = $tables->notificationsUser( $auth->{'authid'} ); @@ -33,7 +33,7 @@ sub genNotifForm( $$$$$$ ) { print "

{'recursive'} ? " checked='checked'" : "" )."> Recursive\n"; print "

Notification level

\n"; print "

\n"; - genRadios( [ [ 'None', '3' ], [ 'Main comment & new subitem', '2' ], [ 'Description', '1' ], [ 'Comment', '0' ] ], 'notification', ( defined $data->{'notification'} ) ? $data->{'notification'} : '3' ); + genRadios( [ [ 'None', '3' ], [ 'Main comment & new sub-item', '2' ], [ 'Suggestion', '1' ], [ 'Discussion', '0' ] ], 'notification', ( defined $data->{'notification'} ) ? $data->{'notification'} : '3' ); print "

Notification way

\n"; print "

\n"; genRadios( [ [ 'Email', '0' ], [ 'Xmpp', '1' ], [ 'Both', '2' ] ], 'way', ( defined $data->{'way'} ) ? $data->{'way'} : '0' ); -- 2.39.2