version 1.77, 2015/05/22 21:08:42
|
version 1.78, 2015/06/09 21:22:56
|
Line 1901 function hide_searching() {
|
Line 1901 function hide_searching() {
|
} elsif ($phase eq 'setquota') { |
} elsif ($phase eq 'setquota') { |
my $invalid = &mt('The quota you entered contained invalid characters.'); |
my $invalid = &mt('The quota you entered contained invalid characters.'); |
my $alert = &mt('You must enter a number'); |
my $alert = &mt('You must enter a number'); |
|
&js_escape(\$invalid); |
|
&js_escape(\$alert); |
my $regexp = '/^\s*(\d+\.?\d*|\.\d+)\s*$/'; |
my $regexp = '/^\s*(\d+\.?\d*|\.\d+)\s*$/'; |
$js .= <<"ENDSCRIPT"; |
$js .= <<"ENDSCRIPT"; |
|
|
Line 1920 ENDSCRIPT
|
Line 1922 ENDSCRIPT
|
} elsif ($phase eq 'setanon') { |
} elsif ($phase eq 'setanon') { |
my $invalid = &mt('The responder threshold you entered is invalid.'); |
my $invalid = &mt('The responder threshold you entered is invalid.'); |
my $alert = &mt('You must enter a positive integer.'); |
my $alert = &mt('You must enter a positive integer.'); |
|
&js_escape(\$invalid); |
|
&js_escape(\$alert); |
my $regexp = ' /^\s*\d+\s*$/'; |
my $regexp = ' /^\s*\d+\s*$/'; |
$js .= <<"ENDSCRIPT"; |
$js .= <<"ENDSCRIPT"; |
|
|
Line 1945 ENDSCRIPT
|
Line 1949 ENDSCRIPT
|
my $invalid = &mt('The choice entered for disabling the submit button is invalid.'); |
my $invalid = &mt('The choice entered for disabling the submit button is invalid.'); |
my $invalidtimeout = &mt('The timeout you entered for disabling the submit button is invalid.'); |
my $invalidtimeout = &mt('The timeout you entered for disabling the submit button is invalid.'); |
my $alert = &mt('Enter one of: a positive integer, 0 (for no timeout), or leave blank to use domain default'); |
my $alert = &mt('Enter one of: a positive integer, 0 (for no timeout), or leave blank to use domain default'); |
|
&js_escape(\$invalid); |
|
&js_escape(\$invalidtimeout); |
|
&js_escape(\$alert); |
my $regexp = ' /^\s*\d+\s*$/'; |
my $regexp = ' /^\s*\d+\s*$/'; |
|
|
$js .= <<"ENDSCRIPT"; |
$js .= <<"ENDSCRIPT"; |