aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include/functions.php (follow)
Commit message (Collapse)AuthorAgeFilesLines
* feature 1289 added: easy "delete orphan tags" function. On the "tags"plegall2011-01-191-0/+48
| | | | | | | | administration page, a warning message is displayed if you have at least one orphan tag + direct action to delete them. git-svn-id: http://piwigo.org/svn/trunk@8762 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug fixed: no more categories.uploadable column when creating a new categoryplegall2011-01-181-3/+1
| | | | | | | | | | | split the admin/photos_add_direct.php script into admin/include/photos_add_direct_prepare.php (prepare the upload form) + admin/include/photos_add_direct_process.inc.php (process the submitted form) : it makes the upload form backend easier to reuse in the future Community plugin. git-svn-id: http://piwigo.org/svn/trunk@8734 68402e56-0260-453c-a942-63ccdbb3a9ee
* Happy new year 2011plegall2011-01-181-2/+2
| | | | | | | Change "Piwigo - a PHP based picture gallery" into "Piwigo - a PHP based photo gallery" git-svn-id: http://piwigo.org/svn/trunk@8728 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2089: finish removing element_set, now it's time for batch_managerplegall2010-12-311-13/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@8417 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2081 added: ability to choose what to do with photos when deleting anplegall2010-12-231-3/+40
| | | | | | | album : no_delete, delete_orphans, force_delete. Backend only. git-svn-id: http://piwigo.org/svn/trunk@8265 68402e56-0260-453c-a942-63ccdbb3a9ee
* removed unused files / code / css; shorter codervelices2010-12-231-1/+18
| | | | git-svn-id: http://piwigo.org/svn/trunk@8247 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2048 removed (and was never released): no data are sent anonymously ↵plegall2010-12-221-20/+0
| | | | | | to piwigo.org for statistics purpose git-svn-id: http://piwigo.org/svn/trunk@8238 68402e56-0260-453c-a942-63ccdbb3a9ee
* 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