aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions.inc.php (follow)
Commit message (Collapse)AuthorAgeFilesLines
* - bug fixed on upload : configuration variable $conf['upload_available'] hasplegall2004-12-301-1/+1
| | | | | | | | | | | | | | disappeared - by default, new categories are not "uploadable" - bug fixed on date displayed from Unix format : trying to find seconds while not provided - bug fixed on admin/waiting template to center submit button git-svn-id: http://piwigo.org/svn/trunk@667 68402e56-0260-453c-a942-63ccdbb3a9ee
* - register process partly rewrittenplegall2004-12-281-1/+26
| | | | git-svn-id: http://piwigo.org/svn/trunk@661 68402e56-0260-453c-a942-63ccdbb3a9ee
* - admin/update : filesystem synchronization process completelyplegall2004-12-271-8/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | rewritten. How to speed up sync ? by avoiding recursivity ! - admin/update : option to display verbose information details - admin/update : option to simulate only. No database insert, delete or update will be made - bug fixed : in admin/cat_list, if you delete a virtual category, you may create a gap in the rank list. This gap will generate errors when trying to move a category on this gap. Fixed by calling ordering and update_global_rank at category deletion. - admin/cat_list, only one query to insert a new virtual category (no need of a second query to update uppercats and global_rank) - for a given category, even if empty, the representing element must not be the one of a forbidden category for the current user - generation time optionnaly displayed on the bottom of each page becomes more price : number of SQL queries and SQL time added. git-svn-id: http://piwigo.org/svn/trunk@659 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug on Windows for date 1970-01-01 : Windows refuses to work with 1970-01-01plegall2004-11-241-1/+3
| | | | | | | 00:00:00, "he" thinks it's prior to midnight... Let's force midday ! git-svn-id: http://piwigo.org/svn/trunk@618 68402e56-0260-453c-a942-63ccdbb3a9ee
* - images.path column added to reduce database accessplegall2004-11-161-25/+10
| | | | | | | | | | - function mass_inserts moved from admin/remote_sites.php to admin/include/function.php - function mass_inserts used in admin/update.php git-svn-id: http://piwigo.org/svn/trunk@606 68402e56-0260-453c-a942-63ccdbb3a9ee
* Before 1970, Microsoft Windows can't mktime. format_date changed was changedplegall2004-11-091-20/+33
| | | | | | | to avoid mktime unless year is after 1970 or PHP_OS is not Windows git-svn-id: http://piwigo.org/svn/trunk@599 68402e56-0260-453c-a942-63ccdbb3a9ee
* update headers to comply with GPLz0rglub2004-11-061-4/+4
| | | | git-svn-id: http://piwigo.org/svn/trunk@593 68402e56-0260-453c-a942-63ccdbb3a9ee
* - DEFAULT_LANGUAGE constant moved to $conf['default_language']z0rglub2004-11-051-1/+3
| | | | | | | | - DEBUG constant divided into $conf['show_queries'] and $conf['show_gt'] (display generation time at the bottom of each page) git-svn-id: http://piwigo.org/svn/trunk@592 68402e56-0260-453c-a942-63ccdbb3a9ee
* - function mysql_query replaced by pwg_query : the same with debuggingz0rglub2004-10-301-18/+22
| | | | | | | | | features - by default, DEBUG is set to 0 (off) git-svn-id: http://piwigo.org/svn/trunk@587 68402e56-0260-453c-a942-63ccdbb3a9ee
* - refactoring of comments.phpz0rglub2004-10-231-0/+48
| | | | | | | | | | | | | | | | | - creation of function get_thumbnail_src used everywhere a thumbnail must be displayed - creation of function parse_comment_content (used in comments.php and picture.php) - concerning undefined index on arrays retrieved in database, instead of testing possibly unset values, use of @ operator (smarter...) - add pre tag in default.css stylesheet for debugging purpose (need to have left aligned text) git-svn-id: http://piwigo.org/svn/trunk@579 68402e56-0260-453c-a942-63ccdbb3a9ee
* -First draft of history displaygweltas2004-09-261-2/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@537 68402e56-0260-453c-a942-63ccdbb3a9ee
* - huge refactoring of admin/configuration.php (reminder : tabs in code arez0rglub2004-09-201-1/+1
| | | | | | | | | | | | | | forbidden, only blank spaces are allowed) - in admin panel, remote site management is in "general" section and not in "configuration" section - when retrieving languages, the array keys must be the language code and not its display name (because 2 language codes might have the same display name) git-svn-id: http://piwigo.org/svn/trunk@528 68402e56-0260-453c-a942-63ccdbb3a9ee
* Minor bugs correctiongweltas2004-09-071-11/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@519 68402e56-0260-453c-a942-63ccdbb3a9ee
* - in admin/configuration, add new step with "sections" (general, comments,z0rglub2004-09-031-17/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | default, upload, metadata, sessions) - admin/configuration.php and its template have been higly simplificated by making things more generic : for example, for each configuration parameter, its name must correspond to the name we find in the config table and belongs to a section, in the lang array we find : - $lang['conf_<section>_<param>'] - $lang['conf_<section>_<param>_info'] - $lang['conf_<section>_<param>_error'] optionnaly - more described message when connection to database server is impossible - redefinitions of get_languages and get_templates functions - deletion of configuration parameters : webmaster, session_keyword - rename of configuration parameters : - default_lang => default_language - default_style => default_template git-svn-id: http://piwigo.org/svn/trunk@512 68402e56-0260-453c-a942-63ccdbb3a9ee
* add rating featurez0rglub2004-08-301-0/+34
| | | | git-svn-id: http://piwigo.org/svn/trunk@507 68402e56-0260-453c-a942-63ccdbb3a9ee
* - Deletion of obsolete functions in the administrative partgweltas2004-08-251-1/+1
| | | | | | | - Repair of virtual category management git-svn-id: http://piwigo.org/svn/trunk@496 68402e56-0260-453c-a942-63ccdbb3a9ee
* refresh time decreases from 5 seconds to 1z0rglub2004-08-251-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@495 68402e56-0260-453c-a942-63ccdbb3a9ee
* use of functions_html.inc.php instead of htmlfunctions.inc.phpz0rglub2004-08-061-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@477 68402e56-0260-453c-a942-63ccdbb3a9ee
* field comments.date becomes a datetime MySQL field type (instead of int)z0rglub2004-05-201-0/+6
| | | | git-svn-id: http://piwigo.org/svn/trunk@420 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 23 : search case insensitive BUT highlightning case sensitivez0rglub2004-03-311-8/+17
| | | | git-svn-id: http://piwigo.org/svn/trunk@409 68402e56-0260-453c-a942-63ccdbb3a9ee
* redirections modification : use of a HTML refresh page instead of header PHPz0rglub2004-03-311-0/+28
| | | | | | | | function. The purpose is to avoid redirections failure when extra characters are found in included PHP files. git-svn-id: http://piwigo.org/svn/trunk@405 68402e56-0260-453c-a942-63ccdbb3a9ee
* - Template migrationgweltas2004-03-261-6/+7
| | | | | | | | - Admin Control Panel migration - Category management git-svn-id: http://piwigo.org/svn/trunk@394 68402e56-0260-453c-a942-63ccdbb3a9ee
* New default template - User sidegweltas2004-02-261-5/+5
| | | | git-svn-id: http://piwigo.org/svn/trunk@375 68402e56-0260-453c-a942-63ccdbb3a9ee
* Split of langage filesgweltas2004-02-191-57/+5
| | | | git-svn-id: http://piwigo.org/svn/trunk@364 68402e56-0260-453c-a942-63ccdbb3a9ee
* header global refactoringz0rglub2004-02-111-18/+26
| | | | git-svn-id: http://piwigo.org/svn/trunk@362 68402e56-0260-453c-a942-63ccdbb3a9ee
* adding phpdocumentor variables to function get_enumsz0rglub2004-02-111-2/+3
| | | | git-svn-id: http://piwigo.org/svn/trunk@360 68402e56-0260-453c-a942-63ccdbb3a9ee
* Template modificationgweltas2004-02-071-6/+56
| | | | | | | Split of the french language file git-svn-id: http://piwigo.org/svn/trunk@351 68402e56-0260-453c-a942-63ccdbb3a9ee
* Merge of the 1.3.1 releasegweltas2004-02-021-50/+72
| | | | | | | | | Creation of an unique include file (common.php) Creation of an unique define file (include/constants.php) Modification of the installation procedure git-svn-id: http://piwigo.org/svn/trunk@345 68402e56-0260-453c-a942-63ccdbb3a9ee
* Modifyed header to be compliant with PhpDocumentorz0rglub2003-11-081-16/+25
| | | | git-svn-id: http://piwigo.org/svn/trunk@235 68402e56-0260-453c-a942-63ccdbb3a9ee
* define( CONSTANT, 'value' ) becomes define( "CONSTANT", 'value')z0rglub2003-11-031-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@231 68402e56-0260-453c-a942-63ccdbb3a9ee
* Using the same name for variables in ./include/mysql.inc.phpz0rglub2003-09-201-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@141 68402e56-0260-453c-a942-63ccdbb3a9ee
* Using PREFIX_INCLUDE to have strictly relative pathsz0rglub2003-09-151-5/+5
| | | | git-svn-id: http://piwigo.org/svn/trunk@114 68402e56-0260-453c-a942-63ccdbb3a9ee
* Mail notification for adminsz0rglub2003-09-101-0/+48
| | | | git-svn-id: http://piwigo.org/svn/trunk@85 68402e56-0260-453c-a942-63ccdbb3a9ee
* Multi categories for the same picturez0rglub2003-08-301-0/+26
| | | | git-svn-id: http://piwigo.org/svn/trunk@61 68402e56-0260-453c-a942-63ccdbb3a9ee
* improve the header of each filez0rglub2003-08-241-2/+4
| | | | git-svn-id: http://piwigo.org/svn/trunk@57 68402e56-0260-453c-a942-63ccdbb3a9ee
* instead of overriding individual keywords,you can add a keyword to all or ↵z0rglub2003-07-261-4/+1
| | | | | | remove it from all git-svn-id: http://piwigo.org/svn/trunk@39 68402e56-0260-453c-a942-63ccdbb3a9ee
* *** empty log message ***z0rglub2003-07-211-21/+8
| | | | git-svn-id: http://piwigo.org/svn/trunk@26 68402e56-0260-453c-a942-63ccdbb3a9ee
* *** empty log message ***z0rglub2003-07-011-9/+10
| | | | git-svn-id: http://piwigo.org/svn/trunk@21 68402e56-0260-453c-a942-63ccdbb3a9ee
* search improvedz0rglub2003-05-251-10/+21
| | | | git-svn-id: http://piwigo.org/svn/trunk@17 68402e56-0260-453c-a942-63ccdbb3a9ee
* *** empty log message ***z0rglub2003-05-211-8/+24
| | | | git-svn-id: http://piwigo.org/svn/trunk@15 68402e56-0260-453c-a942-63ccdbb3a9ee
* *** empty log message ***z0rglub2003-05-171-4/+29
| | | | git-svn-id: http://piwigo.org/svn/trunk@13 68402e56-0260-453c-a942-63ccdbb3a9ee
* 2003.05.13 user_add and user_modify addedz0rglub2003-05-131-5/+32
| | | | git-svn-id: http://piwigo.org/svn/trunk@9 68402e56-0260-453c-a942-63ccdbb3a9ee
* *** empty log message ***z0rglub2003-05-101-22/+22
| | | | git-svn-id: http://piwigo.org/svn/trunk@6 68402e56-0260-453c-a942-63ccdbb3a9ee
* Initial revisionz0rglub2003-05-091-0/+286
git-svn-id: http://piwigo.org/svn/trunk@2 68402e56-0260-453c-a942-63ccdbb3a9ee