* @since File included in initial release * */ if (!isset($APP)) { die; } // $default_controller = $APP['controller_path'].'/aspect_controller.php'; $default_controller = 'src/controllers/subject_types_controller.php'; $action = 'new_subject_type'; $id = NULL; if (isset($_GET['id'])) { $id = (int) trim($_GET['id']); } // $taxonomy = new Taxonomy; // $taxonomy->load(); $dropdowns = new HTMLDropDown(); ?> <form class="form-horizontal" id="new_subject_type_form"> <fieldset> <input name="action" type="hidden" value="<?php echo $action; ?> " /> <!-- Form Name --> <legend>Add new subject type</legend> <!-- Text input--> <div class="form-group"> <label class="col-md-4 control-label" for="type_name">Name</label> <div class="col-md-6">
* @since File included in initial release * */ if (!isset($APP)) { die; } // $default_controller = $APP['controller_path'].'/aspect_controller.php'; $default_controller = 'src/controllers/subject_controller.php'; $post_data = 'action: "new_subject"'; $id = NULL; if (isset($_GET['id'])) { $id = (int) trim($_GET['id']); } $taxonomy = new Taxonomy(); $taxonomy->load(); $ddm = new HTMLDropDown(); ?> <form class="form-horizontal" id="new_subject_form"> <fieldset> <input name="action" type="hidden" value="new_subject" /> <!-- Form Name --> <legend>Create a new Subject</legend> <!-- Text input--> <div class="form-group"> <label class="col-md-4 control-label" for="name">Subject name</label> <div class="col-md-6"> <input id="name" name="name" type="text" placeholder="" class="form-control input-md"> <span class="help-block">The name of