aboutsummaryrefslogtreecommitdiffstats
path: root/picture.php (follow)
Commit message (Collapse)AuthorAgeFilesLines
* - 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
* - fix help filesrvelices2007-06-301-3/+5
| | | | | | | - feature 695 added action loc_user_profile_updated in profile.php - added event allow_increment_element_hit_count in picture.php git-svn-id: http://piwigo.org/svn/trunk@2048 68402e56-0260-453c-a942-63ccdbb3a9ee
* Resolved issue 0000697: with generic user a author name is necessary to ↵rub2007-06-051-1/+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
* Replace some $lang by l10nrub2007-05-151-5/+4
| | | | git-svn-id: http://piwigo.org/svn/trunk@2014 68402e56-0260-453c-a942-63ccdbb3a9ee
* plugins only:rvelices2007-03-091-17/+17
| | | | | | | | - fix in category_default.inc.php (action parameters were wrong if show_nb_comments was true) - refactor actions and events in picture.php in order to give more flexibility to plugins - added some variables in index.tpl (not used by pwg itself) to allow plugins to add their own content git-svn-id: http://piwigo.org/svn/trunk@1882 68402e56-0260-453c-a942-63ccdbb3a9ee
* - refactoring page['category'] before 1.7 releaservelices2007-02-271-3/+3
| | | | | | | | | page['category'] is not an id anymore, but an associative array of category info all of page['cat_xxx'] or page['uppercats'] merged into one simplifies calls to make_index_url give plugins a clean start for page variables for version 1.7 git-svn-id: http://piwigo.org/svn/trunk@1861 68402e56-0260-453c-a942-63ccdbb3a9ee
* New: non picture files are now logged in history when downloaded. Theplegall2007-02-201-1/+1
| | | | | | | | history filter was redesigned: #history.is_high replaced by #history.image_type = high. The filter is simpler. git-svn-id: http://piwigo.org/svn/trunk@1844 68402e56-0260-453c-a942-63ccdbb3a9ee
* web service: added method to query search elementsrvelices2007-02-191-1/+1
| | | | | | | | picture: small correction on my last commit monthly calendar nice view: always use getimagesize instead of guessing the size query search: improved results (filename is searched separately) and sometimes less sql queries than before git-svn-id: http://piwigo.org/svn/trunk@1837 68402e56-0260-453c-a942-63ccdbb3a9ee
* - adviser mode: added check on admin profile page and removed 2 read-only ↵rvelices2007-02-161-28/+9
| | | | | | | | | TAG_INPUT_ENABLED - simplified tag code in picture.php - reduced size of dark/theme.css by combining selectors with identical content git-svn-id: http://piwigo.org/svn/trunk@1827 68402e56-0260-453c-a942-63ccdbb3a9ee
* Code refactoring.plegall2007-02-151-25/+31
| | | | git-svn-id: http://piwigo.org/svn/trunk@1825 68402e56-0260-453c-a942-63ccdbb3a9ee
* - feature 642: display both subcategory thumbnails and element thumbnails (if arvelices2007-02-151-1/+1
| | | | | | | | | | category has both) in the index page - get rid of $page['cat_nb_images'] and $page['thumbnails_include'] (superfluous) - changed sql queries in section_init.inc.php for better performance with flat category view - web service fixes for categories.getList git-svn-id: http://piwigo.org/svn/trunk@1820 68402e56-0260-453c-a942-63ccdbb3a9ee
* - added plugin action loc_end_picturervelices2007-02-091-34/+26
| | | | | | | - enhanced the event tracer plugin to show a list of all events and actions trigered by pwg - small reorganization in picture.php git-svn-id: http://piwigo.org/svn/trunk@1793 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 638 added: "Fixed navigation bar" extension integration.plegall2007-02-071-31/+59
| | | | git-svn-id: http://piwigo.org/svn/trunk@1787 68402e56-0260-453c-a942-63ccdbb3a9ee
* Issue 0000622: Optional light slideshow vdigital2007-01-171-1/+18
| | | | | | | | (Active by default - Switch off by $conf['light_slideshow'] = false) Order by in admin/comments.php git-svn-id: http://piwigo.org/svn/trunk@1730 68402e56-0260-453c-a942-63ccdbb3a9ee
* Modification: new data model for history, more compact, more efficient. Aplegall2007-01-161-1/+1
| | | | | | | | | | | | | | | | | | | | summary table is used as cache for history stats display. New: a Perl script fill_history.pl was added to simulate a high load on history table (making the efficiency of the new data model obvious). Modification: function prepend_append_array_items moved from include/functions_search.inc.php to include/functions_search.inc.php since this function is used in new file admin/history.php Modification: admin/images/*_stats.img.php replaced by a simpler and more generic admin/images/stats.img.php unique file. New: a history detail search page was added. Currently, only start and end dates can be modified, it's just a beginning. git-svn-id: http://piwigo.org/svn/trunk@1727 68402e56-0260-453c-a942-63ccdbb3a9ee
* - better code in filter.inc.php (remove unused code + filter is not resetedrvelices2007-01-111-1/+1
| | | | | | | | | when going to an unfiltered page) - removed unnecessary filtered pages from config_default (especially admin !!!) - removed flat recent category icon from irrelevant pages - mysterious code comment appeared in picture.php git-svn-id: http://piwigo.org/svn/trunk@1711 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 606: search engine spider restrictions (meta robots)rvelices2007-01-091-2/+7
| | | | git-svn-id: http://piwigo.org/svn/trunk@1703 68402e56-0260-453c-a942-63ccdbb3a9ee
* Fix Feature Issue ID 0000585.rub2006-12-281-1/+1
| | | | | | | | | Convergence of exif configuration between local site and remote site. Notes added on administration page where configuration is not OK. git-svn-id: http://piwigo.org/svn/trunk@1682 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature Issue ID 0000601: Filter all public pages with only recent elementsrub2006-12-211-1/+9
| | | | | | | | | | | | | | | | | | | | | 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
* improve page header : slightly prettier title and chrisaga2006-12-021-1/+7
| | | | | | | first implementation of meta tags and rel links (see the wiki specs) some code improvements are still need. git-svn-id: http://piwigo.org/svn/trunk@1627 68402e56-0260-453c-a942-63ccdbb3a9ee
* - plugins can have full control over the path/url of the element/image/rvelices2006-11-171-53/+18
| | | | | | | | thumbnail/high (it is possible now to have secure images, on the fly watermarking, mod download and media integrator plugins working together in any combination and without touching PWG core) git-svn-id: http://piwigo.org/svn/trunk@1612 68402e56-0260-453c-a942-63ccdbb3a9ee
* - deprecated get_thumbnail_src (still there for compatibility). use rather rvelices2006-11-071-11/+5
| | | | | | | get_thumbnail_path or get_thumbnail_url (these allow plugins to override) - plugins can hook into index thumbnail display (items only so far) git-svn-id: http://piwigo.org/svn/trunk@1596 68402e56-0260-453c-a942-63ccdbb3a9ee
* plugins last modifications + events are triggered now from picture.phprvelices2006-11-011-109/+148
| | | | git-svn-id: http://piwigo.org/svn/trunk@1590 68402e56-0260-453c-a942-63ccdbb3a9ee
* function names are case-insensitive but it's a good idea to call functions nikrou2006-07-261-8/+8
| | | | | | | | | 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
* merge -r1287 from branch-1_6 to trunkrvelices2006-04-281-1/+2
| | | | | | | bug 349: Nicer display messages instead of "die" when urls cannot be solved (also set 404 status code for bots) git-svn-id: http://piwigo.org/svn/trunk@1288 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge -r1285 in from branch-1_6 to trunkrvelices2006-04-281-1/+2
| | | | | | | bug 359: transform rating html A links to FORM because some bots rate pictures (even if rel="nofollow" is set) git-svn-id: http://piwigo.org/svn/trunk@1286 68402e56-0260-453c-a942-63ccdbb3a9ee
* Issue ID 0000346:rub2006-04-211-0/+3
| | | | | | | | o Fix Picture slideshow not working git-svn-id: http://piwigo.org/svn/trunk@1247 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge -r1134 from branches/branch-1_6 into trunkrvelices2006-04-081-3/+3
| | | | git-svn-id: http://piwigo.org/svn/trunk@1135 68402e56-0260-453c-a942-63ccdbb3a9ee
* improvement: on picture.php, show title calculated inplegall2006-04-051-14/+3
| | | | | | | include/section_init.inc.php instead of nothing. git-svn-id: http://piwigo.org/svn/trunk@1128 68402e56-0260-453c-a942-63ccdbb3a9ee
* improvement: tags replace keywords. Better data model, lessplegall2006-04-021-15/+33
| | | | | | | | 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
* fix: php 5 errors and warningsrvelices2006-03-281-3/+5
| | | | | | | improve: put back update remote site from local listing.xml functionality (allow_url_fopen is false on several ISPs) git-svn-id: http://piwigo.org/svn/trunk@1107 68402e56-0260-453c-a942-63ccdbb3a9ee
* improvement issue 0000127&0000301:rub2006-03-271-6/+3
| | | | | | | | o Fix Missing Adviser tests o Improve pwg_high , set to is_the_guest default value for enabled_high git-svn-id: http://piwigo.org/svn/trunk@1106 68402e56-0260-453c-a942-63ccdbb3a9ee
* URL rewrite: 3 options in the config file define behaviour (question mark rvelices2006-03-231-8/+22
| | | | | | | | | | | removal, file name for picture and .php extension removal) fix: added unsigned for column in install sql - for the sake of uniformization change: add_url_param is now add_url_params and takes an array as parameter instead of a string git-svn-id: http://piwigo.org/svn/trunk@1094 68402e56-0260-453c-a942-63ccdbb3a9ee
* URL rewriting: capable of fully working with urls without ?rvelices2006-03-221-14/+9
| | | | | | | | | | | | | | | | | | | | | | | | 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
* URL rewriting: fix some old links, calendar simplification and prepare code rvelices2006-03-211-42/+43
| | | | | | for urls without ? (added functions get_root_url and add_url_param) git-svn-id: http://piwigo.org/svn/trunk@1090 68402e56-0260-453c-a942-63ccdbb3a9ee