aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include/functions.php (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
* - 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