From ea115f39b48cc341cd8c90af367413ee2e8f3aa2 Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Thu, 6 May 2010 18:17:44 +0000 Subject: [PATCH] IPoste add a property table=3 to put the button and the text input into the same table --- include/class_iposte.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/class_iposte.php b/include/class_iposte.php index 3125477cc..bf3e208f8 100644 --- a/include/class_iposte.php +++ b/include/class_iposte.php @@ -35,6 +35,7 @@ require_once('function_javascript.php'); * - 0 no table, it means no TD tags * - 1 the button and the text are separated by TD tags * - 2 the button and the text are in the same column (TD) + * - 3 the button and the text are in the table (TD) *\note we use the set_attribute for giving parameter to search_account * attribute are * - phpsessid @@ -135,6 +136,11 @@ class IPoste extends HtmlInput /* create the button */ $ibutton=$this->dsp_button(); + if ( $this->table=3) { + $r=''.tr(td($ibutton).td($itext->input())); + $r.='
'; + return $r; + } $r=$ibutton.$itext->input(); if ( $this->table==1) $r=td($r);