Location: PHPKode > projects > Internet Task Management System > itms_mysql_build_0111/help.php
<?php

include("config.php");
include("error_handler.php");
include("db_tools.php");
include("toolbox.php");
include("login.php");

/*
 * ITMS ValleyData source file version 1.0 May 11, 2001
 *
 * Defines the main content of the help system, as well as the content displayed in the iframe
 *
 *
 * Internet Task Management System: An online system used for recording information about and assigning tasks and processes.
 * Copyright (C) 2001  ValleyData Programming Group
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 * See file named "gpl.txt" included with source code or
 * visit http://www.gnu.org/copyleft/gpl.txt on the internet.
 */

print("<html>");
print("<head>");
	print("<link rel=\"stylesheet\" type=\"text/css\" href=\"itms.css\">");
print("</head>");
print("<body class=\"helpcontent\">");

if(!isset($index))
    $index = 0;

//this function will print an index link
function print_index($text, $target, $level = "0")
{
    $table = "<table><tr><td>";
    for($i = 0; $i < $level; $i++)
        $table .= "&nbsp;&nbsp;&nbsp;";
    $table .= "<A HREF=\"help.php?index=0#$target\">$text</A></td></tr></table>";
    print($table);
}

//this function will print a section of the help corresponding to an ITMS page
function print_help($module_name, $module_target, $module_info)
{
$help_start = <<<HS
    <TABLE>
    <TR>
        <TD colspan="2">
HS;

$help_mid = <<<HM
        </TD>
    </TR>
    <TR>
        <TD>&nbsp;&nbsp;&nbsp;</TD>
        <TD>
HM;
    
$help_end = <<<HE
    </TD>
    </TR>
    </TABLE>
HE;

    $help_info = $help_start . "<a NAME=" . $module_target . 
        "><FONT COLOR=\"#990033\"><b>$module_name</b></FONT></a>" . $help_mid .
        "<FONT  COLOR=\"#003399\">$module_info</FONT>" . $help_end;
    print($help_info);
}

//*******************************************************************
//it is critical to keep the format of this file standard throughout,
//since it will be used for creation of the user manual.
//*******************************************************************

/*** index.php ***/
$module_name = "Pending Tasks";
$module_target = "index.php";
$module_info = "This is the default start page for ITMS, it shows current tasks assigned to you, " . 
			   "as well as tasks you have currently assigned.  You can show or hide details for " .
               "both tasks assigned to you, as well as tasks you have assigned.  To complete a " .
               "task assigned to you, check the box next to that task, and press the " .
               "\"Complete Selected Tasks\" " .
               "button.  To edit the details of, or unassign a task you have assigned, click ".
               "the appropriate button to the right of the task you want to edit.";
($index == 1) ? print_index($module_name, $module_target, "0") : print_help($module_name, $module_target, $module_info);

/*** task.php ***/
$module_name = "Tasks";
$module_target = "task.php";
$module_info = "This page shows the task templates currently in the system that you have access to.  " .
               "A task template is a work element that must be done like: \"Order employee pager\", ".
               "or \"Issue employee laptop.\"  If you want to edit the details of an existing task template ".
               "press the \"Edit Task\" link on the menu.";
($index == 1) ? print_index($module_name, $module_target, "0") : print_help($module_name, $module_target, $module_info);

/*** task_assign.php ***/
$module_name = "Assign Task";
$module_target = "task_assign.php";
$module_info = "This page allows you to assign a specific task to an ITMS user.  " . 
			"Choose a task to assign from the list of previously created tasks, or " .
			"assign a one-time task with a new name.";
($index == 1) ? print_index($module_name, $module_target, "1") : print_help($module_name, $module_target, $module_info);

/*** task_assign2.php ***/
$module_name = "Assign Task - Step 2";
$module_target = "task_assign2.php";
$module_info = "This is the second assign task page, where you pick the user to assign " .
		   "the task to, as well as the information the user will see about the task.  " . 
			"Choose the due-date and time for the task, the priority of the task, ". 
			"and decide whether or not you would like to receive a notice when the " .
			"user completes the task.  If you want this to be a reoccurring task, " .
			"enter a number in the \"Repeat Every\" field to represent the time interval " .
			" the task will repeat, and select either days, weeks, or months.";
($index == 1) ? print_index($module_name, $module_target, "2") : print_help($module_name, $module_target, $module_info);

