예제 #1
0
            $statusStr = 'Success: Inventory Project created! To add checklists to the project, open the editing pane by ' . 'clicking on editing symbol to the far right of project name and then select the Checklist Management tab.';
        }
    } elseif ($projSubmit == 'Submit Edits') {
        $projManager->submitProjEdits($_POST);
    } elseif ($projSubmit == 'deluid') {
        if (!$projManager->deleteManager($_GET['uid'])) {
            $statusStr = $projManager->getErrorStr();
        }
    } elseif ($projSubmit == 'Add to Manager List') {
        if (!$projManager->addManager($_POST['uid'])) {
            $statusStr = $projManager->getErrorStr();
        }
    } elseif ($projSubmit == 'Add Checklist') {
        $projManager->addChecklist($_POST['clid']);
    } elseif ($projSubmit == 'Delete Checklist') {
        $projManager->deleteChecklist($_POST['clid']);
    }
}
?>
<html>
<head>
	<title><?php 
echo $defaultTitle;
?>
: Inventory Projects</title>
	<link href="../css/base.css?<?php 
echo $CSS_VERSION;
?>
" type="text/css" rel="stylesheet" />
	<link href="../css/main.css?<?php 
echo $CSS_VERSION;