Webgui: improve box, maintenance and date handling
This commit is contained in:
+7
-3
@@ -86,13 +86,17 @@ if ($res = $sth->fetch(PDO::FETCH_NUM)) {
|
||||
}
|
||||
|
||||
$curdate = new DateTime();
|
||||
$opt_datefmt = array(
|
||||
$opt_datefmt = array();
|
||||
foreach ($g_opt_datefmt as $format => $description) {
|
||||
$opt_datefmt[$format] = $description . $curdate->format(' - ' . $format);
|
||||
}
|
||||
/* $opt_datefmt = array(
|
||||
'Y-m-d' => _('YYYY-MM-DD'). $curdate->format(' - Y-m-d'),
|
||||
'Y/m/d' => _('YYYY/MM/DD'). $curdate->format(' - Y/m/d'),
|
||||
'd.m.Y' => _('DD.MM.YYYY'). $curdate->format(' - d.m.Y'),
|
||||
'd/m/Y' => _('DD/MM/YYYY'). $curdate->format(' - d/m/Y'),
|
||||
'm-d-Y' => _('MM/DD/YYYY'). $curdate->format(' - m-d-Y')
|
||||
);
|
||||
'm-d-Y' => _('MM-DD-YYYY'). $curdate->format(' - m-d-Y')
|
||||
); */
|
||||
|
||||
$rowspp = 10;
|
||||
$sql = "SELECT valint FROM settings WHERE userid=? AND sno=10";
|
||||
|
||||
Reference in New Issue
Block a user