27 Commits

Author SHA1 Message Date
z0rglub
fc6b9d6a79 delete debug prints
git-svn-id: http://piwigo.org/svn/branches/release-1_3@379 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-02-28 09:23:27 +00:00
z0rglub
1121543ad9 if a category has no last_date, the corresponding date_last in user_category
table is also NULL


git-svn-id: http://piwigo.org/svn/branches/release-1_3@334 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-30 22:49:24 +00:00
z0rglub
3a07d869d0 during synchronization, moving the structure creation to previous the update
of users forbidden categories


git-svn-id: http://piwigo.org/svn/branches/release-1_3@323 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-26 23:31:56 +00:00
z0rglub
e39dc7c0ab Php Warnings correction
git-svn-id: http://piwigo.org/svn/branches/release-1_3@319 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-24 22:57:36 +00:00
z0rglub
40a11658a9 Php warnings correction
git-svn-id: http://piwigo.org/svn/branches/release-1_3@311 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-21 23:33:56 +00:00
z0rglub
d65473d1bc Php warning correction
git-svn-id: http://piwigo.org/svn/branches/release-1_3@306 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-21 07:49:57 +00:00
z0rglub
7250f30ce7 Use the stored calculated date users.forbidden_categories instead of trying
to use a deprecated function get_all_restrictions


git-svn-id: http://piwigo.org/svn/branches/release-1_3@293 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-18 21:56:20 +00:00
z0rglub
a2626afcee UPDATE query in update_category was not correctly written and never executed
git-svn-id: http://piwigo.org/svn/branches/release-1_3@282 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-17 12:40:23 +00:00
z0rglub
b8d74dde50 improved function update_category essentially by using INNER JOIN instead of
LEFT JOIN


git-svn-id: http://piwigo.org/svn/branches/release-1_3@281 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-15 23:19:51 +00:00
gweltas
855398f63e Corretion of PHP warnings
git-svn-id: http://piwigo.org/svn/branches/release-1_3@279 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-15 00:11:00 +00:00
z0rglub
1c59964dff Adding functions to retrieve all files from a directory into an array :
- get_picture_files : returns an array with all picture files according to
   $conf['picture_ext']

 - get_thumb_files : returns an array with all thumbnails according to
   $conf['picture_ext'] and $conf['prefix_thumbnail']


git-svn-id: http://piwigo.org/svn/branches/release-1_3@277 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-13 22:36:56 +00:00
gweltas
0fa0c8bb07 Minor corrections of PHP warnings
git-svn-id: http://piwigo.org/svn/branches/release-1_3@276 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-12 23:41:53 +00:00
z0rglub
1592a942f0 add get_category_directories function
git-svn-id: http://piwigo.org/svn/branches/release-1_3@270 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-10 23:17:51 +00:00
z0rglub
61f40a7eb4 - when deleting a user, deletes rows in user_category
- when deleting a group, first synchronize_group

 - add functions
                 . get_plain_structure
                 . create_structure
                 . get_subcats_ids
                 . get_all_subcats_ids
                 . update_user_category
                 . update_uppercats
                 . get_user_restrictions
                 . synchronize
                 . synchronize_all_users
                 . synchronize_user
                 . synchronize_group
                 . update_user_restrictions
                 . get_user_all_restrictions
                 . is_user_allowed


git-svn-id: http://piwigo.org/svn/branches/release-1_3@262 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-03 21:46:16 +00:00
z0rglub
673228fbe8 If there is no date given in the form, function check_date_format doesn't
send a warning


git-svn-id: http://piwigo.org/svn/trunk@196 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-10-11 14:17:07 +00:00
z0rglub
6d0112b562 Bug in the deletion of favorites : even if the category was authorized, the
favorites where deleted for the user


git-svn-id: http://piwigo.org/svn/trunk@167 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-10-04 17:13:19 +00:00
z0rglub
26452aed65 A category can have its representative picture
git-svn-id: http://piwigo.org/svn/trunk@133 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-09-19 21:40:52 +00:00
z0rglub
e56d53fe20 Virtual categories management
git-svn-id: http://piwigo.org/svn/trunk@68 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-09-07 10:14:33 +00:00
z0rglub
044fba0256 Multi categories for the same picture
git-svn-id: http://piwigo.org/svn/trunk@61 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-08-30 15:54:37 +00:00
z0rglub
6cbffaa646 improve the header of each file
git-svn-id: http://piwigo.org/svn/trunk@57 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-08-24 07:40:56 +00:00
z0rglub
2fa9252446 *** empty log message ***
git-svn-id: http://piwigo.org/svn/trunk@26 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-07-21 19:47:14 +00:00
z0rglub
0ec91d8b48 *** empty log message ***
git-svn-id: http://piwigo.org/svn/trunk@21 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-07-01 09:27:20 +00:00
z0rglub
0b6204e5fb *** empty log message ***
git-svn-id: http://piwigo.org/svn/trunk@19 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-05-27 20:56:13 +00:00
z0rglub
aac81a8a38 *** empty log message ***
git-svn-id: http://piwigo.org/svn/trunk@14 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-05-18 21:42:32 +00:00
z0rglub
2c2af65b6a *** empty log message ***
git-svn-id: http://piwigo.org/svn/trunk@13 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-05-17 11:42:03 +00:00
z0rglub
f96563b9e8 *** empty log message ***
git-svn-id: http://piwigo.org/svn/trunk@12 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-05-17 11:01:12 +00:00
z0rglub
867c2379ff Initial revision
git-svn-id: http://piwigo.org/svn/trunk@2 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-05-09 12:42:42 +00:00