Commit graph

46 commits

Author SHA1 Message Date
patdenice
195c0b4773 merge r8222 from branch 2.1 to trunk
bug 2078: Links must not be displayed in menubar if empty.

git-svn-id: http://piwigo.org/svn/trunk@8223 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-22 11:14:20 +00:00
rvelices
c206a73dd2 feature 1616: rename "category" into "album" (first commit; still to come)
git-svn-id: http://piwigo.org/svn/trunk@6951 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-09-16 19:03:56 +00:00
plegall
b0e523b218 merge r6715 from branch 2.1 to trunk
bug 1785 fixed: the number of related tags is no longer hard coded


git-svn-id: http://piwigo.org/svn/trunk@6716 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-27 12:50:37 +00:00
rvelices
b7e2107181 feqture 1583 : show related tags block also when browsing non tag sections
git-svn-id: http://piwigo.org/svn/trunk@5752 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-10 09:47:19 +00:00
plegall
44d3601933 feature 1583: replace add_tag.png icon by a simple "+" character in the
"related tags" block. Only keep one link for each tag in the "related tags"
block.

git-svn-id: http://piwigo.org/svn/trunk@5703 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-08 08:26:34 +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
nikrou
2e890e9597 Feature 1451 : localization with gettext
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
2010-03-02 14:54:22 +00:00
Eric
1235bab527 Escape all login and username characters in database
Display correctly usernames

(I hope not to have made mistakes)

