Commit Graph

954 Commits

Author SHA1 Message Date
nikrou
1873dbd062 Fix bug 451: improvement
small problem with reconnexion after session timeout
add auto-login function
all staff for session (connexion, auto-login and logout) 
is now in include/user.inc.php


git-svn-id: http://piwigo.org/svn/trunk@1511 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-28 09:34:27 +00:00
nikrou
f6c2f2b1b1 refresh_time must be 0 by default
fix line too long


git-svn-id: http://piwigo.org/svn/trunk@1510 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-28 08:36:38 +00:00
nikrou
96bc8e8717 Fixed missing $lang and extra code not needed
git-svn-id: http://piwigo.org/svn/trunk@1509 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-28 08:01:08 +00:00
nikrou
bc65a0d6cd Feature 492: first step
Simple redirect.tpl in template-common
Simplification of function redirect()


git-svn-id: http://piwigo.org/svn/trunk@1508 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-27 18:51:54 +00:00
rub
7ca31726ed Resolved Issue ID 0000474 (Step 2):
o Add .htaccess files

=>
  * admin
      - .htaccess = deny from all
  * doc
      - no .htaccess
  * galleries
      - .htaccess = Options -Indexes
  * include
      - .htaccess = deny from all
      => move 2 .js in template-common
  * install
      - .htaccess = deny from all
  * language
      - .htaccess = deny from all
  * template
      - .htaccess = Options -Indexes
  * template-common
      - .htaccess = Options -Indexes
  * template-extension
      - .htaccess = Options -Indexes
  * tools
      - no .htaccess


git-svn-id: http://piwigo.org/svn/trunk@1505 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-26 21:29:21 +00:00
nikrou
e7f8b14269 function names are case-insensitive but it's a good idea to call functions
as they appear in their declaration. 
So all functions names that manipulate url like make_index_url() 
are write with lowercase


git-svn-id: http://piwigo.org/svn/trunk@1503 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-26 21:00:16 +00:00
rvelices
462a8ebbc1 bug 488: when gallery is locked, white page with no message
git-svn-id: http://piwigo.org/svn/trunk@1502 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-26 01:01:36 +00:00
rvelices
aca06a08aa feature 169: each category can have its own image order
git-svn-id: http://piwigo.org/svn/trunk@1500 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-26 00:51:08 +00:00
nikrou
5d06d43541 bug 451 fixed: problem with auto login
- add an auto_login_key in users_table
- $conf['session_length'] is no more useful 
    and sessions length will be 0 (until browser closed)
- add $conf['remember_me_name'] for cookie remember name


git-svn-id: http://piwigo.org/svn/trunk@1493 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-23 15:25:49 +00:00
nikrou
de1ff24582 bug 471 fixed: quote in tags
git-svn-id: http://piwigo.org/svn/trunk@1487 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-21 13:44:22 +00:00
rub
27aeab97e9 Resolved Issue ID 0000474 (Step 1):
o Rename index.htm into index.php
  o Add index.php on all sub-directories
  o Use an uniform source code of index.php (like /include/index.php)

(/index.php is of course not changed)




git-svn-id: http://piwigo.org/svn/trunk@1481 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-18 21:38:54 +00:00
chrisaga
61ca501bcf fix bug 193 : pb with quote in tooltips with IE
git-svn-id: http://piwigo.org/svn/trunk@1472 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-15 14:29:16 +00:00
chrisaga
12f7f1e837 improve : allow to redirect guest from index.php to identification.php (feature 470)
usefull if the whole gallery is private
	we lost it when category.php became index.php

git-svn-id: http://piwigo.org/svn/trunk@1470 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-15 08:20:47 +00:00
chrisaga
81126f9fb6 fix bug 437: Affichage des pwg_high (popup-window size )
git-svn-id: http://piwigo.org/svn/trunk@1468 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-14 23:56:47 +00:00
rub
f9147af63c Reopened and Resolved Issue ID 0000459:
o get_email_address_as_display_text could be improve in order to display '' for null email value.




git-svn-id: http://piwigo.org/svn/trunk@1462 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-13 20:58:01 +00:00
rub
8a7fff22b0 Resolved Issue ID 0000456, 0000457, 0000459, 0000465:
o Fix bugs adviser mode



