Skip to content
Snippets Groups Projects
Commit 775f93e2 authored by Yas Naoi's avatar Yas Naoi
Browse files

Fixed an error message (minor).

parent 9a3f49c5
No related branches found
No related tags found
No related merge requests found
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
*/ */
/** /**
* Updated by yas 2015/03/25
* Updated by Jiten 2011/07/12 * Updated by Jiten 2011/07/12
* Updated by Jiten 2011/06/20 * Updated by Jiten 2011/06/20
* Updated by yas 2011/02/14 * Updated by yas 2011/02/14
...@@ -93,7 +94,7 @@ function cloud_server_templates_list($form, $form_submit = '', $cloud_context, $ ...@@ -93,7 +94,7 @@ function cloud_server_templates_list($form, $form_submit = '', $cloud_context, $
$create_ssh_key_url = filter_xss( l( t('Create SSH Key' ), "clouds/$cloud_context/ssh_keys/create", array('query' => $destination) ) ); $create_ssh_key_url = filter_xss( l( t('Create SSH Key' ), "clouds/$cloud_context/ssh_keys/create", array('query' => $destination) ) );
} }
drupal_set_message(check_plain(t('There is no information of SSH Keys')) . $create_ssh_key_url, 'warning'); drupal_set_message(check_plain(t('There is no information of SSH Keys: ')) . $create_ssh_key_url, 'warning');
} }
$create_sg_url = ''; $create_sg_url = '';
...@@ -104,7 +105,7 @@ function cloud_server_templates_list($form, $form_submit = '', $cloud_context, $ ...@@ -104,7 +105,7 @@ function cloud_server_templates_list($form, $form_submit = '', $cloud_context, $
$create_sg_url = filter_xss( l( t('Create Security Group' ), "clouds/$cloud_context/security_groups/create", array('query' => $destination) ) ); $create_sg_url = filter_xss( l( t('Create Security Group' ), "clouds/$cloud_context/security_groups/create", array('query' => $destination) ) );
} }
drupal_set_message(check_plain(t('There is no information of Security Group')) . $create_sg_url, 'warning'); drupal_set_message(check_plain(t('There is no information of Security Group: ')) . $create_sg_url, 'warning');
} }
} }
else { else {
...@@ -116,7 +117,7 @@ function cloud_server_templates_list($form, $form_submit = '', $cloud_context, $ ...@@ -116,7 +117,7 @@ function cloud_server_templates_list($form, $form_submit = '', $cloud_context, $
if ($image_count == 0) { if ($image_count == 0) {
$images_url = filter_xss( l( t('@cloud_name - Update Image Information', array('@cloud_name' => $cloud_list[$cloud_context])), "clouds/$cloud_context/getimagedata", array('query' => $destination) ) ); $images_url = filter_xss( l( t('@cloud_name - Update Image Information', array('@cloud_name' => $cloud_list[$cloud_context])), "clouds/$cloud_context/getimagedata", array('query' => $destination) ) );
drupal_set_message(check_plain(t('There are no image information:')) . $images_url, 'warning'); drupal_set_message(check_plain(t('There are no image information: ')) . $images_url, 'warning');
} }
else { else {
...@@ -169,7 +170,7 @@ function cloud_server_templates_list($form, $form_submit = '', $cloud_context, $ ...@@ -169,7 +170,7 @@ function cloud_server_templates_list($form, $form_submit = '', $cloud_context, $
if ($image_count == 0) { if ($image_count == 0) {
$images_url = filter_xss( l( t('@cloud_name - Update Image Information', array('@cloud_name' => $cloud_display_name)), "clouds/$cloud_context_lp/getimagedata", array('query' => $destination) ) ); $images_url = filter_xss( l( t('@cloud_name - Update Image Information', array('@cloud_name' => $cloud_display_name)), "clouds/$cloud_context_lp/getimagedata", array('query' => $destination) ) );
drupal_set_message(check_plain(t('There are no image information:')) . $images_url, 'warning'); drupal_set_message(check_plain(t('There are no image information: ')) . $images_url, 'warning');
} }
else { else {
...@@ -911,3 +912,4 @@ function cloud_server_templates_get_scripting_options() { ...@@ -911,3 +912,4 @@ function cloud_server_templates_get_scripting_options() {
return $scripting_options; return $scripting_options;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment