aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include/functions.php (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update headers to 2014. Happy new year!!mistic1002014-01-051-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@26461 68402e56-0260-453c-a942-63ccdbb3a9ee
* mistakenly removed status check in previous commit + same thing for usersmistic1002013-10-301-35/+17
| | | | git-svn-id: http://piwigo.org/svn/trunk@25244 68402e56-0260-453c-a942-63ccdbb3a9ee
* replace some mass_updates/inserts by single_update/insertmistic1002013-10-191-14/+5
| | | | git-svn-id: http://piwigo.org/svn/trunk@25019 68402e56-0260-453c-a942-63ccdbb3a9ee
* remove all array_push (50% slower than []) + some changes missing for ↵mistic1002013-10-191-50/+29
| | | | | | feature:2978 git-svn-id: http://piwigo.org/svn/trunk@25018 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r24986 from branch 2.5 to trunkplegall2013-10-181-23/+16
| | | | | | | | | | | | bug 2977 fixed: when moving an album, whatever the previous status private/public we must remove irrelevant permissions (a public album can have hidden permission, ie list of groups/users permitted). I've also found a bug in the algorithm that selects users/groups to delete (reverse parameters in array_diff). git-svn-id: http://piwigo.org/svn/trunk@24987 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug:2855flop252013-07-091-1/+1
| | | | | | bug corrected (if that was a virtual album created without parent) git-svn-id: http://piwigo.org/svn/trunk@23886 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug:2898 make some updates methods static + factorize code from plugins, ↵mistic1002013-07-071-0/+54
| | | | | | themes & languages git-svn-id: http://piwigo.org/svn/trunk@23821 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug:2855flop252013-06-161-1/+30
| | | | | | | new otpion "inherit" for create_virtual_category(), and $conf['inheritance_by_default'] = false; ToDo: album registred from Ftp git-svn-id: http://piwigo.org/svn/trunk@23272 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2836: display the number of comments/tags in the menubar rvelices2013-03-241-0/+16
| | | | git-svn-id: http://piwigo.org/svn/trunk@21817 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r21566 from branch 2.5 to trunkplegall2013-03-151-0/+26
| | | | | | | | bug 2867 fixed: move get_dirs function to a function file, so that it can be used in plugin LocalFiles Editor (see r18629) git-svn-id: http://piwigo.org/svn/trunk@21567 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 2852 fixed: ability to use HTML markup in album description for ↵plegall2013-02-281-1/+1
| | | | | | pwg.categories.add git-svn-id: http://piwigo.org/svn/trunk@21070 68402e56-0260-453c-a942-63ccdbb3a9ee
* allow to pass an array to get_tag_ids()mistic1002013-02-181-1/+14
| | | | git-svn-id: http://piwigo.org/svn/trunk@20805 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 2825: add maintenance action to clean the database and avoid integrity ↵plegall2013-02-041-0/+28
| | | | | | errors git-svn-id: http://piwigo.org/svn/trunk@20544 68402e56-0260-453c-a942-63ccdbb3a9ee
* update Piwigo headers to 2013 (the end of the world didn't occur as ↵plegall2013-01-011-1/+1
| | | | | | expected on r12922) git-svn-id: http://piwigo.org/svn/trunk@19703 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2773: add pwg_db_close() methodmistic1002012-10-131-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@18634 68402e56-0260-453c-a942-63ccdbb3a9ee
* - remove unsed code; shorten existing code and improve readability ...rvelices2012-10-121-40/+6
| | | | git-svn-id: http://piwigo.org/svn/trunk@18628 68402e56-0260-453c-a942-63ccdbb3a9ee
* little code refactoring over r17424plegall2012-09-181-1/+10
| | | | | | | bug fixed on Edit Photo page when associating with no album. git-svn-id: http://piwigo.org/svn/trunk@17980 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2737: improve tag administration screen rvelices2012-09-051-30/+41
| | | | | | | | | | | show for every tag - the number of photos - link to public index page - link to batch manager edit add an event for extended description multi language strings (used for autocompletion and shown in the tag admin screen) instead of hard coded in the core [lang=.. git-svn-id: http://piwigo.org/svn/trunk@17765 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 2732: when new tags must be added, also look first for existing tags ↵rvelices2012-09-031-58/+41
| | | | | | with different case git-svn-id: http://piwigo.org/svn/trunk@17724 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r17668 from branch 2.4 to trunkplegall2012-08-301-36/+53
| | | | | | | | | bug 2733 fixed: when creating a sub-album in a private album with pwg.categories.add, it is automatically private too. git-svn-id: http://piwigo.org/svn/trunk@17669 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 2716: modifying a photo reset it's rankmistic1002012-08-061-21/+45
| | | | | | | modify associate_images_to_categories() and move_images_to_categories() to preserve ranks please test before 2.4.4 ! :-D git-svn-id: http://piwigo.org/svn/trunk@17424 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge-r17295 from branch 2.4 feature 2708: in admin, display allowed custom ↵rvelices2012-08-011-11/+24
| | | | | | derivatives and ability to delete them git-svn-id: http://piwigo.org/svn/trunk@17302 68402e56-0260-453c-a942-63ccdbb3a9ee
* remove debug code from r17002mistic1002012-07-301-1/+0
| | | | git-svn-id: http://piwigo.org/svn/trunk@17210 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r17001 from branch 2.4 to trunkplegall2012-07-251-0/+25
| | | | | | | | | bug 2627 fixed: photos added with the web form or pwg.images.addSimple now have a correct image_category.rank. git-svn-id: http://piwigo.org/svn/trunk@17002 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 2668 - fix php warnings on glob functionrvelices2012-06-291-2/+5
| | | | git-svn-id: http://piwigo.org/svn/trunk@16167 68402e56-0260-453c-a942-63ccdbb3a9ee
* multisize: remove 2 php warnings, delete custom derivatives (batch man + ↵rvelices2012-03-201-1/+2
| | | | | | maintenance), watermark applied to custom derivatives git-svn-id: http://piwigo.org/svn/trunk@13651 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2564: redesign on photo administration screen.plegall2012-02-101-0/+32
| | | | | | | | | | | | * one screen with several tabs (for now: properties + coi) * double select boxes for album associations and representation have been converted to simple multiple select boxes with jQuery Chosen * more details about the photo in an introduction text git-svn-id: http://piwigo.org/svn/trunk@13077 68402e56-0260-453c-a942-63ccdbb3a9ee
* upgrade jquery to 1.7.1rvelices2012-02-071-15/+23
| | | | | | | mouseout on index drop down bozes improved multisize center of interest git-svn-id: http://piwigo.org/svn/trunk@13052 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2561: fix links on album administration screensplegall2012-02-031-2/+0
| | | | git-svn-id: http://piwigo.org/svn/trunk@13025 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2548 multisize - custom sizes restricted to those requested by ↵rvelices2012-02-021-9/+12
| | | | | | | | theme/plugin code refacto git-svn-id: http://piwigo.org/svn/trunk@13021 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2561: redesign on album administration screen.plegall2012-02-011-0/+1
| | | | | | | | | | | | | | | | | | * only one form on the screen and several tabs * simpler URL pattern : page=album-123-properties / page=album-123-sort_order / page=album-123-permissions * action to associate all photos of an album to another (new) virtual album was removed. This can be easily done with the new Batch Manager * notification by email on an album still has to be moved on a new dedicated tab * action icons (jump to album, manage photos, manage sub-albums, delete album...) replaced by plain text links git-svn-id: http://piwigo.org/svn/trunk@13013 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2548 multisize rvelices2012-01-201-1/+0
| | | | | | | - comments thumbnails + no more hard coded thumbnail sizes in css - removed admin thumbnail page + language cleanup git-svn-id: http://piwigo.org/svn/trunk@12930 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2548 multisize - implement delete_element_derivativesrvelices2012-01-171-30/+33
| | | | git-svn-id: http://piwigo.org/svn/trunk@12917 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2548 (multiple sizes): adapt the web API method pwg.images.add (usedplegall2012-01-171-0/+13
| | | | | | | | | | | | | by pLoader, Digikam, Lightroom, iPhoto), pwg.images.checkFiles (pLoader only). The "resize" parameter was removed for pwg.images.add since this behavior becomes the default behavior in Piwigo 2.4. Just like pwg.images.addSimple, pwg.images.add now uses the add_uploaded_file function (next step is to merge pwg.images.add and pwg.images.addSimple) git-svn-id: http://piwigo.org/svn/trunk@12906 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 2554 php warning PHPWG_URL is not defined in page_tail.inc.php rvelices2012-01-111-25/+7
| | | | git-svn-id: http://piwigo.org/svn/trunk@12875 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2548 multisize - added a page to build missing derivatives rvelices2012-01-081-3/+0
| | | | | | - browser driven, chained ws calls to retrieve urls, visual feedback of progress through slideshow git-svn-id: http://piwigo.org/svn/trunk@12865 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2548 multisize - improved picture.php display (original...) + code ↵rvelices2012-01-051-11/+2
| | | | | | cleanup git-svn-id: http://piwigo.org/svn/trunk@12855 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2541 multisizervelices2012-01-011-6/+18
| | | | | | - admin GUI for choosing derivative parameters + persistence git-svn-id: http://piwigo.org/svn/trunk@12820 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2541 multisizervelices2011-12-271-0/+79
| | | | | | | - nicer presentation on picture.php - added a maintenance purge derivatives action git-svn-id: http://piwigo.org/svn/trunk@12797 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r12762 from branch 2.3 to trunkplegall2011-12-171-8/+3
| | | | | | | | | bug 2536 fixed: a new virtual album is now added on top of the list of other albums in the parent album (instead of bottom). git-svn-id: http://piwigo.org/svn/trunk@12763 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug:2513patdenice2011-11-171-3/+3
| | | | | | Warning messages during synchronisation on some servers git-svn-id: http://piwigo.org/svn/trunk@12642 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug:2511patdenice2011-11-171-5/+3
| | | | | | Warning messages during thumbnails creation (FTP method) git-svn-id: http://piwigo.org/svn/trunk@12640 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature:2322patdenice2011-11-051-2/+2
| | | | | | | feature:2493 Add a trigger for multi language tags in quick search and url git-svn-id: http://piwigo.org/svn/trunk@12553 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 2449 fixed: in the "tags box" on batch manager and picture_modify, weplegall2011-09-291-2/+2
| | | | | | | | should only display the tag in the current user language, not the tag in all available languages. git-svn-id: http://piwigo.org/svn/trunk@12259 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1078 added: ability to merge tagsplegall2011-09-021-0/+30
| | | | git-svn-id: http://piwigo.org/svn/trunk@12032 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature:2322 fix a typo in function get_taglistmistic1002011-09-011-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@12030 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature:2418flop252011-08-311-7/+8
| | | | | | | adding an option to apply permission of users to sub-albums changing the name of vars $private_uppercats->$private_cats git-svn-id: http://piwigo.org/svn/trunk@12019 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2387: addd a filter by tag in the batch managerrvelices2011-07-301-11/+8
| | | | git-svn-id: http://piwigo.org/svn/trunk@11853 68402e56-0260-453c-a942-63ccdbb3a9ee
* partially revert one of my previous commits where I removed an obsolete ↵rvelices2011-07-251-0/+21
| | | | | | function (was used directly in the tpls:-( ) git-svn-id: http://piwigo.org/svn/trunk@11828 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2384: improve average rating calculation (still need to update ↵rvelices2011-07-251-61/+0
| | | | | | language files) git-svn-id: http://piwigo.org/svn/trunk@11827 68402e56-0260-453c-a942-63ccdbb3a9ee