gweltas
8d2a8cdadd
Upload rights
...
git-svn-id: http://piwigo.org/svn/branches/release-1_3@298 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-18 23:35:54 +00:00
z0rglub
6dbfba3719
Simplifying concatenation of $infos variables to select in the database
...
git-svn-id: http://piwigo.org/svn/branches/release-1_3@297 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-18 22:06:34 +00:00
z0rglub
3d1277bf4d
Modify function get_cat_info for preventing Php Warning when NULL values
...
found in category description
git-svn-id: http://piwigo.org/svn/branches/release-1_3@296 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-18 22:05:53 +00:00
z0rglub
43ab0be533
Prevent Php warnings if some user variables are NULL
...
git-svn-id: http://piwigo.org/svn/branches/release-1_3@295 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-18 21:57:35 +00:00
z0rglub
d6e56847b9
Prevent Php warnings if some config variables are NULL
...
git-svn-id: http://piwigo.org/svn/branches/release-1_3@294 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-18 21:57:12 +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
5efed0a4e0
Php warning correction
...
git-svn-id: http://piwigo.org/svn/branches/release-1_3@292 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-18 21:55:20 +00:00
gweltas
20f57086ac
bug-1_3_0-006 : with IE/Konqueror, in "comments" pages (public part and admin part), ends of comment boxes are cut.
...
git-svn-id: http://piwigo.org/svn/branches/release-1_3@291 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-18 20:26:40 +00:00
gweltas
00ac0f8d3e
Conformity with the XHTML 1.0 transitional standard
...
Creation of the following files :
- template/default/header.php and template/default/footer.php to ensure a common standard
- default.css to be CSS valid
Obsolescence of the following files :
- template/default/theme/conf.php
- template/default/style.inc.php
Custom galleries should reflect those changes.
git-svn-id: http://piwigo.org/svn/branches/release-1_3@290 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-18 02:13:02 +00:00
z0rglub
64e1ebb49c
bug-1_3_0-003 : the link for uploading a picture use the class "back" for
...
display, but should not (problem of color) [corrected]
git-svn-id: http://piwigo.org/svn/branches/release-1_3@289 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-17 23:29:58 +00:00
z0rglub
267f528040
bug-1_3_0-010 : in picture.php, the previous src picture use two slashes
...
instead of only one [corrected]
git-svn-id: http://piwigo.org/svn/branches/release-1_3@288 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-17 23:18:01 +00:00
z0rglub
b4ffea31f4
bug-1_3_0-001 : if you activate the validation of users comments before
...
making them visible, before validating the comments, you can see associated
picture in the public part comments.php (but not the unvalidated comment,
only the picture) [corrected]
git-svn-id: http://piwigo.org/svn/branches/release-1_3@287 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-17 23:15:12 +00:00
z0rglub
8b4fd27f0b
- reformating gweltas coding style :-) (so easy to do with emacs)
...
- due to a too much restrictive (preventing warning) test, when no category
was selected, it didn't show random pictures from sub-categories
git-svn-id: http://piwigo.org/svn/branches/release-1_3@286 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-17 22:38:04 +00:00
z0rglub
c058388379
Updating insert_remote* function the same way the local ones : really faster !
...
git-svn-id: http://piwigo.org/svn/branches/release-1_3@285 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-17 18:14:41 +00:00
z0rglub
9e0303774b
Using a one shot function to retrieve all directories : faster
...
git-svn-id: http://piwigo.org/svn/branches/release-1_3@284 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-17 18:13:49 +00:00
z0rglub
020d991cb1
synchronize user calculated data if a (some) site is deleted
...
git-svn-id: http://piwigo.org/svn/branches/release-1_3@283 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-17 18:13:12 +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
384ec739f6
Correction of php warnings
...
git-svn-id: http://piwigo.org/svn/branches/release-1_3@280 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-15 17:06:45 +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
fb880db771
Improved function insert_local_image : about 80 to 90 % of update time saved
...
:-)
git-svn-id: http://piwigo.org/svn/branches/release-1_3@278 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-13 22:43:18 +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
7b8d0b8dd8
Using the stored array with user restricted categories
...
git-svn-id: http://piwigo.org/svn/branches/release-1_3@275 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-12 21:51:44 +00:00
gweltas
e1b59cb0a8
Corrections de quelques warnings php.
...
git-svn-id: http://piwigo.org/svn/branches/release-1_3@274 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-11 23:40:39 +00:00
z0rglub
298077dff6
- adding table user_category
...
- adding field users.forbidden_categories
- adding field categories.uppercats
- adding indexes
git-svn-id: http://piwigo.org/svn/branches/release-1_3@273 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-11 21:02:49 +00:00
z0rglub
7254f66549
improved again function insert_local_category : only one multiple insert
...
query, one update for uppercats field
git-svn-id: http://piwigo.org/svn/branches/release-1_3@272 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-11 00:05:10 +00:00
z0rglub
57b44b3146
use the order of categories.uppercats for retrieving the local directory,
...
and not the ascending order of category ids (if you alterate manually the
database by moving an old category under a new one).
git-svn-id: http://piwigo.org/svn/branches/release-1_3@271 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-11 00:02:03 +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
185b2c2596
improvement of insert_local_category function : less SQL queries, only one
...
short access to filesystem.
git-svn-id: http://piwigo.org/svn/branches/release-1_3@269 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-10 23:17:24 +00:00
z0rglub
0b87dc7bfd
corrections by xolda
...
git-svn-id: http://piwigo.org/svn/branches/release-1_3@268 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-10 23:03:51 +00:00
z0rglub
755d734a89
initial import on branch 1.3
...
git-svn-id: http://piwigo.org/svn/branches/release-1_3@267 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-10 22:50:08 +00:00
z0rglub
f434e5e8f8
- no need of last '/' for get_dirs parameter
...
- remove function get_themes
git-svn-id: http://piwigo.org/svn/branches/release-1_3@264 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-04 10:16:36 +00:00
z0rglub
09da40f461
using new syntax for get_dirs
...
git-svn-id: http://piwigo.org/svn/branches/release-1_3@263 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-04 10:15:35 +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
179be31976
if permissions modified, synchronize_user
...
git-svn-id: http://piwigo.org/svn/branches/release-1_3@261 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-03 21:41:13 +00:00
z0rglub
5dddcea90c
if associate or dissociate from a group, synchronize_user
...
git-svn-id: http://piwigo.org/svn/branches/release-1_3@260 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-03 21:40:47 +00:00
z0rglub
74878b33e3
if any update has been done, synchronize_all_users
...
git-svn-id: http://piwigo.org/svn/branches/release-1_3@259 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-03 21:39:52 +00:00
z0rglub
fa92671b15
for virtual category to picture association, if the number of categories is
...
more than $conf['max_LOV_categories'], we only show a text box asking parent
category id
git-svn-id: http://piwigo.org/svn/branches/release-1_3@258 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-03 21:36:59 +00:00
z0rglub
02f153125b
if permissions are updated, synchronize_group
...
git-svn-id: http://piwigo.org/svn/branches/release-1_3@257 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-03 21:31:27 +00:00
z0rglub
caad9b65c6
if permissions are updated, synchronize_all_users
...
git-svn-id: http://piwigo.org/svn/branches/release-1_3@256 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-03 21:30:55 +00:00
z0rglub
9c55b0f45c
if category status changes, synchronize_all_users
...
git-svn-id: http://piwigo.org/svn/branches/release-1_3@255 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-03 21:29:59 +00:00
z0rglub
7c9c3eb42b
- categories are now collapsed if there is more than
...
$conf['max_LOV_categories'] categories
- if there is more than $conf['max_LOV_categories'] categories, there is no
list of values of parent for adding virtual category
- synchronize_all_users if adding or deleting a virtual category
- in the url link to up,first,down,last #id is not shown anymore
git-svn-id: http://piwigo.org/svn/branches/release-1_3@254 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-03 21:29:13 +00:00
z0rglub
135d884f85
new line added...
...
git-svn-id: http://piwigo.org/svn/branches/release-1_3@253 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-03 21:21:34 +00:00
z0rglub
e73f6f7998
- use function get_user_plain_structure, create_user_structure
...
- using categories.uppercats instead of the calculated structure
- improving queries to retrieve pictures to display
git-svn-id: http://piwigo.org/svn/branches/release-1_3@252 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-03 21:20:53 +00:00
z0rglub
d41ab3e799
don't use plain_structure anymore
...
git-svn-id: http://piwigo.org/svn/branches/release-1_3@251 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-03 21:10:20 +00:00
z0rglub
9a5f45d314
usage of database info users.forbidden_categories
...
git-svn-id: http://piwigo.org/svn/branches/release-1_3@250 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-03 20:58:07 +00:00
z0rglub
067660bc68
- possibility to display only a text field for a parent category
...
git-svn-id: http://piwigo.org/svn/branches/release-1_3@249 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-03 20:48:25 +00:00
z0rglub
7a5f16da11
- errors list
...
- possibility to display only a text field for a parent category
git-svn-id: http://piwigo.org/svn/branches/release-1_3@248 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-03 20:48:02 +00:00
z0rglub
a5092987e1
- possibility to display only a text field for a parent category
...
- the bullet to the left of each category now represent a button to
collapse or expand the category
- for up,first,down,last, we don't show #id in url anymore
git-svn-id: http://piwigo.org/svn/branches/release-1_3@247 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-03 20:46:55 +00:00