[LON-CAPA-cvs] cvs: loncom /cgi takeoffline.pl
raeburn
raeburn at source.lon-capa.org
Fri Jul 10 21:36:02 EDT 2026
raeburn Sat Jul 11 01:36:02 2026 EDT
Modified files:
/loncom/cgi takeoffline.pl
Log:
- Fix typo.
Index: loncom/cgi/takeoffline.pl
diff -u loncom/cgi/takeoffline.pl:1.9 loncom/cgi/takeoffline.pl:1.10
--- loncom/cgi/takeoffline.pl:1.9 Sat Jul 4 00:54:42 2026
+++ loncom/cgi/takeoffline.pl Sat Jul 11 01:36:02 2026
@@ -2,7 +2,7 @@
$|=1;
# Take machine offline, reroute traffic
#
-# $Id: takeoffline.pl,v 1.9 2026/07/04 00:54:42 raeburn Exp $
+# $Id: takeoffline.pl,v 1.10 2026/07/11 01:36:02 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -107,7 +107,7 @@
print '<p>'.&mt("In common with other Domain Status pages the 'take online' script is accessible from certain IP addresses:").'</p><ul>'.
'<li>'.&mt('The loopback device - 127.0.0.1 (localhost) - for times when you are web browsing from the server itself.').'</li>'.
'<li>'.&mt("Specified IP addresses set via the configuration for [_1]Access to Server Status Pages[_2] for domain(s) hosted on the server.",'<a href="/adm/domainprefs?phase=display&actions=serverstatuses">','</a>').'</li></ul><p>'.
- &mt("Once the server is offline you will not be able to log-in directly to select a Domain Coordinator role to use the 'Take online' script, unless IP-based controls provide your access.").'<br />'.&mt("However, you will be able to log-in to a different server in the LON-CAPA network, select a Domain Coordinator role in this server's domain, and then use: [_1] to migrate you session to this machine.","<br /><tt>/adm/switchserver?otherserver=$lonhost</tt>").'<br /></p><hr />';
+ &mt("Once the server is offline you will not be able to log-in directly to select a Domain Coordinator role to use the 'Take online' script, unless IP-based controls provide your access.").'<br />'.&mt("However, you will be able to log-in to a different server in the LON-CAPA network, select a Domain Coordinator role in this server's domain, and then use: [_1] to migrate your session to this machine.","<br /><tt>/adm/switchserver?otherserver=$lonhost</tt>").'<br /></p><hr />';
if ($ip eq '127.0.0.1') {
print '<div class="LC_info">'.&mt('You are accessing this page from the loopback device.').'</div>';
} elsif (!@okmachines) {
More information about the LON-CAPA-cvs
mailing list