663 lines
23 KiB
Perl
Executable File
663 lines
23 KiB
Perl
Executable File
#!/usr/sbin/perl
|
|
|
|
#**************************************************************************
|
|
#* *
|
|
#* Copyright (c) 1996 Silicon Graphics, Inc. *
|
|
#* All Rights Reserved *
|
|
#* *
|
|
#* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF SGI *
|
|
#* *
|
|
#* The copyright notice above does not evidence any actual of intended *
|
|
#* publication of such source code, and is an unpublished work by Silicon *
|
|
#* Graphics, Inc. This material contains CONFIDENTIAL INFORMATION that is *
|
|
#* the property of Silicon Graphics, Inc. Any use, duplication or *
|
|
#* disclosure not specifically authorized by Silicon Graphics is strictly *
|
|
#* prohibited. *
|
|
#* *
|
|
#* RESTRICTED RIGHTS LEGEND: *
|
|
#* *
|
|
#* Use, duplication or disclosure by the Government is subject to *
|
|
#* restrictions as set forth in subdivision (c)(1)(ii) of the Rights in *
|
|
#* Technical Data and Computer Software clause at DFARS 52.227-7013, *
|
|
#* and/or in similar or successor clauses in the FAR, DOD or NASA FAR *
|
|
#* Supplement. Unpublished - rights reserved under the Copyright Laws of *
|
|
#* the United States. Contractor is SILICON GRAPHICS, INC., 2011 N. *
|
|
#* Shoreline Blvd., Mountain View, CA 94039-7311 *
|
|
#**************************************************************************
|
|
|
|
# DEMO_help.pl
|
|
#
|
|
# Routines to print help information
|
|
|
|
1; # Return true
|
|
|
|
|
|
sub Generate_Help_Menu {
|
|
# Don'want to password protect the help page any longer since the admin
|
|
# stuff has been broken out
|
|
# if ($_[0]) {
|
|
# $no_passwd = "&$CGI_MAINT_OUTSIDE_SWITCH=$CGI_MAINT_FALSE_FLAG";
|
|
# } else {
|
|
# $no_passwd = "";
|
|
# }
|
|
|
|
local($help_page) = "$WWW_SCRIPT?$CGI_SWITCH=$FRAME_MAIN&$CGI_SUB_SWITCH=$CGI_HELP_FLAG";
|
|
|
|
&Print_HTTP_Header;
|
|
|
|
print "<body background=\"$IMGSRC_BACK_HELP\" text=\"#000000\" link=\"#000022\" vlink=\"#330000\">\n";
|
|
print "<center><font size=3><b>Help Information</b></font></center>\n<br><hr><p>\n";
|
|
print "<font size=2>\n";
|
|
print "<dl>\n";
|
|
print "<dt><b>HTML Demo Interface...</b>\n";
|
|
print "<p>\n";
|
|
|
|
print "<dd><img align=left hspace=5 vspace=3 src=\"$IMGSRC_BULLET\" border=0>\n";
|
|
print "<a onMouseOver=\"window.status = \'A Brief Guide to the Interface\'; return true;\" \n";
|
|
print "target=$FRAME_MAIN href=\"$help_page$no_passwd#quick_start\">\n";
|
|
print "Quick Start</a><BR>\n";
|
|
print "<p>\n";
|
|
|
|
print "<dd><img align=left hspace=5 vspace=3 src=\"$IMGSRC_BULLET\" border=0>\n";
|
|
print "<a onMouseOver=\"window.status = \'Help On HTML Demo Interface Frames\'; return true;\" \n";
|
|
print "target=$FRAME_MAIN href=\"$help_page$no_passwd#html_frames\">\n";
|
|
print "HTML Demo Interface Frames</a><BR>\n";
|
|
print "<p>\n";
|
|
|
|
print "<dd><img align=left hspace=5 vspace=3 src=\"$IMGSRC_BULLET\" border=0>\n";
|
|
print "<a onMouseOver=\"window.status = \'Help On Demo Lists\'; return true;\" \n";
|
|
print "target=$FRAME_MAIN href=\"$help_page$no_passwd#demo_lists\">\n";
|
|
print "Demo Lists</a><BR>\n";
|
|
print "<p>\n";
|
|
|
|
print "<dd><img align=left hspace=5 vspace=3 src=\"$IMGSRC_BULLET\" border=0>\n";
|
|
print "<a onMouseOver=\"window.status = \'Help On Demo Information Pages\'; return true;\" \n";
|
|
print "target=$FRAME_MAIN href=\"$help_page$no_passwd#demo_pages\">\n";
|
|
print "Demo Information Pages</a><BR>\n";
|
|
print "<p>\n";
|
|
|
|
print "<dd><img align=left hspace=5 vspace=3 src=\"$IMGSRC_BULLET\" border=0>\n";
|
|
print "<a onMouseOver=\"window.status = \'Help On Searching\'; return true;\" \n";
|
|
print "target=$FRAME_MAIN href=\"$help_page$no_passwd#searching\">\n";
|
|
print "Searching</a><BR>\n";
|
|
print "<p>\n";
|
|
|
|
print "<dd><img align=left hspace=5 vspace=3 src=\"$IMGSRC_BULLET\" border=0>\n";
|
|
print "<a onMouseOver=\"window.status = \'Help On Administration\'; return true;\" \n";
|
|
print "target=$FRAME_MAIN href=\"$help_page$no_passwd#admin\">\n";
|
|
print "Administration</a><BR>\n";
|
|
print "<p>\n";
|
|
|
|
print "</dl>\n";
|
|
print "<hr>\n";
|
|
&Print_HTTP_Footer;
|
|
}
|
|
|
|
|
|
|
|
|
|
sub Print_Help_Page {
|
|
&Print_HTTP_Header;
|
|
|
|
print <<EOT
|
|
<body bgcolor=white>
|
|
|
|
<table width=100%>
|
|
<tr><td align=right><img src="$IMGSRC_MAINT_HEADER"></td></tr>
|
|
</table>
|
|
|
|
<center>
|
|
<img src="$IMGSRC_GRADHRY">
|
|
<a name="quick_start">
|
|
<h3>Quick Start for the Impatient!</h3></A>
|
|
</center>
|
|
|
|
<CENTER>
|
|
<TABLE WIDTH=100%>
|
|
<TR>
|
|
<TD VALIGN=top width=8>
|
|
<img vspace=8 src="$IMGSRC_BULLET">
|
|
</TD>
|
|
<TD>
|
|
Clicking the <img vspace=0 width=40 height=40 align=middle
|
|
src="$IMGSRC_DEFAULT_THUMB">
|
|
image icon in the left frame will start a demo.<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR>
|
|
<TD VALIGN=top width=8>
|
|
<img vspace=8 src="$IMGSRC_BULLET">
|
|
</TD>
|
|
<TD>
|
|
Clicking the demo name in the left frame will display demo information.<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR>
|
|
<TD VALIGN=top width=8>
|
|
<img vspace=8 src="$IMGSRC_BULLET">
|
|
</TD>
|
|
<TD>
|
|
Use the <img align=middle vspace=0 src="$IMGSRC_ALL_MB"> menu button located at the top of the left frame to select various <a href=\"#demo_lists\">demo lists</a>.<BR>
|
|
</TD>
|
|
</TR>
|
|
</TABLE>
|
|
</CENTER>
|
|
<P>
|
|
|
|
|
|
<center>
|
|
<img src="$IMGSRC_GRADHRY">
|
|
<a name="html_frames">
|
|
<h3>HTML Demo Interface Frames</h3></A>
|
|
</center>
|
|
|
|
<CENTER>
|
|
<TABLE WIDTH=100%>
|
|
<TR>
|
|
<TD>
|
|
This HTML Demo Interface consists of three primary display areas (frames).
|
|
The <I>main</I> frame is used for displaying this help document, information about individual demos, and searching and administrative utilities. <BR>
|
|
<P>
|
|
The <I>left-most</I> frame is primarily used to display <i>demo lists</i>. <i>Demo lists</i> are selected from among the choices available in menu button found at the top of the frame. <i>Demo lists</i> contain two items for each demo. The "Do It!" icon item starts a demo and the \"Info\" hyperlink item displays demo information into the <I>main</I> frame.<BR>
|
|
<P>
|
|
The <I>bottom-most</I> frame is accessible from every page, and contains a set of buttons. These buttons are used to access the Home page for the HTML Demo Interface as well as the Search, Administration and Help functionality.<BR>
|
|
<P>
|
|
</TD>
|
|
</TR>
|
|
</TABLE>
|
|
<P>
|
|
<BR>
|
|
|
|
<center>
|
|
<img src="$IMGSRC_GRADHRY">
|
|
<A NAME="demo_lists">
|
|
<H3>Demo Lists</H3>
|
|
</A>
|
|
</center>
|
|
|
|
<CENTER>
|
|
<TABLE WIDTH=100%>
|
|
<TR>
|
|
<TD>
|
|
|
|
A <i>demo list</i> is a group of related demos.
|
|
Use the menu button located in the top of the left-hand frame to control which <i>demo list</i> is displayed.
|
|
<p>
|
|
Clicking the <img vspace=0 width=40 height=40 align=middle src="$IMGSRC_DEFAULT_THUMB"> image icon in the "Do It!" column of a <i>demo list</i> will start that demo.
|
|
<p>
|
|
Clicking the demo name in the "Info" column of a <i>demo list</i> will display detailed information about that demo.
|
|
<p>
|
|
|
|
There are always at least four <i>demo lists</i> available:<br>
|
|
<img src="$IMGSRC_BULLET"> <b>All Demos</b>: All the Demos organized alphabetically.<br>
|
|
<img src="$IMGSRC_BULLET"> <b>All Features</b>: Demos organized by the product feature they use.<br>
|
|
<img src="$IMGSRC_BULLET"> <b>All Industries</b>: Demos organized by the industry they best relate to.<br>
|
|
<img src="$IMGSRC_BULLET"> <b>All Hardware</b>: Demos organized by the hardware they show off.<br>
|
|
<p>
|
|
Additional <i>demo lists</i> are available when the following Silicon Graphics demo products are installed.<br>
|
|
<img src="$IMGSRC_BULLET"> <b>IRIX Demos</b>: Demos which run on all IRIX systems.<br>
|
|
<img src="$IMGSRC_BULLET"> <b>O2 Demos</b>: Demos which show off the O2 workstation.<br>
|
|
<img src="$IMGSRC_BULLET"> <b>OCTANE Demos</b>: Demos which show off the OCTANE workstation.<br>
|
|
<p>
|
|
Users can also create their own custom <i>demo lists</i> by using the "Managing Custom Demo Lists" functionality found in the <a href="#admin">Administration</a> section of the HTML Demo Interface.
|
|
|
|
</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
</CENTER>
|
|
|
|
<BR>
|
|
<P>
|
|
<center>
|
|
<img src="$IMGSRC_GRADHRY">
|
|
<A NAME="demo_pages">
|
|
<H3>Demo Information Pages</H3></A>
|
|
</center>
|
|
|
|
<CENTER>
|
|
<TABLE WIDTH=100% CELLPADDING=5 border=0>
|
|
<TR>
|
|
<TD>
|
|
Each demo has a detailed information page which is intended to provide the following information.<BR>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR>
|
|
<TD>
|
|
<img src="$IMGSRC_BULLET"> <B>Title</B><BR>
|
|
<img src="$IMGSRC_BULLET"> <B>Start Button</B><BR>
|
|
<img src="$IMGSRC_BULLET"> <B>Brief 1-2 Sentence Description</B><BR>
|
|
<img src="$IMGSRC_BULLET"> <B>Author Name(s)</B><BR>
|
|
<img src="$IMGSRC_BULLET"> <B>Minimal Instructions</B><BR>
|
|
<img src="$IMGSRC_BULLET"> <B>Detailed Instructions</B><BR>
|
|
<img src="$IMGSRC_BULLET"> <B>Additional Information </B> <I>(Contributing authors etc)</I><BR>
|
|
<img src="$IMGSRC_BULLET"> <B>Special System Requirements</B><BR>
|
|
<img src="$IMGSRC_BULLET"> <B>Categorization Information</B><BR>
|
|
<img src="$IMGSRC_BULLET"> <B>Links to Related Categories</B><BR>
|
|
</TD>
|
|
|
|
</TR>
|
|
</TABLE>
|
|
</CENTER>
|
|
<BR>
|
|
|
|
|
|
<CENTER>
|
|
<img src="$IMGSRC_GRADHRY">
|
|
<a name="searching">
|
|
<H3>Searching</H3>
|
|
</A>
|
|
</CENTER>
|
|
|
|
<CENTER>
|
|
<TABLE WIDTH=100% >
|
|
<TR >
|
|
<TD width=5> </TD>
|
|
<TD colspan=2>
|
|
Use the <img border=0 src=\"$IMGSRC_TOC_SEARCH\"> icon located in the bottom frame to search for a demo by Title, or by a combination of Features, Industries and Hardware options.<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR>
|
|
</TR>
|
|
|
|
<TR >
|
|
<TD width=5> </TD>
|
|
<TD VALIGN=top width=8>
|
|
<img vspace=8 src="$IMGSRC_BULLET">
|
|
</TD>
|
|
<TD>
|
|
<TABLE>
|
|
<TR>
|
|
<TD WIDTH=55 VALIGN=TOP><B>Title Search:</B></TD>
|
|
<TD>
|
|
Enter a text string into the <I>Title</I> field and click <I>Search</I> to search by demo title. For example, <B><CODE>ant</CODE></B> would return the <B><I>Ant</I></B> and <B><I>Atlantis</I></B> demos, if both are installed on the system.
|
|
</TD>
|
|
</TR>
|
|
</TABLE>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR >
|
|
<TD width=5> </TD>
|
|
<TD VALIGN=top width=8>
|
|
<img vspace=8 src="$IMGSRC_BULLET">
|
|
</TD>
|
|
<TD>
|
|
<TABLE>
|
|
<TR>
|
|
<TD WIDTH=55 VALIGN=TOP ><B>Category Search:</B></TD>
|
|
<TD>
|
|
Enter a more specific query by selecting any combination of items in the <I>Industries</I>, <I>Features</I> and/or <I>Hardware</I> categories from the Search page.<br>
|
|
By default a "Normal Search" is done. If a less restrictive search is desired, select "Match ANY Selected Items"; if a more restrictive search is desired, select "Match ALL Selected Items".<BR>
|
|
</TD>
|
|
</TR>
|
|
</TABLE>
|
|
</TD>
|
|
</TR >
|
|
</TABLE>
|
|
</CENTER>
|
|
|
|
<CENTER>
|
|
<img src="$IMGSRC_GRADHRY">
|
|
<a name="admin">
|
|
<H3>Administration</H3>
|
|
</A>
|
|
|
|
<TABLE WIDTH=100% >
|
|
<TR>
|
|
<TD>
|
|
Use the <img border=0 src=\"$IMGSRC_TOC_ADMIN\"> icon located in the bottom frame to access the following Administration functions:
|
|
<table>
|
|
<tr>
|
|
<td>
|
|
<img src="$IMGSRC_BULLET">
|
|
</td>
|
|
<td>
|
|
<b>Managing Custom Demo Lists</b>
|
|
</td>
|
|
<td>
|
|
Create, edit or remove custom <i>demo lists</i>.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<img src="$IMGSRC_BULLET">
|
|
</td>
|
|
<td>
|
|
<b>Password Protection</b>
|
|
</td>
|
|
<td>
|
|
Password protect the administration functions of the HTML Demo Interface.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<img src="$IMGSRC_BULLET">
|
|
</td>
|
|
<td>
|
|
<b>Editing Demo Information</b>
|
|
</td>
|
|
<td>
|
|
Edit demo information page.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<img src="$IMGSRC_BULLET">
|
|
</td>
|
|
<td>
|
|
<b>Add a Demo</b>
|
|
</td>
|
|
<td>
|
|
Add a Custom Demo to the HTML Demo Interface.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<img src="$IMGSRC_BULLET">
|
|
</td>
|
|
<td>
|
|
<b>Add a Group of Demos</b>
|
|
</td>
|
|
<td>
|
|
Add a group of demos so they can be used within the HTML Demo Interface.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<img src="$IMGSRC_BULLET">
|
|
</td>
|
|
<td>
|
|
<b>Managing Categories</b>
|
|
</td>
|
|
<td>
|
|
Add, Change or Remove items in the Features, Industries or Hardware categories.
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<img src="$IMGSRC_BULLET">
|
|
</td>
|
|
<td>
|
|
<b>Update Demo Tables</b>
|
|
</td>
|
|
<td>
|
|
Update the demo tables used by the HTML Demo Interface to keep track of various demo information.
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</TD>
|
|
</TR>
|
|
</TABLE>
|
|
<img src="$IMGSRC_GRADHRY">
|
|
</CENTER>
|
|
|
|
<pre>
|
|
EOT
|
|
;
|
|
|
|
} # end Print_Help_Page
|
|
|
|
sub Print_Help_Page_Admin {
|
|
|
|
# This will need to work but I'm not sure it does yet so I'll not uncomment it yet.
|
|
# if ("$in{$CGI_MAINT_OUTSIDE_SWITCH}" eq "$CGI_MAINT_FALSE_FLAG") {
|
|
# $no_passwd = "&$CGI_MAINT_OUTSIDE_SWITCH=$CGI_MAINT_FALSE_FLAG";
|
|
# } else {
|
|
# $no_passwd = "";
|
|
# }
|
|
|
|
########### The following assignments was take from the Print_Help_Page subrouting ###############
|
|
########### If these lines are changed, they should be changed in both places ###############
|
|
# Create the urls to the different forms for simplicity
|
|
$passwd_form = "$WWW_SCRIPT?$CGI_SWITCH=$CGI_MAINT_FLAG$no_passwd&$CGI_SUB_SWITCH=$CGI_MAINT_PASSWD_FLAG";
|
|
$edit_form = "$WWW_SCRIPT?$CGI_SWITCH=$CGI_MAINT_FLAG$no_passwd&$CGI_SUB_SWITCH=$CGI_MAINT_EDIT_FLAG";
|
|
$add_form = "$WWW_SCRIPT?$CGI_SWITCH=$CGI_MAINT_FLAG$no_passwd&$CGI_SUB_SWITCH=$CGI_MAINT_ADD_FLAG";
|
|
$tree_form = "$WWW_SCRIPT?$CGI_SWITCH=$CGI_MAINT_FLAG$no_passwd&$CGI_SUB_SWITCH=$CGI_MAINT_ADD_TREE_FLAG";
|
|
$custom_form = "$WWW_SCRIPT?$CGI_SWITCH=$CGI_MAINT_FLAG$no_passwd&$CGI_SUB_SWITCH=$CGI_MAINT_CUSTOM_FLAG";
|
|
$category_form = "$WWW_SCRIPT?$CGI_SWITCH=$CGI_MAINT_FLAG$no_passwd&$CGI_SUB_SWITCH=$CGI_MAINT_ELEMENTS_FLAG";
|
|
$update_form = "$WWW_SCRIPT?$CGI_SWITCH=$CGI_MAINT_FLAG$no_passwd&$CGI_SUB_SWITCH=$CGI_MAINT_UPDATE_FLAG";
|
|
|
|
# Create link objects
|
|
$passwd_link = "<a onMouseOver=\"window.status = \'Password Protection Form\'; return true;\" href=\"$passwd_form\">Password Protection Form</a>";
|
|
$edit_link = "<a onMouseOver=\"window.status = \'Edit Demo Information Form\'; return true;\" href=\"$edit_form\">Edit Demo Information Form</a>";
|
|
$add_link = "<a onMouseOver=\"window.status = \'Load New Demo Form\'; return true;\" href=\"$add_form\">Load New Demo Form</a>";
|
|
$tree_link = "<a onMouseOver=\"window.status = \'Load New Tree Form\'; return true;\" href=\"$tree_form\">Load New Tree Form</a>";
|
|
$update_link = "<a onMouseOver=\"window.status = \'Update Tables Form\'; return true;\" href=\"$update_form\">Update Tables Form</a>";
|
|
$custom_link = "<a onMouseOver=\"window.status = \'Custom List Manager\'; return true;\" href=\"$custom_form\">Custom List Manager</a>";
|
|
$category_link = "<a onMouseOver=\"window.status = \'Category Manager\'; return true;\" href=\"$category_form\">Cataegory Manager</a>";
|
|
########### The previous assignments was take from the Print_Help_Page subrouting ###############
|
|
########## If these lines are changed, they should be changed in both places #########
|
|
|
|
$DOIT = "click on the <img src=\"$IMGSRC_DOIT_BULLET\" border=0> icon in the "Do It!" column, next to the";
|
|
|
|
print <<EOT
|
|
<center>
|
|
<img src="$IMGSRC_GRADHRY">
|
|
<a name="create_custom_list">
|
|
<h3>Managing Custom Demo Lists</h3></A>
|
|
</center>
|
|
<p>
|
|
<center>
|
|
<table width=100%><tr><td>
|
|
|
|
To manage custom <i>demo lists</i>, $DOIT "Managing Custom Demo Lists" text.<br>
|
|
<p>
|
|
|
|
<b>Managing Custom Demo List Functionality</b>
|
|
|
|
<dl>
|
|
<dt>Creating a Custom Demo List
|
|
<dd><li>Enter the name of the custom demo list (e.g. "Network Games") in the text field and press "Enter".
|
|
<li>This will bring up a page with a list of all demos loaded in the interface.
|
|
<li>Check the demos you wish to include in your custom demo list and press the "Make List" button to create your custom demo list.
|
|
|
|
<dt>Editing a Custom Demo List
|
|
<dd><li>Click on the "Edit List" button.
|
|
<li>This will bring up a page with a list of all demos on your system.
|
|
<li>Check and uncheck demos to add and delete them from your custom list and press "Make List" when done.
|
|
|
|
<dt>Changing a Custom Demo List Name
|
|
<dd><li>Find the name of the custom demo list in the "Pick Demo List" portion of the page.
|
|
<li>To change the list's name, change the text in the "name" field and then click "Change Name".
|
|
|
|
<dt>Viewing a Custom Demo List
|
|
<dd><li>Find the list you want to view under the "Pick Demo List" portion of the page.
|
|
<li>Click on "View List" to bring up a pop-up window with the demos found in that list.
|
|
|
|
<dt>Deleting a Custom Demo List
|
|
<dd><li>Find the name of the custom list in the "Pick Demo List" portion of the page.
|
|
<li>To delete the list click on "Delete List" in the appropriate row.
|
|
<li>You will be prompted for confirmation. Click "OK" and the custom list will be deleted.
|
|
</dl>
|
|
|
|
</td></tr></table>
|
|
</center>
|
|
|
|
<center>
|
|
<img src="$IMGSRC_GRADHRY">
|
|
<a name="passwd">
|
|
<h3>Password Protection</h3></a>
|
|
<table width=100%><tr><td>
|
|
To create/change or delete a password, $DOIT "Password Protection" text.<br>
|
|
<p>
|
|
During public displays, it may be desirable to password protect the administration functionality of the HTML Demo Interface.
|
|
</td></tr></table>
|
|
</center>
|
|
<p>
|
|
|
|
<center>
|
|
<img src="$IMGSRC_GRADHRY">
|
|
<a name="edit_demo_info">
|
|
<h3>Editing Demo Information</h3></A>
|
|
<table width=100%><tr><td>
|
|
<p>
|
|
To edit demo information, $DOIT "Edit Demo Information" text.<br>
|
|
<p>
|
|
<b>Editing Demo Information Functionality</b>
|
|
|
|
<ol>
|
|
<li>Find the demo whose information you to wish edit in the "Edit" section.
|
|
<li>Click on the demo name.
|
|
<li>This will bring up a page with many fields.
|
|
<li>For each field, enter or select the appropriate information.
|
|
<li>Click on "Update" to continue.
|
|
<li>The next page is an example of what the completed demo information looks like.
|
|
<li>To make more changes, click the <img border=0 src=\"$IMGSRC_TOC_BACK\"> button in the bottom frame of your browser. Otherwise, the process is complete.
|
|
</ol>
|
|
|
|
</td></tr></table>
|
|
</center>
|
|
<p>
|
|
|
|
<center>
|
|
<img src="$IMGSRC_GRADHRY">
|
|
<a name="add_a_demo">
|
|
<h3>Add a Demo</h3></A>
|
|
<p>
|
|
<table width=100%><tr><td>
|
|
To add a new demo, $DOIT "Add a Demo" text.<br>
|
|
<p>
|
|
<b>Adding a Demo</b>
|
|
<p>
|
|
<ol>
|
|
<li>Select the tree in which your demo is to be added. The directory that the demo lives in must be in the same directory as the other demo in that particular tree. For instance, to add a demo the "IRIX Demos" tree the new demo has to located in the directory /usr/demos/General_Demos.
|
|
<li>Now, click "Add Demo".
|
|
<li>The next page should contain the "Add Demo: Customize Demo Information" form, if not, see "Handling Add Demo Errors" below.
|
|
<li>For each field, enter or select the appropriate information.
|
|
<li>Press the "Update" button.
|
|
<li>The demo information page, for the demo you just added, appears and the HTML Demo Interface demo tables are updated.
|
|
<li>You will now be able to access the new demo from the Demo List to which you added it.
|
|
</ol>
|
|
|
|
<b>Handling Add Demo Errors</b>
|
|
<ol>
|
|
<li>If there are problems adding a demo, the HTML Demo Interface will prompt you to
|
|
make certain changes. For example, if the demo directory you specified does not
|
|
exist, you will receive an error asking you to re-enter the demo directory.
|
|
<li>In most cases, you will receive a page with a list of errors. Each error is
|
|
a link to a pop-up window describing the error and how to correct it. In a few
|
|
cases, the interface will ask if you want to use default images for your demo.
|
|
Using default images is a good idea, as it will save you from having to create the images. The images can always be edited later.
|
|
<li>When you have fixed the error(s), click on "Try Again".
|
|
<li>Repeat as necessary.
|
|
</ol>
|
|
|
|
<p>
|
|
</td></tr></table>
|
|
</center>
|
|
|
|
<center>
|
|
<img src="$IMGSRC_GRADHRY">
|
|
<a name="load_tree">
|
|
<h3>Add a Group of Demos</h3></A>
|
|
<p>
|
|
<table width=100%><tr><td>
|
|
To add a group of demos, $DOIT "Add a Group of Demos" text.
|
|
|
|
<p>
|
|
|
|
Installing an SGI demo product like IRIX Demos, installs demos
|
|
into one directory. IRIX Demos uses /usr/demos/General_Demos. All of these demos
|
|
are available in the HTML Demo Interface via the IRIX Demos
|
|
<i>demo list</i>.
|
|
<p>
|
|
The "Add a Group of Demos" form allows anyone to create their own
|
|
<i>demo list</i> from their own group of demos. This prevents anyone from
|
|
having to add each demo to an existing <i>demo list</i>.
|
|
<p>
|
|
This mechanism is very useful for anyone who wants to ship a CD-ROM that
|
|
contains a group of demos. These demos can be run directly from the CD-ROM
|
|
and be available from the HTML Demo Interface.
|
|
<p>
|
|
|
|
<b>Add a Group of Demos Functionality</b>
|
|
|
|
<dl>
|
|
<dt>Adding a Group of Demos
|
|
<dd><li>In the "Add Demo List" section of the form enter the directory path to the group of demos in the "Path" field. (eg. IRIX Demos uses /usr/demos/General_Demos here.)
|
|
<li>In the "Name" field, enter the name for the <i>demo list</i> that will automatically be created.
|
|
<li>Click on "Add List" to add the group and create the new <i>demo list</i>.
|
|
<dt>Changing a Group's Demo List Name
|
|
<dd><li>Find the <i>demo list</i> that you wish to change.
|
|
<li>In the text field, type in the new name.
|
|
<li>Click "Change Name" to complete the process.
|
|
<dt>Viewing Demos in a Group
|
|
<dd><li>Find the of the <i>demo list</i> in "Pick Demo List" section.
|
|
<li>Click on "View Demos".
|
|
<li>This will pop up a list of all demos loaded under that <i>demo list</i>.
|
|
<dt>Deleting a Demo List Group
|
|
<dd><li>Find the of the <i>demo list</i> in "Pick Demo List" section.
|
|
<li>Click on "Delete Tree".
|
|
<li>Click "OK" to complete the process.
|
|
<li>Note: Deleting a tree does not physically remove any files from your hard drive, the HTML Demo Interface simply will not "know about" those demos.
|
|
</dl>
|
|
<p>
|
|
</td></tr></table>
|
|
</center>
|
|
|
|
|
|
|
|
<center>
|
|
<img src="$IMGSRC_GRADHRY">
|
|
<a name="managing_categories">
|
|
<h3>Managing Categories</h3></A>
|
|
<p>
|
|
<table width=100%><tr><td>
|
|
To manage demo categories, $DOIT "Managing Categories" text.<br>
|
|
</td></tr></table>
|
|
</center>
|
|
|
|
<center>
|
|
<table width=100%><tr><td>
|
|
|
|
<b>Managing Categories Functionality</b>
|
|
|
|
<dl>
|
|
<dt>Adding a Category
|
|
<dd><li>Find the type of category you want to add (eg. Features, Industries, Hardware).
|
|
<li>Click on the "New" button.
|
|
<li>This will prompt you for the name of your new category.
|
|
<li>Type the name of the new category in the text field and then click "OK".
|
|
|
|
<dt>Removing a Category
|
|
<dd><li>Find the category you want to remove.
|
|
<li>Click on the "Remove" button.
|
|
<li>This will bring up a confirmation box.
|
|
<li>Click on "OK" and the category will be removed.
|
|
|
|
<dt>Changing a Category Name
|
|
<dd><li>Find the category you want to rename.
|
|
<li>Click on the "ChangeName" button.
|
|
<li>This will prompt you for the new name.
|
|
<li>Enter the new name into the text field and click on "OK".
|
|
<p>
|
|
</td></tr></table>
|
|
</center>
|
|
|
|
<center>
|
|
<img src="$IMGSRC_GRADHRY">
|
|
<a name="update_demo_tables">
|
|
<h3>Update Demo Tables</h3></A>
|
|
<p>
|
|
<table width=100%><tr><td>
|
|
To update HTML Demo Interface demo tables, $DOIT "Update Demo Tables" text.<br>
|
|
</td></tr></table>
|
|
</center>
|
|
<p>
|
|
<center>
|
|
<table width=100%><tr><td>
|
|
The HTML Demo Interface keeps track of all the demos loaded on your system
|
|
in a set of tables. Every time you change demo information or add a new demo, the
|
|
interface recreates these tables. If your interface seems to display incorrect
|
|
demo information, then you might want to use the "Update Demo Tables"
|
|
form to update the tables manually.
|
|
<p>
|
|
</td></tr></table>
|
|
</center>
|
|
EOT
|
|
;
|
|
&Print_HTTP_Footer;
|
|
}
|