From aa1413d82ef197396dbafda17fbc1596fce856fc Mon Sep 17 00:00:00 2001
From: Dries Buytaert <dries@buytaert.net>
Date: Tue, 30 Nov 2004 18:40:24 +0000
Subject: [PATCH] - Fixed #13643: increased the maxlength of the 'path to
 custom logo'-setting.

---
 modules/system.module        | 2 +-
 modules/system/system.module | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/system.module b/modules/system.module
index 1700ee45f16f..123a4f273e53 100644
--- a/modules/system.module
+++ b/modules/system.module
@@ -628,7 +628,7 @@ function system_theme_settings() {
   // Logo settings
   if ((!$key) || in_array('logo', $features)) {
     $group = form_checkbox(t('Use the default logo'), "$var][default_logo", 1, $settings['default_logo'], t('Check here if you want the theme to use the logo supplied with it.'));
-    $group .= form_textfield(t('Path to custom logo'), "$var][logo_path", $settings['logo_path'], 50, 60, t('The path to the file you would like to use as your logo file instead of the default logo.'));
+    $group .= form_textfield(t('Path to custom logo'), "$var][logo_path", $settings['logo_path'], 50, 128, t('The path to the file you would like to use as your logo file instead of the default logo.'));
 
     file_check_directory(variable_get('file_directory_path', 'files'), FILE_CREATE_DIRECTORY, 'file_directory_path');
     $group .= form_file(t('Upload logo image'), 'logo_upload', 40, t("If you don't have direct file access to the server, use this field to upload your logo."));
diff --git a/modules/system/system.module b/modules/system/system.module
index 1700ee45f16f..123a4f273e53 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -628,7 +628,7 @@ function system_theme_settings() {
   // Logo settings
   if ((!$key) || in_array('logo', $features)) {
     $group = form_checkbox(t('Use the default logo'), "$var][default_logo", 1, $settings['default_logo'], t('Check here if you want the theme to use the logo supplied with it.'));
-    $group .= form_textfield(t('Path to custom logo'), "$var][logo_path", $settings['logo_path'], 50, 60, t('The path to the file you would like to use as your logo file instead of the default logo.'));
+    $group .= form_textfield(t('Path to custom logo'), "$var][logo_path", $settings['logo_path'], 50, 128, t('The path to the file you would like to use as your logo file instead of the default logo.'));
 
     file_check_directory(variable_get('file_directory_path', 'files'), FILE_CREATE_DIRECTORY, 'file_directory_path');
     $group .= form_file(t('Upload logo image'), 'logo_upload', 40, t("If you don't have direct file access to the server, use this field to upload your logo."));
-- 
GitLab