little code refactoring over r17424
bug fixed on Edit Photo page when associating with no album.
git-svn-id: http://piwigo.org/svn/branches/2.4@17982 68402e56-0260-453c-a942-63ccdbb3a9ee
bug 2716: modifying a photo reset it's rank
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/branches/2.4@17981 68402e56-0260-453c-a942-63ccdbb3a9ee
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/branches/2.4@17766 68402e56-0260-453c-a942-63ccdbb3a9ee
bug 2732: when new tags must be added, also look first for existing tags with different case
git-svn-id: http://piwigo.org/svn/branches/2.4@17725 68402e56-0260-453c-a942-63ccdbb3a9ee
* 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
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
* 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
- 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
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 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
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
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
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
- 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
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
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
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
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