diff options
author | Sashi20 | 2021-08-24 11:51:28 +0530 |
---|---|---|
committer | Sashi20 | 2021-08-24 11:51:28 +0530 |
commit | bce18b6c1950b107e445106b99d1e9315e93866a (patch) | |
tree | 401d0c92a9acabb67a645854ffeaa5c7a5724adf /proposal.inc | |
parent | 21b1b1682409b3f46f94694bd84c9289a2d25796 (diff) | |
download | cfd_lab_migration-bce18b6c1950b107e445106b99d1e9315e93866a.tar.gz cfd_lab_migration-bce18b6c1950b107e445106b99d1e9315e93866a.tar.bz2 cfd_lab_migration-bce18b6c1950b107e445106b99d1e9315e93866a.zip |
Resolve issue while applying for an open proposal
Diffstat (limited to 'proposal.inc')
-rwxr-xr-x | proposal.inc | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/proposal.inc b/proposal.inc index e580467..bd35d39 100755 --- a/proposal.inc +++ b/proposal.inc @@ -526,64 +526,3 @@ function lab_migration_proposal_form_submit($form, &$form_state) drupal_set_message(t('We have received you Lab migration proposal. We will get back to you soon.'), 'status'); drupal_goto(''); } -/*function _lm_list_of_states() - { - $states = array(0 => '-Select-'); - $query = db_select('list_states_of_india'); - $query->fields('list_states_of_india'); - //$query->orderBy('', ''); - $states_list = $query->execute(); - while ($states_list_data = $states_list->fetchObject()) - { - $states[$states_list_data->state] = $states_list_data->state; - } - return $states; - }*/ -/*function _lm_list_of_cities() - { - $city = array(0 => '-Select-'); - $query = db_select('list_cities_of_india'); - $query->fields('list_cities_of_india'); - $query->orderBy('city', 'ASC'); - $city_list = $query->execute(); - while ($city_list_data = $city_list->fetchObject()) - { - $city[$city_list_data->city] = $city_list_data->city; - } - return $city; - } -function _lm_list_of_departments() - { - $department = array(); - $query = db_select('list_of_departments'); - $query->fields('list_of_departments'); - $query->orderBy('id', 'DESC'); - $department_list = $query->execute(); - while ($department_list_data = $department_list->fetchObject()) - { - $department[$department_list_data->department] = $department_list_data->department; - } - return $department; - }*/ -/*function _lm_list_of_software_version() - { - $software_version = array(); - $query = db_select('openfoam_software_version'); - $query->fields('openfoam_software_version'); - $query->orderBy('id', 'DESC'); - $software_version_list = $query->execute(); - while ($software_version_list_data = $software_version_list->fetchObject()) - { - $software_version[$software_version_list_data->openfoam_version] = $software_version_list_data->openfoam_version; - } - return $software_version; - }*/ -function _lm_dir_name($lab, $name, $university) - { - $lab_title = ucname($lab); - $proposar_name = ucname($lab); - $university_name = ucname($university); - $dir_name = $lab_title . " " . "by". " " . $proposar_name . ' ' . $university_name; - $directory_name = str_replace("__", "_", str_replace(" ", "_", $dir_name)); - return $directory_name; - } |