aboutsummaryrefslogtreecommitdiffstats
path: root/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
* merge r3169 from trunk to branch 2.0patdenice2009-03-031-1/+1
| | | | | | | User's template extension must not be included in admin pages. git-svn-id: http://piwigo.org/svn/branches/2.0@3170 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 913 fixed: ability to connect with an IPv6 address was added.plegall2009-02-261-2/+10
| | | | git-svn-id: http://piwigo.org/svn/branches/2.0@3165 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge 3145-3146 from trunkrvelices2009-02-145-102/+32
| | | | | | | | | | Last (I hope) paranoic optims ... - move get_uysername and get_groupname from public to admin/functions.inc.php - optim in index.php - tags.tpl does not need smarty modifier included - move func get_comment_post_key from functions_comment to functions (avoid extra inclusion every time on picture page) git-svn-id: http://piwigo.org/svn/branches/2.0@3147 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r3136 from trunkrvelices2009-02-135-149/+68
| | | | | | | | - moved check upgrade feed code to admin/include/functions_upgrade.php - 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/branches/2.0@3137 68402e56-0260-453c-a942-63ccdbb3a9ee
* modification: phpwebgallery.net moves to piwigo.orgplegall2009-02-122-8/+7
| | | | | | | | | | | | | 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/branches/2.0@3132 68402e56-0260-453c-a942-63ccdbb3a9ee
* - fix issue on my previous commitrvelices2009-02-051-1/+1
| | | | git-svn-id: http://piwigo.org/svn/branches/2.0@3129 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r 3126 from trunkrvelices2009-02-055-56/+48
| | | | | | | | - embellish_url compacts now .. - 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/branches/2.0@3127 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r3124 from trunkrvelices2009-02-052-18/+15
| | | | | | | - removed triggers loc_index_thumbnail and loc_index_category_thumbnail - changed triggers loc_end_index_thumbnails and loc_end_index_category_thumbnails from actions to events git-svn-id: http://piwigo.org/svn/branches/2.0@3125 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r3122 from trunkrvelices2009-02-042-10/+6
| | | | | | - removed second parameter $type from function format_date git-svn-id: http://piwigo.org/svn/branches/2.0@3123 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge 3120 from trunkrvelices2009-02-043-27/+29
| | | | | | | | | | optimizations (php only) - 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/branches/2.0@3121 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r3117 from trunk:rvelices2009-01-311-37/+17
| | | | | | | - fix use $page['nb_image_page'] instead of $user... when creating the nav 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/branches/2.0@3118 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. git-svn-id: http://piwigo.org/svn/branches/2.0@3090 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 912 fixed: we need an extra original_sum to pwg.images.add API method toplegall2009-01-081-2/+2
| | | | | | | check photo existence. Using the file_sum was a bad idea. git-svn-id: http://piwigo.org/svn/branches/2.0@3064 68402e56-0260-453c-a942-63ccdbb3a9ee
* Administration: happy new year 2009, all PHP headers updated.plegall2009-01-0450-50/+50
| | | | git-svn-id: http://piwigo.org/svn/branches/2.0@3046 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". git-svn-id: http://piwigo.org/svn/branches/2.0@3040 68402e56-0260-453c-a942-63ccdbb3a9ee
* - ini_set usage is sometimes prohibited.vdigital2008-12-281-2/+2
| | | | git-svn-id: http://piwigo.org/svn/branches/2.0@3023 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge -c3000 from trunk to branch 2.0.patdenice2008-12-195-7/+12
| | | | | | Upgrade Smarty to 2.6.22 git-svn-id: http://piwigo.org/svn/branches/2.0@3001 68402e56-0260-453c-a942-63ccdbb3a9ee
* Border removal in mails on thumbnails (2). Need further tests.vdigital2008-12-161-1/+1
| | | | git-svn-id: http://piwigo.org/svn/branches/2.0@2994 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge -c2961 from trunk to branch 2.0.patdenice2008-12-096-31/+56
| | | | | | Update Smarty to 2.6.21 git-svn-id: http://piwigo.org/svn/branches/2.0@2962 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge -c2923 from trunk to branch 2.0.patdenice2008-12-061-0/+3
| | | | | | | - Add a "Bound Template" column for template extensions. git-svn-id: http://piwigo.org/svn/branches/2.0@2924 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 907 fixed: avoid PHP warning when pwg.images.add adds a photo in aplegall2008-12-031-0/+5
| | | | | | | category that either contains no "ranked" image or when category is empty. git-svn-id: http://piwigo.org/svn/branches/2.0@2921 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 905 fixed: avoid PHP notice when rank is implicit in the categoriesplegall2008-12-021-1/+1
| | | | | | | parameter of the pwg.images.add web API method. git-svn-id: http://piwigo.org/svn/branches/2.0@2918 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 904 fixed: an index.htm is created in directories created byplegall2008-12-022-0/+20
| | | | | | | pwg.images.add web API method, only directories that contains pictures. git-svn-id: http://piwigo.org/svn/branches/2.0@2916 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge -c2902 from trunk to branch 2.0.patdenice2008-11-231-8/+1
| | | | | | | | | - Add home and identification buttons after installation. - 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/branches/2.0@2903 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge -c2900 from trunk to branch 2.0.patdenice2008-11-221-12/+1
| | | | | | | | - Bug fixed: username or password with accented character are now accepted 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/branches/2.0@2901 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge -c2884 from trunk to branch 2.0.patdenice2008-11-192-1/+2
| | | | | | | | | | - Replace some mysql_query by pwg_query function. - 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/branches/2.0@2885 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/branches/2.0@2858 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 merge -c2856 from trunk to branch 2.0 The exact copy of commit log in 2856. git-svn-id: http://piwigo.org/svn/branches/2.0@2857 68402e56-0260-453c-a942-63ccdbb3a9ee
* Two fields in the database [image table] are in the 'yyyy-mm-dd' formatgrum2008-11-091-2/+2
| | | | | | | | | [date_metadata_update & date_creation] and for these fields the format_date function is called with a 'mysql_datetime' format value (so, the function is waiting for 'yyyy-mm-dd hh:mm:ss' date format) Made a call with the 'us' to resolve the problem git-svn-id: http://piwigo.org/svn/branches/2.0@2850 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug fixed: in r2774 a bug was introduced, piwigo.org is not available yet,plegall2008-11-081-1/+1
| | | | | | | and plugin manager can't connect to the extension manager. git-svn-id: http://piwigo.org/svn/branches/2.0@2848 68402e56-0260-453c-a942-63ccdbb3a9ee
* New: Extend of available fields within a category page for a ↵vdigital2008-11-071-0/+17
| | | | | | | | template-extension simple usage. Refer to topic: "Smoothgallery plugin" where no plugin is requested to do it. git-svn-id: http://piwigo.org/svn/branches/2.0@2840 68402e56-0260-453c-a942-63ccdbb3a9ee
* - removed some unused constants from constants.phprvelices2008-11-043-30/+5
| | | | | | | - removed some unused css rules - removed unused code git-svn-id: http://piwigo.org/svn/branches/2.0@2823 68402e56-0260-453c-a942-63ccdbb3a9ee
* menu item "quicksearch" will be displayed only if a $block->data is set (likegrum2008-10-281-0/+4
| | | | | | | | other menu items) use of a boolean value for the "qsearch" $block->data variable (see topic #98370) git-svn-id: http://piwigo.org/svn/branches/2.0@2814 68402e56-0260-453c-a942-63ccdbb3a9ee
* Advices [19] $conf['subcatify'] replaced by $conf['tags_default_display_mode']vdigital2008-10-241-1/+1
| | | | | | | | | Translation is needed for German, Spanish, Italian... Please reorder after translation. git-svn-id: http://piwigo.org/svn/branches/2.0@2802 68402e56-0260-453c-a942-63ccdbb3a9ee
* - some german language changesrvelices2008-10-223-16/+24
| | | | | | | - 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/branches/2.0@2789 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 897 fixed: controls added in pwg.images.add to have clear error messagesplegall2008-10-201-6/+57
| | | | | | | if permission is denied or any error occur during file write. git-svn-id: http://piwigo.org/svn/branches/2.0@2785 68402e56-0260-453c-a942-63ccdbb3a9ee
* Delfault template and Piwigo domain ...vdigital2008-10-191-2/+2
| | | | git-svn-id: http://piwigo.org/svn/branches/2.0@2774 68402e56-0260-453c-a942-63ccdbb3a9ee
* - php optims (small): remove/replace preg_xxx with faster simple string ↵rvelices2008-10-183-31/+25
| | | | | | functions ... git-svn-id: http://piwigo.org/svn/branches/2.0@2772 68402e56-0260-453c-a942-63ccdbb3a9ee
* - added an image sort order by privacy level (admins only)rvelices2008-10-181-2/+3
| | | | | | - fix an IE6 display issue with quick search on index page git-svn-id: http://piwigo.org/svn/branches/2.0@2769 68402e56-0260-453c-a942-63ccdbb3a9ee
* - mysql potential injection paranoia + code compaction in common.inc.phprvelices2008-10-172-56/+15
| | | | git-svn-id: http://piwigo.org/svn/branches/2.0@2765 68402e56-0260-453c-a942-63ccdbb3a9ee
* - security paranoia: protect session/remember me cookies from XSS attacks ↵rvelices2008-10-164-28/+40
| | | | | | (works only if php>=5.2 and with IE/FF maybe others) git-svn-id: http://piwigo.org/svn/branches/2.0@2756 68402e56-0260-453c-a942-63ccdbb3a9ee
* Merge from trunk 2752:patdenice2008-10-151-2/+2
| | | | | | | - change mysql_escape_string function (deprecated) by mysql_real_escape_string. - Correction on install.tpl (link color). git-svn-id: http://piwigo.org/svn/branches/2.0@2753 68402e56-0260-453c-a942-63ccdbb3a9ee
* Merge from trunk 2747:patdenice2008-10-151-1/+2
| | | | | | | | | | - Install process now looks like goto/roma. - 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/branches/2.0@2748 68402e56-0260-453c-a942-63ccdbb3a9ee
* version management: the Piwigo version changes to 2.0 instead of Butterflyplegall2008-10-121-1/+1
| | | | | | | which was its codename on trunk. git-svn-id: http://piwigo.org/svn/branches/2.0@2724 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 892 added: pwg.images.setInfo added so that once we have discoveredplegall2008-10-111-81/+178
| | | | | | | | 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/branches/2.0@2722 68402e56-0260-453c-a942-63ccdbb3a9ee
* Merge from trunk 2716:patdenice2008-10-111-34/+12
| | | | | | | - Remove known_template function. - Replace it by a modifier function: get_extent. git-svn-id: http://piwigo.org/svn/branches/2.0@2717 68402e56-0260-453c-a942-63ccdbb3a9ee
* Merge from trunk 2712:patdenice2008-10-111-0/+29
| | | | | | | - Add known_template function (maybe we can change function name). - Template extensions are working with menubar blocks templates. git-svn-id: http://piwigo.org/svn/branches/2.0@2713 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