Query dept, course number from REGclasses table.
- The announce.php function displays the Announcements page.
- It calls the write_classinfo function with parameters ($term, $srs,
"Announcements"). "Announcements" is to specify that this is the
Announcements page. This function will retrieve the class info data and display it on the
web page.
- It calls the write_allsrsinfo function with parameters ($term, $srs, $class,
"Announcements Page"). "Announcements Page" is to specify that this is the
Announcements page. This function will retrieve the all srs information and display it on the web page.
- The write_allsrsinfo function queries the REGxref database table to see if any classes match the term, srs, class passed. It checks or joined or cross-listed classes and outputs all course titles of those classes. Then, it returns the values to the varible $xreflist.
- It displays all the different titles of the joined or cross-listed classes.
Announcements are stored in a text file announce.inc in the class
directory.
Announcements can be added and edited vis Admin utilities or rostermail.
- Announce.inc is an include file that creates the individual announcements displayed on
the Announcements page.
- It can be modified by the Admin utility or the rostermail program.
An email sent to the class roster can be added automatically to the Announcements
page.
- Announcements can also be added to the Announcements page when sending an e-mail to the
class by checking the "Add message to announcements page?" option on the
"Send Mail to Class" utility on "Other / Advanced Options" found on
the Administration page. This option runs the rostermail.pl program with the
announcement.
- The rostermail.pl program creates the announcement when $addannounce=1, which is set to
true when the "Add message to announcements page?" option is checked.
- It calls the addannounce function which separates the e-mail sent to the class into the
following structure to appear on the Announcements page:
date time (email) : e-mail subject: e-mail body.
- Each time the "Add message to announcements page?" option is checked, it
updates the announce.inc file to include the new changes.
An announcement added directly to the Announcements page via Admin utilities.
- Announcements can be added, removed, or edited through the Announcement Edit utility
found on the Administration page.
- The announcement appears on the Announcements page with the following structure:
date: announcement
- Each time the Announcement Edit utility is used, it updates the announce.inc file to
include the new changes.