From c87269ca601a42776fac9fbaf83c1262a4abdfad Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 17 Nov 2003 15:00:29 +0000 Subject: fix broken layout on time server error which result in 80% of the explanation not to be displayed and in hidding the next button --- time_wizard/Ntp.pm | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'time_wizard/Ntp.pm') diff --git a/time_wizard/Ntp.pm b/time_wizard/Ntp.pm index 23d7e0ac..a505b377 100644 --- a/time_wizard/Ntp.pm +++ b/time_wizard/Ntp.pm @@ -140,7 +140,14 @@ $o->{pages} = { next => 'summary' }, server_not_responding => { - name => N("Warming."), + name => join("\n", + N("Warming."), + N("The time servers are not responding. The causes could be:"), + N("- non existent time servers"), + N("- no outside network"), + N("- other reasons..."), + N("- You can try again to contact time servers, or save configuration without actually setting time."), + ) , post => sub { if ($o->{var}{action} eq 'save_quit') { do_it(); @@ -150,11 +157,6 @@ $o->{pages} = { } }, data => [ - { label => N("The time servers are not responding. The causes could be:") }, - { label => N("- non existent time servers") }, - { label => N("- no outside network") }, - { label => N("- other reasons...") }, - { label => N("- You can try again to contact time servers, or save configuration without actually setting time.") }, { val => \$o->{var}{action}, list => [ keys %actions ], format => sub { $actions{$_[0]} } }, ], next => 'config' -- cgit v1.2.1