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

Reply via email to