/*** task_create.php ***/
$module_name = "Create Task";
$module_target = "task_create.php";
$module_info = "This page allows you to create a general task in the system such as, " . 
			"\"Order employee pager\".  Type in the name of the task, default information " .
			"for the assigner, and pick either group or private task.  If the new task is a " .
			"group task, it can only be assigned by users which belong to the group selected.  " .
			"A private task is a task that can only be assigned by you.";
($index == 1) ? print_index($module_name, $module_target, "1") : print_help($module_name, $module_target, $module_info);

/*** task_edit.php ***/
$module_name = "Edit Task";
$module_target = "task_edit.php";
$module_info = "This page allows you to edit an existing task template in the system.  " . 
			"You can modify the name of the task, and the default information.";
($index == 1) ? print_index($module_name, $module_target, "1") : print_help($module_name, $module_target, $module_info);

/*** task_delete.php ***/
$module_name = "Delete Task";
$module_target = "task_delete.php";
$module_info = "This page allows you to remove a task template from the system."; 
($index == 1) ? print_index($module_name, $module_target, "1") : print_help($module_name, $module_target, $module_info);

/*** task_pending_edit.php ***/
$module_name = "Edit Pending Task";
$module_target = "task_pending_edit.php";
$module_info = "If it is necessary to edit a pending task that you have assigned, you can " .
               "click the \"Edit This Task\" button on the Edit Pending Task page.  You can change " .
               "who the task is assigned to, the task's information, the task's priority, the task's " .
               "due-date and the task's time period to repeat.";
($index == 1) ? print_index($module_name, $module_target, "1") : print_help($module_name, $module_target, $module_info);

/*** task_assigned_delete.php ***/
$module_name = "Unassign Task";
$module_target = "task_assigned_delete.php";
$module_info = "If it is necessary to unassign a pending task that you have assigned, you can " .
               "click the \"Unassign Task\" button on the Edit Pending Task page.  Once the task is " .
               "unassigned, the person who was assigned the task will be notified via email.";
($index == 1) ? print_index($module_name, $module_target, "1") : print_help($module_name, $module_target, $module_info);

/*** process.php ***/
$module_name = "Processes";
$module_target = "process.php";
$module_info = "This page shows the processes currently in the system that you have access to.  " .
               "A process is a collection of tasks, for example the process: \"Hire Employee\" " .
               "might contain tasks such as \"Order employee pager\", \"Issue employee laptop\", " .
               "etc...  If you want to edit the details of an existing process press the \"Edit Process\" " .
               "link on the menu.";
($index == 1) ? print_index($module_name, $module_target, "0") : print_help($module_name, $module_target, $module_info);

/*** process_assign.php ***/
$module_name = "Assign Process";
$module_target = "process_assign.php";
$module_info = "This is the first step in assigning a group of tasks to users of ITMS.  " .
               "Choose which process you wish to assign and click \"Next\".  ";
($index == 1) ? print_index($module_name, $module_target, "1") : print_help($module_name, $module_target, $module_info);

/*** process_assign2.php ***/
$module_name = "Assign Process - Step 2";
$module_target = "process_assign2.php";
$module_info = "This is the second step in assigning a group of tasks to users of ITMS.  " .
               "Choose the amount of each task in the process you wish to assign and click \"Next\".  ";
($index == 1) ? print_index($module_name, $module_target, "2") : print_help($module_name, $module_target, $module_info);

/*** process_assign3.php ***/
$module_name = "Assign Process - Step 3";
$module_target = "process_assign3.php";
$module_info = "This is the third and final step in assigning a group of tasks to users of ITMS.  " .
               "Type in the default information for the process (this information will be appended " .
			   "to the description of each individual task in this process).  For each task, choose who to assign " .
               "the task to, the priority, the due-date, whether or not you want to be notified when the " .
               "task is complete, the period to repeat the task (if any), and the information for the task.";
($index == 1) ? print_index($module_name, $module_target, "3") : print_help($module_name, $module_target, $module_info);

/*** process_create.php ***/
$module_name = "Create Process";
$module_target = "process_create.php";
$module_info = "On this page, you can add a general process into ITMS.  Type in the name for the " .
               "new process, information describing the process, and choose whether the process " .
               "is a private process (can only be assigned by you) or a group process (can only be " . 
               "assigned by a member of that group).  For each task you want " .
               "included in the new process, check the box next to the name of the task.";
