From 620cd35d3964838b21241554a2b50c186b3a0571 Mon Sep 17 00:00:00 2001 From: urs_hunkler Date: Fri, 3 Aug 2007 11:00:11 +0000 Subject: [PATCH] Added a space behind advancedimg to correct aligning in forms :: second approach, the first one didn't work in IE --- lib/formslib.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/formslib.php b/lib/formslib.php index 8631d13733..d4563aa3e9 100644 --- a/lib/formslib.php +++ b/lib/formslib.php @@ -1486,11 +1486,11 @@ class MoodleQuickForm_Renderer extends HTML_QuickForm_Renderer_Tableless{ // switch next two lines for ol li containers for form items. // $this->_elementTemplates=array('default'=>"\n\t\t".'
  • {error}
    {element}
  • '); $this->_elementTemplates = array( - 'default'=>"\n\t\t".'
    {help}
    {error}
    {element}
    ', + 'default'=>"\n\t\t".'
    {help}
    {error}
    {element}
    ', - 'fieldset'=>"\n\t\t".'
    {label}{req} {advancedimg}
    {help}
    {error}
    {element}
    ', + 'fieldset'=>"\n\t\t".'
    {label}{req}{advancedimg}
    {help}
    {error}
    {element}
    ', - 'static'=>"\n\t\t".'
    {label}{req} {advancedimg}
    {help}
    {error}
    {element} 
    ', + 'static'=>"\n\t\t".'
    {label}{req}{advancedimg}
    {help}
    {error}
    {element} 
    ', 'nodisplay'=>''); -- 2.39.5