summaryrefslogtreecommitdiff
path: root/modules/path/path.admin.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-11-22 10:49:01 +0000
committerDries Buytaert <dries@buytaert.net>2008-11-22 10:49:01 +0000
commitbbb38296e04616fc9885f913ada8e9bd10c52c74 (patch)
treecd08c40eb437426e00b9280c0d9382b3e5ccfa4a /modules/path/path.admin.inc
parentf6727ce9f011bc51627c680576aaec89e278d6f4 (diff)
downloadbrdo-bbb38296e04616fc9885f913ada8e9bd10c52c74.tar.gz
brdo-bbb38296e04616fc9885f913ada8e9bd10c52c74.tar.bz2
- Patch #335385 by Dave Reid: fixed maxlength of path alias fields to be consistent with the database.
Diffstat (limited to 'modules/path/path.admin.inc')
-rw-r--r--modules/path/path.admin.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/path/path.admin.inc b/modules/path/path.admin.inc
index 6e2a440af..664f82d06 100644
--- a/modules/path/path.admin.inc
+++ b/modules/path/path.admin.inc
@@ -91,7 +91,7 @@ function path_admin_form(&$form_state, $edit = array('src' => '', 'dst' => '', '
'#type' => 'textfield',
'#title' => t('Existing system path'),
'#default_value' => $edit['src'],
- '#maxlength' => 64,
+ '#maxlength' => 128,
'#size' => 45,
'#description' => t('Specify the existing path you wish to alias. For example: node/28, forum/1, taxonomy/term/1+2.'),
'#field_prefix' => url(NULL, array('absolute' => TRUE)) . (variable_get('clean_url', 0) ? '' : '?q='),
@@ -101,7 +101,7 @@ function path_admin_form(&$form_state, $edit = array('src' => '', 'dst' => '', '
'#type' => 'textfield',
'#title' => t('Path alias'),
'#default_value' => $edit['dst'],
- '#maxlength' => 64,
+ '#maxlength' => 128,
'#size' => 45,
'#description' => t('Specify an alternative path by which this data can be accessed. For example, type "about" when writing an about page. Use a relative path and don\'t add a trailing slash or the URL alias won\'t work.'),
'#field_prefix' => url(NULL, array('absolute' => TRUE)) . (variable_get('clean_url', 0) ? '' : '?q='),
@@ -197,7 +197,7 @@ function path_admin_filter_form(&$form_state, $keys = '') {
'#type' => 'textfield',
'#title' => '',
'#default_value' => $keys,
- '#maxlength' => 64,
+ '#maxlength' => 128,
'#size' => 25,
);
$form['basic']['inline']['submit'] = array(