form.inc
上传用户:xiao730204
上传日期:2007-01-04
资源大小:141k
文件大小:1k
- <?php
- Function print_form() {
- global $default;
- global $lang;
- global $session_id;
- global $user_db;
- global $template_obj;
- global $target_username;
- global $target_domain_id;
- $form_title = 'Add phone number for ' . $target_username;
- include( './templates/form/form_top.inc' );
- $value = $session_id;
- $name = 'session_id';
- include( './templates/form/form_hidden_elem.inc' );
- $value = $target_username;
- $name = 'target_username';
- include( './templates/form/form_hidden_elem.inc' );
- $value = $target_domain_id;
- $name = 'target_domain_id';
- include( './templates/form/form_hidden_elem.inc' );
- $desc_text = 'Phone type';
- $name = 'phone_number_type';
- $value = Array();
- $value[] = 'HOME';
- $value[] = 'WORK';
- $value[] = 'MOBILE';
- include( './templates/form/form_multiselect_elem.inc' );
- $value = $phone_number;
- $desc_text = 'Phone Number';
- $desc = '';
- $size = 50;
- $name = 'phone_number';
- include( './templates/form/form_text_elem.inc' );
- include( './templates/form/form_bottom.inc' );
- }
- include( './templates/main.inc' );
- $form_mode = MANAGER_USER_ADD_PHONE;
- ?>