plegall
ad27e26c48
bug 860 related: don't try to update the configuration during install because
...
pwg_query is not available yet.
git-svn-id: http://piwigo.org/svn/trunk@5999 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-29 16:02:20 +00:00
plegall
b8d3c9dba4
bug 860 related: if the directory doesn't exist (SVN users) first try to
...
create it. To avoid useless checks on filesystem (rvelices should
appreciate) a configuration variable tells if we have to check or not.
git-svn-id: http://piwigo.org/svn/trunk@5998 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-29 14:43:06 +00:00
patdenice
53f66ba4ef
feature 1502: $themeconf['load_css_parent'] apply recursively
...
git-svn-id: http://piwigo.org/svn/trunk@5993 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-29 12:51:19 +00:00
patdenice
a2ccb9a5c9
feature 1502: Add $themeconf['load_parent_css'] parameter
...
git-svn-id: http://piwigo.org/svn/trunk@5991 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-29 12:45:27 +00:00
plegall
e7487082c3
bug 1484: prevent XSS vulnerability, encode url.
...
improvement: no need to transmit the REQUEST_URI from PHP, Smarty already
knows it.
git-svn-id: http://piwigo.org/svn/trunk@5990 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-29 10:44:30 +00:00
plegall
8849bd5fbc
bug 1484: after a "quick connect" you are correctly redirect to the same page.
...
git-svn-id: http://piwigo.org/svn/trunk@5986 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-28 16:52:28 +00:00
plegall
056668c9ae
bug 860: display a more readable error when the _data directory is not writable
...
git-svn-id: http://piwigo.org/svn/trunk@5985 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-28 16:11:07 +00:00
plegall
73db66afa5
feature 1630: upgrade to Piwigo 2.1 :-)
...
bug 1604: only activate core themes not all themes.
git-svn-id: http://piwigo.org/svn/trunk@5982 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-28 14:28:05 +00:00
nikrou
c277a646c3
Fix missing argument for pwg_db_changes()
...
git-svn-id: http://piwigo.org/svn/trunk@5930 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-20 21:08:48 +00:00
laurent.duretz
ec85b24529
Issue 1521 : correction of separator problem
...
git-svn-id: http://piwigo.org/svn/trunk@5924 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-20 07:05:58 +00:00
nikrou
94d40c0eab
Bug 1617 fixed : help page is displayed in current theme in public or admin pages
...
git-svn-id: http://piwigo.org/svn/trunk@5920 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-18 18:59:37 +00:00
laurent.duretz
43a30afea6
Issue 1521 : correction for admin pages
...
git-svn-id: http://piwigo.org/svn/trunk@5917 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-18 09:11:10 +00:00
plegall
0e93f533bb
bug 1606: don't try to check the "no photo yet" feature when displaying an
...
help popup.
git-svn-id: http://piwigo.org/svn/trunk@5861 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-15 09:45:44 +00:00
plegall
44eae4ae16
bug 1603: encoding charset added at HTTP level for the "no photo yet" specific
...
page.
git-svn-id: http://piwigo.org/svn/trunk@5854 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-14 21:39:02 +00:00
patdenice
17e2e12b84
User theme was not used for header and footer in NBM.
...
git-svn-id: http://piwigo.org/svn/trunk@5796 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-11 12:30:32 +00:00
nikrou
265d57e830
Bug 1567 fixed : problem with old version of mysql
...
required version is now 5.0.0
move required version to functions database specific file like others engines
git-svn-id: http://piwigo.org/svn/trunk@5782 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-10 19:52:40 +00:00
nikrou
8ed51d8497
Fix some issues with database connections.
...
install_db_connect() function must return database resource link
insert into set syntax is mysql specific
git-svn-id: http://piwigo.org/svn/trunk@5781 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-10 19:49:30 +00:00
grum
7c38deb01a
bug 1595
...
git-svn-id: http://piwigo.org/svn/trunk@5773 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-10 18:51:51 +00:00
rvelices
b7e2107181
feqture 1583 : show related tags block also when browsing non tag sections
...
git-svn-id: http://piwigo.org/svn/trunk@5752 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-10 09:47:19 +00:00
nikrou
70d90c4083
Bug 1581 fixed : missing comment_id for email_admin() function
...
git-svn-id: http://piwigo.org/svn/trunk@5707 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-08 08:58:51 +00:00
plegall
c5a5bbc079
feature 1583: (tag navigation ergonomy) in the page title, always display the
...
"remove tag" icon, whatever the number of tags.
git-svn-id: http://piwigo.org/svn/trunk@5706 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-08 08:49:40 +00:00
plegall
44d3601933
feature 1583: replace add_tag.png icon by a simple "+" character in the
...
"related tags" block. Only keep one link for each tag in the "related tags"
block.
git-svn-id: http://piwigo.org/svn/trunk@5703 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-08 08:26:34 +00:00
patdenice
e5f8722c33
Fix some issues on NBM: move css rules to mail body if it's possible.
...
Remove fieldset on available plugins page.
git-svn-id: http://piwigo.org/svn/trunk@5695 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-07 08:09:30 +00:00
rvelices
4e4f257a58
fixes only:
...
- some searches returned bad array for page['items'] (resulting in php warnings and sometimes mysql fatal error) still existing in branch 2.0
- mysql fatal error in admin maintenance
- php warn in plugins_list.php
- fix check on function param in admin/include/functions.php
git-svn-id: http://piwigo.org/svn/trunk@5691 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-06 20:04:42 +00:00
grum
9a33a4ea66
bug 1580 - remove some hard coded markup (move them to the template)
...
git-svn-id: http://piwigo.org/svn/trunk@5682 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-05 20:49:32 +00:00
plegall
dd843c7823
bug 1579: admins should see all user comments on picture.php, validated or not.
...
git-svn-id: http://piwigo.org/svn/trunk@5654 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-04 22:50:12 +00:00
plegall
7424433a54
bug 1534: if you're a guest, if configuration tells you can't add user
...
comments, you won't see the form on the picture page.
git-svn-id: http://piwigo.org/svn/trunk@5649 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-04 22:00:29 +00:00
rvelices
ff8049ff28
move no_photo_yet feature to a new php file included by common.inc.php only if required (avoid parsing this code that will be rarely executed)
...
git-svn-id: http://piwigo.org/svn/trunk@5509 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-31 20:36:32 +00:00
nikrou
c7905118b8
Feature 1559 : remove custom function (std) for sqlite
...
git-svn-id: http://piwigo.org/svn/trunk@5503 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-31 18:16:27 +00:00
plegall
9f0034807a
feature 1559: remove "standard deviation" in rating.
...
git-svn-id: http://piwigo.org/svn/trunk@5500 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-31 14:34:21 +00:00
laurent.duretz
d2a04ce9bf
Issue 1521 : Adding explanations
...
git-svn-id: http://piwigo.org/svn/trunk@5470 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-30 08:51:10 +00:00
laurent.duretz
463d6f5f2f
Issue 1521 : get_absolute_root_url() missing in section_init.inc.php
...
git-svn-id: http://piwigo.org/svn/trunk@5469 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-30 08:30:41 +00:00
nikrou
a6a3a6e0c2
Fix some issues with database engines :
...
- insert into syntax not correct for posgresql or sqlite
- add languages table
- incorrect function for row count (sqlite)
git-svn-id: http://piwigo.org/svn/trunk@5452 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-29 18:16:33 +00:00
laurent.duretz
a37f1fbae1
Issue 1521 : picture.tpl updated to avoid double home link, picture.php updated because tpl update, functions_html.inc.php updated to work with question_mark_in_urls = false
...
git-svn-id: http://piwigo.org/svn/trunk@5451 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-29 17:05:38 +00:00
patdenice
6024107c9c
feature 1502: Configuration menu is selected when theme configuration page is selected.
...
Remove useless global $page.
git-svn-id: http://piwigo.org/svn/trunk@5448 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-29 15:14:21 +00:00
patdenice
29d36ffdc3
feature 1502: Allow to have configuration page for each theme.css.
...
About string for theme has to be saved in language theme directory (about.html)
git-svn-id: http://piwigo.org/svn/trunk@5446 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-29 13:30:02 +00:00
laurent.duretz
72bdf727ee
Issue 1521 : Integration of LinkRoot plugin in Piwigo core
...
git-svn-id: http://piwigo.org/svn/trunk@5441 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-29 08:02:44 +00:00
patdenice
cae3ae428e
feature 1502: In template extensions admin page, change "Bound template" by "Bound theme".
...
Template extensions are now attached to all themes if nothing is selected in "bound theme" column.
git-svn-id: http://piwigo.org/svn/trunk@5434 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-28 20:29:55 +00:00
patdenice
adda4f81b1
feature 1502: Wrong path corrected (to check themeconf.inc.php existence)
...
git-svn-id: http://piwigo.org/svn/trunk@5419 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-28 13:25:45 +00:00
patdenice
6b445114da
Feature 1535: Add language manager.
...
git-svn-id: http://piwigo.org/svn/trunk@5357 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-25 20:18:28 +00:00
patdenice
06c7acda4f
Feature 1535: Add languages table.
...
Ready for theme manager!
git-svn-id: http://piwigo.org/svn/trunk@5341 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-25 10:27:17 +00:00
rvelices
6717089705
- fix cat_modify
...
* missing token in url
* double icon display
- simplified func check_pwg_token
git-svn-id: http://piwigo.org/svn/trunk@5335 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-25 05:59:35 +00:00
patdenice
2ad08fa8c1
feature 1502: bug corrected on guest setting page.
...
Remove $conf['default_theme'] from config file (useless).
Check if theme is still installed in pwg_get_themes.
git-svn-id: http://piwigo.org/svn/trunk@5306 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-24 01:36:28 +00:00
patdenice
c4fd9f9141
Feature 1533: Change "General" by "Options" in Configuration menu.
...
Change "Default Display" tab by "Guest Settings" tab.
Add display tab in Configuration/Option menu.
Allow to activate/deactivate a lot of display features:
On main page:
# Display only recently posted images
# Sort order
# Display all elements in all sub-categories
# Display a calendar by posted date
# Display a calendar by creation date
# Slideshow
On photo page:
# Show file metadata
# slideshow
# Add this image to your favorites
# Navigation Bar
# Navigation Thumbnails
git-svn-id: http://piwigo.org/svn/trunk@5293 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-23 21:19:55 +00:00
patdenice
87f5424cca
Avoid error if creation date calendar is empty.
...
Avoid error on picture_modify.php if creation date is not correct.
git-svn-id: http://piwigo.org/svn/trunk@5283 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-23 11:08:09 +00:00
rub
a6c771547d
Add function is_webmaster (like is_admin function)
...
Add on ignore list the directory local/personal
git-svn-id: http://piwigo.org/svn/trunk@5272 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-23 05:56:50 +00:00
plegall
c0879165c6
bug fixed: if the theme for guest is empty (I don't know how this could be,
...
but it has been reported), the fallback on constant PHPWG_DEFAULT_TEMPLATE
was not working.
git-svn-id: http://piwigo.org/svn/trunk@5271 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-22 22:22:59 +00:00
nikrou
d6fa0a5823
Fix warning for postgresql installation
...
Remove unused function
git-svn-id: http://piwigo.org/svn/trunk@5267 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-22 20:31:53 +00:00
plegall
6b3dc4ede1
feature 1514: improvement, if a user has a theme that is (maybe temporary)
...
unactive, we fallback on default theme (the real default theme, the one set
for default user)
git-svn-id: http://piwigo.org/svn/trunk@5264 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-22 19:49:14 +00:00
plegall
f635122ef2
feature 1505: bug fixed, ability to connect with pLoader even if gallery
...
is empty.
git-svn-id: http://piwigo.org/svn/trunk@5251 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-22 10:29:34 +00:00