Remove dateformat being in the wrong place
This commit is contained in:
@@ -34,7 +34,6 @@ $uconfig{'showlogin'} = $in{'showlogin'};
|
||||
$uconfig{'hostnamemode'} = $in{'hostnamemode'};
|
||||
$uconfig{'hostnamedisplay'} = $in{'hostnamedisplay'};
|
||||
$uconfig{'notabs'} = $in{'notabs'};
|
||||
$uconfig{'dateformat'} = $in{'dateformat'};
|
||||
&write_file($usermin_config, \%uconfig);
|
||||
&unlock_file($usermin_config);
|
||||
&webmin_log('ui', undef, undef, \%in);
|
||||
|
||||
@@ -71,11 +71,6 @@ print &ui_table_row($text{'ui_tabs'},
|
||||
&ui_radio("notabs", $uconfig{'notabs'} ? 1 : 0,
|
||||
[ [ 0, $text{'yes'} ], [ 1, $text{'no'} ] ]));
|
||||
|
||||
print &ui_table_row($text{'ui_dateformat'},
|
||||
&ui_select("dateformat", $uconfig{'dateformat'} || "dd/mon/yyyy",
|
||||
[ map { [ $_, $text{'ui_dateformat_'.$_} ] }
|
||||
@webmin::webmin_date_formats ]));
|
||||
|
||||
print &ui_table_end();
|
||||
print &ui_form_end([ [ "save", $text{'save'} ] ]);
|
||||
|
||||
|
||||
@@ -25,7 +25,6 @@ $in{'hostnamemode'} != 3 || $in{'hostnamedisplay'} =~ /^[a-z0-9\.\_\-]+$/i ||
|
||||
$gconfig{'hostnamedisplay'} = $in{'hostnamedisplay'};
|
||||
$gconfig{'feedback_to'} = $in{'feedback_def'} ? undef : $in{'feedback'};
|
||||
$gconfig{'nofeedbackcc'} = $in{'nofeedbackcc'};
|
||||
$gconfig{'dateformat'} = $in{'dateformat'};
|
||||
|
||||
$in{'width_def'} || $in{'width'} =~ /^\d+$/ || &error($text{'ui_ewidth'});
|
||||
$gconfig{'help_width'} = $in{'width'};
|
||||
|
||||
@@ -41,11 +41,6 @@ print &ui_table_row($text{'ui_feedbackmode'},
|
||||
[ [ 0, $text{'yes'} ], [ 1, $text{'ui_feednocc'} ],
|
||||
[ 2, $text{'no'} ] ]), undef, [ "valign=middle","valign=middle" ]);
|
||||
|
||||
print &ui_table_row($text{'ui_dateformat'},
|
||||
&ui_select("dateformat", $gconfig{'dateformat'} || "dd/mon/yyyy",
|
||||
[ map { [ $_, $text{'ui_dateformat_'.$_} ] }
|
||||
@webmin_date_formats ]), undef, [ "valign=middle","valign=middle" ]);
|
||||
|
||||
print &ui_table_row($text{'ui_width'},
|
||||
&ui_opt_textbox("width", $gconfig{'help_width'}, 5,
|
||||
"$text{'default'} (400)"), undef, [ "valign=middle","valign=middle" ]);
|
||||
|
||||
Reference in New Issue
Block a user