summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-06-12 19:07:36 +0000
committerDries Buytaert <dries@buytaert.net>2008-06-12 19:07:36 +0000
commitb5d491624ededd09cd57ce03a61fedfcdc97b597 (patch)
treed8a4cd593cb0252a2e53e84da7ed86664541924b /modules
parent038a36b65260c28d104db830d78573915706bf4b (diff)
downloadbrdo-b5d491624ededd09cd57ce03a61fedfcdc97b597.tar.gz
brdo-b5d491624ededd09cd57ce03a61fedfcdc97b597.tar.bz2
- Patch #268914 by catch: small usability improvements to taxonomy and content type overview pages.
Diffstat (limited to 'modules')
-rw-r--r--modules/node/content_types.inc2
-rw-r--r--modules/taxonomy/taxonomy.admin.inc2
2 files changed, 2 insertions, 2 deletions
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');