by dereine: Enlarge also the view name size in the ui. The database was already done
authorDaniel Wehner
Sat, 21 Jan 2012 11:07:58 +0000 (12:07 +0100)
committerDaniel Wehner
Sat, 21 Jan 2012 11:07:58 +0000 (12:07 +0100)
includes/admin.inc
plugins/export_ui/views_ui.class.php

index c374e9a..a13ec53 100644 (file)
@@ -311,7 +311,7 @@ function views_ui_add_form($form, &$form_state) {
   );
   $form['name'] = array(
     '#type' => 'machine_name',
-    '#maxlength' => 32,
+    '#maxlength' => 128,
     '#machine_name' => array(
       'exists' => 'views_get_view',
       'source' => array('human_name'),
index 39e182c..22b65cb 100644 (file)
@@ -425,8 +425,8 @@ function views_ui_clone_form($form, &$form_state) {
     '#title' => t('View name'),
     '#type' => 'machine_name',
     '#required' => TRUE,
-    '#maxlength' => 32,
-    '#size' => 32,
+    '#maxlength' => 128,
+    '#size' => 128,
     '#machine_name' => array(
       'exists' => 'ctools_export_ui_edit_name_exists',
       'source' => array('human_name'),