aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_url.inc.php (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-06-13nicer urls when used over httpsrvelices1-2/+5
git-svn-id: http://piwigo.org/svn/trunk@23187 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-01-01 update Piwigo headers to 2013 (the end of the world didn't occur as ↵plegall1-1/+1
expected on r12922) git-svn-id: http://piwigo.org/svn/trunk@19703 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-04feature:2614 pagination on albumsmistic1001-3/+3
return to old fashioned way (one query in category_cats), restoring recent_cats feature and "menubar optimization", rename "starta" into "startcat" git-svn-id: http://piwigo.org/svn/trunk@18462 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-09-23feature 2614: pagination on albums mistic1001-0/+5
git-svn-id: http://piwigo.org/svn/trunk@18165 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-05-28[trunk] - l10n page no found message 2ddtddt1-3/+3
git-svn-id: http://piwigo.org/svn/trunk@15383 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-04-16"home url" is not always absolute with host name + html compaction - through ↵rvelices1-1/+1
removal of unused attributes, some white spaces ... git-svn-id: http://piwigo.org/svn/trunk@14180 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-19convert tabulations into 2-spaces for indentation (introduced in r13240)plegall1-28/+28
git-svn-id: http://piwigo.org/svn/trunk@13258 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-18- multisize thumb longest side can be smaller than the square sizervelices1-36/+32
- 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
2012-01-17update Piwigo headers to 2012, last change before the expected (or not) ↵mistic1001-1/+1
apocalypse git-svn-id: http://piwigo.org/svn/trunk@12922 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-05feature 2548 multisize - improved picture.php display (original...) + code ↵rvelices1-0/+34
cleanup git-svn-id: http://piwigo.org/svn/trunk@12855 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-25bug:2386patdenice1-1/+3
Bug in tag urls if tag start with a number git-svn-id: http://piwigo.org/svn/trunk@11831 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-02-22feature 2197 added: if make_index_url() adds no parameters after index.php?, ↵plegall1-0/+9
then we return get_absolute_root_url() git-svn-id: http://piwigo.org/svn/trunk@9353 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-18Happy new year 2011plegall1-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
2010-12-23removed unused files / code / css; shorter codervelices1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@8247 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-11feature 2057: fetchRemote can send POST datapatdenice1-3/+3
git-svn-id: http://piwigo.org/svn/trunk@8079 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-28merge r6368,6410 from branch-2.1 to trunkrvelices1-1/+20
- merged the linkroot integration with the existing gallery_url (unique $conf['gallery_url'] used for RSS, mail homepage root in the browse path) - added an option $conf['debug_mail'] - if set all outgoing mails are saved into local_data_dir git-svn-id: http://piwigo.org/svn/trunk@6411 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-19increase copyright year to 2010plegall1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@5196 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-06-09bug fix 1024 : the way to discover protocol (http/https) was not correctnikrou1-3/+4
git-svn-id: http://piwigo.org/svn/trunk@3403 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-02-05- embellish_url compacts now ..rvelices1-16/+17
- 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-01-04Administration: happy new year 2009, all PHP headers updated. plegall1-2/+2
git-svn-id: http://piwigo.org/svn/trunk@3049 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-18merge rev 2771,2772 from branch 2.0rvelices1-19/+19
- 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-09-05- better management of fatal errors (instead of die or trigger_error rather ↵rvelices1-17/+5
use fatal_error ...) git-svn-id: http://piwigo.org/svn/trunk@2502 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-04-05Bug fixed: as rvelices notified me by email, my header replacement script wasplegall1-23/+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
2008-04-04Modification: new header on PHP files, PhpWebGallery renamed Piwigo.plegall1-0/+21
git-svn-id: http://piwigo.org/svn/trunk@2297 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-02-29Merge from revision 2228.patdenice1-1/+9
Resolved bugs: 741 and 793: Added user does not appear in listing. 769: show email address in adviser mode when editing user profil. 800: get_absolute_root_url does not work with https protocol. git-svn-id: http://piwigo.org/svn/trunk@2229 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-02-27- added compatibility function file_put_contentsrvelices1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@2215 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-10-29- send status code 403 when attempt to enter a user comment, but comments ↵rvelices1-2/+2
are disabled - don't increase hit count when a comment is posted - remove the check of user ip agains spamhaus.org when a comment is entered (my conclusion is that is useless) git-svn-id: http://piwigo.org/svn/trunk@2155 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-08-30Resolved 0000738: Double port on urlrub1-2/+6
Merge branch-1_7 2048:2050 into BSF git-svn-id: http://piwigo.org/svn/trunk@2083 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-06-28feature 713: allow permalinks to contain the slash ("/") characterrvelices1-12/+27
git-svn-id: http://piwigo.org/svn/trunk@2047 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-05-25Improvement of picture url built rub1-0/+11
git-svn-id: http://piwigo.org/svn/trunk@2026 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-04-26put some code from the huge section_init to 2 functionsrvelices1-0/+216
- parse_section_url does the exact opposite of make_section_in_url - parse_well_known_params_url does the exact opposite of add_well_known_params_in_url section_init is more readable and plugins can have their own views with the same url style this is not a bug correction but I will merge it to branch 1_7 to take advantage for a plugin git-svn-id: http://piwigo.org/svn/trunk@1980 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-04-13merge r1955 from branch-1_7 to trunk:rvelices1-0/+4
flat view small improvements (picture page on root category sorter urls and works in several cases) correction in permalinks admin (error was assignment in if instead of comparison) git-svn-id: http://piwigo.org/svn/trunk@1956 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-28feature 657: permalinks for categoriesrvelices1-3/+15
git-svn-id: http://piwigo.org/svn/trunk@1866 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-27- refactoring page['category'] before 1.7 releaservelices1-16/+18
page['category'] is not an id anymore, but an associative array of category info all of page['cat_xxx'] or page['uppercats'] merged into one simplifies calls to make_index_url give plugins a clean start for page variables for version 1.7 git-svn-id: http://piwigo.org/svn/trunk@1861 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-10Replace all flat_cat by flat.rub1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@1800 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-08- correct php warnings (section_init and mass_inserts)rvelices1-3/+3
- flat category view url is now 'flat' instead of 'flat_cat' (it is nicer and shorter) - small html validation (double class attribute) - removed unnecessary class="" - changed 2 times hard coded index.php?recent_pics with make_index_url(...) git-svn-id: http://piwigo.org/svn/trunk@1789 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-07Issue 0000639: Force selected page on index.phprub1-1/+5
When page index.php is called without defined section, redirect to a page selected by random on a user list. git-svn-id: http://piwigo.org/svn/trunk@1788 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-24- plugins with own independent scripts work now (cookie_path and url root arervelices1-9/+14
correct) - prepare a bit some url functions so that later we can fully embed pwg in scripts located outside pwg - remove some unnecessary language strings git-svn-id: http://piwigo.org/svn/trunk@1750 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-15There are no filter enabled if filter configuration is empty (no icon, no ↵rub1-2/+2
functions, ...) New system for the filter page configuration View mode flat_recent_cat becomes flat_cat (recent period is removed because global filter is sufficient) Recent period of global filter must be defined "after" start parameter (default value is $user['recent_period']). git-svn-id: http://piwigo.org/svn/trunk@1722 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-21Very small corrections:rvelices1-1/+1
- syntax error (action.php) - language (call to l10n_dec and English language) - replace some fetch_array with fetch_assoc (less memory used) - removed one unnecessary assign_block_vars - removed meta name="robots" (conflict with notification.php) git-svn-id: http://piwigo.org/svn/trunk@1678 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-21Feature Issue ID 0000601: Filter all public pages with only recent elementsrub1-0/+5
It's a finalized version. Obsolete code of draft are removed. You can filter categories and images with recent date period on your screen selection. In the future, filter could be easy done on other type data (plugin?) You can flat categories and sub-categories with a recent date period of your choice. Next, perhaps, a panel to choice recent date for the 2 features. On draft, there have problem with MySql 5, be careful! Css problem not resolved: - Menu "Categories" is bad centered - Icon on dark too on the top git-svn-id: http://piwigo.org/svn/trunk@1677 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-19Apply Nicco's style footer to HTML mail.rub1-0/+57
Add 2 news functions to indicate to build URL with full path git-svn-id: http://piwigo.org/svn/trunk@1676 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-10-19feature 563: send an email to admin when new user registers (optional)rvelices1-0/+15
git-svn-id: http://piwigo.org/svn/trunk@1566 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-10-13bug 560: merge r1561 to trunk - url issue when ↵rvelices1-8/+7
$conf['picture_url_style']='file' and filename is numeric or numeric followed by - git-svn-id: http://piwigo.org/svn/trunk@1562 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-26function names are case-insensitive but it's a good idea to call functions nikrou1-15/+15
as they appear in their declaration. So all functions names that manipulate url like make_index_url() are write with lowercase git-svn-id: http://piwigo.org/svn/trunk@1503 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-06-24merge -r1402 from branch-1_6 into trunk rvelices1-4/+4
bug correction in get_root_url ('./../' was returning '') git-svn-id: http://piwigo.org/svn/trunk@1403 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-06-21fix bug 431: src of image are incorrect:nikrou1-2/+14
ex: ././galleries/img.jpg instead of ./galleries/img.jpg git-svn-id: http://piwigo.org/svn/trunk@1374 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-06improvement: urls for tags can contain now only the tag or the id and tagrvelices1-4/+30
improvement: urls for category can be now id and category names (instead of only id) improvement: added 2 indexes (#image_tag.tag_id and #tags.url_name) improvement: identification, register, search pages automatically set focus on first form input improvement: focus, nofocus css class now valid for all forms fix: category comment is tag stripped in category_subcats.inc.php (otherwise issues with html/scripts inside category comment) git-svn-id: http://piwigo.org/svn/trunk@1131 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-02improvement: tags replace keywords. Better data model, lessplegall1-17/+17
limitations. Each image can be associated to as many tag as needed. Tags can contain non ASCII characters. Oriented navigation with tags by association. git-svn-id: http://piwigo.org/svn/trunk@1119 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-28moved category.php to index.phprvelices1-0/+347
split url functions from functions.inc.php to functions_url.inc.php git-svn-id: http://piwigo.org/svn/trunk@1109 68402e56-0260-453c-a942-63ccdbb3a9ee