Documents Help |
Whiteboard Courseware System v1.0.3 |
|
Documentation Index |
|
Description |
This module allows document and document directory addition, deletion, and modification. Documents may either uploaded files or links, and may be arranged in, and moved between, an arbitrarily-deep directory structure. |
|
Related Modules |
Course Browsing, Course Options, Announcements, and Sidebar Links |
|
Permissions |
Visitors: may view documents |
Students: may view documents |
Staff: full access |
Administrators: full access |
|
Miscellaneous Details |
The course options allow documents to be displayed in either compact or announcement style. |
To edit an existing document, staff and administrators should follow the document link. They may access the document itself from the edit-document page. |
Uploaded documents are stored in a directory structure exactly matching the viewable directory structure. |
|
Value Details |
|
Document ID | id | number [int not null auto_increment] | NA | none | 0 | none | yes | |
Link Text | name | string [varchar(80)] | long text line | none | 0 characters | 80 characters | no | |
Type | type | number [tinyint] | select box | 0 | 0 | 1 | yes | |
File | file | string | file upload box | none | 0 characters | 200 characters | no | Becomes document if type is 0 (File). |
Link | link | string | long text line | none | 0 characters | 200 characters | no | Becomes document if type is 1 (Link). |
Document | document | string [varchar(200) not null] | NA | none | 1 character | 200 characters | yes | Must not match Perl-style regular expression /\Aold\Z/. |
Directory | dir | number [int] | select box | none | none | none | yes | |
NetID | netid | string [varchar(8) not null] | NA | none | 1 character | 8 characters | yes | May only contain alphanumeric [_A-Za-z] characters. |
File Size | filesize | number [int] | NA | none | 0 | none | no | Empty values replaced with -1. |
File Type | filetype | string [varchar(80)] | NA | none | 0 characters | 80 characters | no | |
Date Posted | date | timestamp [int] | NA | none | NA | NA | yes | |
Comment | comment | string [text] | text area | none | 0 characters | none | no | Allows multiple lines. No more than 80 characters per line. May contain anchor (a), bold (b), emphasis/italics (em), and underline (u) HTML tags. |
Deleted | deleted | number [tinyint] | NA | 0 | 0 | 1 | yes | |
|