($index == 1) ? print_index($module_name, $module_target, "1") : print_help($module_name, $module_target, $module_info);

/*** process_edit.php ***/
$module_name = "Edit Process";
$module_target = "process_edit.php";
$module_info = "If it is necessary to edit a process that you have access to, you can " .
               "click the \"Edit Process\" button from the menu.  You can change " .
               "the name of the process, the default information of the process, as well as " .
               "the tasks that are included in the process.";
($index == 1) ? print_index($module_name, $module_target, "1") : print_help($module_name, $module_target, $module_info);

/*** process_delete.php ***/
$module_name = "Delete Process";
$module_target = "process_delete.php";
$module_info = "If it is necessary to delete a process that you have access to, you can " .
               "click the \"Delete Process\" button from the menu.";
($index == 1) ? print_index($module_name, $module_target, "1") : print_help($module_name, $module_target, $module_info);

/*** myprefs.php ***/
$module_name = "My Preferences";
$module_target = "myprefs.php";
$module_info = "On this page you can change the email address ITMS uses to send you reminders, " .
               "whether you wish to receive HTML email, and on which days you wish to get reminders " .
               "about pending tasks.  ITMS will send you an email about each task due on the days that " .
               "are selected here. You may also change the password you use to log into ITMS on this page.";
($index == 1) ? print_index($module_name, $module_target, "0") : print_help($module_name, $module_target, $module_info);

/*** user_mgt.php ***/
if($isAdmin) //if applicable (for maintenance, and installation topics)
{
    $module_name = "User Management";
    $module_target = "user_mgt.php";
    $module_info = "On this page you may create a new user of ITMS, edit an existing ITMS user " .
                   "or delete an existing user from ITMS.  To add a user to ITMS, type in the new " .
                   "user's name and password, and pick which groups the user will belong to, also " .
                   "check the box next to \"Administrator\" if you wish the new user to have admin " .
                   "privileges.  " .
                   "This page is only accessible by users which are Administrators of ITMS.";
    ($index == 1) ? print_index($module_name, $module_target, "0") : print_help($module_name, $module_target, $module_info);
}

/*** group_mgt.php ***/
if($isAdmin) //if applicable (for maintenance, and installation topics)
{
    $module_name = "Group Management";
    $module_target = "group_mgt.php";
    $module_info = "On this page you may create a new group in ITMS, edit an existing group, " .
				   "or delete an existing group from ITMS.  To add a group to ITMS, type in the " .
				   "new group's name and pick which users will belong to the group. " .
                   "This page is only accessible by users which are Administrators of ITMS.";
    ($index == 1) ? print_index($module_name, $module_target, "0") : print_help($module_name, $module_target, $module_info);
}

/*** user_tasks_reassign.php ***/
if($isAdmin) //if applicable (for maintenance, and installation topics)
{
    $module_name = "Reassign Tasks";
    $module_target = "user_tasks_reassign.php";
    $module_info = "On this page you may reassign an ITMS user's tasks to other ITMS users. If the ".
                   "\"&lt;Unassign Task&gt;\" option is selected for a task, that task will be unassigned.";
    ($index == 1) ? print_index($module_name, $module_target, "0") : print_help($module_name, $module_target, $module_info);
}

if($index != 1) for($i = 0; $i < 6; $i++)
{
   print("<br>\n");
}

print("<font COLOR=\"#990033\">ITMS version 1.0 Copyright &copy; 2001, ValleyData Programming Group<br>");
print("ITMS comes with ABSOLUTELY NO WARRANTY;<br>");
print("This is free software, and you are welcome to redistribute it ");
print("under certain conditions;<br>");
print("Please see the gpl.txt file for more information.</font><br>");
print("<br><br>");
print("<b><font COLOR=\"#990033\">ITMS Team: </font><br>\n");
print("<font COLOR=\"#003399\">\n");
print("Matt Palmerlee<br>\n");
print("Aaron McBride<br>\n");
print("Ryan Mahoney<br>\n");
print("Charles Smothers<br>\n");
print("Jaspreet Singh<br><br>\n");
print("</font>\n");
print("<font COLOR=\"#990033\">Special Thanks To: \n");
print("<A HREF=\"http://www.ryancooper.com\" target=\"_blank\">Ryan Cooper</A> for ITMS images</font></b>\n");

?>
</body>
</html>
Return current item: Internet Task Management System