From: urs_hunkler Date: Fri, 3 Aug 2007 11:00:11 +0000 (+0000) Subject: Added a space behind advancedimg to correct aligning in forms :: second approach... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=620cd35d3964838b21241554a2b50c186b3a0571;p=moodle.git Added a space behind advancedimg to correct aligning in forms :: second approach, the first one didn't work in IE --- 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'=>'');