aboutsummaryrefslogtreecommitdiffstats
path: root/include (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-03-05Create navigation_bar.tpl file.patdenice3-148/+70
Move create_navigation_bar function from functions_html.inc.php to functions.inc.php. git-svn-id: http://piwigo.org/svn/trunk@3172 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-04Remove get_html_menu_category function and use smarty abilities.patdenice3-100/+25
git-svn-id: http://piwigo.org/svn/trunk@3171 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-03User's template extension must not be included in admin pages.patdenice1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@3169 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-03- improvement: show the number of images in the chronology upper navigation ↵rvelices2-35/+22
bar on mouseover (title element); git-svn-id: http://piwigo.org/svn/trunk@3168 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-03small code refactor - group together some code that should be together rvelices1-6/+1
git-svn-id: http://piwigo.org/svn/trunk@3167 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-02-26merge r3165 from branch 2.0 to trunkplegall1-2/+10
bug 913 fixed: ability to connect with an IPv6 address was added. git-svn-id: http://piwigo.org/svn/trunk@3166 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-02-14Last (I hope) paranoic optims ...rvelices5-104/+34
- 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/trunk@3145 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-02-13- moved check upgrade feed code to admin/include/functions_upgrade.phprvelices5-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
2009-02-12merge r3132 from branch 2.0 to trunkplegall2-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
2009-02-05- fix issue on my previous commitrvelices1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@3128 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-02-05- embellish_url compacts now ..rvelices5-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
2009-02-05- removed triggers loc_index_thumbnail and loc_index_category_thumbnailrvelices2-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
2009-02-04- removed second parameter $type from function format_datervelices2-10/+6
git-svn-id: http://piwigo.org/svn/trunk@3122 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-02-04optimizations (php only)rvelices3-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
2009-01-31- fix use $page['nb_image_page'] instead of $user... when creating the nav ↵rvelices1-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
2009-01-22- fix hard coded urls in section_initrvelices1-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
2009-01-17Title harmonization in the scope of Piwigo website integration.vdigital2-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
2009-01-08merge r3064 from branch 2.0 to trunkplegall1-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
2009-01-04Administration: happy new year 2009, all PHP headers updated. plegall50-51/+51
git-svn-id: http://piwigo.org/svn/trunk@3049 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-01-03- $conf['meta_ref'] is a new configuration parameter (Default true)vdigital2-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
2009-01-03improve task:0000902:nikrou1-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
2009-01-02task:0000902: button to remove all favoritesnikrou1-8/+40
git-svn-id: http://piwigo.org/svn/trunk@3037 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-12-28- ini_set usage is sometimes prohibited.vdigital1-2/+2
merge -c3023 from branch 2.0 to trunk git-svn-id: http://piwigo.org/svn/trunk@3024 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-12-19Upgrade Smarty to 2.6.22patdenice5-7/+12
git-svn-id: http://piwigo.org/svn/trunk@3000 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-12-16Border removal in mails on thumbnails (2). Need further tests.vdigital1-1/+1
merge -c2994 from branch 2.0 to trunk git-svn-id: http://piwigo.org/svn/trunk@2995 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-12-09Update Smarty to 2.6.21patdenice6-31/+56
git-svn-id: http://piwigo.org/svn/trunk@2961 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-12-06- Add a "Bound Template" column for template extensions.patdenice1-0/+3
git-svn-id: http://piwigo.org/svn/trunk@2923 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-12-03merge r2921 from branch 2.0 to trunkplegall1-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
2008-12-03merge r2918 from branch 2.0 to trunkplegall1-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
2008-12-03merge r2722 from branch 2.0 to trunkplegall1-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
2008-12-02merge r2916 from branch 2.0 to trunkplegall2-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
2008-11-23- Add home and identification buttons after installation.patdenice1-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
2008-11-22- Bug fixed: username or password with accented character are now accepted ↵patdenice1-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
2008-11-19- Replace some mysql_query by pwg_query function.patdenice2-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
2008-11-10Add a new config value 'show_php_error' to allow debugging of RC to be easier.grum2-0/+12
See topic #99192 on the forum. git-svn-id: http://piwigo.org/svn/trunk@2859 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-09Resolved issue 0000900: format_date function doesn't work when time is ↵rub2-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
2008-11-09merge -c2850 from branch 2.0 to trunkgrum1-2/+2
The exact copy of commit log in 2850. git-svn-id: http://piwigo.org/svn/trunk@2853 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-08merge -c2848 from branch 2.0 to trunkplegall1-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
2008-11-07merge -c2840 from branch 2.0 to trunkvdigital1-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
2008-11-04merge -c2823 from branch 2.0 to trunkrvelices3-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
2008-10-27use of a boolean value for the "qsearch" $block->data variablegrum1-1/+1
(see topic #98370) git-svn-id: http://piwigo.org/svn/trunk@2813 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-26menu item "quicksearch" will be displayed only if a $block->data is set (likegrum1-0/+4
other menu items) git-svn-id: http://piwigo.org/svn/trunk@2810 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-24Merging revision 2802vdigital1-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
2008-10-22merge r2789 from branch 2.0:rvelices3-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
2008-10-20merge -c2785 from branch 2.0 to trunkplegall1-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
2008-10-19Merging revisions 2773-2776vdigital1-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
2008-10-18merge rev 2771,2772 from branch 2.0rvelices3-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
2008-10-18- merge rev 2765,2769 from branch 2.0rvelices3-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
2008-10-16merge 2755 and 2756 from branch 2.0 to trunkrvelices4-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
2008-10-15- change mysql_escape_string function (deprecated) by mysql_real_escape_string.patdenice1-2/+2
- Correction on install.tpl (link color). git-svn-id: http://piwigo.org/svn/trunk@2752 68402e56-0260-453c-a942-63ccdbb3a9ee