From b5d491624ededd09cd57ce03a61fedfcdc97b597 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 12 Jun 2008 19:07:36 +0000 Subject: - Patch #268914 by catch: small usability improvements to taxonomy and content type overview pages. --- modules/node/content_types.inc | 2 +- modules/taxonomy/taxonomy.admin.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/node/content_types.inc b/modules/node/content_types.inc index a2214a057..754084d13 100644 --- a/modules/node/content_types.inc +++ b/modules/node/content_types.inc @@ -20,7 +20,7 @@ function node_overview_types() { if (node_hook($type, 'form')) { $type_url_str = str_replace('_', '-', $type->type); $row = array( - l($name, 'admin/build/node-type/' . $type_url_str), + check_plain($name), check_plain($type->type), filter_xss_admin($type->description), ); diff --git a/modules/taxonomy/taxonomy.admin.inc b/modules/taxonomy/taxonomy.admin.inc index 52c0aa938..3dae29628 100644 --- a/modules/taxonomy/taxonomy.admin.inc +++ b/modules/taxonomy/taxonomy.admin.inc @@ -85,7 +85,7 @@ function theme_taxonomy_overview_vocabularies($form) { $rows[] = array(array('data' => t('No vocabularies available.'), 'colspan' => '5')); } - $header = array(t('Name'), t('Type')); + $header = array(t('Vocabulary name'), t('Content types')); if (isset($form['submit'])) { $header[] = t('Weight'); drupal_add_tabledrag('taxonomy', 'order', 'sibling', 'vocabulary-weight'); -- cgit v1.2.3