git-svn-id: http://piwigo.org/svn/trunk@4304 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-18 20:07:20 +00:00
patdenice
d3e6eabb05 Remove get_html_menu_category function and use smarty abilities.
git-svn-id: http://piwigo.org/svn/trunk@3171 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-04 21:49:21 +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
grum
ae4e04da07 use of a boolean value for the "qsearch" $block->data variable
(see topic #98370)

git-svn-id: http://piwigo.org/svn/trunk@2813 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-27 21:45:02 +00:00
grum
e9e57ab5c8 menu item "quicksearch" will be displayed only if a $block->data is set (like
other menu items)


git-svn-id: http://piwigo.org/svn/trunk@2810 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-26 19:10:18 +00:00
rvelices
6ddb20d6f0 - fix undefined template vars U_LOST_PASSWORD (menubar), F_ACTION (extend_for_templates) and F_C13Y_ACTION (check_integrity)
- normalized some template variable names between category thumbnails and thumbnails (take advantage of full template change with smarty and do it now)

git-svn-id: http://piwigo.org/svn/trunk@2515 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-09-10 01:16:13 +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
rvelices
d91d0ac444 - remember me cookie security improvement (the time when the cookie was 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
2008-07-01 02:09:21 +00:00
rub
5436a351ef Resolved issue 0000823: Enhance upload functionalities
First commit, others will be follow.
Not hesitate to change my translations.

Add upload configuration tabsheet (move and add configuration)
Change and add define for access level
Can show upload link every time
Can restrict access upload.class.php
Can choice category on upload page
Add upload class not use for the moment
Review quickly and temporary style of upload.tpl

git-svn-id: http://piwigo.org/svn/trunk@2325 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-05-02 21:56:21 +00:00
plegall
524011bfa6 Bug fixed: as rvelices notified me by email, my header replacement script was
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-05 14:14:07 +00:00
plegall
3f235497f3 Modification: new header on PHP files, PhpWebGallery renamed Piwigo.
git-svn-id: http://piwigo.org/svn/trunk@2297 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-04-04 22:57:23 +00:00
rvelices
c6429c17ca - minor language changes and use template->assign instead of template->assign_var
git-svn-id: http://piwigo.org/svn/trunk@2288 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-03-21 01:01:25 +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
69159c0e92 Replace old use of $lang by l10n function.
git-svn-id: http://piwigo.org/svn/trunk@2201 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-01-30 22:07:07 +00:00
rub
77c7083eec Next of commit 2109
Change translation is best of change language keyword.

git-svn-id: http://piwigo.org/svn/trunk@2110 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-09-29 10:01:54 +00:00
vdigital
88ab0eb7cd 0000740: English sentence in French advices
and other languages minor corrections.

git-svn-id: http://piwigo.org/svn/trunk@2109 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-09-28 16:12:29 +00:00
rub
182fb00f8f Resolved issue 0000697: with generic user a author name is necessary to comment picture.
+ Change way to determinate if user is a guest (use functions like is_admin)


git-svn-id: http://piwigo.org/svn/trunk@2029 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-06-05 22:01:15 +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
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
rub
5631a3fc54 Issue 0000639: Force selected page on index.php
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-02-07 23:08:04 +00:00
rub
767064c9fe Issue 0000624: Enhanced Links Menu
Add name and features options when new_window is true.
(To display a popup for example)


git-svn-id: http://piwigo.org/svn/trunk@1743 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-22 22:06:17 +00:00
rub
6381378a8f Issue 0000624: Enhanced Links Menu
Change default value.
By default, a link will be opened on new tab/window.


git-svn-id: http://piwigo.org/svn/trunk@1736 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-18 22:01:28 +00:00
rub
94755e7bd7 Issue 0000624: Enhanced Links Menu
Add optional parameter values:
  o Allow to open url of links menu on new window.
  o Dynamic visibility of links menu

It's a proposition.


git-svn-id: http://piwigo.org/svn/trunk@1728 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-17 22:27:10 +00:00
rub
6ea1ec6c86 Fixed: Missing information "recent" in URL filter start parameter
git-svn-id: http://piwigo.org/svn/trunk@1723 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-15 22:28:15 +00:00
rub
9362801a48 There are no filter enabled if filter configuration is empty (no icon, no 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
2007-01-15 00:09:14 +00:00
rvelices
1e7b286faa feature 606: search engine spider restrictions (meta robots)
git-svn-id: http://piwigo.org/svn/trunk@1703 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-09 01:30:02 +00:00
rub
cab8f98c4a Feature Issue ID 0000601: Filter all public pages with only recent elements
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-21 21:38:20 +00:00
rvelices
74e5d80e89 - feature 599: option to forbid user registration
- 1 language cleanup
- added page_forbidden function (sends 403)

git-svn-id: http://piwigo.org/svn/trunk@1652 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-13 01:05:38 +00:00
rub
5e9a4b02be Feature Issue ID 0000601: Filter all public pages with only recent elements
Change stop icon.
Add icon to menu.

It's still a draft.

Try this!

Go to http://forum.phpwebgallery.net/viewtopic.php?id=9490


git-svn-id: http://piwigo.org/svn/trunk@1650 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-12 06:17:53 +00:00
rub
222afe2caa Feature Issue ID 0000601: Filter all public pages with only recent elements
It's a draft of the feature witch allows to show only recent elements.
Development are not finished.
Queries and special pages (best rates, tags, etc.) are not modified.
Only main php files about images and categories are ok.

Before to continue, I prefer to determinate a solution between modify cache implementation or hide counters.

Go to http://forum.phpwebgallery.net/viewtopic.php?pid=50015#p50015


git-svn-id: http://piwigo.org/svn/trunk@1648 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-10 22:48:32 +00:00
rvelices
f880be0609 feature 583: notification infromation can be filtered by the requester
(optionnally no comments/new users...)
small lang correction in header.tpl

git-svn-id: http://piwigo.org/svn/trunk@1636 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-06 01:07:03 +00:00
rvelices
eb4214096f - added trigger_action in menubar and page_tail (begin and end)
- small cosmetic change in menubar to simplify life for some plugin features

git-svn-id: http://piwigo.org/svn/trunk@1595 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-11-07 00:55:36 +00:00
rvelices
48c6d7e8a4 feature 519: quick search (first version)
git-svn-id: http://piwigo.org/svn/trunk@1537 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-08-15 02:06:06 +00:00
nikrou
1873dbd062 Fix bug 451: improvement
small problem with reconnexion after session timeout
add auto-login function
all staff for session (connexion, auto-login and logout) 
is now in include/user.inc.php


git-svn-id: http://piwigo.org/svn/trunk@1511 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-28 09:34:27 +00:00
nikrou
e7f8b14269 function names are case-insensitive but it's a good idea to call functions
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-07-26 21:00:16 +00:00
rvelices
28093b24d2 merge -r1435 from branch-1_6 to trunk
bug 450: "upload an image" link in menu bar is missing

git-svn-id: http://piwigo.org/svn/trunk@1436 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-07-06 02:45:26 +00:00
nikrou
a08cd1a583 svn merge -r1366:1371 from branch 1.6 into trunk
git-svn-id: http://piwigo.org/svn/trunk@1377 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-06-22 19:21:56 +00:00