aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_html.inc.php (follow)
Commit message (Collapse)AuthorAgeFilesLines
* merge -r17748 from trunk to branch 2.4 bug 2735: fix/improve non latin ↵rvelices2012-09-041-1/+1
| | | | | | | | | | | | | | | | language tags a. non latin tags (greek/cyrillic...) are not sorted case-insesitive and group by letter view in tag list is not case insesitive b. quick searching tag names does not perform correctly accent folding (e.g. Köln and Koln do not match) and case insesitivity for non latin letters c. missing from remove_accents characters in romanian language (Latin Extended-B) ? c8 98 = LATIN CAPITAL LETTER S WITH COMMA BELOW ? c8 99 = LATIN SMALL LETTER S WITH COMMA BELOW ? c8 9a = LATIN CAPITAL LETTER T WITH COMMA BELOW ? c8 9b = LATIN SMALL LETTER T WITH COMMA BELOW d. str2url allow non latin letters in output only if the input does not contain any valid lating letter/digit. we should always allow non latin letters in output git-svn-id: http://piwigo.org/svn/branches/2.4@17749 68402e56-0260-453c-a942-63ccdbb3a9ee
* [trunk] - l10n page no found ddtddt2012-05-281-6/+3
| | | | git-svn-id: http://piwigo.org/svn/trunk@15384 68402e56-0260-453c-a942-63ccdbb3a9ee
* [trunk] - l10n page no found message 1ddtddt2012-05-281-4/+7
| | | | git-svn-id: http://piwigo.org/svn/trunk@15381 68402e56-0260-453c-a942-63ccdbb3a9ee
* - multisize thumb longest side can be smaller than the square sizervelices2012-02-181-4/+4
| | | | | | - remove unused css, shorten/optimize php called very often (at least theoretically should be faster) git-svn-id: http://piwigo.org/svn/trunk@13240 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2548 multisize - code cleanup + better usage in category_cats + ↵rvelices2012-01-171-3/+67
| | | | | | i.php logs memory usage peak git-svn-id: http://piwigo.org/svn/trunk@12920 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r12760 from branch 2.3 to trunkplegall2011-12-171-1/+11
| | | | | | | | | | | | | | | bug 2502 fixed: better handling of non-latin tags and multilanguage tags on tags.php with mode letter. We can't rely on url_name because it always start with "_" when the tag looks like "[lang...". Instead we compute a str2url on the name, but once it has been rendered by Extended Description. To avoid useless computations, I have added a cache on the tag_alpha_compare function. Tested on a 175 tags set, speed is good. git-svn-id: http://piwigo.org/svn/trunk@12761 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2477: Remove unused CSS / html elements from version 2.3 rvelices2011-10-171-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@12479 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature:2322 Add two new trigger events for tag name display and tag url mistic1002011-06-111-2/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@11317 68402e56-0260-453c-a942-63ccdbb3a9ee
* ability to to display the album name as a single link and not several links ↵plegall2011-02-241-2/+20
| | | | | | depending on uppercats, with get_cat_display_name_cache git-svn-id: http://piwigo.org/svn/trunk@9367 68402e56-0260-453c-a942-63ccdbb3a9ee
* Happy new year 2011plegall2011-01-181-2/+2
| | | | | | | Change "Piwigo - a PHP based picture gallery" into "Piwigo - a PHP based photo gallery" git-svn-id: http://piwigo.org/svn/trunk@8728 68402e56-0260-453c-a942-63ccdbb3a9ee
* got rid of a very innefficient (and not required) css rulervelices2011-01-171-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@8725 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2102 : rename item/image/picture to photorvelices2011-01-141-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@8665 68402e56-0260-453c-a942-63ccdbb3a9ee
* removed unused files / code / css; shorter codervelices2010-12-231-28/+6
| | | | git-svn-id: http://piwigo.org/svn/trunk@8247 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1616: rename "category" into "album" (4th commit; almost there)rvelices2010-09-211-2/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@6993 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r6313 from branch 2.1 to trunkplegall2010-05-231-1/+1
| | | | | | | bug 1685 fixed: typo on identification.php link git-svn-id: http://piwigo.org/svn/trunk@6316 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 860: display a more readable error when the _data directory is not writableplegall2010-04-281-3/+8
| | | | git-svn-id: http://piwigo.org/svn/trunk@5985 68402e56-0260-453c-a942-63ccdbb3a9ee
* Issue 1521 : correction of separator problemlaurent.duretz2010-04-201-4/+7
| | | | git-svn-id: http://piwigo.org/svn/trunk@5924 68402e56-0260-453c-a942-63ccdbb3a9ee
* Issue 1521 : correction for admin pageslaurent.duretz2010-04-181-4/+10
| | | | git-svn-id: http://piwigo.org/svn/trunk@5917 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1583: (tag navigation ergonomy) in the page title, always display theplegall2010-04-081-15/+19
| | | | | | "remove tag" icon, whatever the number of tags. git-svn-id: http://piwigo.org/svn/trunk@5706 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 1580 - remove some hard coded markup (move them to the template)grum2010-04-051-9/+8
| | | | git-svn-id: http://piwigo.org/svn/trunk@5682 68402e56-0260-453c-a942-63ccdbb3a9ee
* Issue 1521 : picture.tpl updated to avoid double home link, picture.php ↵laurent.duretz2010-03-291-1/+1
| | | | | | updated because tpl update, functions_html.inc.php updated to work with question_mark_in_urls = false git-svn-id: http://piwigo.org/svn/trunk@5451 68402e56-0260-453c-a942-63ccdbb3a9ee
* Issue 1521 : Integration of LinkRoot plugin in Piwigo corelaurent.duretz2010-03-291-11/+4
| | | | git-svn-id: http://piwigo.org/svn/trunk@5441 68402e56-0260-453c-a942-63ccdbb3a9ee
* increase copyright year to 2010plegall2010-03-191-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@5196 68402e56-0260-453c-a942-63ccdbb3a9ee
* -fix language keys problemsrvelices2010-03-181-3/+3
| | | | git-svn-id: http://piwigo.org/svn/trunk@5178 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1451 : localization with gettextnikrou2010-03-021-6/+6
| | | | | | | | | | | Use php-gettext (developpement version rev43, because of php5.3) as fallback Use native language (english) instead of key for translation Keep directory en_UK for english customization Need some refactoring for plurals Todo : managing plugins in the same way git-svn-id: http://piwigo.org/svn/trunk@5021 68402e56-0260-453c-a942-63ccdbb3a9ee
* Move get_icon function.patdenice2009-03-111-52/+0
| | | | git-svn-id: http://piwigo.org/svn/trunk@3188 68402e56-0260-453c-a942-63ccdbb3a9ee
* fix html warnings. unclosed monotagsnikrou2009-03-091-7/+7
| | | | git-svn-id: http://piwigo.org/svn/trunk@3185 68402e56-0260-453c-a942-63ccdbb3a9ee
* Create navigation_bar.tpl file.patdenice2009-03-051-147/+0
| | | | | | 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
* Remove get_html_menu_category function and use smarty abilities.patdenice2009-03-041-98/+0
| | | | git-svn-id: http://piwigo.org/svn/trunk@3171 68402e56-0260-453c-a942-63ccdbb3a9ee
* - embellish_url compacts now ..rvelices2009-02-051-26/+13
| | | | | | | - 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
* Administration: happy new year 2009, all PHP headers updated. plegall2009-01-041-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@3049 68402e56-0260-453c-a942-63ccdbb3a9ee
* - Replace some mysql_query by pwg_query function.patdenice2008-11-191-0/+1
| | | | | | | | | - 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
* merge rev 2771,2772 from branch 2.0rvelices2008-10-181-4/+3
| | | | | | | - 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
* - 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
* - fix status header (web services + IE6 min display)rvelices2008-09-171-2/+4
| | | | | | | - sql optims in feed /notification - dont send cookie for 10 years from admin/history.php git-svn-id: http://piwigo.org/svn/trunk@2543 68402e56-0260-453c-a942-63ccdbb3a9ee
* - better management of fatal errors (instead of die or trigger_error rather ↵rvelices2008-09-051-0/+38
| | | | | | use fatal_error ...) git-svn-id: http://piwigo.org/svn/trunk@2502 68402e56-0260-453c-a942-63ccdbb3a9ee
* - based on test_menu by grum (thanks to you) - integration of dynamic menu ↵rvelices2008-08-281-0/+14
| | | | | | | | | | bar to pwg - the menubar is composed now of dynamic blocks that can be ordered/hidden - plugins can add their own blocks git-svn-id: http://piwigo.org/svn/trunk@2488 68402e56-0260-453c-a942-63ccdbb3a9ee
* Merge from branch-1_7 (r2432).patdenice2008-07-121-1/+20
| | | | | | | Add triggers for category name (render_category_name). Add strip_tags for ALT attribute on category thumbnail. git-svn-id: http://piwigo.org/svn/trunk@2433 68402e56-0260-453c-a942-63ccdbb3a9ee
* - remember me cookie security improvement (the time when the cookie was ↵rvelices2008-07-011-1/+6
| | | | | | | | | | | | generated is saved and checked in range [now-remember_me_length; now] - tags improvements * pass to templates all fields in table #tags (handy for plugins such as type tags) * fix issue with tag letter when first letter is accentuated (utf-8) * tags are sorted on url_name instead of name (accentuated first letter chars are the same as without accent) * better use of columns in by letter display mode git-svn-id: http://piwigo.org/svn/trunk@2409 68402e56-0260-453c-a942-63ccdbb3a9ee
* 000819: "First" link was mapped with home navigation buttonpatdenice2008-05-201-1/+1
| | | | | | | Add trigger_event for menubar.php file in index.php Minor language correction. git-svn-id: http://piwigo.org/svn/trunk@2353 68402e56-0260-453c-a942-63ccdbb3a9ee
* Bug 703: Authorization system in Cat management works now with well ordered ↵vdigital2008-05-171-0/+17
| | | | | | | | lists (Minor: Admin theme changes) git-svn-id: http://piwigo.org/svn/trunk@2349 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
* - remove compatibility with old template ...rvelices2008-03-231-14/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@2290 68402e56-0260-453c-a942-63ccdbb3a9ee
* - upload.tpl goes smartyrvelices2008-03-081-9/+9
| | | | | | | - 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
* Replace old use of $lang by l10n function.rub2008-01-301-13/+13
| | | | git-svn-id: http://piwigo.org/svn/trunk@2201 68402e56-0260-453c-a942-63ccdbb3a9ee
* Resolved issue 0000791: recent icon is wrong with winter timerub2008-01-141-23/+7
| | | | | | | Merge branch-1_7 2180:2181 into BSF git-svn-id: http://piwigo.org/svn/trunk@2182 68402e56-0260-453c-a942-63ccdbb3a9ee
* - render_category_description and render_category_literal_description events ↵rvelices2007-10-021-6/+28
| | | | | | refactoring git-svn-id: http://piwigo.org/svn/trunk@2117 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge -r2069 from branch-1_7 to trunkrvelices2007-07-191-3/+9
| | | | | | added 2 events: get_categories_menu_sql_where and get_html_menu_category in order to allow personalisation of the category menu git-svn-id: http://piwigo.org/svn/trunk@2070 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r2052 from branch-1_7 to trunkrvelices2007-07-071-2/+14
| | | | | | - fix set_status_header for fastCGI installations that are strict in terms of http protocol (1.0 or 1.1) git-svn-id: http://piwigo.org/svn/trunk@2053 68402e56-0260-453c-a942-63ccdbb3a9ee