aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include/functions.php (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* merge r8124 from branch 2.1 to trunkpatdenice2010-12-141-5/+5
| | | | | | feature 2048: remove urlencode for technicals details (already escaped with http_build_query). git-svn-id: http://piwigo.org/svn/trunk@8125 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r8089 from branch 2.1 to trunkpatdenice2010-12-121-5/+15
| | | | | | feature 2057: use http_build_query instead of add_url_params for GET data. git-svn-id: http://piwigo.org/svn/trunk@8090 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2048: send technical details only to get_version_list.php of PEM API.patdenice2010-12-111-18/+20
| | | | git-svn-id: http://piwigo.org/svn/trunk@8084 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2048: add $conf['send_hosting_technical_details'] parameterpatdenice2010-12-111-3/+4
| | | | git-svn-id: http://piwigo.org/svn/trunk@8082 68402e56-0260-453c-a942-63ccdbb3a9ee
* Use POST to send server datapatdenice2010-12-111-7/+6
| | | | git-svn-id: http://piwigo.org/svn/trunk@8080 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2057: fetchRemote can send POST datapatdenice2010-12-111-14/+35
| | | | git-svn-id: http://piwigo.org/svn/trunk@8079 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 2048: send piwigo versionpatdenice2010-12-071-0/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@8022 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 2048: Send data to piwigo server anonymously (like php and mysql ↵patdenice2010-12-071-0/+17
| | | | | | versions) git-svn-id: http://piwigo.org/svn/trunk@8020 68402e56-0260-453c-a942-63ccdbb3a9ee
* [trunk] merge 7723 - nl_NL - add subscribe for NL to newsletterddtddt2010-11-091-0/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@7724 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1616: rename "category" into "album" (4th commit; almost there)rvelices2010-09-211-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@6993 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1616: rename "category" into "album" (3rd commit; still to come)rvelices2010-09-211-2/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@6988 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1616: rename "category" into "album" (second commit; still to come)rvelices2010-09-191-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@6969 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1616: rename "category" into "album" (first commit; still to come)rvelices2010-09-161-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@6951 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1845 : be able to delete photos added through ftp synchronizationrvelices2010-09-091-16/+34
| | | | git-svn-id: http://piwigo.org/svn/trunk@6873 68402e56-0260-453c-a942-63ccdbb3a9ee
* Bug 1763 fixed : [PostgreSQL] double quote used in queriesnikrou2010-07-051-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@6664 68402e56-0260-453c-a942-63ccdbb3a9ee
* add nl.piwigo.org as domain name if current language is nl_NLplegall2010-05-091-0/+3
| | | | | | | | fix typos on language names in install.php correct list of available newsletters git-svn-id: http://piwigo.org/svn/trunk@6152 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 1641 fixed: Admin>Categories>Synchronize moved to Admin>Tools>Synchronizeplegall2010-05-031-2/+2
| | | | | | | | (the same for the Site Manager). The big "Quick Synchro" button is kept on administration homepage. A link to the Synchronize screen was added into Admin>Photos>Add>FTP+Synchro screen. git-svn-id: http://piwigo.org/svn/trunk@6056 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 1613 fixed: split the "pending" screen into 2 distinct sections :plegall2010-04-291-1/+1
| | | | | | admin>photos>pending + admin>tools>pending comments. git-svn-id: http://piwigo.org/svn/trunk@5997 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1587: move advanced features screen into maintenance screen.plegall2010-04-091-1/+0
| | | | git-svn-id: http://piwigo.org/svn/trunk@5745 68402e56-0260-453c-a942-63ccdbb3a9ee
* fixes only:rvelices2010-04-061-9/+9
| | | | | | | | | - some searches returned bad array for page['items'] (resulting in php warnings and sometimes mysql fatal error) still existing in branch 2.0 - mysql fatal error in admin maintenance - php warn in plugins_list.php - fix check on function param in admin/include/functions.php git-svn-id: http://piwigo.org/svn/trunk@5691 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 1550 fixed: the admin menu opens on the right section for languages_newplegall2010-04-011-0/+1
| | | | | | page. git-svn-id: http://piwigo.org/svn/trunk@5528 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1502: Configuration menu is selected when theme configuration page ↵patdenice2010-03-291-0/+1
| | | | | | | | is selected. Remove useless global $page. git-svn-id: http://piwigo.org/svn/trunk@5448 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1535: Add language manager.patdenice2010-03-251-0/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@5357 68402e56-0260-453c-a942-63ccdbb3a9ee
* increase copyright year to 2010plegall2010-03-191-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@5196 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 1328: backport the pwg_token on trunkplegall2010-03-191-28/+0
| | | | | | | | | bug 1329: backport the check_input_parameter on trunk feature 1026: add pwg_token feature for edit/delete comment. Heavy refactoring on this feature to make the code simpler and easier to maintain (I hope). git-svn-id: http://piwigo.org/svn/trunk@5195 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 724: FCBKcomplete propagated to element_set_global andplegall2010-03-191-0/+46
| | | | | | | | | element_set_unit to manage tags. Note: multiple instances of FCBKcomplete on the same page does not work as good as a single instance. git-svn-id: http://piwigo.org/svn/trunk@5188 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1515: the new admin menu organization implies to tell the accordionplegall2010-03-171-0/+76
| | | | | | | | | | | | menu which section to open on page load. I've moved the single function in functions_themes.inc.php to function.php to avoid misunderstanding with theme manager. Ability to preset the active menu (in the future, a plugin may add its admin page anywhere in the menu, this features needs other change to be possible) git-svn-id: http://piwigo.org/svn/trunk@5173 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1451 : fix mispelling and missing translationsnikrou2010-03-031-2/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@5036 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1451 : localization with gettextnikrou2010-03-021-4/+4
| | | | | | | | | | | Use php-gettext (developpement version rev43, because of php5.3) as fallback Use native language (english) instead of key for translation Keep directory en_UK for english customization Need some refactoring for plurals Todo : managing plugins in the same way git-svn-id: http://piwigo.org/svn/trunk@5021 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1255 :nikrou2010-02-151-3/+3
| | | | | | | update pwg_db_insert_id() function. PosgreSQL needs table name to retrieve last insert auto increment id. git-svn-id: http://piwigo.org/svn/trunk@4892 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 511 : fix problems with calendar functionsnikrou2010-02-031-1/+1
| | | | | | add pwg_db_concat() function git-svn-id: http://piwigo.org/svn/trunk@4833 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r4730 from branch 2.0 to trunkplegall2010-01-231-0/+14
| | | | | | | | | bug 1396: when a photo was deleted, the code to avoid orphans as category representative was 1) wrong (because a photo doesn't have to belong to a category to represent it) 2) at the wrong place. git-svn-id: http://piwigo.org/svn/trunk@4731 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r4617 from branch 2.0 to trunkplegall2010-01-041-0/+1
| | | | | | | feature 1364: subscribe to pl.piwigo.org/announcement when current language is pl_PL git-svn-id: http://piwigo.org/svn/trunk@4618 68402e56-0260-453c-a942-63ccdbb3a9ee
* Bug 1328 : improve check functionnikrou2009-12-141-4/+9
| | | | git-svn-id: http://piwigo.org/svn/trunk@4493 68402e56-0260-453c-a942-63ccdbb3a9ee
* Bug 1328 add function to check tokennikrou2009-12-141-0/+22
| | | | git-svn-id: http://piwigo.org/svn/trunk@4492 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r4400 from branch 2.0 to trunkplegall2009-12-011-1/+1
| | | | | | | | bug 1301 fixed: it is now possible to move root category 4 into root category 49. Sometimes a single comma makes a huge difference! git-svn-id: http://piwigo.org/svn/trunk@4401 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature_1255 :nikrou2009-11-291-1/+1
| | | | | | | - single quotes in queries - start using $conf['dblayer'] git-svn-id: http://piwigo.org/svn/trunk@4385 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1255 : limit params in sql queries were in wrong order (LIMIT count ↵nikrou2009-11-211-1/+1
| | | | | | OFFSET offset) git-svn-id: http://piwigo.org/svn/trunk@4334 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1255 : improve sqlnikrou2009-11-211-2/+2
| | | | | | Replace in queries LIMIT N,M by LIMIT N OFFSET M git-svn-id: http://piwigo.org/svn/trunk@4331 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1244 resolvednikrou2009-11-201-288/+20
| | | | | | | | Replace all mysql functions in core code by ones independant of database engine Fix small php code synxtax : hash must be accessed with [ ] and not { }. git-svn-id: http://piwigo.org/svn/trunk@4325 68402e56-0260-453c-a942-63ccdbb3a9ee
* Escape all login and username characters in databaseEric2009-11-181-1/+1
| | | | | | | | Display correctly usernames (I hope not to have made mistakes) git-svn-id: http://piwigo.org/svn/trunk@4304 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1241 resolved. replace mysql_fetch_array by mysql_fetch_assoc for ↵nikrou2009-11-151-22/+22
| | | | | | small php code improvements git-svn-id: http://piwigo.org/svn/trunk@4265 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r3656 from branch 2.0 to trunkplegall2009-07-211-1/+1
| | | | | | | feature 953: avoid fatal error when delete a photo (added with pwg.images.add API) and the file doesn't not exist on the filesystem. git-svn-id: http://piwigo.org/svn/trunk@3657 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r3620 from branch 2.0 to trunkplegall2009-07-171-2/+10
| | | | | | | feature 1057 added: let the IT/DE/ES users subscribe to the ID/DE/ES Piwigo announcement newsletter. git-svn-id: http://piwigo.org/svn/trunk@3621 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r3401 from branch 2.0 to trunkplegall2009-06-081-2/+2
| | | | | | | feature 1020: simplify the URL to subscribe to Piwigo Announcements Newsletter. git-svn-id: http://piwigo.org/svn/trunk@3402 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r3381 from branch 2.0 to trunkplegall2009-05-311-0/+9
| | | | | | | | feature 1020 added: ability to subscribe to Piwigo Announcement Newsletter from Piwigo itself. Admins can perform this action at the end of installation or on administration panel index. git-svn-id: http://piwigo.org/svn/trunk@3382 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r3196 from branch 2.0 to trunkplegall2009-03-131-12/+5
| | | | | | | | | bug 926 fixed: change links to piwigo.org so that they go to existing URLs. new: if the current language is french, the links go to fr.piwigo.org instead. git-svn-id: http://piwigo.org/svn/trunk@3197 68402e56-0260-453c-a942-63ccdbb3a9ee
* Last (I hope) paranoic optims ...rvelices2009-02-141-3/+58
| | | | | | | | | - move get_uysername and get_groupname from public to admin/functions.inc.php - optim in index.php - tags.tpl does not need smarty modifier included - move func get_comment_post_key from functions_comment to functions (avoid extra inclusion every time on picture page) git-svn-id: http://piwigo.org/svn/trunk@3145 68402e56-0260-453c-a942-63ccdbb3a9ee
* Fix bad $lang.rub2009-01-131-2/+2
| | | | | | Remove not necessary information messages on upgrade. git-svn-id: http://piwigo.org/svn/trunk@3072 68402e56-0260-453c-a942-63ccdbb3a9ee
* Administration: happy new year 2009, all PHP headers updated. plegall2009-01-041-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@3049 68402e56-0260-453c-a942-63ccdbb3a9ee