Commit graph

405 commits

Author SHA1 Message Date
gweltas
288818b06d - dispatch of configuration
git-svn-id: http://piwigo.org/svn/trunk@527 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-19 22:26:41 +00:00
z0rglub
094bbe3cee - new version of create_file_listing.php for future 1.4 branch
- new feature : remote site management (generate listing, update, clean,
  delete)

- on category page, no display of filesize if info not available in database


git-svn-id: http://piwigo.org/svn/trunk@526 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-18 16:09:47 +00:00
z0rglub
aa392c1fdd init of $xml_content var avoiding PHP warnings
git-svn-id: http://piwigo.org/svn/trunk@525 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-18 16:08:24 +00:00
z0rglub
e9cd9b5395 code refactoring
git-svn-id: http://piwigo.org/svn/trunk@524 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-18 16:07:40 +00:00
z0rglub
79de56d63c deletion of rate lines when deleting an element
git-svn-id: http://piwigo.org/svn/trunk@523 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-18 16:05:15 +00:00
z0rglub
01d3587006 representative was badly tested using prefix_thumbnail...
git-svn-id: http://piwigo.org/svn/trunk@522 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-18 16:04:41 +00:00
z0rglub
9519786fa4 verification of number of elements to delete in the function and not before
calling function (for delete_elements and delete_categories)


git-svn-id: http://piwigo.org/svn/trunk@521 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-12 08:33:56 +00:00
gweltas
c6e6f131fa waiting tpl migration
git-svn-id: http://piwigo.org/svn/trunk@520 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-11 10:36:03 +00:00
gweltas
eaad1d61d7 Minor bugs correction
git-svn-id: http://piwigo.org/svn/trunk@519 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-07 20:10:36 +00:00
z0rglub
47a1e49c1e - corrects bugs due to deletion of configuration parameters default_lang,
default_style (renamed to default_language and default_template),
  session_keyword

- in install.php, corrects bug to deletion of language keys :
  conf_general_webmaster, conf_general_webmaster_info and renaming of
  conf_general_mail


git-svn-id: http://piwigo.org/svn/trunk@518 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-07 19:29:42 +00:00
z0rglub
21886493a7 - adjustements on length fields
- usage of predefined values for nb_image_line and nb_line_page


git-svn-id: http://piwigo.org/svn/trunk@517 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-05 20:49:31 +00:00
z0rglub
b220e5db42 deletion of $conf['site_url'] and $conf['forum_url'] and all their usage
(thus avoiding the usage of $conf in *.lang.php)


git-svn-id: http://piwigo.org/svn/trunk@516 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-05 15:49:54 +00:00
z0rglub
1f8b6b0790 when clicking on configuration page of admin panel, the general section in
the menu was not displayed as the focused one.


git-svn-id: http://piwigo.org/svn/trunk@515 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-04 09:19:36 +00:00
z0rglub
dd38c14639 - bug correction : when coming from picture.php on a picture of category.php
page superior to the first, the right page was displayed (the one
  including the element) but the navigation bar was always saying we were on
  the first page

- distinguish CSS classes span.dateSelected and span.pageNumberSelected


git-svn-id: http://piwigo.org/svn/trunk@514 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-04 08:07:33 +00:00
z0rglub
af5bb2dde0 - in admin/configuration, add new step with "sections" (general, comments,
default, upload, metadata, sessions)

- admin/configuration.php and its template have been higly simplificated by
  making things more generic : for example, for each configuration
  parameter, its name must correspond to the name we find in the config
  table and belongs to a section, in the lang array we find :

  - $lang['conf_<section>_<param>']
  - $lang['conf_<section>_<param>_info']
  - $lang['conf_<section>_<param>_error'] optionnaly

- more described message when connection to database server is impossible

- redefinitions of get_languages and get_templates functions

- deletion of configuration parameters : webmaster, session_keyword

- rename of configuration parameters :

  - default_lang => default_language
  - default_style => default_template


