From f65f966ef7af69942a4f4bb0a3eee378a1b08b5f Mon Sep 17 00:00:00 2001 From: Alvaro Campos Date: Tue, 25 Oct 2011 18:10:17 -0400 Subject: [PATCH] BUG 7087 problema del forgotpasswd solucionado para servidores lentos. --- gulliver/system/class.xmlform.php | 3 ++- workflow/engine/xmlform/login/login.xml | 7 +++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/gulliver/system/class.xmlform.php b/gulliver/system/class.xmlform.php index d0c829ade..871b7970d 100755 --- a/gulliver/system/class.xmlform.php +++ b/gulliver/system/class.xmlform.php @@ -2103,6 +2103,7 @@ class XmlForm_Field_Link extends XmlForm_Field { var $link = ''; var $value = ''; var $target = ''; + var $style = ''; var $colClassName = 'RowLink'; /** * Function render @@ -2118,7 +2119,7 @@ class XmlForm_Field_Link extends XmlForm_Field { $value = G::replaceDataField ( $this->value, $owner->values ); $label = G::replaceDataField ( $this->label, $owner->values ); if ($this->mode == 'edit'){ - $html = 'htmlentities ( $link, ENT_QUOTES, 'utf-8' ) . '\'' . 'id="form[' . $this->name . ']" name="form[' . $this->name . ']"' . (($this->onclick) ? ' onclick="' . htmlentities ( $onclick, ENT_QUOTES, 'utf-8' ) . '"' : '') . (($this->target) ? ' target="' . htmlentities ( $target, ENT_QUOTES, 'utf-8' ) . '"' : '') . '>' . $this->htmlentities ( $this->value === '' ? $label : $value, ENT_QUOTES, 'utf-8' ) . ''; + $html = 'htmlentities ( $link, ENT_QUOTES, 'utf-8' ) . '\'' . 'id="form[' . $this->name . ']" name="form[' . $this->name . ']" style="' . htmlentities ( $this->style, ENT_QUOTES, 'utf-8' ) .'" '. (($this->onclick) ? ' onclick="' . htmlentities ( $onclick, ENT_QUOTES, 'utf-8' ) . '"' : '') . (($this->target) ? ' target="' . htmlentities ( $target, ENT_QUOTES, 'utf-8' ) . '"' : '') . '>' . $this->htmlentities ( $this->value === '' ? $label : $value, ENT_QUOTES, 'utf-8' ) . ''; $html .= $this->renderHint(); } else { $html = $this->htmlentities ( $this->value === '' ? $label : $value, ENT_QUOTES, 'utf-8' ); diff --git a/workflow/engine/xmlform/login/login.xml b/workflow/engine/xmlform/login/login.xml index 464c5e147..4704dacd6 100755 --- a/workflow/engine/xmlform/login/login.xml +++ b/workflow/engine/xmlform/login/login.xml @@ -19,17 +19,16 @@ Login - + Forgot Password