[Phpwebgallery-cvs] r1082 - in /trunk: ./ admin/ admin/include/ include/

2006-03-15 Thread Pierrick LE GALL
Author: plg
Date: Wed Mar 15 23:44:35 2006
New Revision: 1082

URL: http://svn.gna.org/viewcvs/phpwebgallery?rev=1082&view=rev
Log:

new: cleaner URL. Instead of category.php?cat=search&search=123&start=42,
you now have category.php?/search/123/start-42. Functions make_index_url and
make_picture_url build these new URLs. Functions duplicate_picture_url and
duplicate_index_url provide shortcuts to URL creation. The current main page
page is still category.php but this can be modified easily in make_index_url
function. In this first version, no backward compatibility. Calendar
definition in URL must be discussed with rvelices.

improvement: picture.php redesigned. First actions like "set as
representative" or "delete a comment" which all lead to a redirection. Then
the page (the big mess) and includes of new sub pages to manage specific
parts of the page (metadata, user comments, rates).

new: with the cleaner URL comes a new terminology. $page['cat'] doesn't
exist anymore. $page['section'] is among 'categories', 'tags' (TODO),
'list', 'most_seen'... And sub parameters are set : $page['category'] if
$page['section'] is "categories". See URL analyse in
include/section_init.inc.php for details.

Added:
trunk/include/picture_comment.inc.php
trunk/include/picture_metadata.inc.php
trunk/include/picture_rate.inc.php
Modified:
trunk/about.php
trunk/admin.php
trunk/admin/cat_list.php
trunk/admin/cat_modify.php
trunk/admin/include/functions.php
trunk/admin/picture_modify.php
trunk/category.php
trunk/comments.php
trunk/identification.php
trunk/include/category_default.inc.php
trunk/include/category_recent_cats.inc.php
trunk/include/category_subcats.inc.php
trunk/include/functions.inc.php
trunk/include/functions_category.inc.php
trunk/include/functions_html.inc.php
trunk/include/index.php
trunk/include/section_init.inc.php
trunk/notification.php
trunk/password.php
trunk/picture.php
trunk/profile.php
trunk/random.php
trunk/register.php
trunk/search.php
trunk/upload.php


___
Phpwebgallery-cvs mailing list
Phpwebgallery-cvs@gna.org
https://mail.gna.org/listinfo/phpwebgallery-cvs


[Phpwebgallery-cvs] r1083 - in /trunk: category.php language/en_UK.iso-8859-1/common.lang.php language/fr_FR.iso-8859-1/common.lang.php search_rules.php template/yoga/admin.tpl template/yoga/admin/sit

2006-03-15 Thread Radu
Author: rvelices
Date: Thu Mar 16 03:22:58 2006
New Revision: 1083

URL: http://svn.gna.org/viewcvs/phpwebgallery?rev=1083&view=rev
Log:
language: cleanup unused, uniformization and no more L_ variables in 
category.php and tpl

Modified:
trunk/category.php
trunk/language/en_UK.iso-8859-1/common.lang.php
trunk/language/fr_FR.iso-8859-1/common.lang.php
trunk/search_rules.php
trunk/template/yoga/admin.tpl
trunk/template/yoga/admin/site_manager.tpl
trunk/template/yoga/category.tpl


___
Phpwebgallery-cvs mailing list
Phpwebgallery-cvs@gna.org
https://mail.gna.org/listinfo/phpwebgallery-cvs