]> mj.ucw.cz Git - pciids.git/commitdiff
Jump box in administration
authorMichal Vaner <vorner@ucw.cz>
Mon, 1 Sep 2008 15:18:32 +0000 (17:18 +0200)
committerMichal Vaner <vorner@ucw.cz>
Mon, 1 Sep 2008 15:18:32 +0000 (17:18 +0200)
PciIds/Html/Admin.pm

index 6ea280a674b3598477850c9f917b8f76ca4e1aa1..a8aa592884e337b6c326c25a90b0a177e46b09ac 100644 (file)
@@ -17,7 +17,7 @@ sub genNewAdminForm( $$$$ ) {
        $prefix = '' if( $args->{'global'} );
        my $caption = 'Administration ‒ pending events '.( $args->{'global'} ? '(Global)' : '('.encode( $address->pretty() ).')' );
        genHtmlHead( $req, $caption, undef );
-       genCustomHead( $req, $args, $address, $caption, [ $address->canAddItem() ? [ 'Add item', 'newitem' ] : (), $address->canDiscuss() ? [ 'Discuss', 'newhistory' ] : (), [ 'Help', 'help', 'admin' ] ], [ [ 'Log out', 'logout' ] ] );
+       genCustomHead( $req, $args, $address, $caption, [ $address->canAddItem() ? [ 'Add item', 'newitem' ] : (), $address->canDiscuss() ? [ 'Discuss', 'newhistory' ] : (), [ 'Help', 'help', 'admin' ], [ '', 'jump' ] ], [ [ 'Log out', 'logout' ] ] );
        print "<div class='error'>$error</div>\n" if( defined $error );
        print "<form name='admin' id='admin' class='admin' method='POST' action=''>\n";
        my $lastId;