aboutsummaryrefslogtreecommitdiffstats
path: root/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
* - moved check upgrade feed code to admin/include/functions_upgrade.phprvelices2009-02-135-149/+68
| | | | | | | - refactored some code (shorter and somehow faster - but nothing revolutionary) - decrease lost space in permalinks.tpl and hard coded column width (was illisible) git-svn-id: http://piwigo.org/svn/trunk@3136 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r3132 from branch 2.0 to trunkplegall2009-02-122-8/+7
| | | | | | | | | | | | | | | modification: phpwebgallery.net moves to piwigo.org modification: doc/README_*.txt much simpler with link to piwigo.org for installation and upgrade guides. modification: latest_version has changed its path on the website to download directory. deletion: doc/ChangeLog was useless and outdated. git-svn-id: http://piwigo.org/svn/trunk@3133 68402e56-0260-453c-a942-63ccdbb3a9ee
* - fix issue on my previous commitrvelices2009-02-051-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@3128 68402e56-0260-453c-a942-63ccdbb3a9ee
* - embellish_url compacts now ..rvelices2009-02-055-57/+49
| | | | | | | - some trigger improvements (render_category_description) - improved perf of duplicate_xxx_url ( rewrote func params_for_duplication and remove some vars from $page ) git-svn-id: http://piwigo.org/svn/trunk@3126 68402e56-0260-453c-a942-63ccdbb3a9ee
* - removed triggers loc_index_thumbnail and loc_index_category_thumbnailrvelices2009-02-052-18/+15
| | | | | | - changed triggers loc_end_index_thumbnails and loc_end_index_category_thumbnails from actions to events git-svn-id: http://piwigo.org/svn/trunk@3124 68402e56-0260-453c-a942-63ccdbb3a9ee
* - removed second parameter $type from function format_datervelices2009-02-042-10/+6
| | | | git-svn-id: http://piwigo.org/svn/trunk@3122 68402e56-0260-453c-a942-63ccdbb3a9ee
* optimizations (php only)rvelices2009-02-043-27/+29
| | | | | | | | | - removed unnecessary call to array_unique in get_image_ids_for_tags - put back in smarty exec time counting (debug mode) for each included template - prefix some smarty modifiers with @ in some templates - do not call format_date (still very slow due to mktime and date even after prev commit) from category_default.inc.php - if used in templates format_date can be used as a smarty modifier git-svn-id: http://piwigo.org/svn/trunk@3120 68402e56-0260-453c-a942-63ccdbb3a9ee
* - fix use $page['nb_image_page'] instead of $user... when creating the nav ↵rvelices2009-01-311-37/+17
| | | | | | | | bar (same as category_default) - rewrote function format_date without regular expressions (faster); parameter date type is not used anymore (but I left it there for now) git-svn-id: http://piwigo.org/svn/trunk@3117 68402e56-0260-453c-a942-63ccdbb3a9ee
* - fix hard coded urls in section_initrvelices2009-01-221-7/+5
| | | | | | - moved a language string language from php to tpl git-svn-id: http://piwigo.org/svn/trunk@3108 68402e56-0260-453c-a942-63ccdbb3a9ee
* Title harmonization in the scope of Piwigo website integration.vdigital2009-01-172-0/+8
| | | | | | | | | | | | | | $conf['reverse_home_title'] is false by default. On reverse_home_title = true, only index page will reverse its title. Compare to prior releases all titles are reversed. - Croatian flag merge -c3091 from branch 2.0 to trunk git-svn-id: http://piwigo.org/svn/trunk@3095 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r3064 from branch 2.0 to trunkplegall2009-01-081-2/+2
| | | | | | | | bug 912 fixed: we need an extra original_sum to pwg.images.add API method to check photo existence. Using the file_sum was a bad idea. git-svn-id: http://piwigo.org/svn/trunk@3065 68402e56-0260-453c-a942-63ccdbb3a9ee
* Administration: happy new year 2009, all PHP headers updated. plegall2009-01-0450-51/+51
| | | | git-svn-id: http://piwigo.org/svn/trunk@3049 68402e56-0260-453c-a942-63ccdbb3a9ee
* - $conf['meta_ref'] is a new configuration parameter (Default true)vdigital2009-01-032-0/+14
| | | | | | | | | | | | | | Meta tags for description, author, and keywords are generated, except if meta robots "noindex" is forced (with some pages like search, recent cats, etc.). In addition, $conf['meta_ref'] = false is forcing "noindex, nofollow". merge -c3040 from branch 2.0 to trunk git-svn-id: http://piwigo.org/svn/trunk@3041 68402e56-0260-453c-a942-63ccdbb3a9ee
* improve task:0000902:nikrou2009-01-031-1/+3
| | | | | | | - add image del_all_favorites.png - make a redirect after delete git-svn-id: http://piwigo.org/svn/trunk@3039 68402e56-0260-453c-a942-63ccdbb3a9ee
* task:0000902: button to remove all favoritesnikrou2009-01-021-8/+40
| | | | git-svn-id: http://piwigo.org/svn/trunk@3037 68402e56-0260-453c-a942-63ccdbb3a9ee
* - ini_set usage is sometimes prohibited.vdigital2008-12-281-2/+2
| | | | | | merge -c3023 from branch 2.0 to trunk git-svn-id: http://piwigo.org/svn/trunk@3024 68402e56-0260-453c-a942-63ccdbb3a9ee
* Upgrade Smarty to 2.6.22patdenice2008-12-195-7/+12
| | | | git-svn-id: http://piwigo.org/svn/trunk@3000 68402e56-0260-453c-a942-63ccdbb3a9ee
* Border removal in mails on thumbnails (2). Need further tests.vdigital2008-12-161-1/+1
| | | | | | | merge -c2994 from branch 2.0 to trunk git-svn-id: http://piwigo.org/svn/trunk@2995 68402e56-0260-453c-a942-63ccdbb3a9ee
* Update Smarty to 2.6.21patdenice2008-12-096-31/+56
| | | | git-svn-id: http://piwigo.org/svn/trunk@2961 68402e56-0260-453c-a942-63ccdbb3a9ee
* - Add a "Bound Template" column for template extensions.patdenice2008-12-061-0/+3
| | | | git-svn-id: http://piwigo.org/svn/trunk@2923 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r2921 from branch 2.0 to trunkplegall2008-12-031-0/+5
| | | | | | | | bug 907 fixed: avoid PHP warning when pwg.images.add adds a photo in a category that either contains no "ranked" image or when category is empty. git-svn-id: http://piwigo.org/svn/trunk@2922 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r2918 from branch 2.0 to trunkplegall2008-12-031-1/+1
| | | | | | | | bug 905 fixed: avoid PHP notice when rank is implicit in the categories parameter of the pwg.images.add web API method. git-svn-id: http://piwigo.org/svn/trunk@2920 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r2722 from branch 2.0 to trunkplegall2008-12-031-81/+178
| | | | | | | | | feature 892 added: pwg.images.setInfo added so that once we have discovered the photo was already in the database (thanks to pwg.images.exist), we can only set the photo metadata. git-svn-id: http://piwigo.org/svn/trunk@2919 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r2916 from branch 2.0 to trunkplegall2008-12-022-0/+20
| | | | | | | | bug 904 fixed: an index.htm is created in directories created by pwg.images.add web API method, only directories that contains pictures. git-svn-id: http://piwigo.org/svn/trunk@2917 68402e56-0260-453c-a942-63ccdbb3a9ee
* - Add home and identification buttons after installation.patdenice2008-11-231-8/+1
| | | | | | | | - Use fetchRemote function for remote site actions. - Corrections in fetchRemote fnction. - Move PLUGIN_PICTURE_BEFORE in picture.tpl. git-svn-id: http://piwigo.org/svn/trunk@2902 68402e56-0260-453c-a942-63ccdbb3a9ee
* - Bug fixed: username or password with accented character are now accepted ↵patdenice2008-11-221-12/+1
| | | | | | | | | for upgrade. - Simplify query in pwg_session_write function. - Retrieve data with cURL method in fetchRemote function now work with forwarded URL. git-svn-id: http://piwigo.org/svn/trunk@2900 68402e56-0260-453c-a942-63ccdbb3a9ee
* - Replace some mysql_query by pwg_query function.patdenice2008-11-192-1/+2
| | | | | | | | | - Add home button after upgrade.php. - Add utf8 charset for access denied message. - Replace some #content by .content in css files. - Fix menubar blocks borders with IE. git-svn-id: http://piwigo.org/svn/trunk@2884 68402e56-0260-453c-a942-63ccdbb3a9ee
* Add a new config value 'show_php_error' to allow debugging of RC to be easier.grum2008-11-102-0/+12
| | | | | | See topic #99192 on the forum. git-svn-id: http://piwigo.org/svn/trunk@2859 68402e56-0260-453c-a942-63ccdbb3a9ee
* Resolved issue 0000900: format_date function doesn't work when time is ↵rub2008-11-092-2/+10
| | | | | | | | omitted with 'mysql_datetime' type Continue correction of grum git-svn-id: http://piwigo.org/svn/trunk@2856 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge -c2850 from branch 2.0 to trunkgrum2008-11-091-2/+2
| | | | | | The exact copy of commit log in 2850. git-svn-id: http://piwigo.org/svn/trunk@2853 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge -c2848 from branch 2.0 to trunkplegall2008-11-081-1/+1
| | | | | | | | bug fixed: in r2774 a bug was introduced, piwigo.org is not available yet, and plugin manager can't connect to the extension manager. git-svn-id: http://piwigo.org/svn/trunk@2849 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge -c2840 from branch 2.0 to trunkvdigital2008-11-071-0/+17
| | | | | | | | New: Extend of available fields within a category page for a template-extension simple usage. Refer to topic: "Smoothgallery plugin" where no plugin is requested to do it. Minor: Some format in Sylvia theme git-svn-id: http://piwigo.org/svn/trunk@2841 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge -c2823 from branch 2.0 to trunkrvelices2008-11-043-30/+5
| | | | | | | | - removed some unused constants from constants.php - removed some unused css rules - removed unused code git-svn-id: http://piwigo.org/svn/trunk@2824 68402e56-0260-453c-a942-63ccdbb3a9ee
* use of a boolean value for the "qsearch" $block->data variablegrum2008-10-271-1/+1
| | | | | | (see topic #98370) git-svn-id: http://piwigo.org/svn/trunk@2813 68402e56-0260-453c-a942-63ccdbb3a9ee
* menu item "quicksearch" will be displayed only if a $block->data is set (likegrum2008-10-261-0/+4
| | | | | | | other menu items) git-svn-id: http://piwigo.org/svn/trunk@2810 68402e56-0260-453c-a942-63ccdbb3a9ee
* Merging revision 2802vdigital2008-10-241-1/+1
| | | | | | | | | | | | Advices [19] $conf['subcatify'] replaced by $conf['tags_default_display_mode'] Translation is needed for German, Spanish, Italian... Please reorder after translation. git-svn-id: http://piwigo.org/svn/trunk@2803 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r2789 from branch 2.0:rvelices2008-10-223-16/+24
| | | | | | | | - some german language changes - added option for smarty $conf['template_compile_check'] - default true; if false smarty doesn't check if templates need recompilation resulting in less disk accesses (good when the disk is not local) - load_language doesnt check first for en_uk.utf-8 directory ... git-svn-id: http://piwigo.org/svn/trunk@2790 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge -c2785 from branch 2.0 to trunkplegall2008-10-201-6/+57
| | | | | | | | bug 897 fixed: controls added in pwg.images.add to have clear error messages if permission is denied or any error occur during file write. git-svn-id: http://piwigo.org/svn/trunk@2786 68402e56-0260-453c-a942-63ccdbb3a9ee
* Merging revisions 2773-2776vdigital2008-10-191-2/+2
| | | | | | | | | - Default template and Piwigo domain ... - No metadata synchronization icon on a remote picture (Synchro failure) - Jump to category icon is removed on user forbidden categories (previously check_restrictions was leading administrators to the access denied page). git-svn-id: http://piwigo.org/svn/trunk@2777 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge rev 2771,2772 from branch 2.0rvelices2008-10-183-31/+25
| | | | | | | - 2771 event tracer improvement: option to show all registered event handlers for every page - 2772 php optims (small): remove/replace preg_xxx with faster simple string functions git-svn-id: http://piwigo.org/svn/trunk@2773 68402e56-0260-453c-a942-63ccdbb3a9ee
* - merge rev 2765,2769 from branch 2.0rvelices2008-10-183-58/+18
| | | | | | | | * 2765 mysql potential injection paranoia + code compaction in common.inc.php * 2769 added an image sort order by privacy level (admins only) * 2769 fix an IE6 display issue with quick search on index page git-svn-id: http://piwigo.org/svn/trunk@2770 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge 2755 and 2756 from branch 2.0 to trunkrvelices2008-10-164-26/+38
| | | | | | | | - 2755 fix vulnerability http://www.milw0rm.com/exploits/6755 - 2756 security paranoia: protect session/remember me cookies from XSS attacks (works only if php>=5.2 and with IE/FF maybe others) git-svn-id: http://piwigo.org/svn/trunk@2757 68402e56-0260-453c-a942-63ccdbb3a9ee
* - change mysql_escape_string function (deprecated) by mysql_real_escape_string.patdenice2008-10-151-2/+2
| | | | | | - Correction on install.tpl (link color). git-svn-id: http://piwigo.org/svn/trunk@2752 68402e56-0260-453c-a942-63ccdbb3a9ee
* - Install process now looks like goto/roma.patdenice2008-10-151-1/+2
| | | | | | | | - Move install.tpl to goto template. - add charset utf8 to fatal error function. - Check php version on install and upgrade, and die if < 5. git-svn-id: http://piwigo.org/svn/trunk@2747 68402e56-0260-453c-a942-63ccdbb3a9ee
* version management: trunk codename changes to Colibri, see topic:13884.plegall2008-10-121-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@2725 68402e56-0260-453c-a942-63ccdbb3a9ee
* - Remove known_template function.patdenice2008-10-111-34/+12
| | | | | | - Replace it by a modifier function: get_extent. git-svn-id: http://piwigo.org/svn/trunk@2716 68402e56-0260-453c-a942-63ccdbb3a9ee
* - Add known_template function (maybe we can change function name).patdenice2008-10-111-0/+29
| | | | | | - Template extensions are working with menubar blocks templates. git-svn-id: http://piwigo.org/svn/trunk@2712 68402e56-0260-453c-a942-63ccdbb3a9ee
* - replace a preg_match with simple comparison (faster)rvelices2008-10-102-10/+3
| | | | | | | - try to get rid of some JS strict warnings in FF (hope it's fixed) - template.class.php is included from functions.inc.php instead of common,upgrade,install (maybe later I will try to see the perf impact of compacting/compiling functions.inc.php together with the included files from itself) git-svn-id: http://piwigo.org/svn/trunk@2700 68402e56-0260-453c-a942-63ccdbb3a9ee
* - removed unused var from templatervelices2008-10-091-5/+2
| | | | | | | - removed 2 unused rules from public content.css - index.php improvement (as in picture) - the log is done after sending first output to client git-svn-id: http://piwigo.org/svn/trunk@2699 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 889 added: pwg.images.exist check the existence of a photo in theplegall2008-10-071-0/+39
| | | | | | | database based on its md5sum. (avoid failing on pwg.images.add). git-svn-id: http://piwigo.org/svn/trunk@2683 68402e56-0260-453c-a942-63ccdbb3a9ee