Merged patch #457984 (Localised dates in dump and db stats) thanks to Michal Cihar
This commit is contained in:
@@ -27,6 +27,9 @@ $Source$
|
||||
- fixed bug #458557 (Navigation bar);
|
||||
- optimized a bit.
|
||||
* ldi_check.php3: removed some unnecessary "str_replace".
|
||||
* lib.inc.php3, lines 848-865; db_stats.php3, line 114; tbl_dump, line 162;
|
||||
lang/*: Merged patch #457984 (Localised dates in dump and db stats)
|
||||
thanks to Michal Cihar <nijelat users.sourceforge.net>.
|
||||
|
||||
2001-09-04 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
||||
* lib.inc.php3:
|
||||
|
@@ -111,7 +111,7 @@ if ($server > 0) {
|
||||
</tr>
|
||||
<tr>
|
||||
<th align="left"><big><?php echo $strGenTime . ' :'; ?></big></th>
|
||||
<th align="left"><big><?php echo date('F j, Y, H:i'); ?></big></th>
|
||||
<th align="left"><big><?php echo localised_date(); ?></big></th>
|
||||
</tr>
|
||||
</table>
|
||||
<br /><br />
|
||||
|
@@ -8,6 +8,12 @@ $number_thousands_separator = ',';
|
||||
$number_decimal_separator = '.';
|
||||
$byteUnits = array('Bytes', 'KB', 'MB', 'GB');
|
||||
|
||||
$day_of_week = array('Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat');
|
||||
$month = array('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec');
|
||||
// See http://www.php.net/manual/en/function.strftime.php to define the
|
||||
// variable below
|
||||
$datefmt = '%B %d, %Y at %I:%M %p';
|
||||
|
||||
|
||||
$strAccessDenied = 'Acesso Negado';
|
||||
$strAction = 'A<><41>es';
|
||||
|
@@ -8,6 +8,12 @@ $number_thousands_separator = ',';
|
||||
$number_decimal_separator = '.';
|
||||
$byteUnits = array('Bytes', 'KB', 'MB', 'GB');
|
||||
|
||||
$day_of_week = array('Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat');
|
||||
$month = array('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec');
|
||||
// See http://www.php.net/manual/en/function.strftime.php to define the
|
||||
// variable below
|
||||
$datefmt = '%B %d, %Y at %I:%M %p';
|
||||
|
||||
|
||||
$strAccessDenied = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
||||
$strAction = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
||||
|
@@ -8,6 +8,12 @@ $number_thousands_separator = ',';
|
||||
$number_decimal_separator = '.';
|
||||
$byteUnits = array('Bytes', 'KB', 'MB', 'GB');
|
||||
|
||||
$day_of_week = array('Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat');
|
||||
$month = array('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec');
|
||||
// See http://www.php.net/manual/en/function.strftime.php to define the
|
||||
// variable below
|
||||
$datefmt = '%B %d, %Y at %I:%M %p';
|
||||
|
||||
|
||||
$strAccessDenied = 'Access denegat';
|
||||
$strAction = 'Acció';
|
||||
|
@@ -9,6 +9,12 @@ $number_thousands_separator = ',';
|
||||
$number_decimal_separator = '.';
|
||||
$byteUnits = array('Bytes', 'KB', 'MB', 'GB');
|
||||
|
||||
$day_of_week = array('Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat');
|
||||
$month = array('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec');
|
||||
// See http://www.php.net/manual/en/function.strftime.php to define the
|
||||
// variable below
|
||||
$datefmt = '%B %d, %Y at %I:%M %p';
|
||||
|
||||
|
||||
$strAccessDenied = '<27>ڵ<EFBFBD><DAB5>s<EFBFBD><73>';
|
||||
$strAction = '<27><><EFBFBD><EFBFBD>';
|
||||
|
@@ -8,6 +8,12 @@ $number_thousands_separator = ',';
|
||||
$number_decimal_separator = '.';
|
||||
$byteUnits = array('Bytes', 'KB', 'MB', 'GB');
|
||||
|
||||
$day_of_week = array('Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat');
|
||||
$month = array('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec');
|
||||
// See http://www.php.net/manual/en/function.strftime.php to define the
|
||||
// variable below
|
||||
$datefmt = '%B %d, %Y at %I:%M %p';
|
||||
|
||||
|
||||
$strAccessDenied = '<27><><EFBFBD>ʱ<EFBFBD><CAB1>ܾ<EFBFBD>';
|
||||
$strAction = 'ִ<>в<EFBFBD><D0B2><EFBFBD>';
|
||||
|
@@ -8,6 +8,12 @@ $number_thousands_separator = ' ';
|
||||
$number_decimal_separator = '.';
|
||||
$byteUnits = array('Bajt<6A>', 'KB', 'MB', 'GB');
|
||||
|
||||
$day_of_week = array('Ned<65>le', 'Pond<6E>l<EFBFBD>', '<27>ter<65>', 'St<53>eda', '<27>tvrtek', 'P<>tek', 'Sobota');
|
||||
$month = array('ledna', '<27>nora', 'b<>ezna', 'dubna', 'kv<6B>tna', '<27>ervna', '<27>ervence', 'srpna', 'z<><7A><EFBFBD>', '<27><>jna', 'listopadu', 'prosince');
|
||||
// See http://www.php.net/manual/en/function.strftime.php to define the
|
||||
// variable below
|
||||
$datefmt = '%a %e. %b %Y, %H:%M';
|
||||
|
||||
|
||||
$strAccessDenied = 'P<><50>stup odep<65>en';
|
||||
$strAction = 'Akce';
|
||||
|
@@ -8,6 +8,12 @@ $number_thousands_separator = ' ';
|
||||
$number_decimal_separator = '.';
|
||||
$byteUnits = array('Bajt<6A>', 'KB', 'MB', 'GB');
|
||||
|
||||
$day_of_week = array('Ned<65>le', 'Pond<6E>l<EFBFBD>', '<27>ter<65>', 'St<53>eda', '<27>tvrtek', 'P<>tek', 'Sobota');
|
||||
$month = array('ledna', '<27>nora', 'b<>ezna', 'dubna', 'kv<6B>tna', '<27>ervna', '<27>ervence', 'srpna', 'z<><7A><EFBFBD>', '<27><>jna', 'listopadu', 'prosince');
|
||||
// See http://www.php.net/manual/en/function.strftime.php to define the
|
||||
// variable below
|
||||
$datefmt = '%a %e. %b %Y, %H:%M';
|
||||
|
||||
|
||||
$strAccessDenied = 'P<><50>stup odep<65>en';
|
||||
$strAction = 'Akce';
|
||||
|
@@ -8,6 +8,12 @@ $number_thousands_separator = ',';
|
||||
$number_decimal_separator = '.';
|
||||
$byteUnits = array('Bytes', 'KB', 'MB', 'GB');
|
||||
|
||||
$day_of_week = array('Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat');
|
||||
$month = array('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec');
|
||||
// See http://www.php.net/manual/en/function.strftime.php to define the
|
||||
// variable below
|
||||
$datefmt = '%B %d, %Y at %I:%M %p';
|
||||
|
||||
|
||||
$strAccessDenied = 'Adgang Nægtet';
|
||||
$strAction = 'Handling';
|
||||
|
@@ -8,6 +8,12 @@ $number_thousands_separator = ',';
|
||||
$number_decimal_separator = '.';
|
||||
$byteUnits = array('Bytes', 'KB', 'MB', 'GB');
|
||||
|
||||
$day_of_week = array('Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat');
|
||||
$month = array('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec');
|
||||
// See http://www.php.net/manual/en/function.strftime.php to define the
|
||||
// variable below
|
||||
$datefmt = '%B %d, %Y at %I:%M %p';
|
||||
|
||||
|
||||
$strAccessDenied = 'Toegang geweigerd ';
|
||||
$strAction = 'Actie';
|
||||
|
@@ -8,6 +8,12 @@ $number_thousands_separator = ',';
|
||||
$number_decimal_separator = '.';
|
||||
$byteUnits = array('Bytes', 'KB', 'MB', 'GB');
|
||||
|
||||
$day_of_week = array('Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat');
|
||||
$month = array('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec');
|
||||
// See http://www.php.net/manual/en/function.strftime.php to define the
|
||||
// variable below
|
||||
$datefmt = '%B %d, %Y at %I:%M %p';
|
||||
|
||||
|
||||
$strAccessDenied = 'Access denied';
|
||||
$strAction = 'Action';
|
||||
|
@@ -8,6 +8,12 @@ $number_thousands_separator = ' ';
|
||||
$number_decimal_separator = ',';
|
||||
$byteUnits = array('Octets', 'Ko', 'Mo', 'Go');
|
||||
|
||||
$day_of_week = array('Dimanche', 'Lundi', 'Mardi', 'Mercredi', 'Jeudi', 'Vendredi', 'Samedi');
|
||||
$month = array('Janvier', 'Fevrier', 'Mars', 'Avril', 'Mai', 'Juin', 'Juillet', 'Ao<41>t', 'Septembre', 'Octobre', 'Novembre', 'D<>cembre');
|
||||
// Voir http://www.php.net/manual/en/function.strftime.php pour la variable
|
||||
// ci-dessous
|
||||
$datefmt = '%A %d %B %Y <20> %H:%M';
|
||||
|
||||
|
||||
$strAccessDenied = 'Acc<63>s refus<75>';
|
||||
$strAction = 'Action';
|
||||
|
@@ -8,6 +8,12 @@ $number_thousands_separator = '.';
|
||||
$number_decimal_separator = ',';
|
||||
$byteUnits = array('Bytes', 'KB', 'MB', 'GB');
|
||||
|
||||
$day_of_week = array('Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat');
|
||||
$month = array('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec');
|
||||
// See http://www.php.net/manual/en/function.strftime.php to define the
|
||||
// variable below
|
||||
$datefmt = '%B %d, %Y at %I:%M %p';
|
||||
|
||||
|
||||
$strAccessDenied = 'Acceso Negado';
|
||||
$strAction = 'Acci<63>n';
|
||||
|
@@ -8,6 +8,12 @@ $number_thousands_separator = '.';
|
||||
$number_decimal_separator = ',';
|
||||
$byteUnits = array('Bytes', 'KB', 'MB', 'GB');
|
||||
|
||||
$day_of_week = array('Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat');
|
||||
$month = array('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec');
|
||||
// See http://www.php.net/manual/en/function.strftime.php to define the
|
||||
// variable below
|
||||
$datefmt = '%B %d, %Y at %I:%M %p';
|
||||
|
||||
|
||||
$strAccessDenied = 'Zugriff verweigert.';
|
||||
$strAction = 'Aktion';
|
||||
|
@@ -9,6 +9,12 @@ $number_thousands_separator = '.';
|
||||
$number_decimal_separator = ',';
|
||||
$byteUnits = array('Bytes', 'KB', 'MB', 'GB');
|
||||
|
||||
$day_of_week = array('Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat');
|
||||
$month = array('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec');
|
||||
// See http://www.php.net/manual/en/function.strftime.php to define the
|
||||
// variable below
|
||||
$datefmt = '%B %d, %Y at %I:%M %p';
|
||||
|
||||
|
||||
$strAccessDenied = 'Accesso negato';
|
||||
$strAction = 'Azione';
|
||||
|
@@ -8,6 +8,12 @@ $number_thousands_separator = ',';
|
||||
$number_decimal_separator = '.';
|
||||
$byteUnits = array('Bytes', 'KB', 'MB', 'GB');
|
||||
|
||||
$day_of_week = array('Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat');
|
||||
$month = array('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec');
|
||||
// See http://www.php.net/manual/en/function.strftime.php to define the
|
||||
// variable below
|
||||
$datefmt = '%B %d, %Y at %I:%M %p';
|
||||
|
||||
|
||||
$strAccessDenied = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϵ<EFBFBD><CFB5>ݤ<EFBFBD><DDA4><EFBFBD><EFBFBD>ޤ<EFBFBD><DEA4><EFBFBD><EFBFBD><EFBFBD>';
|
||||
$strAction = '<27>¹<EFBFBD>';
|
||||
|
@@ -8,6 +8,12 @@ $number_thousands_separator = ',';
|
||||
$number_decimal_separator = '.';
|
||||
$byteUnits = array('Bytes', 'KB', 'MB', 'GB');
|
||||
|
||||
$day_of_week = array('Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat');
|
||||
$month = array('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec');
|
||||
// See http://www.php.net/manual/en/function.strftime.php to define the
|
||||
// variable below
|
||||
$datefmt = '%B %d, %Y at %I:%M %p';
|
||||
|
||||
|
||||
$strAccessDenied = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>źεǾ<CEB5><C7BE><EFBFBD><EFBFBD>ϴ<EFBFBD>.';
|
||||
$strAction = '<27><><EFBFBD><EFBFBD>';
|
||||
|
@@ -8,6 +8,12 @@ $number_thousands_separator = ',';
|
||||
$number_decimal_separator = '.';
|
||||
$byteUnits = array('Bytes', 'KB', 'MB', 'GB');
|
||||
|
||||
$day_of_week = array('Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat');
|
||||
$month = array('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec');
|
||||
// See http://www.php.net/manual/en/function.strftime.php to define the
|
||||
// variable below
|
||||
$datefmt = '%B %d, %Y at %I:%M %p';
|
||||
|
||||
|
||||
$strAccessDenied = 'Ingen tilgang';
|
||||
$strAction = 'Handling';
|
||||
|
@@ -8,6 +8,12 @@ $number_thousands_separator = '.';
|
||||
$number_decimal_separator = ',';
|
||||
$byteUnits = array('bajt<6A>w', 'KB', 'MB', 'GB');
|
||||
|
||||
$day_of_week = array('Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat');
|
||||
$month = array('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec');
|
||||
// See http://www.php.net/manual/en/function.strftime.php to define the
|
||||
// variable below
|
||||
$datefmt = '%B %d, %Y at %I:%M %p';
|
||||
|
||||
|
||||
$strAccessDenied = 'Brak dost<73>pu';
|
||||
$strAction = 'Dzia<69>anie';
|
||||
|
@@ -8,6 +8,12 @@ $number_thousands_separator = ',';
|
||||
$number_decimal_separator = '.';
|
||||
$byteUnits = array('Bytes', 'KB', 'MB', 'GB');
|
||||
|
||||
$day_of_week = array('Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat');
|
||||
$month = array('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec');
|
||||
// See http://www.php.net/manual/en/function.strftime.php to define the
|
||||
// variable below
|
||||
$datefmt = '%B %d, %Y at %I:%M %p';
|
||||
|
||||
|
||||
$strAccessDenied = 'Acesso Negado';
|
||||
$strAction = 'A<><41>es';
|
||||
|
@@ -8,6 +8,13 @@ $number_thousands_separator = ',';
|
||||
$number_decimal_separator = '.';
|
||||
$byteUnits = array('Bytes', 'KB', 'MB', 'GB');
|
||||
|
||||
$day_of_week = array('Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat');
|
||||
$month = array('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec');
|
||||
// See http://www.php.net/manual/en/function.strftime.php to define the
|
||||
// variable below
|
||||
$datefmt = '%B %d, %Y at %I:%M %p';
|
||||
|
||||
|
||||
$strAccessDenied = 'Acces interzis';
|
||||
$strAction = 'Actiune';
|
||||
$strAddDeleteColumn = 'Adauga/Sterge coloane';
|
||||
|
@@ -8,6 +8,12 @@ $number_thousands_separator = ',';
|
||||
$number_decimal_separator = '.';
|
||||
$byteUnits = array('Bytes', 'KB', 'MB', 'GB');
|
||||
|
||||
$day_of_week = array('Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat');
|
||||
$month = array('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec');
|
||||
// See http://www.php.net/manual/en/function.strftime.php to define the
|
||||
// variable below
|
||||
$datefmt = '%B %d, %Y at %I:%M %p';
|
||||
|
||||
|
||||
$strAccessDenied = '<27> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
||||
$strAction = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
||||
|
@@ -8,6 +8,12 @@ $number_thousands_separator = ',';
|
||||
$number_decimal_separator = '.';
|
||||
$byteUnits = array('Bytes', 'KB', 'MB', 'GB');
|
||||
|
||||
$day_of_week = array('Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat');
|
||||
$month = array('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec');
|
||||
// See http://www.php.net/manual/en/function.strftime.php to define the
|
||||
// variable below
|
||||
$datefmt = '%B %d, %Y at %I:%M %p';
|
||||
|
||||
|
||||
$strAccessDenied = '<27> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
||||
$strAction = '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>';
|
||||
|
@@ -9,6 +9,12 @@ $number_thousands_separator = ' ';
|
||||
$number_decimal_separator = ',';
|
||||
$byteUnits = array('Bajtov', 'KB', 'MB', 'GB');
|
||||
|
||||
$day_of_week = array('Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat');
|
||||
$month = array('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec');
|
||||
// See http://www.php.net/manual/en/function.strftime.php to define the
|
||||
// variable below
|
||||
$datefmt = '%B %d, %Y at %I:%M %p';
|
||||
|
||||
|
||||
$strAccessDenied = 'Pr<50>stup zamietnut<75>';
|
||||
$strAction = 'Akcia';
|
||||
|
@@ -8,6 +8,12 @@ $number_thousands_separator = ',';
|
||||
$number_decimal_separator = '.';
|
||||
$byteUnits = array('Bytes', 'KB', 'MB', 'GB');
|
||||
|
||||
$day_of_week = array('Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat');
|
||||
$month = array('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec');
|
||||
// See http://www.php.net/manual/en/function.strftime.php to define the
|
||||
// variable below
|
||||
$datefmt = '%B %d, %Y at %I:%M %p';
|
||||
|
||||
|
||||
$strAccessDenied = 'Acceso denegado ';
|
||||
$strAction = 'Acción';
|
||||
|
@@ -8,6 +8,12 @@ $number_thousands_separator = ' ';
|
||||
$number_decimal_separator = ',';
|
||||
$byteUnits = array('bytes', 'kB', 'MB', 'GB');
|
||||
|
||||
$day_of_week = array('Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat');
|
||||
$month = array('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec');
|
||||
// See http://www.php.net/manual/en/function.strftime.php to define the
|
||||
// variable below
|
||||
$datefmt = '%B %d, %Y at %I:%M %p';
|
||||
|
||||
|
||||
$strAccessDenied = '<27>tkomst nekad';
|
||||
$strAction = 'Handling';
|
||||
|
@@ -8,6 +8,12 @@ $number_thousands_separator = ',';
|
||||
$number_decimal_separator = '.';
|
||||
$byteUnits = array('Bytes', 'KB', 'MB', 'GB');
|
||||
|
||||
$day_of_week = array('Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat');
|
||||
$month = array('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec');
|
||||
// See http://www.php.net/manual/en/function.strftime.php to define the
|
||||
// variable below
|
||||
$datefmt = '%B %d, %Y at %I:%M %p';
|
||||
|
||||
|
||||
$strAccessDenied = '<27><><EFBFBD>حҵ<D8AD><D2B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ҹ';
|
||||
$strAction = '<27><>зӡ<D0B7><D3A1>';
|
||||
|
20
lib.inc.php3
20
lib.inc.php3
@@ -845,6 +845,26 @@ window.parent.frames['nav'].location.replace('<?php echo $reload_url; ?>');
|
||||
} // end of the 'check_reserved_words' function
|
||||
|
||||
|
||||
/**
|
||||
* Writes localised date
|
||||
*
|
||||
* @param timestamp time
|
||||
*/
|
||||
function localised_date($timestamp = -1)
|
||||
{
|
||||
global $datefmt, $month, $day_of_week;
|
||||
|
||||
if ($timestamp == -1) {
|
||||
$timestamp = time();
|
||||
}
|
||||
|
||||
$date = ereg_replace('%[aA]', $day_of_week[(int)strftime('%w',$timestamp)], $datefmt);
|
||||
$date = ereg_replace('%[bB]', $month[(int)strftime('%m',$timestamp)], $date);
|
||||
|
||||
return strftime($date, $timestamp);
|
||||
} // end of the 'localised_date()' function
|
||||
|
||||
|
||||
|
||||
/* ----- Functions used to display records returned by a sql query ----- */
|
||||
|
||||
|
@@ -159,7 +159,7 @@ else {
|
||||
? backquote($db)
|
||||
: '\'' . $db . '\'';
|
||||
$dump_buffer .= $crlf
|
||||
. '# ' . $strGenTime . ': ' . date('F j, Y, g:i a') . $crlf
|
||||
. '# ' . $strGenTime . ': ' . localised_date() . $crlf
|
||||
. '# ' . $strServerVersion . ': ' . substr(MYSQL_INT_VERSION, 0, 1) . '.' . substr(MYSQL_INT_VERSION, 1, 2) . '.' . substr(MYSQL_INT_VERSION, 3) . $crlf
|
||||
. '# ' . $strPHPVersion . ': ' . phpversion() . $crlf
|
||||
. '# ' . $strDatabase . ': ' . $formatted_db_name . $crlf;
|
||||
|
Reference in New Issue
Block a user