aboutsummaryrefslogtreecommitdiffstats
path: root/picture.php (follow)
Commit message (Collapse)AuthorAgeFilesLines
* merge r9054 from branch 2.1 to trunkplegall2011-02-021-1/+2
| | | | | | | | | bug 2175 fixed: do not use the HTML prefetch feature with Google Chrome because it was sometimes making the photos impossible to show. git-svn-id: http://piwigo.org/svn/trunk@9055 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 937 fixed: makes sure a user won't see the thumbnail of a photo that has aplegall2011-01-201-0/+8
| | | | | | | | | | | | 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
* Happy new year 2011plegall2011-01-181-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
* - picture uses the same variables as the index page to compute thumbnails urlrvelices2011-01-121-2/+2
| | | | | | - combined files are deleted only from maintenance functions and not also from plugin activation/deactivation git-svn-id: http://piwigo.org/svn/trunk@8634 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2060: Remove adviser mode.patdenice2010-12-141-1/+1
| | | | | | First commit: only php files. git-svn-id: http://piwigo.org/svn/trunk@8126 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r6711 from branch 2.1 to trunkplegall2010-07-271-0/+2
| | | | | | | add trigger for ExtendedDescription on photo name git-svn-id: http://piwigo.org/svn/trunk@6712 68402e56-0260-453c-a942-63ccdbb3a9ee
* Bug 1755 : Needs single quotes in queries official pluginsnikrou2010-07-031-2/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@6654 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r6414 from branch 2.1rvelices2010-06-281-44/+24
| | | | | | favorite image icon is not taken from php but left to the theme git-svn-id: http://piwigo.org/svn/trunk@6615 68402e56-0260-453c-a942-63ccdbb3a9ee
* Bug 1743 fixed : comment form is not visible because of boolean managementnikrou2010-06-231-0/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@6591 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r6460 from branch 2.1 to trunkplegall2010-06-031-1/+0
| | | | | | | | feture 1712 : backmerge r6454, useless feature. It can be done another way without changing core code. git-svn-id: http://piwigo.org/svn/trunk@6461 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r6454 from branch 2.1 to trunkplegall2010-06-031-0/+1
| | | | | | | feature 1712: ability to add a CSS class on body git-svn-id: http://piwigo.org/svn/trunk@6455 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 1637: make the privacy level the same everywher, use "who can see this ↵plegall2010-04-301-1/+1
| | | | | | | | photo?" instead of "minimum privacy level". git-svn-id: http://piwigo.org/svn/trunk@6025 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 1565 fixed: ability to validate a user comment from the picture pageplegall2010-04-041-1/+1
| | | | | | (copy/past typo fixed) git-svn-id: http://piwigo.org/svn/trunk@5653 68402e56-0260-453c-a942-63ccdbb3a9ee
* Issue 1521 : picture.tpl updated to avoid double home link, picture.php ↵laurent.duretz2010-03-291-1/+0
| | | | | | 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
* Feature 1533: Bug corrected on favorite option and navigation bar.patdenice2010-03-241-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@5305 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1533: Allow activation or deactivation of download icon.patdenice2010-03-241-1/+5
| | | | | | Add display configuration for picture properties. git-svn-id: http://piwigo.org/svn/trunk@5304 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1533: Change "General" by "Options" in Configuration menu.patdenice2010-03-231-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | 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
* increase copyright year to 2010plegall2010-03-191-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@5196 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 1328: backport the pwg_token on trunkplegall2010-03-191-22/+39
| | | | | | | | | bug 1329: backport the check_input_parameter on trunk feature 1026: add pwg_token feature for edit/delete comment. Heavy refactoring on this feature to make the code simpler and easier to maintain (I hope). git-svn-id: http://piwigo.org/svn/trunk@5195 68402e56-0260-453c-a942-63ccdbb3a9ee
* - fix php warning followed by mysql query fatal errorrvelices2010-03-131-16/+20
| | | | | | - don't include a file unless necessary git-svn-id: http://piwigo.org/svn/trunk@5127 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1451 : localization with gettextnikrou2010-03-021-2/+2
| | | | | | | | | | | Use php-gettext (developpement version rev43, because of php5.3) as fallback Use native language (english) instead of key for translation Keep directory en_UK for english customization Need some refactoring for plurals Todo : managing plugins in the same way git-svn-id: http://piwigo.org/svn/trunk@5021 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1244 resolvednikrou2009-11-201-5/+5
| | | | | | | | Replace all mysql functions in core code by ones independant of database engine Fix small php code synxtax : hash must be accessed with [ ] and not { }. git-svn-id: http://piwigo.org/svn/trunk@4325 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1241 resolved. replace mysql_fetch_array by mysql_fetch_assoc for ↵nikrou2009-11-151-3/+3
| | | | | | small php code improvements git-svn-id: http://piwigo.org/svn/trunk@4265 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1026 : Modify / delete comments for usersnikrou2009-06-231-9/+23
| | | | | | | | + update config table content + minor modification of Sylvia theme + need refactoring git-svn-id: http://piwigo.org/svn/trunk@3445 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1028 : Allow admin to validate comment from picture pagenikrou2009-06-101-0/+17
| | | | git-svn-id: http://piwigo.org/svn/trunk@3409 68402e56-0260-453c-a942-63ccdbb3a9ee
* small code refactor - group together some code that should be together rvelices2009-03-031-10/+8
| | | | git-svn-id: http://piwigo.org/svn/trunk@3167 68402e56-0260-453c-a942-63ccdbb3a9ee
* - removed second parameter $type from function format_datervelices2009-02-041-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@3122 68402e56-0260-453c-a942-63ccdbb3a9ee
* Administration: happy new year 2009, all PHP headers updated. plegall2009-01-041-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@3049 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r 2758 from branch 2.0 to trunkrvelices2008-10-161-2/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@2759 68402e56-0260-453c-a942-63ccdbb3a9ee
* - removed #debug css rule (why would we need that in default-layout?)rvelices2008-09-231-3/+1
| | | | | | | | - order by rank is not available in calendar/chronology mode - small non-functional change in functions_search.inc.php (handy for plugin) - unused variables/smaller code/unused params in func call git-svn-id: http://piwigo.org/svn/trunk@2572 68402e56-0260-453c-a942-63ccdbb3a9ee
* Extend_for_templates include slideshow.tpl overides.vdigital2008-09-181-8/+16
| | | | | | | menubar.tpl is no longer supported by Extend_for_templates. Titling_categories.tpl was in error (Wrong recent icon var) git-svn-id: http://piwigo.org/svn/trunk@2549 68402e56-0260-453c-a942-63ccdbb3a9ee
* - images.file categories.permalink old_permalinks.permalink - become binaryrvelices2008-09-121-2/+1
| | | | | | | | | | | | | | - session security improvement: now the sessions are valid only for originating ip addr (with mask 255.255.0.0 to allow users behind load balancing proxies) -> stealing the session cookie is almost a non issue (with the exception of the 65536 machines in range) - metadata sync from the sync button does not overwrite valid data with empty metadata - other small fixes/enhancements: - added event get_category_image_orders - fix display issue with redirect.tpl (h1/h2 within h1) - fix known_script smarty function registration - query search form not submitted if q is empty - better admin css rules - some other minor changes (ws_core, rest_handler, functions_search...) git-svn-id: http://piwigo.org/svn/trunk@2521 68402e56-0260-453c-a942-63ccdbb3a9ee
* - fix typing error in index.tplrvelices2008-09-091-9/+0
| | | | | | | - added template smarty function known_script (e.g.{known_script id="x" src"y.js"}) - useful to avoid double inclusion of a script such as prototype,jquery,... when a template and plugin need it independently (see the use in admin.tpl for example) - removed unused themeconf.template_dir git-svn-id: http://piwigo.org/svn/trunk@2513 68402e56-0260-453c-a942-63ccdbb3a9ee
* - fix issue when picture_url_style = file (sql query like) rvelices2008-09-091-1/+3
| | | | | | - sql call SET NAMES "xxx" (if required) in upgrade.php, upgrade_feed.php and after 65-database.php git-svn-id: http://piwigo.org/svn/trunk@2512 68402e56-0260-453c-a942-63ccdbb3a9ee
* - remove admin :hover css rule (bouncing thumbnails in caddie FF)rvelices2008-07-221-5/+2
| | | | | | | | - move some code from notification.php to notification.tpl - remove some unused variables from picture.php - make random.php work even if top_number is a lot (some issues solved with url length) git-svn-id: http://piwigo.org/svn/trunk@2446 68402e56-0260-453c-a942-63ccdbb3a9ee
* - bug 600: Page not found after a strong rating revise (and extended to most ↵rvelices2008-07-121-4/+76
| | | | | | cases when the image is not in the requested section) git-svn-id: http://piwigo.org/svn/trunk@2430 68402e56-0260-453c-a942-63ccdbb3a9ee
* - first use of web services as Ajax: change the privacy level directly from ↵rvelices2008-07-021-14/+20
| | | | | | the picture page git-svn-id: http://piwigo.org/svn/trunk@2413 68402e56-0260-453c-a942-63ccdbb3a9ee
* Bug 817 (metadata display persistency) fixed for Butterflymathiasm2008-06-281-10/+21
| | | | git-svn-id: http://piwigo.org/svn/trunk@2407 68402e56-0260-453c-a942-63ccdbb3a9ee
* just some optimizations (especially for large dbs)rvelices2008-05-031-5/+5
| | | | | | | - replace some REGEXP with LIKE in sql - optimized queries for the combination of large data sets with picture_url_style file git-svn-id: http://piwigo.org/svn/trunk@2327 68402e56-0260-453c-a942-63ccdbb3a9ee
* - less mysql queries on picture page (under some circumstances)rvelices2008-04-251-8/+31
| | | | git-svn-id: http://piwigo.org/svn/trunk@2309 68402e56-0260-453c-a942-63ccdbb3a9ee
* Bug fixed: as rvelices notified me by email, my header replacement script wasplegall2008-04-051-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
* Modification: new header on PHP files, PhpWebGallery renamed Piwigo.plegall2008-04-041-0/+21
| | | | git-svn-id: http://piwigo.org/svn/trunk@2297 68402e56-0260-453c-a942-63ccdbb3a9ee
* - upload.tpl goes smartyrvelices2008-03-081-2/+0
| | | | | | | - start some language cleanup and a small attempt to standardize a bit ... - debug_language now calls trigger_error instead of echo when missing language key git-svn-id: http://piwigo.org/svn/trunk@2265 68402e56-0260-453c-a942-63ccdbb3a9ee
* picture, footer and picture modify template migrationrvelices2008-02-291-157/+88
| | | | git-svn-id: http://piwigo.org/svn/trunk@2227 68402e56-0260-453c-a942-63ccdbb3a9ee
* Resolved issue 0000807: New slideshow featuresrub2008-02-281-1/+1
| | | | | | Fix bad <link rel="up"> in the header git-svn-id: http://piwigo.org/svn/trunk@2224 68402e56-0260-453c-a942-63ccdbb3a9ee
* Resolved issue 0000807: New slideshow featuresrub2008-02-271-46/+140
| | | | git-svn-id: http://piwigo.org/svn/trunk@2218 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge 2203 from branch-1_7 to trunkrvelices2008-01-311-1/+1
| | | | | | - small correction (the prefetch of nezt image was not correct on non image pages generating 404 errors) git-svn-id: http://piwigo.org/svn/trunk@2204 68402e56-0260-453c-a942-63ccdbb3a9ee
* New feature: 745: Separate CSS for slideshowvdigital2007-11-221-1/+8
| | | | git-svn-id: http://piwigo.org/svn/trunk@2169 68402e56-0260-453c-a942-63ccdbb3a9ee
* - send status code 403 when attempt to enter a user comment, but comments ↵rvelices2007-10-291-1/+1
| | | | | | | | | are disabled - don't increase hit count when a comment is posted - remove the check of user ip agains spamhaus.org when a comment is entered (my conclusion is that is useless) git-svn-id: http://piwigo.org/svn/trunk@2155 68402e56-0260-453c-a942-63ccdbb3a9ee
* Resolved 0000728: Add description triggers for categories and elementsrub2007-08-251-1/+6
| | | | | | | | | | | Add: o render_category_description o render_category_literal_description o render_element_description Merge branch-1_7 2048:2050 into BSF git-svn-id: http://piwigo.org/svn/trunk@2079 68402e56-0260-453c-a942-63ccdbb3a9ee