ATHLETE TRAINING TIPS

Self-administered by the athlete with approval prior to posting by a SPEEDO representative. Five current tips, with supporting general archive (and an option to categorise by tip at a later date).

EDIT SYSTEM REQUIREMENTS

It is required that an edit-system be created to allow administration of the content of the "Athletes Training Tips" section by the athletes themselves or other "non-expert" users.

Access to this area of the site should be restricted by the provision of an approved username and password.

In addition to this it would be useful for an administration username and password to be issued to a representative of TSL which would allow the company to gain access to the tips and hints of individual athletes via a listing, for editing and deleting of entries.

It is our requirement that no access by any means to any of the admin tools be provided unless a valid username and password - ideally stored separately on the system in a suitable encrypted form - has first been submitted to the system by the user during that session and that the username and password submitted to the system will not be recorded as an entry in any server logs and statistics. Under no circumstances should access to any administrative tool be given to the user without an approved username and password first being supplied.

The system itself should provide the following functionality:

Each training tip entry should encompass the following aspects:


   Author          The author of the article - which is not necessarily
                   the adminstratrating user - to be selected from a 
                   drop-down menu.

                   In the case of contributors (second-level users) this 
                   will be a fixed line of text displaying the user's name.

   Publish date    The date on which the training tip should automatically 
                   become accessable via the site.

                   The date will be entered as a set of numeric values 
                   selected from three horizontally aligned drop-down
                   menus.

                   The first menu represents the day (01 to 31).

                   The second field represents the month (01 to 12).

                   The third field represents the year providing a list
                   of years from the current year up to three years hence
                   (ie: 1999, 2000, 2001, 2002).

                   The default values for these fields (to be automatically 
                   set in the form when creating a new tip) should 
                   be the date on which the training tip is being added.

                   On submission of the tip, it will be necessary to 
                   validate the dates being submitted (ie: 31 02 2000 is 
                   not valid). If an invalid date is entered, then the 
                   nearest previous valid date should be substituted (in
                   this case 28 02 2000 as it is a leap year).

   Tip heading     To be added as free-text into a field.

   Tip content     To be added as free-text into a textarea. 

                   When parsed into HTML, single carriage returns 
                   are to be treated as line-breaks, while double 
                   carriage returns will be treated as paragraph marks.

                   It is required that the textareas in all the admin tools 
                   have WRAP="virtual" provided as an explicit attribute to
                   the TEXTAREA tag. 

   Approval        Provided as a checkbox according to account status this 
                   option will enable contributors to request approval of an
                   entry when saving the final submission; allow administrators
                   to approve and publish entries previously submitted; and 
                   allow any user to save work in progress.

When tips become archived they should made accessable via a list in-reverse order according to their publish date (most recent at the top).

Five current tips, with supporting general archive (and an option to categorise by tip at a later date).

CREATE NEW ACCOUNT FUNCTION

On selecting this function a simple form will be presented to the user enabling them to create a new user account. This will include the name of the new user (text entry); the sport with which they are to be associated (drop-down list).

On submitting the new account information the entire sub-frameset will refresh and the default account being displayed will be set to the new account to confirm that it has been created and allow items to be added straight away by the administrator.

Account details to be submitted include:


   Athlete's Name    Entered in a text field.

   Category          Selected from a drop-down list of pre-defined categories
                     which are Swim, Beach and Triathlon. (May also include 
                     coaches if required)

Accounts created using this function will also allow access to create Diary entries.

EDIT ACCOUNT FUNCTION

On selecting this function a form will be presented to the user enabling them to edit the details of existing accounts; and delete existing accounts.

No actual change will take place until the user selects the "Done" button at the bottom of the form.

Each account will have a delete button horizontally aligned to it. Deleting accounts will also delete any entries in the database which are associated with it. If the button is selected a warning dialogue box will inform the user of the relevance of the request. If the user selects "OK" then the edit accounts form will be returned with the deleted account replaced by a note explaining that the account is marked for deletion which will take place when the user selects the "Done" button.

On submitting the adjusted accounts list the entire "Hints & Tips" sub-frameset will refresh and the default account being displayed will be set to the first account in the new list. This is done so that neither a deleted account nor an account which has been renamed is displayed as this could mislead the user into thinking that the request has failed.

Account details to be editable include:


   Athlete's Name    Entered in a text field.

   Category          Selected from a drop-down list of pre-defined categories
                     which are Swim, Beach and Triathlon. (May also include 
                     coaches if required)

Usernames, Passwords and userIDs will only be displayed in the pages so that they may not be altered by the administrator, but may be referred to as an when required.

SECURITY

Access to this area of the site should be restricted by the provision of an approved username and password.

Additionally each athlete would be issued with their own username and password as a result of their second level account being created, enabling them to gain access only to the relevant interfaces to update their diary or hints & tips (ie: not the news tools etc.). This view will also preclude the account creation and editing tools as decribed above.

It is our requirement that no access by any means to any of the admin tools be provided unless a valid username and password - ideally stored separately on the system in a suitable encrypted form - has first been submitted to the system by the user during that session and that the username and password submitted to the system will not be recorded as an entry in any server logs and statistics. Under no circumstances should access to any administrative tool be given to the user without an approved username and password first being supplied.