Skip to content

Instantly share code, notes, and snippets.

@pvhee
Created June 15, 2014 23:41
Show Gist options
  • Select an option

  • Save pvhee/30c2a5c655ed17d078c2 to your computer and use it in GitHub Desktop.

Select an option

Save pvhee/30c2a5c655ed17d078c2 to your computer and use it in GitHub Desktop.
diff --git a/plugins/export_ui/semantic_fields_ctools_export_ui.inc b/plugins/export_ui/semantic_fields_ctools_export_ui.inc
index 3c31148..274c82e 100644
--- a/plugins/export_ui/semantic_fields_ctools_export_ui.inc
+++ b/plugins/export_ui/semantic_fields_ctools_export_ui.inc
@@ -325,15 +325,12 @@ function semantic_fields_ctools_export_ui_form(&$form, &$form_state) {
);
if (module_exists('token') == TRUE) {
$form['semantic_field_settings']['tokens_fieldset']['info'] = array(
- '#markup' => t('You could use tokens, like <em>[node:title]</em> and <em>[node:url]</em> !token_tree', array(
- '!token_tree' => theme(
- 'token_tree', array(
- 'token_types' => 'all',
- 'click_insert' => FALSE,
- 'show_restricted' => TRUE,
- )
- )
- )),
+ '#markup' => t('You could use tokens, like
+ <em>[node:title]</em> and <em>[node:url]</em>' .
+ theme('token_tree', array(
+ 'token_types' => 'all',
+ 'click_insert' => FALSE,
+ 'show_restricted' => TRUE))),
);
}
else {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment