aboutsummaryrefslogtreecommitdiffstats
path: root/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
* request 290: replace function get_themes name to avoid redeclaration fromplegall2006-02-201-8/+6
| | | | | | | Wordpress in jillij template. git-svn-id: http://piwigo.org/svn/trunk@1048 68402e56-0260-453c-a942-63ccdbb3a9ee
* calendar redesign: step 1rvelices2006-02-203-6/+457
| | | | git-svn-id: http://piwigo.org/svn/trunk@1047 68402e56-0260-453c-a942-63ccdbb3a9ee
* fix: remote site decodes html entities from xml and addslashesrvelices2006-02-171-1/+6
| | | | | | | | | fix: picture displays "image rank/total" images even for non numeric categories fix: category comment not transformed with nl2br if allow_html_descriptions and comment already looks like html git-svn-id: http://piwigo.org/svn/trunk@1046 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 264: gallery_url, rate and rate_anonymous from config file to databaservelices2006-02-161-10/+0
| | | | git-svn-id: http://piwigo.org/svn/trunk@1044 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 288: manage rates for administratorsrvelices2006-02-151-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@1042 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 251: Rating For Anonymous usersrvelices2006-02-142-1/+5
| | | | | | | | | | | | | fix: page['items'] for favorites category and remove old use of $has_next, $has_prev in picture.php (slideshow and favorites section) optimization: one less sql query in picture.php when there are no comments display of the refresh url in redirect.tpl (useful when debugging with browser meta redirects disabled) git-svn-id: http://piwigo.org/svn/trunk@1041 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge -r1038:1039 from branches/branch-1_5 into trunk (bug 269 fixed)plegall2006-02-131-6/+28
| | | | | | | | improvement: use a cache on get_icon function since it's often used with the same argument on a page generation. git-svn-id: http://piwigo.org/svn/trunk@1040 68402e56-0260-453c-a942-63ccdbb3a9ee
* improvement: $page['where'] string replaced by $page['items'].plegall2006-02-127-424/+470
| | | | | | | | | | | | | | | | | | | | | | | $page['where'] was an SQL clause used to retrieve pictures in #images table. $page['items'] is the list of picture ids of the current section. improvement: function initialize_category replaced by dedicated included PHP script include/section_init.inc.php. Code was refactored to improve readibility and maintenability. $page['navigation_bar'] is now build in category.php instead of initialize_category function. Function check_cat_id was also replaced by a piece of code in the new file. The file to include to display thumbnails from category.php is now set in section_init.inc.php instead of calculated in category.php. bug fix: the test for rel="up" link for standard HTML navigation links in category menu was not working with non numeric categories, such as "favorites". improvement: function check_login_authorization removed because useless but in profile.php. git-svn-id: http://piwigo.org/svn/trunk@1036 68402e56-0260-453c-a942-63ccdbb3a9ee
* not include .svn directory in the candidates (get_dirs function) for new themesnikrou2006-02-121-1/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@1035 68402e56-0260-453c-a942-63ccdbb3a9ee
* The session garbage collector should not be called when a session is closednikrou2006-02-121-1/+0
| | | | git-svn-id: http://piwigo.org/svn/trunk@1034 68402e56-0260-453c-a942-63ccdbb3a9ee
* remake Remote Site/Synchro - bug on commentable + use l10n instead of get_langrvelices2006-02-111-17/+5
| | | | git-svn-id: http://piwigo.org/svn/trunk@1033 68402e56-0260-453c-a942-63ccdbb3a9ee
* small modification: we can now store any information in sessionsnikrou2006-02-111-1/+2
| | | | | | (cf topic:5667) git-svn-id: http://piwigo.org/svn/trunk@1032 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 77: standard navigation link - finalizedrvelices2006-02-102-33/+43
| | | | | | | | | 3 small fixes: simplified code (unnecessary $page['tab_expand']), urls in comments (at end of line nl2br issue+regex+html 4 validated) and $page['where'] correction for most_visited git-svn-id: http://piwigo.org/svn/trunk@1031 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge branch 1.5 into trunk r1001:1002: bug 259 fixednikrou2006-02-091-7/+11
| | | | git-svn-id: http://piwigo.org/svn/trunk@1030 68402e56-0260-453c-a942-63ccdbb3a9ee
* - remake of Remote sites and Synchronize: rvelices2006-02-084-6/+40
| | | | | | | | | | | | | | | - synchronization for remote and local sites are done by the same code - remote sites can update metadata now (not before) - bug 279 - fixes bug 82: has_high column - improve feature 280: user sort by filename - fix path to template mimetypes icons - bug 284: session cookie lifetime, deletion on logout and corrected issue when db upgrades were missing git-svn-id: http://piwigo.org/svn/trunk@1029 68402e56-0260-453c-a942-63ccdbb3a9ee
* [NBM] Step 2: Add new table user_mail_notification (update, install, ↵rub2006-02-061-1/+3
| | | | | | | | constants, delete user + Correction delete user (table user_feed missing, table sessions must be removed) git-svn-id: http://piwigo.org/svn/trunk@1028 68402e56-0260-453c-a942-63ccdbb3a9ee
* improvement: upgrades id retrieving in include/common.inc.php andplegall2006-02-062-19/+30
| | | | | | | | | | | | upgrade_feed.php are now made by dedicated function get_available_upgrade_ids. bug fixed: after an installation, you had to play all available upgrades, which was wrong. install.php inserts informations related to all available upgrades at installation time. Thus avoiding automatic upgrades. git-svn-id: http://piwigo.org/svn/trunk@1027 68402e56-0260-453c-a942-63ccdbb3a9ee
* html error: title_send_mail should be encoded nikrou2006-02-041-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@1024 68402e56-0260-453c-a942-63ccdbb3a9ee
* fixed problem of cookie session pathnikrou2006-02-032-5/+6
| | | | | | | fixed problem of undefined variable conf in upgrade_feed.php fixed problem of undefined index is_the_guest of tab variable user git-svn-id: http://piwigo.org/svn/trunk@1023 68402e56-0260-453c-a942-63ccdbb3a9ee
* - feature 280: code simplificationrvelices2006-02-011-9/+4
| | | | git-svn-id: http://piwigo.org/svn/trunk@1022 68402e56-0260-453c-a942-63ccdbb3a9ee
* Applying coding style guidelines to r1018 and r1019.plegall2006-02-015-328/+367
| | | | | | | | | | | | | | | | New function get_webmaster_mail_address used in include/page_tail.php and include/functions_mail.inc.php. Nothing else than functions in include/functions*, init_conf_mail() was useless in include/functions_mail.inc.php because $conf_mail is only used in function pwg_mail. bug fixed: files include/functions_mail.inc.php and include/functions_notification.inc.php had been commited in DOS format! Unix file format is the only file format authorized. git-svn-id: http://piwigo.org/svn/trunk@1021 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 280: Allow visitors/users to choose image ordering inside a categoryrvelices2006-02-012-0/+46
| | | | | | | | | | | improvement 82: Viewing pictures from remote galleries does not check anymore for the high pictures (existence flag added to create_listing_file and db) correction: link element in picture is in the head instead of body (w3c spec) correction: in profile.php the current template was not selected by default git-svn-id: http://piwigo.org/svn/trunk@1020 68402e56-0260-453c-a942-63ccdbb3a9ee
* [NBM] Step 1: Create new include files with current notification/mail ↵rub2006-01-312-0/+336
| | | | | | fonctions (with improvement) git-svn-id: http://piwigo.org/svn/trunk@1019 68402e56-0260-453c-a942-63ccdbb3a9ee
* [NBM] Step 1: Create new include files with current notification/mail ↵rub2006-01-311-1/+5
| | | | | | fonctions (with improvement) git-svn-id: http://piwigo.org/svn/trunk@1018 68402e56-0260-453c-a942-63ccdbb3a9ee
* Search engine redesign, second part :plegall2006-01-271-12/+20
| | | | | | | | | | | | | | | improvement: in category.php, an icon opening a popup display the list of search rules. modification: function get_search_array is responsible of search rules retrieving from database. This function is called from get_sql_search_clause and from search_rules.php modification: ability to search multiple authors. Warning: this version of search tool can't search author names including any blank space. git-svn-id: http://piwigo.org/svn/trunk@1015 68402e56-0260-453c-a942-63ccdbb3a9ee
* improvement: got rid of num= _GET param in category.php (use only start=) sorvelices2006-01-272-5/+19
| | | | | | | | | | | | | | | | | that links to category for search engines are the same as in category pagination feature 77: standard navigation link : HTML Link types improvement: add go to first and last image buttons in picture page improvement: do not increase image hit in picture.php when rating, adding to favorites, caddie, ... improvement: show number of hits in most_visited (as best_rated shows the rate) git-svn-id: http://piwigo.org/svn/trunk@1014 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug: new session system does not use db session handler during install.phprvelices2006-01-251-1/+31
| | | | | | | | bug: put back function generate_key (was also used by new password generation and new feed generation) git-svn-id: http://piwigo.org/svn/trunk@1013 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge branch 1.5 r1010:1011 into BSF:nikrou2006-01-212-5/+14
| | | | | | - bug 268 fixed: display debug content correctly git-svn-id: http://piwigo.org/svn/trunk@1012 68402e56-0260-453c-a942-63ccdbb3a9ee
* improve sessions: add comments to functionsnikrou2006-01-211-28/+60
| | | | git-svn-id: http://piwigo.org/svn/trunk@1010 68402e56-0260-453c-a942-63ccdbb3a9ee
* Search engine redesign, first part :plegall2006-01-203-148/+191
| | | | | | | | | | | | | | | | | | | | | - new table #search to store search rules associated to a search id. - search rules are not passed through GET anymore, the search array build in search.php is serialized in #search table, so no need to rebuild it in function include/functions_category.inc.php::category_initialize - search array build code is improved (efficiency and layout) in search.php - SQL related to search is build in a dedicated function include/functions::get_sql_search_clause - direct search author:<...>, date_avalaible:<...>, date_creation:<...>, keywords:<...> from picture.php are not available anymore. They will come back later, with improvement (new design). Same for date_*:<> in calendar calendar category. git-svn-id: http://piwigo.org/svn/trunk@1008 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug fix 261: improve security of sessions (next to svn:1004):nikrou2006-01-182-36/+65
| | | | | | | - improve presentation code style - add upgrade database file git-svn-id: http://piwigo.org/svn/trunk@1007 68402e56-0260-453c-a942-63ccdbb3a9ee
* Improve security of sessions: nikrou2006-01-1510-174/+109
| | | | | | | - use only cookies to store session id on client side - use default php session system with database handler to store sessions on server side git-svn-id: http://piwigo.org/svn/trunk@1004 68402e56-0260-453c-a942-63ccdbb3a9ee
* - merge -r974:975 from branch 1.5 (PHP warning bug fixed)plegall2005-12-091-0/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@976 68402e56-0260-453c-a942-63ccdbb3a9ee
* improve template : split theme from template itselfchrisaga2005-12-034-6/+40
| | | | | | | rest of the job : template (yoga), themes (clear dark), and php to handle them git-svn-id: http://piwigo.org/svn/trunk@960 68402e56-0260-453c-a942-63ccdbb3a9ee
* - new: system to notify and upgrade database among developersplegall2005-11-243-1/+50
| | | | git-svn-id: http://piwigo.org/svn/trunk@953 68402e56-0260-453c-a942-63ccdbb3a9ee
* - report bug 206 correction and some template improvement from branch 1.5chrisaga2005-11-192-4/+7
| | | | | | | - feature 195 : add an "Admin" link under "Home" in the menu bar of the admin page git-svn-id: http://piwigo.org/svn/trunk@948 68402e56-0260-453c-a942-63ccdbb3a9ee
* - merge -r939:940 from branch-1_5 (bug fixed in HTML for category menu tree)plegall2005-11-181-15/+8
| | | | git-svn-id: http://piwigo.org/svn/trunk@941 68402e56-0260-453c-a942-63ccdbb3a9ee
* - bug 211 fixed : incoherent default maximum width for thumbnail creationplegall2005-11-161-1/+1
| | | | | | | | and too vague label for maximum width & height in thumbnail creation screen. git-svn-id: http://piwigo.org/svn/trunk@937 68402e56-0260-453c-a942-63ccdbb3a9ee
* - bug 186 fixed: useless template theme icons deleted. Remaining icons inplegall2005-11-051-1/+1
| | | | | | | GIF converted to PNG. git-svn-id: http://piwigo.org/svn/trunk@922 68402e56-0260-453c-a942-63ccdbb3a9ee
* - bug 173 fixed: due to phpBB user identifiers management, the method toplegall2005-10-221-2/+10
| | | | | | | | | | | find the next user identifier has changer to MAX+1. - improvement: information message when new user added - bug fixed: language item "Username" used instead of "login". git-svn-id: http://piwigo.org/svn/trunk@906 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 176 fixed: need a javascript to handle transparent PNG background in IEchrisaga2005-10-201-0/+29
| | | | | | | | | | (tribute to Bob Osola http://homepage.ntlworld.com/bobosola/index.htm display: fixed another IE childselector bug in Categories Management admin page and improved display of this page in all browsers too. git-svn-id: http://piwigo.org/svn/trunk@905 68402e56-0260-453c-a942-63ccdbb3a9ee
* - bug 159 and 166 fixed: parameter "options" for mail() function disabled byplegall2005-10-181-2/+6
| | | | | | | default. git-svn-id: http://piwigo.org/svn/trunk@901 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 165 fixed : La largeur par d��faut en PIXELS pas en Kbchrisaga2005-10-181-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@900 68402e56-0260-453c-a942-63ccdbb3a9ee
* - bug 154 fixed: "Calendar category, too precise dates". Bug came from theplegall2005-10-171-1/+3
| | | | | | | | bigger precision of creation_date and available_date in images tables. Need to retrieve only the year-month-day information. git-svn-id: http://piwigo.org/svn/trunk@896 68402e56-0260-453c-a942-63ccdbb3a9ee
* * new: history details by month,dayvolcom2005-10-172-0/+14
| | | | git-svn-id: http://piwigo.org/svn/trunk@894 68402e56-0260-453c-a942-63ccdbb3a9ee
* - modification: configuration parameters gallery_title andplegall2005-10-071-6/+0
| | | | | | | | | | | | gallery_description are GUI managed in Administration>Configuration>General - bug fixed: configuration parameters (use|show)_(exif|iptc) and authorize_remembering should have been deleted from config table some time ago. git-svn-id: http://piwigo.org/svn/trunk@882 68402e56-0260-453c-a942-63ccdbb3a9ee
* - bug 160 fixed: (part one of the bug) hard coded column name of users tableplegall2005-10-051-0/+4
| | | | | | | | | | | | | | | | | | had to be replaced by the configurable column name. This correction was made by a full rewrite of filtered users list management. The other bug (not submited in bugtracker) that needed this rewrite was that when you choose "all" as target for mass users modification, you expected to apply modification on filtered users, not all users. - bug 160 fixed: (part two of the bug) hard coded column name for primary key in mass_updates function. - modification: configuration parameter users_page is now located in the correct file (include/config_default.inc.php instead of admin/user_list.php) git-svn-id: http://piwigo.org/svn/trunk@880 68402e56-0260-453c-a942-63ccdbb3a9ee
* - bug 168 fixed: crash when language file does not exists. Constantplegall2005-09-273-23/+37
| | | | | | | | PHPWG_DEFAULT_LANGUAGE added. New function get_language_filepath always used to find language files. git-svn-id: http://piwigo.org/svn/trunk@879 68402e56-0260-453c-a942-63ccdbb3a9ee
* - bug fixed: HTML error on nested UL in categories menu.plegall2005-09-252-10/+15
| | | | | | | | | | - bug 161 fixed: guest_id not taken into account for history table insert. - bug 164 fixed: category inserted in history table becomes too long if HTML tags are kept. git-svn-id: http://piwigo.org/svn/trunk@876 68402e56-0260-453c-a942-63ccdbb3a9ee
* - update: upgrade from 1.4.0 or 1.4.1. Upgrade from 1.3.x is not availableplegall2005-09-201-1/+1
| | | | | | | | | | | | | | anymore. - update: README files updated for very near branch 1.5 :-) - new: file tools/config_local.inc.php as example for optional include/config_local.inc.php - bug fixed: configuration parameter show_picture_name_on_title was useless git-svn-id: http://piwigo.org/svn/trunk@870 68402e56-0260-453c-a942-63ccdbb3a9ee