X-Git-Url: http://git.rot13.org//?a=blobdiff_plain;f=cgi-bin%2FBackupPC_Admin;h=63f03afa67ee3c9cf13d0f2690ff42c546c8b7cf;hb=07cb5dd25e2f4ffa2414f2e8d33990b6a5b3b91e;hp=cac9707afff973e4723701bf96737f5013401b53;hpb=2fb1e8b5cee74c72bbb8ecc7722c05256cbdc6bf;p=BackupPC.git diff --git a/cgi-bin/BackupPC_Admin b/cgi-bin/BackupPC_Admin index cac9707..63f03af 100755 --- a/cgi-bin/BackupPC_Admin +++ b/cgi-bin/BackupPC_Admin @@ -126,7 +126,7 @@ my %ActionDispatch = ( "browse" => \&Action_Browse, $Lang->{Restore} => \&Action_Restore, "RestoreFile" => \&Action_RestoreFile, - $Lang->{hostInfo} => \&Action_HostInfo, + "hostInfo" => \&Action_HostInfo, "generalInfo" => \&Action_GeneralInfo, "restoreInfo" => \&Action_RestoreInfo, ); @@ -134,7 +134,7 @@ my %ActionDispatch = ( # # Set default actions, then call sub handler # -$In{action} ||= $Lang->{hostInfo} if ( defined($In{host}) ); +$In{action} ||= "hostInfo" if ( defined($In{host}) ); $In{action} = "generalInfo" if ( !defined($ActionDispatch{$In{action}}) ); $ActionDispatch{$In{action}}(); exit(0); @@ -1810,7 +1810,7 @@ EOF $Lang->{Host_or_User_name}
- +
EOF