git-svn-id: http://piwigo.org/svn/trunk@1458 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-11 20:51:24 +00:00
chrisaga
cfcb489cfa improve : evaluate {pwg_root} after any {themeconf:___} variable to allow using {pwg_root} in themeconf.inc.php
usefull for including theme specific fix-ie5-ie6.css

git-svn-id: http://piwigo.org/svn/trunk@1456 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-09 17:58:21 +00:00
chrisaga
63bc9838cd fix bug 458: Cannot log due to broken session cookie (wrong "path")
use $_SERVER['REDIRECT_URL'] if it's set
	add a trailing '/' 

git-svn-id: http://piwigo.org/svn/trunk@1442 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-08 09:27:23 +00:00
rvelices
28093b24d2 merge -r1435 from branch-1_6 to trunk
bug 450: "upload an image" link in menu bar is missing

git-svn-id: http://piwigo.org/svn/trunk@1436 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-06 02:45:26 +00:00
plegall
73d9794a07 merge -r1430:1431 from branch 1.6 to trunk (bug 443 fixed: new users were
never notified to administrators due to a typo).


git-svn-id: http://piwigo.org/svn/trunk@1432 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-03 23:06:44 +00:00
plegall
2b6c63cccf merge -r1428:1429 from branch 1.6 to trunk (bug fixed: check of non
emptiness on $_SERVER['PATH_INFO'])


git-svn-id: http://piwigo.org/svn/trunk@1430 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-03 22:58:19 +00:00
plegall
aa2c4ef173 merge -r1424:1425 from branch 1.6 to trunk (bug 395 fixed: the upgrade feed
can be performed only if PHPWG_IN_UPGRADE is true).


git-svn-id: http://piwigo.org/svn/trunk@1426 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-03 22:44:22 +00:00
rub
c368472699 Issue ID 0000375:
o Line too long
  o Use paragraph

Merge BSF r1413:1414 into branch-1_6

git-svn-id: http://piwigo.org/svn/trunk@1418 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-06-29 22:16:35 +00:00
rub
48779cfaaa Issue ID 0000375:
o Keep same format display
  o Add css class
  o rename warning to header_msg

Merge BSF r1411:1412 into branch-1_6

git-svn-id: http://piwigo.org/svn/trunk@1414 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-06-28 22:50:30 +00:00
rub
be4c4b31c8 Issue ID 0000429:
Fix Line too long cf coding convention



git-svn-id: http://piwigo.org/svn/trunk@1412 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-06-28 21:33:35 +00:00
rub
10e9114431 Issue ID 0000429: Value on config_default.inc.php is a default value not defined by default.
Merge BSF r1407:1408 into branch-1_6

git-svn-id: http://piwigo.org/svn/trunk@1410 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-06-27 21:14:55 +00:00
rvelices
cbd52c6dd2 merge -r1046 from branch-1_6 to trunk
bug 436: Category thumbnail display not ok if subcatify is false

git-svn-id: http://piwigo.org/svn/trunk@1407 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-06-27 00:38:19 +00:00
rvelices
a437e15fcc merge -r1402 from branch-1_6 into trunk
bug correction in get_root_url ('./../' was returning '')

git-svn-id: http://piwigo.org/svn/trunk@1403 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-06-24 21:23:10 +00:00
chrisaga
7b791c1ba3 fix : test if themeconf variable exist to avoid a "PHP Notice" in the log
git-svn-id: http://piwigo.org/svn/trunk@1400 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-06-24 17:09:20 +00:00
chrisaga
300eaed892 feature 434: split thumbnails in template so customization could be easyer
git-svn-id: http://piwigo.org/svn/trunk@1384 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-06-24 08:56:59 +00:00
nikrou
3ec2f102b5 fix bug 375: html bug; warnings are displayed outside from the html tree.
git-svn-id: http://piwigo.org/svn/trunk@1380 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-06-22 21:28:54 +00:00
nikrou
a08cd1a583 svn merge -r1366:1371 from branch 1.6 into trunk
git-svn-id: http://piwigo.org/svn/trunk@1377 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-06-22 19:21:56 +00:00
nikrou
ad45eccd33 issue 426 step 1 reverted:
svn merge -r1466:1465 .
svn merge -r1463:1462 .


