mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-26 11:19:55 +03:00
- improvement: long localized messages are in HTML files instead of $lang
array. This is the case of admin/help and about pages. - deletion: of unused functions (ts_to_mysqldt, is_image, TN_exists, check_date_format, date_convert, get_category_directories, get_used_metadata_list, array_remove, pwg_write_debug, get_group_restrictions, get_all_group_restrictions, is_group_allowed, style_select, deprecated_getAttribute). - new: many new contextual help pages to replace descriptions previously included in pages. - modification: reorganisation of language files. Deletion of unused language keys, alphabetical sort. No faq.lang.php anymore (replaced by help.html). Only done for en_UK.iso-8859-1. git-svn-id: http://piwigo.org/svn/trunk@862 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
eac1724ee5
commit
3371c75742
42 changed files with 1155 additions and 1247 deletions
12
feed.php
12
feed.php
|
@ -214,18 +214,6 @@ function explode_mysqldt($mysqldt)
|
|||
return $date;
|
||||
}
|
||||
|
||||
/**
|
||||
* creates a MySQL datetime format (2005-07-14 23:01:37) from a Unix
|
||||
* timestamp (number of seconds since 1970-01-01 00:00:00 GMT)
|
||||
*
|
||||
* @param int unix timestamp
|
||||
* @return string mysql datetime format
|
||||
*/
|
||||
function ts_to_mysqldt($ts)
|
||||
{
|
||||
return date('Y-m-d H:i:s', $ts);
|
||||
}
|
||||
|
||||
/**
|
||||
* creates a Unix timestamp (number of seconds since 1970-01-01 00:00:00
|
||||
* GMT) from a MySQL datetime format (2005-07-14 23:01:37)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue