Commit graph

91 commits

Author SHA1 Message Date
mistic100
636650309a Update headers to 2014. Happy new year!!
git-svn-id: http://piwigo.org/svn/trunk@26461 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-05 00:19:25 +00:00
mistic100
e6722ac1b4 delete replace_space function, modify get_cat_display_name_* functions
git-svn-id: http://piwigo.org/svn/trunk@25425 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-10 16:18:55 +00:00
mistic100
067b4c567c bug:2931 photos sort order, "default" is meaningless
check the first criteria if available

git-svn-id: http://piwigo.org/svn/trunk@23533 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-06-25 11:37:44 +00:00
mistic100
863bce7f13 feature:2832 Provide better integration of plugins adding a all new section
don't need for an extra file

git-svn-id: http://piwigo.org/svn/trunk@23399 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-06-20 14:35:16 +00:00
mistic100
2d15ba1746 feature:2832 Provide better integration of plugins adding a all new section
see future version of skeleton/trunk for usage

git-svn-id: http://piwigo.org/svn/trunk@23396 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-06-20 11:06:38 +00:00
rvelices
ec50a59f75 replaced page_messages.php with a function to call
git-svn-id: http://piwigo.org/svn/trunk@20609 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-02-07 21:17:08 +00:00
plegall
4bc775e479 update Piwigo headers to 2013 (the end of the world didn't occur as expected on r12922)
git-svn-id: http://piwigo.org/svn/trunk@19703 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-01-01 12:35:02 +00:00
mistic100
457dbb4dac feature:2781 Add template method to sort actions buttons
git-svn-id: http://piwigo.org/svn/trunk@18760 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-27 12:32:43 +00:00
rvelices
aace3770ae - improved page title when viewing tags, fix canonical url on index page if the webmaster changes the default number of thumbnails per page
git-svn-id: http://piwigo.org/svn/trunk@18667 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-16 19:58:12 +00:00
rvelices
7f75c131ed bug 2772: remove "Home" from html title pages on index pages
git-svn-id: http://piwigo.org/svn/trunk@18637 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-13 15:55:35 +00:00
rvelices
1e6e762643 feature 2760: allow tag exclusion in quick search
git-svn-id: http://piwigo.org/svn/trunk@18636 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-13 15:40:14 +00:00
mistic100
b1cec7bf86 feature:2614 pagination on albums
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-10-04 15:03:55 +00:00
mistic100
4e65d9af46 feature 2614: pagination on albums
git-svn-id: http://piwigo.org/svn/trunk@18165 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-09-23 11:19:26 +00:00
rvelices
9571cf5e45 refactor code when selected derivative on index page is changed by a plugin ...
git-svn-id: http://piwigo.org/svn/trunk@16987 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-07-24 20:34:52 +00:00
rvelices
81e869eaa0 fix checkbox of selected derivative on index page when a plugin overrides the default value (merge from 2.4 to trunk)
git-svn-id: http://piwigo.org/svn/trunk@16986 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-07-24 19:14:39 +00:00
mistic100
8c4a87a0f5 feature:2538 little rework of messages system, now can be used on 'loc_end_index' and 'loc_end_picture'
git-svn-id: http://piwigo.org/svn/trunk@15578 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-06 20:29:30 +00:00
rvelices
5a05371627 - is_homepage not set for flat view/calendar modes
- 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-04-03 18:18:26 +00:00
plegall
65bb5d44b6 feature 2368: better canonical URL for homepage
git-svn-id: http://piwigo.org/svn/trunk@13458 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-03-02 15:28:43 +00:00
plegall
9788bf8e7b feature 2368: also add canonical URL on index page.
git-svn-id: http://piwigo.org/svn/trunk@13062 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-08 21:27:09 +00:00
plegall
14f3e134e7 feature 2561: fix links on album administration screens
git-svn-id: http://piwigo.org/svn/trunk@13025 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-03 21:33:47 +00:00
rvelices
e693ef60cd feature 2548 multisize - ability to choose displayed size on index page
-added some logs on i.php (configurable) to measure the perf

git-svn-id: http://piwigo.org/svn/trunk@12908 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-17 06:09:32 +00:00
patdenice
e859d5ac6d feature:2322
feature:2493
Add a trigger for multi language tags in quick search and url

git-svn-id: http://piwigo.org/svn/trunk@12553 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-11-05 16:15:58 +00:00
plegall
6db359c622 Happy new year 2011
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-18 00:02:52 +00:00
rvelices
621ed0b391 - css sprites - attempt to auto align plugin image links on the index page and picture pages
- css sprites - a couple of rel nofolloz dissapeared
- hide the flat icon if there are no sub albums for the current album

git-svn-id: http://piwigo.org/svn/trunk@8463 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-03 20:47:15 +00:00
rvelices
c296ca98df - fix quick connect right margin (recent css simplification impact)
- index.php wrong nav bar generation under some plugin cases
- css sprites in the quick connect are simpler and more compact

git-svn-id: http://piwigo.org/svn/trunk@8432 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-01 20:30:39 +00:00
rvelices
ff36bf3b70 index.tpl and thumbnails change: category description above thumbs and enclosing ul moved to index.tpl
fix some combine_xxx

git-svn-id: http://piwigo.org/svn/trunk@8401 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-30 19:47:17 +00:00
patdenice
c4fd9f9141 Feature 1533: Change "General" by "Options" in Configuration menu.
Change "Default Display" tab by "Guest Settings" tab.
Add display tab in Configuration/Option menu.

Allow to activate/deactivate a lot of display features:

On main page:
# Display only recently posted images
# Sort order
# Display all elements in all sub-categories
# Display a calendar by posted date
# Display a calendar by creation date
# Slideshow

On photo page:
# Show file metadata
# slideshow
# Add this image to your favorites
# Navigation Bar
# Navigation Thumbnails

git-svn-id: http://piwigo.org/svn/trunk@5293 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-23 21:19:55 +00:00
plegall
86ad1d5b49 increase copyright year to 2010
git-svn-id: http://piwigo.org/svn/trunk@5196 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-19 22:37:10 +00:00
patdenice
254aee2695 Create navigation_bar.tpl file.
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-05 21:08:04 +00:00
rvelices
f888094359 - missing index.php from prev commit
git-svn-id: http://piwigo.org/svn/trunk@3146 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-02-14 02:26:23 +00:00
rvelices
5c001820a1 - 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/trunk@3117 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-01-31 01:10:51 +00:00
plegall
1b711ad236 Administration: happy new year 2009, all PHP headers updated.
git-svn-id: http://piwigo.org/svn/trunk@3049 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-01-04 23:28:36 +00:00
rvelices
90be9fbb84 - merge rev 2765,2769 from branch 2.0
* 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-18 00:45:45 +00:00
rvelices
11df0cb502 - removed unused var from template
- 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
2008-10-09 23:14:43 +00:00
rvelices
a3dc10babc - sql optim: do not include category_cats (which makes a query) if current category does not have children (info known when building menubar)
- in index.php - fill the template completely before including menubar/category_cats/thumbnails (some themes might want to use in the menubar some vars ...)

git-svn-id: http://piwigo.org/svn/trunk@2586 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-09-25 00:39:12 +00:00
plegall
d39db9aaaf feature 169 added: ability to manually sort images inside a category. A
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-09-11 21:40:00 +00:00
rvelices
abb2f22b2e - based on test_menu by grum (thanks to you) - integration of dynamic menu 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
2008-08-28 00:32:39 +00:00
patdenice
9300a7118d 000819: "First" link was mapped with home navigation button
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
2008-05-20 00:56:49 +00:00
rub
3cffa07182 Change some PhpWebGallery to Piwigo. (2/2)
All phpwebgallery.net are not changed!



git-svn-id: http://piwigo.org/svn/trunk@2342 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-05-15 18:43:33 +00:00
rvelices
35076ee1b9 - index.tpl, menubar.tpl, mainpage_categories.tpl and month_calendar.tpl go smarty
- better template debugging tweak (the smarty console is shown only once at the end)

git-svn-id: http://piwigo.org/svn/trunk@2231 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-03-01 13:12:07 +00:00
rub
bf4012291a Resolved issue 0000807: New slideshow features
git-svn-id: http://piwigo.org/svn/trunk@2218 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-02-27 20:25:18 +00:00
rvelices
b606b6d1ab - quick search optimizations (less queries)
- 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-16 01:46:09 +00:00
rvelices
4afa14cc8d - fix plugin menu link broken with xamp (realpath behaves differently)
- 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-12 03:27:34 +00:00
rvelices
2889cbc4eb - render_category_description and render_category_literal_description events refactoring
git-svn-id: http://piwigo.org/svn/trunk@2117 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-10-02 05:38:54 +00:00
patdenice
f8e8bdf05b 0000749: Add an option to add new elements to caddie when synchronize database.
Add a redirection on index.php after "add to caddie action" (like on picture.php)

git-svn-id: http://piwigo.org/svn/trunk@2114 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-10-01 15:56:42 +00:00
rub
5c13d6a8f1 Resolved 0000728: Add description triggers for categories and elements
Add:
  o render_category_description
  o render_category_literal_description
  o render_element_description

Merge branch-1_7 2048:2050 into BSF

git-svn-id: http://piwigo.org/svn/trunk@2079 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-08-25 23:10:12 +00:00
rub
7acc304f55 o add missing $lang
o use of l10n_dec
  o normalize file header


git-svn-id: http://piwigo.org/svn/trunk@1932 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-29 19:04:54 +00:00
rvelices
47512ce6a6 - refactoring page['category'] before 1.7 release
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-27 01:56:16 +00:00
rvelices
11714951b3 - feature 642: display both subcategory thumbnails and element thumbnails (if a
category has both) in the index page
- get rid of $page['cat_nb_images'] and $page['thumbnails_include'] (superfluous)
- changed sql queries in section_init.inc.php for better performance with
flat category view
- web service fixes for categories.getList

git-svn-id: http://piwigo.org/svn/trunk@1820 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-15 00:10:41 +00:00
rvelices
df3b43d356 tags returned by get_all_tags, get_available_tags contain id key instead of tag_id
(as expected by make_index_url, as $page['tags'] was and as the database model is)

git-svn-id: http://piwigo.org/svn/trunk@1815 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-14 01:37:38 +00:00