X-Git-Url: http://git.rot13.org/?p=BackupPC.git;a=blobdiff_plain;f=cgi-bin%2FBackupPC_Admin;h=cd2e4a971bb0fe7305007b84657816d1541892fb;hp=32293dfaf5ca0f38146a29b6427d5af940460979;hb=5b3e6091d542c2e7445d5dd511cdf6e20aec8b8d;hpb=2c14784ad71874ec850d189060fe63d6eb9eba95 diff --git a/cgi-bin/BackupPC_Admin b/cgi-bin/BackupPC_Admin index 32293df..cd2e4a9 100755 --- a/cgi-bin/BackupPC_Admin +++ b/cgi-bin/BackupPC_Admin @@ -39,7 +39,7 @@ # #======================================================================== # -# Version 2.1.0_CVS, released 8 Feb 2004. +# Version 3.0.0alpha, released 23 Jan 2006. # # See http://backuppc.sourceforge.net. # @@ -80,14 +80,14 @@ my %ActionDispatch = ( "startServer" => "StartServer", "Stop" => "StopServer", "adminOpts" => "AdminOptions", + "editConfig" => "EditConfig", + #"editHosts" => "EditHosts", ); # # Set default actions, then call sub handler # $In{action} ||= "hostInfo" if ( defined($In{host}) ); -## rk default non admin users to pc summary for their hosts -$In{action} = "summary" if ( !defined($ActionDispatch{$In{action}}) && !CheckPermission()); $In{action} = "generalInfo" if ( !defined($ActionDispatch{$In{action}}) ); my $action = $ActionDispatch{$In{action}};