2 die(T('Hors service!'));
3 $this->process_http_request_post('new', false, false, "$URL_INTERNAL/2");
6 echo $this->render_form_add('model');
8 case 2: //TODO: reuse assistants/store for this step
9 $model_id = trim($_GET['last']);
10 $columns = $this->db
->get_columns('item');
11 $selectbox = $this->db
->columns_get_selectbox($columns, 'item');
13 $current = array(array(
14 'model_id' => $model_id,
17 'item_author' => $this->db
->auth
->get_user_id()
20 $action = $_SERVER['SCRIPT_NAME'].'/item/new';
21 echo $this->html
->render_insert_form('item', $columns, $selectbox, $current, false, $action);
This page took 0.324144 seconds and 4 git commands to generate.