Ignore:
Timestamp:
Apr 6, 2006, 4:23:54 AM (19 years ago)
Author:
rvelices
Message:

improvement: urls for tags can contain now only the tag or the id and tag

improvement: urls for category can be now id and category names (instead
of only id)

improvement: added 2 indexes (#image_tag.tag_id and #tags.url_name)

improvement: identification, register, search pages automatically set focus
on first form input

improvement: focus, nofocus css class now valid for all forms

fix: category comment is tag stripped in category_subcats.inc.php
(otherwise issues with html/scripts inside category comment)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/config_default.inc.php

    r1120 r1131  
    425425$conf['question_mark_in_urls'] = true;
    426426
    427 // picture_url_style : one of 'id' 'id-file' or 'file'. 'id-file' or 'file'
    428 // mean that the file name (without extension will appear in the url).
    429 // Note that one aditionnal sql query will occur if 'file' is choosen.
    430 // Note that you might experience navigation issues if you choose 'file'
    431 // and your file names are not unique
    432 $conf['picture_url_style'] = 'id';
    433 
    434 
    435427// php_extension_in_urls : if true, the urls generated for picture and
    436428// category will not contain the .php extension. This will work only if
     
    439431$conf['php_extension_in_urls'] = true;
    440432
     433// category_url_style : one of 'id' (default) or 'id-name'. 'id-name'
     434// means that an simplified ascii represntation of the category name will
     435// appear in the url
     436$conf['category_url_style'] = 'id';
     437
     438// picture_url_style : one of 'id' (default), 'id-file' or 'file'. 'id-file'
     439// or 'file' mean that the file name (without extension will appear in the
     440// url). Note that one aditionnal sql query will occur if 'file' is choosen.
     441// Note that you might experience navigation issues if you choose 'file'
     442// and your file names are not unique
     443$conf['picture_url_style'] = 'id';
     444
     445// tag_url_style : one of 'id-tag' (default), 'id' or 'tag'.
     446// Note that if you choose 'tag' and the url (ascii) representation of your
     447// tags is not unique, all tags with the same url representation will be shown
     448$conf['tag_url_style'] = 'id-tag';
     449
    441450// +-----------------------------------------------------------------------+
    442451// |                                 tags                                  |
Note: See TracChangeset for help on using the changeset viewer.