aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions.inc.php (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-06-07no longer use of images.tn_ext field any longerplegall1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@15598 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-07bug:2647patdenice1-19/+0
Test 1and1 server with $_SERVER['SCRIPT_FILENAME'] git-svn-id: http://piwigo.org/svn/trunk@15583 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-06bug:2647patdenice1-0/+19
External ImageMagick does not work anymore on 1and1 servers git-svn-id: http://piwigo.org/svn/trunk@15575 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-05bug 2646 fixed: avoid useless PHP warnings with uncompleted creation dateplegall1-3/+12
git-svn-id: http://piwigo.org/svn/trunk@15573 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-05-26remove useless function/configuration due to derivativesplegall1-24/+0
git-svn-id: http://piwigo.org/svn/trunk@15316 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-03-06remove remote sites featurervelices1-1/+0
git-svn-id: http://piwigo.org/svn/trunk@13488 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-19convert tabulations into 2-spaces for indentation (introduced in r13240)plegall1-8/+8
git-svn-id: http://piwigo.org/svn/trunk@13258 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-18feature:2577patdenice1-1/+9
Automaticaly install smartpocket during install or upgrade. hide mobile theme from themes list on user side. git-svn-id: http://piwigo.org/svn/trunk@13242 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-18- multisize thumb longest side can be smaller than the square sizervelices1-49/+10
- remove unused css, shorten/optimize php called very often (at least theoretically should be faster) git-svn-id: http://piwigo.org/svn/trunk@13240 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-18feature:2577patdenice1-0/+61
Many improvements git-svn-id: http://piwigo.org/svn/trunk@13234 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-10feature 2564: small changes in infos listmistic1001-12/+15
git-svn-id: http://piwigo.org/svn/trunk@13086 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-10feature 2564: forgot a file in previous commitmistic1001-2/+61
git-svn-id: http://piwigo.org/svn/trunk@13085 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-24feature 2548 multisize rvelices1-8/+1
- added define_derivative template functiion for themes and plugins - code cleanup, new events ... git-svn-id: http://piwigo.org/svn/trunk@12954 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-17feature 2548 multisize - code cleanup + better usage in category_cats + ↵rvelices1-63/+6
i.php logs memory usage peak git-svn-id: http://piwigo.org/svn/trunk@12920 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-12bug 2553 hide menubar/register on indentification page if gallery is locked ↵rvelices1-7/+10
or guest_access is false git-svn-id: http://piwigo.org/svn/trunk@12878 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-10feature:2552patdenice1-1/+2
Apply trigger render_element_description for thumbnail title (for picture description) git-svn-id: http://piwigo.org/svn/trunk@12870 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-05feature 2548 multisize - improved picture.php display (original...) + code ↵rvelices1-0/+14
cleanup git-svn-id: http://piwigo.org/svn/trunk@12855 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-03feature 2548 multisizervelices1-0/+10
- rewrote local site sync + metadata sync git-svn-id: http://piwigo.org/svn/trunk@12831 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-27feature 2541: fix bug on PHPWG_ROOT_PATH and includesplegall1-3/+3
git-svn-id: http://piwigo.org/svn/trunk@12798 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-27feature 2541 multisizervelices1-1/+5
- core implementation + usage on most public/admin pages - still to do: sync process, upload, gui/persistence for size parameters, migration script, center of interest ... git-svn-id: http://piwigo.org/svn/trunk@12796 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-11-04merge r12540 from branch 2.3 to trunkplegall1-1/+1
bug 2492 fixed: no need to transmit ['hit'] to get_thumbnail_title, this parameter becomes optional to avoid errors in plugins git-svn-id: http://piwigo.org/svn/trunk@12541 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-10-15feature:2473patdenice1-1/+1
Apply trigger render_element_description for thumbnail title git-svn-id: http://piwigo.org/svn/trunk@12451 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-31merge r12022 from branch 2.2 to trunkplegall1-0/+5
bug 2421 fixed: no more warning on comments.php when $_SERVER['QUERY_STRING'] is not defined git-svn-id: http://piwigo.org/svn/trunk@12023 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-26feature 1729: protect thumbnail title against HTML special charsplegall1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@11998 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-26feature 1729: avoid too long description in tooltipsplegall1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@11997 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-26feature 1729: rewrite function get_thumbnail_title to provide a complete tooltipplegall1-10/+44
to the template file. It include the name of the photo, details such as number of visits, number of comments, rating score, and the description. git-svn-id: http://piwigo.org/svn/trunk@11996 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-25feature 2365 added: Piwigo version is written in the database (asplegall1-0/+9
"piwigo_db_version" in the config table). We only store the branch, not the release : 2.3 and not 2.3.1, because database structure is not changing between minor releases. git-svn-id: http://piwigo.org/svn/trunk@11511 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-05-31merge r11160 from branch 2.2 to trunkplegall1-4/+18
bug 2310 fixed: conf_update_param() does not erase config.comment column anymore, we only insert a new row if the param does not exist yet in the table. git-svn-id: http://piwigo.org/svn/trunk@11162 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-03-22merge r9819 from branch 2.1 to trunkplegall1-1/+1
bug 2228 fixed: there should be no blank space in the URL to avoid infinite loop redirection (this happens with chinese only characters + blank space in the category name). Note: this problem does not concern tag names because there is no redirection when the tag name does not match tags.url_name git-svn-id: http://piwigo.org/svn/trunk@9820 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-22- fix icon display on index page (calendar by post date)rvelices1-2/+0
- remove unnecessary include_once - mysql functions simplification git-svn-id: http://piwigo.org/svn/trunk@8844 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-20bug 937 fixed: makes sure a user won't see the thumbnail of a photo that has aplegall1-0/+11
higher privacy level than user privacy level. For an acceptable solution at performance level, I have implemented a cache: for a given user, each album has a representative_picture_id. This cache also avoids to perform numerous "order by rand()" SQL queries which is the case when $conf['allow_random_representative'] = true; git-svn-id: http://piwigo.org/svn/trunk@8802 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-18Happy new year 2011plegall1-2/+2
Change "Piwigo - a PHP based picture gallery" into "Piwigo - a PHP based photo gallery" git-svn-id: http://piwigo.org/svn/trunk@8728 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-17feature 2112 added: ability to set an additional local directoryplegall1-1/+1
$conf['local_dir_site'] in local/config/multisite.inc.php git-svn-id: http://piwigo.org/svn/trunk@8722 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-14feature 2102 : rename item/image/picture to photorvelices1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@8665 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-23- faster trigger_event/trigger_action (it was overly complicated)rvelices1-9/+7
- added a new param to get_thumbnail_url event - get_thumbnail_location is called only if the thumbnail does not exist git-svn-id: http://piwigo.org/svn/trunk@8263 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-10-30feature 1915: add protection on user registration against robots rvelices1-15/+27
git-svn-id: http://piwigo.org/svn/trunk@7495 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-09-16remove_accents function improvement: shorter + faster code (less func calls)rvelices1-94/+93
git-svn-id: http://piwigo.org/svn/trunk@6947 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-09-16bug 1852: html redirections fail on admin pages rvelices1-0/+4
git-svn-id: http://piwigo.org/svn/trunk@6944 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-06- removed function get_extra_fields and its usage (unnecessary + perf issue ↵rvelices1-17/+1
when retrieving many image ids in a section) - 2 fixes recent feed.php commit * month names were decalated by one * strptime function is not implemented under Windows in php - added somme missing $ROOT_URL in templates git-svn-id: http://piwigo.org/svn/trunk@6668 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-27merge r6384 from branch 2.1 to trunkplegall1-0/+4
bug 1704 fixed: windows needs a specific directory separator when creating recursive directory. git-svn-id: http://piwigo.org/svn/trunk@6385 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-25fix bug 1663 : wrong decoding of non Ascii iptc/exif (charset issue)rvelices1-15/+18
git-svn-id: http://piwigo.org/svn/trunk@6355 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-03bug 1063 fixed: avoid error when adding a tag in chinese or russian characters.plegall1-0/+7
In any language where the str2url would return an empty string. The behavior doesn't change for european characters. rvelices warned me about the many issues we might encounter with copy/paste of the URL and required url_encode/url_decode BUT after many tests (Linux with Firefox 3.0/Google Chrome 5, MacOS 10.6 with Firefox/Safari, WindowsXP with IE6/Firefox) I've found 0 problem, even with the most error prone mode $conf['tag_url_style'] = 'tag' git-svn-id: http://piwigo.org/svn/trunk@6060 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-30bug 1637: make the privacy level the same everywher, use "who can see this ↵plegall1-0/+42
photo?" instead of "minimum privacy level". git-svn-id: http://piwigo.org/svn/trunk@6025 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-28feature 1630: upgrade to Piwigo 2.1 :-)plegall1-3/+14
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-10Fix some issues with database connections.nikrou1-3/+3
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-03-28feature 1502: Wrong path corrected (to check themeconf.inc.php existence)patdenice1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@5419 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-25Feature 1535: Add language manager.patdenice1-16/+10
git-svn-id: http://piwigo.org/svn/trunk@5357 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-25- fix cat_modifyrvelices1-13/+7
* 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-24feature 1502: bug corrected on guest setting page.patdenice1-1/+6
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-21[trunk] merge bug:1523 / Compatibility with PHP 5.3ddtddt1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@5211 68402e56-0260-453c-a942-63ccdbb3a9ee