* * 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., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * http://www.gnu.org/copyleft/gpl.html * */ require_once('includes/common.php'); require_once('includes/SI_ProjectStatus.php'); require_once('includes/SI_ProjectPriority.php'); require_once('includes/SI_TaskStatus.php'); require_once('includes/SI_TaskPriority.php'); checkLogin("admin"); $project_status = new SI_ProjectStatus(); $project_statuses = $project_status->retrieveSet(); if($project_statuses === FALSE){ $error_msg .= "Error getting project statuses!\n"; debug_message($project_status->getLastError()); } $project_priority = new SI_ProjectPriority(); $project_prioirities = SI_ProjectPriority::retrieveSet(); if($project_prioirities === FALSE){ $error_msg .= "Error getting project priorities!\n"; debug_message($project_priority->getLastError()); } $task_priority = new SI_TaskPriority(); $task_prioirities = $task_priority->retrieveSet();
<?php echo SI_Company::getSelectTags($project->company_id); ?> </select> </td> </tr> <tr> <td class="form_field_header_cell">Project Name:</td> <td class="form_field_cell"><input name="name" tabindex="2" class="input_text" size="45" type="text" value=""></td> </tr> <tr> <td class="form_field_header_cell">Project Status:</td> <td class="form_field_cell"> <select name="project_status_id" class="input_text" tabindex="3"> <?php echo SI_ProjectStatus::getSelectTags(); ?> </select> </td> </tr> <tr> <td class="form_field_header_cell">Project Priority:</td> <td class="form_field_cell"> <select name="project_priority_id" class="input_text" tabindex="4"> <?php echo SI_ProjectPriority::getSelectTags(); ?> </select> </td> </tr> <tr>
?> </a><div> <table border="0" cellspacing="0" cellpadding="0" class="form_table"> <tr> <td class="form_field_header_cell">Name:</td> <td class="form_field_cell"><input name="name" class="input_text" size="45" type="text" value="<?php echo $project->name; ?> "></td> </tr> <tr> <td class="form_field_header_cell">Status:</td> <td class="form_field_cell"> <select name="project_status_id" class="input_text"> <?php echo SI_ProjectStatus::getSelectTags($project->project_status_id); ?> </select> </td> </tr> <tr> <td class="form_field_header_cell">Priority:</td> <td class="form_field_cell"> <select name="project_priority_id" class="input_text"> <?php echo SI_ProjectPriority::getSelectTags($project->project_priority_id); ?> </select> </td> </tr> <tr>