Changes between Version 1 and Version 2 of ProjectSpecificPrefs


Ignore:
Timestamp:
Jul 20, 2007, 7:01:42 PM (17 years ago)
Author:
Nicolas
Comment:

Formatting

Legend:

Unmodified
Added
Removed
Modified
  • ProjectSpecificPrefs

    v1 v2  
    11= Project-specific preferences =
    22
    3 You can provide users with a set of project-specific preferences,
    4 controlled via a web interface.
    5 These preferences are stored in XML, in a field of the user table.
    6 You determine the structure of this XML, and what it's used for.
    7 On the client, the XML is passed to your application in
    8 the [BasicApi#Communicatingwiththecoreclient APP_INIT_DATA structure].
     3You can provide users with a set of project-specific preferences, controlled via a web interface. These preferences are stored in XML, in a field of the user table. You determine the structure of this XML, and what it's used for. On the client, the XML is passed to your application in the [BasicApi#Communicatingwiththecoreclient APP_INIT_DATA structure].
    94
    105Examples of project-specific preferences include:
    116
    127 * Graphics preferences: e.g., color scheme.
    13  * Application selection: you can allow users to select
    14  which of your applications they will be sent work for.
    15  This is described [AppFiltering here].
     8 * Application selection: you can allow users to select which of your applications they will be sent work for. This is described [AppFiltering here].
    169
    17 The PHP code that allows users to edit their project-specific preferences
    18 is in html/project/project_specific_prefs.inc.
    19 When you create your project, this is initialized to sample code.
    20 To create your own project-specific preferences, edit this file
     10The PHP code that allows users to edit their project-specific preferences is in `html/project/project_specific_prefs.inc`. When you create your project, this is initialized to sample code. To create your own project-specific preferences, edit this file
    2111(and keep it under SVN or CVS somewhere).
    2212The functions you must supply are:
    2313
    24  * project_specific_prefs_edit()
    25  * project_specific_prefs_parse_form()
    26  * project_specific_prefs_show()
    27  * project_specific_prefs_parse()
     14 * `project_specific_prefs_edit()`
     15 * `project_specific_prefs_parse_form()`
     16 * `project_specific_prefs_show()`
     17 * `project_specific_prefs_parse()`
    2818
    2919The sample code provides a working example.