aboutsummaryrefslogtreecommitdiffstats
path: root/include/section_init.inc.php (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-04-03- is_homepage not set for flat view/calendar modesrvelices1-0/+2
- added require jquery for some footer_script - removed unused/unnecesary css (hope I'm done for now) - if page[start] is greater than number of items than page not found (google+bing bots automatically detect patterns and increment start parameter) git-svn-id: http://piwigo.org/svn/trunk@13872 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-03-02feature 2368: better canonical URL for homepageplegall1-0/+1
git-svn-id: http://piwigo.org/svn/trunk@13458 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-19convert tabulations into 2-spaces for indentation (introduced in r13240)plegall1-1/+1
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-1/+5
- 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
2011-08-02rename #images.average_rate to rating_scorervelices1-7/+7
git-svn-id: http://piwigo.org/svn/trunk@11893 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
2011-01-17bug 2105 : Browsing tags is slow if tags contains many photos rvelices1-15/+0
git-svn-id: http://piwigo.org/svn/trunk@8726 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-14feature 2102 : rename item/image/picture to photorvelices1-2/+2
git-svn-id: http://piwigo.org/svn/trunk@8665 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-09-16feature 1616: rename "category" into "album" (first commit; still to come)rvelices1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@6951 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-09-13merge r6905 from branch 2.1 to trunkplegall1-0/+4
bug 1849 fixed: protect $_GET keys against SQL injections before parsing URL. git-svn-id: http://piwigo.org/svn/trunk@6906 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-06- removed function get_extra_fields and its usage (unnecessary + perf issue ↵rvelices1-4/+4
when retrieving many image ids in a section) - 2 fixes recent feed.php commit * month names were decalated by one * strptime function is not implemented under Windows in php - added somme missing $ROOT_URL in templates git-svn-id: http://piwigo.org/svn/trunk@6668 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-05Bug 1763 fixed : [PostgreSQL] double quote used in queriesnikrou1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@6664 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-06-28merge r6414 from branch 2.1rvelices1-3/+1
favorite image icon is not taken from php but left to the theme git-svn-id: http://piwigo.org/svn/trunk@6615 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-28merge r6368,6410 from branch-2.1 to trunkrvelices1-6/+15
- 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-04-18Issue 1521 : correction for admin pageslaurent.duretz1-5/+3
git-svn-id: http://piwigo.org/svn/trunk@5917 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-30Issue 1521 : get_absolute_root_url() missing in section_init.inc.phplaurent.duretz1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@5469 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-29Issue 1521 : Integration of LinkRoot plugin in Piwigo corelaurent.duretz1-2/+2
git-svn-id: http://piwigo.org/svn/trunk@5441 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
2010-03-02Feature 1451 : localization with gettextnikrou1-8/+8
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
2009-11-29Feature 1255 :nikrou1-2/+2
misspelled function parenthesis missing git-svn-id: http://piwigo.org/svn/trunk@4388 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-29Feature_1255:nikrou1-6/+6
- bug fix : function pwg_db_get_recent_period_expression - add extra fields for select based on "order by" git-svn-id: http://piwigo.org/svn/trunk@4387 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-29Feature_1255 :nikrou1-3/+1
- single quotes in queries - start using $conf['dblayer'] git-svn-id: http://piwigo.org/svn/trunk@4385 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-25Feature 1255: modification in sql queriesnikrou1-2/+1
- manage random function - manage regex syntax - manage quote (single instead of double) - manage interval git-svn-id: http://piwigo.org/svn/trunk@4367 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-21Feature 1255 : limit params in sql queries were in wrong order (LIMIT count ↵nikrou1-2/+2
OFFSET offset) git-svn-id: http://piwigo.org/svn/trunk@4334 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-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-04Administration: happy new year 2009, all PHP headers updated. plegall1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@3049 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-10-18merge rev 2771,2772 from branch 2.0rvelices1-8/+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
2008-09-11feature 169 added: ability to manually sort images inside a category. Aplegall1-5/+29
dedicated screen let the administrator sort the images (pur HTML, no JavaScript yet). The "rank" sort order is available only for a category without flat mode. New database column image_category.rank. git-svn-id: http://piwigo.org/svn/trunk@2517 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-07-23- normalize behaviour of query search versus std search (now both return ↵rvelices1-21/+6
items already sorted and permission checked); also more optimized sql queries (in some cases) git-svn-id: http://piwigo.org/svn/trunk@2451 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-07-12- bug 600: Page not found after a strong rating revise (and extended to most ↵rvelices1-34/+5
cases when the image is not in the requested section) git-svn-id: http://piwigo.org/svn/trunk@2430 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-07-05- feature 832: Folders with no images sql optimizationrvelices1-4/+13
- recent pics are sorted by date descending, and only then by conf['order_by'] - updated prototype.js to version 1.6 git-svn-id: http://piwigo.org/svn/trunk@2424 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-05-03just some optimizations (especially for large dbs)rvelices1-7/+42
- replace some REGEXP with LIKE in sql - optimized queries for the combination of large data sets with picture_url_style file git-svn-id: http://piwigo.org/svn/trunk@2327 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-04-05Bug fixed: as rvelices notified me by email, my header replacement script wasplegall1-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
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-04-04- an optimization of a Mysql query for tags (oddly but it's faster)rvelices1-6/+4
- now the dates in the RSS feed are always correct (and in GMT) git-svn-id: http://piwigo.org/svn/trunk@2296 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-01-30Replace old use of $lang by l10n function.rub1-8/+8
git-svn-id: http://piwigo.org/svn/trunk@2201 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-11-29Merge from branch-1_7: 2174patdenice1-1/+2
Add second parameter for render_category_description to differentiate both triggers in category_cats.inc.php and section_init.inc.php. Add render_page_banner trigger. git-svn-id: http://piwigo.org/svn/trunk@2175 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-10-16- quick search optimizations (less queries)rvelices1-0/+4
- added some meta_robots (noindex and nofollow) on popuphelp, search_rules and search seaction (googlebot gets crazy) git-svn-id: http://piwigo.org/svn/trunk@2138 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-10-12- fix plugin menu link broken with xamp (realpath behaves differently)rvelices1-1/+6
- complete quick search rewriting - now we can quote phrases as in google "New York" is not the same as New York - user comments not searched anymore (faster) - the big full text query does not use joins anymore (faster) - related tags not shown on the index page, but now you can see the matching tags and matching categories git-svn-id: http://piwigo.org/svn/trunk@2135 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-10-02- render_category_description and render_category_literal_description events ↵rvelices1-6/+11
refactoring git-svn-id: http://piwigo.org/svn/trunk@2117 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-05-02correct bug on one of my previous commits (flat for picture page)rvelices1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@1996 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-04-27category image order not correctrvelices1-2/+2
git-svn-id: http://piwigo.org/svn/trunk@1983 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-04-26put some code from the huge section_init to 2 functionsrvelices1-205/+9
- 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-2/+12
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-04-09merge revisions 1938 and 1949 from branch-1_7 to trunk:rvelices1-1/+1
dark theme correction permalink and category.php redirections are permanent (http code 301) instead of temporary (301) added rel nofollow for the metadata link on picture page changed h2 background color style in dark/mail-css (was not readable when images are not downloaded) git-svn-id: http://piwigo.org/svn/trunk@1950 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-08- plugin administration: small fix during activation phaservelices1-0/+3
- plugins: added 3 actions in category_cats.inc.php and 1 event that allow a plugin to decide if insertion to #history occurs - added a warning in section_init if script_basename() is not index or picture (I think we'll have issues on some servers with this function) - web service methods categories.getImages, tags.getImages and images.search return now the image comment git-svn-id: http://piwigo.org/svn/trunk@1880 68402e56-0260-453c-a942-63ccdbb3a9ee