Fileref:sl setup notecard.php
From SLIS Second Life Wiki
This script is typically linked to from the configuration page, config.html. It allows the user to select a course, and to generate text for an appropriate Sloodle object configuration notecard (sloodle_config) which they can put in their objects in-world.
Dependencies
Sloodle files:
Functions
This file defines the following function:
Algorithm
- Get the course ID parameter, if specified
- Display the page header
- Require user login
- Is the user an administrator? If so:
- If prim password is not set, generate and store a random password
- If storage of new password failed, then terminate with an error message
- Was the course ID specified? If not:
- Display a course selection menu
- else:
- Display a configuration notecard for the specified course
- else:
- Display error message regarding non-administrator access
- Display the page footer
| This page is part of the SLOODLE documentation | |||
|---|---|---|---|
| Docs: Users | Administrators | Developers | |||
| Wiki Frontpage Sloodle.org | |||