aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include/functions.php (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
* - removed admin never used function cat_admin_accessrvelices2011-07-151-21/+0
| | | | | | | - removed obsolete known_script template block - added a warning on usage of is_adviser function git-svn-id: http://piwigo.org/svn/trunk@11753 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r11727 from branch 2.2 to trunkplegall2011-07-131-1/+104
| | | | | | | | | feature 2245: when a new private album is added, the creator and admins automatically get permission on it. git-svn-id: http://piwigo.org/svn/trunk@11728 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature:2322 display all localisations as independant tags in TokenInputmistic1002011-06-221-8/+27
| | | | git-svn-id: http://piwigo.org/svn/trunk@11487 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature:2322 Add two new trigger events for tag name display and tag url mistic1002011-06-111-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@11317 68402e56-0260-453c-a942-63ccdbb3a9ee
* Load tags for tokeninput directly in html page. Ajax is too slow.patdenice2011-05-251-2/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@11039 68402e56-0260-453c-a942-63ccdbb3a9ee
* TokenInput : order tags, theme for roma, 'new' text translatedmistic1002011-05-231-1/+5
| | | | git-svn-id: http://piwigo.org/svn/trunk@11008 68402e56-0260-453c-a942-63ccdbb3a9ee
* remplace FCBKcomplete by TokenInputmistic1002011-05-211-2/+3
| | | | git-svn-id: http://piwigo.org/svn/trunk@10970 68402e56-0260-453c-a942-63ccdbb3a9ee
* Change tabsheet place for plugins, themes and languages.patdenice2011-04-231-7/+3
| | | | | | Plugins, themes and languages use same update page. git-svn-id: http://piwigo.org/svn/trunk@10594 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature:2271patdenice2011-04-201-0/+1
| | | | | | Merge autoupdate plugin into piwigo core. git-svn-id: http://piwigo.org/svn/trunk@10511 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug:2251patdenice2011-04-061-1/+1
| | | | | | Bug corrected for fcbkcomplete git-svn-id: http://piwigo.org/svn/trunk@10110 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2189 added: ability to update a photo (the JPEG/PNG file) withplegall2011-02-111-42/+70
| | | | | | | pwg.images.addSimple, simply by adding an $image_id as argument. git-svn-id: http://piwigo.org/svn/trunk@9191 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r8966 from branch 2.1 to trunkplegall2011-01-281-1/+1
| | | | | | | | bug 2142 fixed: make sure you cannot move a category into itself git-svn-id: http://piwigo.org/svn/trunk@8967 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 2119 fixed: no crash when calling pwg.categories.delete on an empty albumplegall2011-01-231-11/+14
| | | | git-svn-id: http://piwigo.org/svn/trunk@8848 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 937 fixed: makes sure a user won't see the thumbnail of a photo that has aplegall2011-01-201-11/+0
| | | | | | | | | | | | higher privacy level than user privacy level. For an acceptable solution at performance level, I have implemented a cache: for a given user, each album has a representative_picture_id. This cache also avoids to perform numerous "order by rand()" SQL queries which is the case when $conf['allow_random_representative'] = true; git-svn-id: http://piwigo.org/svn/trunk@8802 68402e56-0260-453c-a942-63ccdbb3a9ee
* 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