Revision 5fdcad30
Added by Andreas Kohlbecker about 4 years ago
modules/cdm_dataportal/cdm_dataportal.module | ||
---|---|---|
1941 | 1941 |
} |
1942 | 1942 |
drupal_set_title(t('Registration ' . $status_text), PASS_THROUGH); |
1943 | 1943 |
//$status_message; |
1944 |
$render_array['error'] = markup_to_render_array("A registration with the identifier " . $registration_identifier . " is " . $status_text);
|
|
1944 |
drupal_set_message("A registration with the identifier " . $registration_identifier . " is " . $status_text, "status");
|
|
1945 | 1945 |
} else { |
1946 | 1946 |
drupal_set_title(t('Registration not found'), PASS_THROUGH); |
1947 |
$render_array['error'] = markup_to_render_array("A registration with the identifier " . $registration_identifier . " does not exist.");
|
|
1947 |
drupal_set_message("A registration with the identifier " . $registration_identifier . " is " . $status_text, "warning");
|
|
1948 | 1948 |
} |
1949 | 1949 |
} |
1950 | 1950 |
|
1951 | 1951 |
$render_array = array( |
1952 |
'#prefix' => '<div class="registration">',
|
|
1952 |
'#prefix' => '<div id="registration">',
|
|
1953 | 1953 |
'registration' => $render_array, |
1954 | 1954 |
'#suffix' => '</div>', |
1955 | 1955 |
); |
Also available in: Unified diff
ref #7927 showing registration status in drupal message box