Commit graph

99 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
773577bc4f use of functions_html.inc.php instead of htmlfunctions.inc.php
git-svn-id: http://piwigo.org/svn/trunk@477 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-06 09:35:58 +00:00
z0rglub
85bd85111c new function get_html_menu_category to manage menu categories as list items
git-svn-id: http://piwigo.org/svn/trunk@476 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-06 09:35:07 +00:00
z0rglub
7187c2c578 htmlfunctions.inc.php moved to functions_html.inc.php
git-svn-id: http://piwigo.org/svn/trunk@475 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-06 09:33:54 +00:00
z0rglub
cedd2515b6 non picture files management
git-svn-id: http://piwigo.org/svn/trunk@470 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-05 17:38:14 +00:00
z0rglub
011d68c4d6 refactoring
git-svn-id: http://piwigo.org/svn/trunk@469 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-05 17:37:59 +00:00
z0rglub
496c0d3418 non picture files management : add array $conf['file_ext']
git-svn-id: http://piwigo.org/svn/trunk@468 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-05 17:37:33 +00:00
gweltas
52a3531e7e Installation procedure update
git-svn-id: http://piwigo.org/svn/trunk@463 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-07-28 17:21:58 +00:00
z0rglub
2678194a61 replacement of short_period with recent_period
git-svn-id: http://piwigo.org/svn/trunk@460 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-07-27 06:36:42 +00:00
z0rglub
4ae92eb06d use new search URL variable
git-svn-id: http://piwigo.org/svn/trunk@456 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-07-26 20:45:12 +00:00
z0rglub
f007a28bf6 replacement of short_period and long_period by recent_period
git-svn-id: http://piwigo.org/svn/trunk@452 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-07-09 21:00:00 +00:00
z0rglub
576c2cb2f8 - code refactoring
- for calendar category, adds the support of the day request (displays the
  list of category for this day)


git-svn-id: http://piwigo.org/svn/trunk@442 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-06-25 20:31:48 +00:00
z0rglub
9bd06409b2 initial revision
git-svn-id: http://piwigo.org/svn/trunk@440 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-06-25 20:27:09 +00:00
z0rglub
1cb24e744f get_icon function takes a date in YYY-MM-DD format
git-svn-id: http://piwigo.org/svn/trunk@438 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-06-18 23:25:06 +00:00
z0rglub
9cdca2bad1 - new category added : recent_cats
git-svn-id: http://piwigo.org/svn/trunk@437 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-06-18 23:24:40 +00:00
z0rglub
ca5cb5bf94 replace recent category by recent_pics (to have a difference with
recent_cats)


git-svn-id: http://piwigo.org/svn/trunk@434 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-06-16 20:36:24 +00:00
z0rglub
dd1354aed2 - adds calendar category
git-svn-id: http://piwigo.org/svn/trunk@429 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-06-15 20:02:03 +00:00
z0rglub
5643049f23 table user_category dropped
git-svn-id: http://piwigo.org/svn/trunk@423 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-05-28 21:56:07 +00:00
z0rglub
8db124da81 field comments.date becomes a datetime MySQL field type (instead of int)
git-svn-id: http://piwigo.org/svn/trunk@420 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-05-20 21:22:44 +00:00
z0rglub
2c860657f4 bug 23 : search case insensitive BUT highlightning case sensitive
git-svn-id: http://piwigo.org/svn/trunk@409 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-03-31 22:25:31 +00:00
z0rglub
a0033b8b56 redirections modification : use of a HTML refresh page instead of header PHP
function. The purpose is to avoid redirections failure when extra characters
are found in included PHP files.


git-svn-id: http://piwigo.org/svn/trunk@405 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-03-31 20:43:09 +00:00
z0rglub
d90e90dd4a code refactoring
git-svn-id: http://piwigo.org/svn/trunk@402 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-03-29 22:40:21 +00:00
gweltas
6a9c9eb91f - Split of infos.lang.php
git-svn-id: http://piwigo.org/svn/trunk@398 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-03-27 13:24:26 +00:00
z0rglub
a2fe0444de refactoring
git-svn-id: http://piwigo.org/svn/trunk@397 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-03-27 08:05:01 +00:00
z0rglub
9113dffea0 adding default_lang
git-svn-id: http://piwigo.org/svn/trunk@396 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-03-27 08:04:52 +00:00
z0rglub
7a9db5f5d0 deletion empty line out of PHP bounds
git-svn-id: http://piwigo.org/svn/trunk@395 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-03-26 19:36:38 +00:00
gweltas
9fd459d051 - Template migration
- Admin Control Panel migration
- Category management


git-svn-id: http://piwigo.org/svn/trunk@394 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-03-26 17:08:09 +00:00
gweltas
4128835db8 - Template migration
- Admin Control Panel migration
- Language migration


git-svn-id: http://piwigo.org/svn/trunk@393 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-03-20 00:52:37 +00:00
z0rglub
a9847f6a69 deletion of expand string in $_GET array
git-svn-id: http://piwigo.org/svn/trunk@387 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-03-05 22:55:04 +00:00
z0rglub
ebea7c77fb use new format of config table
git-svn-id: http://piwigo.org/svn/trunk@383 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-03-04 23:56:02 +00:00
gweltas
9e993f2d21 New default template - User side
git-svn-id: http://piwigo.org/svn/trunk@375 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-02-26 18:33:45 +00:00
z0rglub
29a07c00d0 code refactoring
git-svn-id: http://piwigo.org/svn/trunk@371 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-02-23 22:02:41 +00:00
z0rglub
06e507434c deleting last empty lines that created error for redirections
git-svn-id: http://piwigo.org/svn/trunk@370 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-02-23 22:01:00 +00:00