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
z0rglub
92d7e3d402
the number of subcats of a category is now in the var nb_sub_categories
...
git-svn-id: http://piwigo.org/svn/branches/release-1_3@246 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-03 20:43:43 +00:00
z0rglub
d81d510568
- when creating a new user, taking into account that forbidden categories
...
are stored in users table, associate new user to the same groups that the
guest, has the same categories informations than guest
- remove functions get_restrictions, get_all_restrictions, is_user_allowed
git-svn-id: http://piwigo.org/svn/branches/release-1_3@245 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-03 20:35:20 +00:00
z0rglub
6f5ef234ec
- remove get_subcats_id
...
- replacing function get_plain_structure by get_user_plain_structure which
only retrieve categories shown in the menu
- replacing function create_structure by create_user_structure
- remove function search_last_date (now stored in the database)
- add function count_user_total_images
- management of the new database info : categories.uppercats (modification
in function get_local_dir)
git-svn-id: http://piwigo.org/svn/branches/release-1_3@244 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-03 20:13:42 +00:00
z0rglub
40acb0f99f
add functions pwg_write_debug, pwg_debug, pwg_query
...
git-svn-id: http://piwigo.org/svn/branches/release-1_3@243 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-03 19:47:36 +00:00
z0rglub
49b99ad40c
unix file format
...
git-svn-id: http://piwigo.org/svn/branches/release-1_3@242 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-03 19:42:26 +00:00
z0rglub
def737885f
user restricitions are now stored in the database
...
git-svn-id: http://piwigo.org/svn/branches/release-1_3@241 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-03 19:31:34 +00:00
z0rglub
5926e20204
use correct define syntax, remove get_restrictions for user because they are now saved in the database
...
git-svn-id: http://piwigo.org/svn/branches/release-1_3@240 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-03 19:28:28 +00:00
z0rglub
0f850e10ff
add cat_unknown_id
...
git-svn-id: http://piwigo.org/svn/branches/release-1_3@239 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-03 19:19:12 +00:00
z0rglub
b8996a04bb
change version number, add max_LOV_categories used for numerous categories galleries
...
git-svn-id: http://piwigo.org/svn/branches/release-1_3@238 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-03 19:18:05 +00:00
z0rglub
6e37792053
use correct define syntax
...
git-svn-id: http://piwigo.org/svn/branches/release-1_3@237 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-03 19:15:32 +00:00
z0rglub
debe8bfc45
initial revision of japanese translation file for branch 1.3
...
git-svn-id: http://piwigo.org/svn/branches/release-1_3@236 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-11-10 22:07:01 +00:00
z0rglub
fb9734df88
Add Hungarian language file for release 1.3
...
git-svn-id: http://piwigo.org/svn/branches/release-1_3@214 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-10-26 09:25:25 +00:00
z0rglub
d62877b1d6
adding spanish language file to release 1.3
...
git-svn-id: http://piwigo.org/svn/branches/release-1_3@213 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-10-22 20:53:49 +00:00
z0rglub
ec32015b8c
Correct a mistake of umlaut
...
git-svn-id: http://piwigo.org/svn/branches/release-1_3@212 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-10-19 09:25:19 +00:00
z0rglub
22c8838c7c
Add german language file for release 1.3
...
git-svn-id: http://piwigo.org/svn/branches/release-1_3@211 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-10-15 19:25:41 +00:00
z0rglub
1fa3e4e6b8
Update version from 1.3RC2 to 1.3
...
git-svn-id: http://piwigo.org/svn/branches/release-1_3@210 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-10-12 16:23:10 +00:00
z0rglub
71233366ce
header updated for release 1.3 final
...
git-svn-id: http://piwigo.org/svn/branches/release-1_3@209 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-10-12 16:12:33 +00:00
plegall
9d132ce81a
This commit was manufactured by cvs2svn to create branch 'release-1_3'.
...
git-svn-id: http://piwigo.org/svn/branches/release-1_3@207 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-10-12 15:27:04 +00:00
z0rglub
25f2c15f77
Use install language for "guest" user
...
git-svn-id: http://piwigo.org/svn/trunk@205 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-10-12 15:27:04 +00:00
z0rglub
9400bfb70d
Use zelabo dark theme as default
...
git-svn-id: http://piwigo.org/svn/trunk@204 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-10-12 15:16:55 +00:00
z0rglub
2308b8a873
Using zelabo dark theme as default
...
git-svn-id: http://piwigo.org/svn/trunk@203 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-10-12 15:15:27 +00:00