From 0f846aab8ea36724047f6480bfd8fa38ee0b248a Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 19 Oct 2009 20:49:36 +0000 Subject: [PATCH] Fix: Set maxsize of input to size of field --- htdocs/ecm/docdir.php | 6 +++--- htdocs/ecm/docmine.php | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/htdocs/ecm/docdir.php b/htdocs/ecm/docdir.php index e9b6aad92c8..3b220db45ea 100644 --- a/htdocs/ecm/docdir.php +++ b/htdocs/ecm/docdir.php @@ -1,6 +1,6 @@ - * Copyright (C) 2008 Regis Houssin +/* Copyright (C) 2008-2009 Laurent Destailleur + * Copyright (C) 2008 Regis Houssin * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -157,7 +157,7 @@ if ($_GET["action"] == 'create') print ''; // Label - print ''."\n"; + print ''."\n"; print '
'.$langs->trans("Label").'
'.$langs->trans("Label").'
'.$langs->trans ("AddIn").''; print $formecm->select_all_sections(! empty($_GET["catParent"])?$_GET["catParent"]:$ecmdir->fk_parent,'catParent'); diff --git a/htdocs/ecm/docmine.php b/htdocs/ecm/docmine.php index 40d5cda3267..67b631c1766 100644 --- a/htdocs/ecm/docmine.php +++ b/htdocs/ecm/docmine.php @@ -1,5 +1,5 @@ +/* Copyright (C) 2008-2009 Laurent Destailleur * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -245,7 +245,7 @@ while ($tmpecmdir && $result > 0) $tmpecmdir->ref=$tmpecmdir->label; if ($i == 0 && $_GET["action"] == 'edit') { - $s=''; + $s=''; } else $s=$tmpecmdir->getNomUrl(1).$s; if ($tmpecmdir->fk_parent)