Fileref:sl setup notecard.php

From SLIS Second Life Wiki
Jump to: navigation, search

Folder.gif (parent)

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

  1. Get the course ID parameter, if specified
  2. Display the page header
  3. Require user login
  4. Is the user an administrator? If so:
    1. If prim password is not set, generate and store a random password
    2. If storage of new password failed, then terminate with an error message
    3. Was the course ID specified? If not:
      1. Display a course selection menu
    4. else:
      1. Display a configuration notecard for the specified course
  5. else:
    1. Display error message regarding non-administrator access
  6. Display the page footer


This page is part of the SLOODLE documentation
Docs: Users | Administrators | Developers
Wiki Frontpage Sloodle.org
Personal tools