aboutsummaryrefslogtreecommitdiffstats
path: root/include/common.inc.php (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-04-05Bug fixed: as rvelices notified me by email, my header replacement script wasplegall1-24/+0
bugged (r2297 was repeating new and old header). By the way, I've also removed the replacement keywords. We were using them because it was a common usage with CVS but it is advised not to use them with Subversion. Personnaly, it is a problem when I search differences between 2 Piwigo installations outside Subversion. git-svn-id: http://piwigo.org/svn/trunk@2299 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-04-04Modification: new header on PHP files, PhpWebGallery renamed Piwigo.plegall1-0/+21
git-svn-id: http://piwigo.org/svn/trunk@2297 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-03-23- remove compatibility with old template ...rvelices1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@2290 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-03-02header.tpl goes smartrvelices1-6/+2
git-svn-id: http://piwigo.org/svn/trunk@2240 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-02-27- added compatibility function file_put_contentsrvelices1-0/+1
git-svn-id: http://piwigo.org/svn/trunk@2215 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-02-16Resolved issue 0000712: PWG-ERROR-VERSION on remote synchronizationrub1-1/+2
Merge branch-1_7 2211:2212 into BSF git-svn-id: http://piwigo.org/svn/trunk@2213 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-01-30Replace old use of $lang by l10n function.rub1-4/+4
git-svn-id: http://piwigo.org/svn/trunk@2201 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-10-09- PWG_CHARSET, DB_CHARSET and DB_COLLATE... utf-8 readyrvelices1-0/+17
git-svn-id: http://piwigo.org/svn/trunk@2127 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-10-08- some code refactoring before upgrade to utf (only cosmetic at this point...)rvelices1-3/+3
git-svn-id: http://piwigo.org/svn/trunk@2126 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-10-02- render_category_description and render_category_literal_description events ↵rvelices1-2/+4
refactoring git-svn-id: http://piwigo.org/svn/trunk@2117 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-09-29Change initialization of $filter in order to prevent of problem with some ↵rub1-2/+1
systems git-svn-id: http://piwigo.org/svn/trunk@2111 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-07-07Resolved issue 0000717: guest must be guestrub1-0/+7
git-svn-id: http://piwigo.org/svn/trunk@2055 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-06-27- when gallery is locked, the status header is set to 503 (Service unavailable)rvelices1-0/+2
- small improvement in admin template (text near checkboxes goes inside <label> element) git-svn-id: http://piwigo.org/svn/trunk@2046 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-06-21Resolved issue 0000708: Error on synchronizationrub1-1/+15
Resolved issue 0000709: Error with $conf['default_admin_layout'] git-svn-id: http://piwigo.org/svn/trunk@2038 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-06-07Resolved issue 0000702: Code Injection with picture commentrub1-0/+1
git-svn-id: http://piwigo.org/svn/trunk@2030 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-06-05Resolved issue 0000697: with generic user a author name is necessary to ↵rub1-2/+1
comment picture. + Change way to determinate if user is a guest (use functions like is_admin) git-svn-id: http://piwigo.org/svn/trunk@2029 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-13Updates:vdigital1-1/+1
- Copyrights 2003-2007 - help - Some HTML comform requests git-svn-id: http://piwigo.org/svn/trunk@1903 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-22- change the way conf['guest_access'] is handled so that web services work ↵rvelices1-13/+0
correctly (and also nbm.php and feed.php) git-svn-id: http://piwigo.org/svn/trunk@1850 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-22- user comments are not saved in the database with htmlspecialchars anymorervelices1-0/+1
- web service: added the possibility to enter a user comment using the service... - new comment functions from picture_comment.inc.php git-svn-id: http://piwigo.org/svn/trunk@1849 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-24- plugins with own independent scripts work now (cookie_path and url root arervelices1-9/+3
correct) - prepare a bit some url functions so that later we can fully embed pwg in scripts located outside pwg - remove some unnecessary language strings git-svn-id: http://piwigo.org/svn/trunk@1750 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-23- revert feature 564: log the login of each user; but add the possibility to bervelices1-0/+11
done by a plugin - create a "standard" way to define PHP functions that we use but might not be available in the current php version - when a comment is rejected (spam, anti-flood etc), put the content back to the browser in case there is a real user behind it - now a comment can be entered only if the page was retrieved between 2 seconds ago and 1 hour ago git-svn-id: http://piwigo.org/svn/trunk@1744 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-15There are no filter enabled if filter configuration is empty (no icon, no ↵rub1-1/+7
functions, ...) New system for the filter page configuration View mode flat_recent_cat becomes flat_cat (recent period is removed because global filter is sufficient) Recent period of global filter must be defined "after" start parameter (default value is $user['recent_period']). git-svn-id: http://piwigo.org/svn/trunk@1722 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-08Feature Issue ID 0000496: Integrate MOD add_index on PWG with plugin.lang.phprub1-0/+1
Add some plugin triggers: o for help o for language o for site manager o for advanced features Allow to launch directly plugin page (without section key) Add add_index plugin, available on site manager and advanced features Configuration page and best help must be coming soon. git-svn-id: http://piwigo.org/svn/trunk@1699 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-02Issue ID 0000529 Re-Fixed.rub1-2/+1
$_SERVER["SCRIPT_FILENAME"] not treated (only $_SERVER['SCRIPT_FILENAME'] was treated) Merge branch-1_6 1690:1691 into BSF git-svn-id: http://piwigo.org/svn/trunk@1692 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-02Issue ID 0000529 Re-Fixed.rub1-3/+4
Problem with "Options +MultiViews" .htaccess configuration. Merge branch-1_6 1688:1689 into BSF git-svn-id: http://piwigo.org/svn/trunk@1690 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-31Issue ID 0000529 Fixed.rub1-1/+1
Problem with $_SERVER['SCRIPT_FILENAME'] on IIS server Merge branch-1_6 1685:1686 into BSF git-svn-id: http://piwigo.org/svn/trunk@1687 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-25Feature Issue ID 0000527: Language localization - local.lang.php can be ↵vdigital1-1/+2
added to each language directory. Authorize your own translation to be keep over migrations. git-svn-id: http://piwigo.org/svn/trunk@1679 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-21Feature Issue ID 0000601: Filter all public pages with only recent elementsrub1-0/+12
It's a finalized version. Obsolete code of draft are removed. You can filter categories and images with recent date period on your screen selection. In the future, filter could be easy done on other type data (plugin?) You can flat categories and sub-categories with a recent date period of your choice. Next, perhaps, a panel to choice recent date for the 2 features. On draft, there have problem with MySql 5, be careful! Css problem not resolved: - Menu "Categories" is bad centered - Icon on dark too on the top git-svn-id: http://piwigo.org/svn/trunk@1677 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-14- plugins admin menu appear now in the admin page menubarrvelices1-2/+1
- plugins are loaded immediately after loading the config (allow them to hack more of pwg like user init, template init etc...) - trigger event format_exif_data (for picture display only) git-svn-id: http://piwigo.org/svn/trunk@1655 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-11-08- comments.php improvements:rvelices1-1/+5
- unvalidated comments are shown only for administrators - added delete/validate icons for admins - removed some unused code - display of comment content performed through an event - replace some get_thumbnail_src with get_thumbnail_url git-svn-id: http://piwigo.org/svn/trunk@1598 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-10-26plugins: first prototype versionrvelices1-0/+3
git-svn-id: http://piwigo.org/svn/trunk@1578 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-10-20- put back config['session_length'] disappeared in r1493 but has always beenrvelices1-57/+50
used in the code (generates mysql errors on session garbage collector) - fix auto_login (die mysql when session timed out, but user has remember) - when a user reconnects from identification.php, the remember cookie was not deleted - fix all redirect warnings/errors (many changes - mainly in common.inc.php and user.inc.php) - reduced $conf['remember_me_length'] to 60 days, because now at each auto login the 60 days countdown restarts git-svn-id: http://piwigo.org/svn/trunk@1568 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-26bug 488: when gallery is locked, white page with no messagervelices1-0/+1
git-svn-id: http://piwigo.org/svn/trunk@1502 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-03merge -r1424:1425 from branch 1.6 to trunk (bug 395 fixed: the upgrade feedplegall1-1/+3
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-06-29Issue ID 0000375: rub1-1/+2
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-28Issue ID 0000375: rub1-8/+8
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-28Issue ID 0000429: rub1-1/+7
Fix Line too long cf coding convention git-svn-id: http://piwigo.org/svn/trunk@1412 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-06-27Issue ID 0000429: Value on config_default.inc.php is a default value not ↵rub1-1/+1
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-22fix bug 375: html bug; warnings are displayed outside from the html tree.nikrou1-24/+15
git-svn-id: http://piwigo.org/svn/trunk@1380 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-06-22svn merge -r1366:1371 from branch 1.6 into trunknikrou1-1/+9
git-svn-id: http://piwigo.org/svn/trunk@1377 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-06-22issue 426 step 1 reverted:nikrou1-9/+1
svn merge -r1466:1465 . svn merge -r1463:1462 . git-svn-id: http://piwigo.org/svn/trunk@1376 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-06-18small fix: problem with undefined constant in public zone.nikrou1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@1366 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-06-18Issue 426: first step; separation of admin and public into two templatesnikrou1-1/+9
Need to simplify and delete files not needed git-svn-id: http://piwigo.org/svn/trunk@1363 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-05-07Issue ID 0000371:rub1-0/+13
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-05html bug fixed: the sentence "mod adviser enabled" must be add in the page!nikrou1-13/+0
git-svn-id: http://piwigo.org/svn/trunk@1299 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-27merge -r1281:1283 from branch 1.6 to trunk (bug 228 fixed one more time, andplegall1-26/+1
other little things) git-svn-id: http://piwigo.org/svn/trunk@1284 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-02improvement: tags replace keywords. Better data model, lessplegall1-0/+1
limitations. Each image can be associated to as many tag as needed. Tags can contain non ASCII characters. Oriented navigation with tags by association. git-svn-id: http://piwigo.org/svn/trunk@1119 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-01fix: allow adviser message was not allowing cookies to be sentrvelices1-0/+1
fix: cookie deletion on logout uses ini_get (on some systems ini_set(cookie_path) is ignored) bug 322: locked category is visible to all the users/groups that have been assigned the permissions git-svn-id: http://piwigo.org/svn/trunk@1117 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-22URL rewriting: capable of fully working with urls without ?rvelices1-1/+1
URL rewriting: works with image file instead of image id (change make_picture_url to generate urls with file name instead of image id) URL rewriting: completely works with category/best_rated and picture/best_rated/534 (change 'category.php?' to 'category' in make_index_url and 'picture.php?' to 'picture' in make_picture_url to see it) fix: picture category display in upper bar fix: function rate_picture variables and use of the new user type fix: caddie icon appears now on category page fix: admin element_set sql query was using storage_category_id column (column has moved to #image_categories) fix: replaced some old $_GET[xxx] with $page[xxx] fix: pictures have metadata url (use ? parameter - might change later) git-svn-id: http://piwigo.org/svn/trunk@1092 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-16Step 7 improvement issue 0000301:rub1-0/+12
o can attribute status <= current user o define mode adviser => buttons disabled (gray on IE, not on FF) => truncated actions => display info mode adviser git-svn-id: http://piwigo.org/svn/trunk@1085 68402e56-0260-453c-a942-63ccdbb3a9ee