Commit graph

57 commits

Author SHA1 Message Date
z0rglub
dd6edbb30c Code rewritting
git-svn-id: http://piwigo.org/svn/branches/release-1_3@302 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-19 21:20:11 +00:00
z0rglub
982bc009b6 Performances improved : replacing the useless LEFT JOIN by INNER JOIN
git-svn-id: http://piwigo.org/svn/branches/release-1_3@301 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-01-19 21:18:34 +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
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
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
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
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
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
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
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
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
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
3b8272fcdc Version changed to 1.3RC2
git-svn-id: http://piwigo.org/svn/trunk@181 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-10-05 14:12:29 +00:00
z0rglub
6bba415df1 Top number passes from 5 to 10
git-svn-id: http://piwigo.org/svn/trunk@178 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-10-05 13:21:10 +00:00
z0rglub
fd5a3516a9 Version becomes 1.3RC1
git-svn-id: http://piwigo.org/svn/trunk@158 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-09-21 18:35:10 +00:00
z0rglub
2e932eb254 to make it work on nexen.net
git-svn-id: http://piwigo.org/svn/trunk@153 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-09-21 18:00:16 +00:00
z0rglub
ef5df3db1f Using the same name for variables in ./include/mysql.inc.php
git-svn-id: http://piwigo.org/svn/trunk@141 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-09-20 15:04:09 +00:00
z0rglub
1cbd679225 Change the version from 1.3 to 1.3beta
git-svn-id: http://piwigo.org/svn/trunk@135 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-09-19 21:42:39 +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
11b97b761e Using PREFIX_INCLUDE to have strictly relative paths
git-svn-id: http://piwigo.org/svn/trunk@114 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-09-15 18:22:33 +00:00
z0rglub
3d606181a4 phpwebgallery_users.theme is no longuer used.
git-svn-id: http://piwigo.org/svn/trunk@99 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-09-14 15:03:38 +00:00
z0rglub
866372df2f When a page is refresh with an expired session still existing in the
database, the first page works -> corrected.


git-svn-id: http://piwigo.org/svn/trunk@90 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-09-12 22:59:42 +00:00
z0rglub
637cdd1e23 Mail notification for admins
git-svn-id: http://piwigo.org/svn/trunk@85 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-09-10 22:24:03 +00:00
z0rglub
e0e61217f7 Removing debug code
git-svn-id: http://piwigo.org/svn/trunk@83 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-09-09 18:35:54 +00:00
z0rglub
377042a27d - Creation of plain structure if not existing in several functions
- Change in SQL request about restrictions : using "AND category_id NOT IN
  (x,y,z)" instead of "AND category_id != x AND category_id != y AND
  category_id != z"

- For search and most recent category, using "COUNT(DISTINCT(id))" instead
  of "COUNT(*)" and using JOIN with image_category table


git-svn-id: http://piwigo.org/svn/trunk@67 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-09-06 07:22:59 +00:00
z0rglub
4f6dabea73 Correcting a bug in special categories (favorites, most seen, most
recent... non numeric categories) : when a picture is linked to more than
one category, it's only displayed once.


git-svn-id: http://piwigo.org/svn/trunk@64 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-09-05 19:27:45 +00:00
z0rglub
839771e0b6 indention of PHP code improved : file becomes more readable :-)
git-svn-id: http://piwigo.org/svn/trunk@63 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-09-05 19:25:32 +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
45a8139acd optional cookie identification
git-svn-id: http://piwigo.org/svn/trunk@45 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-07-27 08:24:10 +00:00
z0rglub
4e775187b8 shortening the code
git-svn-id: http://piwigo.org/svn/trunk@44 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-07-27 08:23:32 +00:00
z0rglub
c0d1ed215c Possiblity to forbid simple guests to add their comments
git-svn-id: http://piwigo.org/svn/trunk@42 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-07-26 12:55:14 +00:00
z0rglub
a7eb0781cf anti-flood system
git-svn-id: http://piwigo.org/svn/trunk@41 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-07-26 12:38:20 +00:00
z0rglub
5649720e23 instead of overriding individual keywords,you can add a keyword to all or remove it from all
git-svn-id: http://piwigo.org/svn/trunk@39 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-07-26 09:28:58 +00:00
z0rglub
963e1ef714 Adding support of independant uploadable categories
git-svn-id: http://piwigo.org/svn/trunk@38 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-07-25 21:33:41 +00:00
z0rglub
0a5b436654 Support of keywords for pictures. They are used in the search
git-svn-id: http://piwigo.org/svn/trunk@33 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-07-23 19:49:15 +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
1080c51deb *** empty log message ***
git-svn-id: http://piwigo.org/svn/trunk@20 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-05-27 20:56:13 +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
1de10bd66f search improved
git-svn-id: http://piwigo.org/svn/trunk@17 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-05-25 08:31:39 +00:00