From 1a228ed95cc6b60876185bd0aa8b945a147d8ac8 Mon Sep 17 00:00:00 2001 From: ptibogxiv Date: Sun, 31 Mar 2019 19:25:45 +0200 Subject: [PATCH] transfert to html.otherform.class.php --- htdocs/core/class/html.form.class.php | 41 --------------------------- 1 file changed, 41 deletions(-) diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 85a4f1922b0..374fdfcfbaa 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -21,7 +21,6 @@ * Copyright (C) 2018 Nicolas ZABOURI * Copyright (C) 2018 Christophe Battarel * Copyright (C) 2018 Josep Lluis Amador - * Copyright (C) 2019 Thibault FOUCART * * 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 @@ -6775,46 +6774,6 @@ class Form return $resultyesno; } - /** - * Return an html string with a select combo box to choose yes or no - * - * @param string $htmlname Name of html select field - * @param string $value Pre-selected value - * @param int $option 0 return automatic/manual, 1 return 1/0 - * @param bool $disabled true or false - * @param int $useempty 1=Add empty line - * @return string See option - */ - public function selectautomanual($htmlname, $value = '', $option = 0, $disabled = false, $useempty = 0) - { - global $langs; - - $automatic="automatic"; $manual="manual"; - if ($option) - { - $automatic="1"; - $manual="0"; - } - - $disabled = ($disabled ? ' disabled' : ''); - - $resultautomanual = ''."\n"; - return $resultautomanual; - } - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps /** * Return list of export templates