git-svn-id: http://piwigo.org/svn/trunk@513 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-03 22:05:31 +00:00
z0rglub
1f71a31084 - in admin/configuration, add new step with "sections" (general, comments,
default, upload, metadata, sessions)

- admin/configuration.php and its template have been higly simplificated by
  making things more generic : for example, for each configuration
  parameter, its name must correspond to the name we find in the config
  table and belongs to a section, in the lang array we find :

  - $lang['conf_<section>_<param>']
  - $lang['conf_<section>_<param>_info']
  - $lang['conf_<section>_<param>_error'] optionnaly

- more described message when connection to database server is impossible

- redefinitions of get_languages and get_templates functions

- deletion of configuration parameters : webmaster, session_keyword

- rename of configuration parameters :

  - default_lang => default_language
  - default_style => default_template


git-svn-id: http://piwigo.org/svn/trunk@512 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-03 15:01:05 +00:00
z0rglub
fb5b21cbde - refactoring
- adaptation of the URL for searching associated keywords to the new search
  URL string


git-svn-id: http://piwigo.org/svn/trunk@511 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-01 21:56:24 +00:00
z0rglub
2dbc66da3b - new special category : random pictures
- reorganisation of special categories menu : template is used only for
  template. A special category is presented as the template tells to do so.

- favorites becomes just another special category

- bug correction for best rated category : wrong MySQL query if user has
  forbidden categories (see include/functions_category.inc.php diff)


git-svn-id: http://piwigo.org/svn/trunk@510 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-01 21:39:29 +00:00
gweltas
f13b345dcf Template migration : picture_modify.php
git-svn-id: http://piwigo.org/svn/trunk@509 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-31 23:05:19 +00:00
z0rglub
a8cb550b92 if category is best_rated : displays the average rate of the element before
its name


git-svn-id: http://piwigo.org/svn/trunk@508 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-31 21:32:58 +00:00
z0rglub
0e2436f50a add rating feature
git-svn-id: http://piwigo.org/svn/trunk@507 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-30 22:00:46 +00:00
gweltas
0c482df04e Migration of the template of images_infos.php
git-svn-id: http://piwigo.org/svn/trunk@506 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-29 21:22:24 +00:00
z0rglub
c714a9dbaf adds image id in the order by statement. Without it, you can encounter
problems with searchs returning elements that have same date of
availability, same filename. images.id is the only field you can be sure of
unicity


git-svn-id: http://piwigo.org/svn/trunk@505 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-29 17:25:33 +00:00
gweltas
2884773818 PHP5 compatibility
git-svn-id: http://piwigo.org/svn/trunk@504 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-29 16:56:05 +00:00
z0rglub
bfff1c341d deletion of a debug instruction
git-svn-id: http://piwigo.org/svn/trunk@503 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-29 16:52:28 +00:00
z0rglub
54c907ce9d search in sub-categories option is available
git-svn-id: http://piwigo.org/svn/trunk@502 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-29 16:50:49 +00:00
z0rglub
7aa6ab3a4f corrects a bug in language item choice
git-svn-id: http://piwigo.org/svn/trunk@501 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-29 14:29:24 +00:00
z0rglub
d6620ab646 - uses a trick to get all categories with the function to get menu
categories

- corrects a bug in language item choice


git-svn-id: http://piwigo.org/svn/trunk@500 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-29 14:29:14 +00:00
gweltas
196f36176e Call to get_plain_structure() replaced by a call to get_user_plain_structure()
git-svn-id: http://piwigo.org/svn/trunk@499 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-29 13:53:48 +00:00
z0rglub
38f7bcd8ac simplier display of update result :
- number of new categories
 - number of new elements
 - number of deleted categories
 - number of deleted elements
 - only errors are fully listed


git-svn-id: http://piwigo.org/svn/trunk@498 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-29 11:21:21 +00:00
z0rglub
c414a9133e possibility to choose the date field you want to use for calendar category
(date_available or date_creation).