git-svn-id: http://piwigo.org/svn/trunk@1376 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-06-22 18:17:47 +00:00
nikrou
84536f0275 fix bug 431: src of image are incorrect:
ex: ././galleries/img.jpg instead of ./galleries/img.jpg


git-svn-id: http://piwigo.org/svn/trunk@1374 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-06-21 19:34:46 +00:00
rvelices
9aa29cc28e bug 418: navigation bar in picture.php to the root of special categories
git-svn-id: http://piwigo.org/svn/trunk@1373 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-06-19 23:29:54 +00:00
nikrou
98b5d375e4 small fix: problem with undefined constant in public zone.
git-svn-id: http://piwigo.org/svn/trunk@1366 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-06-18 18:39:43 +00:00
rub
88af014526 Issue ID 0000407: accents are not allowed in mail headers
Fix: comment for str_translate_to_ascii7bits fucntion must be split into two lines



git-svn-id: http://piwigo.org/svn/trunk@1364 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-06-18 16:47:15 +00:00
nikrou
57cf3ba758 Issue 426: first step; separation of admin and public into two templates
Need to simplify and delete files not needed


git-svn-id: http://piwigo.org/svn/trunk@1363 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-06-18 12:04:59 +00:00
rub
7457a64443 Issue ID 0000407: accents are not allowed in mail headers
git-svn-id: http://piwigo.org/svn/trunk@1361 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-06-17 22:56:35 +00:00
rvelices
05a695450a merge r1353 from branch-1_6 to trunk (bug 389: font tag allowed in category
html description for subcatify)

git-svn-id: http://piwigo.org/svn/trunk@1354 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-06-14 00:56:22 +00:00
rvelices
4dbad1bd72 merge r1351 from branch-1_6 to trunk (bug 388: html errors in month_calendar)
git-svn-id: http://piwigo.org/svn/trunk@1352 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-06-14 00:39:45 +00:00
plegall
cfbadffe5f merge -r1329:1330 from branch 1.5 to trunk (bug 378 fixed).
git-svn-id: http://piwigo.org/svn/trunk@1331 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-05-31 21:44:46 +00:00
chrisaga
c231fa52ff remove : calls to html_entity_decode() since we don't use html entities in l10n() any more (see bug 358)
git-svn-id: http://piwigo.org/svn/trunk@1321 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-05-26 15:51:36 +00:00
plegall
fc986780f9 merge -r1308:1309 from branch 1.6 to trunk (bug 367 fixed)
git-svn-id: http://piwigo.org/svn/trunk@1310 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-05-15 21:22:43 +00:00
rvelices
f231c5fd00 merge -r1305 from branch-1_6 to trunk
fix: URLs not working with some ISPs that set _SERVER['PATH_INFO'] in a 
non standard way

git-svn-id: http://piwigo.org/svn/trunk@1306 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-05-09 00:29:59 +00:00
rub
486aa9f4ad Issue ID 0000371:
o Sorry but reverse r1299/1300

Issue ID 0000356:
  o Add new html properties tags on adviser mode



git-svn-id: http://piwigo.org/svn/trunk@1303 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-05-07 22:52:25 +00:00
nikrou
c32f43f225 html bug fixed: the sentence "mod adviser enabled" must be add in the page!
git-svn-id: http://piwigo.org/svn/trunk@1299 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-05-05 20:07:49 +00:00
nikrou
aafda98e97 bug 331 fixed: html generated contains the code in header.tpl twice
when we use the function redirect
svn merge -r1296:1297 from branch 1.6 into trunk


git-svn-id: http://piwigo.org/svn/trunk@1298 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-05-03 17:24:19 +00:00
chrisaga
d05caccc31 bug 358 fixed : Accent are not correctly displayed in category listing
Removed calls to htmlentities()
improvement : charset added in HTTP header so browser's automatic encoding works even if httpd
		is not netto latin1
revert to original l10n() : use of htmlentities() didn't solve bug in IE tooltips

git-svn-id: http://piwigo.org/svn/trunk@1290 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-29 10:29:32 +00:00
chrisaga
360e21242f Remove useless code : old css link obsolete and unused for PWG > 1.5.x
git-svn-id: http://piwigo.org/svn/trunk@1289 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-29 09:49:16 +00:00