Use new module
authorJamie Cameron <jcameron@webmin.com>
Sun, 1 Mar 2009 21:31:11 +0000 (21:31 +0000)
committerJamie Cameron <jcameron@webmin.com>
Sun, 1 Mar 2009 21:31:11 +0000 (21:31 +0000)
servers/lang/en
servers/servers-lib.pl

index 881daf6..ff10205 100644 (file)
@@ -31,9 +31,7 @@ edit_ssl=SSL server?
 edit_link=Link type
 edit_mode0=Normal link to server
 edit_mode1=Login via Webmin with
-edmin will be prompted for a username and password
-           when accessing this remote system in this module's UI.
-sameuser dit_mode2=Login when icon is clicked on
+edit_mode2=Login when icon is clicked on
 edit_mode3=Login with username and password from this server
 edit_user=username
 edit_luser=Username for remote server
index 78b6268..ea8a898 100644 (file)
@@ -16,9 +16,9 @@ for RPC operations. Example code :
 
 =cut
 
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
 &init_config();
-do '../ui-lib.pl';
 %access = &get_module_acl();
 $cron_cmd = "$module_config_directory/auto.pl";