git-svn-id: http://piwigo.org/svn/trunk@497 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-26 23:00:28 +00:00
gweltas
11c2e58053 - Deletion of obsolete functions in the administrative part
- Repair of virtual category management


git-svn-id: http://piwigo.org/svn/trunk@496 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-25 22:25:58 +00:00
z0rglub
c8fb7c2e36 refresh time decreases from 5 seconds to 1
git-svn-id: http://piwigo.org/svn/trunk@495 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-25 21:19:56 +00:00
z0rglub
e63b7ea949 very small refactoring
git-svn-id: http://piwigo.org/svn/trunk@494 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-25 21:18:59 +00:00
z0rglub
d8494248fc "show metadata" feature added : you can ask to show metadata (EXIF and IPTC)
on picture.php page. Metadata read functions were moved from
admin/include/functions_metadata.php to include/functions_metadata.inc.php


git-svn-id: http://piwigo.org/svn/trunk@493 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-25 21:09:09 +00:00
z0rglub
593574214c in get_icon function, if the date is not in the right format, returns empty
string


git-svn-id: http://piwigo.org/svn/trunk@492 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-21 13:50:54 +00:00
z0rglub
a9298b67e8 - deletion functions updated : no needs to call delete_elements if no
element must be deleted

- improvement of function update_category : the function is not recursive
  anymore, but still works on all sub-categories thanks to a SQL query on
  uppercats database field. Less queries : for updating N categories, only
  (1+N) SQL queries compared to (3*N) in the previous revision.

- function my_error added (debug purpose)


git-svn-id: http://piwigo.org/svn/trunk@491 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-21 13:20:28 +00:00
z0rglub
46938a8f25 add in comment another possibility for counting user total number of
viewable elements (counting only once pictures linked to several categories)


git-svn-id: http://piwigo.org/svn/trunk@490 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-21 13:10:25 +00:00
z0rglub
df07f5c59a don't force the width and height of folder icons
git-svn-id: http://piwigo.org/svn/trunk@489 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-21 13:08:42 +00:00
z0rglub
a5b9e275a1 date in ISO standard
git-svn-id: http://piwigo.org/svn/trunk@488 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-21 13:03:49 +00:00
z0rglub
52a8435493 - add files metadata support : use info for database fields
- distinction between directories synchronization and metadata
  synchronization


git-svn-id: http://piwigo.org/svn/trunk@487 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-21 13:01:12 +00:00
z0rglub
d4519a348f - add files metadata support : use info for database fields
- distinction between directories synchronization and metadata synchronization


git-svn-id: http://piwigo.org/svn/trunk@486 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-21 12:52:43 +00:00
z0rglub
5b35869ada bug correction : in case of filesize metadata not registered into database,
it couldn't be calculated


git-svn-id: http://piwigo.org/svn/trunk@485 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-16 21:44:19 +00:00
z0rglub
d1389ee8eb bug correction : in case of metadata (image dimension, filesize) not
registered into database, they couldn't be calculated


git-svn-id: http://piwigo.org/svn/trunk@484 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-16 21:42:54 +00:00
z0rglub
be7e181cc8 change default langage
git-svn-id: http://piwigo.org/svn/trunk@483 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-12 18:29:06 +00:00
z0rglub
6f5adec2b3 bug correction, a single quote was not in the right place
git-svn-id: http://piwigo.org/svn/trunk@482 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-07 21:39:57 +00:00
z0rglub
f2ed54177f replacement of obsolete header title file
git-svn-id: http://piwigo.org/svn/trunk@481 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-07 18:00:55 +00:00
z0rglub
45d2c68d58 deletion of debug traces
git-svn-id: http://piwigo.org/svn/trunk@480 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-07 17:57:00 +00:00
z0rglub
b7f4e3ab3f new CSS classes : menuCategorySelected and menuCategoryNotSelected
git-svn-id: http://piwigo.org/svn/trunk@479 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-06 09:43:05 +00:00
z0rglub
0188ea673e menu categories managed as list items
git-svn-id: http://piwigo.org/svn/trunk@478 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-06 09:42:07 +00:00